]> git.saurik.com Git - wxWidgets.git/blob - configure
Sort of autoresize if only 1 column is there
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 51052 2008-01-06 22:23:20Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 WITH_PLUGIN_SDL
745 EXTRALIBS_GTKPRINT
746 EXTRALIBS_GNOMEPRINT
747 EXTRALIBS_GNOMEVFS
748 EXTRALIBS_HILDON
749 UNICODE
750 BUILD
751 DEBUG_INFO
752 DEBUG_FLAG
753 TOOLKIT_LOWERCASE
754 TOOLKIT_VERSION
755 SAMPLES_RPATH_FLAG
756 SAMPLES_RPATH_POSTLINK
757 HOST_SUFFIX
758 CPPUNIT_CFLAGS
759 CPPUNIT_LIBS
760 RANLIB
761 INSTALL_PROGRAM
762 INSTALL_SCRIPT
763 INSTALL_DATA
764 LN_S
765 SET_MAKE
766 MAKE_SET
767 AROPTIONS
768 STRIP
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 IF_GNU_MAKE
773 PLATFORM_UNIX
774 PLATFORM_WIN32
775 PLATFORM_MSDOS
776 PLATFORM_MAC
777 PLATFORM_MACOS
778 PLATFORM_MACOSX
779 PLATFORM_OS2
780 PLATFORM_BEOS
781 SO_SUFFIX
782 SO_SUFFIX_MODULE
783 DLLIMP_SUFFIX
784 LIBPREFIX
785 LIBEXT
786 DLLPREFIX
787 DLLPREFIX_MODULE
788 dlldir
789 AIX_CXX_LD
790 SHARED_LD_CC
791 SHARED_LD_CXX
792 SHARED_LD_MODULE_CC
793 SHARED_LD_MODULE_CXX
794 PIC_FLAG
795 WINDOWS_IMPLIB
796 USE_SOVERSION
797 USE_SOVERLINUX
798 USE_SOVERSOLARIS
799 USE_SOVERCYGWIN
800 USE_MACVERSION
801 USE_SOSYMLINKS
802 SONAME_FLAG
803 DEPS_TRACKING
804 BK_DEPS
805 WINDRES
806 REZ
807 SETFILE
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
835 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
837 COND_MONOLITHIC_0_SHARED_1
838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_STC_1
854 COND_MONOLITHIC_0_USE_XRC_1
855 COND_MONOLITHIC_1
856 COND_MONOLITHIC_1_SHARED_0
857 COND_MONOLITHIC_1_SHARED_1
858 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
859 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_1
863 COND_PLATFORM_MACOSX_1_TOOLKIT_
864 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
865 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
869 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
870 COND_PLATFORM_MACOSX_1_USE_GUI_1
871 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
872 COND_PLATFORM_MACOS_1
873 COND_PLATFORM_MAC_1
874 COND_PLATFORM_MSDOS_0
875 COND_PLATFORM_MSDOS_1
876 COND_PLATFORM_OS2_1
877 COND_PLATFORM_UNIX_0
878 COND_PLATFORM_UNIX_1
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
883 COND_PLATFORM_WIN32_0
884 COND_PLATFORM_WIN32_1
885 COND_SHARED_0
886 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
889 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
893 COND_SHARED_0_USE_STC_1
894 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
895 COND_SHARED_0_WXUSE_REGEX_BUILTIN
896 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
897 COND_SHARED_1
898 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
899 COND_TOOLKIT_
900 COND_TOOLKIT_COCOA
901 COND_TOOLKIT_COCOA_USE_GUI_1
902 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
903 COND_TOOLKIT_DFB
904 COND_TOOLKIT_DFB_USE_GUI_1
905 COND_TOOLKIT_GTK
906 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_GTK_USE_GUI_1
914 COND_TOOLKIT_MAC
915 COND_TOOLKIT_MAC_USE_GUI_1
916 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MGL
918 COND_TOOLKIT_MGL_USE_GUI_1
919 COND_TOOLKIT_MOTIF
920 COND_TOOLKIT_MOTIF_USE_GUI_1
921 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW
923 COND_TOOLKIT_MSW_USE_GUI_1
924 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_WXUNIV_0
926 COND_TOOLKIT_PM
927 COND_TOOLKIT_PM_USE_GUI_1
928 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_WINCE
930 COND_TOOLKIT_WINCE_USE_GUI_1
931 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_WXUNIV_0
933 COND_TOOLKIT_X11
934 COND_TOOLKIT_X11_USE_GUI_1
935 COND_UNICODE_1
936 COND_USE_EXCEPTIONS_0
937 COND_USE_EXCEPTIONS_1
938 COND_USE_GUI_0
939 COND_USE_GUI_1
940 COND_USE_GUI_1_USE_OPENGL_1
941 COND_USE_GUI_1_WXUNIV_0
942 COND_USE_GUI_1_WXUNIV_1
943 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
945 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
946 COND_USE_OPENGL_1
947 COND_USE_PCH_1
948 COND_USE_PLUGINS_0
949 COND_USE_RTTI_0
950 COND_USE_RTTI_1
951 COND_USE_SOSYMLINKS_1
952 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
953 COND_USE_SOVERLINUX_1
954 COND_USE_SOVERSION_0
955 COND_USE_SOVERSOLARIS_1
956 COND_USE_STC_1
957 COND_USE_THREADS_0
958 COND_USE_THREADS_1
959 COND_USE_XRC_1
960 COND_WINDOWS_IMPLIB_1
961 COND_WITH_PLUGIN_SDL_1
962 COND_WXUNIV_0
963 COND_WXUNIV_1
964 COND_WXUSE_EXPAT_BUILTIN
965 COND_WXUSE_LIBJPEG_BUILTIN
966 COND_WXUSE_LIBPNG_BUILTIN
967 COND_WXUSE_LIBTIFF_BUILTIN
968 COND_WXUSE_REGEX_BUILTIN
969 COND_WXUSE_ZLIB_BUILTIN
970 DEREZ
971 SHARED
972 WX_LIBRARY_BASENAME_NOGUI
973 WX_LIBRARY_BASENAME_GUI
974 USE_GUI
975 AFMINSTALL
976 WIN32INSTALL
977 TOOLKIT
978 TOOLKIT_DIR
979 TOOLCHAIN_NAME
980 TOOLCHAIN_FULLNAME
981 cross_compiling
982 WIDGET_SET
983 WX_RELEASE
984 WX_VERSION
985 WX_SUBVERSION
986 WX_CHARTYPE
987 WX_DEBUGTYPE
988 WXCONFIG_CPPFLAGS
989 WXCONFIG_CFLAGS
990 WXCONFIG_CXXFLAGS
991 WXCONFIG_LIBS
992 WXCONFIG_RPATH
993 WXCONFIG_LDFLAGS_GUI
994 WXCONFIG_RESFLAGS
995 GUIDIST
996 DISTDIR
997 SAMPLES_SUBDIRS
998 LDFLAGS_GL
999 OPENGL_LIBS
1000 DMALLOC_LIBS
1001 WX_VERSION_TAG
1002 RESCOMP
1003 RESFLAGS
1004 RESPROGRAMOBJ
1005 WX_RESOURCES_MACOSX_ASCII
1006 WX_RESOURCES_MACOSX_DATA
1007 LIBWXMACRES
1008 POSTLINK_COMMAND
1009 MACSETFILE
1010 GCC
1011 DLLTOOL
1012 CPPUNIT_CONFIG
1013 LIBOBJS
1014 LTLIBOBJS'
1015 ac_subst_files=''
1016 ac_precious_vars='build_alias
1017 host_alias
1018 target_alias
1019 CC
1020 CFLAGS
1021 LDFLAGS
1022 LIBS
1023 CPPFLAGS
1024 CPP
1025 CXX
1026 CXXFLAGS
1027 CCC
1028 PKG_CONFIG
1029 DIRECTFB_CFLAGS
1030 DIRECTFB_LIBS
1031 XMKMF
1032 PANGOX_CFLAGS
1033 PANGOX_LIBS
1034 PANGOFT2_CFLAGS
1035 PANGOFT2_LIBS
1036 PANGOXFT_CFLAGS
1037 PANGOXFT_LIBS
1038 GTKPRINT_CFLAGS
1039 GTKPRINT_LIBS
1040 LIBGNOMEPRINTUI_CFLAGS
1041 LIBGNOMEPRINTUI_LIBS
1042 GNOMEVFS_CFLAGS
1043 GNOMEVFS_LIBS
1044 HILDON_CFLAGS
1045 HILDON_LIBS
1046 CAIRO_CFLAGS
1047 CAIRO_LIBS
1048 GST_CFLAGS
1049 GST_LIBS'
1050 ac_subdirs_all='src/tiff
1051 src/expat'
1052
1053 # Initialize some variables set by options.
1054 ac_init_help=
1055 ac_init_version=false
1056 # The variables have the same names as the options, with
1057 # dashes changed to underlines.
1058 cache_file=/dev/null
1059 exec_prefix=NONE
1060 no_create=
1061 no_recursion=
1062 prefix=NONE
1063 program_prefix=NONE
1064 program_suffix=NONE
1065 program_transform_name=s,x,x,
1066 silent=
1067 site=
1068 srcdir=
1069 verbose=
1070 x_includes=NONE
1071 x_libraries=NONE
1072
1073 # Installation directory options.
1074 # These are left unexpanded so users can "make install exec_prefix=/foo"
1075 # and all the variables that are supposed to be based on exec_prefix
1076 # by default will actually change.
1077 # Use braces instead of parens because sh, perl, etc. also accept them.
1078 # (The list follows the same order as the GNU Coding Standards.)
1079 bindir='${exec_prefix}/bin'
1080 sbindir='${exec_prefix}/sbin'
1081 libexecdir='${exec_prefix}/libexec'
1082 datarootdir='${prefix}/share'
1083 datadir='${datarootdir}'
1084 sysconfdir='${prefix}/etc'
1085 sharedstatedir='${prefix}/com'
1086 localstatedir='${prefix}/var'
1087 includedir='${prefix}/include'
1088 oldincludedir='/usr/include'
1089 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1090 infodir='${datarootdir}/info'
1091 htmldir='${docdir}'
1092 dvidir='${docdir}'
1093 pdfdir='${docdir}'
1094 psdir='${docdir}'
1095 libdir='${exec_prefix}/lib'
1096 localedir='${datarootdir}/locale'
1097 mandir='${datarootdir}/man'
1098
1099 ac_prev=
1100 ac_dashdash=
1101 for ac_option
1102 do
1103 # If the previous option needs an argument, assign it.
1104 if test -n "$ac_prev"; then
1105 eval $ac_prev=\$ac_option
1106 ac_prev=
1107 continue
1108 fi
1109
1110 case $ac_option in
1111 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1112 *) ac_optarg=yes ;;
1113 esac
1114
1115 # Accept the important Cygnus configure options, so we can diagnose typos.
1116
1117 case $ac_dashdash$ac_option in
1118 --)
1119 ac_dashdash=yes ;;
1120
1121 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1122 ac_prev=bindir ;;
1123 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1124 bindir=$ac_optarg ;;
1125
1126 -build | --build | --buil | --bui | --bu)
1127 ac_prev=build_alias ;;
1128 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1129 build_alias=$ac_optarg ;;
1130
1131 -cache-file | --cache-file | --cache-fil | --cache-fi \
1132 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1133 ac_prev=cache_file ;;
1134 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1135 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1136 cache_file=$ac_optarg ;;
1137
1138 --config-cache | -C)
1139 cache_file=config.cache ;;
1140
1141 -datadir | --datadir | --datadi | --datad)
1142 ac_prev=datadir ;;
1143 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1144 datadir=$ac_optarg ;;
1145
1146 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1147 | --dataroo | --dataro | --datar)
1148 ac_prev=datarootdir ;;
1149 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1150 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1151 datarootdir=$ac_optarg ;;
1152
1153 -disable-* | --disable-*)
1154 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1158 { (exit 1); exit 1; }; }
1159 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1160 eval enable_$ac_feature=no ;;
1161
1162 -docdir | --docdir | --docdi | --doc | --do)
1163 ac_prev=docdir ;;
1164 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1165 docdir=$ac_optarg ;;
1166
1167 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1168 ac_prev=dvidir ;;
1169 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1170 dvidir=$ac_optarg ;;
1171
1172 -enable-* | --enable-*)
1173 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1176 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1177 { (exit 1); exit 1; }; }
1178 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1179 eval enable_$ac_feature=\$ac_optarg ;;
1180
1181 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1182 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1183 | --exec | --exe | --ex)
1184 ac_prev=exec_prefix ;;
1185 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1186 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1187 | --exec=* | --exe=* | --ex=*)
1188 exec_prefix=$ac_optarg ;;
1189
1190 -gas | --gas | --ga | --g)
1191 # Obsolete; use --with-gas.
1192 with_gas=yes ;;
1193
1194 -help | --help | --hel | --he | -h)
1195 ac_init_help=long ;;
1196 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1197 ac_init_help=recursive ;;
1198 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1199 ac_init_help=short ;;
1200
1201 -host | --host | --hos | --ho)
1202 ac_prev=host_alias ;;
1203 -host=* | --host=* | --hos=* | --ho=*)
1204 host_alias=$ac_optarg ;;
1205
1206 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1207 ac_prev=htmldir ;;
1208 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1209 | --ht=*)
1210 htmldir=$ac_optarg ;;
1211
1212 -includedir | --includedir | --includedi | --included | --include \
1213 | --includ | --inclu | --incl | --inc)
1214 ac_prev=includedir ;;
1215 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1216 | --includ=* | --inclu=* | --incl=* | --inc=*)
1217 includedir=$ac_optarg ;;
1218
1219 -infodir | --infodir | --infodi | --infod | --info | --inf)
1220 ac_prev=infodir ;;
1221 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1222 infodir=$ac_optarg ;;
1223
1224 -libdir | --libdir | --libdi | --libd)
1225 ac_prev=libdir ;;
1226 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1227 libdir=$ac_optarg ;;
1228
1229 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1230 | --libexe | --libex | --libe)
1231 ac_prev=libexecdir ;;
1232 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1233 | --libexe=* | --libex=* | --libe=*)
1234 libexecdir=$ac_optarg ;;
1235
1236 -localedir | --localedir | --localedi | --localed | --locale)
1237 ac_prev=localedir ;;
1238 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1239 localedir=$ac_optarg ;;
1240
1241 -localstatedir | --localstatedir | --localstatedi | --localstated \
1242 | --localstate | --localstat | --localsta | --localst | --locals)
1243 ac_prev=localstatedir ;;
1244 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1245 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1246 localstatedir=$ac_optarg ;;
1247
1248 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1249 ac_prev=mandir ;;
1250 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1251 mandir=$ac_optarg ;;
1252
1253 -nfp | --nfp | --nf)
1254 # Obsolete; use --without-fp.
1255 with_fp=no ;;
1256
1257 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1258 | --no-cr | --no-c | -n)
1259 no_create=yes ;;
1260
1261 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1262 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1263 no_recursion=yes ;;
1264
1265 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1266 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1267 | --oldin | --oldi | --old | --ol | --o)
1268 ac_prev=oldincludedir ;;
1269 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1270 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1271 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1272 oldincludedir=$ac_optarg ;;
1273
1274 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1275 ac_prev=prefix ;;
1276 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1277 prefix=$ac_optarg ;;
1278
1279 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1280 | --program-pre | --program-pr | --program-p)
1281 ac_prev=program_prefix ;;
1282 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1283 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1284 program_prefix=$ac_optarg ;;
1285
1286 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1287 | --program-suf | --program-su | --program-s)
1288 ac_prev=program_suffix ;;
1289 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1290 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1291 program_suffix=$ac_optarg ;;
1292
1293 -program-transform-name | --program-transform-name \
1294 | --program-transform-nam | --program-transform-na \
1295 | --program-transform-n | --program-transform- \
1296 | --program-transform | --program-transfor \
1297 | --program-transfo | --program-transf \
1298 | --program-trans | --program-tran \
1299 | --progr-tra | --program-tr | --program-t)
1300 ac_prev=program_transform_name ;;
1301 -program-transform-name=* | --program-transform-name=* \
1302 | --program-transform-nam=* | --program-transform-na=* \
1303 | --program-transform-n=* | --program-transform-=* \
1304 | --program-transform=* | --program-transfor=* \
1305 | --program-transfo=* | --program-transf=* \
1306 | --program-trans=* | --program-tran=* \
1307 | --progr-tra=* | --program-tr=* | --program-t=*)
1308 program_transform_name=$ac_optarg ;;
1309
1310 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1311 ac_prev=pdfdir ;;
1312 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1313 pdfdir=$ac_optarg ;;
1314
1315 -psdir | --psdir | --psdi | --psd | --ps)
1316 ac_prev=psdir ;;
1317 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1318 psdir=$ac_optarg ;;
1319
1320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1321 | -silent | --silent | --silen | --sile | --sil)
1322 silent=yes ;;
1323
1324 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1325 ac_prev=sbindir ;;
1326 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1327 | --sbi=* | --sb=*)
1328 sbindir=$ac_optarg ;;
1329
1330 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1331 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1332 | --sharedst | --shareds | --shared | --share | --shar \
1333 | --sha | --sh)
1334 ac_prev=sharedstatedir ;;
1335 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1336 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1337 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1338 | --sha=* | --sh=*)
1339 sharedstatedir=$ac_optarg ;;
1340
1341 -site | --site | --sit)
1342 ac_prev=site ;;
1343 -site=* | --site=* | --sit=*)
1344 site=$ac_optarg ;;
1345
1346 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1347 ac_prev=srcdir ;;
1348 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1349 srcdir=$ac_optarg ;;
1350
1351 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1352 | --syscon | --sysco | --sysc | --sys | --sy)
1353 ac_prev=sysconfdir ;;
1354 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1355 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1356 sysconfdir=$ac_optarg ;;
1357
1358 -target | --target | --targe | --targ | --tar | --ta | --t)
1359 ac_prev=target_alias ;;
1360 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1361 target_alias=$ac_optarg ;;
1362
1363 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1364 verbose=yes ;;
1365
1366 -version | --version | --versio | --versi | --vers | -V)
1367 ac_init_version=: ;;
1368
1369 -with-* | --with-*)
1370 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1371 # Reject names that are not valid shell variable names.
1372 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1373 { echo "$as_me: error: invalid package name: $ac_package" >&2
1374 { (exit 1); exit 1; }; }
1375 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1376 eval with_$ac_package=\$ac_optarg ;;
1377
1378 -without-* | --without-*)
1379 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1380 # Reject names that are not valid shell variable names.
1381 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1382 { echo "$as_me: error: invalid package name: $ac_package" >&2
1383 { (exit 1); exit 1; }; }
1384 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1385 eval with_$ac_package=no ;;
1386
1387 --x)
1388 # Obsolete; use --with-x.
1389 with_x=yes ;;
1390
1391 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1392 | --x-incl | --x-inc | --x-in | --x-i)
1393 ac_prev=x_includes ;;
1394 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1395 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1396 x_includes=$ac_optarg ;;
1397
1398 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1399 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1400 ac_prev=x_libraries ;;
1401 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1402 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1403 x_libraries=$ac_optarg ;;
1404
1405 -*) { echo "$as_me: error: unrecognized option: $ac_option
1406 Try \`$0 --help' for more information." >&2
1407 { (exit 1); exit 1; }; }
1408 ;;
1409
1410 *=*)
1411 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1414 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1415 { (exit 1); exit 1; }; }
1416 eval $ac_envvar=\$ac_optarg
1417 export $ac_envvar ;;
1418
1419 *)
1420 # FIXME: should be removed in autoconf 3.0.
1421 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1422 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1423 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1424 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1425 ;;
1426
1427 esac
1428 done
1429
1430 if test -n "$ac_prev"; then
1431 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1432 { echo "$as_me: error: missing argument to $ac_option" >&2
1433 { (exit 1); exit 1; }; }
1434 fi
1435
1436 # Be sure to have absolute directory names.
1437 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1438 datadir sysconfdir sharedstatedir localstatedir includedir \
1439 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1440 libdir localedir mandir
1441 do
1442 eval ac_val=\$$ac_var
1443 case $ac_val in
1444 [\\/$]* | ?:[\\/]* ) continue;;
1445 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1446 esac
1447 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1448 { (exit 1); exit 1; }; }
1449 done
1450
1451 # There might be people who depend on the old broken behavior: `$host'
1452 # used to hold the argument of --host etc.
1453 # FIXME: To remove some day.
1454 build=$build_alias
1455 host=$host_alias
1456 target=$target_alias
1457
1458 # FIXME: To remove some day.
1459 if test "x$host_alias" != x; then
1460 if test "x$build_alias" = x; then
1461 cross_compiling=maybe
1462 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1463 If a cross compiler is detected then cross compile mode will be used." >&2
1464 elif test "x$build_alias" != "x$host_alias"; then
1465 cross_compiling=yes
1466 fi
1467 fi
1468
1469 ac_tool_prefix=
1470 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1471
1472 test "$silent" = yes && exec 6>/dev/null
1473
1474
1475 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1476 ac_ls_di=`ls -di .` &&
1477 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1478 { echo "$as_me: error: Working directory cannot be determined" >&2
1479 { (exit 1); exit 1; }; }
1480 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1481 { echo "$as_me: error: pwd does not report name of working directory" >&2
1482 { (exit 1); exit 1; }; }
1483
1484
1485 # Find the source files, if location was not specified.
1486 if test -z "$srcdir"; then
1487 ac_srcdir_defaulted=yes
1488 # Try the directory containing this script, then the parent directory.
1489 ac_confdir=`$as_dirname -- "$0" ||
1490 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1491 X"$0" : 'X\(//\)[^/]' \| \
1492 X"$0" : 'X\(//\)$' \| \
1493 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1494 echo X"$0" |
1495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1496 s//\1/
1497 q
1498 }
1499 /^X\(\/\/\)[^/].*/{
1500 s//\1/
1501 q
1502 }
1503 /^X\(\/\/\)$/{
1504 s//\1/
1505 q
1506 }
1507 /^X\(\/\).*/{
1508 s//\1/
1509 q
1510 }
1511 s/.*/./; q'`
1512 srcdir=$ac_confdir
1513 if test ! -r "$srcdir/$ac_unique_file"; then
1514 srcdir=..
1515 fi
1516 else
1517 ac_srcdir_defaulted=no
1518 fi
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1521 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1522 { (exit 1); exit 1; }; }
1523 fi
1524 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1525 ac_abs_confdir=`(
1526 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1527 { (exit 1); exit 1; }; }
1528 pwd)`
1529 # When building in place, set srcdir=.
1530 if test "$ac_abs_confdir" = "$ac_pwd"; then
1531 srcdir=.
1532 fi
1533 # Remove unnecessary trailing slashes from srcdir.
1534 # Double slashes in file names in object file debugging info
1535 # mess up M-x gdb in Emacs.
1536 case $srcdir in
1537 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1538 esac
1539 for ac_var in $ac_precious_vars; do
1540 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_env_${ac_var}_value=\$${ac_var}
1542 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1544 done
1545
1546 #
1547 # Report the --help message.
1548 #
1549 if test "$ac_init_help" = "long"; then
1550 # Omit some internal or obsolete options to make the list less imposing.
1551 # This message is too long to be a string in the A/UX 3.1 sh.
1552 cat <<_ACEOF
1553 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1554
1555 Usage: $0 [OPTION]... [VAR=VALUE]...
1556
1557 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1558 VAR=VALUE. See below for descriptions of some of the useful variables.
1559
1560 Defaults for the options are specified in brackets.
1561
1562 Configuration:
1563 -h, --help display this help and exit
1564 --help=short display options specific to this package
1565 --help=recursive display the short help of all the included packages
1566 -V, --version display version information and exit
1567 -q, --quiet, --silent do not print \`checking...' messages
1568 --cache-file=FILE cache test results in FILE [disabled]
1569 -C, --config-cache alias for \`--cache-file=config.cache'
1570 -n, --no-create do not create output files
1571 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1572
1573 Installation directories:
1574 --prefix=PREFIX install architecture-independent files in PREFIX
1575 [$ac_default_prefix]
1576 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1577 [PREFIX]
1578
1579 By default, \`make install' will install all the files in
1580 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1581 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1582 for instance \`--prefix=\$HOME'.
1583
1584 For better control, use the options below.
1585
1586 Fine tuning of the installation directories:
1587 --bindir=DIR user executables [EPREFIX/bin]
1588 --sbindir=DIR system admin executables [EPREFIX/sbin]
1589 --libexecdir=DIR program executables [EPREFIX/libexec]
1590 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1591 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1592 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1593 --libdir=DIR object code libraries [EPREFIX/lib]
1594 --includedir=DIR C header files [PREFIX/include]
1595 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1596 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1597 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1598 --infodir=DIR info documentation [DATAROOTDIR/info]
1599 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1600 --mandir=DIR man documentation [DATAROOTDIR/man]
1601 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1602 --htmldir=DIR html documentation [DOCDIR]
1603 --dvidir=DIR dvi documentation [DOCDIR]
1604 --pdfdir=DIR pdf documentation [DOCDIR]
1605 --psdir=DIR ps documentation [DOCDIR]
1606 _ACEOF
1607
1608 cat <<\_ACEOF
1609
1610 X features:
1611 --x-includes=DIR X include files are in DIR
1612 --x-libraries=DIR X library files are in DIR
1613
1614 System types:
1615 --build=BUILD configure for building on BUILD [guessed]
1616 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1617 --target=TARGET configure for building compilers for TARGET [HOST]
1618 _ACEOF
1619 fi
1620
1621 if test -n "$ac_init_help"; then
1622 case $ac_init_help in
1623 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1624 esac
1625 cat <<\_ACEOF
1626
1627 Optional Features:
1628 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1629 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1630 --disable-gui don't build GUI parts of the library
1631 --enable-monolithic build wxWidgets as single library
1632 --enable-plugins build parts of wxWidgets as loadable components
1633 --enable-official_build official build of wxWidgets (win32 DLL only)
1634 --enable-vendor=VENDOR vendor name (win32 DLL only)
1635 --disable-all-features disable all optional features to build minimal library
1636 --enable-universal use wxWidgets GUI controls instead of native ones
1637 --enable-nanox use NanoX
1638 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1639 --enable-gpe use GNOME PDA Environment features if possible
1640 --disable-shared create static library instead of shared
1641 --disable-optimise create optimised code
1642 --enable-debug same as debug_flag and debug_info
1643 --enable-stl use STL for containers
1644 --enable-std_iostreams use standard C++ stream classes
1645 --enable-std_string use standard C++ string classes
1646 --disable-unicode compile without Unicode support
1647 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1648 --enable-utf8 use UTF-8 representation for strings (Unix only)
1649 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1650 --enable-extended_rtti use extended RTTI (XTI)
1651 --enable-omf use OMF object format
1652 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1653 --enable-debug_info create code with debugging information
1654 --enable-debug_gdb create code with extra GDB debugging information
1655 --enable-debug_cntxt use wxDebugContext
1656 --enable-mem_tracing create code with memory tracing
1657 --enable-profile create code with profiling information
1658 --enable-no_rtti create code without RTTI information
1659 --enable-no_exceptions create code without C++ exceptions handling
1660 --enable-permissive compile code disregarding strict ANSI
1661 --enable-no_deps create code without dependency information
1662 --disable-vararg_macros don't use vararg macros, even if they are supported
1663 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1664 --enable-compat26 enable wxWidgets 2.6 compatibility
1665 --disable-compat28 disable wxWidgets 2.8 compatibility
1666 --disable-rpath disable use of rpath for uninstalled builds
1667 --enable-objc_uniquifying enable Objective-C class name uniquifying
1668 --disable-visibility disable use of ELF symbols visibility even if supported
1669 --enable-intl use internationalization system
1670 --enable-config use wxConfig (and derived) classes
1671 --enable-protocols use wxProtocol and derived classes
1672 --enable-ftp use wxFTP (requires wxProtocol
1673 --enable-http use wxHTTP (requires wxProtocol
1674 --enable-fileproto use wxFileProto class (requires wxProtocol
1675 --enable-sockets use socket/network classes
1676 --enable-ipv6 enable IPv6 support in wxSocket
1677 --enable-ole use OLE classes (Win32 only)
1678 --enable-dataobj use data object classes
1679 --enable-ipc use interprocess communication (wxSocket etc.)
1680 --enable-baseevtloop use event loop in console programs too
1681 --enable-epollloop use wxEpollDispatcher class (Linux only)
1682 --enable-selectloop use wxSelectDispatcher class
1683 --enable-apple_ieee use the Apple IEEE codec
1684 --enable-arcstream use wxArchive streams
1685 --enable-base64 use base64 encoding/decoding functions
1686 --enable-backtrace use wxStackWalker class for getting backtraces
1687 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1688 --enable-cmdline use wxCmdLineParser class
1689 --enable-datetime use wxDateTime class
1690 --enable-debugreport use wxDebugReport class
1691 --enable-dialupman use dialup network classes
1692 --enable-dynlib use wxLibrary class for DLL loading
1693 --enable-dynamicloader use (new) wxDynamicLibrary class
1694 --enable-exceptions build exception-safe library
1695 --enable-ffile use wxFFile class
1696 --enable-file use wxFile class
1697 --enable-filesystem use virtual file systems classes
1698 --enable-fontenum use wxFontEnumerator class
1699 --enable-fontmap use font encodings conversion classes
1700 --enable-fs_archive use virtual archive filesystems
1701 --enable-fs_inet use virtual HTTP/FTP filesystems
1702 --enable-fs_zip now replaced by fs_archive
1703 --enable-geometry use geometry class
1704 --enable-log use logging system
1705 --enable-longlong use wxLongLong class
1706 --enable-mimetype use wxMimeTypesManager
1707 --enable-snglinst use wxSingleInstanceChecker class
1708 --enable-stdpaths use wxStandardPaths class
1709 --enable-stopwatch use wxStopWatch class
1710 --enable-streams use wxStream etc classes
1711 --enable-sysoptions use wxSystemOptions
1712 --enable-tarstream use wxTar streams
1713 --enable-textbuf use wxTextBuffer class
1714 --enable-textfile use wxTextFile class
1715 --enable-timer use wxTimer class
1716 --enable-sound use wxSound class
1717 --enable-mediactrl use wxMediaCtrl class
1718 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1719 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1720 --enable-zipstream use wxZip streams
1721 --enable-url use wxURL class
1722 --enable-variant use wxVariant class
1723 --enable-protocol use wxProtocol class
1724 --enable-protocol-http HTTP support in wxProtocol
1725 --enable-protocol-ftp FTP support in wxProtocol
1726 --enable-protocol-file FILE support in wxProtocol
1727 --enable-threads use threads
1728 --enable-iniconf use wxIniConfig (Win32 only)
1729 --enable-regkey use wxRegKey class (Win32 only)
1730 --enable-docview use document view architecture
1731 --enable-help use help subsystem
1732 --enable-mshtmlhelp use MS HTML Help (win32)
1733 --enable-html use wxHTML sub-library
1734 --enable-htmlhelp use wxHTML-based help
1735 --enable-xrc use XRC resources sub-library
1736 --enable-aui use AUI docking library
1737 --enable-stc use wxStyledTextCtrl library
1738 --enable-constraints use layout-constraints system
1739 --enable-printarch use printing architecture
1740 --enable-mdi use multiple document interface architecture
1741 --enable-mdidoc use docview architecture with MDI
1742 --enable-loggui use standard GUI logger
1743 --enable-logwin use wxLogWindow
1744 --enable-logdialog use wxLogDialog
1745 --enable-webkit use wxWebKitCtrl (Mac)
1746 --enable-richtext use wxRichTextCtrl
1747 --enable-graphics_ctx use graphics context 2D drawing API
1748 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1749 --enable-svg use wxSVGFileDC device context
1750 --enable-clipboard use wxClipboard class
1751 --enable-dnd use Drag'n'Drop classes
1752 --enable-metafile use win32 metafiles
1753 --disable-controls disable compilation of all standard controls
1754 --enable-accel use accelerators
1755 --enable-animatectrl use wxAnimationCtrl class
1756 --enable-button use wxButton class
1757 --enable-bmpbutton use wxBitmapButton class
1758 --enable-bmpcombobox use wxBitmapComboBox class
1759 --enable-calendar use wxCalendarCtrl class
1760 --enable-caret use wxCaret class
1761 --enable-checkbox use wxCheckBox class
1762 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1763 --enable-choice use wxChoice class
1764 --enable-choicebook use wxChoicebook class
1765 --enable-collpane use wxCollapsiblePane class
1766 --enable-colourpicker use wxColourPickerCtrl class
1767 --enable-combobox use wxComboBox class
1768 --enable-comboctrl use wxComboCtrl class
1769 --enable-datepick use wxDatePickerCtrl class
1770 --enable-dirpicker use wxDirPickerCtrl class
1771 --enable-display use wxDisplay class
1772 --enable-detect_sm use code to detect X11 session manager
1773 --enable-editablebox use wxEditableListBox class
1774 --enable-filepicker use wxFilePickerCtrl class
1775 --enable-filectrl use wxFileCtrl class
1776 --enable-fontpicker use wxFontPickerCtrl class
1777 --enable-gauge use wxGauge class
1778 --enable-grid use wxGrid class
1779 --enable-dataviewctrl use wxDataViewCtrl class
1780 --enable-hyperlink use wxHyperlinkCtrl class
1781 --enable-imaglist use wxImageList class
1782 --enable-listbook use wxListbook class
1783 --enable-listbox use wxListBox class
1784 --enable-listctrl use wxListCtrl class
1785 --enable-notebook use wxNotebook class
1786 --enable-notifmsg use wxNotificationMessage class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-taskbaricon use wxTaskBarIcon class
1804 --enable-textctrl use wxTextCtrl class
1805 --enable-togglebtn use wxToggleButton class
1806 --enable-toolbar use wxToolBar class
1807 --enable-tbarnative use native wxToolBar class
1808 --enable-treebook use wxTreebook class
1809 --enable-toolbook use wxToolbook class
1810 --enable-treectrl use wxTreeCtrl class
1811 --enable-tipwindow use wxTipWindow class
1812 --enable-popupwin use wxPopUpWindow class
1813 --enable-commondlg use all common dialogs
1814 --enable-aboutdlg use wxAboutBox
1815 --enable-choicedlg use wxChoiceDialog
1816 --enable-coldlg use wxColourDialog
1817 --enable-filedlg use wxFileDialog
1818 --enable-finddlg use wxFindReplaceDialog
1819 --enable-fontdlg use wxFontDialog
1820 --enable-dirdlg use wxDirDialog
1821 --enable-msgdlg use wxMessageDialog
1822 --enable-numberdlg use wxNumberEntryDialog
1823 --enable-splash use wxSplashScreen
1824 --enable-textdlg use wxTextDialog
1825 --enable-tipdlg use startup tips
1826 --enable-progressdlg use wxProgressDialog
1827 --enable-wizarddlg use wxWizard
1828 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1829 --enable-miniframe use wxMiniFrame class
1830 --enable-tooltips use wxToolTip class
1831 --enable-splines use spline drawing code
1832 --enable-mousewheel use mousewheel
1833 --enable-validators use wxValidator and derived classes
1834 --enable-busyinfo use wxBusyInfo
1835 --enable-joystick use wxJoystick
1836 --enable-metafiles use wxMetaFile (Win32 only)
1837 --enable-dragimage use wxDragImage
1838 --enable-accessibility enable accessibility support
1839 --enable-palette use wxPalette class
1840 --enable-image use wxImage class
1841 --enable-gif use gif images (GIF file format)
1842 --enable-pcx use pcx images (PCX file format)
1843 --enable-tga use tga images (TGA file format)
1844 --enable-iff use iff images (IFF file format)
1845 --enable-pnm use pnm images (PNM file format)
1846 --enable-xpm use xpm images (XPM file format)
1847 --enable-ico_cur use Windows ICO and CUR formats
1848 --enable-dccache cache temporary wxDC objects (Win32 only)
1849 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1850 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1851 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1852 --enable-wxdib use wxDIB class (Win32 only)
1853 --enable-autoidman use automatic ids management
1854 --disable-largefile omit support for large files
1855 --disable-gtktest do not try to compile and run a test GTK+ program
1856 --disable-gtktest Do not try to compile and run a test GTK program
1857 --disable-sdltest Do not try to compile and run a test SDL program
1858 --enable-omf use OMF object format (OS/2)
1859 --disable-dependency-tracking
1860 don't use dependency tracking even if the compiler
1861 can
1862 --disable-precomp-headers
1863 don't use precompiled headers even if compiler can
1864
1865 Optional Packages:
1866 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1867 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1868 --without-subdirs don't generate makefiles for samples/demos/...
1869 --with-flavour=NAME specify a name to identify this build
1870 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1871 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1872 --with-motif use Motif/Lesstif
1873 --with-mac use Mac OS X
1874 --with-cocoa use Cocoa
1875 --with-wine use Wine
1876 --with-msw use MS-Windows
1877 --with-pm use OS/2 Presentation Manager
1878 --with-mgl use SciTech MGL
1879 --with-directfb use DirectFB
1880 --with-microwin use MicroWindows
1881 --with-x11 use X11
1882 --with-libpng use libpng (PNG image format)
1883 --with-libjpeg use libjpeg (JPEG file format)
1884 --with-libtiff use libtiff (TIFF file format)
1885 --with-libxpm use libxpm (XPM file format)
1886 --with-libmspack use libmspack (CHM help files loading)
1887 --without-gtkprint don't use GTK printing support
1888 --without-gnomeprint don't use GNOME printing libraries
1889 --with-gnomevfs use GNOME VFS for associating MIME types
1890 --with-hildon use Hildon framework for Nokia 770
1891 --with-opengl use OpenGL (or Mesa)
1892 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1893 --with-sdl use SDL for audio on Unix
1894 --with-regex enable support for wxRegEx class
1895 --with-zlib use zlib for LZW compression
1896 --with-expat enable XML support using expat parser
1897 --with-macosx-sdk=PATH use an OS X SDK at PATH
1898 --with-macosx-version-min=VER build binaries which require at least this OS X version
1899 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1900 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1901 --with-x use the X Window System
1902 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1903 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1904 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1905 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1906 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1907
1908 Some influential environment variables:
1909 CC C compiler command
1910 CFLAGS C compiler flags
1911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1912 nonstandard directory <lib dir>
1913 LIBS libraries to pass to the linker, e.g. -l<library>
1914 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1915 you have headers in a nonstandard directory <include dir>
1916 CPP C preprocessor
1917 CXX C++ compiler command
1918 CXXFLAGS C++ compiler flags
1919 PKG_CONFIG path to pkg-config utility
1920 DIRECTFB_CFLAGS
1921 C compiler flags for DIRECTFB, overriding pkg-config
1922 DIRECTFB_LIBS
1923 linker flags for DIRECTFB, overriding pkg-config
1924 XMKMF Path to xmkmf, Makefile generator for X Window System
1925 PANGOX_CFLAGS
1926 C compiler flags for PANGOX, overriding pkg-config
1927 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1928 PANGOFT2_CFLAGS
1929 C compiler flags for PANGOFT2, overriding pkg-config
1930 PANGOFT2_LIBS
1931 linker flags for PANGOFT2, overriding pkg-config
1932 PANGOXFT_CFLAGS
1933 C compiler flags for PANGOXFT, overriding pkg-config
1934 PANGOXFT_LIBS
1935 linker flags for PANGOXFT, overriding pkg-config
1936 GTKPRINT_CFLAGS
1937 C compiler flags for GTKPRINT, overriding pkg-config
1938 GTKPRINT_LIBS
1939 linker flags for GTKPRINT, overriding pkg-config
1940 LIBGNOMEPRINTUI_CFLAGS
1941 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1942 LIBGNOMEPRINTUI_LIBS
1943 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1944 GNOMEVFS_CFLAGS
1945 C compiler flags for GNOMEVFS, overriding pkg-config
1946 GNOMEVFS_LIBS
1947 linker flags for GNOMEVFS, overriding pkg-config
1948 HILDON_CFLAGS
1949 C compiler flags for HILDON, overriding pkg-config
1950 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1951 CAIRO_CFLAGS
1952 C compiler flags for CAIRO, overriding pkg-config
1953 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1954 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1955 GST_LIBS linker flags for GST, overriding pkg-config
1956
1957 Use these variables to override the choices made by `configure' or to help
1958 it to find libraries and programs with nonstandard names/locations.
1959
1960 Report bugs to <wx-dev@lists.wxwidgets.org>.
1961 _ACEOF
1962 ac_status=$?
1963 fi
1964
1965 if test "$ac_init_help" = "recursive"; then
1966 # If there are subdirs, report their specific --help.
1967 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1968 test -d "$ac_dir" || continue
1969 ac_builddir=.
1970
1971 case "$ac_dir" in
1972 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1973 *)
1974 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1975 # A ".." for each directory in $ac_dir_suffix.
1976 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1977 case $ac_top_builddir_sub in
1978 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1979 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1980 esac ;;
1981 esac
1982 ac_abs_top_builddir=$ac_pwd
1983 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1984 # for backward compatibility:
1985 ac_top_builddir=$ac_top_build_prefix
1986
1987 case $srcdir in
1988 .) # We are building in place.
1989 ac_srcdir=.
1990 ac_top_srcdir=$ac_top_builddir_sub
1991 ac_abs_top_srcdir=$ac_pwd ;;
1992 [\\/]* | ?:[\\/]* ) # Absolute name.
1993 ac_srcdir=$srcdir$ac_dir_suffix;
1994 ac_top_srcdir=$srcdir
1995 ac_abs_top_srcdir=$srcdir ;;
1996 *) # Relative name.
1997 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1998 ac_top_srcdir=$ac_top_build_prefix$srcdir
1999 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2000 esac
2001 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2002
2003 cd "$ac_dir" || { ac_status=$?; continue; }
2004 # Check for guested configure.
2005 if test -f "$ac_srcdir/configure.gnu"; then
2006 echo &&
2007 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2008 elif test -f "$ac_srcdir/configure"; then
2009 echo &&
2010 $SHELL "$ac_srcdir/configure" --help=recursive
2011 else
2012 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2013 fi || ac_status=$?
2014 cd "$ac_pwd" || { ac_status=$?; break; }
2015 done
2016 fi
2017
2018 test -n "$ac_init_help" && exit $ac_status
2019 if $ac_init_version; then
2020 cat <<\_ACEOF
2021 wxWidgets configure 2.9.0
2022 generated by GNU Autoconf 2.61
2023
2024 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2025 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2026 This configure script is free software; the Free Software Foundation
2027 gives unlimited permission to copy, distribute and modify it.
2028 _ACEOF
2029 exit
2030 fi
2031 cat >config.log <<_ACEOF
2032 This file contains any messages produced by compilers while
2033 running configure, to aid debugging if configure makes a mistake.
2034
2035 It was created by wxWidgets $as_me 2.9.0, which was
2036 generated by GNU Autoconf 2.61. Invocation command line was
2037
2038 $ $0 $@
2039
2040 _ACEOF
2041 exec 5>>config.log
2042 {
2043 cat <<_ASUNAME
2044 ## --------- ##
2045 ## Platform. ##
2046 ## --------- ##
2047
2048 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2049 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2050 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2051 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2052 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2053
2054 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2055 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2056
2057 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2058 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2059 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2060 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2061 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2062 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2063 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2064
2065 _ASUNAME
2066
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 for as_dir in $PATH
2069 do
2070 IFS=$as_save_IFS
2071 test -z "$as_dir" && as_dir=.
2072 echo "PATH: $as_dir"
2073 done
2074 IFS=$as_save_IFS
2075
2076 } >&5
2077
2078 cat >&5 <<_ACEOF
2079
2080
2081 ## ----------- ##
2082 ## Core tests. ##
2083 ## ----------- ##
2084
2085 _ACEOF
2086
2087
2088 # Keep a trace of the command line.
2089 # Strip out --no-create and --no-recursion so they do not pile up.
2090 # Strip out --silent because we don't want to record it for future runs.
2091 # Also quote any args containing shell meta-characters.
2092 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_configure_args=
2094 ac_configure_args0=
2095 ac_configure_args1=
2096 ac_must_keep_next=false
2097 for ac_pass in 1 2
2098 do
2099 for ac_arg
2100 do
2101 case $ac_arg in
2102 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2103 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2104 | -silent | --silent | --silen | --sile | --sil)
2105 continue ;;
2106 *\'*)
2107 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2108 esac
2109 case $ac_pass in
2110 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2111 2)
2112 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2113 if test $ac_must_keep_next = true; then
2114 ac_must_keep_next=false # Got value, back to normal.
2115 else
2116 case $ac_arg in
2117 *=* | --config-cache | -C | -disable-* | --disable-* \
2118 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2119 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2120 | -with-* | --with-* | -without-* | --without-* | --x)
2121 case "$ac_configure_args0 " in
2122 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2123 esac
2124 ;;
2125 -* ) ac_must_keep_next=true ;;
2126 esac
2127 fi
2128 ac_configure_args="$ac_configure_args '$ac_arg'"
2129 ;;
2130 esac
2131 done
2132 done
2133 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2134 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2135
2136 # When interrupted or exit'd, cleanup temporary files, and complete
2137 # config.log. We remove comments because anyway the quotes in there
2138 # would cause problems or look ugly.
2139 # WARNING: Use '\'' to represent an apostrophe within the trap.
2140 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2141 trap 'exit_status=$?
2142 # Save into config.log some information that might help in debugging.
2143 {
2144 echo
2145
2146 cat <<\_ASBOX
2147 ## ---------------- ##
2148 ## Cache variables. ##
2149 ## ---------------- ##
2150 _ASBOX
2151 echo
2152 # The following way of writing the cache mishandles newlines in values,
2153 (
2154 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2155 eval ac_val=\$$ac_var
2156 case $ac_val in #(
2157 *${as_nl}*)
2158 case $ac_var in #(
2159 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2160 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2161 esac
2162 case $ac_var in #(
2163 _ | IFS | as_nl) ;; #(
2164 *) $as_unset $ac_var ;;
2165 esac ;;
2166 esac
2167 done
2168 (set) 2>&1 |
2169 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2170 *${as_nl}ac_space=\ *)
2171 sed -n \
2172 "s/'\''/'\''\\\\'\'''\''/g;
2173 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2174 ;; #(
2175 *)
2176 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2177 ;;
2178 esac |
2179 sort
2180 )
2181 echo
2182
2183 cat <<\_ASBOX
2184 ## ----------------- ##
2185 ## Output variables. ##
2186 ## ----------------- ##
2187 _ASBOX
2188 echo
2189 for ac_var in $ac_subst_vars
2190 do
2191 eval ac_val=\$$ac_var
2192 case $ac_val in
2193 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2194 esac
2195 echo "$ac_var='\''$ac_val'\''"
2196 done | sort
2197 echo
2198
2199 if test -n "$ac_subst_files"; then
2200 cat <<\_ASBOX
2201 ## ------------------- ##
2202 ## File substitutions. ##
2203 ## ------------------- ##
2204 _ASBOX
2205 echo
2206 for ac_var in $ac_subst_files
2207 do
2208 eval ac_val=\$$ac_var
2209 case $ac_val in
2210 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2211 esac
2212 echo "$ac_var='\''$ac_val'\''"
2213 done | sort
2214 echo
2215 fi
2216
2217 if test -s confdefs.h; then
2218 cat <<\_ASBOX
2219 ## ----------- ##
2220 ## confdefs.h. ##
2221 ## ----------- ##
2222 _ASBOX
2223 echo
2224 cat confdefs.h
2225 echo
2226 fi
2227 test "$ac_signal" != 0 &&
2228 echo "$as_me: caught signal $ac_signal"
2229 echo "$as_me: exit $exit_status"
2230 } >&5
2231 rm -f core *.core core.conftest.* &&
2232 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2233 exit $exit_status
2234 ' 0
2235 for ac_signal in 1 2 13 15; do
2236 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2237 done
2238 ac_signal=0
2239
2240 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2241 rm -f -r conftest* confdefs.h
2242
2243 # Predefined preprocessor variables.
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_NAME "$PACKAGE_NAME"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2252 _ACEOF
2253
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2257 _ACEOF
2258
2259
2260 cat >>confdefs.h <<_ACEOF
2261 #define PACKAGE_STRING "$PACKAGE_STRING"
2262 _ACEOF
2263
2264
2265 cat >>confdefs.h <<_ACEOF
2266 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2267 _ACEOF
2268
2269
2270 # Let the site file select an alternate cache file if it wants to.
2271 # Prefer explicitly selected file to automatically selected ones.
2272 if test -n "$CONFIG_SITE"; then
2273 set x "$CONFIG_SITE"
2274 elif test "x$prefix" != xNONE; then
2275 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2276 else
2277 set x "$ac_default_prefix/share/config.site" \
2278 "$ac_default_prefix/etc/config.site"
2279 fi
2280 shift
2281 for ac_site_file
2282 do
2283 if test -r "$ac_site_file"; then
2284 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2285 echo "$as_me: loading site script $ac_site_file" >&6;}
2286 sed 's/^/| /' "$ac_site_file" >&5
2287 . "$ac_site_file"
2288 fi
2289 done
2290
2291 if test -r "$cache_file"; then
2292 # Some versions of bash will fail to source /dev/null (special
2293 # files actually), so we avoid doing that.
2294 if test -f "$cache_file"; then
2295 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2296 echo "$as_me: loading cache $cache_file" >&6;}
2297 case $cache_file in
2298 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2299 *) . "./$cache_file";;
2300 esac
2301 fi
2302 else
2303 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2304 echo "$as_me: creating cache $cache_file" >&6;}
2305 >$cache_file
2306 fi
2307
2308 # Check that the precious variables saved in the cache have kept the same
2309 # value.
2310 ac_cache_corrupted=false
2311 for ac_var in $ac_precious_vars; do
2312 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2313 eval ac_new_set=\$ac_env_${ac_var}_set
2314 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2315 eval ac_new_val=\$ac_env_${ac_var}_value
2316 case $ac_old_set,$ac_new_set in
2317 set,)
2318 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2319 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2320 ac_cache_corrupted=: ;;
2321 ,set)
2322 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2323 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2324 ac_cache_corrupted=: ;;
2325 ,);;
2326 *)
2327 if test "x$ac_old_val" != "x$ac_new_val"; then
2328 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2329 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2330 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2331 echo "$as_me: former value: $ac_old_val" >&2;}
2332 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2333 echo "$as_me: current value: $ac_new_val" >&2;}
2334 ac_cache_corrupted=:
2335 fi;;
2336 esac
2337 # Pass precious variables to config.status.
2338 if test "$ac_new_set" = set; then
2339 case $ac_new_val in
2340 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2341 *) ac_arg=$ac_var=$ac_new_val ;;
2342 esac
2343 case " $ac_configure_args " in
2344 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2345 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2346 esac
2347 fi
2348 done
2349 if $ac_cache_corrupted; then
2350 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2351 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2352 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2353 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2354 { (exit 1); exit 1; }; }
2355 fi
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381 ac_ext=c
2382 ac_cpp='$CPP $CPPFLAGS'
2383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2386
2387
2388
2389
2390
2391 ac_aux_dir=
2392 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2393 if test -f "$ac_dir/install-sh"; then
2394 ac_aux_dir=$ac_dir
2395 ac_install_sh="$ac_aux_dir/install-sh -c"
2396 break
2397 elif test -f "$ac_dir/install.sh"; then
2398 ac_aux_dir=$ac_dir
2399 ac_install_sh="$ac_aux_dir/install.sh -c"
2400 break
2401 elif test -f "$ac_dir/shtool"; then
2402 ac_aux_dir=$ac_dir
2403 ac_install_sh="$ac_aux_dir/shtool install -c"
2404 break
2405 fi
2406 done
2407 if test -z "$ac_aux_dir"; then
2408 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2409 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2410 { (exit 1); exit 1; }; }
2411 fi
2412
2413 # These three variables are undocumented and unsupported,
2414 # and are intended to be withdrawn in a future Autoconf release.
2415 # They can cause serious problems if a builder's source tree is in a directory
2416 # whose full name contains unusual characters.
2417 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2418 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2419 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2420
2421
2422 # Make sure we can run config.sub.
2423 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2424 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2425 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2426 { (exit 1); exit 1; }; }
2427
2428 { echo "$as_me:$LINENO: checking build system type" >&5
2429 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2430 if test "${ac_cv_build+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2432 else
2433 ac_build_alias=$build_alias
2434 test "x$ac_build_alias" = x &&
2435 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2436 test "x$ac_build_alias" = x &&
2437 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2438 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2439 { (exit 1); exit 1; }; }
2440 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2441 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2442 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2443 { (exit 1); exit 1; }; }
2444
2445 fi
2446 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2447 echo "${ECHO_T}$ac_cv_build" >&6; }
2448 case $ac_cv_build in
2449 *-*-*) ;;
2450 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2451 echo "$as_me: error: invalid value of canonical build" >&2;}
2452 { (exit 1); exit 1; }; };;
2453 esac
2454 build=$ac_cv_build
2455 ac_save_IFS=$IFS; IFS='-'
2456 set x $ac_cv_build
2457 shift
2458 build_cpu=$1
2459 build_vendor=$2
2460 shift; shift
2461 # Remember, the first character of IFS is used to create $*,
2462 # except with old shells:
2463 build_os=$*
2464 IFS=$ac_save_IFS
2465 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2466
2467
2468 { echo "$as_me:$LINENO: checking host system type" >&5
2469 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2470 if test "${ac_cv_host+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 else
2473 if test "x$host_alias" = x; then
2474 ac_cv_host=$ac_cv_build
2475 else
2476 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2477 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2478 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2479 { (exit 1); exit 1; }; }
2480 fi
2481
2482 fi
2483 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2484 echo "${ECHO_T}$ac_cv_host" >&6; }
2485 case $ac_cv_host in
2486 *-*-*) ;;
2487 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2488 echo "$as_me: error: invalid value of canonical host" >&2;}
2489 { (exit 1); exit 1; }; };;
2490 esac
2491 host=$ac_cv_host
2492 ac_save_IFS=$IFS; IFS='-'
2493 set x $ac_cv_host
2494 shift
2495 host_cpu=$1
2496 host_vendor=$2
2497 shift; shift
2498 # Remember, the first character of IFS is used to create $*,
2499 # except with old shells:
2500 host_os=$*
2501 IFS=$ac_save_IFS
2502 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2503
2504
2505 { echo "$as_me:$LINENO: checking target system type" >&5
2506 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2507 if test "${ac_cv_target+set}" = set; then
2508 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 else
2510 if test "x$target_alias" = x; then
2511 ac_cv_target=$ac_cv_host
2512 else
2513 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2514 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2515 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2516 { (exit 1); exit 1; }; }
2517 fi
2518
2519 fi
2520 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2521 echo "${ECHO_T}$ac_cv_target" >&6; }
2522 case $ac_cv_target in
2523 *-*-*) ;;
2524 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2525 echo "$as_me: error: invalid value of canonical target" >&2;}
2526 { (exit 1); exit 1; }; };;
2527 esac
2528 target=$ac_cv_target
2529 ac_save_IFS=$IFS; IFS='-'
2530 set x $ac_cv_target
2531 shift
2532 target_cpu=$1
2533 target_vendor=$2
2534 shift; shift
2535 # Remember, the first character of IFS is used to create $*,
2536 # except with old shells:
2537 target_os=$*
2538 IFS=$ac_save_IFS
2539 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2540
2541
2542 # The aliases save the names the user supplied, while $host etc.
2543 # will get canonicalized.
2544 test -n "$target_alias" &&
2545 test "$program_prefix$program_suffix$program_transform_name" = \
2546 NONENONEs,x,x, &&
2547 program_prefix=${target_alias}-
2548
2549
2550
2551 wx_major_version_number=2
2552 wx_minor_version_number=9
2553 wx_release_number=0
2554 wx_subrelease_number=0
2555
2556 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2557 WX_VERSION=$WX_RELEASE.$wx_release_number
2558 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2559
2560 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2561
2562
2563 wx_top_builddir="`pwd`"
2564
2565
2566
2567
2568 USE_UNIX=1
2569 USE_OS2=0
2570 USE_WIN32=0
2571 USE_DOS=0
2572 USE_BEOS=0
2573 USE_MAC=0
2574
2575 USE_AIX=
2576 USE_BSD= USE_DARWIN= USE_FREEBSD=
2577 USE_GNU= USE_HPUX=
2578 USE_LINUX=
2579 USE_NETBSD=
2580 USE_OPENBSD=
2581 USE_OSF= USE_SGI=
2582 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2583 USE_ULTRIX=
2584 USE_UNIXWARE=
2585
2586 USE_ALPHA=
2587
2588 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2589
2590 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2591
2592 DEFAULT_wxUSE_COCOA=0
2593 DEFAULT_wxUSE_GTK=0
2594 DEFAULT_wxUSE_MAC=0
2595 DEFAULT_wxUSE_MGL=0
2596 DEFAULT_wxUSE_MICROWIN=0
2597 DEFAULT_wxUSE_MOTIF=0
2598 DEFAULT_wxUSE_MSW=0
2599 DEFAULT_wxUSE_PM=0
2600 DEFAULT_wxUSE_X11=0
2601 DEFAULT_wxUSE_DFB=0
2602
2603 DEFAULT_DEFAULT_wxUSE_COCOA=0
2604 DEFAULT_DEFAULT_wxUSE_GTK=0
2605 DEFAULT_DEFAULT_wxUSE_MAC=0
2606 DEFAULT_DEFAULT_wxUSE_MGL=0
2607 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2608 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2609 DEFAULT_DEFAULT_wxUSE_MSW=0
2610 DEFAULT_DEFAULT_wxUSE_PM=0
2611 DEFAULT_DEFAULT_wxUSE_X11=0
2612 DEFAULT_DEFAULT_wxUSE_DFB=0
2613
2614 PROGRAM_EXT=
2615 SO_SUFFIX=so
2616 SAMPLES_RPATH_FLAG=
2617 SAMPLES_RPATH_POSTLINK=
2618
2619 DEFAULT_STD_FLAG=yes
2620
2621 case "${host}" in
2622 *-hp-hpux* )
2623 USE_HPUX=1
2624 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2625 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2626 SO_SUFFIX=sl
2627 cat >>confdefs.h <<\_ACEOF
2628 #define __HPUX__ 1
2629 _ACEOF
2630
2631
2632 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2633 ;;
2634 *-*-linux* )
2635 USE_LINUX=1
2636 cat >>confdefs.h <<\_ACEOF
2637 #define __LINUX__ 1
2638 _ACEOF
2639
2640 TMP=`uname -m`
2641 if test "x$TMP" = "xalpha"; then
2642 USE_ALPHA=1
2643 cat >>confdefs.h <<\_ACEOF
2644 #define __ALPHA__ 1
2645 _ACEOF
2646
2647 fi
2648 DEFAULT_DEFAULT_wxUSE_GTK=1
2649 ;;
2650 *-*-gnu* | *-*-k*bsd*-gnu )
2651 USE_GNU=1
2652 TMP=`uname -m`
2653 if test "x$TMP" = "xalpha"; then
2654 USE_ALPHA=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __ALPHA__ 1
2657 _ACEOF
2658
2659 fi
2660 DEFAULT_DEFAULT_wxUSE_GTK=1
2661 ;;
2662 *-*-irix5* | *-*-irix6* )
2663 USE_SGI=1
2664 USE_SVR4=1
2665 cat >>confdefs.h <<\_ACEOF
2666 #define __SGI__ 1
2667 _ACEOF
2668
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __SVR4__ 1
2671 _ACEOF
2672
2673 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2674 ;;
2675 *-*-solaris2* )
2676 USE_SUN=1
2677 USE_SOLARIS=1
2678 USE_SVR4=1
2679 cat >>confdefs.h <<\_ACEOF
2680 #define __SUN__ 1
2681 _ACEOF
2682
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __SOLARIS__ 1
2685 _ACEOF
2686
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SVR4__ 1
2689 _ACEOF
2690
2691 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2692 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2693 ;;
2694 *-*-sunos4* )
2695 USE_SUN=1
2696 USE_SUNOS=1
2697 USE_BSD=1
2698 cat >>confdefs.h <<\_ACEOF
2699 #define __SUN__ 1
2700 _ACEOF
2701
2702 cat >>confdefs.h <<\_ACEOF
2703 #define __SUNOS__ 1
2704 _ACEOF
2705
2706 cat >>confdefs.h <<\_ACEOF
2707 #define __BSD__ 1
2708 _ACEOF
2709
2710 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2711 ;;
2712 *-*-freebsd*)
2713 USE_BSD=1
2714 USE_FREEBSD=1
2715 cat >>confdefs.h <<\_ACEOF
2716 #define __FREEBSD__ 1
2717 _ACEOF
2718
2719 cat >>confdefs.h <<\_ACEOF
2720 #define __BSD__ 1
2721 _ACEOF
2722
2723 DEFAULT_DEFAULT_wxUSE_GTK=1
2724 ;;
2725 *-*-openbsd*|*-*-mirbsd*)
2726 USE_BSD=1
2727 USE_OPENBSD=1
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __OPENBSD__ 1
2730 _ACEOF
2731
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __BSD__ 1
2734 _ACEOF
2735
2736 DEFAULT_DEFAULT_wxUSE_GTK=1
2737 ;;
2738 *-*-netbsd*)
2739 USE_BSD=1
2740 USE_NETBSD=1
2741 cat >>confdefs.h <<\_ACEOF
2742 #define __NETBSD__ 1
2743 _ACEOF
2744
2745 cat >>confdefs.h <<\_ACEOF
2746 #define __BSD__ 1
2747 _ACEOF
2748
2749 DEFAULT_DEFAULT_wxUSE_GTK=1
2750 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2751
2752 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2753 ;;
2754 *-*-osf* )
2755 USE_ALPHA=1
2756 USE_OSF=1
2757 cat >>confdefs.h <<\_ACEOF
2758 #define __ALPHA__ 1
2759 _ACEOF
2760
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __OSF__ 1
2763 _ACEOF
2764
2765 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2766 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2767 ;;
2768 *-*-dgux5* )
2769 USE_ALPHA=1
2770 USE_SVR4=1
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __ALPHA__ 1
2773 _ACEOF
2774
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __SVR4__ 1
2777 _ACEOF
2778
2779 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2780 ;;
2781 *-*-sysv5* )
2782 USE_SYSV=1
2783 USE_SVR4=1
2784 cat >>confdefs.h <<\_ACEOF
2785 #define __SYSV__ 1
2786 _ACEOF
2787
2788 cat >>confdefs.h <<\_ACEOF
2789 #define __SVR4__ 1
2790 _ACEOF
2791
2792 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2793 ;;
2794 *-*-aix* )
2795 USE_AIX=1
2796 USE_SYSV=1
2797 USE_SVR4=1
2798 SO_SUFFIX=a
2799 cat >>confdefs.h <<\_ACEOF
2800 #define __AIX__ 1
2801 _ACEOF
2802
2803 cat >>confdefs.h <<\_ACEOF
2804 #define __SYSV__ 1
2805 _ACEOF
2806
2807 cat >>confdefs.h <<\_ACEOF
2808 #define __SVR4__ 1
2809 _ACEOF
2810
2811 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2812 ;;
2813
2814 *-*-*UnixWare*)
2815 USE_SYSV=1
2816 USE_SVR4=1
2817 USE_UNIXWARE=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __UNIXWARE__ 1
2820 _ACEOF
2821
2822 ;;
2823
2824 *-*-cygwin* | *-*-mingw32* )
2825 SO_SUFFIX=dll
2826 PROGRAM_EXT=".exe"
2827 DEFAULT_DEFAULT_wxUSE_MSW=1
2828 ;;
2829
2830 *-pc-msdosdjgpp )
2831 USE_UNIX=0
2832 USE_DOS=1
2833 cat >>confdefs.h <<\_ACEOF
2834 #define __DOS__ 1
2835 _ACEOF
2836
2837 PROGRAM_EXT=".exe"
2838 DEFAULT_DEFAULT_wxUSE_MGL=1
2839 ;;
2840
2841 *-pc-os2_emx | *-pc-os2-emx )
2842 cat >>confdefs.h <<\_ACEOF
2843 #define __EMX__ 1
2844 _ACEOF
2845
2846 USE_OS2=1
2847 cat >>confdefs.h <<\_ACEOF
2848 #define __OS2__ 1
2849 _ACEOF
2850
2851 PROGRAM_EXT=".exe"
2852 DEFAULT_DEFAULT_wxUSE_PM=1
2853 CXX=gcc
2854 LDFLAGS="$LDFLAGS -Zcrtdll"
2855 ac_executable_extensions=".exe"
2856 export ac_executable_extensions
2857 ac_save_IFS="$IFS"
2858 IFS='\\'
2859 ac_TEMP_PATH=
2860 for ac_dir in $PATH; do
2861 IFS=$ac_save_IFS
2862 if test -z "$ac_TEMP_PATH"; then
2863 ac_TEMP_PATH="$ac_dir"
2864 else
2865 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2866 fi
2867 done
2868 export PATH="$ac_TEMP_PATH"
2869 unset ac_TEMP_PATH
2870 DEFAULT_STD_FLAG=no
2871 ;;
2872
2873 *-*-darwin* )
2874 USE_BSD=1
2875 USE_DARWIN=1
2876 SO_SUFFIX=dylib
2877 cat >>confdefs.h <<\_ACEOF
2878 #define __BSD__ 1
2879 _ACEOF
2880
2881 cat >>confdefs.h <<\_ACEOF
2882 #define __DARWIN__ 1
2883 _ACEOF
2884
2885 cat >>confdefs.h <<\_ACEOF
2886 #define TARGET_CARBON 1
2887 _ACEOF
2888
2889 DEFAULT_DEFAULT_wxUSE_MAC=1
2890 DEFAULT_STD_FLAG=no
2891 ;;
2892 powerpc-apple-macos* )
2893 USE_UNIX=0
2894 ac_cv_c_bigendian=yes
2895 SO_SUFFIX=shlib
2896 DEFAULT_DEFAULT_wxUSE_MAC=1
2897 DEFAULT_STD_FLAG=no
2898 ;;
2899
2900 *-*-beos* )
2901 USE_BEOS=1
2902 cat >>confdefs.h <<\_ACEOF
2903 #define __BEOS__ 1
2904 _ACEOF
2905
2906 ;;
2907
2908 *)
2909 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2910 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2911 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2912 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2913
2914 DEFAULT_DEFAULT_wxUSE_X11=1
2915 DEFAULT_wxUSE_SHARED=no
2916 esac
2917
2918
2919
2920 DEFAULT_wxUSE_ALL_FEATURES=yes
2921
2922 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2923 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2924
2925 DEFAULT_wxUSE_DMALLOC=no
2926 DEFAULT_wxUSE_LIBGNOMEVFS=no
2927 DEFAULT_wxUSE_LIBHILDON=no
2928 DEFAULT_wxUSE_LIBMSPACK=no
2929 DEFAULT_wxUSE_LIBSDL=no
2930 DEFAULT_wxUSE_OPENGL=no
2931
2932 DEFAULT_wxUSE_ACCESSIBILITY=no
2933 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2934 DEFAULT_wxUSE_IPV6=no
2935 DEFAULT_wxUSE_MEDIACTRL=no
2936 DEFAULT_wxUSE_TAB_DIALOG=no
2937 DEFAULT_wxUSE_GSTREAMER8=no
2938
2939 DEFAULT_wxUSE_UNICODE_UTF8=auto
2940 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2941
2942 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2943
2944 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2945
2946 DEFAULT_wxUSE_GTK2=yes
2947
2948 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2949
2950
2951
2952
2953
2954 enablestring=disable
2955 defaultval=
2956 if test -z "$defaultval"; then
2957 if test x"$enablestring" = xdisable; then
2958 defaultval=yes
2959 else
2960 defaultval=no
2961 fi
2962 fi
2963
2964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2965 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2966 # Check whether --enable-gui was given.
2967 if test "${enable_gui+set}" = set; then
2968 enableval=$enable_gui;
2969 if test "$enableval" = yes; then
2970 wx_cv_use_gui='wxUSE_GUI=yes'
2971 else
2972 wx_cv_use_gui='wxUSE_GUI=no'
2973 fi
2974
2975 else
2976
2977 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2978
2979 fi
2980
2981
2982 eval "$wx_cv_use_gui"
2983
2984 if test x"$enablestring" = xdisable; then
2985 if test $wxUSE_GUI = yes; then
2986 result=no
2987 else
2988 result=yes
2989 fi
2990 else
2991 result=$wxUSE_GUI
2992 fi
2993
2994 { echo "$as_me:$LINENO: result: $result" >&5
2995 echo "${ECHO_T}$result" >&6; }
2996
2997
2998 enablestring=
2999 defaultval=
3000 if test -z "$defaultval"; then
3001 if test x"$enablestring" = xdisable; then
3002 defaultval=yes
3003 else
3004 defaultval=no
3005 fi
3006 fi
3007
3008 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3009 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3010 # Check whether --enable-monolithic was given.
3011 if test "${enable_monolithic+set}" = set; then
3012 enableval=$enable_monolithic;
3013 if test "$enableval" = yes; then
3014 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3015 else
3016 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3017 fi
3018
3019 else
3020
3021 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3022
3023 fi
3024
3025
3026 eval "$wx_cv_use_monolithic"
3027
3028 if test x"$enablestring" = xdisable; then
3029 if test $wxUSE_MONOLITHIC = yes; then
3030 result=no
3031 else
3032 result=yes
3033 fi
3034 else
3035 result=$wxUSE_MONOLITHIC
3036 fi
3037
3038 { echo "$as_me:$LINENO: result: $result" >&5
3039 echo "${ECHO_T}$result" >&6; }
3040
3041
3042 enablestring=
3043 defaultval=
3044 if test -z "$defaultval"; then
3045 if test x"$enablestring" = xdisable; then
3046 defaultval=yes
3047 else
3048 defaultval=no
3049 fi
3050 fi
3051
3052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3053 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3054 # Check whether --enable-plugins was given.
3055 if test "${enable_plugins+set}" = set; then
3056 enableval=$enable_plugins;
3057 if test "$enableval" = yes; then
3058 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3059 else
3060 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3061 fi
3062
3063 else
3064
3065 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3066
3067 fi
3068
3069
3070 eval "$wx_cv_use_plugins"
3071
3072 if test x"$enablestring" = xdisable; then
3073 if test $wxUSE_PLUGINS = yes; then
3074 result=no
3075 else
3076 result=yes
3077 fi
3078 else
3079 result=$wxUSE_PLUGINS
3080 fi
3081
3082 { echo "$as_me:$LINENO: result: $result" >&5
3083 echo "${ECHO_T}$result" >&6; }
3084
3085
3086 withstring=without
3087 defaultval=$wxUSE_ALL_FEATURES
3088 if test -z "$defaultval"; then
3089 if test x"$withstring" = xwithout; then
3090 defaultval=yes
3091 else
3092 defaultval=no
3093 fi
3094 fi
3095 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3096 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3097
3098 # Check whether --with-subdirs was given.
3099 if test "${with_subdirs+set}" = set; then
3100 withval=$with_subdirs;
3101 if test "$withval" = yes; then
3102 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3103 else
3104 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3105 fi
3106
3107 else
3108
3109 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3110
3111 fi
3112
3113
3114 eval "$wx_cv_use_subdirs"
3115
3116 if test x"$withstring" = xwithout; then
3117 if test $wxWITH_SUBDIRS = yes; then
3118 result=no
3119 else
3120 result=yes
3121 fi
3122 else
3123 result=$wxWITH_SUBDIRS
3124 fi
3125
3126 { echo "$as_me:$LINENO: result: $result" >&5
3127 echo "${ECHO_T}$result" >&6; }
3128
3129
3130 # Check whether --with-flavour was given.
3131 if test "${with_flavour+set}" = set; then
3132 withval=$with_flavour; WX_FLAVOUR="$withval"
3133 fi
3134
3135
3136 enablestring=
3137 defaultval=
3138 if test -z "$defaultval"; then
3139 if test x"$enablestring" = xdisable; then
3140 defaultval=yes
3141 else
3142 defaultval=no
3143 fi
3144 fi
3145
3146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3147 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3148 # Check whether --enable-official_build was given.
3149 if test "${enable_official_build+set}" = set; then
3150 enableval=$enable_official_build;
3151 if test "$enableval" = yes; then
3152 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3153 else
3154 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3155 fi
3156
3157 else
3158
3159 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3160
3161 fi
3162
3163
3164 eval "$wx_cv_use_official_build"
3165
3166 if test x"$enablestring" = xdisable; then
3167 if test $wxUSE_OFFICIAL_BUILD = yes; then
3168 result=no
3169 else
3170 result=yes
3171 fi
3172 else
3173 result=$wxUSE_OFFICIAL_BUILD
3174 fi
3175
3176 { echo "$as_me:$LINENO: result: $result" >&5
3177 echo "${ECHO_T}$result" >&6; }
3178
3179 # Check whether --enable-vendor was given.
3180 if test "${enable_vendor+set}" = set; then
3181 enableval=$enable_vendor; VENDOR="$enableval"
3182 fi
3183
3184 if test "x$VENDOR" = "x"; then
3185 VENDOR="custom"
3186 fi
3187
3188
3189 enablestring=disable
3190 defaultval=
3191 if test -z "$defaultval"; then
3192 if test x"$enablestring" = xdisable; then
3193 defaultval=yes
3194 else
3195 defaultval=no
3196 fi
3197 fi
3198
3199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3200 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3201 # Check whether --enable-all-features was given.
3202 if test "${enable_all_features+set}" = set; then
3203 enableval=$enable_all_features;
3204 if test "$enableval" = yes; then
3205 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3206 else
3207 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3208 fi
3209
3210 else
3211
3212 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3213
3214 fi
3215
3216
3217 eval "$wx_cv_use_all_features"
3218
3219 if test x"$enablestring" = xdisable; then
3220 if test $wxUSE_ALL_FEATURES = yes; then
3221 result=no
3222 else
3223 result=yes
3224 fi
3225 else
3226 result=$wxUSE_ALL_FEATURES
3227 fi
3228
3229 { echo "$as_me:$LINENO: result: $result" >&5
3230 echo "${ECHO_T}$result" >&6; }
3231
3232
3233
3234 if test "$wxUSE_GUI" = "yes"; then
3235
3236
3237 enablestring=
3238 defaultval=
3239 if test -z "$defaultval"; then
3240 if test x"$enablestring" = xdisable; then
3241 defaultval=yes
3242 else
3243 defaultval=no
3244 fi
3245 fi
3246
3247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3248 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3249 # Check whether --enable-universal was given.
3250 if test "${enable_universal+set}" = set; then
3251 enableval=$enable_universal;
3252 if test "$enableval" = yes; then
3253 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3254 else
3255 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3256 fi
3257
3258 else
3259
3260 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3261
3262 fi
3263
3264
3265 eval "$wx_cv_use_universal"
3266
3267 if test x"$enablestring" = xdisable; then
3268 if test $wxUSE_UNIVERSAL = yes; then
3269 result=no
3270 else
3271 result=yes
3272 fi
3273 else
3274 result=$wxUSE_UNIVERSAL
3275 fi
3276
3277 { echo "$as_me:$LINENO: result: $result" >&5
3278 echo "${ECHO_T}$result" >&6; }
3279
3280 if test "$wxUSE_UNIVERSAL" = "yes"; then
3281
3282 # Check whether --with-themes was given.
3283 if test "${with_themes+set}" = set; then
3284 withval=$with_themes; wxUNIV_THEMES="$withval"
3285 fi
3286
3287 fi
3288
3289
3290 # Check whether --with-gtk was given.
3291 if test "${with_gtk+set}" = set; then
3292 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3293 fi
3294
3295
3296 # Check whether --with-motif was given.
3297 if test "${with_motif+set}" = set; then
3298 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3299 fi
3300
3301
3302 # Check whether --with-mac was given.
3303 if test "${with_mac+set}" = set; then
3304 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3305 fi
3306
3307
3308 # Check whether --with-cocoa was given.
3309 if test "${with_cocoa+set}" = set; then
3310 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3311 fi
3312
3313
3314 # Check whether --with-wine was given.
3315 if test "${with_wine+set}" = set; then
3316 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3317 fi
3318
3319
3320 # Check whether --with-msw was given.
3321 if test "${with_msw+set}" = set; then
3322 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3323 fi
3324
3325
3326 # Check whether --with-pm was given.
3327 if test "${with_pm+set}" = set; then
3328 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3329 fi
3330
3331
3332 # Check whether --with-mgl was given.
3333 if test "${with_mgl+set}" = set; then
3334 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3335 fi
3336
3337
3338 # Check whether --with-directfb was given.
3339 if test "${with_directfb+set}" = set; then
3340 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3341 fi
3342
3343
3344 # Check whether --with-microwin was given.
3345 if test "${with_microwin+set}" = set; then
3346 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-x11 was given.
3351 if test "${with_x11+set}" = set; then
3352 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 enablestring=
3357 defaultval=
3358 if test -z "$defaultval"; then
3359 if test x"$enablestring" = xdisable; then
3360 defaultval=yes
3361 else
3362 defaultval=no
3363 fi
3364 fi
3365
3366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3367 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3368 # Check whether --enable-nanox was given.
3369 if test "${enable_nanox+set}" = set; then
3370 enableval=$enable_nanox;
3371 if test "$enableval" = yes; then
3372 wx_cv_use_nanox='wxUSE_NANOX=yes'
3373 else
3374 wx_cv_use_nanox='wxUSE_NANOX=no'
3375 fi
3376
3377 else
3378
3379 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3380
3381 fi
3382
3383
3384 eval "$wx_cv_use_nanox"
3385
3386 if test x"$enablestring" = xdisable; then
3387 if test $wxUSE_NANOX = yes; then
3388 result=no
3389 else
3390 result=yes
3391 fi
3392 else
3393 result=$wxUSE_NANOX
3394 fi
3395
3396 { echo "$as_me:$LINENO: result: $result" >&5
3397 echo "${ECHO_T}$result" >&6; }
3398
3399
3400 # Check whether --enable-gtk2 was given.
3401 if test "${enable_gtk2+set}" = set; then
3402 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3403 fi
3404
3405
3406 enablestring=
3407 defaultval=
3408 if test -z "$defaultval"; then
3409 if test x"$enablestring" = xdisable; then
3410 defaultval=yes
3411 else
3412 defaultval=no
3413 fi
3414 fi
3415
3416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3417 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3418 # Check whether --enable-gpe was given.
3419 if test "${enable_gpe+set}" = set; then
3420 enableval=$enable_gpe;
3421 if test "$enableval" = yes; then
3422 wx_cv_use_gpe='wxUSE_GPE=yes'
3423 else
3424 wx_cv_use_gpe='wxUSE_GPE=no'
3425 fi
3426
3427 else
3428
3429 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3430
3431 fi
3432
3433
3434 eval "$wx_cv_use_gpe"
3435
3436 if test x"$enablestring" = xdisable; then
3437 if test $wxUSE_GPE = yes; then
3438 result=no
3439 else
3440 result=yes
3441 fi
3442 else
3443 result=$wxUSE_GPE
3444 fi
3445
3446 { echo "$as_me:$LINENO: result: $result" >&5
3447 echo "${ECHO_T}$result" >&6; }
3448
3449
3450
3451 { echo "$as_me:$LINENO: checking for toolkit" >&5
3452 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3453
3454 # In Wine, we need to default to MSW, not GTK or MOTIF
3455 if test "$wxUSE_WINE" = "yes"; then
3456 DEFAULT_DEFAULT_wxUSE_GTK=0
3457 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3458 DEFAULT_DEFAULT_wxUSE_MSW=1
3459 wxUSE_SHARED=no
3460 CC=${CC:-winegcc}
3461 CXX=${CXX:-wineg++}
3462 fi
3463
3464
3465 if test "$wxUSE_GUI" = "yes"; then
3466
3467 if test "$USE_BEOS" = 1; then
3468 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3469 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3470 { (exit 1); exit 1; }; }
3471 fi
3472
3473 if test "$TOOLKIT_GIVEN" = 1; then
3474 for toolkit in $ALL_TOOLKITS; do
3475 var=wxUSE_$toolkit
3476 eval "value=\$${var}"
3477 if test "x$value" = "xno"; then
3478 eval "$var=0"
3479 elif test "x$value" != "x"; then
3480 eval "$var=1"
3481 fi
3482
3483 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3484 eval "wx${toolkit}_VERSION=$value"
3485 fi
3486 done
3487 else
3488 for toolkit in $ALL_TOOLKITS; do
3489 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3490 eval "wxUSE_$toolkit=\$${var}"
3491 done
3492 fi
3493
3494 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3495 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3496 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3497
3498 case "${host}" in
3499 *-pc-os2_emx | *-pc-os2-emx )
3500 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3501 esac
3502
3503 case "$NUM_TOOLKITS" in
3504 1)
3505 ;;
3506 0)
3507 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3508 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3509 { (exit 1); exit 1; }; }
3510 ;;
3511 *)
3512 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3513 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3514 { (exit 1); exit 1; }; }
3515 esac
3516
3517 # to be removed when --disable-gtk2 isn't needed
3518 if test "x$wxUSE_GTK2" = "xyes"; then
3519 wxGTK_VERSION=2
3520 elif test "x$wxUSE_GTK2" = "xno"; then
3521 wxGTK_VERSION=1
3522 fi
3523
3524 for toolkit in $ALL_TOOLKITS; do
3525 var=wxUSE_$toolkit
3526 eval "value=\$${var}"
3527 if test "$value" = 1; then
3528 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3529 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3530 echo "${ECHO_T}$toolkit_echo" >&6; }
3531 fi
3532 done
3533 else
3534 if test "x$host_alias" != "x"; then
3535 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3536 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3537 else
3538 { echo "$as_me:$LINENO: result: base only" >&5
3539 echo "${ECHO_T}base only" >&6; }
3540 fi
3541 fi
3542
3543
3544
3545 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3546 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3547
3548 # Check whether --with-libpng was given.
3549 if test "${with_libpng+set}" = set; then
3550 withval=$with_libpng;
3551 if test "$withval" = yes; then
3552 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3553 elif test "$withval" = no; then
3554 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3555 elif test "$withval" = sys; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3557 elif test "$withval" = builtin; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3559 else
3560 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3561 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3562 { (exit 1); exit 1; }; }
3563 fi
3564
3565 else
3566
3567 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3568
3569 fi
3570
3571
3572 eval "$wx_cv_use_libpng"
3573
3574 if test "$wxUSE_LIBPNG" = yes; then
3575 { echo "$as_me:$LINENO: result: yes" >&5
3576 echo "${ECHO_T}yes" >&6; }
3577 elif test "$wxUSE_LIBPNG" = no; then
3578 { echo "$as_me:$LINENO: result: no" >&5
3579 echo "${ECHO_T}no" >&6; }
3580 elif test "$wxUSE_LIBPNG" = sys; then
3581 { echo "$as_me:$LINENO: result: system version" >&5
3582 echo "${ECHO_T}system version" >&6; }
3583 elif test "$wxUSE_LIBPNG" = builtin; then
3584 { echo "$as_me:$LINENO: result: builtin version" >&5
3585 echo "${ECHO_T}builtin version" >&6; }
3586 else
3587 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3588 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3589 { (exit 1); exit 1; }; }
3590 fi
3591
3592
3593 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3594 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3595
3596 # Check whether --with-libjpeg was given.
3597 if test "${with_libjpeg+set}" = set; then
3598 withval=$with_libjpeg;
3599 if test "$withval" = yes; then
3600 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3601 elif test "$withval" = no; then
3602 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3603 elif test "$withval" = sys; then
3604 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3605 elif test "$withval" = builtin; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3607 else
3608 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3609 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3610 { (exit 1); exit 1; }; }
3611 fi
3612
3613 else
3614
3615 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3616
3617 fi
3618
3619
3620 eval "$wx_cv_use_libjpeg"
3621
3622 if test "$wxUSE_LIBJPEG" = yes; then
3623 { echo "$as_me:$LINENO: result: yes" >&5
3624 echo "${ECHO_T}yes" >&6; }
3625 elif test "$wxUSE_LIBJPEG" = no; then
3626 { echo "$as_me:$LINENO: result: no" >&5
3627 echo "${ECHO_T}no" >&6; }
3628 elif test "$wxUSE_LIBJPEG" = sys; then
3629 { echo "$as_me:$LINENO: result: system version" >&5
3630 echo "${ECHO_T}system version" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = builtin; then
3632 { echo "$as_me:$LINENO: result: builtin version" >&5
3633 echo "${ECHO_T}builtin version" >&6; }
3634 else
3635 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3636 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3637 { (exit 1); exit 1; }; }
3638 fi
3639
3640
3641 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3642 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3643
3644 # Check whether --with-libtiff was given.
3645 if test "${with_libtiff+set}" = set; then
3646 withval=$with_libtiff;
3647 if test "$withval" = yes; then
3648 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3649 elif test "$withval" = no; then
3650 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3651 elif test "$withval" = sys; then
3652 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3653 elif test "$withval" = builtin; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3655 else
3656 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3657 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3658 { (exit 1); exit 1; }; }
3659 fi
3660
3661 else
3662
3663 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3664
3665 fi
3666
3667
3668 eval "$wx_cv_use_libtiff"
3669
3670 if test "$wxUSE_LIBTIFF" = yes; then
3671 { echo "$as_me:$LINENO: result: yes" >&5
3672 echo "${ECHO_T}yes" >&6; }
3673 elif test "$wxUSE_LIBTIFF" = no; then
3674 { echo "$as_me:$LINENO: result: no" >&5
3675 echo "${ECHO_T}no" >&6; }
3676 elif test "$wxUSE_LIBTIFF" = sys; then
3677 { echo "$as_me:$LINENO: result: system version" >&5
3678 echo "${ECHO_T}system version" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = builtin; then
3680 { echo "$as_me:$LINENO: result: builtin version" >&5
3681 echo "${ECHO_T}builtin version" >&6; }
3682 else
3683 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3684 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3685 { (exit 1); exit 1; }; }
3686 fi
3687
3688
3689 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3690 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3691
3692 # Check whether --with-libxpm was given.
3693 if test "${with_libxpm+set}" = set; then
3694 withval=$with_libxpm;
3695 if test "$withval" = yes; then
3696 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3697 elif test "$withval" = no; then
3698 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3699 elif test "$withval" = sys; then
3700 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3701 elif test "$withval" = builtin; then
3702 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3703 else
3704 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3705 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3706 { (exit 1); exit 1; }; }
3707 fi
3708
3709 else
3710
3711 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3712
3713 fi
3714
3715
3716 eval "$wx_cv_use_libxpm"
3717
3718 if test "$wxUSE_LIBXPM" = yes; then
3719 { echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6; }
3721 elif test "$wxUSE_LIBXPM" = no; then
3722 { echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6; }
3724 elif test "$wxUSE_LIBXPM" = sys; then
3725 { echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6; }
3727 elif test "$wxUSE_LIBXPM" = builtin; then
3728 { echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6; }
3730 else
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3734 fi
3735
3736
3737 withstring=
3738 defaultval=$wxUSE_ALL_FEATURES
3739 if test -z "$defaultval"; then
3740 if test x"$withstring" = xwithout; then
3741 defaultval=yes
3742 else
3743 defaultval=no
3744 fi
3745 fi
3746 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3747 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3748
3749 # Check whether --with-libmspack was given.
3750 if test "${with_libmspack+set}" = set; then
3751 withval=$with_libmspack;
3752 if test "$withval" = yes; then
3753 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3754 else
3755 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3756 fi
3757
3758 else
3759
3760 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3761
3762 fi
3763
3764
3765 eval "$wx_cv_use_libmspack"
3766
3767 if test x"$withstring" = xwithout; then
3768 if test $wxUSE_LIBMSPACK = yes; then
3769 result=no
3770 else
3771 result=yes
3772 fi
3773 else
3774 result=$wxUSE_LIBMSPACK
3775 fi
3776
3777 { echo "$as_me:$LINENO: result: $result" >&5
3778 echo "${ECHO_T}$result" >&6; }
3779
3780
3781 withstring=without
3782 defaultval=$wxUSE_ALL_FEATURES
3783 if test -z "$defaultval"; then
3784 if test x"$withstring" = xwithout; then
3785 defaultval=yes
3786 else
3787 defaultval=no
3788 fi
3789 fi
3790 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3791 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3792
3793 # Check whether --with-gtkprint was given.
3794 if test "${with_gtkprint+set}" = set; then
3795 withval=$with_gtkprint;
3796 if test "$withval" = yes; then
3797 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3798 else
3799 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3800 fi
3801
3802 else
3803
3804 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3805
3806 fi
3807
3808
3809 eval "$wx_cv_use_gtkprint"
3810
3811 if test x"$withstring" = xwithout; then
3812 if test $wxUSE_GTKPRINT = yes; then
3813 result=no
3814 else
3815 result=yes
3816 fi
3817 else
3818 result=$wxUSE_GTKPRINT
3819 fi
3820
3821 { echo "$as_me:$LINENO: result: $result" >&5
3822 echo "${ECHO_T}$result" >&6; }
3823
3824
3825 withstring=without
3826 defaultval=$wxUSE_ALL_FEATURES
3827 if test -z "$defaultval"; then
3828 if test x"$withstring" = xwithout; then
3829 defaultval=yes
3830 else
3831 defaultval=no
3832 fi
3833 fi
3834 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3835 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3836
3837 # Check whether --with-gnomeprint was given.
3838 if test "${with_gnomeprint+set}" = set; then
3839 withval=$with_gnomeprint;
3840 if test "$withval" = yes; then
3841 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3842 else
3843 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3844 fi
3845
3846 else
3847
3848 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3849
3850 fi
3851
3852
3853 eval "$wx_cv_use_gnomeprint"
3854
3855 if test x"$withstring" = xwithout; then
3856 if test $wxUSE_LIBGNOMEPRINT = yes; then
3857 result=no
3858 else
3859 result=yes
3860 fi
3861 else
3862 result=$wxUSE_LIBGNOMEPRINT
3863 fi
3864
3865 { echo "$as_me:$LINENO: result: $result" >&5
3866 echo "${ECHO_T}$result" >&6; }
3867
3868
3869 withstring=
3870 defaultval=$wxUSE_ALL_FEATURES
3871 if test -z "$defaultval"; then
3872 if test x"$withstring" = xwithout; then
3873 defaultval=yes
3874 else
3875 defaultval=no
3876 fi
3877 fi
3878 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3879 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3880
3881 # Check whether --with-gnomevfs was given.
3882 if test "${with_gnomevfs+set}" = set; then
3883 withval=$with_gnomevfs;
3884 if test "$withval" = yes; then
3885 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3886 else
3887 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3888 fi
3889
3890 else
3891
3892 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3893
3894 fi
3895
3896
3897 eval "$wx_cv_use_gnomevfs"
3898
3899 if test x"$withstring" = xwithout; then
3900 if test $wxUSE_LIBGNOMEVFS = yes; then
3901 result=no
3902 else
3903 result=yes
3904 fi
3905 else
3906 result=$wxUSE_LIBGNOMEVFS
3907 fi
3908
3909 { echo "$as_me:$LINENO: result: $result" >&5
3910 echo "${ECHO_T}$result" >&6; }
3911
3912
3913 withstring=
3914 defaultval=$wxUSE_ALL_FEATURES
3915 if test -z "$defaultval"; then
3916 if test x"$withstring" = xwithout; then
3917 defaultval=yes
3918 else
3919 defaultval=no
3920 fi
3921 fi
3922 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3923 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3924
3925 # Check whether --with-hildon was given.
3926 if test "${with_hildon+set}" = set; then
3927 withval=$with_hildon;
3928 if test "$withval" = yes; then
3929 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3930 else
3931 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3932 fi
3933
3934 else
3935
3936 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3937
3938 fi
3939
3940
3941 eval "$wx_cv_use_hildon"
3942
3943 if test x"$withstring" = xwithout; then
3944 if test $wxUSE_LIBHILDON = yes; then
3945 result=no
3946 else
3947 result=yes
3948 fi
3949 else
3950 result=$wxUSE_LIBHILDON
3951 fi
3952
3953 { echo "$as_me:$LINENO: result: $result" >&5
3954 echo "${ECHO_T}$result" >&6; }
3955
3956
3957 withstring=
3958 defaultval=$wxUSE_ALL_FEATURES
3959 if test -z "$defaultval"; then
3960 if test x"$withstring" = xwithout; then
3961 defaultval=yes
3962 else
3963 defaultval=no
3964 fi
3965 fi
3966 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3967 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
3968
3969 # Check whether --with-opengl was given.
3970 if test "${with_opengl+set}" = set; then
3971 withval=$with_opengl;
3972 if test "$withval" = yes; then
3973 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3974 else
3975 wx_cv_use_opengl='wxUSE_OPENGL=no'
3976 fi
3977
3978 else
3979
3980 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3981
3982 fi
3983
3984
3985 eval "$wx_cv_use_opengl"
3986
3987 if test x"$withstring" = xwithout; then
3988 if test $wxUSE_OPENGL = yes; then
3989 result=no
3990 else
3991 result=yes
3992 fi
3993 else
3994 result=$wxUSE_OPENGL
3995 fi
3996
3997 { echo "$as_me:$LINENO: result: $result" >&5
3998 echo "${ECHO_T}$result" >&6; }
3999
4000
4001 fi
4002
4003
4004 withstring=
4005 defaultval=$wxUSE_ALL_FEATURES
4006 if test -z "$defaultval"; then
4007 if test x"$withstring" = xwithout; then
4008 defaultval=yes
4009 else
4010 defaultval=no
4011 fi
4012 fi
4013 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4014 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4015
4016 # Check whether --with-dmalloc was given.
4017 if test "${with_dmalloc+set}" = set; then
4018 withval=$with_dmalloc;
4019 if test "$withval" = yes; then
4020 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4021 else
4022 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4023 fi
4024
4025 else
4026
4027 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4028
4029 fi
4030
4031
4032 eval "$wx_cv_use_dmalloc"
4033
4034 if test x"$withstring" = xwithout; then
4035 if test $wxUSE_DMALLOC = yes; then
4036 result=no
4037 else
4038 result=yes
4039 fi
4040 else
4041 result=$wxUSE_DMALLOC
4042 fi
4043
4044 { echo "$as_me:$LINENO: result: $result" >&5
4045 echo "${ECHO_T}$result" >&6; }
4046
4047
4048 withstring=
4049 defaultval=$wxUSE_ALL_FEATURES
4050 if test -z "$defaultval"; then
4051 if test x"$withstring" = xwithout; then
4052 defaultval=yes
4053 else
4054 defaultval=no
4055 fi
4056 fi
4057 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4058 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4059
4060 # Check whether --with-sdl was given.
4061 if test "${with_sdl+set}" = set; then
4062 withval=$with_sdl;
4063 if test "$withval" = yes; then
4064 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4065 else
4066 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4067 fi
4068
4069 else
4070
4071 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4072
4073 fi
4074
4075
4076 eval "$wx_cv_use_sdl"
4077
4078 if test x"$withstring" = xwithout; then
4079 if test $wxUSE_LIBSDL = yes; then
4080 result=no
4081 else
4082 result=yes
4083 fi
4084 else
4085 result=$wxUSE_LIBSDL
4086 fi
4087
4088 { echo "$as_me:$LINENO: result: $result" >&5
4089 echo "${ECHO_T}$result" >&6; }
4090
4091
4092 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4093 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4094
4095 # Check whether --with-regex was given.
4096 if test "${with_regex+set}" = set; then
4097 withval=$with_regex;
4098 if test "$withval" = yes; then
4099 wx_cv_use_regex='wxUSE_REGEX=yes'
4100 elif test "$withval" = no; then
4101 wx_cv_use_regex='wxUSE_REGEX=no'
4102 elif test "$withval" = sys; then
4103 wx_cv_use_regex='wxUSE_REGEX=sys'
4104 elif test "$withval" = builtin; then
4105 wx_cv_use_regex='wxUSE_REGEX=builtin'
4106 else
4107 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4108 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4109 { (exit 1); exit 1; }; }
4110 fi
4111
4112 else
4113
4114 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4115
4116 fi
4117
4118
4119 eval "$wx_cv_use_regex"
4120
4121 if test "$wxUSE_REGEX" = yes; then
4122 { echo "$as_me:$LINENO: result: yes" >&5
4123 echo "${ECHO_T}yes" >&6; }
4124 elif test "$wxUSE_REGEX" = no; then
4125 { echo "$as_me:$LINENO: result: no" >&5
4126 echo "${ECHO_T}no" >&6; }
4127 elif test "$wxUSE_REGEX" = sys; then
4128 { echo "$as_me:$LINENO: result: system version" >&5
4129 echo "${ECHO_T}system version" >&6; }
4130 elif test "$wxUSE_REGEX" = builtin; then
4131 { echo "$as_me:$LINENO: result: builtin version" >&5
4132 echo "${ECHO_T}builtin version" >&6; }
4133 else
4134 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4135 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4136 { (exit 1); exit 1; }; }
4137 fi
4138
4139
4140 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4141 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4142
4143 # Check whether --with-zlib was given.
4144 if test "${with_zlib+set}" = set; then
4145 withval=$with_zlib;
4146 if test "$withval" = yes; then
4147 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4148 elif test "$withval" = no; then
4149 wx_cv_use_zlib='wxUSE_ZLIB=no'
4150 elif test "$withval" = sys; then
4151 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4152 elif test "$withval" = builtin; then
4153 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4154 else
4155 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4156 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4157 { (exit 1); exit 1; }; }
4158 fi
4159
4160 else
4161
4162 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4163
4164 fi
4165
4166
4167 eval "$wx_cv_use_zlib"
4168
4169 if test "$wxUSE_ZLIB" = yes; then
4170 { echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4172 elif test "$wxUSE_ZLIB" = no; then
4173 { echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6; }
4175 elif test "$wxUSE_ZLIB" = sys; then
4176 { echo "$as_me:$LINENO: result: system version" >&5
4177 echo "${ECHO_T}system version" >&6; }
4178 elif test "$wxUSE_ZLIB" = builtin; then
4179 { echo "$as_me:$LINENO: result: builtin version" >&5
4180 echo "${ECHO_T}builtin version" >&6; }
4181 else
4182 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4183 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4185 fi
4186
4187
4188 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4189 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4190
4191 # Check whether --with-expat was given.
4192 if test "${with_expat+set}" = set; then
4193 withval=$with_expat;
4194 if test "$withval" = yes; then
4195 wx_cv_use_expat='wxUSE_EXPAT=yes'
4196 elif test "$withval" = no; then
4197 wx_cv_use_expat='wxUSE_EXPAT=no'
4198 elif test "$withval" = sys; then
4199 wx_cv_use_expat='wxUSE_EXPAT=sys'
4200 elif test "$withval" = builtin; then
4201 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4202 else
4203 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4204 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4206 fi
4207
4208 else
4209
4210 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4211
4212 fi
4213
4214
4215 eval "$wx_cv_use_expat"
4216
4217 if test "$wxUSE_EXPAT" = yes; then
4218 { echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6; }
4220 elif test "$wxUSE_EXPAT" = no; then
4221 { echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6; }
4223 elif test "$wxUSE_EXPAT" = sys; then
4224 { echo "$as_me:$LINENO: result: system version" >&5
4225 echo "${ECHO_T}system version" >&6; }
4226 elif test "$wxUSE_EXPAT" = builtin; then
4227 { echo "$as_me:$LINENO: result: builtin version" >&5
4228 echo "${ECHO_T}builtin version" >&6; }
4229 else
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4233 fi
4234
4235
4236 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4237 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4238
4239 # Check whether --with-macosx-sdk was given.
4240 if test "${with_macosx_sdk+set}" = set; then
4241 withval=$with_macosx_sdk;
4242 wxUSE_MACOSX_SDK=$withval
4243 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4244
4245 fi
4246
4247 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4248 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4249
4250 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4251 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4252
4253 # Check whether --with-macosx-version-min was given.
4254 if test "${with_macosx_version_min+set}" = set; then
4255 withval=$with_macosx_version_min;
4256 wxUSE_MACOSX_VERSION_MIN=$withval
4257 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4258
4259 fi
4260
4261 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4262 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4263
4264
4265
4266 enablestring=disable
4267 defaultval=
4268 if test -z "$defaultval"; then
4269 if test x"$enablestring" = xdisable; then
4270 defaultval=yes
4271 else
4272 defaultval=no
4273 fi
4274 fi
4275
4276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4277 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4278 # Check whether --enable-shared was given.
4279 if test "${enable_shared+set}" = set; then
4280 enableval=$enable_shared;
4281 if test "$enableval" = yes; then
4282 wx_cv_use_shared='wxUSE_SHARED=yes'
4283 else
4284 wx_cv_use_shared='wxUSE_SHARED=no'
4285 fi
4286
4287 else
4288
4289 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4290
4291 fi
4292
4293
4294 eval "$wx_cv_use_shared"
4295
4296 if test x"$enablestring" = xdisable; then
4297 if test $wxUSE_SHARED = yes; then
4298 result=no
4299 else
4300 result=yes
4301 fi
4302 else
4303 result=$wxUSE_SHARED
4304 fi
4305
4306 { echo "$as_me:$LINENO: result: $result" >&5
4307 echo "${ECHO_T}$result" >&6; }
4308
4309
4310 enablestring=disable
4311 defaultval=
4312 if test -z "$defaultval"; then
4313 if test x"$enablestring" = xdisable; then
4314 defaultval=yes
4315 else
4316 defaultval=no
4317 fi
4318 fi
4319
4320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4321 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4322 # Check whether --enable-optimise was given.
4323 if test "${enable_optimise+set}" = set; then
4324 enableval=$enable_optimise;
4325 if test "$enableval" = yes; then
4326 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4327 else
4328 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4329 fi
4330
4331 else
4332
4333 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4334
4335 fi
4336
4337
4338 eval "$wx_cv_use_optimise"
4339
4340 if test x"$enablestring" = xdisable; then
4341 if test $wxUSE_OPTIMISE = yes; then
4342 result=no
4343 else
4344 result=yes
4345 fi
4346 else
4347 result=$wxUSE_OPTIMISE
4348 fi
4349
4350 { echo "$as_me:$LINENO: result: $result" >&5
4351 echo "${ECHO_T}$result" >&6; }
4352
4353
4354 enablestring=
4355 defaultval=
4356 if test -z "$defaultval"; then
4357 if test x"$enablestring" = xdisable; then
4358 defaultval=yes
4359 else
4360 defaultval=no
4361 fi
4362 fi
4363
4364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4365 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4366 # Check whether --enable-debug was given.
4367 if test "${enable_debug+set}" = set; then
4368 enableval=$enable_debug;
4369 if test "$enableval" = yes; then
4370 wx_cv_use_debug='wxUSE_DEBUG=yes'
4371 else
4372 wx_cv_use_debug='wxUSE_DEBUG=no'
4373 fi
4374
4375 else
4376
4377 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4378
4379 fi
4380
4381
4382 eval "$wx_cv_use_debug"
4383
4384 if test x"$enablestring" = xdisable; then
4385 if test $wxUSE_DEBUG = yes; then
4386 result=no
4387 else
4388 result=yes
4389 fi
4390 else
4391 result=$wxUSE_DEBUG
4392 fi
4393
4394 { echo "$as_me:$LINENO: result: $result" >&5
4395 echo "${ECHO_T}$result" >&6; }
4396
4397
4398 enablestring=
4399 defaultval=
4400 if test -z "$defaultval"; then
4401 if test x"$enablestring" = xdisable; then
4402 defaultval=yes
4403 else
4404 defaultval=no
4405 fi
4406 fi
4407
4408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4409 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4410 # Check whether --enable-stl was given.
4411 if test "${enable_stl+set}" = set; then
4412 enableval=$enable_stl;
4413 if test "$enableval" = yes; then
4414 wx_cv_use_stl='wxUSE_STL=yes'
4415 else
4416 wx_cv_use_stl='wxUSE_STL=no'
4417 fi
4418
4419 else
4420
4421 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4422
4423 fi
4424
4425
4426 eval "$wx_cv_use_stl"
4427
4428 if test x"$enablestring" = xdisable; then
4429 if test $wxUSE_STL = yes; then
4430 result=no
4431 else
4432 result=yes
4433 fi
4434 else
4435 result=$wxUSE_STL
4436 fi
4437
4438 { echo "$as_me:$LINENO: result: $result" >&5
4439 echo "${ECHO_T}$result" >&6; }
4440
4441
4442 enablestring=
4443 defaultval=
4444 if test -z "$defaultval"; then
4445 if test x"$enablestring" = xdisable; then
4446 defaultval=yes
4447 else
4448 defaultval=no
4449 fi
4450 fi
4451
4452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4453 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4454 # Check whether --enable-std_iostreams was given.
4455 if test "${enable_std_iostreams+set}" = set; then
4456 enableval=$enable_std_iostreams;
4457 if test "$enableval" = yes; then
4458 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4459 else
4460 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4461 fi
4462
4463 else
4464
4465 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4466
4467 fi
4468
4469
4470 eval "$wx_cv_use_std_iostreams"
4471
4472 if test x"$enablestring" = xdisable; then
4473 if test $wxUSE_STD_IOSTREAM = yes; then
4474 result=no
4475 else
4476 result=yes
4477 fi
4478 else
4479 result=$wxUSE_STD_IOSTREAM
4480 fi
4481
4482 { echo "$as_me:$LINENO: result: $result" >&5
4483 echo "${ECHO_T}$result" >&6; }
4484
4485
4486 enablestring=
4487 defaultval=
4488 if test -z "$defaultval"; then
4489 if test x"$enablestring" = xdisable; then
4490 defaultval=yes
4491 else
4492 defaultval=no
4493 fi
4494 fi
4495
4496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4498 # Check whether --enable-std_string was given.
4499 if test "${enable_std_string+set}" = set; then
4500 enableval=$enable_std_string;
4501 if test "$enableval" = yes; then
4502 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4503 else
4504 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4505 fi
4506
4507 else
4508
4509 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4510
4511 fi
4512
4513
4514 eval "$wx_cv_use_std_string"
4515
4516 if test x"$enablestring" = xdisable; then
4517 if test $wxUSE_STD_STRING = yes; then
4518 result=no
4519 else
4520 result=yes
4521 fi
4522 else
4523 result=$wxUSE_STD_STRING
4524 fi
4525
4526 { echo "$as_me:$LINENO: result: $result" >&5
4527 echo "${ECHO_T}$result" >&6; }
4528
4529
4530 enablestring=disable
4531 defaultval=
4532 if test -z "$defaultval"; then
4533 if test x"$enablestring" = xdisable; then
4534 defaultval=yes
4535 else
4536 defaultval=no
4537 fi
4538 fi
4539
4540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4541 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4542 # Check whether --enable-unicode was given.
4543 if test "${enable_unicode+set}" = set; then
4544 enableval=$enable_unicode;
4545 if test "$enableval" = yes; then
4546 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4547 else
4548 wx_cv_use_unicode='wxUSE_UNICODE=no'
4549 fi
4550
4551 else
4552
4553 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4554
4555 fi
4556
4557
4558 eval "$wx_cv_use_unicode"
4559
4560 if test x"$enablestring" = xdisable; then
4561 if test $wxUSE_UNICODE = yes; then
4562 result=no
4563 else
4564 result=yes
4565 fi
4566 else
4567 result=$wxUSE_UNICODE
4568 fi
4569
4570 { echo "$as_me:$LINENO: result: $result" >&5
4571 echo "${ECHO_T}$result" >&6; }
4572
4573
4574 enablestring=
4575 defaultval=
4576 if test -z "$defaultval"; then
4577 if test x"$enablestring" = xdisable; then
4578 defaultval=yes
4579 else
4580 defaultval=no
4581 fi
4582 fi
4583
4584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4585 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4586 # Check whether --enable-mslu was given.
4587 if test "${enable_mslu+set}" = set; then
4588 enableval=$enable_mslu;
4589 if test "$enableval" = yes; then
4590 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4591 else
4592 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4593 fi
4594
4595 else
4596
4597 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4598
4599 fi
4600
4601
4602 eval "$wx_cv_use_mslu"
4603
4604 if test x"$enablestring" = xdisable; then
4605 if test $wxUSE_UNICODE_MSLU = yes; then
4606 result=no
4607 else
4608 result=yes
4609 fi
4610 else
4611 result=$wxUSE_UNICODE_MSLU
4612 fi
4613
4614 { echo "$as_me:$LINENO: result: $result" >&5
4615 echo "${ECHO_T}$result" >&6; }
4616
4617
4618 enablestring=
4619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4621 # Check whether --enable-utf8 was given.
4622 if test "${enable_utf8+set}" = set; then
4623 enableval=$enable_utf8;
4624 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4625
4626 else
4627
4628 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4629
4630 fi
4631
4632
4633 eval "$wx_cv_use_utf8"
4634
4635 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4636 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4637
4638
4639 enablestring=
4640 defaultval=
4641 if test -z "$defaultval"; then
4642 if test x"$enablestring" = xdisable; then
4643 defaultval=yes
4644 else
4645 defaultval=no
4646 fi
4647 fi
4648
4649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4650 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4651 # Check whether --enable-utf8only was given.
4652 if test "${enable_utf8only+set}" = set; then
4653 enableval=$enable_utf8only;
4654 if test "$enableval" = yes; then
4655 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4656 else
4657 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4658 fi
4659
4660 else
4661
4662 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4663
4664 fi
4665
4666
4667 eval "$wx_cv_use_utf8only"
4668
4669 if test x"$enablestring" = xdisable; then
4670 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4671 result=no
4672 else
4673 result=yes
4674 fi
4675 else
4676 result=$wxUSE_UNICODE_UTF8_LOCALE
4677 fi
4678
4679 { echo "$as_me:$LINENO: result: $result" >&5
4680 echo "${ECHO_T}$result" >&6; }
4681
4682
4683 enablestring=
4684 defaultval=
4685 if test -z "$defaultval"; then
4686 if test x"$enablestring" = xdisable; then
4687 defaultval=yes
4688 else
4689 defaultval=no
4690 fi
4691 fi
4692
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4695 # Check whether --enable-extended_rtti was given.
4696 if test "${enable_extended_rtti+set}" = set; then
4697 enableval=$enable_extended_rtti;
4698 if test "$enableval" = yes; then
4699 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4700 else
4701 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4702 fi
4703
4704 else
4705
4706 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4707
4708 fi
4709
4710
4711 eval "$wx_cv_use_extended_rtti"
4712
4713 if test x"$enablestring" = xdisable; then
4714 if test $wxUSE_EXTENDED_RTTI = yes; then
4715 result=no
4716 else
4717 result=yes
4718 fi
4719 else
4720 result=$wxUSE_EXTENDED_RTTI
4721 fi
4722
4723 { echo "$as_me:$LINENO: result: $result" >&5
4724 echo "${ECHO_T}$result" >&6; }
4725
4726 if test "$USE_OS2" = 1; then
4727 DEFAULT_wxUSE_OMF=no
4728
4729 enablestring=
4730 defaultval=
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4733 defaultval=yes
4734 else
4735 defaultval=no
4736 fi
4737 fi
4738
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4741 # Check whether --enable-omf was given.
4742 if test "${enable_omf+set}" = set; then
4743 enableval=$enable_omf;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_omf='wxUSE_OMF=yes'
4746 else
4747 wx_cv_use_omf='wxUSE_OMF=no'
4748 fi
4749
4750 else
4751
4752 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4753
4754 fi
4755
4756
4757 eval "$wx_cv_use_omf"
4758
4759 if test x"$enablestring" = xdisable; then
4760 if test $wxUSE_OMF = yes; then
4761 result=no
4762 else
4763 result=yes
4764 fi
4765 else
4766 result=$wxUSE_OMF
4767 fi
4768
4769 { echo "$as_me:$LINENO: result: $result" >&5
4770 echo "${ECHO_T}$result" >&6; }
4771
4772 fi
4773
4774 if test "$wxUSE_DEBUG" = "yes"; then
4775 DEFAULT_wxUSE_DEBUG_FLAG=yes
4776 DEFAULT_wxUSE_DEBUG_INFO=yes
4777 BUILD=debug
4778 elif test "$wxUSE_DEBUG" = "no"; then
4779 DEFAULT_wxUSE_DEBUG_FLAG=no
4780 DEFAULT_wxUSE_DEBUG_INFO=no
4781 BUILD=release
4782 fi
4783
4784
4785 enablestring=
4786 defaultval=
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4789 defaultval=yes
4790 else
4791 defaultval=no
4792 fi
4793 fi
4794
4795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4797 # Check whether --enable-debug_flag was given.
4798 if test "${enable_debug_flag+set}" = set; then
4799 enableval=$enable_debug_flag;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4802 else
4803 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4804 fi
4805
4806 else
4807
4808 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4809
4810 fi
4811
4812
4813 eval "$wx_cv_use_debug_flag"
4814
4815 if test x"$enablestring" = xdisable; then
4816 if test $wxUSE_DEBUG_FLAG = yes; then
4817 result=no
4818 else
4819 result=yes
4820 fi
4821 else
4822 result=$wxUSE_DEBUG_FLAG
4823 fi
4824
4825 { echo "$as_me:$LINENO: result: $result" >&5
4826 echo "${ECHO_T}$result" >&6; }
4827
4828
4829 enablestring=
4830 defaultval=
4831 if test -z "$defaultval"; then
4832 if test x"$enablestring" = xdisable; then
4833 defaultval=yes
4834 else
4835 defaultval=no
4836 fi
4837 fi
4838
4839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4840 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4841 # Check whether --enable-debug_info was given.
4842 if test "${enable_debug_info+set}" = set; then
4843 enableval=$enable_debug_info;
4844 if test "$enableval" = yes; then
4845 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4846 else
4847 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4848 fi
4849
4850 else
4851
4852 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4853
4854 fi
4855
4856
4857 eval "$wx_cv_use_debug_info"
4858
4859 if test x"$enablestring" = xdisable; then
4860 if test $wxUSE_DEBUG_INFO = yes; then
4861 result=no
4862 else
4863 result=yes
4864 fi
4865 else
4866 result=$wxUSE_DEBUG_INFO
4867 fi
4868
4869 { echo "$as_me:$LINENO: result: $result" >&5
4870 echo "${ECHO_T}$result" >&6; }
4871
4872
4873 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4874 wxUSE_DEBUG=yes
4875 BUILD=debug
4876 fi
4877
4878
4879 enablestring=
4880 defaultval=
4881 if test -z "$defaultval"; then
4882 if test x"$enablestring" = xdisable; then
4883 defaultval=yes
4884 else
4885 defaultval=no
4886 fi
4887 fi
4888
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4891 # Check whether --enable-debug_gdb was given.
4892 if test "${enable_debug_gdb+set}" = set; then
4893 enableval=$enable_debug_gdb;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4896 else
4897 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4898 fi
4899
4900 else
4901
4902 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4903
4904 fi
4905
4906
4907 eval "$wx_cv_use_debug_gdb"
4908
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_DEBUG_GDB = yes; then
4911 result=no
4912 else
4913 result=yes
4914 fi
4915 else
4916 result=$wxUSE_DEBUG_GDB
4917 fi
4918
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4921
4922
4923 enablestring=
4924 defaultval=
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4927 defaultval=yes
4928 else
4929 defaultval=no
4930 fi
4931 fi
4932
4933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4934 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4935 # Check whether --enable-debug_cntxt was given.
4936 if test "${enable_debug_cntxt+set}" = set; then
4937 enableval=$enable_debug_cntxt;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4940 else
4941 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4942 fi
4943
4944 else
4945
4946 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4947
4948 fi
4949
4950
4951 eval "$wx_cv_use_debug_cntxt"
4952
4953 if test x"$enablestring" = xdisable; then
4954 if test $wxUSE_DEBUG_CONTEXT = yes; then
4955 result=no
4956 else
4957 result=yes
4958 fi
4959 else
4960 result=$wxUSE_DEBUG_CONTEXT
4961 fi
4962
4963 { echo "$as_me:$LINENO: result: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4965
4966
4967 enablestring=
4968 defaultval=
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4971 defaultval=yes
4972 else
4973 defaultval=no
4974 fi
4975 fi
4976
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4979 # Check whether --enable-mem_tracing was given.
4980 if test "${enable_mem_tracing+set}" = set; then
4981 enableval=$enable_mem_tracing;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4984 else
4985 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4986 fi
4987
4988 else
4989
4990 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4991
4992 fi
4993
4994
4995 eval "$wx_cv_use_mem_tracing"
4996
4997 if test x"$enablestring" = xdisable; then
4998 if test $wxUSE_MEM_TRACING = yes; then
4999 result=no
5000 else
5001 result=yes
5002 fi
5003 else
5004 result=$wxUSE_MEM_TRACING
5005 fi
5006
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5009
5010
5011 enablestring=
5012 defaultval=
5013 if test -z "$defaultval"; then
5014 if test x"$enablestring" = xdisable; then
5015 defaultval=yes
5016 else
5017 defaultval=no
5018 fi
5019 fi
5020
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5023 # Check whether --enable-profile was given.
5024 if test "${enable_profile+set}" = set; then
5025 enableval=$enable_profile;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_profile='wxUSE_PROFILE=yes'
5028 else
5029 wx_cv_use_profile='wxUSE_PROFILE=no'
5030 fi
5031
5032 else
5033
5034 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5035
5036 fi
5037
5038
5039 eval "$wx_cv_use_profile"
5040
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_PROFILE = yes; then
5043 result=no
5044 else
5045 result=yes
5046 fi
5047 else
5048 result=$wxUSE_PROFILE
5049 fi
5050
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5053
5054
5055 enablestring=
5056 defaultval=
5057 if test -z "$defaultval"; then
5058 if test x"$enablestring" = xdisable; then
5059 defaultval=yes
5060 else
5061 defaultval=no
5062 fi
5063 fi
5064
5065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5067 # Check whether --enable-no_rtti was given.
5068 if test "${enable_no_rtti+set}" = set; then
5069 enableval=$enable_no_rtti;
5070 if test "$enableval" = yes; then
5071 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5072 else
5073 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5074 fi
5075
5076 else
5077
5078 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5079
5080 fi
5081
5082
5083 eval "$wx_cv_use_no_rtti"
5084
5085 if test x"$enablestring" = xdisable; then
5086 if test $wxUSE_NO_RTTI = yes; then
5087 result=no
5088 else
5089 result=yes
5090 fi
5091 else
5092 result=$wxUSE_NO_RTTI
5093 fi
5094
5095 { echo "$as_me:$LINENO: result: $result" >&5
5096 echo "${ECHO_T}$result" >&6; }
5097
5098
5099 enablestring=
5100 defaultval=
5101 if test -z "$defaultval"; then
5102 if test x"$enablestring" = xdisable; then
5103 defaultval=yes
5104 else
5105 defaultval=no
5106 fi
5107 fi
5108
5109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5110 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5111 # Check whether --enable-no_exceptions was given.
5112 if test "${enable_no_exceptions+set}" = set; then
5113 enableval=$enable_no_exceptions;
5114 if test "$enableval" = yes; then
5115 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5116 else
5117 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5118 fi
5119
5120 else
5121
5122 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5123
5124 fi
5125
5126
5127 eval "$wx_cv_use_no_exceptions"
5128
5129 if test x"$enablestring" = xdisable; then
5130 if test $wxUSE_NO_EXCEPTIONS = yes; then
5131 result=no
5132 else
5133 result=yes
5134 fi
5135 else
5136 result=$wxUSE_NO_EXCEPTIONS
5137 fi
5138
5139 { echo "$as_me:$LINENO: result: $result" >&5
5140 echo "${ECHO_T}$result" >&6; }
5141
5142
5143 enablestring=
5144 defaultval=
5145 if test -z "$defaultval"; then
5146 if test x"$enablestring" = xdisable; then
5147 defaultval=yes
5148 else
5149 defaultval=no
5150 fi
5151 fi
5152
5153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5154 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5155 # Check whether --enable-permissive was given.
5156 if test "${enable_permissive+set}" = set; then
5157 enableval=$enable_permissive;
5158 if test "$enableval" = yes; then
5159 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5160 else
5161 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5162 fi
5163
5164 else
5165
5166 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5167
5168 fi
5169
5170
5171 eval "$wx_cv_use_permissive"
5172
5173 if test x"$enablestring" = xdisable; then
5174 if test $wxUSE_PERMISSIVE = yes; then
5175 result=no
5176 else
5177 result=yes
5178 fi
5179 else
5180 result=$wxUSE_PERMISSIVE
5181 fi
5182
5183 { echo "$as_me:$LINENO: result: $result" >&5
5184 echo "${ECHO_T}$result" >&6; }
5185
5186
5187 enablestring=
5188 defaultval=
5189 if test -z "$defaultval"; then
5190 if test x"$enablestring" = xdisable; then
5191 defaultval=yes
5192 else
5193 defaultval=no
5194 fi
5195 fi
5196
5197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5198 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5199 # Check whether --enable-no_deps was given.
5200 if test "${enable_no_deps+set}" = set; then
5201 enableval=$enable_no_deps;
5202 if test "$enableval" = yes; then
5203 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5204 else
5205 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5206 fi
5207
5208 else
5209
5210 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5211
5212 fi
5213
5214
5215 eval "$wx_cv_use_no_deps"
5216
5217 if test x"$enablestring" = xdisable; then
5218 if test $wxUSE_NO_DEPS = yes; then
5219 result=no
5220 else
5221 result=yes
5222 fi
5223 else
5224 result=$wxUSE_NO_DEPS
5225 fi
5226
5227 { echo "$as_me:$LINENO: result: $result" >&5
5228 echo "${ECHO_T}$result" >&6; }
5229
5230
5231 enablestring=disable
5232 defaultval=
5233 if test -z "$defaultval"; then
5234 if test x"$enablestring" = xdisable; then
5235 defaultval=yes
5236 else
5237 defaultval=no
5238 fi
5239 fi
5240
5241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5243 # Check whether --enable-vararg_macros was given.
5244 if test "${enable_vararg_macros+set}" = set; then
5245 enableval=$enable_vararg_macros;
5246 if test "$enableval" = yes; then
5247 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5248 else
5249 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5250 fi
5251
5252 else
5253
5254 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5255
5256 fi
5257
5258
5259 eval "$wx_cv_use_vararg_macros"
5260
5261 if test x"$enablestring" = xdisable; then
5262 if test $wxUSE_VARARG_MACROS = yes; then
5263 result=no
5264 else
5265 result=yes
5266 fi
5267 else
5268 result=$wxUSE_VARARG_MACROS
5269 fi
5270
5271 { echo "$as_me:$LINENO: result: $result" >&5
5272 echo "${ECHO_T}$result" >&6; }
5273
5274
5275 enablestring=
5276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5277 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5278 # Check whether --enable-universal_binary was given.
5279 if test "${enable_universal_binary+set}" = set; then
5280 enableval=$enable_universal_binary;
5281 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5282
5283 else
5284
5285 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5286
5287 fi
5288
5289
5290 eval "$wx_cv_use_universal_binary"
5291
5292 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5293 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5294
5295
5296
5297 enablestring=
5298 defaultval=
5299 if test -z "$defaultval"; then
5300 if test x"$enablestring" = xdisable; then
5301 defaultval=yes
5302 else
5303 defaultval=no
5304 fi
5305 fi
5306
5307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5308 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5309 # Check whether --enable-compat26 was given.
5310 if test "${enable_compat26+set}" = set; then
5311 enableval=$enable_compat26;
5312 if test "$enableval" = yes; then
5313 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5314 else
5315 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5316 fi
5317
5318 else
5319
5320 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5321
5322 fi
5323
5324
5325 eval "$wx_cv_use_compat26"
5326
5327 if test x"$enablestring" = xdisable; then
5328 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5329 result=no
5330 else
5331 result=yes
5332 fi
5333 else
5334 result=$WXWIN_COMPATIBILITY_2_6
5335 fi
5336
5337 { echo "$as_me:$LINENO: result: $result" >&5
5338 echo "${ECHO_T}$result" >&6; }
5339
5340
5341 enablestring=disable
5342 defaultval=
5343 if test -z "$defaultval"; then
5344 if test x"$enablestring" = xdisable; then
5345 defaultval=yes
5346 else
5347 defaultval=no
5348 fi
5349 fi
5350
5351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5352 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5353 # Check whether --enable-compat28 was given.
5354 if test "${enable_compat28+set}" = set; then
5355 enableval=$enable_compat28;
5356 if test "$enableval" = yes; then
5357 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5358 else
5359 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5360 fi
5361
5362 else
5363
5364 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5365
5366 fi
5367
5368
5369 eval "$wx_cv_use_compat28"
5370
5371 if test x"$enablestring" = xdisable; then
5372 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5373 result=no
5374 else
5375 result=yes
5376 fi
5377 else
5378 result=$WXWIN_COMPATIBILITY_2_8
5379 fi
5380
5381 { echo "$as_me:$LINENO: result: $result" >&5
5382 echo "${ECHO_T}$result" >&6; }
5383
5384
5385
5386 enablestring=disable
5387 defaultval=
5388 if test -z "$defaultval"; then
5389 if test x"$enablestring" = xdisable; then
5390 defaultval=yes
5391 else
5392 defaultval=no
5393 fi
5394 fi
5395
5396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5397 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5398 # Check whether --enable-rpath was given.
5399 if test "${enable_rpath+set}" = set; then
5400 enableval=$enable_rpath;
5401 if test "$enableval" = yes; then
5402 wx_cv_use_rpath='wxUSE_RPATH=yes'
5403 else
5404 wx_cv_use_rpath='wxUSE_RPATH=no'
5405 fi
5406
5407 else
5408
5409 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5410
5411 fi
5412
5413
5414 eval "$wx_cv_use_rpath"
5415
5416 if test x"$enablestring" = xdisable; then
5417 if test $wxUSE_RPATH = yes; then
5418 result=no
5419 else
5420 result=yes
5421 fi
5422 else
5423 result=$wxUSE_RPATH
5424 fi
5425
5426 { echo "$as_me:$LINENO: result: $result" >&5
5427 echo "${ECHO_T}$result" >&6; }
5428
5429
5430
5431 enablestring=
5432 defaultval=
5433 if test -z "$defaultval"; then
5434 if test x"$enablestring" = xdisable; then
5435 defaultval=yes
5436 else
5437 defaultval=no
5438 fi
5439 fi
5440
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5443 # Check whether --enable-objc_uniquifying was given.
5444 if test "${enable_objc_uniquifying+set}" = set; then
5445 enableval=$enable_objc_uniquifying;
5446 if test "$enableval" = yes; then
5447 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5448 else
5449 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5450 fi
5451
5452 else
5453
5454 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5455
5456 fi
5457
5458
5459 eval "$wx_cv_use_objc_uniquifying"
5460
5461 if test x"$enablestring" = xdisable; then
5462 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5463 result=no
5464 else
5465 result=yes
5466 fi
5467 else
5468 result=$wxUSE_OBJC_UNIQUIFYING
5469 fi
5470
5471 { echo "$as_me:$LINENO: result: $result" >&5
5472 echo "${ECHO_T}$result" >&6; }
5473
5474
5475
5476 enablestring=disable
5477 defaultval=
5478 if test -z "$defaultval"; then
5479 if test x"$enablestring" = xdisable; then
5480 defaultval=yes
5481 else
5482 defaultval=no
5483 fi
5484 fi
5485
5486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5487 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5488 # Check whether --enable-visibility was given.
5489 if test "${enable_visibility+set}" = set; then
5490 enableval=$enable_visibility;
5491 if test "$enableval" = yes; then
5492 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5493 else
5494 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5495 fi
5496
5497 else
5498
5499 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5500
5501 fi
5502
5503
5504 eval "$wx_cv_use_visibility"
5505
5506 if test x"$enablestring" = xdisable; then
5507 if test $wxUSE_VISIBILITY = yes; then
5508 result=no
5509 else
5510 result=yes
5511 fi
5512 else
5513 result=$wxUSE_VISIBILITY
5514 fi
5515
5516 { echo "$as_me:$LINENO: result: $result" >&5
5517 echo "${ECHO_T}$result" >&6; }
5518
5519
5520
5521
5522 enablestring=
5523 defaultval=$wxUSE_ALL_FEATURES
5524 if test -z "$defaultval"; then
5525 if test x"$enablestring" = xdisable; then
5526 defaultval=yes
5527 else
5528 defaultval=no
5529 fi
5530 fi
5531
5532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5534 # Check whether --enable-intl was given.
5535 if test "${enable_intl+set}" = set; then
5536 enableval=$enable_intl;
5537 if test "$enableval" = yes; then
5538 wx_cv_use_intl='wxUSE_INTL=yes'
5539 else
5540 wx_cv_use_intl='wxUSE_INTL=no'
5541 fi
5542
5543 else
5544
5545 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5546
5547 fi
5548
5549
5550 eval "$wx_cv_use_intl"
5551
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_INTL = yes; then
5554 result=no
5555 else
5556 result=yes
5557 fi
5558 else
5559 result=$wxUSE_INTL
5560 fi
5561
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5564
5565
5566 enablestring=
5567 defaultval=$wxUSE_ALL_FEATURES
5568 if test -z "$defaultval"; then
5569 if test x"$enablestring" = xdisable; then
5570 defaultval=yes
5571 else
5572 defaultval=no
5573 fi
5574 fi
5575
5576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5577 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5578 # Check whether --enable-config was given.
5579 if test "${enable_config+set}" = set; then
5580 enableval=$enable_config;
5581 if test "$enableval" = yes; then
5582 wx_cv_use_config='wxUSE_CONFIG=yes'
5583 else
5584 wx_cv_use_config='wxUSE_CONFIG=no'
5585 fi
5586
5587 else
5588
5589 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5590
5591 fi
5592
5593
5594 eval "$wx_cv_use_config"
5595
5596 if test x"$enablestring" = xdisable; then
5597 if test $wxUSE_CONFIG = yes; then
5598 result=no
5599 else
5600 result=yes
5601 fi
5602 else
5603 result=$wxUSE_CONFIG
5604 fi
5605
5606 { echo "$as_me:$LINENO: result: $result" >&5
5607 echo "${ECHO_T}$result" >&6; }
5608
5609
5610
5611 enablestring=
5612 defaultval=$wxUSE_ALL_FEATURES
5613 if test -z "$defaultval"; then
5614 if test x"$enablestring" = xdisable; then
5615 defaultval=yes
5616 else
5617 defaultval=no
5618 fi
5619 fi
5620
5621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5623 # Check whether --enable-protocols was given.
5624 if test "${enable_protocols+set}" = set; then
5625 enableval=$enable_protocols;
5626 if test "$enableval" = yes; then
5627 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5628 else
5629 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5630 fi
5631
5632 else
5633
5634 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5635
5636 fi
5637
5638
5639 eval "$wx_cv_use_protocols"
5640
5641 if test x"$enablestring" = xdisable; then
5642 if test $wxUSE_PROTOCOL = yes; then
5643 result=no
5644 else
5645 result=yes
5646 fi
5647 else
5648 result=$wxUSE_PROTOCOL
5649 fi
5650
5651 { echo "$as_me:$LINENO: result: $result" >&5
5652 echo "${ECHO_T}$result" >&6; }
5653
5654
5655 enablestring=
5656 defaultval=$wxUSE_ALL_FEATURES
5657 if test -z "$defaultval"; then
5658 if test x"$enablestring" = xdisable; then
5659 defaultval=yes
5660 else
5661 defaultval=no
5662 fi
5663 fi
5664
5665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5666 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5667 # Check whether --enable-ftp was given.
5668 if test "${enable_ftp+set}" = set; then
5669 enableval=$enable_ftp;
5670 if test "$enableval" = yes; then
5671 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5672 else
5673 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5674 fi
5675
5676 else
5677
5678 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5679
5680 fi
5681
5682
5683 eval "$wx_cv_use_ftp"
5684
5685 if test x"$enablestring" = xdisable; then
5686 if test $wxUSE_PROTOCOL_FTP = yes; then
5687 result=no
5688 else
5689 result=yes
5690 fi
5691 else
5692 result=$wxUSE_PROTOCOL_FTP
5693 fi
5694
5695 { echo "$as_me:$LINENO: result: $result" >&5
5696 echo "${ECHO_T}$result" >&6; }
5697
5698
5699 enablestring=
5700 defaultval=$wxUSE_ALL_FEATURES
5701 if test -z "$defaultval"; then
5702 if test x"$enablestring" = xdisable; then
5703 defaultval=yes
5704 else
5705 defaultval=no
5706 fi
5707 fi
5708
5709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5710 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5711 # Check whether --enable-http was given.
5712 if test "${enable_http+set}" = set; then
5713 enableval=$enable_http;
5714 if test "$enableval" = yes; then
5715 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5716 else
5717 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5718 fi
5719
5720 else
5721
5722 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5723
5724 fi
5725
5726
5727 eval "$wx_cv_use_http"
5728
5729 if test x"$enablestring" = xdisable; then
5730 if test $wxUSE_PROTOCOL_HTTP = yes; then
5731 result=no
5732 else
5733 result=yes
5734 fi
5735 else
5736 result=$wxUSE_PROTOCOL_HTTP
5737 fi
5738
5739 { echo "$as_me:$LINENO: result: $result" >&5
5740 echo "${ECHO_T}$result" >&6; }
5741
5742
5743 enablestring=
5744 defaultval=$wxUSE_ALL_FEATURES
5745 if test -z "$defaultval"; then
5746 if test x"$enablestring" = xdisable; then
5747 defaultval=yes
5748 else
5749 defaultval=no
5750 fi
5751 fi
5752
5753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5754 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5755 # Check whether --enable-fileproto was given.
5756 if test "${enable_fileproto+set}" = set; then
5757 enableval=$enable_fileproto;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5760 else
5761 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5762 fi
5763
5764 else
5765
5766 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5767
5768 fi
5769
5770
5771 eval "$wx_cv_use_fileproto"
5772
5773 if test x"$enablestring" = xdisable; then
5774 if test $wxUSE_PROTOCOL_FILE = yes; then
5775 result=no
5776 else
5777 result=yes
5778 fi
5779 else
5780 result=$wxUSE_PROTOCOL_FILE
5781 fi
5782
5783 { echo "$as_me:$LINENO: result: $result" >&5
5784 echo "${ECHO_T}$result" >&6; }
5785
5786
5787 enablestring=
5788 defaultval=$wxUSE_ALL_FEATURES
5789 if test -z "$defaultval"; then
5790 if test x"$enablestring" = xdisable; then
5791 defaultval=yes
5792 else
5793 defaultval=no
5794 fi
5795 fi
5796
5797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5799 # Check whether --enable-sockets was given.
5800 if test "${enable_sockets+set}" = set; then
5801 enableval=$enable_sockets;
5802 if test "$enableval" = yes; then
5803 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5804 else
5805 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5806 fi
5807
5808 else
5809
5810 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5811
5812 fi
5813
5814
5815 eval "$wx_cv_use_sockets"
5816
5817 if test x"$enablestring" = xdisable; then
5818 if test $wxUSE_SOCKETS = yes; then
5819 result=no
5820 else
5821 result=yes
5822 fi
5823 else
5824 result=$wxUSE_SOCKETS
5825 fi
5826
5827 { echo "$as_me:$LINENO: result: $result" >&5
5828 echo "${ECHO_T}$result" >&6; }
5829
5830
5831 enablestring=
5832 defaultval=$wxUSE_ALL_FEATURES
5833 if test -z "$defaultval"; then
5834 if test x"$enablestring" = xdisable; then
5835 defaultval=yes
5836 else
5837 defaultval=no
5838 fi
5839 fi
5840
5841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5843 # Check whether --enable-ipv6 was given.
5844 if test "${enable_ipv6+set}" = set; then
5845 enableval=$enable_ipv6;
5846 if test "$enableval" = yes; then
5847 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5848 else
5849 wx_cv_use_ipv6='wxUSE_IPV6=no'
5850 fi
5851
5852 else
5853
5854 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5855
5856 fi
5857
5858
5859 eval "$wx_cv_use_ipv6"
5860
5861 if test x"$enablestring" = xdisable; then
5862 if test $wxUSE_IPV6 = yes; then
5863 result=no
5864 else
5865 result=yes
5866 fi
5867 else
5868 result=$wxUSE_IPV6
5869 fi
5870
5871 { echo "$as_me:$LINENO: result: $result" >&5
5872 echo "${ECHO_T}$result" >&6; }
5873
5874
5875 enablestring=
5876 defaultval=$wxUSE_ALL_FEATURES
5877 if test -z "$defaultval"; then
5878 if test x"$enablestring" = xdisable; then
5879 defaultval=yes
5880 else
5881 defaultval=no
5882 fi
5883 fi
5884
5885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5886 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5887 # Check whether --enable-ole was given.
5888 if test "${enable_ole+set}" = set; then
5889 enableval=$enable_ole;
5890 if test "$enableval" = yes; then
5891 wx_cv_use_ole='wxUSE_OLE=yes'
5892 else
5893 wx_cv_use_ole='wxUSE_OLE=no'
5894 fi
5895
5896 else
5897
5898 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5899
5900 fi
5901
5902
5903 eval "$wx_cv_use_ole"
5904
5905 if test x"$enablestring" = xdisable; then
5906 if test $wxUSE_OLE = yes; then
5907 result=no
5908 else
5909 result=yes
5910 fi
5911 else
5912 result=$wxUSE_OLE
5913 fi
5914
5915 { echo "$as_me:$LINENO: result: $result" >&5
5916 echo "${ECHO_T}$result" >&6; }
5917
5918
5919 enablestring=
5920 defaultval=$wxUSE_ALL_FEATURES
5921 if test -z "$defaultval"; then
5922 if test x"$enablestring" = xdisable; then
5923 defaultval=yes
5924 else
5925 defaultval=no
5926 fi
5927 fi
5928
5929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5930 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5931 # Check whether --enable-dataobj was given.
5932 if test "${enable_dataobj+set}" = set; then
5933 enableval=$enable_dataobj;
5934 if test "$enableval" = yes; then
5935 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5936 else
5937 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5938 fi
5939
5940 else
5941
5942 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5943
5944 fi
5945
5946
5947 eval "$wx_cv_use_dataobj"
5948
5949 if test x"$enablestring" = xdisable; then
5950 if test $wxUSE_DATAOBJ = yes; then
5951 result=no
5952 else
5953 result=yes
5954 fi
5955 else
5956 result=$wxUSE_DATAOBJ
5957 fi
5958
5959 { echo "$as_me:$LINENO: result: $result" >&5
5960 echo "${ECHO_T}$result" >&6; }
5961
5962
5963
5964 enablestring=
5965 defaultval=$wxUSE_ALL_FEATURES
5966 if test -z "$defaultval"; then
5967 if test x"$enablestring" = xdisable; then
5968 defaultval=yes
5969 else
5970 defaultval=no
5971 fi
5972 fi
5973
5974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5976 # Check whether --enable-ipc was given.
5977 if test "${enable_ipc+set}" = set; then
5978 enableval=$enable_ipc;
5979 if test "$enableval" = yes; then
5980 wx_cv_use_ipc='wxUSE_IPC=yes'
5981 else
5982 wx_cv_use_ipc='wxUSE_IPC=no'
5983 fi
5984
5985 else
5986
5987 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5988
5989 fi
5990
5991
5992 eval "$wx_cv_use_ipc"
5993
5994 if test x"$enablestring" = xdisable; then
5995 if test $wxUSE_IPC = yes; then
5996 result=no
5997 else
5998 result=yes
5999 fi
6000 else
6001 result=$wxUSE_IPC
6002 fi
6003
6004 { echo "$as_me:$LINENO: result: $result" >&5
6005 echo "${ECHO_T}$result" >&6; }
6006
6007
6008
6009 enablestring=
6010 defaultval=$wxUSE_ALL_FEATURES
6011 if test -z "$defaultval"; then
6012 if test x"$enablestring" = xdisable; then
6013 defaultval=yes
6014 else
6015 defaultval=no
6016 fi
6017 fi
6018
6019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6020 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6021 # Check whether --enable-baseevtloop was given.
6022 if test "${enable_baseevtloop+set}" = set; then
6023 enableval=$enable_baseevtloop;
6024 if test "$enableval" = yes; then
6025 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6026 else
6027 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6028 fi
6029
6030 else
6031
6032 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6033
6034 fi
6035
6036
6037 eval "$wx_cv_use_baseevtloop"
6038
6039 if test x"$enablestring" = xdisable; then
6040 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6041 result=no
6042 else
6043 result=yes
6044 fi
6045 else
6046 result=$wxUSE_CONSOLE_EVENTLOOP
6047 fi
6048
6049 { echo "$as_me:$LINENO: result: $result" >&5
6050 echo "${ECHO_T}$result" >&6; }
6051
6052
6053 enablestring=
6054 defaultval=$wxUSE_ALL_FEATURES
6055 if test -z "$defaultval"; then
6056 if test x"$enablestring" = xdisable; then
6057 defaultval=yes
6058 else
6059 defaultval=no
6060 fi
6061 fi
6062
6063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6064 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6065 # Check whether --enable-epollloop was given.
6066 if test "${enable_epollloop+set}" = set; then
6067 enableval=$enable_epollloop;
6068 if test "$enableval" = yes; then
6069 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6070 else
6071 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6072 fi
6073
6074 else
6075
6076 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6077
6078 fi
6079
6080
6081 eval "$wx_cv_use_epollloop"
6082
6083 if test x"$enablestring" = xdisable; then
6084 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6085 result=no
6086 else
6087 result=yes
6088 fi
6089 else
6090 result=$wxUSE_EPOLL_DISPATCHER
6091 fi
6092
6093 { echo "$as_me:$LINENO: result: $result" >&5
6094 echo "${ECHO_T}$result" >&6; }
6095
6096
6097 enablestring=
6098 defaultval=$wxUSE_ALL_FEATURES
6099 if test -z "$defaultval"; then
6100 if test x"$enablestring" = xdisable; then
6101 defaultval=yes
6102 else
6103 defaultval=no
6104 fi
6105 fi
6106
6107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6108 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6109 # Check whether --enable-selectloop was given.
6110 if test "${enable_selectloop+set}" = set; then
6111 enableval=$enable_selectloop;
6112 if test "$enableval" = yes; then
6113 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6114 else
6115 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6116 fi
6117
6118 else
6119
6120 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6121
6122 fi
6123
6124
6125 eval "$wx_cv_use_selectloop"
6126
6127 if test x"$enablestring" = xdisable; then
6128 if test $wxUSE_SELECT_DISPATCHER = yes; then
6129 result=no
6130 else
6131 result=yes
6132 fi
6133 else
6134 result=$wxUSE_SELECT_DISPATCHER
6135 fi
6136
6137 { echo "$as_me:$LINENO: result: $result" >&5
6138 echo "${ECHO_T}$result" >&6; }
6139
6140
6141
6142 enablestring=
6143 defaultval=$wxUSE_ALL_FEATURES
6144 if test -z "$defaultval"; then
6145 if test x"$enablestring" = xdisable; then
6146 defaultval=yes
6147 else
6148 defaultval=no
6149 fi
6150 fi
6151
6152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6154 # Check whether --enable-apple_ieee was given.
6155 if test "${enable_apple_ieee+set}" = set; then
6156 enableval=$enable_apple_ieee;
6157 if test "$enableval" = yes; then
6158 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6159 else
6160 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6161 fi
6162
6163 else
6164
6165 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6166
6167 fi
6168
6169
6170 eval "$wx_cv_use_apple_ieee"
6171
6172 if test x"$enablestring" = xdisable; then
6173 if test $wxUSE_APPLE_IEEE = yes; then
6174 result=no
6175 else
6176 result=yes
6177 fi
6178 else
6179 result=$wxUSE_APPLE_IEEE
6180 fi
6181
6182 { echo "$as_me:$LINENO: result: $result" >&5
6183 echo "${ECHO_T}$result" >&6; }
6184
6185
6186 enablestring=
6187 defaultval=$wxUSE_ALL_FEATURES
6188 if test -z "$defaultval"; then
6189 if test x"$enablestring" = xdisable; then
6190 defaultval=yes
6191 else
6192 defaultval=no
6193 fi
6194 fi
6195
6196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6198 # Check whether --enable-arcstream was given.
6199 if test "${enable_arcstream+set}" = set; then
6200 enableval=$enable_arcstream;
6201 if test "$enableval" = yes; then
6202 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6203 else
6204 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6205 fi
6206
6207 else
6208
6209 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6210
6211 fi
6212
6213
6214 eval "$wx_cv_use_arcstream"
6215
6216 if test x"$enablestring" = xdisable; then
6217 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6218 result=no
6219 else
6220 result=yes
6221 fi
6222 else
6223 result=$wxUSE_ARCHIVE_STREAMS
6224 fi
6225
6226 { echo "$as_me:$LINENO: result: $result" >&5
6227 echo "${ECHO_T}$result" >&6; }
6228
6229
6230 enablestring=
6231 defaultval=$wxUSE_ALL_FEATURES
6232 if test -z "$defaultval"; then
6233 if test x"$enablestring" = xdisable; then
6234 defaultval=yes
6235 else
6236 defaultval=no
6237 fi
6238 fi
6239
6240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6241 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6242 # Check whether --enable-base64 was given.
6243 if test "${enable_base64+set}" = set; then
6244 enableval=$enable_base64;
6245 if test "$enableval" = yes; then
6246 wx_cv_use_base64='wxUSE_BASE64=yes'
6247 else
6248 wx_cv_use_base64='wxUSE_BASE64=no'
6249 fi
6250
6251 else
6252
6253 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6254
6255 fi
6256
6257
6258 eval "$wx_cv_use_base64"
6259
6260 if test x"$enablestring" = xdisable; then
6261 if test $wxUSE_BASE64 = yes; then
6262 result=no
6263 else
6264 result=yes
6265 fi
6266 else
6267 result=$wxUSE_BASE64
6268 fi
6269
6270 { echo "$as_me:$LINENO: result: $result" >&5
6271 echo "${ECHO_T}$result" >&6; }
6272
6273
6274 enablestring=
6275 defaultval=$wxUSE_ALL_FEATURES
6276 if test -z "$defaultval"; then
6277 if test x"$enablestring" = xdisable; then
6278 defaultval=yes
6279 else
6280 defaultval=no
6281 fi
6282 fi
6283
6284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6285 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6286 # Check whether --enable-backtrace was given.
6287 if test "${enable_backtrace+set}" = set; then
6288 enableval=$enable_backtrace;
6289 if test "$enableval" = yes; then
6290 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6291 else
6292 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6293 fi
6294
6295 else
6296
6297 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6298
6299 fi
6300
6301
6302 eval "$wx_cv_use_backtrace"
6303
6304 if test x"$enablestring" = xdisable; then
6305 if test $wxUSE_STACKWALKER = yes; then
6306 result=no
6307 else
6308 result=yes
6309 fi
6310 else
6311 result=$wxUSE_STACKWALKER
6312 fi
6313
6314 { echo "$as_me:$LINENO: result: $result" >&5
6315 echo "${ECHO_T}$result" >&6; }
6316
6317
6318 enablestring=
6319 defaultval=$wxUSE_ALL_FEATURES
6320 if test -z "$defaultval"; then
6321 if test x"$enablestring" = xdisable; then
6322 defaultval=yes
6323 else
6324 defaultval=no
6325 fi
6326 fi
6327
6328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6329 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6330 # Check whether --enable-catch_segvs was given.
6331 if test "${enable_catch_segvs+set}" = set; then
6332 enableval=$enable_catch_segvs;
6333 if test "$enableval" = yes; then
6334 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6335 else
6336 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6337 fi
6338
6339 else
6340
6341 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6342
6343 fi
6344
6345
6346 eval "$wx_cv_use_catch_segvs"
6347
6348 if test x"$enablestring" = xdisable; then
6349 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6350 result=no
6351 else
6352 result=yes
6353 fi
6354 else
6355 result=$wxUSE_ON_FATAL_EXCEPTION
6356 fi
6357
6358 { echo "$as_me:$LINENO: result: $result" >&5
6359 echo "${ECHO_T}$result" >&6; }
6360
6361
6362 enablestring=
6363 defaultval=$wxUSE_ALL_FEATURES
6364 if test -z "$defaultval"; then
6365 if test x"$enablestring" = xdisable; then
6366 defaultval=yes
6367 else
6368 defaultval=no
6369 fi
6370 fi
6371
6372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6373 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6374 # Check whether --enable-cmdline was given.
6375 if test "${enable_cmdline+set}" = set; then
6376 enableval=$enable_cmdline;
6377 if test "$enableval" = yes; then
6378 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6379 else
6380 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6381 fi
6382
6383 else
6384
6385 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6386
6387 fi
6388
6389
6390 eval "$wx_cv_use_cmdline"
6391
6392 if test x"$enablestring" = xdisable; then
6393 if test $wxUSE_CMDLINE_PARSER = yes; then
6394 result=no
6395 else
6396 result=yes
6397 fi
6398 else
6399 result=$wxUSE_CMDLINE_PARSER
6400 fi
6401
6402 { echo "$as_me:$LINENO: result: $result" >&5
6403 echo "${ECHO_T}$result" >&6; }
6404
6405
6406 enablestring=
6407 defaultval=$wxUSE_ALL_FEATURES
6408 if test -z "$defaultval"; then
6409 if test x"$enablestring" = xdisable; then
6410 defaultval=yes
6411 else
6412 defaultval=no
6413 fi
6414 fi
6415
6416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6418 # Check whether --enable-datetime was given.
6419 if test "${enable_datetime+set}" = set; then
6420 enableval=$enable_datetime;
6421 if test "$enableval" = yes; then
6422 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6423 else
6424 wx_cv_use_datetime='wxUSE_DATETIME=no'
6425 fi
6426
6427 else
6428
6429 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6430
6431 fi
6432
6433
6434 eval "$wx_cv_use_datetime"
6435
6436 if test x"$enablestring" = xdisable; then
6437 if test $wxUSE_DATETIME = yes; then
6438 result=no
6439 else
6440 result=yes
6441 fi
6442 else
6443 result=$wxUSE_DATETIME
6444 fi
6445
6446 { echo "$as_me:$LINENO: result: $result" >&5
6447 echo "${ECHO_T}$result" >&6; }
6448
6449
6450 enablestring=
6451 defaultval=$wxUSE_ALL_FEATURES
6452 if test -z "$defaultval"; then
6453 if test x"$enablestring" = xdisable; then
6454 defaultval=yes
6455 else
6456 defaultval=no
6457 fi
6458 fi
6459
6460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6461 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6462 # Check whether --enable-debugreport was given.
6463 if test "${enable_debugreport+set}" = set; then
6464 enableval=$enable_debugreport;
6465 if test "$enableval" = yes; then
6466 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6467 else
6468 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6469 fi
6470
6471 else
6472
6473 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6474
6475 fi
6476
6477
6478 eval "$wx_cv_use_debugreport"
6479
6480 if test x"$enablestring" = xdisable; then
6481 if test $wxUSE_DEBUGREPORT = yes; then
6482 result=no
6483 else
6484 result=yes
6485 fi
6486 else
6487 result=$wxUSE_DEBUGREPORT
6488 fi
6489
6490 { echo "$as_me:$LINENO: result: $result" >&5
6491 echo "${ECHO_T}$result" >&6; }
6492
6493
6494 enablestring=
6495 defaultval=$wxUSE_ALL_FEATURES
6496 if test -z "$defaultval"; then
6497 if test x"$enablestring" = xdisable; then
6498 defaultval=yes
6499 else
6500 defaultval=no
6501 fi
6502 fi
6503
6504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6506 # Check whether --enable-dialupman was given.
6507 if test "${enable_dialupman+set}" = set; then
6508 enableval=$enable_dialupman;
6509 if test "$enableval" = yes; then
6510 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6511 else
6512 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6513 fi
6514
6515 else
6516
6517 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6518
6519 fi
6520
6521
6522 eval "$wx_cv_use_dialupman"
6523
6524 if test x"$enablestring" = xdisable; then
6525 if test $wxUSE_DIALUP_MANAGER = yes; then
6526 result=no
6527 else
6528 result=yes
6529 fi
6530 else
6531 result=$wxUSE_DIALUP_MANAGER
6532 fi
6533
6534 { echo "$as_me:$LINENO: result: $result" >&5
6535 echo "${ECHO_T}$result" >&6; }
6536
6537
6538 enablestring=
6539 defaultval=$wxUSE_ALL_FEATURES
6540 if test -z "$defaultval"; then
6541 if test x"$enablestring" = xdisable; then
6542 defaultval=yes
6543 else
6544 defaultval=no
6545 fi
6546 fi
6547
6548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6550 # Check whether --enable-dynlib was given.
6551 if test "${enable_dynlib+set}" = set; then
6552 enableval=$enable_dynlib;
6553 if test "$enableval" = yes; then
6554 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6555 else
6556 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6557 fi
6558
6559 else
6560
6561 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6562
6563 fi
6564
6565
6566 eval "$wx_cv_use_dynlib"
6567
6568 if test x"$enablestring" = xdisable; then
6569 if test $wxUSE_DYNLIB_CLASS = yes; then
6570 result=no
6571 else
6572 result=yes
6573 fi
6574 else
6575 result=$wxUSE_DYNLIB_CLASS
6576 fi
6577
6578 { echo "$as_me:$LINENO: result: $result" >&5
6579 echo "${ECHO_T}$result" >&6; }
6580
6581
6582 enablestring=
6583 defaultval=$wxUSE_ALL_FEATURES
6584 if test -z "$defaultval"; then
6585 if test x"$enablestring" = xdisable; then
6586 defaultval=yes
6587 else
6588 defaultval=no
6589 fi
6590 fi
6591
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6594 # Check whether --enable-dynamicloader was given.
6595 if test "${enable_dynamicloader+set}" = set; then
6596 enableval=$enable_dynamicloader;
6597 if test "$enableval" = yes; then
6598 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6599 else
6600 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6601 fi
6602
6603 else
6604
6605 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6606
6607 fi
6608
6609
6610 eval "$wx_cv_use_dynamicloader"
6611
6612 if test x"$enablestring" = xdisable; then
6613 if test $wxUSE_DYNAMIC_LOADER = yes; then
6614 result=no
6615 else
6616 result=yes
6617 fi
6618 else
6619 result=$wxUSE_DYNAMIC_LOADER
6620 fi
6621
6622 { echo "$as_me:$LINENO: result: $result" >&5
6623 echo "${ECHO_T}$result" >&6; }
6624
6625
6626 enablestring=
6627 defaultval=$wxUSE_ALL_FEATURES
6628 if test -z "$defaultval"; then
6629 if test x"$enablestring" = xdisable; then
6630 defaultval=yes
6631 else
6632 defaultval=no
6633 fi
6634 fi
6635
6636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6638 # Check whether --enable-exceptions was given.
6639 if test "${enable_exceptions+set}" = set; then
6640 enableval=$enable_exceptions;
6641 if test "$enableval" = yes; then
6642 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6643 else
6644 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6645 fi
6646
6647 else
6648
6649 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6650
6651 fi
6652
6653
6654 eval "$wx_cv_use_exceptions"
6655
6656 if test x"$enablestring" = xdisable; then
6657 if test $wxUSE_EXCEPTIONS = yes; then
6658 result=no
6659 else
6660 result=yes
6661 fi
6662 else
6663 result=$wxUSE_EXCEPTIONS
6664 fi
6665
6666 { echo "$as_me:$LINENO: result: $result" >&5
6667 echo "${ECHO_T}$result" >&6; }
6668
6669
6670 enablestring=
6671 defaultval=$wxUSE_ALL_FEATURES
6672 if test -z "$defaultval"; then
6673 if test x"$enablestring" = xdisable; then
6674 defaultval=yes
6675 else
6676 defaultval=no
6677 fi
6678 fi
6679
6680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6681 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6682 # Check whether --enable-ffile was given.
6683 if test "${enable_ffile+set}" = set; then
6684 enableval=$enable_ffile;
6685 if test "$enableval" = yes; then
6686 wx_cv_use_ffile='wxUSE_FFILE=yes'
6687 else
6688 wx_cv_use_ffile='wxUSE_FFILE=no'
6689 fi
6690
6691 else
6692
6693 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6694
6695 fi
6696
6697
6698 eval "$wx_cv_use_ffile"
6699
6700 if test x"$enablestring" = xdisable; then
6701 if test $wxUSE_FFILE = yes; then
6702 result=no
6703 else
6704 result=yes
6705 fi
6706 else
6707 result=$wxUSE_FFILE
6708 fi
6709
6710 { echo "$as_me:$LINENO: result: $result" >&5
6711 echo "${ECHO_T}$result" >&6; }
6712
6713
6714 enablestring=
6715 defaultval=$wxUSE_ALL_FEATURES
6716 if test -z "$defaultval"; then
6717 if test x"$enablestring" = xdisable; then
6718 defaultval=yes
6719 else
6720 defaultval=no
6721 fi
6722 fi
6723
6724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6725 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6726 # Check whether --enable-file was given.
6727 if test "${enable_file+set}" = set; then
6728 enableval=$enable_file;
6729 if test "$enableval" = yes; then
6730 wx_cv_use_file='wxUSE_FILE=yes'
6731 else
6732 wx_cv_use_file='wxUSE_FILE=no'
6733 fi
6734
6735 else
6736
6737 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6738
6739 fi
6740
6741
6742 eval "$wx_cv_use_file"
6743
6744 if test x"$enablestring" = xdisable; then
6745 if test $wxUSE_FILE = yes; then
6746 result=no
6747 else
6748 result=yes
6749 fi
6750 else
6751 result=$wxUSE_FILE
6752 fi
6753
6754 { echo "$as_me:$LINENO: result: $result" >&5
6755 echo "${ECHO_T}$result" >&6; }
6756
6757
6758 enablestring=
6759 defaultval=$wxUSE_ALL_FEATURES
6760 if test -z "$defaultval"; then
6761 if test x"$enablestring" = xdisable; then
6762 defaultval=yes
6763 else
6764 defaultval=no
6765 fi
6766 fi
6767
6768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6769 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6770 # Check whether --enable-filesystem was given.
6771 if test "${enable_filesystem+set}" = set; then
6772 enableval=$enable_filesystem;
6773 if test "$enableval" = yes; then
6774 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6775 else
6776 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6777 fi
6778
6779 else
6780
6781 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6782
6783 fi
6784
6785
6786 eval "$wx_cv_use_filesystem"
6787
6788 if test x"$enablestring" = xdisable; then
6789 if test $wxUSE_FILESYSTEM = yes; then
6790 result=no
6791 else
6792 result=yes
6793 fi
6794 else
6795 result=$wxUSE_FILESYSTEM
6796 fi
6797
6798 { echo "$as_me:$LINENO: result: $result" >&5
6799 echo "${ECHO_T}$result" >&6; }
6800
6801
6802 enablestring=
6803 defaultval=$wxUSE_ALL_FEATURES
6804 if test -z "$defaultval"; then
6805 if test x"$enablestring" = xdisable; then
6806 defaultval=yes
6807 else
6808 defaultval=no
6809 fi
6810 fi
6811
6812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6813 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6814 # Check whether --enable-fontenum was given.
6815 if test "${enable_fontenum+set}" = set; then
6816 enableval=$enable_fontenum;
6817 if test "$enableval" = yes; then
6818 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6819 else
6820 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6821 fi
6822
6823 else
6824
6825 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6826
6827 fi
6828
6829
6830 eval "$wx_cv_use_fontenum"
6831
6832 if test x"$enablestring" = xdisable; then
6833 if test $wxUSE_FONTENUM = yes; then
6834 result=no
6835 else
6836 result=yes
6837 fi
6838 else
6839 result=$wxUSE_FONTENUM
6840 fi
6841
6842 { echo "$as_me:$LINENO: result: $result" >&5
6843 echo "${ECHO_T}$result" >&6; }
6844
6845
6846 enablestring=
6847 defaultval=$wxUSE_ALL_FEATURES
6848 if test -z "$defaultval"; then
6849 if test x"$enablestring" = xdisable; then
6850 defaultval=yes
6851 else
6852 defaultval=no
6853 fi
6854 fi
6855
6856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6857 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6858 # Check whether --enable-fontmap was given.
6859 if test "${enable_fontmap+set}" = set; then
6860 enableval=$enable_fontmap;
6861 if test "$enableval" = yes; then
6862 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6863 else
6864 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6865 fi
6866
6867 else
6868
6869 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6870
6871 fi
6872
6873
6874 eval "$wx_cv_use_fontmap"
6875
6876 if test x"$enablestring" = xdisable; then
6877 if test $wxUSE_FONTMAP = yes; then
6878 result=no
6879 else
6880 result=yes
6881 fi
6882 else
6883 result=$wxUSE_FONTMAP
6884 fi
6885
6886 { echo "$as_me:$LINENO: result: $result" >&5
6887 echo "${ECHO_T}$result" >&6; }
6888
6889
6890 enablestring=
6891 defaultval=$wxUSE_ALL_FEATURES
6892 if test -z "$defaultval"; then
6893 if test x"$enablestring" = xdisable; then
6894 defaultval=yes
6895 else
6896 defaultval=no
6897 fi
6898 fi
6899
6900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6902 # Check whether --enable-fs_archive was given.
6903 if test "${enable_fs_archive+set}" = set; then
6904 enableval=$enable_fs_archive;
6905 if test "$enableval" = yes; then
6906 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6907 else
6908 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6909 fi
6910
6911 else
6912
6913 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6914
6915 fi
6916
6917
6918 eval "$wx_cv_use_fs_archive"
6919
6920 if test x"$enablestring" = xdisable; then
6921 if test $wxUSE_FS_ARCHIVE = yes; then
6922 result=no
6923 else
6924 result=yes
6925 fi
6926 else
6927 result=$wxUSE_FS_ARCHIVE
6928 fi
6929
6930 { echo "$as_me:$LINENO: result: $result" >&5
6931 echo "${ECHO_T}$result" >&6; }
6932
6933
6934 enablestring=
6935 defaultval=$wxUSE_ALL_FEATURES
6936 if test -z "$defaultval"; then
6937 if test x"$enablestring" = xdisable; then
6938 defaultval=yes
6939 else
6940 defaultval=no
6941 fi
6942 fi
6943
6944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6946 # Check whether --enable-fs_inet was given.
6947 if test "${enable_fs_inet+set}" = set; then
6948 enableval=$enable_fs_inet;
6949 if test "$enableval" = yes; then
6950 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6951 else
6952 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6953 fi
6954
6955 else
6956
6957 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6958
6959 fi
6960
6961
6962 eval "$wx_cv_use_fs_inet"
6963
6964 if test x"$enablestring" = xdisable; then
6965 if test $wxUSE_FS_INET = yes; then
6966 result=no
6967 else
6968 result=yes
6969 fi
6970 else
6971 result=$wxUSE_FS_INET
6972 fi
6973
6974 { echo "$as_me:$LINENO: result: $result" >&5
6975 echo "${ECHO_T}$result" >&6; }
6976
6977
6978 enablestring=
6979 defaultval=$wxUSE_ALL_FEATURES
6980 if test -z "$defaultval"; then
6981 if test x"$enablestring" = xdisable; then
6982 defaultval=yes
6983 else
6984 defaultval=no
6985 fi
6986 fi
6987
6988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6989 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6990 # Check whether --enable-fs_zip was given.
6991 if test "${enable_fs_zip+set}" = set; then
6992 enableval=$enable_fs_zip;
6993 if test "$enableval" = yes; then
6994 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6995 else
6996 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6997 fi
6998
6999 else
7000
7001 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7002
7003 fi
7004
7005
7006 eval "$wx_cv_use_fs_zip"
7007
7008 if test x"$enablestring" = xdisable; then
7009 if test $wxUSE_FS_ZIP = yes; then
7010 result=no
7011 else
7012 result=yes
7013 fi
7014 else
7015 result=$wxUSE_FS_ZIP
7016 fi
7017
7018 { echo "$as_me:$LINENO: result: $result" >&5
7019 echo "${ECHO_T}$result" >&6; }
7020
7021
7022 enablestring=
7023 defaultval=$wxUSE_ALL_FEATURES
7024 if test -z "$defaultval"; then
7025 if test x"$enablestring" = xdisable; then
7026 defaultval=yes
7027 else
7028 defaultval=no
7029 fi
7030 fi
7031
7032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7034 # Check whether --enable-geometry was given.
7035 if test "${enable_geometry+set}" = set; then
7036 enableval=$enable_geometry;
7037 if test "$enableval" = yes; then
7038 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7039 else
7040 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7041 fi
7042
7043 else
7044
7045 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7046
7047 fi
7048
7049
7050 eval "$wx_cv_use_geometry"
7051
7052 if test x"$enablestring" = xdisable; then
7053 if test $wxUSE_GEOMETRY = yes; then
7054 result=no
7055 else
7056 result=yes
7057 fi
7058 else
7059 result=$wxUSE_GEOMETRY
7060 fi
7061
7062 { echo "$as_me:$LINENO: result: $result" >&5
7063 echo "${ECHO_T}$result" >&6; }
7064
7065
7066 enablestring=
7067 defaultval=$wxUSE_ALL_FEATURES
7068 if test -z "$defaultval"; then
7069 if test x"$enablestring" = xdisable; then
7070 defaultval=yes
7071 else
7072 defaultval=no
7073 fi
7074 fi
7075
7076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7077 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7078 # Check whether --enable-log was given.
7079 if test "${enable_log+set}" = set; then
7080 enableval=$enable_log;
7081 if test "$enableval" = yes; then
7082 wx_cv_use_log='wxUSE_LOG=yes'
7083 else
7084 wx_cv_use_log='wxUSE_LOG=no'
7085 fi
7086
7087 else
7088
7089 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7090
7091 fi
7092
7093
7094 eval "$wx_cv_use_log"
7095
7096 if test x"$enablestring" = xdisable; then
7097 if test $wxUSE_LOG = yes; then
7098 result=no
7099 else
7100 result=yes
7101 fi
7102 else
7103 result=$wxUSE_LOG
7104 fi
7105
7106 { echo "$as_me:$LINENO: result: $result" >&5
7107 echo "${ECHO_T}$result" >&6; }
7108
7109
7110 enablestring=
7111 defaultval=$wxUSE_ALL_FEATURES
7112 if test -z "$defaultval"; then
7113 if test x"$enablestring" = xdisable; then
7114 defaultval=yes
7115 else
7116 defaultval=no
7117 fi
7118 fi
7119
7120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7121 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7122 # Check whether --enable-longlong was given.
7123 if test "${enable_longlong+set}" = set; then
7124 enableval=$enable_longlong;
7125 if test "$enableval" = yes; then
7126 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7127 else
7128 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7129 fi
7130
7131 else
7132
7133 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7134
7135 fi
7136
7137
7138 eval "$wx_cv_use_longlong"
7139
7140 if test x"$enablestring" = xdisable; then
7141 if test $wxUSE_LONGLONG = yes; then
7142 result=no
7143 else
7144 result=yes
7145 fi
7146 else
7147 result=$wxUSE_LONGLONG
7148 fi
7149
7150 { echo "$as_me:$LINENO: result: $result" >&5
7151 echo "${ECHO_T}$result" >&6; }
7152
7153
7154 enablestring=
7155 defaultval=$wxUSE_ALL_FEATURES
7156 if test -z "$defaultval"; then
7157 if test x"$enablestring" = xdisable; then
7158 defaultval=yes
7159 else
7160 defaultval=no
7161 fi
7162 fi
7163
7164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7165 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7166 # Check whether --enable-mimetype was given.
7167 if test "${enable_mimetype+set}" = set; then
7168 enableval=$enable_mimetype;
7169 if test "$enableval" = yes; then
7170 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7171 else
7172 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7173 fi
7174
7175 else
7176
7177 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7178
7179 fi
7180
7181
7182 eval "$wx_cv_use_mimetype"
7183
7184 if test x"$enablestring" = xdisable; then
7185 if test $wxUSE_MIMETYPE = yes; then
7186 result=no
7187 else
7188 result=yes
7189 fi
7190 else
7191 result=$wxUSE_MIMETYPE
7192 fi
7193
7194 { echo "$as_me:$LINENO: result: $result" >&5
7195 echo "${ECHO_T}$result" >&6; }
7196
7197
7198 enablestring=
7199 defaultval=$wxUSE_ALL_FEATURES
7200 if test -z "$defaultval"; then
7201 if test x"$enablestring" = xdisable; then
7202 defaultval=yes
7203 else
7204 defaultval=no
7205 fi
7206 fi
7207
7208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7209 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7210 # Check whether --enable-snglinst was given.
7211 if test "${enable_snglinst+set}" = set; then
7212 enableval=$enable_snglinst;
7213 if test "$enableval" = yes; then
7214 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7215 else
7216 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7217 fi
7218
7219 else
7220
7221 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7222
7223 fi
7224
7225
7226 eval "$wx_cv_use_snglinst"
7227
7228 if test x"$enablestring" = xdisable; then
7229 if test $wxUSE_SNGLINST_CHECKER = yes; then
7230 result=no
7231 else
7232 result=yes
7233 fi
7234 else
7235 result=$wxUSE_SNGLINST_CHECKER
7236 fi
7237
7238 { echo "$as_me:$LINENO: result: $result" >&5
7239 echo "${ECHO_T}$result" >&6; }
7240
7241
7242 enablestring=
7243 defaultval=$wxUSE_ALL_FEATURES
7244 if test -z "$defaultval"; then
7245 if test x"$enablestring" = xdisable; then
7246 defaultval=yes
7247 else
7248 defaultval=no
7249 fi
7250 fi
7251
7252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7253 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7254 # Check whether --enable-stdpaths was given.
7255 if test "${enable_stdpaths+set}" = set; then
7256 enableval=$enable_stdpaths;
7257 if test "$enableval" = yes; then
7258 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7259 else
7260 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7261 fi
7262
7263 else
7264
7265 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7266
7267 fi
7268
7269
7270 eval "$wx_cv_use_stdpaths"
7271
7272 if test x"$enablestring" = xdisable; then
7273 if test $wxUSE_STDPATHS = yes; then
7274 result=no
7275 else
7276 result=yes
7277 fi
7278 else
7279 result=$wxUSE_STDPATHS
7280 fi
7281
7282 { echo "$as_me:$LINENO: result: $result" >&5
7283 echo "${ECHO_T}$result" >&6; }
7284
7285
7286 enablestring=
7287 defaultval=$wxUSE_ALL_FEATURES
7288 if test -z "$defaultval"; then
7289 if test x"$enablestring" = xdisable; then
7290 defaultval=yes
7291 else
7292 defaultval=no
7293 fi
7294 fi
7295
7296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7297 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7298 # Check whether --enable-stopwatch was given.
7299 if test "${enable_stopwatch+set}" = set; then
7300 enableval=$enable_stopwatch;
7301 if test "$enableval" = yes; then
7302 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7303 else
7304 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7305 fi
7306
7307 else
7308
7309 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7310
7311 fi
7312
7313
7314 eval "$wx_cv_use_stopwatch"
7315
7316 if test x"$enablestring" = xdisable; then
7317 if test $wxUSE_STOPWATCH = yes; then
7318 result=no
7319 else
7320 result=yes
7321 fi
7322 else
7323 result=$wxUSE_STOPWATCH
7324 fi
7325
7326 { echo "$as_me:$LINENO: result: $result" >&5
7327 echo "${ECHO_T}$result" >&6; }
7328
7329
7330 enablestring=
7331 defaultval=$wxUSE_ALL_FEATURES
7332 if test -z "$defaultval"; then
7333 if test x"$enablestring" = xdisable; then
7334 defaultval=yes
7335 else
7336 defaultval=no
7337 fi
7338 fi
7339
7340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7342 # Check whether --enable-streams was given.
7343 if test "${enable_streams+set}" = set; then
7344 enableval=$enable_streams;
7345 if test "$enableval" = yes; then
7346 wx_cv_use_streams='wxUSE_STREAMS=yes'
7347 else
7348 wx_cv_use_streams='wxUSE_STREAMS=no'
7349 fi
7350
7351 else
7352
7353 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7354
7355 fi
7356
7357
7358 eval "$wx_cv_use_streams"
7359
7360 if test x"$enablestring" = xdisable; then
7361 if test $wxUSE_STREAMS = yes; then
7362 result=no
7363 else
7364 result=yes
7365 fi
7366 else
7367 result=$wxUSE_STREAMS
7368 fi
7369
7370 { echo "$as_me:$LINENO: result: $result" >&5
7371 echo "${ECHO_T}$result" >&6; }
7372
7373
7374 enablestring=
7375 defaultval=$wxUSE_ALL_FEATURES
7376 if test -z "$defaultval"; then
7377 if test x"$enablestring" = xdisable; then
7378 defaultval=yes
7379 else
7380 defaultval=no
7381 fi
7382 fi
7383
7384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7385 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7386 # Check whether --enable-system_options was given.
7387 if test "${enable_system_options+set}" = set; then
7388 enableval=$enable_system_options;
7389 if test "$enableval" = yes; then
7390 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7391 else
7392 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7393 fi
7394
7395 else
7396
7397 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7398
7399 fi
7400
7401
7402 eval "$wx_cv_use_system_options"
7403
7404 if test x"$enablestring" = xdisable; then
7405 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7406 result=no
7407 else
7408 result=yes
7409 fi
7410 else
7411 result=$wxUSE_SYSTEM_OPTIONS
7412 fi
7413
7414 { echo "$as_me:$LINENO: result: $result" >&5
7415 echo "${ECHO_T}$result" >&6; }
7416
7417
7418 enablestring=
7419 defaultval=$wxUSE_ALL_FEATURES
7420 if test -z "$defaultval"; then
7421 if test x"$enablestring" = xdisable; then
7422 defaultval=yes
7423 else
7424 defaultval=no
7425 fi
7426 fi
7427
7428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7429 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7430 # Check whether --enable-tarstream was given.
7431 if test "${enable_tarstream+set}" = set; then
7432 enableval=$enable_tarstream;
7433 if test "$enableval" = yes; then
7434 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7435 else
7436 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7437 fi
7438
7439 else
7440
7441 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7442
7443 fi
7444
7445
7446 eval "$wx_cv_use_tarstream"
7447
7448 if test x"$enablestring" = xdisable; then
7449 if test $wxUSE_TARSTREAM = yes; then
7450 result=no
7451 else
7452 result=yes
7453 fi
7454 else
7455 result=$wxUSE_TARSTREAM
7456 fi
7457
7458 { echo "$as_me:$LINENO: result: $result" >&5
7459 echo "${ECHO_T}$result" >&6; }
7460
7461
7462 enablestring=
7463 defaultval=$wxUSE_ALL_FEATURES
7464 if test -z "$defaultval"; then
7465 if test x"$enablestring" = xdisable; then
7466 defaultval=yes
7467 else
7468 defaultval=no
7469 fi
7470 fi
7471
7472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7473 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7474 # Check whether --enable-textbuf was given.
7475 if test "${enable_textbuf+set}" = set; then
7476 enableval=$enable_textbuf;
7477 if test "$enableval" = yes; then
7478 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7479 else
7480 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7481 fi
7482
7483 else
7484
7485 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7486
7487 fi
7488
7489
7490 eval "$wx_cv_use_textbuf"
7491
7492 if test x"$enablestring" = xdisable; then
7493 if test $wxUSE_TEXTBUFFER = yes; then
7494 result=no
7495 else
7496 result=yes
7497 fi
7498 else
7499 result=$wxUSE_TEXTBUFFER
7500 fi
7501
7502 { echo "$as_me:$LINENO: result: $result" >&5
7503 echo "${ECHO_T}$result" >&6; }
7504
7505
7506 enablestring=
7507 defaultval=$wxUSE_ALL_FEATURES
7508 if test -z "$defaultval"; then
7509 if test x"$enablestring" = xdisable; then
7510 defaultval=yes
7511 else
7512 defaultval=no
7513 fi
7514 fi
7515
7516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7518 # Check whether --enable-textfile was given.
7519 if test "${enable_textfile+set}" = set; then
7520 enableval=$enable_textfile;
7521 if test "$enableval" = yes; then
7522 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7523 else
7524 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7525 fi
7526
7527 else
7528
7529 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7530
7531 fi
7532
7533
7534 eval "$wx_cv_use_textfile"
7535
7536 if test x"$enablestring" = xdisable; then
7537 if test $wxUSE_TEXTFILE = yes; then
7538 result=no
7539 else
7540 result=yes
7541 fi
7542 else
7543 result=$wxUSE_TEXTFILE
7544 fi
7545
7546 { echo "$as_me:$LINENO: result: $result" >&5
7547 echo "${ECHO_T}$result" >&6; }
7548
7549
7550 enablestring=
7551 defaultval=$wxUSE_ALL_FEATURES
7552 if test -z "$defaultval"; then
7553 if test x"$enablestring" = xdisable; then
7554 defaultval=yes
7555 else
7556 defaultval=no
7557 fi
7558 fi
7559
7560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7562 # Check whether --enable-timer was given.
7563 if test "${enable_timer+set}" = set; then
7564 enableval=$enable_timer;
7565 if test "$enableval" = yes; then
7566 wx_cv_use_timer='wxUSE_TIMER=yes'
7567 else
7568 wx_cv_use_timer='wxUSE_TIMER=no'
7569 fi
7570
7571 else
7572
7573 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7574
7575 fi
7576
7577
7578 eval "$wx_cv_use_timer"
7579
7580 if test x"$enablestring" = xdisable; then
7581 if test $wxUSE_TIMER = yes; then
7582 result=no
7583 else
7584 result=yes
7585 fi
7586 else
7587 result=$wxUSE_TIMER
7588 fi
7589
7590 { echo "$as_me:$LINENO: result: $result" >&5
7591 echo "${ECHO_T}$result" >&6; }
7592
7593
7594 enablestring=
7595 defaultval=$wxUSE_ALL_FEATURES
7596 if test -z "$defaultval"; then
7597 if test x"$enablestring" = xdisable; then
7598 defaultval=yes
7599 else
7600 defaultval=no
7601 fi
7602 fi
7603
7604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7606 # Check whether --enable-sound was given.
7607 if test "${enable_sound+set}" = set; then
7608 enableval=$enable_sound;
7609 if test "$enableval" = yes; then
7610 wx_cv_use_sound='wxUSE_SOUND=yes'
7611 else
7612 wx_cv_use_sound='wxUSE_SOUND=no'
7613 fi
7614
7615 else
7616
7617 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7618
7619 fi
7620
7621
7622 eval "$wx_cv_use_sound"
7623
7624 if test x"$enablestring" = xdisable; then
7625 if test $wxUSE_SOUND = yes; then
7626 result=no
7627 else
7628 result=yes
7629 fi
7630 else
7631 result=$wxUSE_SOUND
7632 fi
7633
7634 { echo "$as_me:$LINENO: result: $result" >&5
7635 echo "${ECHO_T}$result" >&6; }
7636
7637
7638 enablestring=
7639 defaultval=$wxUSE_ALL_FEATURES
7640 if test -z "$defaultval"; then
7641 if test x"$enablestring" = xdisable; then
7642 defaultval=yes
7643 else
7644 defaultval=no
7645 fi
7646 fi
7647
7648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7650 # Check whether --enable-mediactrl was given.
7651 if test "${enable_mediactrl+set}" = set; then
7652 enableval=$enable_mediactrl;
7653 if test "$enableval" = yes; then
7654 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7655 else
7656 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7657 fi
7658
7659 else
7660
7661 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7662
7663 fi
7664
7665
7666 eval "$wx_cv_use_mediactrl"
7667
7668 if test x"$enablestring" = xdisable; then
7669 if test $wxUSE_MEDIACTRL = yes; then
7670 result=no
7671 else
7672 result=yes
7673 fi
7674 else
7675 result=$wxUSE_MEDIACTRL
7676 fi
7677
7678 { echo "$as_me:$LINENO: result: $result" >&5
7679 echo "${ECHO_T}$result" >&6; }
7680
7681
7682 enablestring=
7683 defaultval=$wxUSE_ALL_FEATURES
7684 if test -z "$defaultval"; then
7685 if test x"$enablestring" = xdisable; then
7686 defaultval=yes
7687 else
7688 defaultval=no
7689 fi
7690 fi
7691
7692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7693 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7694 # Check whether --enable-gstreamer8 was given.
7695 if test "${enable_gstreamer8+set}" = set; then
7696 enableval=$enable_gstreamer8;
7697 if test "$enableval" = yes; then
7698 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7699 else
7700 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7701 fi
7702
7703 else
7704
7705 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7706
7707 fi
7708
7709
7710 eval "$wx_cv_use_gstreamer8"
7711
7712 if test x"$enablestring" = xdisable; then
7713 if test $wxUSE_GSTREAMER8 = yes; then
7714 result=no
7715 else
7716 result=yes
7717 fi
7718 else
7719 result=$wxUSE_GSTREAMER8
7720 fi
7721
7722 { echo "$as_me:$LINENO: result: $result" >&5
7723 echo "${ECHO_T}$result" >&6; }
7724
7725
7726 enablestring=
7727 defaultval=$wxUSE_ALL_FEATURES
7728 if test -z "$defaultval"; then
7729 if test x"$enablestring" = xdisable; then
7730 defaultval=yes
7731 else
7732 defaultval=no
7733 fi
7734 fi
7735
7736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7737 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7738 # Check whether --enable-printfposparam was given.
7739 if test "${enable_printfposparam+set}" = set; then
7740 enableval=$enable_printfposparam;
7741 if test "$enableval" = yes; then
7742 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7743 else
7744 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7745 fi
7746
7747 else
7748
7749 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7750
7751 fi
7752
7753
7754 eval "$wx_cv_use_printfposparam"
7755
7756 if test x"$enablestring" = xdisable; then
7757 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7758 result=no
7759 else
7760 result=yes
7761 fi
7762 else
7763 result=$wxUSE_PRINTF_POS_PARAMS
7764 fi
7765
7766 { echo "$as_me:$LINENO: result: $result" >&5
7767 echo "${ECHO_T}$result" >&6; }
7768
7769
7770 enablestring=
7771 defaultval=$wxUSE_ALL_FEATURES
7772 if test -z "$defaultval"; then
7773 if test x"$enablestring" = xdisable; then
7774 defaultval=yes
7775 else
7776 defaultval=no
7777 fi
7778 fi
7779
7780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7781 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7782 # Check whether --enable-zipstream was given.
7783 if test "${enable_zipstream+set}" = set; then
7784 enableval=$enable_zipstream;
7785 if test "$enableval" = yes; then
7786 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7787 else
7788 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7789 fi
7790
7791 else
7792
7793 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7794
7795 fi
7796
7797
7798 eval "$wx_cv_use_zipstream"
7799
7800 if test x"$enablestring" = xdisable; then
7801 if test $wxUSE_ZIPSTREAM = yes; then
7802 result=no
7803 else
7804 result=yes
7805 fi
7806 else
7807 result=$wxUSE_ZIPSTREAM
7808 fi
7809
7810 { echo "$as_me:$LINENO: result: $result" >&5
7811 echo "${ECHO_T}$result" >&6; }
7812
7813
7814
7815 enablestring=
7816 defaultval=$wxUSE_ALL_FEATURES
7817 if test -z "$defaultval"; then
7818 if test x"$enablestring" = xdisable; then
7819 defaultval=yes
7820 else
7821 defaultval=no
7822 fi
7823 fi
7824
7825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7826 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7827 # Check whether --enable-url was given.
7828 if test "${enable_url+set}" = set; then
7829 enableval=$enable_url;
7830 if test "$enableval" = yes; then
7831 wx_cv_use_url='wxUSE_URL=yes'
7832 else
7833 wx_cv_use_url='wxUSE_URL=no'
7834 fi
7835
7836 else
7837
7838 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7839
7840 fi
7841
7842
7843 eval "$wx_cv_use_url"
7844
7845 if test x"$enablestring" = xdisable; then
7846 if test $wxUSE_URL = yes; then
7847 result=no
7848 else
7849 result=yes
7850 fi
7851 else
7852 result=$wxUSE_URL
7853 fi
7854
7855 { echo "$as_me:$LINENO: result: $result" >&5
7856 echo "${ECHO_T}$result" >&6; }
7857
7858
7859 enablestring=
7860 defaultval=$wxUSE_ALL_FEATURES
7861 if test -z "$defaultval"; then
7862 if test x"$enablestring" = xdisable; then
7863 defaultval=yes
7864 else
7865 defaultval=no
7866 fi
7867 fi
7868
7869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7870 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7871 # Check whether --enable-variant was given.
7872 if test "${enable_variant+set}" = set; then
7873 enableval=$enable_variant;
7874 if test "$enableval" = yes; then
7875 wx_cv_use_variant='wxUSE_VARIANT=yes'
7876 else
7877 wx_cv_use_variant='wxUSE_VARIANT=no'
7878 fi
7879
7880 else
7881
7882 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7883
7884 fi
7885
7886
7887 eval "$wx_cv_use_variant"
7888
7889 if test x"$enablestring" = xdisable; then
7890 if test $wxUSE_VARIANT = yes; then
7891 result=no
7892 else
7893 result=yes
7894 fi
7895 else
7896 result=$wxUSE_VARIANT
7897 fi
7898
7899 { echo "$as_me:$LINENO: result: $result" >&5
7900 echo "${ECHO_T}$result" >&6; }
7901
7902
7903 enablestring=
7904 defaultval=$wxUSE_ALL_FEATURES
7905 if test -z "$defaultval"; then
7906 if test x"$enablestring" = xdisable; then
7907 defaultval=yes
7908 else
7909 defaultval=no
7910 fi
7911 fi
7912
7913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7914 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7915 # Check whether --enable-protocol was given.
7916 if test "${enable_protocol+set}" = set; then
7917 enableval=$enable_protocol;
7918 if test "$enableval" = yes; then
7919 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7920 else
7921 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7922 fi
7923
7924 else
7925
7926 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7927
7928 fi
7929
7930
7931 eval "$wx_cv_use_protocol"
7932
7933 if test x"$enablestring" = xdisable; then
7934 if test $wxUSE_PROTOCOL = yes; then
7935 result=no
7936 else
7937 result=yes
7938 fi
7939 else
7940 result=$wxUSE_PROTOCOL
7941 fi
7942
7943 { echo "$as_me:$LINENO: result: $result" >&5
7944 echo "${ECHO_T}$result" >&6; }
7945
7946
7947 enablestring=
7948 defaultval=$wxUSE_ALL_FEATURES
7949 if test -z "$defaultval"; then
7950 if test x"$enablestring" = xdisable; then
7951 defaultval=yes
7952 else
7953 defaultval=no
7954 fi
7955 fi
7956
7957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7958 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7959 # Check whether --enable-protocol_http was given.
7960 if test "${enable_protocol_http+set}" = set; then
7961 enableval=$enable_protocol_http;
7962 if test "$enableval" = yes; then
7963 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7964 else
7965 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7966 fi
7967
7968 else
7969
7970 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7971
7972 fi
7973
7974
7975 eval "$wx_cv_use_protocol_http"
7976
7977 if test x"$enablestring" = xdisable; then
7978 if test $wxUSE_PROTOCOL_HTTP = yes; then
7979 result=no
7980 else
7981 result=yes
7982 fi
7983 else
7984 result=$wxUSE_PROTOCOL_HTTP
7985 fi
7986
7987 { echo "$as_me:$LINENO: result: $result" >&5
7988 echo "${ECHO_T}$result" >&6; }
7989
7990
7991 enablestring=
7992 defaultval=$wxUSE_ALL_FEATURES
7993 if test -z "$defaultval"; then
7994 if test x"$enablestring" = xdisable; then
7995 defaultval=yes
7996 else
7997 defaultval=no
7998 fi
7999 fi
8000
8001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8002 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8003 # Check whether --enable-protocol_ftp was given.
8004 if test "${enable_protocol_ftp+set}" = set; then
8005 enableval=$enable_protocol_ftp;
8006 if test "$enableval" = yes; then
8007 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8008 else
8009 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8010 fi
8011
8012 else
8013
8014 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8015
8016 fi
8017
8018
8019 eval "$wx_cv_use_protocol_ftp"
8020
8021 if test x"$enablestring" = xdisable; then
8022 if test $wxUSE_PROTOCOL_FTP = yes; then
8023 result=no
8024 else
8025 result=yes
8026 fi
8027 else
8028 result=$wxUSE_PROTOCOL_FTP
8029 fi
8030
8031 { echo "$as_me:$LINENO: result: $result" >&5
8032 echo "${ECHO_T}$result" >&6; }
8033
8034
8035 enablestring=
8036 defaultval=$wxUSE_ALL_FEATURES
8037 if test -z "$defaultval"; then
8038 if test x"$enablestring" = xdisable; then
8039 defaultval=yes
8040 else
8041 defaultval=no
8042 fi
8043 fi
8044
8045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8046 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8047 # Check whether --enable-protocol_file was given.
8048 if test "${enable_protocol_file+set}" = set; then
8049 enableval=$enable_protocol_file;
8050 if test "$enableval" = yes; then
8051 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8052 else
8053 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8054 fi
8055
8056 else
8057
8058 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8059
8060 fi
8061
8062
8063 eval "$wx_cv_use_protocol_file"
8064
8065 if test x"$enablestring" = xdisable; then
8066 if test $wxUSE_PROTOCOL_FILE = yes; then
8067 result=no
8068 else
8069 result=yes
8070 fi
8071 else
8072 result=$wxUSE_PROTOCOL_FILE
8073 fi
8074
8075 { echo "$as_me:$LINENO: result: $result" >&5
8076 echo "${ECHO_T}$result" >&6; }
8077
8078
8079
8080 enablestring=
8081 defaultval=$wxUSE_ALL_FEATURES
8082 if test -z "$defaultval"; then
8083 if test x"$enablestring" = xdisable; then
8084 defaultval=yes
8085 else
8086 defaultval=no
8087 fi
8088 fi
8089
8090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8091 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8092 # Check whether --enable-threads was given.
8093 if test "${enable_threads+set}" = set; then
8094 enableval=$enable_threads;
8095 if test "$enableval" = yes; then
8096 wx_cv_use_threads='wxUSE_THREADS=yes'
8097 else
8098 wx_cv_use_threads='wxUSE_THREADS=no'
8099 fi
8100
8101 else
8102
8103 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8104
8105 fi
8106
8107
8108 eval "$wx_cv_use_threads"
8109
8110 if test x"$enablestring" = xdisable; then
8111 if test $wxUSE_THREADS = yes; then
8112 result=no
8113 else
8114 result=yes
8115 fi
8116 else
8117 result=$wxUSE_THREADS
8118 fi
8119
8120 { echo "$as_me:$LINENO: result: $result" >&5
8121 echo "${ECHO_T}$result" >&6; }
8122
8123
8124
8125 enablestring=
8126 defaultval=
8127 if test -z "$defaultval"; then
8128 if test x"$enablestring" = xdisable; then
8129 defaultval=yes
8130 else
8131 defaultval=no
8132 fi
8133 fi
8134
8135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8136 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8137 # Check whether --enable-iniconf was given.
8138 if test "${enable_iniconf+set}" = set; then
8139 enableval=$enable_iniconf;
8140 if test "$enableval" = yes; then
8141 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8142 else
8143 wx_cv_use_iniconf='wxUSE_INICONF=no'
8144 fi
8145
8146 else
8147
8148 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8149
8150 fi
8151
8152
8153 eval "$wx_cv_use_iniconf"
8154
8155 if test x"$enablestring" = xdisable; then
8156 if test $wxUSE_INICONF = yes; then
8157 result=no
8158 else
8159 result=yes
8160 fi
8161 else
8162 result=$wxUSE_INICONF
8163 fi
8164
8165 { echo "$as_me:$LINENO: result: $result" >&5
8166 echo "${ECHO_T}$result" >&6; }
8167
8168
8169 enablestring=
8170 defaultval=$wxUSE_ALL_FEATURES
8171 if test -z "$defaultval"; then
8172 if test x"$enablestring" = xdisable; then
8173 defaultval=yes
8174 else
8175 defaultval=no
8176 fi
8177 fi
8178
8179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8181 # Check whether --enable-regkey was given.
8182 if test "${enable_regkey+set}" = set; then
8183 enableval=$enable_regkey;
8184 if test "$enableval" = yes; then
8185 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8186 else
8187 wx_cv_use_regkey='wxUSE_REGKEY=no'
8188 fi
8189
8190 else
8191
8192 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8193
8194 fi
8195
8196
8197 eval "$wx_cv_use_regkey"
8198
8199 if test x"$enablestring" = xdisable; then
8200 if test $wxUSE_REGKEY = yes; then
8201 result=no
8202 else
8203 result=yes
8204 fi
8205 else
8206 result=$wxUSE_REGKEY
8207 fi
8208
8209 { echo "$as_me:$LINENO: result: $result" >&5
8210 echo "${ECHO_T}$result" >&6; }
8211
8212
8213 if test "$wxUSE_GUI" = "yes"; then
8214
8215
8216
8217 enablestring=
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z "$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8221 defaultval=yes
8222 else
8223 defaultval=no
8224 fi
8225 fi
8226
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8229 # Check whether --enable-docview was given.
8230 if test "${enable_docview+set}" = set; then
8231 enableval=$enable_docview;
8232 if test "$enableval" = yes; then
8233 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8234 else
8235 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8236 fi
8237
8238 else
8239
8240 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8241
8242 fi
8243
8244
8245 eval "$wx_cv_use_docview"
8246
8247 if test x"$enablestring" = xdisable; then
8248 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8249 result=no
8250 else
8251 result=yes
8252 fi
8253 else
8254 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8255 fi
8256
8257 { echo "$as_me:$LINENO: result: $result" >&5
8258 echo "${ECHO_T}$result" >&6; }
8259
8260
8261 enablestring=
8262 defaultval=$wxUSE_ALL_FEATURES
8263 if test -z "$defaultval"; then
8264 if test x"$enablestring" = xdisable; then
8265 defaultval=yes
8266 else
8267 defaultval=no
8268 fi
8269 fi
8270
8271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8272 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8273 # Check whether --enable-help was given.
8274 if test "${enable_help+set}" = set; then
8275 enableval=$enable_help;
8276 if test "$enableval" = yes; then
8277 wx_cv_use_help='wxUSE_HELP=yes'
8278 else
8279 wx_cv_use_help='wxUSE_HELP=no'
8280 fi
8281
8282 else
8283
8284 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8285
8286 fi
8287
8288
8289 eval "$wx_cv_use_help"
8290
8291 if test x"$enablestring" = xdisable; then
8292 if test $wxUSE_HELP = yes; then
8293 result=no
8294 else
8295 result=yes
8296 fi
8297 else
8298 result=$wxUSE_HELP
8299 fi
8300
8301 { echo "$as_me:$LINENO: result: $result" >&5
8302 echo "${ECHO_T}$result" >&6; }
8303
8304
8305 enablestring=
8306 defaultval=$wxUSE_ALL_FEATURES
8307 if test -z "$defaultval"; then
8308 if test x"$enablestring" = xdisable; then
8309 defaultval=yes
8310 else
8311 defaultval=no
8312 fi
8313 fi
8314
8315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8316 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8317 # Check whether --enable-mshtmlhelp was given.
8318 if test "${enable_mshtmlhelp+set}" = set; then
8319 enableval=$enable_mshtmlhelp;
8320 if test "$enableval" = yes; then
8321 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8322 else
8323 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8324 fi
8325
8326 else
8327
8328 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8329
8330 fi
8331
8332
8333 eval "$wx_cv_use_mshtmlhelp"
8334
8335 if test x"$enablestring" = xdisable; then
8336 if test $wxUSE_MS_HTML_HELP = yes; then
8337 result=no
8338 else
8339 result=yes
8340 fi
8341 else
8342 result=$wxUSE_MS_HTML_HELP
8343 fi
8344
8345 { echo "$as_me:$LINENO: result: $result" >&5
8346 echo "${ECHO_T}$result" >&6; }
8347
8348
8349 enablestring=
8350 defaultval=$wxUSE_ALL_FEATURES
8351 if test -z "$defaultval"; then
8352 if test x"$enablestring" = xdisable; then
8353 defaultval=yes
8354 else
8355 defaultval=no
8356 fi
8357 fi
8358
8359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8360 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8361 # Check whether --enable-html was given.
8362 if test "${enable_html+set}" = set; then
8363 enableval=$enable_html;
8364 if test "$enableval" = yes; then
8365 wx_cv_use_html='wxUSE_HTML=yes'
8366 else
8367 wx_cv_use_html='wxUSE_HTML=no'
8368 fi
8369
8370 else
8371
8372 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8373
8374 fi
8375
8376
8377 eval "$wx_cv_use_html"
8378
8379 if test x"$enablestring" = xdisable; then
8380 if test $wxUSE_HTML = yes; then
8381 result=no
8382 else
8383 result=yes
8384 fi
8385 else
8386 result=$wxUSE_HTML
8387 fi
8388
8389 { echo "$as_me:$LINENO: result: $result" >&5
8390 echo "${ECHO_T}$result" >&6; }
8391
8392
8393 enablestring=
8394 defaultval=$wxUSE_ALL_FEATURES
8395 if test -z "$defaultval"; then
8396 if test x"$enablestring" = xdisable; then
8397 defaultval=yes
8398 else
8399 defaultval=no
8400 fi
8401 fi
8402
8403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8404 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8405 # Check whether --enable-htmlhelp was given.
8406 if test "${enable_htmlhelp+set}" = set; then
8407 enableval=$enable_htmlhelp;
8408 if test "$enableval" = yes; then
8409 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8410 else
8411 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8412 fi
8413
8414 else
8415
8416 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8417
8418 fi
8419
8420
8421 eval "$wx_cv_use_htmlhelp"
8422
8423 if test x"$enablestring" = xdisable; then
8424 if test $wxUSE_WXHTML_HELP = yes; then
8425 result=no
8426 else
8427 result=yes
8428 fi
8429 else
8430 result=$wxUSE_WXHTML_HELP
8431 fi
8432
8433 { echo "$as_me:$LINENO: result: $result" >&5
8434 echo "${ECHO_T}$result" >&6; }
8435
8436
8437 enablestring=
8438 defaultval=$wxUSE_ALL_FEATURES
8439 if test -z "$defaultval"; then
8440 if test x"$enablestring" = xdisable; then
8441 defaultval=yes
8442 else
8443 defaultval=no
8444 fi
8445 fi
8446
8447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8448 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8449 # Check whether --enable-xrc was given.
8450 if test "${enable_xrc+set}" = set; then
8451 enableval=$enable_xrc;
8452 if test "$enableval" = yes; then
8453 wx_cv_use_xrc='wxUSE_XRC=yes'
8454 else
8455 wx_cv_use_xrc='wxUSE_XRC=no'
8456 fi
8457
8458 else
8459
8460 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8461
8462 fi
8463
8464
8465 eval "$wx_cv_use_xrc"
8466
8467 if test x"$enablestring" = xdisable; then
8468 if test $wxUSE_XRC = yes; then
8469 result=no
8470 else
8471 result=yes
8472 fi
8473 else
8474 result=$wxUSE_XRC
8475 fi
8476
8477 { echo "$as_me:$LINENO: result: $result" >&5
8478 echo "${ECHO_T}$result" >&6; }
8479
8480
8481 enablestring=
8482 defaultval=$wxUSE_ALL_FEATURES
8483 if test -z "$defaultval"; then
8484 if test x"$enablestring" = xdisable; then
8485 defaultval=yes
8486 else
8487 defaultval=no
8488 fi
8489 fi
8490
8491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8493 # Check whether --enable-aui was given.
8494 if test "${enable_aui+set}" = set; then
8495 enableval=$enable_aui;
8496 if test "$enableval" = yes; then
8497 wx_cv_use_aui='wxUSE_AUI=yes'
8498 else
8499 wx_cv_use_aui='wxUSE_AUI=no'
8500 fi
8501
8502 else
8503
8504 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8505
8506 fi
8507
8508
8509 eval "$wx_cv_use_aui"
8510
8511 if test x"$enablestring" = xdisable; then
8512 if test $wxUSE_AUI = yes; then
8513 result=no
8514 else
8515 result=yes
8516 fi
8517 else
8518 result=$wxUSE_AUI
8519 fi
8520
8521 { echo "$as_me:$LINENO: result: $result" >&5
8522 echo "${ECHO_T}$result" >&6; }
8523
8524
8525 enablestring=
8526 defaultval=$wxUSE_ALL_FEATURES
8527 if test -z "$defaultval"; then
8528 if test x"$enablestring" = xdisable; then
8529 defaultval=yes
8530 else
8531 defaultval=no
8532 fi
8533 fi
8534
8535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8536 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8537 # Check whether --enable-stc was given.
8538 if test "${enable_stc+set}" = set; then
8539 enableval=$enable_stc;
8540 if test "$enableval" = yes; then
8541 wx_cv_use_stc='wxUSE_STC=yes'
8542 else
8543 wx_cv_use_stc='wxUSE_STC=no'
8544 fi
8545
8546 else
8547
8548 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8549
8550 fi
8551
8552
8553 eval "$wx_cv_use_stc"
8554
8555 if test x"$enablestring" = xdisable; then
8556 if test $wxUSE_STC = yes; then
8557 result=no
8558 else
8559 result=yes
8560 fi
8561 else
8562 result=$wxUSE_STC
8563 fi
8564
8565 { echo "$as_me:$LINENO: result: $result" >&5
8566 echo "${ECHO_T}$result" >&6; }
8567
8568
8569 enablestring=
8570 defaultval=$wxUSE_ALL_FEATURES
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8573 defaultval=yes
8574 else
8575 defaultval=no
8576 fi
8577 fi
8578
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8581 # Check whether --enable-constraints was given.
8582 if test "${enable_constraints+set}" = set; then
8583 enableval=$enable_constraints;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8586 else
8587 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8588 fi
8589
8590 else
8591
8592 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8593
8594 fi
8595
8596
8597 eval "$wx_cv_use_constraints"
8598
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_CONSTRAINTS = yes; then
8601 result=no
8602 else
8603 result=yes
8604 fi
8605 else
8606 result=$wxUSE_CONSTRAINTS
8607 fi
8608
8609 { echo "$as_me:$LINENO: result: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8611
8612
8613 enablestring=
8614 defaultval=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x"$enablestring" = xdisable; then
8617 defaultval=yes
8618 else
8619 defaultval=no
8620 fi
8621 fi
8622
8623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8624 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8625 # Check whether --enable-printarch was given.
8626 if test "${enable_printarch+set}" = set; then
8627 enableval=$enable_printarch;
8628 if test "$enableval" = yes; then
8629 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8630 else
8631 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8632 fi
8633
8634 else
8635
8636 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8637
8638 fi
8639
8640
8641 eval "$wx_cv_use_printarch"
8642
8643 if test x"$enablestring" = xdisable; then
8644 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8645 result=no
8646 else
8647 result=yes
8648 fi
8649 else
8650 result=$wxUSE_PRINTING_ARCHITECTURE
8651 fi
8652
8653 { echo "$as_me:$LINENO: result: $result" >&5
8654 echo "${ECHO_T}$result" >&6; }
8655
8656
8657 enablestring=
8658 defaultval=$wxUSE_ALL_FEATURES
8659 if test -z "$defaultval"; then
8660 if test x"$enablestring" = xdisable; then
8661 defaultval=yes
8662 else
8663 defaultval=no
8664 fi
8665 fi
8666
8667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8669 # Check whether --enable-mdi was given.
8670 if test "${enable_mdi+set}" = set; then
8671 enableval=$enable_mdi;
8672 if test "$enableval" = yes; then
8673 wx_cv_use_mdi='wxUSE_MDI=yes'
8674 else
8675 wx_cv_use_mdi='wxUSE_MDI=no'
8676 fi
8677
8678 else
8679
8680 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8681
8682 fi
8683
8684
8685 eval "$wx_cv_use_mdi"
8686
8687 if test x"$enablestring" = xdisable; then
8688 if test $wxUSE_MDI = yes; then
8689 result=no
8690 else
8691 result=yes
8692 fi
8693 else
8694 result=$wxUSE_MDI
8695 fi
8696
8697 { echo "$as_me:$LINENO: result: $result" >&5
8698 echo "${ECHO_T}$result" >&6; }
8699
8700
8701 enablestring=
8702 defaultval=$wxUSE_ALL_FEATURES
8703 if test -z "$defaultval"; then
8704 if test x"$enablestring" = xdisable; then
8705 defaultval=yes
8706 else
8707 defaultval=no
8708 fi
8709 fi
8710
8711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8712 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8713 # Check whether --enable-mdidoc was given.
8714 if test "${enable_mdidoc+set}" = set; then
8715 enableval=$enable_mdidoc;
8716 if test "$enableval" = yes; then
8717 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8718 else
8719 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8720 fi
8721
8722 else
8723
8724 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8725
8726 fi
8727
8728
8729 eval "$wx_cv_use_mdidoc"
8730
8731 if test x"$enablestring" = xdisable; then
8732 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8733 result=no
8734 else
8735 result=yes
8736 fi
8737 else
8738 result=$wxUSE_MDI_ARCHITECTURE
8739 fi
8740
8741 { echo "$as_me:$LINENO: result: $result" >&5
8742 echo "${ECHO_T}$result" >&6; }
8743
8744
8745 enablestring=
8746 defaultval=$wxUSE_ALL_FEATURES
8747 if test -z "$defaultval"; then
8748 if test x"$enablestring" = xdisable; then
8749 defaultval=yes
8750 else
8751 defaultval=no
8752 fi
8753 fi
8754
8755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8756 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8757 # Check whether --enable-loggui was given.
8758 if test "${enable_loggui+set}" = set; then
8759 enableval=$enable_loggui;
8760 if test "$enableval" = yes; then
8761 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8762 else
8763 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8764 fi
8765
8766 else
8767
8768 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8769
8770 fi
8771
8772
8773 eval "$wx_cv_use_loggui"
8774
8775 if test x"$enablestring" = xdisable; then
8776 if test $wxUSE_LOGGUI = yes; then
8777 result=no
8778 else
8779 result=yes
8780 fi
8781 else
8782 result=$wxUSE_LOGGUI
8783 fi
8784
8785 { echo "$as_me:$LINENO: result: $result" >&5
8786 echo "${ECHO_T}$result" >&6; }
8787
8788
8789 enablestring=
8790 defaultval=$wxUSE_ALL_FEATURES
8791 if test -z "$defaultval"; then
8792 if test x"$enablestring" = xdisable; then
8793 defaultval=yes
8794 else
8795 defaultval=no
8796 fi
8797 fi
8798
8799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8801 # Check whether --enable-logwin was given.
8802 if test "${enable_logwin+set}" = set; then
8803 enableval=$enable_logwin;
8804 if test "$enableval" = yes; then
8805 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8806 else
8807 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8808 fi
8809
8810 else
8811
8812 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8813
8814 fi
8815
8816
8817 eval "$wx_cv_use_logwin"
8818
8819 if test x"$enablestring" = xdisable; then
8820 if test $wxUSE_LOGWINDOW = yes; then
8821 result=no
8822 else
8823 result=yes
8824 fi
8825 else
8826 result=$wxUSE_LOGWINDOW
8827 fi
8828
8829 { echo "$as_me:$LINENO: result: $result" >&5
8830 echo "${ECHO_T}$result" >&6; }
8831
8832
8833 enablestring=
8834 defaultval=$wxUSE_ALL_FEATURES
8835 if test -z "$defaultval"; then
8836 if test x"$enablestring" = xdisable; then
8837 defaultval=yes
8838 else
8839 defaultval=no
8840 fi
8841 fi
8842
8843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8845 # Check whether --enable-logdialog was given.
8846 if test "${enable_logdialog+set}" = set; then
8847 enableval=$enable_logdialog;
8848 if test "$enableval" = yes; then
8849 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8850 else
8851 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8852 fi
8853
8854 else
8855
8856 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8857
8858 fi
8859
8860
8861 eval "$wx_cv_use_logdialog"
8862
8863 if test x"$enablestring" = xdisable; then
8864 if test $wxUSE_LOGDIALOG = yes; then
8865 result=no
8866 else
8867 result=yes
8868 fi
8869 else
8870 result=$wxUSE_LOGDIALOG
8871 fi
8872
8873 { echo "$as_me:$LINENO: result: $result" >&5
8874 echo "${ECHO_T}$result" >&6; }
8875
8876
8877 enablestring=
8878 defaultval=$wxUSE_ALL_FEATURES
8879 if test -z "$defaultval"; then
8880 if test x"$enablestring" = xdisable; then
8881 defaultval=yes
8882 else
8883 defaultval=no
8884 fi
8885 fi
8886
8887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8889 # Check whether --enable-webkit was given.
8890 if test "${enable_webkit+set}" = set; then
8891 enableval=$enable_webkit;
8892 if test "$enableval" = yes; then
8893 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8894 else
8895 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8896 fi
8897
8898 else
8899
8900 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8901
8902 fi
8903
8904
8905 eval "$wx_cv_use_webkit"
8906
8907 if test x"$enablestring" = xdisable; then
8908 if test $wxUSE_WEBKIT = yes; then
8909 result=no
8910 else
8911 result=yes
8912 fi
8913 else
8914 result=$wxUSE_WEBKIT
8915 fi
8916
8917 { echo "$as_me:$LINENO: result: $result" >&5
8918 echo "${ECHO_T}$result" >&6; }
8919
8920
8921 enablestring=
8922 defaultval=$wxUSE_ALL_FEATURES
8923 if test -z "$defaultval"; then
8924 if test x"$enablestring" = xdisable; then
8925 defaultval=yes
8926 else
8927 defaultval=no
8928 fi
8929 fi
8930
8931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8932 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8933 # Check whether --enable-richtext was given.
8934 if test "${enable_richtext+set}" = set; then
8935 enableval=$enable_richtext;
8936 if test "$enableval" = yes; then
8937 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8938 else
8939 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8940 fi
8941
8942 else
8943
8944 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8945
8946 fi
8947
8948
8949 eval "$wx_cv_use_richtext"
8950
8951 if test x"$enablestring" = xdisable; then
8952 if test $wxUSE_RICHTEXT = yes; then
8953 result=no
8954 else
8955 result=yes
8956 fi
8957 else
8958 result=$wxUSE_RICHTEXT
8959 fi
8960
8961 { echo "$as_me:$LINENO: result: $result" >&5
8962 echo "${ECHO_T}$result" >&6; }
8963
8964
8965 enablestring=
8966 defaultval=$wxUSE_ALL_FEATURES
8967 if test -z "$defaultval"; then
8968 if test x"$enablestring" = xdisable; then
8969 defaultval=yes
8970 else
8971 defaultval=no
8972 fi
8973 fi
8974
8975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8976 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8977 # Check whether --enable-graphics_ctx was given.
8978 if test "${enable_graphics_ctx+set}" = set; then
8979 enableval=$enable_graphics_ctx;
8980 if test "$enableval" = yes; then
8981 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8982 else
8983 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8984 fi
8985
8986 else
8987
8988 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
8989
8990 fi
8991
8992
8993 eval "$wx_cv_use_graphics_ctx"
8994
8995 if test x"$enablestring" = xdisable; then
8996 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
8997 result=no
8998 else
8999 result=yes
9000 fi
9001 else
9002 result=$wxUSE_GRAPHICS_CONTEXT
9003 fi
9004
9005 { echo "$as_me:$LINENO: result: $result" >&5
9006 echo "${ECHO_T}$result" >&6; }
9007
9008
9009 enablestring=
9010 defaultval=$wxUSE_ALL_FEATURES
9011 if test -z "$defaultval"; then
9012 if test x"$enablestring" = xdisable; then
9013 defaultval=yes
9014 else
9015 defaultval=no
9016 fi
9017 fi
9018
9019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9021 # Check whether --enable-postscript was given.
9022 if test "${enable_postscript+set}" = set; then
9023 enableval=$enable_postscript;
9024 if test "$enableval" = yes; then
9025 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9026 else
9027 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9028 fi
9029
9030 else
9031
9032 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9033
9034 fi
9035
9036
9037 eval "$wx_cv_use_postscript"
9038
9039 if test x"$enablestring" = xdisable; then
9040 if test $wxUSE_POSTSCRIPT = yes; then
9041 result=no
9042 else
9043 result=yes
9044 fi
9045 else
9046 result=$wxUSE_POSTSCRIPT
9047 fi
9048
9049 { echo "$as_me:$LINENO: result: $result" >&5
9050 echo "${ECHO_T}$result" >&6; }
9051
9052
9053 enablestring=
9054 defaultval=$wxUSE_ALL_FEATURES
9055 if test -z "$defaultval"; then
9056 if test x"$enablestring" = xdisable; then
9057 defaultval=yes
9058 else
9059 defaultval=no
9060 fi
9061 fi
9062
9063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9064 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9065 # Check whether --enable-svg was given.
9066 if test "${enable_svg+set}" = set; then
9067 enableval=$enable_svg;
9068 if test "$enableval" = yes; then
9069 wx_cv_use_svg='wxUSE_SVG=yes'
9070 else
9071 wx_cv_use_svg='wxUSE_SVG=no'
9072 fi
9073
9074 else
9075
9076 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9077
9078 fi
9079
9080
9081 eval "$wx_cv_use_svg"
9082
9083 if test x"$enablestring" = xdisable; then
9084 if test $wxUSE_SVG = yes; then
9085 result=no
9086 else
9087 result=yes
9088 fi
9089 else
9090 result=$wxUSE_SVG
9091 fi
9092
9093 { echo "$as_me:$LINENO: result: $result" >&5
9094 echo "${ECHO_T}$result" >&6; }
9095
9096
9097
9098
9099 enablestring=
9100 defaultval=$wxUSE_ALL_FEATURES
9101 if test -z "$defaultval"; then
9102 if test x"$enablestring" = xdisable; then
9103 defaultval=yes
9104 else
9105 defaultval=no
9106 fi
9107 fi
9108
9109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9111 # Check whether --enable-clipboard was given.
9112 if test "${enable_clipboard+set}" = set; then
9113 enableval=$enable_clipboard;
9114 if test "$enableval" = yes; then
9115 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9116 else
9117 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9118 fi
9119
9120 else
9121
9122 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9123
9124 fi
9125
9126
9127 eval "$wx_cv_use_clipboard"
9128
9129 if test x"$enablestring" = xdisable; then
9130 if test $wxUSE_CLIPBOARD = yes; then
9131 result=no
9132 else
9133 result=yes
9134 fi
9135 else
9136 result=$wxUSE_CLIPBOARD
9137 fi
9138
9139 { echo "$as_me:$LINENO: result: $result" >&5
9140 echo "${ECHO_T}$result" >&6; }
9141
9142
9143 enablestring=
9144 defaultval=$wxUSE_ALL_FEATURES
9145 if test -z "$defaultval"; then
9146 if test x"$enablestring" = xdisable; then
9147 defaultval=yes
9148 else
9149 defaultval=no
9150 fi
9151 fi
9152
9153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9154 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9155 # Check whether --enable-dnd was given.
9156 if test "${enable_dnd+set}" = set; then
9157 enableval=$enable_dnd;
9158 if test "$enableval" = yes; then
9159 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9160 else
9161 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9162 fi
9163
9164 else
9165
9166 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9167
9168 fi
9169
9170
9171 eval "$wx_cv_use_dnd"
9172
9173 if test x"$enablestring" = xdisable; then
9174 if test $wxUSE_DRAG_AND_DROP = yes; then
9175 result=no
9176 else
9177 result=yes
9178 fi
9179 else
9180 result=$wxUSE_DRAG_AND_DROP
9181 fi
9182
9183 { echo "$as_me:$LINENO: result: $result" >&5
9184 echo "${ECHO_T}$result" >&6; }
9185
9186
9187 enablestring=
9188 defaultval=$wxUSE_ALL_FEATURES
9189 if test -z "$defaultval"; then
9190 if test x"$enablestring" = xdisable; then
9191 defaultval=yes
9192 else
9193 defaultval=no
9194 fi
9195 fi
9196
9197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9198 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9199 # Check whether --enable-metafile was given.
9200 if test "${enable_metafile+set}" = set; then
9201 enableval=$enable_metafile;
9202 if test "$enableval" = yes; then
9203 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9204 else
9205 wx_cv_use_metafile='wxUSE_METAFILE=no'
9206 fi
9207
9208 else
9209
9210 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9211
9212 fi
9213
9214
9215 eval "$wx_cv_use_metafile"
9216
9217 if test x"$enablestring" = xdisable; then
9218 if test $wxUSE_METAFILE = yes; then
9219 result=no
9220 else
9221 result=yes
9222 fi
9223 else
9224 result=$wxUSE_METAFILE
9225 fi
9226
9227 { echo "$as_me:$LINENO: result: $result" >&5
9228 echo "${ECHO_T}$result" >&6; }
9229
9230
9231
9232 DEFAULT_wxUSE_CONTROLS=none
9233
9234 enablestring=disable
9235 defaultval=
9236 if test -z "$defaultval"; then
9237 if test x"$enablestring" = xdisable; then
9238 defaultval=yes
9239 else
9240 defaultval=no
9241 fi
9242 fi
9243
9244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9245 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9246 # Check whether --enable-controls was given.
9247 if test "${enable_controls+set}" = set; then
9248 enableval=$enable_controls;
9249 if test "$enableval" = yes; then
9250 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9251 else
9252 wx_cv_use_controls='wxUSE_CONTROLS=no'
9253 fi
9254
9255 else
9256
9257 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9258
9259 fi
9260
9261
9262 eval "$wx_cv_use_controls"
9263
9264 if test x"$enablestring" = xdisable; then
9265 if test $wxUSE_CONTROLS = yes; then
9266 result=no
9267 else
9268 result=yes
9269 fi
9270 else
9271 result=$wxUSE_CONTROLS
9272 fi
9273
9274 { echo "$as_me:$LINENO: result: $result" >&5
9275 echo "${ECHO_T}$result" >&6; }
9276
9277
9278 if test "$wxUSE_CONTROLS" = "yes"; then
9279 DEFAULT_wxUSE_ACCEL=yes
9280 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9281 DEFAULT_wxUSE_BMPBUTTON=yes
9282 DEFAULT_wxUSE_BUTTON=yes
9283 DEFAULT_wxUSE_CALCTRL=yes
9284 DEFAULT_wxUSE_CARET=yes
9285 DEFAULT_wxUSE_COMBOBOX=yes
9286 DEFAULT_wxUSE_CHECKBOX=yes
9287 DEFAULT_wxUSE_CHECKLISTBOX=yes
9288 DEFAULT_wxUSE_CHOICE=yes
9289 DEFAULT_wxUSE_CHOICEBOOK=yes
9290 DEFAULT_wxUSE_COLLPANE=yes
9291 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9292 DEFAULT_wxUSE_COMBOBOX=yes
9293 DEFAULT_wxUSE_DATEPICKCTRL=yes
9294 DEFAULT_wxUSE_DISPLAY=yes
9295 DEFAULT_wxUSE_DETECT_SM=yes
9296 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9297 DEFAULT_wxUSE_FILECTRL=yes
9298 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9299 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9300 DEFAULT_wxUSE_GAUGE=yes
9301 DEFAULT_wxUSE_GRID=yes
9302 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9303 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9304 DEFAULT_wxUSE_IMAGLIST=yes
9305 DEFAULT_wxUSE_LISTBOOK=yes
9306 DEFAULT_wxUSE_LISTBOX=yes
9307 DEFAULT_wxUSE_LISTCTRL=yes
9308 DEFAULT_wxUSE_NOTEBOOK=yes
9309 DEFAULT_wxUSE_RADIOBOX=yes
9310 DEFAULT_wxUSE_RADIOBTN=yes
9311 DEFAULT_wxUSE_SASH=yes
9312 DEFAULT_wxUSE_SCROLLBAR=yes
9313 DEFAULT_wxUSE_SEARCHCTRL=yes
9314 DEFAULT_wxUSE_SLIDER=yes
9315 DEFAULT_wxUSE_SPINBTN=yes
9316 DEFAULT_wxUSE_SPINCTRL=yes
9317 DEFAULT_wxUSE_SPLITTER=yes
9318 DEFAULT_wxUSE_STATBMP=yes
9319 DEFAULT_wxUSE_STATBOX=yes
9320 DEFAULT_wxUSE_STATLINE=yes
9321 DEFAULT_wxUSE_STATUSBAR=yes
9322 DEFAULT_wxUSE_TAB_DIALOG=yes
9323 DEFAULT_wxUSE_TOGGLEBTN=yes
9324 DEFAULT_wxUSE_TOOLBAR=yes
9325 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9326 DEFAULT_wxUSE_TOOLTIPS=yes
9327 DEFAULT_wxUSE_TREEBOOK=yes
9328 DEFAULT_wxUSE_TOOLBOOK=yes
9329 DEFAULT_wxUSE_TREECTRL=yes
9330 DEFAULT_wxUSE_POPUPWIN=yes
9331 DEFAULT_wxUSE_TIPWINDOW=yes
9332 elif test "$wxUSE_CONTROLS" = "no"; then
9333 DEFAULT_wxUSE_ACCEL=no
9334 DEFAULT_wxUSE_ANIMATIONCTRL=no
9335 DEFAULT_wxUSE_BMPBUTTON=no
9336 DEFAULT_wxUSE_BUTTON=no
9337 DEFAULT_wxUSE_CALCTRL=no
9338 DEFAULT_wxUSE_CARET=no
9339 DEFAULT_wxUSE_COLLPANE=no
9340 DEFAULT_wxUSE_COMBOBOX=no
9341 DEFAULT_wxUSE_CHECKBOX=no
9342 DEFAULT_wxUSE_CHECKLISTBOX=no
9343 DEFAULT_wxUSE_CHOICE=no
9344 DEFAULT_wxUSE_CHOICEBOOK=no
9345 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9346 DEFAULT_wxUSE_COMBOBOX=no
9347 DEFAULT_wxUSE_DATEPICKCTRL=no
9348 DEFAULT_wxUSE_DISPLAY=no
9349 DEFAULT_wxUSE_DETECT_SM=no
9350 DEFAULT_wxUSE_DIRPICKERCTRL=no
9351 DEFAULT_wxUSE_FILECTRL=no
9352 DEFAULT_wxUSE_FILEPICKERCTRL=no
9353 DEFAULT_wxUSE_FONTPICKERCTRL=no
9354 DEFAULT_wxUSE_GAUGE=no
9355 DEFAULT_wxUSE_GRID=no
9356 DEFAULT_wxUSE_HYPERLINKCTRL=no
9357 DEFAULT_wxUSE_DATAVIEWCTRL=no
9358 DEFAULT_wxUSE_IMAGLIST=no
9359 DEFAULT_wxUSE_LISTBOOK=no
9360 DEFAULT_wxUSE_LISTBOX=no
9361 DEFAULT_wxUSE_LISTCTRL=no
9362 DEFAULT_wxUSE_NOTEBOOK=no
9363 DEFAULT_wxUSE_RADIOBOX=no
9364 DEFAULT_wxUSE_RADIOBTN=no
9365 DEFAULT_wxUSE_SASH=no
9366 DEFAULT_wxUSE_SCROLLBAR=no
9367 DEFAULT_wxUSE_SEARCHCTRL=no
9368 DEFAULT_wxUSE_SLIDER=no
9369 DEFAULT_wxUSE_SPINBTN=no
9370 DEFAULT_wxUSE_SPINCTRL=no
9371 DEFAULT_wxUSE_SPLITTER=no
9372 DEFAULT_wxUSE_STATBMP=no
9373 DEFAULT_wxUSE_STATBOX=no
9374 DEFAULT_wxUSE_STATLINE=no
9375 DEFAULT_wxUSE_STATUSBAR=no
9376 DEFAULT_wxUSE_TAB_DIALOG=no
9377 DEFAULT_wxUSE_TOGGLEBTN=no
9378 DEFAULT_wxUSE_TOOLBAR=no
9379 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9380 DEFAULT_wxUSE_TOOLTIPS=no
9381 DEFAULT_wxUSE_TREEBOOK=no
9382 DEFAULT_wxUSE_TOOLBOOK=no
9383 DEFAULT_wxUSE_TREECTRL=no
9384 DEFAULT_wxUSE_POPUPWIN=no
9385 DEFAULT_wxUSE_TIPWINDOW=no
9386 fi
9387
9388
9389 enablestring=
9390 defaultval=$wxUSE_ALL_FEATURES
9391 if test -z "$defaultval"; then
9392 if test x"$enablestring" = xdisable; then
9393 defaultval=yes
9394 else
9395 defaultval=no
9396 fi
9397 fi
9398
9399 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9400 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9401 # Check whether --enable-accel was given.
9402 if test "${enable_accel+set}" = set; then
9403 enableval=$enable_accel;
9404 if test "$enableval" = yes; then
9405 wx_cv_use_accel='wxUSE_ACCEL=yes'
9406 else
9407 wx_cv_use_accel='wxUSE_ACCEL=no'
9408 fi
9409
9410 else
9411
9412 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9413
9414 fi
9415
9416
9417 eval "$wx_cv_use_accel"
9418
9419 if test x"$enablestring" = xdisable; then
9420 if test $wxUSE_ACCEL = yes; then
9421 result=no
9422 else
9423 result=yes
9424 fi
9425 else
9426 result=$wxUSE_ACCEL
9427 fi
9428
9429 { echo "$as_me:$LINENO: result: $result" >&5
9430 echo "${ECHO_T}$result" >&6; }
9431
9432
9433 enablestring=
9434 defaultval=$wxUSE_ALL_FEATURES
9435 if test -z "$defaultval"; then
9436 if test x"$enablestring" = xdisable; then
9437 defaultval=yes
9438 else
9439 defaultval=no
9440 fi
9441 fi
9442
9443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9444 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9445 # Check whether --enable-animatectrl was given.
9446 if test "${enable_animatectrl+set}" = set; then
9447 enableval=$enable_animatectrl;
9448 if test "$enableval" = yes; then
9449 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9450 else
9451 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9452 fi
9453
9454 else
9455
9456 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9457
9458 fi
9459
9460
9461 eval "$wx_cv_use_animatectrl"
9462
9463 if test x"$enablestring" = xdisable; then
9464 if test $wxUSE_ANIMATIONCTRL = yes; then
9465 result=no
9466 else
9467 result=yes
9468 fi
9469 else
9470 result=$wxUSE_ANIMATIONCTRL
9471 fi
9472
9473 { echo "$as_me:$LINENO: result: $result" >&5
9474 echo "${ECHO_T}$result" >&6; }
9475
9476
9477 enablestring=
9478 defaultval=$wxUSE_ALL_FEATURES
9479 if test -z "$defaultval"; then
9480 if test x"$enablestring" = xdisable; then
9481 defaultval=yes
9482 else
9483 defaultval=no
9484 fi
9485 fi
9486
9487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9488 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9489 # Check whether --enable-button was given.
9490 if test "${enable_button+set}" = set; then
9491 enableval=$enable_button;
9492 if test "$enableval" = yes; then
9493 wx_cv_use_button='wxUSE_BUTTON=yes'
9494 else
9495 wx_cv_use_button='wxUSE_BUTTON=no'
9496 fi
9497
9498 else
9499
9500 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9501
9502 fi
9503
9504
9505 eval "$wx_cv_use_button"
9506
9507 if test x"$enablestring" = xdisable; then
9508 if test $wxUSE_BUTTON = yes; then
9509 result=no
9510 else
9511 result=yes
9512 fi
9513 else
9514 result=$wxUSE_BUTTON
9515 fi
9516
9517 { echo "$as_me:$LINENO: result: $result" >&5
9518 echo "${ECHO_T}$result" >&6; }
9519
9520
9521 enablestring=
9522 defaultval=$wxUSE_ALL_FEATURES
9523 if test -z "$defaultval"; then
9524 if test x"$enablestring" = xdisable; then
9525 defaultval=yes
9526 else
9527 defaultval=no
9528 fi
9529 fi
9530
9531 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9532 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9533 # Check whether --enable-bmpbutton was given.
9534 if test "${enable_bmpbutton+set}" = set; then
9535 enableval=$enable_bmpbutton;
9536 if test "$enableval" = yes; then
9537 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9538 else
9539 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9540 fi
9541
9542 else
9543
9544 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9545
9546 fi
9547
9548
9549 eval "$wx_cv_use_bmpbutton"
9550
9551 if test x"$enablestring" = xdisable; then
9552 if test $wxUSE_BMPBUTTON = yes; then
9553 result=no
9554 else
9555 result=yes
9556 fi
9557 else
9558 result=$wxUSE_BMPBUTTON
9559 fi
9560
9561 { echo "$as_me:$LINENO: result: $result" >&5
9562 echo "${ECHO_T}$result" >&6; }
9563
9564
9565 enablestring=
9566 defaultval=$wxUSE_ALL_FEATURES
9567 if test -z "$defaultval"; then
9568 if test x"$enablestring" = xdisable; then
9569 defaultval=yes
9570 else
9571 defaultval=no
9572 fi
9573 fi
9574
9575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9576 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9577 # Check whether --enable-bmpcombobox was given.
9578 if test "${enable_bmpcombobox+set}" = set; then
9579 enableval=$enable_bmpcombobox;
9580 if test "$enableval" = yes; then
9581 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9582 else
9583 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9584 fi
9585
9586 else
9587
9588 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9589
9590 fi
9591
9592
9593 eval "$wx_cv_use_bmpcombobox"
9594
9595 if test x"$enablestring" = xdisable; then
9596 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9597 result=no
9598 else
9599 result=yes
9600 fi
9601 else
9602 result=$wxUSE_BITMAPCOMBOBOX
9603 fi
9604
9605 { echo "$as_me:$LINENO: result: $result" >&5
9606 echo "${ECHO_T}$result" >&6; }
9607
9608
9609 enablestring=
9610 defaultval=$wxUSE_ALL_FEATURES
9611 if test -z "$defaultval"; then
9612 if test x"$enablestring" = xdisable; then
9613 defaultval=yes
9614 else
9615 defaultval=no
9616 fi
9617 fi
9618
9619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9620 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9621 # Check whether --enable-calendar was given.
9622 if test "${enable_calendar+set}" = set; then
9623 enableval=$enable_calendar;
9624 if test "$enableval" = yes; then
9625 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9626 else
9627 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9628 fi
9629
9630 else
9631
9632 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9633
9634 fi
9635
9636
9637 eval "$wx_cv_use_calendar"
9638
9639 if test x"$enablestring" = xdisable; then
9640 if test $wxUSE_CALCTRL = yes; then
9641 result=no
9642 else
9643 result=yes
9644 fi
9645 else
9646 result=$wxUSE_CALCTRL
9647 fi
9648
9649 { echo "$as_me:$LINENO: result: $result" >&5
9650 echo "${ECHO_T}$result" >&6; }
9651
9652
9653 enablestring=
9654 defaultval=$wxUSE_ALL_FEATURES
9655 if test -z "$defaultval"; then
9656 if test x"$enablestring" = xdisable; then
9657 defaultval=yes
9658 else
9659 defaultval=no
9660 fi
9661 fi
9662
9663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9664 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9665 # Check whether --enable-caret was given.
9666 if test "${enable_caret+set}" = set; then
9667 enableval=$enable_caret;
9668 if test "$enableval" = yes; then
9669 wx_cv_use_caret='wxUSE_CARET=yes'
9670 else
9671 wx_cv_use_caret='wxUSE_CARET=no'
9672 fi
9673
9674 else
9675
9676 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9677
9678 fi
9679
9680
9681 eval "$wx_cv_use_caret"
9682
9683 if test x"$enablestring" = xdisable; then
9684 if test $wxUSE_CARET = yes; then
9685 result=no
9686 else
9687 result=yes
9688 fi
9689 else
9690 result=$wxUSE_CARET
9691 fi
9692
9693 { echo "$as_me:$LINENO: result: $result" >&5
9694 echo "${ECHO_T}$result" >&6; }
9695
9696
9697 enablestring=
9698 defaultval=$wxUSE_ALL_FEATURES
9699 if test -z "$defaultval"; then
9700 if test x"$enablestring" = xdisable; then
9701 defaultval=yes
9702 else
9703 defaultval=no
9704 fi
9705 fi
9706
9707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9708 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9709 # Check whether --enable-checkbox was given.
9710 if test "${enable_checkbox+set}" = set; then
9711 enableval=$enable_checkbox;
9712 if test "$enableval" = yes; then
9713 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9714 else
9715 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9716 fi
9717
9718 else
9719
9720 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9721
9722 fi
9723
9724
9725 eval "$wx_cv_use_checkbox"
9726
9727 if test x"$enablestring" = xdisable; then
9728 if test $wxUSE_CHECKBOX = yes; then
9729 result=no
9730 else
9731 result=yes
9732 fi
9733 else
9734 result=$wxUSE_CHECKBOX
9735 fi
9736
9737 { echo "$as_me:$LINENO: result: $result" >&5
9738 echo "${ECHO_T}$result" >&6; }
9739
9740
9741 enablestring=
9742 defaultval=$wxUSE_ALL_FEATURES
9743 if test -z "$defaultval"; then
9744 if test x"$enablestring" = xdisable; then
9745 defaultval=yes
9746 else
9747 defaultval=no
9748 fi
9749 fi
9750
9751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9752 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9753 # Check whether --enable-checklst was given.
9754 if test "${enable_checklst+set}" = set; then
9755 enableval=$enable_checklst;
9756 if test "$enableval" = yes; then
9757 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9758 else
9759 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9760 fi
9761
9762 else
9763
9764 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9765
9766 fi
9767
9768
9769 eval "$wx_cv_use_checklst"
9770
9771 if test x"$enablestring" = xdisable; then
9772 if test $wxUSE_CHECKLST = yes; then
9773 result=no
9774 else
9775 result=yes
9776 fi
9777 else
9778 result=$wxUSE_CHECKLST
9779 fi
9780
9781 { echo "$as_me:$LINENO: result: $result" >&5
9782 echo "${ECHO_T}$result" >&6; }
9783
9784
9785 enablestring=
9786 defaultval=$wxUSE_ALL_FEATURES
9787 if test -z "$defaultval"; then
9788 if test x"$enablestring" = xdisable; then
9789 defaultval=yes
9790 else
9791 defaultval=no
9792 fi
9793 fi
9794
9795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9796 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9797 # Check whether --enable-choice was given.
9798 if test "${enable_choice+set}" = set; then
9799 enableval=$enable_choice;
9800 if test "$enableval" = yes; then
9801 wx_cv_use_choice='wxUSE_CHOICE=yes'
9802 else
9803 wx_cv_use_choice='wxUSE_CHOICE=no'
9804 fi
9805
9806 else
9807
9808 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9809
9810 fi
9811
9812
9813 eval "$wx_cv_use_choice"
9814
9815 if test x"$enablestring" = xdisable; then
9816 if test $wxUSE_CHOICE = yes; then
9817 result=no
9818 else
9819 result=yes
9820 fi
9821 else
9822 result=$wxUSE_CHOICE
9823 fi
9824
9825 { echo "$as_me:$LINENO: result: $result" >&5
9826 echo "${ECHO_T}$result" >&6; }
9827
9828
9829 enablestring=
9830 defaultval=$wxUSE_ALL_FEATURES
9831 if test -z "$defaultval"; then
9832 if test x"$enablestring" = xdisable; then
9833 defaultval=yes
9834 else
9835 defaultval=no
9836 fi
9837 fi
9838
9839 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9841 # Check whether --enable-choicebook was given.
9842 if test "${enable_choicebook+set}" = set; then
9843 enableval=$enable_choicebook;
9844 if test "$enableval" = yes; then
9845 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9846 else
9847 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9848 fi
9849
9850 else
9851
9852 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9853
9854 fi
9855
9856
9857 eval "$wx_cv_use_choicebook"
9858
9859 if test x"$enablestring" = xdisable; then
9860 if test $wxUSE_CHOICEBOOK = yes; then
9861 result=no
9862 else
9863 result=yes
9864 fi
9865 else
9866 result=$wxUSE_CHOICEBOOK
9867 fi
9868
9869 { echo "$as_me:$LINENO: result: $result" >&5
9870 echo "${ECHO_T}$result" >&6; }
9871
9872
9873 enablestring=
9874 defaultval=$wxUSE_ALL_FEATURES
9875 if test -z "$defaultval"; then
9876 if test x"$enablestring" = xdisable; then
9877 defaultval=yes
9878 else
9879 defaultval=no
9880 fi
9881 fi
9882
9883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9884 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9885 # Check whether --enable-collpane was given.
9886 if test "${enable_collpane+set}" = set; then
9887 enableval=$enable_collpane;
9888 if test "$enableval" = yes; then
9889 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9890 else
9891 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9892 fi
9893
9894 else
9895
9896 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9897
9898 fi
9899
9900
9901 eval "$wx_cv_use_collpane"
9902
9903 if test x"$enablestring" = xdisable; then
9904 if test $wxUSE_COLLPANE = yes; then
9905 result=no
9906 else
9907 result=yes
9908 fi
9909 else
9910 result=$wxUSE_COLLPANE
9911 fi
9912
9913 { echo "$as_me:$LINENO: result: $result" >&5
9914 echo "${ECHO_T}$result" >&6; }
9915
9916
9917 enablestring=
9918 defaultval=$wxUSE_ALL_FEATURES
9919 if test -z "$defaultval"; then
9920 if test x"$enablestring" = xdisable; then
9921 defaultval=yes
9922 else
9923 defaultval=no
9924 fi
9925 fi
9926
9927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9928 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9929 # Check whether --enable-colourpicker was given.
9930 if test "${enable_colourpicker+set}" = set; then
9931 enableval=$enable_colourpicker;
9932 if test "$enableval" = yes; then
9933 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9934 else
9935 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9936 fi
9937
9938 else
9939
9940 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9941
9942 fi
9943
9944
9945 eval "$wx_cv_use_colourpicker"
9946
9947 if test x"$enablestring" = xdisable; then
9948 if test $wxUSE_COLOURPICKERCTRL = yes; then
9949 result=no
9950 else
9951 result=yes
9952 fi
9953 else
9954 result=$wxUSE_COLOURPICKERCTRL
9955 fi
9956
9957 { echo "$as_me:$LINENO: result: $result" >&5
9958 echo "${ECHO_T}$result" >&6; }
9959
9960
9961 enablestring=
9962 defaultval=$wxUSE_ALL_FEATURES
9963 if test -z "$defaultval"; then
9964 if test x"$enablestring" = xdisable; then
9965 defaultval=yes
9966 else
9967 defaultval=no
9968 fi
9969 fi
9970
9971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9972 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9973 # Check whether --enable-combobox was given.
9974 if test "${enable_combobox+set}" = set; then
9975 enableval=$enable_combobox;
9976 if test "$enableval" = yes; then
9977 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
9978 else
9979 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
9980 fi
9981
9982 else
9983
9984 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
9985
9986 fi
9987
9988
9989 eval "$wx_cv_use_combobox"
9990
9991 if test x"$enablestring" = xdisable; then
9992 if test $wxUSE_COMBOBOX = yes; then
9993 result=no
9994 else
9995 result=yes
9996 fi
9997 else
9998 result=$wxUSE_COMBOBOX
9999 fi
10000
10001 { echo "$as_me:$LINENO: result: $result" >&5
10002 echo "${ECHO_T}$result" >&6; }
10003
10004
10005 enablestring=
10006 defaultval=$wxUSE_ALL_FEATURES
10007 if test -z "$defaultval"; then
10008 if test x"$enablestring" = xdisable; then
10009 defaultval=yes
10010 else
10011 defaultval=no
10012 fi
10013 fi
10014
10015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10016 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10017 # Check whether --enable-comboctrl was given.
10018 if test "${enable_comboctrl+set}" = set; then
10019 enableval=$enable_comboctrl;
10020 if test "$enableval" = yes; then
10021 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10022 else
10023 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10024 fi
10025
10026 else
10027
10028 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10029
10030 fi
10031
10032
10033 eval "$wx_cv_use_comboctrl"
10034
10035 if test x"$enablestring" = xdisable; then
10036 if test $wxUSE_COMBOCTRL = yes; then
10037 result=no
10038 else
10039 result=yes
10040 fi
10041 else
10042 result=$wxUSE_COMBOCTRL
10043 fi
10044
10045 { echo "$as_me:$LINENO: result: $result" >&5
10046 echo "${ECHO_T}$result" >&6; }
10047
10048
10049 enablestring=
10050 defaultval=$wxUSE_ALL_FEATURES
10051 if test -z "$defaultval"; then
10052 if test x"$enablestring" = xdisable; then
10053 defaultval=yes
10054 else
10055 defaultval=no
10056 fi
10057 fi
10058
10059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10060 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10061 # Check whether --enable-datepick was given.
10062 if test "${enable_datepick+set}" = set; then
10063 enableval=$enable_datepick;
10064 if test "$enableval" = yes; then
10065 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10066 else
10067 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10068 fi
10069
10070 else
10071
10072 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10073
10074 fi
10075
10076
10077 eval "$wx_cv_use_datepick"
10078
10079 if test x"$enablestring" = xdisable; then
10080 if test $wxUSE_DATEPICKCTRL = yes; then
10081 result=no
10082 else
10083 result=yes
10084 fi
10085 else
10086 result=$wxUSE_DATEPICKCTRL
10087 fi
10088
10089 { echo "$as_me:$LINENO: result: $result" >&5
10090 echo "${ECHO_T}$result" >&6; }
10091
10092
10093 enablestring=
10094 defaultval=$wxUSE_ALL_FEATURES
10095 if test -z "$defaultval"; then
10096 if test x"$enablestring" = xdisable; then
10097 defaultval=yes
10098 else
10099 defaultval=no
10100 fi
10101 fi
10102
10103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10105 # Check whether --enable-dirpicker was given.
10106 if test "${enable_dirpicker+set}" = set; then
10107 enableval=$enable_dirpicker;
10108 if test "$enableval" = yes; then
10109 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10110 else
10111 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10112 fi
10113
10114 else
10115
10116 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10117
10118 fi
10119
10120
10121 eval "$wx_cv_use_dirpicker"
10122
10123 if test x"$enablestring" = xdisable; then
10124 if test $wxUSE_DIRPICKERCTRL = yes; then
10125 result=no
10126 else
10127 result=yes
10128 fi
10129 else
10130 result=$wxUSE_DIRPICKERCTRL
10131 fi
10132
10133 { echo "$as_me:$LINENO: result: $result" >&5
10134 echo "${ECHO_T}$result" >&6; }
10135
10136
10137 enablestring=
10138 defaultval=$wxUSE_ALL_FEATURES
10139 if test -z "$defaultval"; then
10140 if test x"$enablestring" = xdisable; then
10141 defaultval=yes
10142 else
10143 defaultval=no
10144 fi
10145 fi
10146
10147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10149 # Check whether --enable-display was given.
10150 if test "${enable_display+set}" = set; then
10151 enableval=$enable_display;
10152 if test "$enableval" = yes; then
10153 wx_cv_use_display='wxUSE_DISPLAY=yes'
10154 else
10155 wx_cv_use_display='wxUSE_DISPLAY=no'
10156 fi
10157
10158 else
10159
10160 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10161
10162 fi
10163
10164
10165 eval "$wx_cv_use_display"
10166
10167 if test x"$enablestring" = xdisable; then
10168 if test $wxUSE_DISPLAY = yes; then
10169 result=no
10170 else
10171 result=yes
10172 fi
10173 else
10174 result=$wxUSE_DISPLAY
10175 fi
10176
10177 { echo "$as_me:$LINENO: result: $result" >&5
10178 echo "${ECHO_T}$result" >&6; }
10179
10180
10181 enablestring=
10182 defaultval=$wxUSE_ALL_FEATURES
10183 if test -z "$defaultval"; then
10184 if test x"$enablestring" = xdisable; then
10185 defaultval=yes
10186 else
10187 defaultval=no
10188 fi
10189 fi
10190
10191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10192 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10193 # Check whether --enable-detect_sm was given.
10194 if test "${enable_detect_sm+set}" = set; then
10195 enableval=$enable_detect_sm;
10196 if test "$enableval" = yes; then
10197 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10198 else
10199 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10200 fi
10201
10202 else
10203
10204 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10205
10206 fi
10207
10208
10209 eval "$wx_cv_use_detect_sm"
10210
10211 if test x"$enablestring" = xdisable; then
10212 if test $wxUSE_DETECT_SM = yes; then
10213 result=no
10214 else
10215 result=yes
10216 fi
10217 else
10218 result=$wxUSE_DETECT_SM
10219 fi
10220
10221 { echo "$as_me:$LINENO: result: $result" >&5
10222 echo "${ECHO_T}$result" >&6; }
10223
10224
10225 enablestring=
10226 defaultval=$wxUSE_ALL_FEATURES
10227 if test -z "$defaultval"; then
10228 if test x"$enablestring" = xdisable; then
10229 defaultval=yes
10230 else
10231 defaultval=no
10232 fi
10233 fi
10234
10235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10237 # Check whether --enable-editablebox was given.
10238 if test "${enable_editablebox+set}" = set; then
10239 enableval=$enable_editablebox;
10240 if test "$enableval" = yes; then
10241 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10242 else
10243 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10244 fi
10245
10246 else
10247
10248 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10249
10250 fi
10251
10252
10253 eval "$wx_cv_use_editablebox"
10254
10255 if test x"$enablestring" = xdisable; then
10256 if test $wxUSE_EDITABLELISTBOX = yes; then
10257 result=no
10258 else
10259 result=yes
10260 fi
10261 else
10262 result=$wxUSE_EDITABLELISTBOX
10263 fi
10264
10265 { echo "$as_me:$LINENO: result: $result" >&5
10266 echo "${ECHO_T}$result" >&6; }
10267
10268
10269 enablestring=
10270 defaultval=$wxUSE_ALL_FEATURES
10271 if test -z "$defaultval"; then
10272 if test x"$enablestring" = xdisable; then
10273 defaultval=yes
10274 else
10275 defaultval=no
10276 fi
10277 fi
10278
10279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10280 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10281 # Check whether --enable-filepicker was given.
10282 if test "${enable_filepicker+set}" = set; then
10283 enableval=$enable_filepicker;
10284 if test "$enableval" = yes; then
10285 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10286 else
10287 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10288 fi
10289
10290 else
10291
10292 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10293
10294 fi
10295
10296
10297 eval "$wx_cv_use_filepicker"
10298
10299 if test x"$enablestring" = xdisable; then
10300 if test $wxUSE_FILEPICKERCTRL = yes; then
10301 result=no
10302 else
10303 result=yes
10304 fi
10305 else
10306 result=$wxUSE_FILEPICKERCTRL
10307 fi
10308
10309 { echo "$as_me:$LINENO: result: $result" >&5
10310 echo "${ECHO_T}$result" >&6; }
10311
10312
10313 enablestring=
10314 defaultval=$wxUSE_ALL_FEATURES
10315 if test -z "$defaultval"; then
10316 if test x"$enablestring" = xdisable; then
10317 defaultval=yes
10318 else
10319 defaultval=no
10320 fi
10321 fi
10322
10323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10324 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10325 # Check whether --enable-filectrl was given.
10326 if test "${enable_filectrl+set}" = set; then
10327 enableval=$enable_filectrl;
10328 if test "$enableval" = yes; then
10329 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10330 else
10331 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10332 fi
10333
10334 else
10335
10336 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10337
10338 fi
10339
10340
10341 eval "$wx_cv_use_filectrl"
10342
10343 if test x"$enablestring" = xdisable; then
10344 if test $wxUSE_FILECTRL = yes; then
10345 result=no
10346 else
10347 result=yes
10348 fi
10349 else
10350 result=$wxUSE_FILECTRL
10351 fi
10352
10353 { echo "$as_me:$LINENO: result: $result" >&5
10354 echo "${ECHO_T}$result" >&6; }
10355
10356
10357 enablestring=
10358 defaultval=$wxUSE_ALL_FEATURES
10359 if test -z "$defaultval"; then
10360 if test x"$enablestring" = xdisable; then
10361 defaultval=yes
10362 else
10363 defaultval=no
10364 fi
10365 fi
10366
10367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10368 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10369 # Check whether --enable-fontpicker was given.
10370 if test "${enable_fontpicker+set}" = set; then
10371 enableval=$enable_fontpicker;
10372 if test "$enableval" = yes; then
10373 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10374 else
10375 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10376 fi
10377
10378 else
10379
10380 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10381
10382 fi
10383
10384
10385 eval "$wx_cv_use_fontpicker"
10386
10387 if test x"$enablestring" = xdisable; then
10388 if test $wxUSE_FONTPICKERCTRL = yes; then
10389 result=no
10390 else
10391 result=yes
10392 fi
10393 else
10394 result=$wxUSE_FONTPICKERCTRL
10395 fi
10396
10397 { echo "$as_me:$LINENO: result: $result" >&5
10398 echo "${ECHO_T}$result" >&6; }
10399
10400
10401 enablestring=
10402 defaultval=$wxUSE_ALL_FEATURES
10403 if test -z "$defaultval"; then
10404 if test x"$enablestring" = xdisable; then
10405 defaultval=yes
10406 else
10407 defaultval=no
10408 fi
10409 fi
10410
10411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10412 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10413 # Check whether --enable-gauge was given.
10414 if test "${enable_gauge+set}" = set; then
10415 enableval=$enable_gauge;
10416 if test "$enableval" = yes; then
10417 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10418 else
10419 wx_cv_use_gauge='wxUSE_GAUGE=no'
10420 fi
10421
10422 else
10423
10424 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10425
10426 fi
10427
10428
10429 eval "$wx_cv_use_gauge"
10430
10431 if test x"$enablestring" = xdisable; then
10432 if test $wxUSE_GAUGE = yes; then
10433 result=no
10434 else
10435 result=yes
10436 fi
10437 else
10438 result=$wxUSE_GAUGE
10439 fi
10440
10441 { echo "$as_me:$LINENO: result: $result" >&5
10442 echo "${ECHO_T}$result" >&6; }
10443
10444
10445 enablestring=
10446 defaultval=$wxUSE_ALL_FEATURES
10447 if test -z "$defaultval"; then
10448 if test x"$enablestring" = xdisable; then
10449 defaultval=yes
10450 else
10451 defaultval=no
10452 fi
10453 fi
10454
10455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10456 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10457 # Check whether --enable-grid was given.
10458 if test "${enable_grid+set}" = set; then
10459 enableval=$enable_grid;
10460 if test "$enableval" = yes; then
10461 wx_cv_use_grid='wxUSE_GRID=yes'
10462 else
10463 wx_cv_use_grid='wxUSE_GRID=no'
10464 fi
10465
10466 else
10467
10468 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10469
10470 fi
10471
10472
10473 eval "$wx_cv_use_grid"
10474
10475 if test x"$enablestring" = xdisable; then
10476 if test $wxUSE_GRID = yes; then
10477 result=no
10478 else
10479 result=yes
10480 fi
10481 else
10482 result=$wxUSE_GRID
10483 fi
10484
10485 { echo "$as_me:$LINENO: result: $result" >&5
10486 echo "${ECHO_T}$result" >&6; }
10487
10488
10489 enablestring=
10490 defaultval=$wxUSE_ALL_FEATURES
10491 if test -z "$defaultval"; then
10492 if test x"$enablestring" = xdisable; then
10493 defaultval=yes
10494 else
10495 defaultval=no
10496 fi
10497 fi
10498
10499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10500 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10501 # Check whether --enable-dataviewctrl was given.
10502 if test "${enable_dataviewctrl+set}" = set; then
10503 enableval=$enable_dataviewctrl;
10504 if test "$enableval" = yes; then
10505 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10506 else
10507 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10508 fi
10509
10510 else
10511
10512 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10513
10514 fi
10515
10516
10517 eval "$wx_cv_use_dataviewctrl"
10518
10519 if test x"$enablestring" = xdisable; then
10520 if test $wxUSE_DATAVIEWCTRL = yes; then
10521 result=no
10522 else
10523 result=yes
10524 fi
10525 else
10526 result=$wxUSE_DATAVIEWCTRL
10527 fi
10528
10529 { echo "$as_me:$LINENO: result: $result" >&5
10530 echo "${ECHO_T}$result" >&6; }
10531
10532
10533 enablestring=
10534 defaultval=$wxUSE_ALL_FEATURES
10535 if test -z "$defaultval"; then
10536 if test x"$enablestring" = xdisable; then
10537 defaultval=yes
10538 else
10539 defaultval=no
10540 fi
10541 fi
10542
10543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10545 # Check whether --enable-hyperlink was given.
10546 if test "${enable_hyperlink+set}" = set; then
10547 enableval=$enable_hyperlink;
10548 if test "$enableval" = yes; then
10549 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10550 else
10551 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10552 fi
10553
10554 else
10555
10556 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10557
10558 fi
10559
10560
10561 eval "$wx_cv_use_hyperlink"
10562
10563 if test x"$enablestring" = xdisable; then
10564 if test $wxUSE_HYPERLINKCTRL = yes; then
10565 result=no
10566 else
10567 result=yes
10568 fi
10569 else
10570 result=$wxUSE_HYPERLINKCTRL
10571 fi
10572
10573 { echo "$as_me:$LINENO: result: $result" >&5
10574 echo "${ECHO_T}$result" >&6; }
10575
10576
10577 enablestring=
10578 defaultval=$wxUSE_ALL_FEATURES
10579 if test -z "$defaultval"; then
10580 if test x"$enablestring" = xdisable; then
10581 defaultval=yes
10582 else
10583 defaultval=no
10584 fi
10585 fi
10586
10587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10588 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10589 # Check whether --enable-imaglist was given.
10590 if test "${enable_imaglist+set}" = set; then
10591 enableval=$enable_imaglist;
10592 if test "$enableval" = yes; then
10593 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10594 else
10595 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10596 fi
10597
10598 else
10599
10600 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10601
10602 fi
10603
10604
10605 eval "$wx_cv_use_imaglist"
10606
10607 if test x"$enablestring" = xdisable; then
10608 if test $wxUSE_IMAGLIST = yes; then
10609 result=no
10610 else
10611 result=yes
10612 fi
10613 else
10614 result=$wxUSE_IMAGLIST
10615 fi
10616
10617 { echo "$as_me:$LINENO: result: $result" >&5
10618 echo "${ECHO_T}$result" >&6; }
10619
10620
10621 enablestring=
10622 defaultval=$wxUSE_ALL_FEATURES
10623 if test -z "$defaultval"; then
10624 if test x"$enablestring" = xdisable; then
10625 defaultval=yes
10626 else
10627 defaultval=no
10628 fi
10629 fi
10630
10631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10632 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10633 # Check whether --enable-listbook was given.
10634 if test "${enable_listbook+set}" = set; then
10635 enableval=$enable_listbook;
10636 if test "$enableval" = yes; then
10637 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10638 else
10639 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10640 fi
10641
10642 else
10643
10644 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10645
10646 fi
10647
10648
10649 eval "$wx_cv_use_listbook"
10650
10651 if test x"$enablestring" = xdisable; then
10652 if test $wxUSE_LISTBOOK = yes; then
10653 result=no
10654 else
10655 result=yes
10656 fi
10657 else
10658 result=$wxUSE_LISTBOOK
10659 fi
10660
10661 { echo "$as_me:$LINENO: result: $result" >&5
10662 echo "${ECHO_T}$result" >&6; }
10663
10664
10665 enablestring=
10666 defaultval=$wxUSE_ALL_FEATURES
10667 if test -z "$defaultval"; then
10668 if test x"$enablestring" = xdisable; then
10669 defaultval=yes
10670 else
10671 defaultval=no
10672 fi
10673 fi
10674
10675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10676 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10677 # Check whether --enable-listbox was given.
10678 if test "${enable_listbox+set}" = set; then
10679 enableval=$enable_listbox;
10680 if test "$enableval" = yes; then
10681 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10682 else
10683 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10684 fi
10685
10686 else
10687
10688 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10689
10690 fi
10691
10692
10693 eval "$wx_cv_use_listbox"
10694
10695 if test x"$enablestring" = xdisable; then
10696 if test $wxUSE_LISTBOX = yes; then
10697 result=no
10698 else
10699 result=yes
10700 fi
10701 else
10702 result=$wxUSE_LISTBOX
10703 fi
10704
10705 { echo "$as_me:$LINENO: result: $result" >&5
10706 echo "${ECHO_T}$result" >&6; }
10707
10708
10709 enablestring=
10710 defaultval=$wxUSE_ALL_FEATURES
10711 if test -z "$defaultval"; then
10712 if test x"$enablestring" = xdisable; then
10713 defaultval=yes
10714 else
10715 defaultval=no
10716 fi
10717 fi
10718
10719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10720 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10721 # Check whether --enable-listctrl was given.
10722 if test "${enable_listctrl+set}" = set; then
10723 enableval=$enable_listctrl;
10724 if test "$enableval" = yes; then
10725 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10726 else
10727 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10728 fi
10729
10730 else
10731
10732 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10733
10734 fi
10735
10736
10737 eval "$wx_cv_use_listctrl"
10738
10739 if test x"$enablestring" = xdisable; then
10740 if test $wxUSE_LISTCTRL = yes; then
10741 result=no
10742 else
10743 result=yes
10744 fi
10745 else
10746 result=$wxUSE_LISTCTRL
10747 fi
10748
10749 { echo "$as_me:$LINENO: result: $result" >&5
10750 echo "${ECHO_T}$result" >&6; }
10751
10752
10753 enablestring=
10754 defaultval=$wxUSE_ALL_FEATURES
10755 if test -z "$defaultval"; then
10756 if test x"$enablestring" = xdisable; then
10757 defaultval=yes
10758 else
10759 defaultval=no
10760 fi
10761 fi
10762
10763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10764 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10765 # Check whether --enable-notebook was given.
10766 if test "${enable_notebook+set}" = set; then
10767 enableval=$enable_notebook;
10768 if test "$enableval" = yes; then
10769 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10770 else
10771 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10772 fi
10773
10774 else
10775
10776 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10777
10778 fi
10779
10780
10781 eval "$wx_cv_use_notebook"
10782
10783 if test x"$enablestring" = xdisable; then
10784 if test $wxUSE_NOTEBOOK = yes; then
10785 result=no
10786 else
10787 result=yes
10788 fi
10789 else
10790 result=$wxUSE_NOTEBOOK
10791 fi
10792
10793 { echo "$as_me:$LINENO: result: $result" >&5
10794 echo "${ECHO_T}$result" >&6; }
10795
10796
10797 enablestring=
10798 defaultval=$wxUSE_ALL_FEATURES
10799 if test -z "$defaultval"; then
10800 if test x"$enablestring" = xdisable; then
10801 defaultval=yes
10802 else
10803 defaultval=no
10804 fi
10805 fi
10806
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10809 # Check whether --enable-notifmsg was given.
10810 if test "${enable_notifmsg+set}" = set; then
10811 enableval=$enable_notifmsg;
10812 if test "$enableval" = yes; then
10813 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10814 else
10815 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10816 fi
10817
10818 else
10819
10820 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10821
10822 fi
10823
10824
10825 eval "$wx_cv_use_notifmsg"
10826
10827 if test x"$enablestring" = xdisable; then
10828 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10829 result=no
10830 else
10831 result=yes
10832 fi
10833 else
10834 result=$wxUSE_NOTIFICATION_MESSAGE
10835 fi
10836
10837 { echo "$as_me:$LINENO: result: $result" >&5
10838 echo "${ECHO_T}$result" >&6; }
10839
10840
10841 enablestring=
10842 defaultval=$wxUSE_ALL_FEATURES
10843 if test -z "$defaultval"; then
10844 if test x"$enablestring" = xdisable; then
10845 defaultval=yes
10846 else
10847 defaultval=no
10848 fi
10849 fi
10850
10851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10852 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10853 # Check whether --enable-odcombobox was given.
10854 if test "${enable_odcombobox+set}" = set; then
10855 enableval=$enable_odcombobox;
10856 if test "$enableval" = yes; then
10857 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10858 else
10859 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10860 fi
10861
10862 else
10863
10864 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10865
10866 fi
10867
10868
10869 eval "$wx_cv_use_odcombobox"
10870
10871 if test x"$enablestring" = xdisable; then
10872 if test $wxUSE_ODCOMBOBOX = yes; then
10873 result=no
10874 else
10875 result=yes
10876 fi
10877 else
10878 result=$wxUSE_ODCOMBOBOX
10879 fi
10880
10881 { echo "$as_me:$LINENO: result: $result" >&5
10882 echo "${ECHO_T}$result" >&6; }
10883
10884
10885 enablestring=
10886 defaultval=$wxUSE_ALL_FEATURES
10887 if test -z "$defaultval"; then
10888 if test x"$enablestring" = xdisable; then
10889 defaultval=yes
10890 else
10891 defaultval=no
10892 fi
10893 fi
10894
10895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10896 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10897 # Check whether --enable-radiobox was given.
10898 if test "${enable_radiobox+set}" = set; then
10899 enableval=$enable_radiobox;
10900 if test "$enableval" = yes; then
10901 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10902 else
10903 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10904 fi
10905
10906 else
10907
10908 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10909
10910 fi
10911
10912
10913 eval "$wx_cv_use_radiobox"
10914
10915 if test x"$enablestring" = xdisable; then
10916 if test $wxUSE_RADIOBOX = yes; then
10917 result=no
10918 else
10919 result=yes
10920 fi
10921 else
10922 result=$wxUSE_RADIOBOX
10923 fi
10924
10925 { echo "$as_me:$LINENO: result: $result" >&5
10926 echo "${ECHO_T}$result" >&6; }
10927
10928
10929 enablestring=
10930 defaultval=$wxUSE_ALL_FEATURES
10931 if test -z "$defaultval"; then
10932 if test x"$enablestring" = xdisable; then
10933 defaultval=yes
10934 else
10935 defaultval=no
10936 fi
10937 fi
10938
10939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10940 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10941 # Check whether --enable-radiobtn was given.
10942 if test "${enable_radiobtn+set}" = set; then
10943 enableval=$enable_radiobtn;
10944 if test "$enableval" = yes; then
10945 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10946 else
10947 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10948 fi
10949
10950 else
10951
10952 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10953
10954 fi
10955
10956
10957 eval "$wx_cv_use_radiobtn"
10958
10959 if test x"$enablestring" = xdisable; then
10960 if test $wxUSE_RADIOBTN = yes; then
10961 result=no
10962 else
10963 result=yes
10964 fi
10965 else
10966 result=$wxUSE_RADIOBTN
10967 fi
10968
10969 { echo "$as_me:$LINENO: result: $result" >&5
10970 echo "${ECHO_T}$result" >&6; }
10971
10972
10973 enablestring=
10974 defaultval=$wxUSE_ALL_FEATURES
10975 if test -z "$defaultval"; then
10976 if test x"$enablestring" = xdisable; then
10977 defaultval=yes
10978 else
10979 defaultval=no
10980 fi
10981 fi
10982
10983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10984 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10985 # Check whether --enable-sash was given.
10986 if test "${enable_sash+set}" = set; then
10987 enableval=$enable_sash;
10988 if test "$enableval" = yes; then
10989 wx_cv_use_sash='wxUSE_SASH=yes'
10990 else
10991 wx_cv_use_sash='wxUSE_SASH=no'
10992 fi
10993
10994 else
10995
10996 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
10997
10998 fi
10999
11000
11001 eval "$wx_cv_use_sash"
11002
11003 if test x"$enablestring" = xdisable; then
11004 if test $wxUSE_SASH = yes; then
11005 result=no
11006 else
11007 result=yes
11008 fi
11009 else
11010 result=$wxUSE_SASH
11011 fi
11012
11013 { echo "$as_me:$LINENO: result: $result" >&5
11014 echo "${ECHO_T}$result" >&6; }
11015
11016
11017 enablestring=
11018 defaultval=$wxUSE_ALL_FEATURES
11019 if test -z "$defaultval"; then
11020 if test x"$enablestring" = xdisable; then
11021 defaultval=yes
11022 else
11023 defaultval=no
11024 fi
11025 fi
11026
11027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11029 # Check whether --enable-scrollbar was given.
11030 if test "${enable_scrollbar+set}" = set; then
11031 enableval=$enable_scrollbar;
11032 if test "$enableval" = yes; then
11033 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11034 else
11035 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11036 fi
11037
11038 else
11039
11040 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11041
11042 fi
11043
11044
11045 eval "$wx_cv_use_scrollbar"
11046
11047 if test x"$enablestring" = xdisable; then
11048 if test $wxUSE_SCROLLBAR = yes; then
11049 result=no
11050 else
11051 result=yes
11052 fi
11053 else
11054 result=$wxUSE_SCROLLBAR
11055 fi
11056
11057 { echo "$as_me:$LINENO: result: $result" >&5
11058 echo "${ECHO_T}$result" >&6; }
11059
11060
11061 enablestring=
11062 defaultval=$wxUSE_ALL_FEATURES
11063 if test -z "$defaultval"; then
11064 if test x"$enablestring" = xdisable; then
11065 defaultval=yes
11066 else
11067 defaultval=no
11068 fi
11069 fi
11070
11071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11072 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11073 # Check whether --enable-searchctrl was given.
11074 if test "${enable_searchctrl+set}" = set; then
11075 enableval=$enable_searchctrl;
11076 if test "$enableval" = yes; then
11077 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11078 else
11079 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11080 fi
11081
11082 else
11083
11084 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11085
11086 fi
11087
11088
11089 eval "$wx_cv_use_searchctrl"
11090
11091 if test x"$enablestring" = xdisable; then
11092 if test $wxUSE_SEARCHCTRL = yes; then
11093 result=no
11094 else
11095 result=yes
11096 fi
11097 else
11098 result=$wxUSE_SEARCHCTRL
11099 fi
11100
11101 { echo "$as_me:$LINENO: result: $result" >&5
11102 echo "${ECHO_T}$result" >&6; }
11103
11104
11105 enablestring=
11106 defaultval=$wxUSE_ALL_FEATURES
11107 if test -z "$defaultval"; then
11108 if test x"$enablestring" = xdisable; then
11109 defaultval=yes
11110 else
11111 defaultval=no
11112 fi
11113 fi
11114
11115 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11116 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11117 # Check whether --enable-slider was given.
11118 if test "${enable_slider+set}" = set; then
11119 enableval=$enable_slider;
11120 if test "$enableval" = yes; then
11121 wx_cv_use_slider='wxUSE_SLIDER=yes'
11122 else
11123 wx_cv_use_slider='wxUSE_SLIDER=no'
11124 fi
11125
11126 else
11127
11128 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11129
11130 fi
11131
11132
11133 eval "$wx_cv_use_slider"
11134
11135 if test x"$enablestring" = xdisable; then
11136 if test $wxUSE_SLIDER = yes; then
11137 result=no
11138 else
11139 result=yes
11140 fi
11141 else
11142 result=$wxUSE_SLIDER
11143 fi
11144
11145 { echo "$as_me:$LINENO: result: $result" >&5
11146 echo "${ECHO_T}$result" >&6; }
11147
11148
11149 enablestring=
11150 defaultval=$wxUSE_ALL_FEATURES
11151 if test -z "$defaultval"; then
11152 if test x"$enablestring" = xdisable; then
11153 defaultval=yes
11154 else
11155 defaultval=no
11156 fi
11157 fi
11158
11159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11160 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11161 # Check whether --enable-spinbtn was given.
11162 if test "${enable_spinbtn+set}" = set; then
11163 enableval=$enable_spinbtn;
11164 if test "$enableval" = yes; then
11165 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11166 else
11167 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11168 fi
11169
11170 else
11171
11172 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11173
11174 fi
11175
11176
11177 eval "$wx_cv_use_spinbtn"
11178
11179 if test x"$enablestring" = xdisable; then
11180 if test $wxUSE_SPINBTN = yes; then
11181 result=no
11182 else
11183 result=yes
11184 fi
11185 else
11186 result=$wxUSE_SPINBTN
11187 fi
11188
11189 { echo "$as_me:$LINENO: result: $result" >&5
11190 echo "${ECHO_T}$result" >&6; }
11191
11192
11193 enablestring=
11194 defaultval=$wxUSE_ALL_FEATURES
11195 if test -z "$defaultval"; then
11196 if test x"$enablestring" = xdisable; then
11197 defaultval=yes
11198 else
11199 defaultval=no
11200 fi
11201 fi
11202
11203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11204 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11205 # Check whether --enable-spinctrl was given.
11206 if test "${enable_spinctrl+set}" = set; then
11207 enableval=$enable_spinctrl;
11208 if test "$enableval" = yes; then
11209 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11210 else
11211 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11212 fi
11213
11214 else
11215
11216 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11217
11218 fi
11219
11220
11221 eval "$wx_cv_use_spinctrl"
11222
11223 if test x"$enablestring" = xdisable; then
11224 if test $wxUSE_SPINCTRL = yes; then
11225 result=no
11226 else
11227 result=yes
11228 fi
11229 else
11230 result=$wxUSE_SPINCTRL
11231 fi
11232
11233 { echo "$as_me:$LINENO: result: $result" >&5
11234 echo "${ECHO_T}$result" >&6; }
11235
11236
11237 enablestring=
11238 defaultval=$wxUSE_ALL_FEATURES
11239 if test -z "$defaultval"; then
11240 if test x"$enablestring" = xdisable; then
11241 defaultval=yes
11242 else
11243 defaultval=no
11244 fi
11245 fi
11246
11247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11248 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11249 # Check whether --enable-splitter was given.
11250 if test "${enable_splitter+set}" = set; then
11251 enableval=$enable_splitter;
11252 if test "$enableval" = yes; then
11253 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11254 else
11255 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11256 fi
11257
11258 else
11259
11260 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11261
11262 fi
11263
11264
11265 eval "$wx_cv_use_splitter"
11266
11267 if test x"$enablestring" = xdisable; then
11268 if test $wxUSE_SPLITTER = yes; then
11269 result=no
11270 else
11271 result=yes
11272 fi
11273 else
11274 result=$wxUSE_SPLITTER
11275 fi
11276
11277 { echo "$as_me:$LINENO: result: $result" >&5
11278 echo "${ECHO_T}$result" >&6; }
11279
11280
11281 enablestring=
11282 defaultval=$wxUSE_ALL_FEATURES
11283 if test -z "$defaultval"; then
11284 if test x"$enablestring" = xdisable; then
11285 defaultval=yes
11286 else
11287 defaultval=no
11288 fi
11289 fi
11290
11291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11292 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11293 # Check whether --enable-statbmp was given.
11294 if test "${enable_statbmp+set}" = set; then
11295 enableval=$enable_statbmp;
11296 if test "$enableval" = yes; then
11297 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11298 else
11299 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11300 fi
11301
11302 else
11303
11304 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11305
11306 fi
11307
11308
11309 eval "$wx_cv_use_statbmp"
11310
11311 if test x"$enablestring" = xdisable; then
11312 if test $wxUSE_STATBMP = yes; then
11313 result=no
11314 else
11315 result=yes
11316 fi
11317 else
11318 result=$wxUSE_STATBMP
11319 fi
11320
11321 { echo "$as_me:$LINENO: result: $result" >&5
11322 echo "${ECHO_T}$result" >&6; }
11323
11324
11325 enablestring=
11326 defaultval=$wxUSE_ALL_FEATURES
11327 if test -z "$defaultval"; then
11328 if test x"$enablestring" = xdisable; then
11329 defaultval=yes
11330 else
11331 defaultval=no
11332 fi
11333 fi
11334
11335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11336 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11337 # Check whether --enable-statbox was given.
11338 if test "${enable_statbox+set}" = set; then
11339 enableval=$enable_statbox;
11340 if test "$enableval" = yes; then
11341 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11342 else
11343 wx_cv_use_statbox='wxUSE_STATBOX=no'
11344 fi
11345
11346 else
11347
11348 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11349
11350 fi
11351
11352
11353 eval "$wx_cv_use_statbox"
11354
11355 if test x"$enablestring" = xdisable; then
11356 if test $wxUSE_STATBOX = yes; then
11357 result=no
11358 else
11359 result=yes
11360 fi
11361 else
11362 result=$wxUSE_STATBOX
11363 fi
11364
11365 { echo "$as_me:$LINENO: result: $result" >&5
11366 echo "${ECHO_T}$result" >&6; }
11367
11368
11369 enablestring=
11370 defaultval=$wxUSE_ALL_FEATURES
11371 if test -z "$defaultval"; then
11372 if test x"$enablestring" = xdisable; then
11373 defaultval=yes
11374 else
11375 defaultval=no
11376 fi
11377 fi
11378
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11381 # Check whether --enable-statline was given.
11382 if test "${enable_statline+set}" = set; then
11383 enableval=$enable_statline;
11384 if test "$enableval" = yes; then
11385 wx_cv_use_statline='wxUSE_STATLINE=yes'
11386 else
11387 wx_cv_use_statline='wxUSE_STATLINE=no'
11388 fi
11389
11390 else
11391
11392 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11393
11394 fi
11395
11396
11397 eval "$wx_cv_use_statline"
11398
11399 if test x"$enablestring" = xdisable; then
11400 if test $wxUSE_STATLINE = yes; then
11401 result=no
11402 else
11403 result=yes
11404 fi
11405 else
11406 result=$wxUSE_STATLINE
11407 fi
11408
11409 { echo "$as_me:$LINENO: result: $result" >&5
11410 echo "${ECHO_T}$result" >&6; }
11411
11412
11413 enablestring=
11414 defaultval=$wxUSE_ALL_FEATURES
11415 if test -z "$defaultval"; then
11416 if test x"$enablestring" = xdisable; then
11417 defaultval=yes
11418 else
11419 defaultval=no
11420 fi
11421 fi
11422
11423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11424 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11425 # Check whether --enable-stattext was given.
11426 if test "${enable_stattext+set}" = set; then
11427 enableval=$enable_stattext;
11428 if test "$enableval" = yes; then
11429 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11430 else
11431 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11432 fi
11433
11434 else
11435
11436 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11437
11438 fi
11439
11440
11441 eval "$wx_cv_use_stattext"
11442
11443 if test x"$enablestring" = xdisable; then
11444 if test $wxUSE_STATTEXT = yes; then
11445 result=no
11446 else
11447 result=yes
11448 fi
11449 else
11450 result=$wxUSE_STATTEXT
11451 fi
11452
11453 { echo "$as_me:$LINENO: result: $result" >&5
11454 echo "${ECHO_T}$result" >&6; }
11455
11456
11457 enablestring=
11458 defaultval=$wxUSE_ALL_FEATURES
11459 if test -z "$defaultval"; then
11460 if test x"$enablestring" = xdisable; then
11461 defaultval=yes
11462 else
11463 defaultval=no
11464 fi
11465 fi
11466
11467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11468 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11469 # Check whether --enable-statusbar was given.
11470 if test "${enable_statusbar+set}" = set; then
11471 enableval=$enable_statusbar;
11472 if test "$enableval" = yes; then
11473 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11474 else
11475 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11476 fi
11477
11478 else
11479
11480 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11481
11482 fi
11483
11484
11485 eval "$wx_cv_use_statusbar"
11486
11487 if test x"$enablestring" = xdisable; then
11488 if test $wxUSE_STATUSBAR = yes; then
11489 result=no
11490 else
11491 result=yes
11492 fi
11493 else
11494 result=$wxUSE_STATUSBAR
11495 fi
11496
11497 { echo "$as_me:$LINENO: result: $result" >&5
11498 echo "${ECHO_T}$result" >&6; }
11499
11500
11501 enablestring=
11502 defaultval=$wxUSE_ALL_FEATURES
11503 if test -z "$defaultval"; then
11504 if test x"$enablestring" = xdisable; then
11505 defaultval=yes
11506 else
11507 defaultval=no
11508 fi
11509 fi
11510
11511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11512 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11513 # Check whether --enable-tabdialog was given.
11514 if test "${enable_tabdialog+set}" = set; then
11515 enableval=$enable_tabdialog;
11516 if test "$enableval" = yes; then
11517 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11518 else
11519 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11520 fi
11521
11522 else
11523
11524 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11525
11526 fi
11527
11528
11529 eval "$wx_cv_use_tabdialog"
11530
11531 if test x"$enablestring" = xdisable; then
11532 if test $wxUSE_TAB_DIALOG = yes; then
11533 result=no
11534 else
11535 result=yes
11536 fi
11537 else
11538 result=$wxUSE_TAB_DIALOG
11539 fi
11540
11541 { echo "$as_me:$LINENO: result: $result" >&5
11542 echo "${ECHO_T}$result" >&6; }
11543
11544
11545 enablestring=
11546 defaultval=$wxUSE_ALL_FEATURES
11547 if test -z "$defaultval"; then
11548 if test x"$enablestring" = xdisable; then
11549 defaultval=yes
11550 else
11551 defaultval=no
11552 fi
11553 fi
11554
11555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11556 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11557 # Check whether --enable-taskbaricon was given.
11558 if test "${enable_taskbaricon+set}" = set; then
11559 enableval=$enable_taskbaricon;
11560 if test "$enableval" = yes; then
11561 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11562 else
11563 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11564 fi
11565
11566 else
11567
11568 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11569
11570 fi
11571
11572
11573 eval "$wx_cv_use_taskbaricon"
11574
11575 if test x"$enablestring" = xdisable; then
11576 if test $wxUSE_TASKBARICON = yes; then
11577 result=no
11578 else
11579 result=yes
11580 fi
11581 else
11582 result=$wxUSE_TASKBARICON
11583 fi
11584
11585 { echo "$as_me:$LINENO: result: $result" >&5
11586 echo "${ECHO_T}$result" >&6; }
11587
11588
11589 enablestring=
11590 defaultval=$wxUSE_ALL_FEATURES
11591 if test -z "$defaultval"; then
11592 if test x"$enablestring" = xdisable; then
11593 defaultval=yes
11594 else
11595 defaultval=no
11596 fi
11597 fi
11598
11599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11601 # Check whether --enable-textctrl was given.
11602 if test "${enable_textctrl+set}" = set; then
11603 enableval=$enable_textctrl;
11604 if test "$enableval" = yes; then
11605 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11606 else
11607 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11608 fi
11609
11610 else
11611
11612 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11613
11614 fi
11615
11616
11617 eval "$wx_cv_use_textctrl"
11618
11619 if test x"$enablestring" = xdisable; then
11620 if test $wxUSE_TEXTCTRL = yes; then
11621 result=no
11622 else
11623 result=yes
11624 fi
11625 else
11626 result=$wxUSE_TEXTCTRL
11627 fi
11628
11629 { echo "$as_me:$LINENO: result: $result" >&5
11630 echo "${ECHO_T}$result" >&6; }
11631
11632
11633 enablestring=
11634 defaultval=$wxUSE_ALL_FEATURES
11635 if test -z "$defaultval"; then
11636 if test x"$enablestring" = xdisable; then
11637 defaultval=yes
11638 else
11639 defaultval=no
11640 fi
11641 fi
11642
11643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11644 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11645 # Check whether --enable-togglebtn was given.
11646 if test "${enable_togglebtn+set}" = set; then
11647 enableval=$enable_togglebtn;
11648 if test "$enableval" = yes; then
11649 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11650 else
11651 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11652 fi
11653
11654 else
11655
11656 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11657
11658 fi
11659
11660
11661 eval "$wx_cv_use_togglebtn"
11662
11663 if test x"$enablestring" = xdisable; then
11664 if test $wxUSE_TOGGLEBTN = yes; then
11665 result=no
11666 else
11667 result=yes
11668 fi
11669 else
11670 result=$wxUSE_TOGGLEBTN
11671 fi
11672
11673 { echo "$as_me:$LINENO: result: $result" >&5
11674 echo "${ECHO_T}$result" >&6; }
11675
11676
11677 enablestring=
11678 defaultval=$wxUSE_ALL_FEATURES
11679 if test -z "$defaultval"; then
11680 if test x"$enablestring" = xdisable; then
11681 defaultval=yes
11682 else
11683 defaultval=no
11684 fi
11685 fi
11686
11687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11688 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11689 # Check whether --enable-toolbar was given.
11690 if test "${enable_toolbar+set}" = set; then
11691 enableval=$enable_toolbar;
11692 if test "$enableval" = yes; then
11693 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11694 else
11695 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11696 fi
11697
11698 else
11699
11700 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11701
11702 fi
11703
11704
11705 eval "$wx_cv_use_toolbar"
11706
11707 if test x"$enablestring" = xdisable; then
11708 if test $wxUSE_TOOLBAR = yes; then
11709 result=no
11710 else
11711 result=yes
11712 fi
11713 else
11714 result=$wxUSE_TOOLBAR
11715 fi
11716
11717 { echo "$as_me:$LINENO: result: $result" >&5
11718 echo "${ECHO_T}$result" >&6; }
11719
11720
11721 enablestring=
11722 defaultval=$wxUSE_ALL_FEATURES
11723 if test -z "$defaultval"; then
11724 if test x"$enablestring" = xdisable; then
11725 defaultval=yes
11726 else
11727 defaultval=no
11728 fi
11729 fi
11730
11731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11732 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11733 # Check whether --enable-tbarnative was given.
11734 if test "${enable_tbarnative+set}" = set; then
11735 enableval=$enable_tbarnative;
11736 if test "$enableval" = yes; then
11737 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11738 else
11739 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11740 fi
11741
11742 else
11743
11744 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11745
11746 fi
11747
11748
11749 eval "$wx_cv_use_tbarnative"
11750
11751 if test x"$enablestring" = xdisable; then
11752 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11753 result=no
11754 else
11755 result=yes
11756 fi
11757 else
11758 result=$wxUSE_TOOLBAR_NATIVE
11759 fi
11760
11761 { echo "$as_me:$LINENO: result: $result" >&5
11762 echo "${ECHO_T}$result" >&6; }
11763
11764
11765 enablestring=
11766 defaultval=$wxUSE_ALL_FEATURES
11767 if test -z "$defaultval"; then
11768 if test x"$enablestring" = xdisable; then
11769 defaultval=yes
11770 else
11771 defaultval=no
11772 fi
11773 fi
11774
11775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11776 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11777 # Check whether --enable-treebook was given.
11778 if test "${enable_treebook+set}" = set; then
11779 enableval=$enable_treebook;
11780 if test "$enableval" = yes; then
11781 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11782 else
11783 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11784 fi
11785
11786 else
11787
11788 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11789
11790 fi
11791
11792
11793 eval "$wx_cv_use_treebook"
11794
11795 if test x"$enablestring" = xdisable; then
11796 if test $wxUSE_TREEBOOK = yes; then
11797 result=no
11798 else
11799 result=yes
11800 fi
11801 else
11802 result=$wxUSE_TREEBOOK
11803 fi
11804
11805 { echo "$as_me:$LINENO: result: $result" >&5
11806 echo "${ECHO_T}$result" >&6; }
11807
11808
11809 enablestring=
11810 defaultval=$wxUSE_ALL_FEATURES
11811 if test -z "$defaultval"; then
11812 if test x"$enablestring" = xdisable; then
11813 defaultval=yes
11814 else
11815 defaultval=no
11816 fi
11817 fi
11818
11819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11820 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11821 # Check whether --enable-toolbook was given.
11822 if test "${enable_toolbook+set}" = set; then
11823 enableval=$enable_toolbook;
11824 if test "$enableval" = yes; then
11825 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11826 else
11827 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11828 fi
11829
11830 else
11831
11832 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11833
11834 fi
11835
11836
11837 eval "$wx_cv_use_toolbook"
11838
11839 if test x"$enablestring" = xdisable; then
11840 if test $wxUSE_TOOLBOOK = yes; then
11841 result=no
11842 else
11843 result=yes
11844 fi
11845 else
11846 result=$wxUSE_TOOLBOOK
11847 fi
11848
11849 { echo "$as_me:$LINENO: result: $result" >&5
11850 echo "${ECHO_T}$result" >&6; }
11851
11852
11853 enablestring=
11854 defaultval=$wxUSE_ALL_FEATURES
11855 if test -z "$defaultval"; then
11856 if test x"$enablestring" = xdisable; then
11857 defaultval=yes
11858 else
11859 defaultval=no
11860 fi
11861 fi
11862
11863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11864 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11865 # Check whether --enable-treectrl was given.
11866 if test "${enable_treectrl+set}" = set; then
11867 enableval=$enable_treectrl;
11868 if test "$enableval" = yes; then
11869 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11870 else
11871 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11872 fi
11873
11874 else
11875
11876 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11877
11878 fi
11879
11880
11881 eval "$wx_cv_use_treectrl"
11882
11883 if test x"$enablestring" = xdisable; then
11884 if test $wxUSE_TREECTRL = yes; then
11885 result=no
11886 else
11887 result=yes
11888 fi
11889 else
11890 result=$wxUSE_TREECTRL
11891 fi
11892
11893 { echo "$as_me:$LINENO: result: $result" >&5
11894 echo "${ECHO_T}$result" >&6; }
11895
11896
11897 enablestring=
11898 defaultval=$wxUSE_ALL_FEATURES
11899 if test -z "$defaultval"; then
11900 if test x"$enablestring" = xdisable; then
11901 defaultval=yes
11902 else
11903 defaultval=no
11904 fi
11905 fi
11906
11907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11908 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11909 # Check whether --enable-tipwindow was given.
11910 if test "${enable_tipwindow+set}" = set; then
11911 enableval=$enable_tipwindow;
11912 if test "$enableval" = yes; then
11913 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11914 else
11915 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11916 fi
11917
11918 else
11919
11920 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11921
11922 fi
11923
11924
11925 eval "$wx_cv_use_tipwindow"
11926
11927 if test x"$enablestring" = xdisable; then
11928 if test $wxUSE_TIPWINDOW = yes; then
11929 result=no
11930 else
11931 result=yes
11932 fi
11933 else
11934 result=$wxUSE_TIPWINDOW
11935 fi
11936
11937 { echo "$as_me:$LINENO: result: $result" >&5
11938 echo "${ECHO_T}$result" >&6; }
11939
11940
11941 enablestring=
11942 defaultval=$wxUSE_ALL_FEATURES
11943 if test -z "$defaultval"; then
11944 if test x"$enablestring" = xdisable; then
11945 defaultval=yes
11946 else
11947 defaultval=no
11948 fi
11949 fi
11950
11951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11952 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11953 # Check whether --enable-popupwin was given.
11954 if test "${enable_popupwin+set}" = set; then
11955 enableval=$enable_popupwin;
11956 if test "$enableval" = yes; then
11957 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11958 else
11959 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11960 fi
11961
11962 else
11963
11964 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11965
11966 fi
11967
11968
11969 eval "$wx_cv_use_popupwin"
11970
11971 if test x"$enablestring" = xdisable; then
11972 if test $wxUSE_POPUPWIN = yes; then
11973 result=no
11974 else
11975 result=yes
11976 fi
11977 else
11978 result=$wxUSE_POPUPWIN
11979 fi
11980
11981 { echo "$as_me:$LINENO: result: $result" >&5
11982 echo "${ECHO_T}$result" >&6; }
11983
11984
11985
11986
11987 enablestring=
11988 defaultval=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x"$enablestring" = xdisable; then
11991 defaultval=yes
11992 else
11993 defaultval=no
11994 fi
11995 fi
11996
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11999 # Check whether --enable-commondlg was given.
12000 if test "${enable_commondlg+set}" = set; then
12001 enableval=$enable_commondlg;
12002 if test "$enableval" = yes; then
12003 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12004 else
12005 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12006 fi
12007
12008 else
12009
12010 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12011
12012 fi
12013
12014
12015 eval "$wx_cv_use_commondlg"
12016
12017 if test x"$enablestring" = xdisable; then
12018 if test $wxUSE_COMMONDLGS = yes; then
12019 result=no
12020 else
12021 result=yes
12022 fi
12023 else
12024 result=$wxUSE_COMMONDLGS
12025 fi
12026
12027 { echo "$as_me:$LINENO: result: $result" >&5
12028 echo "${ECHO_T}$result" >&6; }
12029
12030
12031 enablestring=
12032 defaultval=$wxUSE_ALL_FEATURES
12033 if test -z "$defaultval"; then
12034 if test x"$enablestring" = xdisable; then
12035 defaultval=yes
12036 else
12037 defaultval=no
12038 fi
12039 fi
12040
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12043 # Check whether --enable-aboutdlg was given.
12044 if test "${enable_aboutdlg+set}" = set; then
12045 enableval=$enable_aboutdlg;
12046 if test "$enableval" = yes; then
12047 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12048 else
12049 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12050 fi
12051
12052 else
12053
12054 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12055
12056 fi
12057
12058
12059 eval "$wx_cv_use_aboutdlg"
12060
12061 if test x"$enablestring" = xdisable; then
12062 if test $wxUSE_ABOUTDLG = yes; then
12063 result=no
12064 else
12065 result=yes
12066 fi
12067 else
12068 result=$wxUSE_ABOUTDLG
12069 fi
12070
12071 { echo "$as_me:$LINENO: result: $result" >&5
12072 echo "${ECHO_T}$result" >&6; }
12073
12074
12075 enablestring=
12076 defaultval=$wxUSE_ALL_FEATURES
12077 if test -z "$defaultval"; then
12078 if test x"$enablestring" = xdisable; then
12079 defaultval=yes
12080 else
12081 defaultval=no
12082 fi
12083 fi
12084
12085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12086 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12087 # Check whether --enable-choicedlg was given.
12088 if test "${enable_choicedlg+set}" = set; then
12089 enableval=$enable_choicedlg;
12090 if test "$enableval" = yes; then
12091 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12092 else
12093 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12094 fi
12095
12096 else
12097
12098 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12099
12100 fi
12101
12102
12103 eval "$wx_cv_use_choicedlg"
12104
12105 if test x"$enablestring" = xdisable; then
12106 if test $wxUSE_CHOICEDLG = yes; then
12107 result=no
12108 else
12109 result=yes
12110 fi
12111 else
12112 result=$wxUSE_CHOICEDLG
12113 fi
12114
12115 { echo "$as_me:$LINENO: result: $result" >&5
12116 echo "${ECHO_T}$result" >&6; }
12117
12118
12119 enablestring=
12120 defaultval=$wxUSE_ALL_FEATURES
12121 if test -z "$defaultval"; then
12122 if test x"$enablestring" = xdisable; then
12123 defaultval=yes
12124 else
12125 defaultval=no
12126 fi
12127 fi
12128
12129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12130 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12131 # Check whether --enable-coldlg was given.
12132 if test "${enable_coldlg+set}" = set; then
12133 enableval=$enable_coldlg;
12134 if test "$enableval" = yes; then
12135 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12136 else
12137 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12138 fi
12139
12140 else
12141
12142 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12143
12144 fi
12145
12146
12147 eval "$wx_cv_use_coldlg"
12148
12149 if test x"$enablestring" = xdisable; then
12150 if test $wxUSE_COLOURDLG = yes; then
12151 result=no
12152 else
12153 result=yes
12154 fi
12155 else
12156 result=$wxUSE_COLOURDLG
12157 fi
12158
12159 { echo "$as_me:$LINENO: result: $result" >&5
12160 echo "${ECHO_T}$result" >&6; }
12161
12162
12163 enablestring=
12164 defaultval=$wxUSE_ALL_FEATURES
12165 if test -z "$defaultval"; then
12166 if test x"$enablestring" = xdisable; then
12167 defaultval=yes
12168 else
12169 defaultval=no
12170 fi
12171 fi
12172
12173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12174 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12175 # Check whether --enable-filedlg was given.
12176 if test "${enable_filedlg+set}" = set; then
12177 enableval=$enable_filedlg;
12178 if test "$enableval" = yes; then
12179 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12180 else
12181 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12182 fi
12183
12184 else
12185
12186 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12187
12188 fi
12189
12190
12191 eval "$wx_cv_use_filedlg"
12192
12193 if test x"$enablestring" = xdisable; then
12194 if test $wxUSE_FILEDLG = yes; then
12195 result=no
12196 else
12197 result=yes
12198 fi
12199 else
12200 result=$wxUSE_FILEDLG
12201 fi
12202
12203 { echo "$as_me:$LINENO: result: $result" >&5
12204 echo "${ECHO_T}$result" >&6; }
12205
12206
12207 enablestring=
12208 defaultval=$wxUSE_ALL_FEATURES
12209 if test -z "$defaultval"; then
12210 if test x"$enablestring" = xdisable; then
12211 defaultval=yes
12212 else
12213 defaultval=no
12214 fi
12215 fi
12216
12217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12218 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12219 # Check whether --enable-finddlg was given.
12220 if test "${enable_finddlg+set}" = set; then
12221 enableval=$enable_finddlg;
12222 if test "$enableval" = yes; then
12223 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12224 else
12225 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12226 fi
12227
12228 else
12229
12230 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12231
12232 fi
12233
12234
12235 eval "$wx_cv_use_finddlg"
12236
12237 if test x"$enablestring" = xdisable; then
12238 if test $wxUSE_FINDREPLDLG = yes; then
12239 result=no
12240 else
12241 result=yes
12242 fi
12243 else
12244 result=$wxUSE_FINDREPLDLG
12245 fi
12246
12247 { echo "$as_me:$LINENO: result: $result" >&5
12248 echo "${ECHO_T}$result" >&6; }
12249
12250
12251 enablestring=
12252 defaultval=$wxUSE_ALL_FEATURES
12253 if test -z "$defaultval"; then
12254 if test x"$enablestring" = xdisable; then
12255 defaultval=yes
12256 else
12257 defaultval=no
12258 fi
12259 fi
12260
12261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12262 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12263 # Check whether --enable-fontdlg was given.
12264 if test "${enable_fontdlg+set}" = set; then
12265 enableval=$enable_fontdlg;
12266 if test "$enableval" = yes; then
12267 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12268 else
12269 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12270 fi
12271
12272 else
12273
12274 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12275
12276 fi
12277
12278
12279 eval "$wx_cv_use_fontdlg"
12280
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_FONTDLG = yes; then
12283 result=no
12284 else
12285 result=yes
12286 fi
12287 else
12288 result=$wxUSE_FONTDLG
12289 fi
12290
12291 { echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6; }
12293
12294
12295 enablestring=
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12299 defaultval=yes
12300 else
12301 defaultval=no
12302 fi
12303 fi
12304
12305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12307 # Check whether --enable-dirdlg was given.
12308 if test "${enable_dirdlg+set}" = set; then
12309 enableval=$enable_dirdlg;
12310 if test "$enableval" = yes; then
12311 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12312 else
12313 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12314 fi
12315
12316 else
12317
12318 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12319
12320 fi
12321
12322
12323 eval "$wx_cv_use_dirdlg"
12324
12325 if test x"$enablestring" = xdisable; then
12326 if test $wxUSE_DIRDLG = yes; then
12327 result=no
12328 else
12329 result=yes
12330 fi
12331 else
12332 result=$wxUSE_DIRDLG
12333 fi
12334
12335 { echo "$as_me:$LINENO: result: $result" >&5
12336 echo "${ECHO_T}$result" >&6; }
12337
12338
12339 enablestring=
12340 defaultval=$wxUSE_ALL_FEATURES
12341 if test -z "$defaultval"; then
12342 if test x"$enablestring" = xdisable; then
12343 defaultval=yes
12344 else
12345 defaultval=no
12346 fi
12347 fi
12348
12349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12350 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12351 # Check whether --enable-msgdlg was given.
12352 if test "${enable_msgdlg+set}" = set; then
12353 enableval=$enable_msgdlg;
12354 if test "$enableval" = yes; then
12355 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12356 else
12357 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12358 fi
12359
12360 else
12361
12362 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12363
12364 fi
12365
12366
12367 eval "$wx_cv_use_msgdlg"
12368
12369 if test x"$enablestring" = xdisable; then
12370 if test $wxUSE_MSGDLG = yes; then
12371 result=no
12372 else
12373 result=yes
12374 fi
12375 else
12376 result=$wxUSE_MSGDLG
12377 fi
12378
12379 { echo "$as_me:$LINENO: result: $result" >&5
12380 echo "${ECHO_T}$result" >&6; }
12381
12382
12383 enablestring=
12384 defaultval=$wxUSE_ALL_FEATURES
12385 if test -z "$defaultval"; then
12386 if test x"$enablestring" = xdisable; then
12387 defaultval=yes
12388 else
12389 defaultval=no
12390 fi
12391 fi
12392
12393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12394 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12395 # Check whether --enable-numberdlg was given.
12396 if test "${enable_numberdlg+set}" = set; then
12397 enableval=$enable_numberdlg;
12398 if test "$enableval" = yes; then
12399 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12400 else
12401 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12402 fi
12403
12404 else
12405
12406 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12407
12408 fi
12409
12410
12411 eval "$wx_cv_use_numberdlg"
12412
12413 if test x"$enablestring" = xdisable; then
12414 if test $wxUSE_NUMBERDLG = yes; then
12415 result=no
12416 else
12417 result=yes
12418 fi
12419 else
12420 result=$wxUSE_NUMBERDLG
12421 fi
12422
12423 { echo "$as_me:$LINENO: result: $result" >&5
12424 echo "${ECHO_T}$result" >&6; }
12425
12426
12427 enablestring=
12428 defaultval=$wxUSE_ALL_FEATURES
12429 if test -z "$defaultval"; then
12430 if test x"$enablestring" = xdisable; then
12431 defaultval=yes
12432 else
12433 defaultval=no
12434 fi
12435 fi
12436
12437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12438 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12439 # Check whether --enable-splash was given.
12440 if test "${enable_splash+set}" = set; then
12441 enableval=$enable_splash;
12442 if test "$enableval" = yes; then
12443 wx_cv_use_splash='wxUSE_SPLASH=yes'
12444 else
12445 wx_cv_use_splash='wxUSE_SPLASH=no'
12446 fi
12447
12448 else
12449
12450 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12451
12452 fi
12453
12454
12455 eval "$wx_cv_use_splash"
12456
12457 if test x"$enablestring" = xdisable; then
12458 if test $wxUSE_SPLASH = yes; then
12459 result=no
12460 else
12461 result=yes
12462 fi
12463 else
12464 result=$wxUSE_SPLASH
12465 fi
12466
12467 { echo "$as_me:$LINENO: result: $result" >&5
12468 echo "${ECHO_T}$result" >&6; }
12469
12470
12471 enablestring=
12472 defaultval=$wxUSE_ALL_FEATURES
12473 if test -z "$defaultval"; then
12474 if test x"$enablestring" = xdisable; then
12475 defaultval=yes
12476 else
12477 defaultval=no
12478 fi
12479 fi
12480
12481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12482 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12483 # Check whether --enable-textdlg was given.
12484 if test "${enable_textdlg+set}" = set; then
12485 enableval=$enable_textdlg;
12486 if test "$enableval" = yes; then
12487 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12488 else
12489 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12490 fi
12491
12492 else
12493
12494 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12495
12496 fi
12497
12498
12499 eval "$wx_cv_use_textdlg"
12500
12501 if test x"$enablestring" = xdisable; then
12502 if test $wxUSE_TEXTDLG = yes; then
12503 result=no
12504 else
12505 result=yes
12506 fi
12507 else
12508 result=$wxUSE_TEXTDLG
12509 fi
12510
12511 { echo "$as_me:$LINENO: result: $result" >&5
12512 echo "${ECHO_T}$result" >&6; }
12513
12514
12515 enablestring=
12516 defaultval=$wxUSE_ALL_FEATURES
12517 if test -z "$defaultval"; then
12518 if test x"$enablestring" = xdisable; then
12519 defaultval=yes
12520 else
12521 defaultval=no
12522 fi
12523 fi
12524
12525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12526 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12527 # Check whether --enable-tipdlg was given.
12528 if test "${enable_tipdlg+set}" = set; then
12529 enableval=$enable_tipdlg;
12530 if test "$enableval" = yes; then
12531 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12532 else
12533 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12534 fi
12535
12536 else
12537
12538 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12539
12540 fi
12541
12542
12543 eval "$wx_cv_use_tipdlg"
12544
12545 if test x"$enablestring" = xdisable; then
12546 if test $wxUSE_STARTUP_TIPS = yes; then
12547 result=no
12548 else
12549 result=yes
12550 fi
12551 else
12552 result=$wxUSE_STARTUP_TIPS
12553 fi
12554
12555 { echo "$as_me:$LINENO: result: $result" >&5
12556 echo "${ECHO_T}$result" >&6; }
12557
12558
12559 enablestring=
12560 defaultval=$wxUSE_ALL_FEATURES
12561 if test -z "$defaultval"; then
12562 if test x"$enablestring" = xdisable; then
12563 defaultval=yes
12564 else
12565 defaultval=no
12566 fi
12567 fi
12568
12569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12570 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12571 # Check whether --enable-progressdlg was given.
12572 if test "${enable_progressdlg+set}" = set; then
12573 enableval=$enable_progressdlg;
12574 if test "$enableval" = yes; then
12575 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12576 else
12577 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12578 fi
12579
12580 else
12581
12582 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12583
12584 fi
12585
12586
12587 eval "$wx_cv_use_progressdlg"
12588
12589 if test x"$enablestring" = xdisable; then
12590 if test $wxUSE_PROGRESSDLG = yes; then
12591 result=no
12592 else
12593 result=yes
12594 fi
12595 else
12596 result=$wxUSE_PROGRESSDLG
12597 fi
12598
12599 { echo "$as_me:$LINENO: result: $result" >&5
12600 echo "${ECHO_T}$result" >&6; }
12601
12602
12603 enablestring=
12604 defaultval=$wxUSE_ALL_FEATURES
12605 if test -z "$defaultval"; then
12606 if test x"$enablestring" = xdisable; then
12607 defaultval=yes
12608 else
12609 defaultval=no
12610 fi
12611 fi
12612
12613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12614 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12615 # Check whether --enable-wizarddlg was given.
12616 if test "${enable_wizarddlg+set}" = set; then
12617 enableval=$enable_wizarddlg;
12618 if test "$enableval" = yes; then
12619 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12620 else
12621 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12622 fi
12623
12624 else
12625
12626 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12627
12628 fi
12629
12630
12631 eval "$wx_cv_use_wizarddlg"
12632
12633 if test x"$enablestring" = xdisable; then
12634 if test $wxUSE_WIZARDDLG = yes; then
12635 result=no
12636 else
12637 result=yes
12638 fi
12639 else
12640 result=$wxUSE_WIZARDDLG
12641 fi
12642
12643 { echo "$as_me:$LINENO: result: $result" >&5
12644 echo "${ECHO_T}$result" >&6; }
12645
12646
12647
12648
12649 enablestring=
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12653 defaultval=yes
12654 else
12655 defaultval=no
12656 fi
12657 fi
12658
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12661 # Check whether --enable-menus was given.
12662 if test "${enable_menus+set}" = set; then
12663 enableval=$enable_menus;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_menus='wxUSE_MENUS=yes'
12666 else
12667 wx_cv_use_menus='wxUSE_MENUS=no'
12668 fi
12669
12670 else
12671
12672 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12673
12674 fi
12675
12676
12677 eval "$wx_cv_use_menus"
12678
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_MENUS = yes; then
12681 result=no
12682 else
12683 result=yes
12684 fi
12685 else
12686 result=$wxUSE_MENUS
12687 fi
12688
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12691
12692
12693 enablestring=
12694 defaultval=$wxUSE_ALL_FEATURES
12695 if test -z "$defaultval"; then
12696 if test x"$enablestring" = xdisable; then
12697 defaultval=yes
12698 else
12699 defaultval=no
12700 fi
12701 fi
12702
12703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12704 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12705 # Check whether --enable-miniframe was given.
12706 if test "${enable_miniframe+set}" = set; then
12707 enableval=$enable_miniframe;
12708 if test "$enableval" = yes; then
12709 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12710 else
12711 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12712 fi
12713
12714 else
12715
12716 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12717
12718 fi
12719
12720
12721 eval "$wx_cv_use_miniframe"
12722
12723 if test x"$enablestring" = xdisable; then
12724 if test $wxUSE_MINIFRAME = yes; then
12725 result=no
12726 else
12727 result=yes
12728 fi
12729 else
12730 result=$wxUSE_MINIFRAME
12731 fi
12732
12733 { echo "$as_me:$LINENO: result: $result" >&5
12734 echo "${ECHO_T}$result" >&6; }
12735
12736
12737 enablestring=
12738 defaultval=$wxUSE_ALL_FEATURES
12739 if test -z "$defaultval"; then
12740 if test x"$enablestring" = xdisable; then
12741 defaultval=yes
12742 else
12743 defaultval=no
12744 fi
12745 fi
12746
12747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12748 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12749 # Check whether --enable-tooltips was given.
12750 if test "${enable_tooltips+set}" = set; then
12751 enableval=$enable_tooltips;
12752 if test "$enableval" = yes; then
12753 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12754 else
12755 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12756 fi
12757
12758 else
12759
12760 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12761
12762 fi
12763
12764
12765 eval "$wx_cv_use_tooltips"
12766
12767 if test x"$enablestring" = xdisable; then
12768 if test $wxUSE_TOOLTIPS = yes; then
12769 result=no
12770 else
12771 result=yes
12772 fi
12773 else
12774 result=$wxUSE_TOOLTIPS
12775 fi
12776
12777 { echo "$as_me:$LINENO: result: $result" >&5
12778 echo "${ECHO_T}$result" >&6; }
12779
12780
12781 enablestring=
12782 defaultval=$wxUSE_ALL_FEATURES
12783 if test -z "$defaultval"; then
12784 if test x"$enablestring" = xdisable; then
12785 defaultval=yes
12786 else
12787 defaultval=no
12788 fi
12789 fi
12790
12791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12792 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12793 # Check whether --enable-splines was given.
12794 if test "${enable_splines+set}" = set; then
12795 enableval=$enable_splines;
12796 if test "$enableval" = yes; then
12797 wx_cv_use_splines='wxUSE_SPLINES=yes'
12798 else
12799 wx_cv_use_splines='wxUSE_SPLINES=no'
12800 fi
12801
12802 else
12803
12804 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12805
12806 fi
12807
12808
12809 eval "$wx_cv_use_splines"
12810
12811 if test x"$enablestring" = xdisable; then
12812 if test $wxUSE_SPLINES = yes; then
12813 result=no
12814 else
12815 result=yes
12816 fi
12817 else
12818 result=$wxUSE_SPLINES
12819 fi
12820
12821 { echo "$as_me:$LINENO: result: $result" >&5
12822 echo "${ECHO_T}$result" >&6; }
12823
12824
12825 enablestring=
12826 defaultval=$wxUSE_ALL_FEATURES
12827 if test -z "$defaultval"; then
12828 if test x"$enablestring" = xdisable; then
12829 defaultval=yes
12830 else
12831 defaultval=no
12832 fi
12833 fi
12834
12835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12836 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12837 # Check whether --enable-mousewheel was given.
12838 if test "${enable_mousewheel+set}" = set; then
12839 enableval=$enable_mousewheel;
12840 if test "$enableval" = yes; then
12841 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12842 else
12843 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12844 fi
12845
12846 else
12847
12848 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12849
12850 fi
12851
12852
12853 eval "$wx_cv_use_mousewheel"
12854
12855 if test x"$enablestring" = xdisable; then
12856 if test $wxUSE_MOUSEWHEEL = yes; then
12857 result=no
12858 else
12859 result=yes
12860 fi
12861 else
12862 result=$wxUSE_MOUSEWHEEL
12863 fi
12864
12865 { echo "$as_me:$LINENO: result: $result" >&5
12866 echo "${ECHO_T}$result" >&6; }
12867
12868
12869 enablestring=
12870 defaultval=$wxUSE_ALL_FEATURES
12871 if test -z "$defaultval"; then
12872 if test x"$enablestring" = xdisable; then
12873 defaultval=yes
12874 else
12875 defaultval=no
12876 fi
12877 fi
12878
12879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12880 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12881 # Check whether --enable-validators was given.
12882 if test "${enable_validators+set}" = set; then
12883 enableval=$enable_validators;
12884 if test "$enableval" = yes; then
12885 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12886 else
12887 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12888 fi
12889
12890 else
12891
12892 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12893
12894 fi
12895
12896
12897 eval "$wx_cv_use_validators"
12898
12899 if test x"$enablestring" = xdisable; then
12900 if test $wxUSE_VALIDATORS = yes; then
12901 result=no
12902 else
12903 result=yes
12904 fi
12905 else
12906 result=$wxUSE_VALIDATORS
12907 fi
12908
12909 { echo "$as_me:$LINENO: result: $result" >&5
12910 echo "${ECHO_T}$result" >&6; }
12911
12912
12913 enablestring=
12914 defaultval=$wxUSE_ALL_FEATURES
12915 if test -z "$defaultval"; then
12916 if test x"$enablestring" = xdisable; then
12917 defaultval=yes
12918 else
12919 defaultval=no
12920 fi
12921 fi
12922
12923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12924 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12925 # Check whether --enable-busyinfo was given.
12926 if test "${enable_busyinfo+set}" = set; then
12927 enableval=$enable_busyinfo;
12928 if test "$enableval" = yes; then
12929 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12930 else
12931 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12932 fi
12933
12934 else
12935
12936 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12937
12938 fi
12939
12940
12941 eval "$wx_cv_use_busyinfo"
12942
12943 if test x"$enablestring" = xdisable; then
12944 if test $wxUSE_BUSYINFO = yes; then
12945 result=no
12946 else
12947 result=yes
12948 fi
12949 else
12950 result=$wxUSE_BUSYINFO
12951 fi
12952
12953 { echo "$as_me:$LINENO: result: $result" >&5
12954 echo "${ECHO_T}$result" >&6; }
12955
12956
12957 enablestring=
12958 defaultval=$wxUSE_ALL_FEATURES
12959 if test -z "$defaultval"; then
12960 if test x"$enablestring" = xdisable; then
12961 defaultval=yes
12962 else
12963 defaultval=no
12964 fi
12965 fi
12966
12967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12968 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12969 # Check whether --enable-joystick was given.
12970 if test "${enable_joystick+set}" = set; then
12971 enableval=$enable_joystick;
12972 if test "$enableval" = yes; then
12973 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
12974 else
12975 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
12976 fi
12977
12978 else
12979
12980 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
12981
12982 fi
12983
12984
12985 eval "$wx_cv_use_joystick"
12986
12987 if test x"$enablestring" = xdisable; then
12988 if test $wxUSE_JOYSTICK = yes; then
12989 result=no
12990 else
12991 result=yes
12992 fi
12993 else
12994 result=$wxUSE_JOYSTICK
12995 fi
12996
12997 { echo "$as_me:$LINENO: result: $result" >&5
12998 echo "${ECHO_T}$result" >&6; }
12999
13000
13001 enablestring=
13002 defaultval=$wxUSE_ALL_FEATURES
13003 if test -z "$defaultval"; then
13004 if test x"$enablestring" = xdisable; then
13005 defaultval=yes
13006 else
13007 defaultval=no
13008 fi
13009 fi
13010
13011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13012 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13013 # Check whether --enable-metafile was given.
13014 if test "${enable_metafile+set}" = set; then
13015 enableval=$enable_metafile;
13016 if test "$enableval" = yes; then
13017 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13018 else
13019 wx_cv_use_metafile='wxUSE_METAFILE=no'
13020 fi
13021
13022 else
13023
13024 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13025
13026 fi
13027
13028
13029 eval "$wx_cv_use_metafile"
13030
13031 if test x"$enablestring" = xdisable; then
13032 if test $wxUSE_METAFILE = yes; then
13033 result=no
13034 else
13035 result=yes
13036 fi
13037 else
13038 result=$wxUSE_METAFILE
13039 fi
13040
13041 { echo "$as_me:$LINENO: result: $result" >&5
13042 echo "${ECHO_T}$result" >&6; }
13043
13044
13045 enablestring=
13046 defaultval=$wxUSE_ALL_FEATURES
13047 if test -z "$defaultval"; then
13048 if test x"$enablestring" = xdisable; then
13049 defaultval=yes
13050 else
13051 defaultval=no
13052 fi
13053 fi
13054
13055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13056 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13057 # Check whether --enable-dragimage was given.
13058 if test "${enable_dragimage+set}" = set; then
13059 enableval=$enable_dragimage;
13060 if test "$enableval" = yes; then
13061 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13062 else
13063 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13064 fi
13065
13066 else
13067
13068 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13069
13070 fi
13071
13072
13073 eval "$wx_cv_use_dragimage"
13074
13075 if test x"$enablestring" = xdisable; then
13076 if test $wxUSE_DRAGIMAGE = yes; then
13077 result=no
13078 else
13079 result=yes
13080 fi
13081 else
13082 result=$wxUSE_DRAGIMAGE
13083 fi
13084
13085 { echo "$as_me:$LINENO: result: $result" >&5
13086 echo "${ECHO_T}$result" >&6; }
13087
13088
13089 enablestring=
13090 defaultval=$wxUSE_ALL_FEATURES
13091 if test -z "$defaultval"; then
13092 if test x"$enablestring" = xdisable; then
13093 defaultval=yes
13094 else
13095 defaultval=no
13096 fi
13097 fi
13098
13099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13100 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13101 # Check whether --enable-accessibility was given.
13102 if test "${enable_accessibility+set}" = set; then
13103 enableval=$enable_accessibility;
13104 if test "$enableval" = yes; then
13105 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13106 else
13107 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13108 fi
13109
13110 else
13111
13112 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13113
13114 fi
13115
13116
13117 eval "$wx_cv_use_accessibility"
13118
13119 if test x"$enablestring" = xdisable; then
13120 if test $wxUSE_ACCESSIBILITY = yes; then
13121 result=no
13122 else
13123 result=yes
13124 fi
13125 else
13126 result=$wxUSE_ACCESSIBILITY
13127 fi
13128
13129 { echo "$as_me:$LINENO: result: $result" >&5
13130 echo "${ECHO_T}$result" >&6; }
13131
13132
13133
13134
13135 enablestring=
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13139 defaultval=yes
13140 else
13141 defaultval=no
13142 fi
13143 fi
13144
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13147 # Check whether --enable-palette was given.
13148 if test "${enable_palette+set}" = set; then
13149 enableval=$enable_palette;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_palette='wxUSE_PALETTE=yes'
13152 else
13153 wx_cv_use_palette='wxUSE_PALETTE=no'
13154 fi
13155
13156 else
13157
13158 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13159
13160 fi
13161
13162
13163 eval "$wx_cv_use_palette"
13164
13165 if test x"$enablestring" = xdisable; then
13166 if test $wxUSE_PALETTE = yes; then
13167 result=no
13168 else
13169 result=yes
13170 fi
13171 else
13172 result=$wxUSE_PALETTE
13173 fi
13174
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13177
13178
13179 enablestring=
13180 defaultval=$wxUSE_ALL_FEATURES
13181 if test -z "$defaultval"; then
13182 if test x"$enablestring" = xdisable; then
13183 defaultval=yes
13184 else
13185 defaultval=no
13186 fi
13187 fi
13188
13189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13190 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13191 # Check whether --enable-image was given.
13192 if test "${enable_image+set}" = set; then
13193 enableval=$enable_image;
13194 if test "$enableval" = yes; then
13195 wx_cv_use_image='wxUSE_IMAGE=yes'
13196 else
13197 wx_cv_use_image='wxUSE_IMAGE=no'
13198 fi
13199
13200 else
13201
13202 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13203
13204 fi
13205
13206
13207 eval "$wx_cv_use_image"
13208
13209 if test x"$enablestring" = xdisable; then
13210 if test $wxUSE_IMAGE = yes; then
13211 result=no
13212 else
13213 result=yes
13214 fi
13215 else
13216 result=$wxUSE_IMAGE
13217 fi
13218
13219 { echo "$as_me:$LINENO: result: $result" >&5
13220 echo "${ECHO_T}$result" >&6; }
13221
13222
13223 enablestring=
13224 defaultval=$wxUSE_ALL_FEATURES
13225 if test -z "$defaultval"; then
13226 if test x"$enablestring" = xdisable; then
13227 defaultval=yes
13228 else
13229 defaultval=no
13230 fi
13231 fi
13232
13233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13234 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13235 # Check whether --enable-gif was given.
13236 if test "${enable_gif+set}" = set; then
13237 enableval=$enable_gif;
13238 if test "$enableval" = yes; then
13239 wx_cv_use_gif='wxUSE_GIF=yes'
13240 else
13241 wx_cv_use_gif='wxUSE_GIF=no'
13242 fi
13243
13244 else
13245
13246 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13247
13248 fi
13249
13250
13251 eval "$wx_cv_use_gif"
13252
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_GIF = yes; then
13255 result=no
13256 else
13257 result=yes
13258 fi
13259 else
13260 result=$wxUSE_GIF
13261 fi
13262
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13265
13266
13267 enablestring=
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13271 defaultval=yes
13272 else
13273 defaultval=no
13274 fi
13275 fi
13276
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13279 # Check whether --enable-pcx was given.
13280 if test "${enable_pcx+set}" = set; then
13281 enableval=$enable_pcx;
13282 if test "$enableval" = yes; then
13283 wx_cv_use_pcx='wxUSE_PCX=yes'
13284 else
13285 wx_cv_use_pcx='wxUSE_PCX=no'
13286 fi
13287
13288 else
13289
13290 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13291
13292 fi
13293
13294
13295 eval "$wx_cv_use_pcx"
13296
13297 if test x"$enablestring" = xdisable; then
13298 if test $wxUSE_PCX = yes; then
13299 result=no
13300 else
13301 result=yes
13302 fi
13303 else
13304 result=$wxUSE_PCX
13305 fi
13306
13307 { echo "$as_me:$LINENO: result: $result" >&5
13308 echo "${ECHO_T}$result" >&6; }
13309
13310
13311 enablestring=
13312 defaultval=$wxUSE_ALL_FEATURES
13313 if test -z "$defaultval"; then
13314 if test x"$enablestring" = xdisable; then
13315 defaultval=yes
13316 else
13317 defaultval=no
13318 fi
13319 fi
13320
13321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13322 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13323 # Check whether --enable-tga was given.
13324 if test "${enable_tga+set}" = set; then
13325 enableval=$enable_tga;
13326 if test "$enableval" = yes; then
13327 wx_cv_use_tga='wxUSE_TGA=yes'
13328 else
13329 wx_cv_use_tga='wxUSE_TGA=no'
13330 fi
13331
13332 else
13333
13334 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13335
13336 fi
13337
13338
13339 eval "$wx_cv_use_tga"
13340
13341 if test x"$enablestring" = xdisable; then
13342 if test $wxUSE_TGA = yes; then
13343 result=no
13344 else
13345 result=yes
13346 fi
13347 else
13348 result=$wxUSE_TGA
13349 fi
13350
13351 { echo "$as_me:$LINENO: result: $result" >&5
13352 echo "${ECHO_T}$result" >&6; }
13353
13354
13355 enablestring=
13356 defaultval=$wxUSE_ALL_FEATURES
13357 if test -z "$defaultval"; then
13358 if test x"$enablestring" = xdisable; then
13359 defaultval=yes
13360 else
13361 defaultval=no
13362 fi
13363 fi
13364
13365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13366 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13367 # Check whether --enable-iff was given.
13368 if test "${enable_iff+set}" = set; then
13369 enableval=$enable_iff;
13370 if test "$enableval" = yes; then
13371 wx_cv_use_iff='wxUSE_IFF=yes'
13372 else
13373 wx_cv_use_iff='wxUSE_IFF=no'
13374 fi
13375
13376 else
13377
13378 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13379
13380 fi
13381
13382
13383 eval "$wx_cv_use_iff"
13384
13385 if test x"$enablestring" = xdisable; then
13386 if test $wxUSE_IFF = yes; then
13387 result=no
13388 else
13389 result=yes
13390 fi
13391 else
13392 result=$wxUSE_IFF
13393 fi
13394
13395 { echo "$as_me:$LINENO: result: $result" >&5
13396 echo "${ECHO_T}$result" >&6; }
13397
13398
13399 enablestring=
13400 defaultval=$wxUSE_ALL_FEATURES
13401 if test -z "$defaultval"; then
13402 if test x"$enablestring" = xdisable; then
13403 defaultval=yes
13404 else
13405 defaultval=no
13406 fi
13407 fi
13408
13409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13410 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13411 # Check whether --enable-pnm was given.
13412 if test "${enable_pnm+set}" = set; then
13413 enableval=$enable_pnm;
13414 if test "$enableval" = yes; then
13415 wx_cv_use_pnm='wxUSE_PNM=yes'
13416 else
13417 wx_cv_use_pnm='wxUSE_PNM=no'
13418 fi
13419
13420 else
13421
13422 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13423
13424 fi
13425
13426
13427 eval "$wx_cv_use_pnm"
13428
13429 if test x"$enablestring" = xdisable; then
13430 if test $wxUSE_PNM = yes; then
13431 result=no
13432 else
13433 result=yes
13434 fi
13435 else
13436 result=$wxUSE_PNM
13437 fi
13438
13439 { echo "$as_me:$LINENO: result: $result" >&5
13440 echo "${ECHO_T}$result" >&6; }
13441
13442
13443 enablestring=
13444 defaultval=$wxUSE_ALL_FEATURES
13445 if test -z "$defaultval"; then
13446 if test x"$enablestring" = xdisable; then
13447 defaultval=yes
13448 else
13449 defaultval=no
13450 fi
13451 fi
13452
13453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13454 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13455 # Check whether --enable-xpm was given.
13456 if test "${enable_xpm+set}" = set; then
13457 enableval=$enable_xpm;
13458 if test "$enableval" = yes; then
13459 wx_cv_use_xpm='wxUSE_XPM=yes'
13460 else
13461 wx_cv_use_xpm='wxUSE_XPM=no'
13462 fi
13463
13464 else
13465
13466 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13467
13468 fi
13469
13470
13471 eval "$wx_cv_use_xpm"
13472
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_XPM = yes; then
13475 result=no
13476 else
13477 result=yes
13478 fi
13479 else
13480 result=$wxUSE_XPM
13481 fi
13482
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13485
13486
13487 enablestring=
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13491 defaultval=yes
13492 else
13493 defaultval=no
13494 fi
13495 fi
13496
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13499 # Check whether --enable-ico_cur was given.
13500 if test "${enable_ico_cur+set}" = set; then
13501 enableval=$enable_ico_cur;
13502 if test "$enableval" = yes; then
13503 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13504 else
13505 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13506 fi
13507
13508 else
13509
13510 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13511
13512 fi
13513
13514
13515 eval "$wx_cv_use_ico_cur"
13516
13517 if test x"$enablestring" = xdisable; then
13518 if test $wxUSE_ICO_CUR = yes; then
13519 result=no
13520 else
13521 result=yes
13522 fi
13523 else
13524 result=$wxUSE_ICO_CUR
13525 fi
13526
13527 { echo "$as_me:$LINENO: result: $result" >&5
13528 echo "${ECHO_T}$result" >&6; }
13529
13530
13531
13532
13533 enablestring=
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13537 defaultval=yes
13538 else
13539 defaultval=no
13540 fi
13541 fi
13542
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13545 # Check whether --enable-dccache was given.
13546 if test "${enable_dccache+set}" = set; then
13547 enableval=$enable_dccache;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13550 else
13551 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13552 fi
13553
13554 else
13555
13556 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13557
13558 fi
13559
13560
13561 eval "$wx_cv_use_dccache"
13562
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_DC_CACHEING = yes; then
13565 result=no
13566 else
13567 result=yes
13568 fi
13569 else
13570 result=$wxUSE_DC_CACHEING
13571 fi
13572
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13575
13576
13577 enablestring=
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13581 defaultval=yes
13582 else
13583 defaultval=no
13584 fi
13585 fi
13586
13587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13588 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13589 # Check whether --enable-ps-in-msw was given.
13590 if test "${enable_ps_in_msw+set}" = set; then
13591 enableval=$enable_ps_in_msw;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13594 else
13595 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13596 fi
13597
13598 else
13599
13600 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13601
13602 fi
13603
13604
13605 eval "$wx_cv_use_ps_in_msw"
13606
13607 if test x"$enablestring" = xdisable; then
13608 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13609 result=no
13610 else
13611 result=yes
13612 fi
13613 else
13614 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13615 fi
13616
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13619
13620
13621 enablestring=
13622 defaultval=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x"$enablestring" = xdisable; then
13625 defaultval=yes
13626 else
13627 defaultval=no
13628 fi
13629 fi
13630
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13633 # Check whether --enable-ownerdrawn was given.
13634 if test "${enable_ownerdrawn+set}" = set; then
13635 enableval=$enable_ownerdrawn;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13638 else
13639 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13640 fi
13641
13642 else
13643
13644 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13645
13646 fi
13647
13648
13649 eval "$wx_cv_use_ownerdrawn"
13650
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_OWNER_DRAWN = yes; then
13653 result=no
13654 else
13655 result=yes
13656 fi
13657 else
13658 result=$wxUSE_OWNER_DRAWN
13659 fi
13660
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13663
13664
13665 enablestring=
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13669 defaultval=yes
13670 else
13671 defaultval=no
13672 fi
13673 fi
13674
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13677 # Check whether --enable-uxtheme was given.
13678 if test "${enable_uxtheme+set}" = set; then
13679 enableval=$enable_uxtheme;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13682 else
13683 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13684 fi
13685
13686 else
13687
13688 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13689
13690 fi
13691
13692
13693 eval "$wx_cv_use_uxtheme"
13694
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_UXTHEME = yes; then
13697 result=no
13698 else
13699 result=yes
13700 fi
13701 else
13702 result=$wxUSE_UXTHEME
13703 fi
13704
13705 { echo "$as_me:$LINENO: result: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13707
13708
13709 enablestring=
13710 defaultval=$wxUSE_ALL_FEATURES
13711 if test -z "$defaultval"; then
13712 if test x"$enablestring" = xdisable; then
13713 defaultval=yes
13714 else
13715 defaultval=no
13716 fi
13717 fi
13718
13719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13721 # Check whether --enable-wxdib was given.
13722 if test "${enable_wxdib+set}" = set; then
13723 enableval=$enable_wxdib;
13724 if test "$enableval" = yes; then
13725 wx_cv_use_wxdib='wxUSE_DIB=yes'
13726 else
13727 wx_cv_use_wxdib='wxUSE_DIB=no'
13728 fi
13729
13730 else
13731
13732 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13733
13734 fi
13735
13736
13737 eval "$wx_cv_use_wxdib"
13738
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_DIB = yes; then
13741 result=no
13742 else
13743 result=yes
13744 fi
13745 else
13746 result=$wxUSE_DIB
13747 fi
13748
13749 { echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6; }
13751
13752
13753 if test "$wxUSE_MSW" != 1; then
13754 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13755 fi
13756
13757
13758 enablestring=
13759 defaultval=$wxUSE_ALL_FEATURES
13760 if test -z "$defaultval"; then
13761 if test x"$enablestring" = xdisable; then
13762 defaultval=yes
13763 else
13764 defaultval=no
13765 fi
13766 fi
13767
13768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13769 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13770 # Check whether --enable-autoidman was given.
13771 if test "${enable_autoidman+set}" = set; then
13772 enableval=$enable_autoidman;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13775 else
13776 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13777 fi
13778
13779 else
13780
13781 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13782
13783 fi
13784
13785
13786 eval "$wx_cv_use_autoidman"
13787
13788 if test x"$enablestring" = xdisable; then
13789 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13790 result=no
13791 else
13792 result=yes
13793 fi
13794 else
13795 result=$wxUSE_AUTOID_MANAGEMENT
13796 fi
13797
13798 { echo "$as_me:$LINENO: result: $result" >&5
13799 echo "${ECHO_T}$result" >&6; }
13800
13801
13802 fi
13803
13804
13805 cat >confcache <<\_ACEOF
13806 # This file is a shell script that caches the results of configure
13807 # tests run on this system so they can be shared between configure
13808 # scripts and configure runs, see configure's option --config-cache.
13809 # It is not useful on other systems. If it contains results you don't
13810 # want to keep, you may remove or edit it.
13811 #
13812 # config.status only pays attention to the cache file if you give it
13813 # the --recheck option to rerun configure.
13814 #
13815 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13817 # following values.
13818
13819 _ACEOF
13820
13821 # The following way of writing the cache mishandles newlines in values,
13822 # but we know of no workaround that is simple, portable, and efficient.
13823 # So, we kill variables containing newlines.
13824 # Ultrix sh set writes to stderr and can't be redirected directly,
13825 # and sets the high bit in the cache file unless we assign to the vars.
13826 (
13827 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13828 eval ac_val=\$$ac_var
13829 case $ac_val in #(
13830 *${as_nl}*)
13831 case $ac_var in #(
13832 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13833 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13834 esac
13835 case $ac_var in #(
13836 _ | IFS | as_nl) ;; #(
13837 *) $as_unset $ac_var ;;
13838 esac ;;
13839 esac
13840 done
13841
13842 (set) 2>&1 |
13843 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13844 *${as_nl}ac_space=\ *)
13845 # `set' does not quote correctly, so add quotes (double-quote
13846 # substitution turns \\\\ into \\, and sed turns \\ into \).
13847 sed -n \
13848 "s/'/'\\\\''/g;
13849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13850 ;; #(
13851 *)
13852 # `set' quotes correctly as required by POSIX, so do not add quotes.
13853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13854 ;;
13855 esac |
13856 sort
13857 ) |
13858 sed '
13859 /^ac_cv_env_/b end
13860 t clear
13861 :clear
13862 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13863 t end
13864 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13865 :end' >>confcache
13866 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13867 if test -w "$cache_file"; then
13868 test "x$cache_file" != "x/dev/null" &&
13869 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13870 echo "$as_me: updating cache $cache_file" >&6;}
13871 cat confcache >$cache_file
13872 else
13873 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13874 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13875 fi
13876 fi
13877 rm -f confcache
13878
13879 CFLAGS=${CFLAGS:=}
13880
13881
13882
13883 ac_ext=c
13884 ac_cpp='$CPP $CPPFLAGS'
13885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13888 if test -n "$ac_tool_prefix"; then
13889 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13890 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13893 if test "${ac_cv_prog_CC+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13895 else
13896 if test -n "$CC"; then
13897 ac_cv_prog_CC="$CC" # Let the user override the test.
13898 else
13899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13900 for as_dir in $PATH
13901 do
13902 IFS=$as_save_IFS
13903 test -z "$as_dir" && as_dir=.
13904 for ac_exec_ext in '' $ac_executable_extensions; do
13905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13906 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13908 break 2
13909 fi
13910 done
13911 done
13912 IFS=$as_save_IFS
13913
13914 fi
13915 fi
13916 CC=$ac_cv_prog_CC
13917 if test -n "$CC"; then
13918 { echo "$as_me:$LINENO: result: $CC" >&5
13919 echo "${ECHO_T}$CC" >&6; }
13920 else
13921 { echo "$as_me:$LINENO: result: no" >&5
13922 echo "${ECHO_T}no" >&6; }
13923 fi
13924
13925
13926 fi
13927 if test -z "$ac_cv_prog_CC"; then
13928 ac_ct_CC=$CC
13929 # Extract the first word of "gcc", so it can be a program name with args.
13930 set dummy gcc; ac_word=$2
13931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13934 echo $ECHO_N "(cached) $ECHO_C" >&6
13935 else
13936 if test -n "$ac_ct_CC"; then
13937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13938 else
13939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13940 for as_dir in $PATH
13941 do
13942 IFS=$as_save_IFS
13943 test -z "$as_dir" && as_dir=.
13944 for ac_exec_ext in '' $ac_executable_extensions; do
13945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946 ac_cv_prog_ac_ct_CC="gcc"
13947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13948 break 2
13949 fi
13950 done
13951 done
13952 IFS=$as_save_IFS
13953
13954 fi
13955 fi
13956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13957 if test -n "$ac_ct_CC"; then
13958 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13959 echo "${ECHO_T}$ac_ct_CC" >&6; }
13960 else
13961 { echo "$as_me:$LINENO: result: no" >&5
13962 echo "${ECHO_T}no" >&6; }
13963 fi
13964
13965 if test "x$ac_ct_CC" = x; then
13966 CC=""
13967 else
13968 case $cross_compiling:$ac_tool_warned in
13969 yes:)
13970 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13971 whose name does not start with the host triplet. If you think this
13972 configuration is useful to you, please write to autoconf@gnu.org." >&5
13973 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13974 whose name does not start with the host triplet. If you think this
13975 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13976 ac_tool_warned=yes ;;
13977 esac
13978 CC=$ac_ct_CC
13979 fi
13980 else
13981 CC="$ac_cv_prog_CC"
13982 fi
13983
13984 if test -z "$CC"; then
13985 if test -n "$ac_tool_prefix"; then
13986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13987 set dummy ${ac_tool_prefix}cc; ac_word=$2
13988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13990 if test "${ac_cv_prog_CC+set}" = set; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 else
13993 if test -n "$CC"; then
13994 ac_cv_prog_CC="$CC" # Let the user override the test.
13995 else
13996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13997 for as_dir in $PATH
13998 do
13999 IFS=$as_save_IFS
14000 test -z "$as_dir" && as_dir=.
14001 for ac_exec_ext in '' $ac_executable_extensions; do
14002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14003 ac_cv_prog_CC="${ac_tool_prefix}cc"
14004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14005 break 2
14006 fi
14007 done
14008 done
14009 IFS=$as_save_IFS
14010
14011 fi
14012 fi
14013 CC=$ac_cv_prog_CC
14014 if test -n "$CC"; then
14015 { echo "$as_me:$LINENO: result: $CC" >&5
14016 echo "${ECHO_T}$CC" >&6; }
14017 else
14018 { echo "$as_me:$LINENO: result: no" >&5
14019 echo "${ECHO_T}no" >&6; }
14020 fi
14021
14022
14023 fi
14024 fi
14025 if test -z "$CC"; then
14026 # Extract the first word of "cc", so it can be a program name with args.
14027 set dummy cc; ac_word=$2
14028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14030 if test "${ac_cv_prog_CC+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 else
14033 if test -n "$CC"; then
14034 ac_cv_prog_CC="$CC" # Let the user override the test.
14035 else
14036 ac_prog_rejected=no
14037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038 for as_dir in $PATH
14039 do
14040 IFS=$as_save_IFS
14041 test -z "$as_dir" && as_dir=.
14042 for ac_exec_ext in '' $ac_executable_extensions; do
14043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14045 ac_prog_rejected=yes
14046 continue
14047 fi
14048 ac_cv_prog_CC="cc"
14049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14050 break 2
14051 fi
14052 done
14053 done
14054 IFS=$as_save_IFS
14055
14056 if test $ac_prog_rejected = yes; then
14057 # We found a bogon in the path, so make sure we never use it.
14058 set dummy $ac_cv_prog_CC
14059 shift
14060 if test $# != 0; then
14061 # We chose a different compiler from the bogus one.
14062 # However, it has the same basename, so the bogon will be chosen
14063 # first if we set CC to just the basename; use the full file name.
14064 shift
14065 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14066 fi
14067 fi
14068 fi
14069 fi
14070 CC=$ac_cv_prog_CC
14071 if test -n "$CC"; then
14072 { echo "$as_me:$LINENO: result: $CC" >&5
14073 echo "${ECHO_T}$CC" >&6; }
14074 else
14075 { echo "$as_me:$LINENO: result: no" >&5
14076 echo "${ECHO_T}no" >&6; }
14077 fi
14078
14079
14080 fi
14081 if test -z "$CC"; then
14082 if test -n "$ac_tool_prefix"; then
14083 for ac_prog in cl.exe
14084 do
14085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14086 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14089 if test "${ac_cv_prog_CC+set}" = set; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14091 else
14092 if test -n "$CC"; then
14093 ac_cv_prog_CC="$CC" # Let the user override the test.
14094 else
14095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14096 for as_dir in $PATH
14097 do
14098 IFS=$as_save_IFS
14099 test -z "$as_dir" && as_dir=.
14100 for ac_exec_ext in '' $ac_executable_extensions; do
14101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14102 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14104 break 2
14105 fi
14106 done
14107 done
14108 IFS=$as_save_IFS
14109
14110 fi
14111 fi
14112 CC=$ac_cv_prog_CC
14113 if test -n "$CC"; then
14114 { echo "$as_me:$LINENO: result: $CC" >&5
14115 echo "${ECHO_T}$CC" >&6; }
14116 else
14117 { echo "$as_me:$LINENO: result: no" >&5
14118 echo "${ECHO_T}no" >&6; }
14119 fi
14120
14121
14122 test -n "$CC" && break
14123 done
14124 fi
14125 if test -z "$CC"; then
14126 ac_ct_CC=$CC
14127 for ac_prog in cl.exe
14128 do
14129 # Extract the first word of "$ac_prog", so it can be a program name with args.
14130 set dummy $ac_prog; ac_word=$2
14131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14134 echo $ECHO_N "(cached) $ECHO_C" >&6
14135 else
14136 if test -n "$ac_ct_CC"; then
14137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14138 else
14139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14140 for as_dir in $PATH
14141 do
14142 IFS=$as_save_IFS
14143 test -z "$as_dir" && as_dir=.
14144 for ac_exec_ext in '' $ac_executable_extensions; do
14145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14146 ac_cv_prog_ac_ct_CC="$ac_prog"
14147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14148 break 2
14149 fi
14150 done
14151 done
14152 IFS=$as_save_IFS
14153
14154 fi
14155 fi
14156 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14157 if test -n "$ac_ct_CC"; then
14158 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14159 echo "${ECHO_T}$ac_ct_CC" >&6; }
14160 else
14161 { echo "$as_me:$LINENO: result: no" >&5
14162 echo "${ECHO_T}no" >&6; }
14163 fi
14164
14165
14166 test -n "$ac_ct_CC" && break
14167 done
14168
14169 if test "x$ac_ct_CC" = x; then
14170 CC=""
14171 else
14172 case $cross_compiling:$ac_tool_warned in
14173 yes:)
14174 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14175 whose name does not start with the host triplet. If you think this
14176 configuration is useful to you, please write to autoconf@gnu.org." >&5
14177 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14178 whose name does not start with the host triplet. If you think this
14179 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14180 ac_tool_warned=yes ;;
14181 esac
14182 CC=$ac_ct_CC
14183 fi
14184 fi
14185
14186 fi
14187
14188
14189 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14190 See \`config.log' for more details." >&5
14191 echo "$as_me: error: no acceptable C compiler found in \$PATH
14192 See \`config.log' for more details." >&2;}
14193 { (exit 1); exit 1; }; }
14194
14195 # Provide some information about the compiler.
14196 echo "$as_me:$LINENO: checking for C compiler version" >&5
14197 ac_compiler=`set X $ac_compile; echo $2`
14198 { (ac_try="$ac_compiler --version >&5"
14199 case "(($ac_try" in
14200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14201 *) ac_try_echo=$ac_try;;
14202 esac
14203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14204 (eval "$ac_compiler --version >&5") 2>&5
14205 ac_status=$?
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }
14208 { (ac_try="$ac_compiler -v >&5"
14209 case "(($ac_try" in
14210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14211 *) ac_try_echo=$ac_try;;
14212 esac
14213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14214 (eval "$ac_compiler -v >&5") 2>&5
14215 ac_status=$?
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }
14218 { (ac_try="$ac_compiler -V >&5"
14219 case "(($ac_try" in
14220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14221 *) ac_try_echo=$ac_try;;
14222 esac
14223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14224 (eval "$ac_compiler -V >&5") 2>&5
14225 ac_status=$?
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); }
14228
14229 cat >conftest.$ac_ext <<_ACEOF
14230 /* confdefs.h. */
14231 _ACEOF
14232 cat confdefs.h >>conftest.$ac_ext
14233 cat >>conftest.$ac_ext <<_ACEOF
14234 /* end confdefs.h. */
14235
14236 int
14237 main ()
14238 {
14239
14240 ;
14241 return 0;
14242 }
14243 _ACEOF
14244 ac_clean_files_save=$ac_clean_files
14245 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14246 # Try to create an executable without -o first, disregard a.out.
14247 # It will help us diagnose broken compilers, and finding out an intuition
14248 # of exeext.
14249 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14250 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14251 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14252 #
14253 # List of possible output files, starting from the most likely.
14254 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14255 # only as a last resort. b.out is created by i960 compilers.
14256 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14257 #
14258 # The IRIX 6 linker writes into existing files which may not be
14259 # executable, retaining their permissions. Remove them first so a
14260 # subsequent execution test works.
14261 ac_rmfiles=
14262 for ac_file in $ac_files
14263 do
14264 case $ac_file in
14265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14266 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14267 esac
14268 done
14269 rm -f $ac_rmfiles
14270
14271 if { (ac_try="$ac_link_default"
14272 case "(($ac_try" in
14273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14274 *) ac_try_echo=$ac_try;;
14275 esac
14276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14277 (eval "$ac_link_default") 2>&5
14278 ac_status=$?
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; then
14281 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14282 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14283 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14284 # so that the user can short-circuit this test for compilers unknown to
14285 # Autoconf.
14286 for ac_file in $ac_files ''
14287 do
14288 test -f "$ac_file" || continue
14289 case $ac_file in
14290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14291 ;;
14292 [ab].out )
14293 # We found the default executable, but exeext='' is most
14294 # certainly right.
14295 break;;
14296 *.* )
14297 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14298 then :; else
14299 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14300 fi
14301 # We set ac_cv_exeext here because the later test for it is not
14302 # safe: cross compilers may not add the suffix if given an `-o'
14303 # argument, so we may need to know it at that point already.
14304 # Even if this section looks crufty: it has the advantage of
14305 # actually working.
14306 break;;
14307 * )
14308 break;;
14309 esac
14310 done
14311 test "$ac_cv_exeext" = no && ac_cv_exeext=
14312
14313 else
14314 ac_file=''
14315 fi
14316
14317 { echo "$as_me:$LINENO: result: $ac_file" >&5
14318 echo "${ECHO_T}$ac_file" >&6; }
14319 if test -z "$ac_file"; then
14320 echo "$as_me: failed program was:" >&5
14321 sed 's/^/| /' conftest.$ac_ext >&5
14322
14323 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14324 See \`config.log' for more details." >&5
14325 echo "$as_me: error: C compiler cannot create executables
14326 See \`config.log' for more details." >&2;}
14327 { (exit 77); exit 77; }; }
14328 fi
14329
14330 ac_exeext=$ac_cv_exeext
14331
14332 # Check that the compiler produces executables we can run. If not, either
14333 # the compiler is broken, or we cross compile.
14334 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14335 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14336 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14337 # If not cross compiling, check that we can run a simple program.
14338 if test "$cross_compiling" != yes; then
14339 if { ac_try='./$ac_file'
14340 { (case "(($ac_try" in
14341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14342 *) ac_try_echo=$ac_try;;
14343 esac
14344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14345 (eval "$ac_try") 2>&5
14346 ac_status=$?
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }; }; then
14349 cross_compiling=no
14350 else
14351 if test "$cross_compiling" = maybe; then
14352 cross_compiling=yes
14353 else
14354 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14355 If you meant to cross compile, use \`--host'.
14356 See \`config.log' for more details." >&5
14357 echo "$as_me: error: cannot run C compiled programs.
14358 If you meant to cross compile, use \`--host'.
14359 See \`config.log' for more details." >&2;}
14360 { (exit 1); exit 1; }; }
14361 fi
14362 fi
14363 fi
14364 { echo "$as_me:$LINENO: result: yes" >&5
14365 echo "${ECHO_T}yes" >&6; }
14366
14367 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14368 ac_clean_files=$ac_clean_files_save
14369 # Check that the compiler produces executables we can run. If not, either
14370 # the compiler is broken, or we cross compile.
14371 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14372 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14373 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14374 echo "${ECHO_T}$cross_compiling" >&6; }
14375
14376 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14377 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14378 if { (ac_try="$ac_link"
14379 case "(($ac_try" in
14380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14381 *) ac_try_echo=$ac_try;;
14382 esac
14383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14384 (eval "$ac_link") 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; then
14388 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14389 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14390 # work properly (i.e., refer to `conftest.exe'), while it won't with
14391 # `rm'.
14392 for ac_file in conftest.exe conftest conftest.*; do
14393 test -f "$ac_file" || continue
14394 case $ac_file in
14395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14396 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14397 break;;
14398 * ) break;;
14399 esac
14400 done
14401 else
14402 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14403 See \`config.log' for more details." >&5
14404 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14405 See \`config.log' for more details." >&2;}
14406 { (exit 1); exit 1; }; }
14407 fi
14408
14409 rm -f conftest$ac_cv_exeext
14410 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14411 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14412
14413 rm -f conftest.$ac_ext
14414 EXEEXT=$ac_cv_exeext
14415 ac_exeext=$EXEEXT
14416 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14417 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14418 if test "${ac_cv_objext+set}" = set; then
14419 echo $ECHO_N "(cached) $ECHO_C" >&6
14420 else
14421 cat >conftest.$ac_ext <<_ACEOF
14422 /* confdefs.h. */
14423 _ACEOF
14424 cat confdefs.h >>conftest.$ac_ext
14425 cat >>conftest.$ac_ext <<_ACEOF
14426 /* end confdefs.h. */
14427
14428 int
14429 main ()
14430 {
14431
14432 ;
14433 return 0;
14434 }
14435 _ACEOF
14436 rm -f conftest.o conftest.obj
14437 if { (ac_try="$ac_compile"
14438 case "(($ac_try" in
14439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14440 *) ac_try_echo=$ac_try;;
14441 esac
14442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14443 (eval "$ac_compile") 2>&5
14444 ac_status=$?
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; then
14447 for ac_file in conftest.o conftest.obj conftest.*; do
14448 test -f "$ac_file" || continue;
14449 case $ac_file in
14450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14451 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14452 break;;
14453 esac
14454 done
14455 else
14456 echo "$as_me: failed program was:" >&5
14457 sed 's/^/| /' conftest.$ac_ext >&5
14458
14459 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14460 See \`config.log' for more details." >&5
14461 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14462 See \`config.log' for more details." >&2;}
14463 { (exit 1); exit 1; }; }
14464 fi
14465
14466 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14467 fi
14468 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14469 echo "${ECHO_T}$ac_cv_objext" >&6; }
14470 OBJEXT=$ac_cv_objext
14471 ac_objext=$OBJEXT
14472 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14473 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14474 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14475 echo $ECHO_N "(cached) $ECHO_C" >&6
14476 else
14477 cat >conftest.$ac_ext <<_ACEOF
14478 /* confdefs.h. */
14479 _ACEOF
14480 cat confdefs.h >>conftest.$ac_ext
14481 cat >>conftest.$ac_ext <<_ACEOF
14482 /* end confdefs.h. */
14483
14484 int
14485 main ()
14486 {
14487 #ifndef __GNUC__
14488 choke me
14489 #endif
14490
14491 ;
14492 return 0;
14493 }
14494 _ACEOF
14495 rm -f conftest.$ac_objext
14496 if { (ac_try="$ac_compile"
14497 case "(($ac_try" in
14498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14499 *) ac_try_echo=$ac_try;;
14500 esac
14501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14502 (eval "$ac_compile") 2>conftest.er1
14503 ac_status=$?
14504 grep -v '^ *+' conftest.er1 >conftest.err
14505 rm -f conftest.er1
14506 cat conftest.err >&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); } && {
14509 test -z "$ac_c_werror_flag" ||
14510 test ! -s conftest.err
14511 } && test -s conftest.$ac_objext; then
14512 ac_compiler_gnu=yes
14513 else
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14516
14517 ac_compiler_gnu=no
14518 fi
14519
14520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14521 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14522
14523 fi
14524 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14525 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14526 GCC=`test $ac_compiler_gnu = yes && echo yes`
14527 ac_test_CFLAGS=${CFLAGS+set}
14528 ac_save_CFLAGS=$CFLAGS
14529 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14530 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14531 if test "${ac_cv_prog_cc_g+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14533 else
14534 ac_save_c_werror_flag=$ac_c_werror_flag
14535 ac_c_werror_flag=yes
14536 ac_cv_prog_cc_g=no
14537 CFLAGS="-g"
14538 cat >conftest.$ac_ext <<_ACEOF
14539 /* confdefs.h. */
14540 _ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14544
14545 int
14546 main ()
14547 {
14548
14549 ;
14550 return 0;
14551 }
14552 _ACEOF
14553 rm -f conftest.$ac_objext
14554 if { (ac_try="$ac_compile"
14555 case "(($ac_try" in
14556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14558 esac
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_compile") 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest.$ac_objext; then
14570 ac_cv_prog_cc_g=yes
14571 else
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14574
14575 CFLAGS=""
14576 cat >conftest.$ac_ext <<_ACEOF
14577 /* confdefs.h. */
14578 _ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14582
14583 int
14584 main ()
14585 {
14586
14587 ;
14588 return 0;
14589 }
14590 _ACEOF
14591 rm -f conftest.$ac_objext
14592 if { (ac_try="$ac_compile"
14593 case "(($ac_try" in
14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14595 *) ac_try_echo=$ac_try;;
14596 esac
14597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14598 (eval "$ac_compile") 2>conftest.er1
14599 ac_status=$?
14600 grep -v '^ *+' conftest.er1 >conftest.err
14601 rm -f conftest.er1
14602 cat conftest.err >&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } && {
14605 test -z "$ac_c_werror_flag" ||
14606 test ! -s conftest.err
14607 } && test -s conftest.$ac_objext; then
14608 :
14609 else
14610 echo "$as_me: failed program was:" >&5
14611 sed 's/^/| /' conftest.$ac_ext >&5
14612
14613 ac_c_werror_flag=$ac_save_c_werror_flag
14614 CFLAGS="-g"
14615 cat >conftest.$ac_ext <<_ACEOF
14616 /* confdefs.h. */
14617 _ACEOF
14618 cat confdefs.h >>conftest.$ac_ext
14619 cat >>conftest.$ac_ext <<_ACEOF
14620 /* end confdefs.h. */
14621
14622 int
14623 main ()
14624 {
14625
14626 ;
14627 return 0;
14628 }
14629 _ACEOF
14630 rm -f conftest.$ac_objext
14631 if { (ac_try="$ac_compile"
14632 case "(($ac_try" in
14633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14634 *) ac_try_echo=$ac_try;;
14635 esac
14636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14637 (eval "$ac_compile") 2>conftest.er1
14638 ac_status=$?
14639 grep -v '^ *+' conftest.er1 >conftest.err
14640 rm -f conftest.er1
14641 cat conftest.err >&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); } && {
14644 test -z "$ac_c_werror_flag" ||
14645 test ! -s conftest.err
14646 } && test -s conftest.$ac_objext; then
14647 ac_cv_prog_cc_g=yes
14648 else
14649 echo "$as_me: failed program was:" >&5
14650 sed 's/^/| /' conftest.$ac_ext >&5
14651
14652
14653 fi
14654
14655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14656 fi
14657
14658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14659 fi
14660
14661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14662 ac_c_werror_flag=$ac_save_c_werror_flag
14663 fi
14664 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14665 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14666 if test "$ac_test_CFLAGS" = set; then
14667 CFLAGS=$ac_save_CFLAGS
14668 elif test $ac_cv_prog_cc_g = yes; then
14669 if test "$GCC" = yes; then
14670 CFLAGS="-g -O2"
14671 else
14672 CFLAGS="-g"
14673 fi
14674 else
14675 if test "$GCC" = yes; then
14676 CFLAGS="-O2"
14677 else
14678 CFLAGS=
14679 fi
14680 fi
14681 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14682 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14683 if test "${ac_cv_prog_cc_c89+set}" = set; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14685 else
14686 ac_cv_prog_cc_c89=no
14687 ac_save_CC=$CC
14688 cat >conftest.$ac_ext <<_ACEOF
14689 /* confdefs.h. */
14690 _ACEOF
14691 cat confdefs.h >>conftest.$ac_ext
14692 cat >>conftest.$ac_ext <<_ACEOF
14693 /* end confdefs.h. */
14694 #include <stdarg.h>
14695 #include <stdio.h>
14696 #include <sys/types.h>
14697 #include <sys/stat.h>
14698 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14699 struct buf { int x; };
14700 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14701 static char *e (p, i)
14702 char **p;
14703 int i;
14704 {
14705 return p[i];
14706 }
14707 static char *f (char * (*g) (char **, int), char **p, ...)
14708 {
14709 char *s;
14710 va_list v;
14711 va_start (v,p);
14712 s = g (p, va_arg (v,int));
14713 va_end (v);
14714 return s;
14715 }
14716
14717 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14718 function prototypes and stuff, but not '\xHH' hex character constants.
14719 These don't provoke an error unfortunately, instead are silently treated
14720 as 'x'. The following induces an error, until -std is added to get
14721 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14722 array size at least. It's necessary to write '\x00'==0 to get something
14723 that's true only with -std. */
14724 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14725
14726 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14727 inside strings and character constants. */
14728 #define FOO(x) 'x'
14729 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14730
14731 int test (int i, double x);
14732 struct s1 {int (*f) (int a);};
14733 struct s2 {int (*f) (double a);};
14734 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14735 int argc;
14736 char **argv;
14737 int
14738 main ()
14739 {
14740 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14741 ;
14742 return 0;
14743 }
14744 _ACEOF
14745 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14746 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14747 do
14748 CC="$ac_save_CC $ac_arg"
14749 rm -f conftest.$ac_objext
14750 if { (ac_try="$ac_compile"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14754 esac
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_compile") 2>conftest.er1
14757 ac_status=$?
14758 grep -v '^ *+' conftest.er1 >conftest.err
14759 rm -f conftest.er1
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } && {
14763 test -z "$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14765 } && test -s conftest.$ac_objext; then
14766 ac_cv_prog_cc_c89=$ac_arg
14767 else
14768 echo "$as_me: failed program was:" >&5
14769 sed 's/^/| /' conftest.$ac_ext >&5
14770
14771
14772 fi
14773
14774 rm -f core conftest.err conftest.$ac_objext
14775 test "x$ac_cv_prog_cc_c89" != "xno" && break
14776 done
14777 rm -f conftest.$ac_ext
14778 CC=$ac_save_CC
14779
14780 fi
14781 # AC_CACHE_VAL
14782 case "x$ac_cv_prog_cc_c89" in
14783 x)
14784 { echo "$as_me:$LINENO: result: none needed" >&5
14785 echo "${ECHO_T}none needed" >&6; } ;;
14786 xno)
14787 { echo "$as_me:$LINENO: result: unsupported" >&5
14788 echo "${ECHO_T}unsupported" >&6; } ;;
14789 *)
14790 CC="$CC $ac_cv_prog_cc_c89"
14791 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14792 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14793 esac
14794
14795
14796 ac_ext=c
14797 ac_cpp='$CPP $CPPFLAGS'
14798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14801
14802
14803
14804
14805 ac_ext=c
14806 ac_cpp='$CPP $CPPFLAGS'
14807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14810
14811 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14812 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14813 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 else
14816 cat >conftest.$ac_ext <<_ACEOF
14817 /* confdefs.h. */
14818 _ACEOF
14819 cat confdefs.h >>conftest.$ac_ext
14820 cat >>conftest.$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822
14823 int
14824 main ()
14825 {
14826
14827 #ifndef __INTEL_COMPILER
14828 choke me
14829 #endif
14830
14831 ;
14832 return 0;
14833 }
14834 _ACEOF
14835 rm -f conftest.$ac_objext
14836 if { (ac_try="$ac_compile"
14837 case "(($ac_try" in
14838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14839 *) ac_try_echo=$ac_try;;
14840 esac
14841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14842 (eval "$ac_compile") 2>conftest.er1
14843 ac_status=$?
14844 grep -v '^ *+' conftest.er1 >conftest.err
14845 rm -f conftest.er1
14846 cat conftest.err >&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } && {
14849 test -z "$ac_c_werror_flag" ||
14850 test ! -s conftest.err
14851 } && test -s conftest.$ac_objext; then
14852 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14853 else
14854 echo "$as_me: failed program was:" >&5
14855 sed 's/^/| /' conftest.$ac_ext >&5
14856
14857 bakefile_cv_c_compiler___INTEL_COMPILER=no
14858
14859 fi
14860
14861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14862
14863
14864 fi
14865 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14866 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14867 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14868 :; INTELCC=yes
14869 else
14870 :;
14871 fi
14872 ac_ext=c
14873 ac_cpp='$CPP $CPPFLAGS'
14874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14877
14878
14879
14880
14881 if test "x$GCC" != "xyes"; then
14882 if test "xCC" = "xC"; then
14883 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14884 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14885 if test "${bakefile_cv_c_exto+set}" = set; then
14886 echo $ECHO_N "(cached) $ECHO_C" >&6
14887 else
14888 cat >conftest.$ac_ext <<_ACEOF
14889 /* confdefs.h. */
14890 _ACEOF
14891 cat confdefs.h >>conftest.$ac_ext
14892 cat >>conftest.$ac_ext <<_ACEOF
14893 /* end confdefs.h. */
14894
14895 int
14896 main ()
14897 {
14898
14899 ;
14900 return 0;
14901 }
14902 _ACEOF
14903 rm -f conftest.$ac_objext conftest.$ac_ext.o
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>&5
14906 ac_status=$?
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; then
14909 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14910 case $ac_file in
14911 conftest.$ac_ext.o)
14912 bakefile_cv_c_exto="-ext o"
14913 ;;
14914 *)
14915 ;;
14916 esac
14917 done
14918 else
14919 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14920 See \`config.log' for more details." >&5
14921 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14922 See \`config.log' for more details." >&2;}
14923 { (exit 1); exit 1; }; }
14924
14925 fi
14926
14927 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14928
14929 fi
14930 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14931 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14932 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14933 if test "c" = "c"; then
14934 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14935 fi
14936 if test "c" = "cxx"; then
14937 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14938 fi
14939 fi
14940
14941 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14942 unset ac_cv_prog_cc_g
14943 ac_test_CFLAGS=${CFLAGS+set}
14944 ac_save_CFLAGS=$CFLAGS
14945 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14946 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14947 if test "${ac_cv_prog_cc_g+set}" = set; then
14948 echo $ECHO_N "(cached) $ECHO_C" >&6
14949 else
14950 ac_save_c_werror_flag=$ac_c_werror_flag
14951 ac_c_werror_flag=yes
14952 ac_cv_prog_cc_g=no
14953 CFLAGS="-g"
14954 cat >conftest.$ac_ext <<_ACEOF
14955 /* confdefs.h. */
14956 _ACEOF
14957 cat confdefs.h >>conftest.$ac_ext
14958 cat >>conftest.$ac_ext <<_ACEOF
14959 /* end confdefs.h. */
14960
14961 int
14962 main ()
14963 {
14964
14965 ;
14966 return 0;
14967 }
14968 _ACEOF
14969 rm -f conftest.$ac_objext
14970 if { (ac_try="$ac_compile"
14971 case "(($ac_try" in
14972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14973 *) ac_try_echo=$ac_try;;
14974 esac
14975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14976 (eval "$ac_compile") 2>conftest.er1
14977 ac_status=$?
14978 grep -v '^ *+' conftest.er1 >conftest.err
14979 rm -f conftest.er1
14980 cat conftest.err >&5
14981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982 (exit $ac_status); } && {
14983 test -z "$ac_c_werror_flag" ||
14984 test ! -s conftest.err
14985 } && test -s conftest.$ac_objext; then
14986 ac_cv_prog_cc_g=yes
14987 else
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.$ac_ext >&5
14990
14991 CFLAGS=""
14992 cat >conftest.$ac_ext <<_ACEOF
14993 /* confdefs.h. */
14994 _ACEOF
14995 cat confdefs.h >>conftest.$ac_ext
14996 cat >>conftest.$ac_ext <<_ACEOF
14997 /* end confdefs.h. */
14998
14999 int
15000 main ()
15001 {
15002
15003 ;
15004 return 0;
15005 }
15006 _ACEOF
15007 rm -f conftest.$ac_objext
15008 if { (ac_try="$ac_compile"
15009 case "(($ac_try" in
15010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15011 *) ac_try_echo=$ac_try;;
15012 esac
15013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15014 (eval "$ac_compile") 2>conftest.er1
15015 ac_status=$?
15016 grep -v '^ *+' conftest.er1 >conftest.err
15017 rm -f conftest.er1
15018 cat conftest.err >&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); } && {
15021 test -z "$ac_c_werror_flag" ||
15022 test ! -s conftest.err
15023 } && test -s conftest.$ac_objext; then
15024 :
15025 else
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15028
15029 ac_c_werror_flag=$ac_save_c_werror_flag
15030 CFLAGS="-g"
15031 cat >conftest.$ac_ext <<_ACEOF
15032 /* confdefs.h. */
15033 _ACEOF
15034 cat confdefs.h >>conftest.$ac_ext
15035 cat >>conftest.$ac_ext <<_ACEOF
15036 /* end confdefs.h. */
15037
15038 int
15039 main ()
15040 {
15041
15042 ;
15043 return 0;
15044 }
15045 _ACEOF
15046 rm -f conftest.$ac_objext
15047 if { (ac_try="$ac_compile"
15048 case "(($ac_try" in
15049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15050 *) ac_try_echo=$ac_try;;
15051 esac
15052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15053 (eval "$ac_compile") 2>conftest.er1
15054 ac_status=$?
15055 grep -v '^ *+' conftest.er1 >conftest.err
15056 rm -f conftest.er1
15057 cat conftest.err >&5
15058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15059 (exit $ac_status); } && {
15060 test -z "$ac_c_werror_flag" ||
15061 test ! -s conftest.err
15062 } && test -s conftest.$ac_objext; then
15063 ac_cv_prog_cc_g=yes
15064 else
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15067
15068
15069 fi
15070
15071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15072 fi
15073
15074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15075 fi
15076
15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15078 ac_c_werror_flag=$ac_save_c_werror_flag
15079 fi
15080 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15081 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15082 if test "$ac_test_CFLAGS" = set; then
15083 CFLAGS=$ac_save_CFLAGS
15084 elif test $ac_cv_prog_cc_g = yes; then
15085 if test "$GCC" = yes; then
15086 CFLAGS="-g -O2"
15087 else
15088 CFLAGS="-g"
15089 fi
15090 else
15091 if test "$GCC" = yes; then
15092 CFLAGS="-O2"
15093 else
15094 CFLAGS=
15095 fi
15096 fi
15097 fi
15098 fi
15099
15100 case `uname -s` in
15101 AIX*)
15102
15103
15104 ac_ext=c
15105 ac_cpp='$CPP $CPPFLAGS'
15106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15109
15110 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15111 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15112 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15113 echo $ECHO_N "(cached) $ECHO_C" >&6
15114 else
15115 cat >conftest.$ac_ext <<_ACEOF
15116 /* confdefs.h. */
15117 _ACEOF
15118 cat confdefs.h >>conftest.$ac_ext
15119 cat >>conftest.$ac_ext <<_ACEOF
15120 /* end confdefs.h. */
15121
15122 int
15123 main ()
15124 {
15125
15126 #ifndef __xlC__
15127 choke me
15128 #endif
15129
15130 ;
15131 return 0;
15132 }
15133 _ACEOF
15134 rm -f conftest.$ac_objext
15135 if { (ac_try="$ac_compile"
15136 case "(($ac_try" in
15137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15138 *) ac_try_echo=$ac_try;;
15139 esac
15140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15141 (eval "$ac_compile") 2>conftest.er1
15142 ac_status=$?
15143 grep -v '^ *+' conftest.er1 >conftest.err
15144 rm -f conftest.er1
15145 cat conftest.err >&5
15146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147 (exit $ac_status); } && {
15148 test -z "$ac_c_werror_flag" ||
15149 test ! -s conftest.err
15150 } && test -s conftest.$ac_objext; then
15151 bakefile_cv_c_compiler___xlC__=yes
15152 else
15153 echo "$as_me: failed program was:" >&5
15154 sed 's/^/| /' conftest.$ac_ext >&5
15155
15156 bakefile_cv_c_compiler___xlC__=no
15157
15158 fi
15159
15160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15161
15162
15163 fi
15164 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15165 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15166 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15167 :; XLCC=yes
15168 else
15169 :;
15170 fi
15171 ac_ext=c
15172 ac_cpp='$CPP $CPPFLAGS'
15173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15176
15177
15178
15179 ;;
15180
15181 Darwin)
15182
15183
15184 ac_ext=c
15185 ac_cpp='$CPP $CPPFLAGS'
15186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15189
15190 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15191 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15192 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15193 echo $ECHO_N "(cached) $ECHO_C" >&6
15194 else
15195 cat >conftest.$ac_ext <<_ACEOF
15196 /* confdefs.h. */
15197 _ACEOF
15198 cat confdefs.h >>conftest.$ac_ext
15199 cat >>conftest.$ac_ext <<_ACEOF
15200 /* end confdefs.h. */
15201
15202 int
15203 main ()
15204 {
15205
15206 #ifndef __MWERKS__
15207 choke me
15208 #endif
15209
15210 ;
15211 return 0;
15212 }
15213 _ACEOF
15214 rm -f conftest.$ac_objext
15215 if { (ac_try="$ac_compile"
15216 case "(($ac_try" in
15217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15218 *) ac_try_echo=$ac_try;;
15219 esac
15220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15221 (eval "$ac_compile") 2>conftest.er1
15222 ac_status=$?
15223 grep -v '^ *+' conftest.er1 >conftest.err
15224 rm -f conftest.er1
15225 cat conftest.err >&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); } && {
15228 test -z "$ac_c_werror_flag" ||
15229 test ! -s conftest.err
15230 } && test -s conftest.$ac_objext; then
15231 bakefile_cv_c_compiler___MWERKS__=yes
15232 else
15233 echo "$as_me: failed program was:" >&5
15234 sed 's/^/| /' conftest.$ac_ext >&5
15235
15236 bakefile_cv_c_compiler___MWERKS__=no
15237
15238 fi
15239
15240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15241
15242
15243 fi
15244 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15245 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15246 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15247 :; MWCC=yes
15248 else
15249 :;
15250 fi
15251 ac_ext=c
15252 ac_cpp='$CPP $CPPFLAGS'
15253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15256
15257
15258
15259
15260
15261 ac_ext=c
15262 ac_cpp='$CPP $CPPFLAGS'
15263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15266
15267 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15268 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15269 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 else
15272 cat >conftest.$ac_ext <<_ACEOF
15273 /* confdefs.h. */
15274 _ACEOF
15275 cat confdefs.h >>conftest.$ac_ext
15276 cat >>conftest.$ac_ext <<_ACEOF
15277 /* end confdefs.h. */
15278
15279 int
15280 main ()
15281 {
15282
15283 #ifndef __xlC__
15284 choke me
15285 #endif
15286
15287 ;
15288 return 0;
15289 }
15290 _ACEOF
15291 rm -f conftest.$ac_objext
15292 if { (ac_try="$ac_compile"
15293 case "(($ac_try" in
15294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15295 *) ac_try_echo=$ac_try;;
15296 esac
15297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15298 (eval "$ac_compile") 2>conftest.er1
15299 ac_status=$?
15300 grep -v '^ *+' conftest.er1 >conftest.err
15301 rm -f conftest.er1
15302 cat conftest.err >&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } && {
15305 test -z "$ac_c_werror_flag" ||
15306 test ! -s conftest.err
15307 } && test -s conftest.$ac_objext; then
15308 bakefile_cv_c_compiler___xlC__=yes
15309 else
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15312
15313 bakefile_cv_c_compiler___xlC__=no
15314
15315 fi
15316
15317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15318
15319
15320 fi
15321 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15322 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15323 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15324 :; XLCC=yes
15325 else
15326 :;
15327 fi
15328 ac_ext=c
15329 ac_cpp='$CPP $CPPFLAGS'
15330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15333
15334
15335
15336 ;;
15337
15338 IRIX*)
15339
15340
15341 ac_ext=c
15342 ac_cpp='$CPP $CPPFLAGS'
15343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15346
15347 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15348 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15349 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 else
15352 cat >conftest.$ac_ext <<_ACEOF
15353 /* confdefs.h. */
15354 _ACEOF
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15358
15359 int
15360 main ()
15361 {
15362
15363 #ifndef _SGI_COMPILER_VERSION
15364 choke me
15365 #endif
15366
15367 ;
15368 return 0;
15369 }
15370 _ACEOF
15371 rm -f conftest.$ac_objext
15372 if { (ac_try="$ac_compile"
15373 case "(($ac_try" in
15374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15375 *) ac_try_echo=$ac_try;;
15376 esac
15377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15378 (eval "$ac_compile") 2>conftest.er1
15379 ac_status=$?
15380 grep -v '^ *+' conftest.er1 >conftest.err
15381 rm -f conftest.er1
15382 cat conftest.err >&5
15383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384 (exit $ac_status); } && {
15385 test -z "$ac_c_werror_flag" ||
15386 test ! -s conftest.err
15387 } && test -s conftest.$ac_objext; then
15388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15389 else
15390 echo "$as_me: failed program was:" >&5
15391 sed 's/^/| /' conftest.$ac_ext >&5
15392
15393 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15394
15395 fi
15396
15397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15398
15399
15400 fi
15401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15402 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15404 :; SGICC=yes
15405 else
15406 :;
15407 fi
15408 ac_ext=c
15409 ac_cpp='$CPP $CPPFLAGS'
15410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15413
15414
15415
15416 ;;
15417
15418 Linux*)
15419
15420
15421 ac_ext=c
15422 ac_cpp='$CPP $CPPFLAGS'
15423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15426
15427 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15428 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15429 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15431 else
15432 cat >conftest.$ac_ext <<_ACEOF
15433 /* confdefs.h. */
15434 _ACEOF
15435 cat confdefs.h >>conftest.$ac_ext
15436 cat >>conftest.$ac_ext <<_ACEOF
15437 /* end confdefs.h. */
15438
15439 int
15440 main ()
15441 {
15442
15443 #ifndef __SUNPRO_C
15444 choke me
15445 #endif
15446
15447 ;
15448 return 0;
15449 }
15450 _ACEOF
15451 rm -f conftest.$ac_objext
15452 if { (ac_try="$ac_compile"
15453 case "(($ac_try" in
15454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15455 *) ac_try_echo=$ac_try;;
15456 esac
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458 (eval "$ac_compile") 2>conftest.er1
15459 ac_status=$?
15460 grep -v '^ *+' conftest.er1 >conftest.err
15461 rm -f conftest.er1
15462 cat conftest.err >&5
15463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464 (exit $ac_status); } && {
15465 test -z "$ac_c_werror_flag" ||
15466 test ! -s conftest.err
15467 } && test -s conftest.$ac_objext; then
15468 bakefile_cv_c_compiler___SUNPRO_C=yes
15469 else
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15472
15473 bakefile_cv_c_compiler___SUNPRO_C=no
15474
15475 fi
15476
15477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15478
15479
15480 fi
15481 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15482 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15483 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15484 :; SUNCC=yes
15485 else
15486 :;
15487 fi
15488 ac_ext=c
15489 ac_cpp='$CPP $CPPFLAGS'
15490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15493
15494
15495
15496 ;;
15497
15498 HP-UX*)
15499
15500
15501 ac_ext=c
15502 ac_cpp='$CPP $CPPFLAGS'
15503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15506
15507 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15508 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15509 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15511 else
15512 cat >conftest.$ac_ext <<_ACEOF
15513 /* confdefs.h. */
15514 _ACEOF
15515 cat confdefs.h >>conftest.$ac_ext
15516 cat >>conftest.$ac_ext <<_ACEOF
15517 /* end confdefs.h. */
15518
15519 int
15520 main ()
15521 {
15522
15523 #ifndef __HP_cc
15524 choke me
15525 #endif
15526
15527 ;
15528 return 0;
15529 }
15530 _ACEOF
15531 rm -f conftest.$ac_objext
15532 if { (ac_try="$ac_compile"
15533 case "(($ac_try" in
15534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15535 *) ac_try_echo=$ac_try;;
15536 esac
15537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15538 (eval "$ac_compile") 2>conftest.er1
15539 ac_status=$?
15540 grep -v '^ *+' conftest.er1 >conftest.err
15541 rm -f conftest.er1
15542 cat conftest.err >&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); } && {
15545 test -z "$ac_c_werror_flag" ||
15546 test ! -s conftest.err
15547 } && test -s conftest.$ac_objext; then
15548 bakefile_cv_c_compiler___HP_cc=yes
15549 else
15550 echo "$as_me: failed program was:" >&5
15551 sed 's/^/| /' conftest.$ac_ext >&5
15552
15553 bakefile_cv_c_compiler___HP_cc=no
15554
15555 fi
15556
15557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15558
15559
15560 fi
15561 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15562 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15563 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15564 :; HPCC=yes
15565 else
15566 :;
15567 fi
15568 ac_ext=c
15569 ac_cpp='$CPP $CPPFLAGS'
15570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15573
15574
15575
15576 ;;
15577
15578 OSF1)
15579
15580
15581 ac_ext=c
15582 ac_cpp='$CPP $CPPFLAGS'
15583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15586
15587 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15588 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15589 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15590 echo $ECHO_N "(cached) $ECHO_C" >&6
15591 else
15592 cat >conftest.$ac_ext <<_ACEOF
15593 /* confdefs.h. */
15594 _ACEOF
15595 cat confdefs.h >>conftest.$ac_ext
15596 cat >>conftest.$ac_ext <<_ACEOF
15597 /* end confdefs.h. */
15598
15599 int
15600 main ()
15601 {
15602
15603 #ifndef __DECC
15604 choke me
15605 #endif
15606
15607 ;
15608 return 0;
15609 }
15610 _ACEOF
15611 rm -f conftest.$ac_objext
15612 if { (ac_try="$ac_compile"
15613 case "(($ac_try" in
15614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15615 *) ac_try_echo=$ac_try;;
15616 esac
15617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15618 (eval "$ac_compile") 2>conftest.er1
15619 ac_status=$?
15620 grep -v '^ *+' conftest.er1 >conftest.err
15621 rm -f conftest.er1
15622 cat conftest.err >&5
15623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624 (exit $ac_status); } && {
15625 test -z "$ac_c_werror_flag" ||
15626 test ! -s conftest.err
15627 } && test -s conftest.$ac_objext; then
15628 bakefile_cv_c_compiler___DECC=yes
15629 else
15630 echo "$as_me: failed program was:" >&5
15631 sed 's/^/| /' conftest.$ac_ext >&5
15632
15633 bakefile_cv_c_compiler___DECC=no
15634
15635 fi
15636
15637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15638
15639
15640 fi
15641 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15642 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15643 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15644 :; COMPAQCC=yes
15645 else
15646 :;
15647 fi
15648 ac_ext=c
15649 ac_cpp='$CPP $CPPFLAGS'
15650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15653
15654
15655
15656 ;;
15657
15658 SunOS)
15659
15660
15661 ac_ext=c
15662 ac_cpp='$CPP $CPPFLAGS'
15663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15666
15667 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15668 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15669 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15670 echo $ECHO_N "(cached) $ECHO_C" >&6
15671 else
15672 cat >conftest.$ac_ext <<_ACEOF
15673 /* confdefs.h. */
15674 _ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15678
15679 int
15680 main ()
15681 {
15682
15683 #ifndef __SUNPRO_C
15684 choke me
15685 #endif
15686
15687 ;
15688 return 0;
15689 }
15690 _ACEOF
15691 rm -f conftest.$ac_objext
15692 if { (ac_try="$ac_compile"
15693 case "(($ac_try" in
15694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15695 *) ac_try_echo=$ac_try;;
15696 esac
15697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15698 (eval "$ac_compile") 2>conftest.er1
15699 ac_status=$?
15700 grep -v '^ *+' conftest.er1 >conftest.err
15701 rm -f conftest.er1
15702 cat conftest.err >&5
15703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); } && {
15705 test -z "$ac_c_werror_flag" ||
15706 test ! -s conftest.err
15707 } && test -s conftest.$ac_objext; then
15708 bakefile_cv_c_compiler___SUNPRO_C=yes
15709 else
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.$ac_ext >&5
15712
15713 bakefile_cv_c_compiler___SUNPRO_C=no
15714
15715 fi
15716
15717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15718
15719
15720 fi
15721 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15722 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15723 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15724 :; SUNCC=yes
15725 else
15726 :;
15727 fi
15728 ac_ext=c
15729 ac_cpp='$CPP $CPPFLAGS'
15730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15733
15734
15735
15736 ;;
15737 esac
15738 fi
15739
15740
15741
15742 ac_ext=c
15743 ac_cpp='$CPP $CPPFLAGS'
15744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15747 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15748 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15749 # On Suns, sometimes $CPP names a directory.
15750 if test -n "$CPP" && test -d "$CPP"; then
15751 CPP=
15752 fi
15753 if test -z "$CPP"; then
15754 if test "${ac_cv_prog_CPP+set}" = set; then
15755 echo $ECHO_N "(cached) $ECHO_C" >&6
15756 else
15757 # Double quotes because CPP needs to be expanded
15758 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15759 do
15760 ac_preproc_ok=false
15761 for ac_c_preproc_warn_flag in '' yes
15762 do
15763 # Use a header file that comes with gcc, so configuring glibc
15764 # with a fresh cross-compiler works.
15765 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15766 # <limits.h> exists even on freestanding compilers.
15767 # On the NeXT, cc -E runs the code through the compiler's parser,
15768 # not just through cpp. "Syntax error" is here to catch this case.
15769 cat >conftest.$ac_ext <<_ACEOF
15770 /* confdefs.h. */
15771 _ACEOF
15772 cat confdefs.h >>conftest.$ac_ext
15773 cat >>conftest.$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15775 #ifdef __STDC__
15776 # include <limits.h>
15777 #else
15778 # include <assert.h>
15779 #endif
15780 Syntax error
15781 _ACEOF
15782 if { (ac_try="$ac_cpp conftest.$ac_ext"
15783 case "(($ac_try" in
15784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15785 *) ac_try_echo=$ac_try;;
15786 esac
15787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15788 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15789 ac_status=$?
15790 grep -v '^ *+' conftest.er1 >conftest.err
15791 rm -f conftest.er1
15792 cat conftest.err >&5
15793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15794 (exit $ac_status); } >/dev/null && {
15795 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15796 test ! -s conftest.err
15797 }; then
15798 :
15799 else
15800 echo "$as_me: failed program was:" >&5
15801 sed 's/^/| /' conftest.$ac_ext >&5
15802
15803 # Broken: fails on valid input.
15804 continue
15805 fi
15806
15807 rm -f conftest.err conftest.$ac_ext
15808
15809 # OK, works on sane cases. Now check whether nonexistent headers
15810 # can be detected and how.
15811 cat >conftest.$ac_ext <<_ACEOF
15812 /* confdefs.h. */
15813 _ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15817 #include <ac_nonexistent.h>
15818 _ACEOF
15819 if { (ac_try="$ac_cpp conftest.$ac_ext"
15820 case "(($ac_try" in
15821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15822 *) ac_try_echo=$ac_try;;
15823 esac
15824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15826 ac_status=$?
15827 grep -v '^ *+' conftest.er1 >conftest.err
15828 rm -f conftest.er1
15829 cat conftest.err >&5
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); } >/dev/null && {
15832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15833 test ! -s conftest.err
15834 }; then
15835 # Broken: success on invalid input.
15836 continue
15837 else
15838 echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15840
15841 # Passes both tests.
15842 ac_preproc_ok=:
15843 break
15844 fi
15845
15846 rm -f conftest.err conftest.$ac_ext
15847
15848 done
15849 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15850 rm -f conftest.err conftest.$ac_ext
15851 if $ac_preproc_ok; then
15852 break
15853 fi
15854
15855 done
15856 ac_cv_prog_CPP=$CPP
15857
15858 fi
15859 CPP=$ac_cv_prog_CPP
15860 else
15861 ac_cv_prog_CPP=$CPP
15862 fi
15863 { echo "$as_me:$LINENO: result: $CPP" >&5
15864 echo "${ECHO_T}$CPP" >&6; }
15865 ac_preproc_ok=false
15866 for ac_c_preproc_warn_flag in '' yes
15867 do
15868 # Use a header file that comes with gcc, so configuring glibc
15869 # with a fresh cross-compiler works.
15870 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15871 # <limits.h> exists even on freestanding compilers.
15872 # On the NeXT, cc -E runs the code through the compiler's parser,
15873 # not just through cpp. "Syntax error" is here to catch this case.
15874 cat >conftest.$ac_ext <<_ACEOF
15875 /* confdefs.h. */
15876 _ACEOF
15877 cat confdefs.h >>conftest.$ac_ext
15878 cat >>conftest.$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880 #ifdef __STDC__
15881 # include <limits.h>
15882 #else
15883 # include <assert.h>
15884 #endif
15885 Syntax error
15886 _ACEOF
15887 if { (ac_try="$ac_cpp conftest.$ac_ext"
15888 case "(($ac_try" in
15889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15890 *) ac_try_echo=$ac_try;;
15891 esac
15892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15893 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15894 ac_status=$?
15895 grep -v '^ *+' conftest.er1 >conftest.err
15896 rm -f conftest.er1
15897 cat conftest.err >&5
15898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15899 (exit $ac_status); } >/dev/null && {
15900 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15901 test ! -s conftest.err
15902 }; then
15903 :
15904 else
15905 echo "$as_me: failed program was:" >&5
15906 sed 's/^/| /' conftest.$ac_ext >&5
15907
15908 # Broken: fails on valid input.
15909 continue
15910 fi
15911
15912 rm -f conftest.err conftest.$ac_ext
15913
15914 # OK, works on sane cases. Now check whether nonexistent headers
15915 # can be detected and how.
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 #include <ac_nonexistent.h>
15923 _ACEOF
15924 if { (ac_try="$ac_cpp conftest.$ac_ext"
15925 case "(($ac_try" in
15926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15927 *) ac_try_echo=$ac_try;;
15928 esac
15929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15930 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15931 ac_status=$?
15932 grep -v '^ *+' conftest.er1 >conftest.err
15933 rm -f conftest.er1
15934 cat conftest.err >&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } >/dev/null && {
15937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15938 test ! -s conftest.err
15939 }; then
15940 # Broken: success on invalid input.
15941 continue
15942 else
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15945
15946 # Passes both tests.
15947 ac_preproc_ok=:
15948 break
15949 fi
15950
15951 rm -f conftest.err conftest.$ac_ext
15952
15953 done
15954 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15955 rm -f conftest.err conftest.$ac_ext
15956 if $ac_preproc_ok; then
15957 :
15958 else
15959 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
15960 See \`config.log' for more details." >&5
15961 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
15962 See \`config.log' for more details." >&2;}
15963 { (exit 1); exit 1; }; }
15964 fi
15965
15966 ac_ext=c
15967 ac_cpp='$CPP $CPPFLAGS'
15968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15971
15972
15973 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
15974 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
15975 if test "${ac_cv_path_GREP+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15977 else
15978 # Extract the first word of "grep ggrep" to use in msg output
15979 if test -z "$GREP"; then
15980 set dummy grep ggrep; ac_prog_name=$2
15981 if test "${ac_cv_path_GREP+set}" = set; then
15982 echo $ECHO_N "(cached) $ECHO_C" >&6
15983 else
15984 ac_path_GREP_found=false
15985 # Loop through the user's path and test for each of PROGNAME-LIST
15986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15987 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15988 do
15989 IFS=$as_save_IFS
15990 test -z "$as_dir" && as_dir=.
15991 for ac_prog in grep ggrep; do
15992 for ac_exec_ext in '' $ac_executable_extensions; do
15993 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
15994 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
15995 # Check for GNU ac_path_GREP and select it if it is found.
15996 # Check for GNU $ac_path_GREP
15997 case `"$ac_path_GREP" --version 2>&1` in
15998 *GNU*)
15999 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16000 *)
16001 ac_count=0
16002 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16003 while :
16004 do
16005 cat "conftest.in" "conftest.in" >"conftest.tmp"
16006 mv "conftest.tmp" "conftest.in"
16007 cp "conftest.in" "conftest.nl"
16008 echo 'GREP' >> "conftest.nl"
16009 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16010 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16011 ac_count=`expr $ac_count + 1`
16012 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16013 # Best one so far, save it but keep looking for a better one
16014 ac_cv_path_GREP="$ac_path_GREP"
16015 ac_path_GREP_max=$ac_count
16016 fi
16017 # 10*(2^10) chars as input seems more than enough
16018 test $ac_count -gt 10 && break
16019 done
16020 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16021 esac
16022
16023
16024 $ac_path_GREP_found && break 3
16025 done
16026 done
16027
16028 done
16029 IFS=$as_save_IFS
16030
16031
16032 fi
16033
16034 GREP="$ac_cv_path_GREP"
16035 if test -z "$GREP"; then
16036 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16037 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16038 { (exit 1); exit 1; }; }
16039 fi
16040
16041 else
16042 ac_cv_path_GREP=$GREP
16043 fi
16044
16045
16046 fi
16047 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16048 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16049 GREP="$ac_cv_path_GREP"
16050
16051
16052 { echo "$as_me:$LINENO: checking for egrep" >&5
16053 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16054 if test "${ac_cv_path_EGREP+set}" = set; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 else
16057 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16058 then ac_cv_path_EGREP="$GREP -E"
16059 else
16060 # Extract the first word of "egrep" to use in msg output
16061 if test -z "$EGREP"; then
16062 set dummy egrep; ac_prog_name=$2
16063 if test "${ac_cv_path_EGREP+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 else
16066 ac_path_EGREP_found=false
16067 # Loop through the user's path and test for each of PROGNAME-LIST
16068 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16069 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16070 do
16071 IFS=$as_save_IFS
16072 test -z "$as_dir" && as_dir=.
16073 for ac_prog in egrep; do
16074 for ac_exec_ext in '' $ac_executable_extensions; do
16075 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16076 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16077 # Check for GNU ac_path_EGREP and select it if it is found.
16078 # Check for GNU $ac_path_EGREP
16079 case `"$ac_path_EGREP" --version 2>&1` in
16080 *GNU*)
16081 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16082 *)
16083 ac_count=0
16084 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16085 while :
16086 do
16087 cat "conftest.in" "conftest.in" >"conftest.tmp"
16088 mv "conftest.tmp" "conftest.in"
16089 cp "conftest.in" "conftest.nl"
16090 echo 'EGREP' >> "conftest.nl"
16091 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16092 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16093 ac_count=`expr $ac_count + 1`
16094 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16095 # Best one so far, save it but keep looking for a better one
16096 ac_cv_path_EGREP="$ac_path_EGREP"
16097 ac_path_EGREP_max=$ac_count
16098 fi
16099 # 10*(2^10) chars as input seems more than enough
16100 test $ac_count -gt 10 && break
16101 done
16102 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16103 esac
16104
16105
16106 $ac_path_EGREP_found && break 3
16107 done
16108 done
16109
16110 done
16111 IFS=$as_save_IFS
16112
16113
16114 fi
16115
16116 EGREP="$ac_cv_path_EGREP"
16117 if test -z "$EGREP"; then
16118 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16119 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16120 { (exit 1); exit 1; }; }
16121 fi
16122
16123 else
16124 ac_cv_path_EGREP=$EGREP
16125 fi
16126
16127
16128 fi
16129 fi
16130 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16131 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16132 EGREP="$ac_cv_path_EGREP"
16133
16134
16135 if test $ac_cv_c_compiler_gnu = yes; then
16136 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16137 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16138 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16140 else
16141 ac_pattern="Autoconf.*'x'"
16142 cat >conftest.$ac_ext <<_ACEOF
16143 /* confdefs.h. */
16144 _ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16148 #include <sgtty.h>
16149 Autoconf TIOCGETP
16150 _ACEOF
16151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16152 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16153 ac_cv_prog_gcc_traditional=yes
16154 else
16155 ac_cv_prog_gcc_traditional=no
16156 fi
16157 rm -f conftest*
16158
16159
16160 if test $ac_cv_prog_gcc_traditional = no; then
16161 cat >conftest.$ac_ext <<_ACEOF
16162 /* confdefs.h. */
16163 _ACEOF
16164 cat confdefs.h >>conftest.$ac_ext
16165 cat >>conftest.$ac_ext <<_ACEOF
16166 /* end confdefs.h. */
16167 #include <termio.h>
16168 Autoconf TCGETA
16169 _ACEOF
16170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16171 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16172 ac_cv_prog_gcc_traditional=yes
16173 fi
16174 rm -f conftest*
16175
16176 fi
16177 fi
16178 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16179 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16180 if test $ac_cv_prog_gcc_traditional = yes; then
16181 CC="$CC -traditional"
16182 fi
16183 fi
16184
16185
16186 CXXFLAGS=${CXXFLAGS:=}
16187
16188
16189
16190 ac_ext=cpp
16191 ac_cpp='$CXXCPP $CPPFLAGS'
16192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16195 if test -z "$CXX"; then
16196 if test -n "$CCC"; then
16197 CXX=$CCC
16198 else
16199 if test -n "$ac_tool_prefix"; then
16200 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16201 do
16202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16203 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16206 if test "${ac_cv_prog_CXX+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 else
16209 if test -n "$CXX"; then
16210 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16211 else
16212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16213 for as_dir in $PATH
16214 do
16215 IFS=$as_save_IFS
16216 test -z "$as_dir" && as_dir=.
16217 for ac_exec_ext in '' $ac_executable_extensions; do
16218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16219 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16221 break 2
16222 fi
16223 done
16224 done
16225 IFS=$as_save_IFS
16226
16227 fi
16228 fi
16229 CXX=$ac_cv_prog_CXX
16230 if test -n "$CXX"; then
16231 { echo "$as_me:$LINENO: result: $CXX" >&5
16232 echo "${ECHO_T}$CXX" >&6; }
16233 else
16234 { echo "$as_me:$LINENO: result: no" >&5
16235 echo "${ECHO_T}no" >&6; }
16236 fi
16237
16238
16239 test -n "$CXX" && break
16240 done
16241 fi
16242 if test -z "$CXX"; then
16243 ac_ct_CXX=$CXX
16244 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16245 do
16246 # Extract the first word of "$ac_prog", so it can be a program name with args.
16247 set dummy $ac_prog; ac_word=$2
16248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16250 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16251 echo $ECHO_N "(cached) $ECHO_C" >&6
16252 else
16253 if test -n "$ac_ct_CXX"; then
16254 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16255 else
16256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16257 for as_dir in $PATH
16258 do
16259 IFS=$as_save_IFS
16260 test -z "$as_dir" && as_dir=.
16261 for ac_exec_ext in '' $ac_executable_extensions; do
16262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16263 ac_cv_prog_ac_ct_CXX="$ac_prog"
16264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16265 break 2
16266 fi
16267 done
16268 done
16269 IFS=$as_save_IFS
16270
16271 fi
16272 fi
16273 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16274 if test -n "$ac_ct_CXX"; then
16275 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16276 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16277 else
16278 { echo "$as_me:$LINENO: result: no" >&5
16279 echo "${ECHO_T}no" >&6; }
16280 fi
16281
16282
16283 test -n "$ac_ct_CXX" && break
16284 done
16285
16286 if test "x$ac_ct_CXX" = x; then
16287 CXX="g++"
16288 else
16289 case $cross_compiling:$ac_tool_warned in
16290 yes:)
16291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16292 whose name does not start with the host triplet. If you think this
16293 configuration is useful to you, please write to autoconf@gnu.org." >&5
16294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16295 whose name does not start with the host triplet. If you think this
16296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16297 ac_tool_warned=yes ;;
16298 esac
16299 CXX=$ac_ct_CXX
16300 fi
16301 fi
16302
16303 fi
16304 fi
16305 # Provide some information about the compiler.
16306 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16307 ac_compiler=`set X $ac_compile; echo $2`
16308 { (ac_try="$ac_compiler --version >&5"
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_compiler --version >&5") 2>&5
16315 ac_status=$?
16316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317 (exit $ac_status); }
16318 { (ac_try="$ac_compiler -v >&5"
16319 case "(($ac_try" in
16320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16321 *) ac_try_echo=$ac_try;;
16322 esac
16323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16324 (eval "$ac_compiler -v >&5") 2>&5
16325 ac_status=$?
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); }
16328 { (ac_try="$ac_compiler -V >&5"
16329 case "(($ac_try" in
16330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16331 *) ac_try_echo=$ac_try;;
16332 esac
16333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16334 (eval "$ac_compiler -V >&5") 2>&5
16335 ac_status=$?
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }
16338
16339 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16340 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16341 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16343 else
16344 cat >conftest.$ac_ext <<_ACEOF
16345 /* confdefs.h. */
16346 _ACEOF
16347 cat confdefs.h >>conftest.$ac_ext
16348 cat >>conftest.$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16350
16351 int
16352 main ()
16353 {
16354 #ifndef __GNUC__
16355 choke me
16356 #endif
16357
16358 ;
16359 return 0;
16360 }
16361 _ACEOF
16362 rm -f conftest.$ac_objext
16363 if { (ac_try="$ac_compile"
16364 case "(($ac_try" in
16365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16366 *) ac_try_echo=$ac_try;;
16367 esac
16368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16369 (eval "$ac_compile") 2>conftest.er1
16370 ac_status=$?
16371 grep -v '^ *+' conftest.er1 >conftest.err
16372 rm -f conftest.er1
16373 cat conftest.err >&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); } && {
16376 test -z "$ac_cxx_werror_flag" ||
16377 test ! -s conftest.err
16378 } && test -s conftest.$ac_objext; then
16379 ac_compiler_gnu=yes
16380 else
16381 echo "$as_me: failed program was:" >&5
16382 sed 's/^/| /' conftest.$ac_ext >&5
16383
16384 ac_compiler_gnu=no
16385 fi
16386
16387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16388 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16389
16390 fi
16391 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16392 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16393 GXX=`test $ac_compiler_gnu = yes && echo yes`
16394 ac_test_CXXFLAGS=${CXXFLAGS+set}
16395 ac_save_CXXFLAGS=$CXXFLAGS
16396 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16397 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16398 if test "${ac_cv_prog_cxx_g+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16400 else
16401 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16402 ac_cxx_werror_flag=yes
16403 ac_cv_prog_cxx_g=no
16404 CXXFLAGS="-g"
16405 cat >conftest.$ac_ext <<_ACEOF
16406 /* confdefs.h. */
16407 _ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411
16412 int
16413 main ()
16414 {
16415
16416 ;
16417 return 0;
16418 }
16419 _ACEOF
16420 rm -f conftest.$ac_objext
16421 if { (ac_try="$ac_compile"
16422 case "(($ac_try" in
16423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16424 *) ac_try_echo=$ac_try;;
16425 esac
16426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16427 (eval "$ac_compile") 2>conftest.er1
16428 ac_status=$?
16429 grep -v '^ *+' conftest.er1 >conftest.err
16430 rm -f conftest.er1
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } && {
16434 test -z "$ac_cxx_werror_flag" ||
16435 test ! -s conftest.err
16436 } && test -s conftest.$ac_objext; then
16437 ac_cv_prog_cxx_g=yes
16438 else
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16441
16442 CXXFLAGS=""
16443 cat >conftest.$ac_ext <<_ACEOF
16444 /* confdefs.h. */
16445 _ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16449
16450 int
16451 main ()
16452 {
16453
16454 ;
16455 return 0;
16456 }
16457 _ACEOF
16458 rm -f conftest.$ac_objext
16459 if { (ac_try="$ac_compile"
16460 case "(($ac_try" in
16461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16462 *) ac_try_echo=$ac_try;;
16463 esac
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16465 (eval "$ac_compile") 2>conftest.er1
16466 ac_status=$?
16467 grep -v '^ *+' conftest.er1 >conftest.err
16468 rm -f conftest.er1
16469 cat conftest.err >&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } && {
16472 test -z "$ac_cxx_werror_flag" ||
16473 test ! -s conftest.err
16474 } && test -s conftest.$ac_objext; then
16475 :
16476 else
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.$ac_ext >&5
16479
16480 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16481 CXXFLAGS="-g"
16482 cat >conftest.$ac_ext <<_ACEOF
16483 /* confdefs.h. */
16484 _ACEOF
16485 cat confdefs.h >>conftest.$ac_ext
16486 cat >>conftest.$ac_ext <<_ACEOF
16487 /* end confdefs.h. */
16488
16489 int
16490 main ()
16491 {
16492
16493 ;
16494 return 0;
16495 }
16496 _ACEOF
16497 rm -f conftest.$ac_objext
16498 if { (ac_try="$ac_compile"
16499 case "(($ac_try" in
16500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16501 *) ac_try_echo=$ac_try;;
16502 esac
16503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16504 (eval "$ac_compile") 2>conftest.er1
16505 ac_status=$?
16506 grep -v '^ *+' conftest.er1 >conftest.err
16507 rm -f conftest.er1
16508 cat conftest.err >&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } && {
16511 test -z "$ac_cxx_werror_flag" ||
16512 test ! -s conftest.err
16513 } && test -s conftest.$ac_objext; then
16514 ac_cv_prog_cxx_g=yes
16515 else
16516 echo "$as_me: failed program was:" >&5
16517 sed 's/^/| /' conftest.$ac_ext >&5
16518
16519
16520 fi
16521
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16523 fi
16524
16525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16526 fi
16527
16528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16529 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16530 fi
16531 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16532 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16533 if test "$ac_test_CXXFLAGS" = set; then
16534 CXXFLAGS=$ac_save_CXXFLAGS
16535 elif test $ac_cv_prog_cxx_g = yes; then
16536 if test "$GXX" = yes; then
16537 CXXFLAGS="-g -O2"
16538 else
16539 CXXFLAGS="-g"
16540 fi
16541 else
16542 if test "$GXX" = yes; then
16543 CXXFLAGS="-O2"
16544 else
16545 CXXFLAGS=
16546 fi
16547 fi
16548 ac_ext=c
16549 ac_cpp='$CPP $CPPFLAGS'
16550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16553
16554
16555
16556
16557 ac_ext=cpp
16558 ac_cpp='$CXXCPP $CPPFLAGS'
16559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16562
16563 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16564 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16565 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16566 echo $ECHO_N "(cached) $ECHO_C" >&6
16567 else
16568 cat >conftest.$ac_ext <<_ACEOF
16569 /* confdefs.h. */
16570 _ACEOF
16571 cat confdefs.h >>conftest.$ac_ext
16572 cat >>conftest.$ac_ext <<_ACEOF
16573 /* end confdefs.h. */
16574
16575 int
16576 main ()
16577 {
16578
16579 #ifndef __INTEL_COMPILER
16580 choke me
16581 #endif
16582
16583 ;
16584 return 0;
16585 }
16586 _ACEOF
16587 rm -f conftest.$ac_objext
16588 if { (ac_try="$ac_compile"
16589 case "(($ac_try" in
16590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16591 *) ac_try_echo=$ac_try;;
16592 esac
16593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16594 (eval "$ac_compile") 2>conftest.er1
16595 ac_status=$?
16596 grep -v '^ *+' conftest.er1 >conftest.err
16597 rm -f conftest.er1
16598 cat conftest.err >&5
16599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16600 (exit $ac_status); } && {
16601 test -z "$ac_cxx_werror_flag" ||
16602 test ! -s conftest.err
16603 } && test -s conftest.$ac_objext; then
16604 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16605 else
16606 echo "$as_me: failed program was:" >&5
16607 sed 's/^/| /' conftest.$ac_ext >&5
16608
16609 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16610
16611 fi
16612
16613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16614
16615
16616 fi
16617 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16618 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16619 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16620 :; INTELCXX=yes
16621 else
16622 :;
16623 fi
16624 ac_ext=c
16625 ac_cpp='$CPP $CPPFLAGS'
16626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16629
16630
16631
16632
16633 if test "x$GCXX" != "xyes"; then
16634 if test "xCXX" = "xC"; then
16635 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16636 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16637 if test "${bakefile_cv_c_exto+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 else
16640 cat >conftest.$ac_ext <<_ACEOF
16641 /* confdefs.h. */
16642 _ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646
16647 int
16648 main ()
16649 {
16650
16651 ;
16652 return 0;
16653 }
16654 _ACEOF
16655 rm -f conftest.$ac_objext conftest.$ac_ext.o
16656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16657 (eval $ac_compile) 2>&5
16658 ac_status=$?
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; then
16661 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16662 case $ac_file in
16663 conftest.$ac_ext.o)
16664 bakefile_cv_c_exto="-ext o"
16665 ;;
16666 *)
16667 ;;
16668 esac
16669 done
16670 else
16671 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16672 See \`config.log' for more details." >&5
16673 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16674 See \`config.log' for more details." >&2;}
16675 { (exit 1); exit 1; }; }
16676
16677 fi
16678
16679 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16680
16681 fi
16682 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16683 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16684 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16685 if test "c" = "c"; then
16686 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16687 fi
16688 if test "c" = "cxx"; then
16689 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16690 fi
16691 fi
16692
16693 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16694 unset ac_cv_prog_cc_g
16695 ac_test_CFLAGS=${CFLAGS+set}
16696 ac_save_CFLAGS=$CFLAGS
16697 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16698 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16699 if test "${ac_cv_prog_cc_g+set}" = set; then
16700 echo $ECHO_N "(cached) $ECHO_C" >&6
16701 else
16702 ac_save_c_werror_flag=$ac_c_werror_flag
16703 ac_c_werror_flag=yes
16704 ac_cv_prog_cc_g=no
16705 CFLAGS="-g"
16706 cat >conftest.$ac_ext <<_ACEOF
16707 /* confdefs.h. */
16708 _ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16712
16713 int
16714 main ()
16715 {
16716
16717 ;
16718 return 0;
16719 }
16720 _ACEOF
16721 rm -f conftest.$ac_objext
16722 if { (ac_try="$ac_compile"
16723 case "(($ac_try" in
16724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16725 *) ac_try_echo=$ac_try;;
16726 esac
16727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16728 (eval "$ac_compile") 2>conftest.er1
16729 ac_status=$?
16730 grep -v '^ *+' conftest.er1 >conftest.err
16731 rm -f conftest.er1
16732 cat conftest.err >&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } && {
16735 test -z "$ac_c_werror_flag" ||
16736 test ! -s conftest.err
16737 } && test -s conftest.$ac_objext; then
16738 ac_cv_prog_cc_g=yes
16739 else
16740 echo "$as_me: failed program was:" >&5
16741 sed 's/^/| /' conftest.$ac_ext >&5
16742
16743 CFLAGS=""
16744 cat >conftest.$ac_ext <<_ACEOF
16745 /* confdefs.h. */
16746 _ACEOF
16747 cat confdefs.h >>conftest.$ac_ext
16748 cat >>conftest.$ac_ext <<_ACEOF
16749 /* end confdefs.h. */
16750
16751 int
16752 main ()
16753 {
16754
16755 ;
16756 return 0;
16757 }
16758 _ACEOF
16759 rm -f conftest.$ac_objext
16760 if { (ac_try="$ac_compile"
16761 case "(($ac_try" in
16762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16763 *) ac_try_echo=$ac_try;;
16764 esac
16765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16766 (eval "$ac_compile") 2>conftest.er1
16767 ac_status=$?
16768 grep -v '^ *+' conftest.er1 >conftest.err
16769 rm -f conftest.er1
16770 cat conftest.err >&5
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); } && {
16773 test -z "$ac_c_werror_flag" ||
16774 test ! -s conftest.err
16775 } && test -s conftest.$ac_objext; then
16776 :
16777 else
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.$ac_ext >&5
16780
16781 ac_c_werror_flag=$ac_save_c_werror_flag
16782 CFLAGS="-g"
16783 cat >conftest.$ac_ext <<_ACEOF
16784 /* confdefs.h. */
16785 _ACEOF
16786 cat confdefs.h >>conftest.$ac_ext
16787 cat >>conftest.$ac_ext <<_ACEOF
16788 /* end confdefs.h. */
16789
16790 int
16791 main ()
16792 {
16793
16794 ;
16795 return 0;
16796 }
16797 _ACEOF
16798 rm -f conftest.$ac_objext
16799 if { (ac_try="$ac_compile"
16800 case "(($ac_try" in
16801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16802 *) ac_try_echo=$ac_try;;
16803 esac
16804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16805 (eval "$ac_compile") 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } && {
16812 test -z "$ac_c_werror_flag" ||
16813 test ! -s conftest.err
16814 } && test -s conftest.$ac_objext; then
16815 ac_cv_prog_cc_g=yes
16816 else
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16819
16820
16821 fi
16822
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16824 fi
16825
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 fi
16828
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 ac_c_werror_flag=$ac_save_c_werror_flag
16831 fi
16832 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16833 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16834 if test "$ac_test_CFLAGS" = set; then
16835 CFLAGS=$ac_save_CFLAGS
16836 elif test $ac_cv_prog_cc_g = yes; then
16837 if test "$GCC" = yes; then
16838 CFLAGS="-g -O2"
16839 else
16840 CFLAGS="-g"
16841 fi
16842 else
16843 if test "$GCC" = yes; then
16844 CFLAGS="-O2"
16845 else
16846 CFLAGS=
16847 fi
16848 fi
16849 fi
16850 fi
16851
16852 case `uname -s` in
16853 AIX*)
16854
16855
16856 ac_ext=cpp
16857 ac_cpp='$CXXCPP $CPPFLAGS'
16858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16861
16862 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16863 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16864 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16866 else
16867 cat >conftest.$ac_ext <<_ACEOF
16868 /* confdefs.h. */
16869 _ACEOF
16870 cat confdefs.h >>conftest.$ac_ext
16871 cat >>conftest.$ac_ext <<_ACEOF
16872 /* end confdefs.h. */
16873
16874 int
16875 main ()
16876 {
16877
16878 #ifndef __xlC__
16879 choke me
16880 #endif
16881
16882 ;
16883 return 0;
16884 }
16885 _ACEOF
16886 rm -f conftest.$ac_objext
16887 if { (ac_try="$ac_compile"
16888 case "(($ac_try" in
16889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16890 *) ac_try_echo=$ac_try;;
16891 esac
16892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16893 (eval "$ac_compile") 2>conftest.er1
16894 ac_status=$?
16895 grep -v '^ *+' conftest.er1 >conftest.err
16896 rm -f conftest.er1
16897 cat conftest.err >&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); } && {
16900 test -z "$ac_cxx_werror_flag" ||
16901 test ! -s conftest.err
16902 } && test -s conftest.$ac_objext; then
16903 bakefile_cv_cxx_compiler___xlC__=yes
16904 else
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16907
16908 bakefile_cv_cxx_compiler___xlC__=no
16909
16910 fi
16911
16912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16913
16914
16915 fi
16916 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16917 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16918 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16919 :; XLCXX=yes
16920 else
16921 :;
16922 fi
16923 ac_ext=c
16924 ac_cpp='$CPP $CPPFLAGS'
16925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16928
16929
16930
16931 ;;
16932
16933 Darwin)
16934
16935
16936 ac_ext=cpp
16937 ac_cpp='$CXXCPP $CPPFLAGS'
16938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16941
16942 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16943 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16944 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16945 echo $ECHO_N "(cached) $ECHO_C" >&6
16946 else
16947 cat >conftest.$ac_ext <<_ACEOF
16948 /* confdefs.h. */
16949 _ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16953
16954 int
16955 main ()
16956 {
16957
16958 #ifndef __MWERKS__
16959 choke me
16960 #endif
16961
16962 ;
16963 return 0;
16964 }
16965 _ACEOF
16966 rm -f conftest.$ac_objext
16967 if { (ac_try="$ac_compile"
16968 case "(($ac_try" in
16969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;;
16971 esac
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 (eval "$ac_compile") 2>conftest.er1
16974 ac_status=$?
16975 grep -v '^ *+' conftest.er1 >conftest.err
16976 rm -f conftest.er1
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && {
16980 test -z "$ac_cxx_werror_flag" ||
16981 test ! -s conftest.err
16982 } && test -s conftest.$ac_objext; then
16983 bakefile_cv_cxx_compiler___MWERKS__=yes
16984 else
16985 echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16987
16988 bakefile_cv_cxx_compiler___MWERKS__=no
16989
16990 fi
16991
16992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16993
16994
16995 fi
16996 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
16997 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
16998 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
16999 :; MWCXX=yes
17000 else
17001 :;
17002 fi
17003 ac_ext=c
17004 ac_cpp='$CPP $CPPFLAGS'
17005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17008
17009
17010
17011
17012
17013 ac_ext=cpp
17014 ac_cpp='$CXXCPP $CPPFLAGS'
17015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17018
17019 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17020 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17021 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17022 echo $ECHO_N "(cached) $ECHO_C" >&6
17023 else
17024 cat >conftest.$ac_ext <<_ACEOF
17025 /* confdefs.h. */
17026 _ACEOF
17027 cat confdefs.h >>conftest.$ac_ext
17028 cat >>conftest.$ac_ext <<_ACEOF
17029 /* end confdefs.h. */
17030
17031 int
17032 main ()
17033 {
17034
17035 #ifndef __xlC__
17036 choke me
17037 #endif
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 rm -f conftest.$ac_objext
17044 if { (ac_try="$ac_compile"
17045 case "(($ac_try" in
17046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17047 *) ac_try_echo=$ac_try;;
17048 esac
17049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17050 (eval "$ac_compile") 2>conftest.er1
17051 ac_status=$?
17052 grep -v '^ *+' conftest.er1 >conftest.err
17053 rm -f conftest.er1
17054 cat conftest.err >&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } && {
17057 test -z "$ac_cxx_werror_flag" ||
17058 test ! -s conftest.err
17059 } && test -s conftest.$ac_objext; then
17060 bakefile_cv_cxx_compiler___xlC__=yes
17061 else
17062 echo "$as_me: failed program was:" >&5
17063 sed 's/^/| /' conftest.$ac_ext >&5
17064
17065 bakefile_cv_cxx_compiler___xlC__=no
17066
17067 fi
17068
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17070
17071
17072 fi
17073 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17074 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17075 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17076 :; XLCXX=yes
17077 else
17078 :;
17079 fi
17080 ac_ext=c
17081 ac_cpp='$CPP $CPPFLAGS'
17082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17085
17086
17087
17088 ;;
17089
17090 IRIX*)
17091
17092
17093 ac_ext=cpp
17094 ac_cpp='$CXXCPP $CPPFLAGS'
17095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17098
17099 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17100 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17101 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17102 echo $ECHO_N "(cached) $ECHO_C" >&6
17103 else
17104 cat >conftest.$ac_ext <<_ACEOF
17105 /* confdefs.h. */
17106 _ACEOF
17107 cat confdefs.h >>conftest.$ac_ext
17108 cat >>conftest.$ac_ext <<_ACEOF
17109 /* end confdefs.h. */
17110
17111 int
17112 main ()
17113 {
17114
17115 #ifndef _SGI_COMPILER_VERSION
17116 choke me
17117 #endif
17118
17119 ;
17120 return 0;
17121 }
17122 _ACEOF
17123 rm -f conftest.$ac_objext
17124 if { (ac_try="$ac_compile"
17125 case "(($ac_try" in
17126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17127 *) ac_try_echo=$ac_try;;
17128 esac
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_compile") 2>conftest.er1
17131 ac_status=$?
17132 grep -v '^ *+' conftest.er1 >conftest.err
17133 rm -f conftest.er1
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && {
17137 test -z "$ac_cxx_werror_flag" ||
17138 test ! -s conftest.err
17139 } && test -s conftest.$ac_objext; then
17140 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17141 else
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.$ac_ext >&5
17144
17145 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17146
17147 fi
17148
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150
17151
17152 fi
17153 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17154 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17155 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17156 :; SGICXX=yes
17157 else
17158 :;
17159 fi
17160 ac_ext=c
17161 ac_cpp='$CPP $CPPFLAGS'
17162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17165
17166
17167
17168 ;;
17169
17170 Linux*)
17171
17172
17173 ac_ext=cpp
17174 ac_cpp='$CXXCPP $CPPFLAGS'
17175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17178
17179 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17180 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17181 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17182 echo $ECHO_N "(cached) $ECHO_C" >&6
17183 else
17184 cat >conftest.$ac_ext <<_ACEOF
17185 /* confdefs.h. */
17186 _ACEOF
17187 cat confdefs.h >>conftest.$ac_ext
17188 cat >>conftest.$ac_ext <<_ACEOF
17189 /* end confdefs.h. */
17190
17191 int
17192 main ()
17193 {
17194
17195 #ifndef __SUNPRO_CC
17196 choke me
17197 #endif
17198
17199 ;
17200 return 0;
17201 }
17202 _ACEOF
17203 rm -f conftest.$ac_objext
17204 if { (ac_try="$ac_compile"
17205 case "(($ac_try" in
17206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17207 *) ac_try_echo=$ac_try;;
17208 esac
17209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17210 (eval "$ac_compile") 2>conftest.er1
17211 ac_status=$?
17212 grep -v '^ *+' conftest.er1 >conftest.err
17213 rm -f conftest.er1
17214 cat conftest.err >&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); } && {
17217 test -z "$ac_cxx_werror_flag" ||
17218 test ! -s conftest.err
17219 } && test -s conftest.$ac_objext; then
17220 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17221 else
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.$ac_ext >&5
17224
17225 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17226
17227 fi
17228
17229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17230
17231
17232 fi
17233 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17234 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17235 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17236 :; SUNCXX=yes
17237 else
17238 :;
17239 fi
17240 ac_ext=c
17241 ac_cpp='$CPP $CPPFLAGS'
17242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17245
17246
17247
17248 ;;
17249
17250 HP-UX*)
17251
17252
17253 ac_ext=cpp
17254 ac_cpp='$CXXCPP $CPPFLAGS'
17255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17258
17259 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17260 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17261 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17262 echo $ECHO_N "(cached) $ECHO_C" >&6
17263 else
17264 cat >conftest.$ac_ext <<_ACEOF
17265 /* confdefs.h. */
17266 _ACEOF
17267 cat confdefs.h >>conftest.$ac_ext
17268 cat >>conftest.$ac_ext <<_ACEOF
17269 /* end confdefs.h. */
17270
17271 int
17272 main ()
17273 {
17274
17275 #ifndef __HP_aCC
17276 choke me
17277 #endif
17278
17279 ;
17280 return 0;
17281 }
17282 _ACEOF
17283 rm -f conftest.$ac_objext
17284 if { (ac_try="$ac_compile"
17285 case "(($ac_try" in
17286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17287 *) ac_try_echo=$ac_try;;
17288 esac
17289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17290 (eval "$ac_compile") 2>conftest.er1
17291 ac_status=$?
17292 grep -v '^ *+' conftest.er1 >conftest.err
17293 rm -f conftest.er1
17294 cat conftest.err >&5
17295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17296 (exit $ac_status); } && {
17297 test -z "$ac_cxx_werror_flag" ||
17298 test ! -s conftest.err
17299 } && test -s conftest.$ac_objext; then
17300 bakefile_cv_cxx_compiler___HP_aCC=yes
17301 else
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17304
17305 bakefile_cv_cxx_compiler___HP_aCC=no
17306
17307 fi
17308
17309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17310
17311
17312 fi
17313 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17314 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17315 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17316 :; HPCXX=yes
17317 else
17318 :;
17319 fi
17320 ac_ext=c
17321 ac_cpp='$CPP $CPPFLAGS'
17322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17325
17326
17327
17328 ;;
17329
17330 OSF1)
17331
17332
17333 ac_ext=cpp
17334 ac_cpp='$CXXCPP $CPPFLAGS'
17335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17338
17339 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17340 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17341 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 else
17344 cat >conftest.$ac_ext <<_ACEOF
17345 /* confdefs.h. */
17346 _ACEOF
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17350
17351 int
17352 main ()
17353 {
17354
17355 #ifndef __DECCXX
17356 choke me
17357 #endif
17358
17359 ;
17360 return 0;
17361 }
17362 _ACEOF
17363 rm -f conftest.$ac_objext
17364 if { (ac_try="$ac_compile"
17365 case "(($ac_try" in
17366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17367 *) ac_try_echo=$ac_try;;
17368 esac
17369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17370 (eval "$ac_compile") 2>conftest.er1
17371 ac_status=$?
17372 grep -v '^ *+' conftest.er1 >conftest.err
17373 rm -f conftest.er1
17374 cat conftest.err >&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } && {
17377 test -z "$ac_cxx_werror_flag" ||
17378 test ! -s conftest.err
17379 } && test -s conftest.$ac_objext; then
17380 bakefile_cv_cxx_compiler___DECCXX=yes
17381 else
17382 echo "$as_me: failed program was:" >&5
17383 sed 's/^/| /' conftest.$ac_ext >&5
17384
17385 bakefile_cv_cxx_compiler___DECCXX=no
17386
17387 fi
17388
17389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17390
17391
17392 fi
17393 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17394 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17395 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17396 :; COMPAQCXX=yes
17397 else
17398 :;
17399 fi
17400 ac_ext=c
17401 ac_cpp='$CPP $CPPFLAGS'
17402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17405
17406
17407
17408 ;;
17409
17410 SunOS)
17411
17412
17413 ac_ext=cpp
17414 ac_cpp='$CXXCPP $CPPFLAGS'
17415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17418
17419 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17420 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17421 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17422 echo $ECHO_N "(cached) $ECHO_C" >&6
17423 else
17424 cat >conftest.$ac_ext <<_ACEOF
17425 /* confdefs.h. */
17426 _ACEOF
17427 cat confdefs.h >>conftest.$ac_ext
17428 cat >>conftest.$ac_ext <<_ACEOF
17429 /* end confdefs.h. */
17430
17431 int
17432 main ()
17433 {
17434
17435 #ifndef __SUNPRO_CC
17436 choke me
17437 #endif
17438
17439 ;
17440 return 0;
17441 }
17442 _ACEOF
17443 rm -f conftest.$ac_objext
17444 if { (ac_try="$ac_compile"
17445 case "(($ac_try" in
17446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17447 *) ac_try_echo=$ac_try;;
17448 esac
17449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17450 (eval "$ac_compile") 2>conftest.er1
17451 ac_status=$?
17452 grep -v '^ *+' conftest.er1 >conftest.err
17453 rm -f conftest.er1
17454 cat conftest.err >&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } && {
17457 test -z "$ac_cxx_werror_flag" ||
17458 test ! -s conftest.err
17459 } && test -s conftest.$ac_objext; then
17460 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17461 else
17462 echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17464
17465 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17466
17467 fi
17468
17469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17470
17471
17472 fi
17473 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17474 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17475 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17476 :; SUNCXX=yes
17477 else
17478 :;
17479 fi
17480 ac_ext=c
17481 ac_cpp='$CPP $CPPFLAGS'
17482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17485
17486
17487
17488 ;;
17489 esac
17490 fi
17491
17492
17493
17494 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17495 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17496 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17497 { (exit 1); exit 1; }; }
17498 fi
17499
17500 if test "x$SUNCXX" != xyes; then
17501 if test -n "$ac_tool_prefix"; then
17502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17503 set dummy ${ac_tool_prefix}ar; ac_word=$2
17504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17506 if test "${ac_cv_prog_AR+set}" = set; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17508 else
17509 if test -n "$AR"; then
17510 ac_cv_prog_AR="$AR" # Let the user override the test.
17511 else
17512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17513 for as_dir in $PATH
17514 do
17515 IFS=$as_save_IFS
17516 test -z "$as_dir" && as_dir=.
17517 for ac_exec_ext in '' $ac_executable_extensions; do
17518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17519 ac_cv_prog_AR="${ac_tool_prefix}ar"
17520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17521 break 2
17522 fi
17523 done
17524 done
17525 IFS=$as_save_IFS
17526
17527 fi
17528 fi
17529 AR=$ac_cv_prog_AR
17530 if test -n "$AR"; then
17531 { echo "$as_me:$LINENO: result: $AR" >&5
17532 echo "${ECHO_T}$AR" >&6; }
17533 else
17534 { echo "$as_me:$LINENO: result: no" >&5
17535 echo "${ECHO_T}no" >&6; }
17536 fi
17537
17538
17539 fi
17540 if test -z "$ac_cv_prog_AR"; then
17541 ac_ct_AR=$AR
17542 # Extract the first word of "ar", so it can be a program name with args.
17543 set dummy ar; ac_word=$2
17544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17547 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 else
17549 if test -n "$ac_ct_AR"; then
17550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17551 else
17552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17553 for as_dir in $PATH
17554 do
17555 IFS=$as_save_IFS
17556 test -z "$as_dir" && as_dir=.
17557 for ac_exec_ext in '' $ac_executable_extensions; do
17558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17559 ac_cv_prog_ac_ct_AR="ar"
17560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17561 break 2
17562 fi
17563 done
17564 done
17565 IFS=$as_save_IFS
17566
17567 fi
17568 fi
17569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17570 if test -n "$ac_ct_AR"; then
17571 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17572 echo "${ECHO_T}$ac_ct_AR" >&6; }
17573 else
17574 { echo "$as_me:$LINENO: result: no" >&5
17575 echo "${ECHO_T}no" >&6; }
17576 fi
17577
17578 if test "x$ac_ct_AR" = x; then
17579 AR=""
17580 else
17581 case $cross_compiling:$ac_tool_warned in
17582 yes:)
17583 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17584 whose name does not start with the host triplet. If you think this
17585 configuration is useful to you, please write to autoconf@gnu.org." >&5
17586 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17587 whose name does not start with the host triplet. If you think this
17588 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17589 ac_tool_warned=yes ;;
17590 esac
17591 AR=$ac_ct_AR
17592 fi
17593 else
17594 AR="$ac_cv_prog_AR"
17595 fi
17596
17597 if test "x$AR" = "x" ; then
17598 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17599 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17600 { (exit 1); exit 1; }; }
17601 fi
17602 fi
17603
17604 retest_macosx_linking=no
17605
17606 #if test "$wxUSE_MAC" = 1; then
17607 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17608 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17609 # Implicitly turn on the new --with-macosx-sdk using the default
17610 # SDK which provides the behavior this option has always had.
17611 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17612 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17613 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17614 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17615 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17616 wxUSE_MACOSX_SDK=yes
17617 fi
17618 else
17619 # Complain to user if he specified an argument to --enable-universal_binary
17620 # and also 1) specified --with-macosx-sdk using the default (yes) or
17621 # 2) specified --with-macosx-sdk using a path or 3) specified
17622 # --without-macosx-sdk (no).
17623 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17624 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17625 See \`config.log' for more details." >&5
17626 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17627 See \`config.log' for more details." >&2;}
17628 { (exit 1); exit 1; }; }
17629 else
17630 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17631 # special-case the empty string because the below test simply
17632 # converts "no" to the empty string anyway.
17633 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17634 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17635 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17636 fi
17637 fi
17638 OSX_UNIV_OPTS="-arch ppc -arch i386"
17639 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17640 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17641 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17642 retest_macosx_linking=yes
17643
17644 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17645 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17646 bk_use_pch=no
17647 fi
17648 #fi
17649
17650 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17651 wxUSE_MACOSX_SDK=
17652 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17653 # TODO: Search for most recent SDK and use it.
17654 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17655 fi
17656
17657
17658 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17659 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17660 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17661 if ! test -d "$wxUSE_MACOSX_SDK"; then
17662 { { echo "$as_me:$LINENO: error: not found
17663 See \`config.log' for more details." >&5
17664 echo "$as_me: error: not found
17665 See \`config.log' for more details." >&2;}
17666 { (exit 1); exit 1; }; }
17667 else
17668 { echo "$as_me:$LINENO: result: exists" >&5
17669 echo "${ECHO_T}exists" >&6; }
17670 fi
17671 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17672 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17673 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17674 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17675 retest_macosx_linking=yes
17676 fi
17677
17678 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17679 wxUSE_MACOSX_VERSION_MIN=
17680 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17681 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17682 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17683 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17684
17685 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/'`
17686
17687 # If that failed, try again with the new key
17688 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17689
17690 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/'`
17691
17692 fi
17693
17694 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17695 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17696 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17697 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17698 else
17699 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17700 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17701 wxUSE_MACOSX_VERSION_MIN=
17702 fi
17703 else
17704 wxUSE_MACOSX_VERSION_MIN=
17705 fi
17706 elif test "x$wxUSE_MACOSX_VERSION_MIN" == "x"; then
17707 if test "$wxUSE_MAC" = 1; then
17708 # otherwise configure stops on leopard for universal_binary
17709 wxUSE_MACOSX_VERSION_MIN=10.4
17710 fi
17711 fi
17712
17713 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17714 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17715 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17716 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17717 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17718 retest_macosx_linking=yes
17719 fi
17720
17721 if test "x$retest_macosx_linking" = "xyes"; then
17722 ac_ext=c
17723 ac_cpp='$CPP $CPPFLAGS'
17724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727
17728 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17729 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17730 cat >conftest.$ac_ext <<_ACEOF
17731 /* confdefs.h. */
17732 _ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17736
17737 int
17738 main ()
17739 {
17740
17741 ;
17742 return 0;
17743 }
17744 _ACEOF
17745 rm -f conftest.$ac_objext conftest$ac_exeext
17746 if { (ac_try="$ac_link"
17747 case "(($ac_try" in
17748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17749 *) ac_try_echo=$ac_try;;
17750 esac
17751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17752 (eval "$ac_link") 2>conftest.er1
17753 ac_status=$?
17754 grep -v '^ *+' conftest.er1 >conftest.err
17755 rm -f conftest.er1
17756 cat conftest.err >&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); } && {
17759 test -z "$ac_c_werror_flag" ||
17760 test ! -s conftest.err
17761 } && test -s conftest$ac_exeext &&
17762 $as_test_x conftest$ac_exeext; then
17763 { echo "$as_me:$LINENO: result: yes" >&5
17764 echo "${ECHO_T}yes" >&6; }
17765 else
17766 echo "$as_me: failed program was:" >&5
17767 sed 's/^/| /' conftest.$ac_ext >&5
17768
17769 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17770 See \`config.log' for more details." >&5
17771 echo "$as_me: error: no. Try a different SDK
17772 See \`config.log' for more details." >&2;}
17773 { (exit 1); exit 1; }; }; exit 1
17774 fi
17775
17776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17777 conftest$ac_exeext conftest.$ac_ext
17778 ac_ext=c
17779 ac_cpp='$CPP $CPPFLAGS'
17780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17783
17784
17785 ac_ext=cpp
17786 ac_cpp='$CXXCPP $CPPFLAGS'
17787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17790
17791 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17792 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17793 cat >conftest.$ac_ext <<_ACEOF
17794 /* confdefs.h. */
17795 _ACEOF
17796 cat confdefs.h >>conftest.$ac_ext
17797 cat >>conftest.$ac_ext <<_ACEOF
17798 /* end confdefs.h. */
17799
17800 int
17801 main ()
17802 {
17803
17804 ;
17805 return 0;
17806 }
17807 _ACEOF
17808 rm -f conftest.$ac_objext conftest$ac_exeext
17809 if { (ac_try="$ac_link"
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_link") 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_exeext &&
17825 $as_test_x conftest$ac_exeext; then
17826 { echo "$as_me:$LINENO: result: yes" >&5
17827 echo "${ECHO_T}yes" >&6; }
17828 else
17829 echo "$as_me: failed program was:" >&5
17830 sed 's/^/| /' conftest.$ac_ext >&5
17831
17832 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17833 See \`config.log' for more details." >&5
17834 echo "$as_me: error: no. Try a different SDK
17835 See \`config.log' for more details." >&2;}
17836 { (exit 1); exit 1; }; }; exit 1
17837 fi
17838
17839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17840 conftest$ac_exeext conftest.$ac_ext
17841 ac_ext=c
17842 ac_cpp='$CPP $CPPFLAGS'
17843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17846
17847 fi
17848
17849
17850 case "${host}" in
17851
17852 *-*-darwin* )
17853 INSTALL_PROGRAM="cp -fp"
17854 INSTALL_DATA="cp -fp"
17855 ;;
17856 *)
17857 ;;
17858 esac
17859
17860
17861 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17862 CXXFLAGS="-qunique $CXXFLAGS"
17863 fi
17864
17865 case "${host}" in
17866 powerpc-*-darwin* )
17867 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17868 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17869 cat >conftest.$ac_ext <<_ACEOF
17870 /* confdefs.h. */
17871 _ACEOF
17872 cat confdefs.h >>conftest.$ac_ext
17873 cat >>conftest.$ac_ext <<_ACEOF
17874 /* end confdefs.h. */
17875
17876 int
17877 main ()
17878 {
17879 #ifndef __POWERPC__
17880 choke me for lack of PowerPC
17881 #endif
17882
17883 ;
17884 return 0;
17885 }
17886 _ACEOF
17887 rm -f conftest.$ac_objext
17888 if { (ac_try="$ac_compile"
17889 case "(($ac_try" in
17890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17891 *) ac_try_echo=$ac_try;;
17892 esac
17893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17894 (eval "$ac_compile") 2>conftest.er1
17895 ac_status=$?
17896 grep -v '^ *+' conftest.er1 >conftest.err
17897 rm -f conftest.er1
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } && {
17901 test -z "$ac_c_werror_flag" ||
17902 test ! -s conftest.err
17903 } && test -s conftest.$ac_objext; then
17904 { echo "$as_me:$LINENO: result: yes" >&5
17905 echo "${ECHO_T}yes" >&6; }
17906 else
17907 echo "$as_me: failed program was:" >&5
17908 sed 's/^/| /' conftest.$ac_ext >&5
17909
17910 { echo "$as_me:$LINENO: result: no" >&5
17911 echo "${ECHO_T}no" >&6; }
17912 cat >>confdefs.h <<\_ACEOF
17913 #define __POWERPC__ 1
17914 _ACEOF
17915
17916
17917 fi
17918
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920 ;;
17921 esac
17922
17923 case "${host}" in
17924 *-*-darwin* )
17925 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17926 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17927 cat >conftest.$ac_ext <<_ACEOF
17928 /* confdefs.h. */
17929 _ACEOF
17930 cat confdefs.h >>conftest.$ac_ext
17931 cat >>conftest.$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #include <CoreFoundation/CFBase.h>
17934
17935 int
17936 main ()
17937 {
17938
17939 ;
17940 return 0;
17941 }
17942 _ACEOF
17943 rm -f conftest.$ac_objext
17944 if { (ac_try="$ac_compile"
17945 case "(($ac_try" in
17946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17947 *) ac_try_echo=$ac_try;;
17948 esac
17949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17950 (eval "$ac_compile") 2>conftest.er1
17951 ac_status=$?
17952 grep -v '^ *+' conftest.er1 >conftest.err
17953 rm -f conftest.er1
17954 cat conftest.err >&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && {
17957 test -z "$ac_c_werror_flag" ||
17958 test ! -s conftest.err
17959 } && test -s conftest.$ac_objext; then
17960 { echo "$as_me:$LINENO: result: yes" >&5
17961 echo "${ECHO_T}yes" >&6; }
17962 else
17963 echo "$as_me: failed program was:" >&5
17964 sed 's/^/| /' conftest.$ac_ext >&5
17965
17966 { echo "$as_me:$LINENO: result: no" >&5
17967 echo "${ECHO_T}no" >&6; }
17968 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17969 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17970 cat >conftest.$ac_ext <<_ACEOF
17971 /* confdefs.h. */
17972 _ACEOF
17973 cat confdefs.h >>conftest.$ac_ext
17974 cat >>conftest.$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976 #define __CF_USE_FRAMEWORK_INCLUDES__
17977 #include <CoreFoundation/CFBase.h>
17978
17979 int
17980 main ()
17981 {
17982
17983 ;
17984 return 0;
17985 }
17986 _ACEOF
17987 rm -f conftest.$ac_objext
17988 if { (ac_try="$ac_compile"
17989 case "(($ac_try" in
17990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17991 *) ac_try_echo=$ac_try;;
17992 esac
17993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17994 (eval "$ac_compile") 2>conftest.er1
17995 ac_status=$?
17996 grep -v '^ *+' conftest.er1 >conftest.err
17997 rm -f conftest.er1
17998 cat conftest.err >&5
17999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18000 (exit $ac_status); } && {
18001 test -z "$ac_c_werror_flag" ||
18002 test ! -s conftest.err
18003 } && test -s conftest.$ac_objext; then
18004 { echo "$as_me:$LINENO: result: yes" >&5
18005 echo "${ECHO_T}yes" >&6; }
18006 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18007 else
18008 echo "$as_me: failed program was:" >&5
18009 sed 's/^/| /' conftest.$ac_ext >&5
18010
18011 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18012 See \`config.log' for more details." >&5
18013 echo "$as_me: error: no. CoreFoundation not available.
18014 See \`config.log' for more details." >&2;}
18015 { (exit 1); exit 1; }; }
18016
18017 fi
18018
18019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18020
18021
18022 fi
18023
18024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18025 ;;
18026 esac
18027
18028 wants_win32=0
18029 doesnt_want_win32=0
18030 case "${host}" in
18031 *-*-cygwin*)
18032 if test "$wxUSE_MSW" = 1 ; then
18033 wants_win32=1
18034 else
18035 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18036 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18037 if test "${wx_cv_nocygwin+set}" = set; then
18038 echo $ECHO_N "(cached) $ECHO_C" >&6
18039 else
18040
18041 cat >conftest.$ac_ext <<_ACEOF
18042 /* confdefs.h. */
18043 _ACEOF
18044 cat confdefs.h >>conftest.$ac_ext
18045 cat >>conftest.$ac_ext <<_ACEOF
18046 /* end confdefs.h. */
18047
18048 int
18049 main ()
18050 {
18051
18052 #ifdef __MINGW32__
18053 choke me
18054 #endif
18055
18056 ;
18057 return 0;
18058 }
18059 _ACEOF
18060 rm -f conftest.$ac_objext
18061 if { (ac_try="$ac_compile"
18062 case "(($ac_try" in
18063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18064 *) ac_try_echo=$ac_try;;
18065 esac
18066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18067 (eval "$ac_compile") 2>conftest.er1
18068 ac_status=$?
18069 grep -v '^ *+' conftest.er1 >conftest.err
18070 rm -f conftest.er1
18071 cat conftest.err >&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); } && {
18074 test -z "$ac_c_werror_flag" ||
18075 test ! -s conftest.err
18076 } && test -s conftest.$ac_objext; then
18077 wx_cv_nocygwin=no
18078 else
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.$ac_ext >&5
18081
18082 wx_cv_nocygwin=yes
18083
18084 fi
18085
18086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18087
18088
18089 fi
18090 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18091 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18092
18093 if test "$wx_cv_nocygwin" = "yes"; then
18094 wants_win32=1
18095 else
18096 doesnt_want_win32=1
18097 fi
18098 fi
18099 if test "$wants_win32" = 1 ; then
18100 BAKEFILE_FORCE_PLATFORM=win32
18101 fi
18102 ;;
18103 *-*-mingw*)
18104 wants_win32=1
18105 ;;
18106 esac
18107
18108 if test "$wxUSE_WINE" = "yes"; then
18109 wants_win32=1
18110 LDFLAGS_GUI="-mwindows"
18111 fi
18112
18113 if test "$wants_win32" = 1 ; then
18114 USE_UNIX=0
18115 USE_WIN32=1
18116 cat >>confdefs.h <<\_ACEOF
18117 #define __WIN32__ 1
18118 _ACEOF
18119
18120 cat >>confdefs.h <<\_ACEOF
18121 #define __WIN95__ 1
18122 _ACEOF
18123
18124 cat >>confdefs.h <<\_ACEOF
18125 #define __WINDOWS__ 1
18126 _ACEOF
18127
18128 cat >>confdefs.h <<\_ACEOF
18129 #define __GNUWIN32__ 1
18130 _ACEOF
18131
18132 cat >>confdefs.h <<\_ACEOF
18133 #define STRICT 1
18134 _ACEOF
18135
18136 fi
18137 if test "$doesnt_want_win32" = 1 ; then
18138 USE_UNIX=1
18139 USE_WIN32=0
18140 fi
18141
18142 if test "$USE_UNIX" = 1 ; then
18143 wxUSE_UNIX=yes
18144 cat >>confdefs.h <<\_ACEOF
18145 #define __UNIX__ 1
18146 _ACEOF
18147
18148 fi
18149
18150 case "${host}" in
18151 *-pc-os2_emx | *-pc-os2-emx )
18152 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18153 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18154 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18155 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18156 echo $ECHO_N "(cached) $ECHO_C" >&6
18157 else
18158 ac_check_lib_save_LIBS=$LIBS
18159 LIBS="-lcExt $LIBS"
18160 cat >conftest.$ac_ext <<_ACEOF
18161 /* confdefs.h. */
18162 _ACEOF
18163 cat confdefs.h >>conftest.$ac_ext
18164 cat >>conftest.$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18166
18167 /* Override any GCC internal prototype to avoid an error.
18168 Use char because int might match the return type of a GCC
18169 builtin and then its argument prototype would still apply. */
18170 #ifdef __cplusplus
18171 extern "C"
18172 #endif
18173 char drand48 ();
18174 int
18175 main ()
18176 {
18177 return drand48 ();
18178 ;
18179 return 0;
18180 }
18181 _ACEOF
18182 rm -f conftest.$ac_objext conftest$ac_exeext
18183 if { (ac_try="$ac_link"
18184 case "(($ac_try" in
18185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18186 *) ac_try_echo=$ac_try;;
18187 esac
18188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18189 (eval "$ac_link") 2>conftest.er1
18190 ac_status=$?
18191 grep -v '^ *+' conftest.er1 >conftest.err
18192 rm -f conftest.er1
18193 cat conftest.err >&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); } && {
18196 test -z "$ac_c_werror_flag" ||
18197 test ! -s conftest.err
18198 } && test -s conftest$ac_exeext &&
18199 $as_test_x conftest$ac_exeext; then
18200 ac_cv_lib_cExt_drand48=yes
18201 else
18202 echo "$as_me: failed program was:" >&5
18203 sed 's/^/| /' conftest.$ac_ext >&5
18204
18205 ac_cv_lib_cExt_drand48=no
18206 fi
18207
18208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18209 conftest$ac_exeext conftest.$ac_ext
18210 LIBS=$ac_check_lib_save_LIBS
18211 fi
18212 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18213 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18214 if test $ac_cv_lib_cExt_drand48 = yes; then
18215 LIBS="$LIBS -lcExt"
18216 fi
18217
18218 else
18219 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18220 fi
18221 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18222 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18223 if test "${wx_cv_gccversion+set}" = set; then
18224 echo $ECHO_N "(cached) $ECHO_C" >&6
18225 else
18226
18227 if test "$cross_compiling" = yes; then
18228 wx_cv_gccversion="EMX2"
18229
18230 else
18231 cat >conftest.$ac_ext <<_ACEOF
18232 /* confdefs.h. */
18233 _ACEOF
18234 cat confdefs.h >>conftest.$ac_ext
18235 cat >>conftest.$ac_ext <<_ACEOF
18236 /* end confdefs.h. */
18237
18238 #include <stdio.h>
18239
18240 int main()
18241 {
18242 FILE *f=fopen("conftestval", "w");
18243 if (!f) exit(1);
18244 fprintf(f,
18245 #if (__GNUC__ < 3)
18246 "EMX2"
18247 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18248 "EMX3"
18249 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18250 "Innotek5"
18251 #else
18252 "Innotek6"
18253 #endif
18254 );
18255 exit(0);
18256 }
18257
18258 _ACEOF
18259 rm -f conftest$ac_exeext
18260 if { (ac_try="$ac_link"
18261 case "(($ac_try" in
18262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18263 *) ac_try_echo=$ac_try;;
18264 esac
18265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18266 (eval "$ac_link") 2>&5
18267 ac_status=$?
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18270 { (case "(($ac_try" in
18271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18272 *) ac_try_echo=$ac_try;;
18273 esac
18274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18275 (eval "$ac_try") 2>&5
18276 ac_status=$?
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); }; }; then
18279 wx_cv_gccversion=`cat conftestval`
18280 else
18281 echo "$as_me: program exited with status $ac_status" >&5
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.$ac_ext >&5
18284
18285 ( exit $ac_status )
18286 wx_cv_gccversion="EMX2"
18287 fi
18288 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18289 fi
18290
18291
18292
18293 fi
18294 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18295 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18296 if test "$wx_cv_gccversion" = "EMX2"; then
18297 LIBS="$LIBS -lstdcpp"
18298 LDFLAGS="$LDFLAGS -Zsysv-signals"
18299 else
18300 if test "$wx_cv_gccversion" = "EMX3"; then
18301 LIBS="$LIBS -lstdcxx -lgcc"
18302 LDFLAGS="$LDFLAGS -Zsysv-signals"
18303 else
18304 LIBS="$LIBS -lstdc++"
18305 fi
18306 fi
18307 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18308 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18309 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18310 wxUSE_OMF=yes
18311 enable_omf=yes
18312 fi
18313 ;;
18314 *)
18315
18316 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18317 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18318 if test "${ac_cv_string_strcasecmp+set}" = set; then
18319 echo $ECHO_N "(cached) $ECHO_C" >&6
18320 else
18321
18322 cat >conftest.$ac_ext <<_ACEOF
18323 /* confdefs.h. */
18324 _ACEOF
18325 cat confdefs.h >>conftest.$ac_ext
18326 cat >>conftest.$ac_ext <<_ACEOF
18327 /* end confdefs.h. */
18328
18329 #include <string.h>
18330
18331 int
18332 main ()
18333 {
18334
18335 strcasecmp("foo", "bar");
18336
18337 ;
18338 return 0;
18339 }
18340 _ACEOF
18341 rm -f conftest.$ac_objext conftest$ac_exeext
18342 if { (ac_try="$ac_link"
18343 case "(($ac_try" in
18344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18345 *) ac_try_echo=$ac_try;;
18346 esac
18347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18348 (eval "$ac_link") 2>conftest.er1
18349 ac_status=$?
18350 grep -v '^ *+' conftest.er1 >conftest.err
18351 rm -f conftest.er1
18352 cat conftest.err >&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); } && {
18355 test -z "$ac_c_werror_flag" ||
18356 test ! -s conftest.err
18357 } && test -s conftest$ac_exeext &&
18358 $as_test_x conftest$ac_exeext; then
18359 ac_cv_string_strcasecmp=yes
18360 else
18361 echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18363
18364 ac_cv_string_strcasecmp=no
18365
18366 fi
18367
18368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18369 conftest$ac_exeext conftest.$ac_ext
18370
18371 fi
18372 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18373 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18374
18375 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18376 cat >>confdefs.h <<\_ACEOF
18377 #define HAVE_STRCASECMP_IN_STRING_H 1
18378 _ACEOF
18379
18380 else
18381 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18382 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18383 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 else
18386
18387 cat >conftest.$ac_ext <<_ACEOF
18388 /* confdefs.h. */
18389 _ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18393
18394 #include <strings.h>
18395
18396 int
18397 main ()
18398 {
18399
18400 strcasecmp("foo", "bar");
18401
18402 ;
18403 return 0;
18404 }
18405 _ACEOF
18406 rm -f conftest.$ac_objext conftest$ac_exeext
18407 if { (ac_try="$ac_link"
18408 case "(($ac_try" in
18409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18410 *) ac_try_echo=$ac_try;;
18411 esac
18412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18413 (eval "$ac_link") 2>conftest.er1
18414 ac_status=$?
18415 grep -v '^ *+' conftest.er1 >conftest.err
18416 rm -f conftest.er1
18417 cat conftest.err >&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } && {
18420 test -z "$ac_c_werror_flag" ||
18421 test ! -s conftest.err
18422 } && test -s conftest$ac_exeext &&
18423 $as_test_x conftest$ac_exeext; then
18424 ac_cv_strings_strcasecmp=yes
18425 else
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18428
18429 ac_cv_strings_strcasecmp=no
18430
18431 fi
18432
18433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18434 conftest$ac_exeext conftest.$ac_ext
18435
18436 fi
18437 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18438 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18439
18440 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18441 cat >>confdefs.h <<\_ACEOF
18442 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18443 _ACEOF
18444
18445 else
18446 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18447 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18448 { (exit 1); exit 1; }; }
18449 fi
18450 fi
18451
18452 ;;
18453 esac
18454
18455
18456 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18457 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18458 if test "${ac_cv_header_stdc+set}" = set; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18460 else
18461 cat >conftest.$ac_ext <<_ACEOF
18462 /* confdefs.h. */
18463 _ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18467 #include <stdlib.h>
18468 #include <stdarg.h>
18469 #include <string.h>
18470 #include <float.h>
18471
18472 int
18473 main ()
18474 {
18475
18476 ;
18477 return 0;
18478 }
18479 _ACEOF
18480 rm -f conftest.$ac_objext
18481 if { (ac_try="$ac_compile"
18482 case "(($ac_try" in
18483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18484 *) ac_try_echo=$ac_try;;
18485 esac
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487 (eval "$ac_compile") 2>conftest.er1
18488 ac_status=$?
18489 grep -v '^ *+' conftest.er1 >conftest.err
18490 rm -f conftest.er1
18491 cat conftest.err >&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } && {
18494 test -z "$ac_c_werror_flag" ||
18495 test ! -s conftest.err
18496 } && test -s conftest.$ac_objext; then
18497 ac_cv_header_stdc=yes
18498 else
18499 echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18501
18502 ac_cv_header_stdc=no
18503 fi
18504
18505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18506
18507 if test $ac_cv_header_stdc = yes; then
18508 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18509 cat >conftest.$ac_ext <<_ACEOF
18510 /* confdefs.h. */
18511 _ACEOF
18512 cat confdefs.h >>conftest.$ac_ext
18513 cat >>conftest.$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18515 #include <string.h>
18516
18517 _ACEOF
18518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18519 $EGREP "memchr" >/dev/null 2>&1; then
18520 :
18521 else
18522 ac_cv_header_stdc=no
18523 fi
18524 rm -f conftest*
18525
18526 fi
18527
18528 if test $ac_cv_header_stdc = yes; then
18529 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18530 cat >conftest.$ac_ext <<_ACEOF
18531 /* confdefs.h. */
18532 _ACEOF
18533 cat confdefs.h >>conftest.$ac_ext
18534 cat >>conftest.$ac_ext <<_ACEOF
18535 /* end confdefs.h. */
18536 #include <stdlib.h>
18537
18538 _ACEOF
18539 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18540 $EGREP "free" >/dev/null 2>&1; then
18541 :
18542 else
18543 ac_cv_header_stdc=no
18544 fi
18545 rm -f conftest*
18546
18547 fi
18548
18549 if test $ac_cv_header_stdc = yes; then
18550 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18551 if test "$cross_compiling" = yes; then
18552 :
18553 else
18554 cat >conftest.$ac_ext <<_ACEOF
18555 /* confdefs.h. */
18556 _ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18560 #include <ctype.h>
18561 #include <stdlib.h>
18562 #if ((' ' & 0x0FF) == 0x020)
18563 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18564 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18565 #else
18566 # define ISLOWER(c) \
18567 (('a' <= (c) && (c) <= 'i') \
18568 || ('j' <= (c) && (c) <= 'r') \
18569 || ('s' <= (c) && (c) <= 'z'))
18570 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18571 #endif
18572
18573 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18574 int
18575 main ()
18576 {
18577 int i;
18578 for (i = 0; i < 256; i++)
18579 if (XOR (islower (i), ISLOWER (i))
18580 || toupper (i) != TOUPPER (i))
18581 return 2;
18582 return 0;
18583 }
18584 _ACEOF
18585 rm -f conftest$ac_exeext
18586 if { (ac_try="$ac_link"
18587 case "(($ac_try" in
18588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18589 *) ac_try_echo=$ac_try;;
18590 esac
18591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18592 (eval "$ac_link") 2>&5
18593 ac_status=$?
18594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18596 { (case "(($ac_try" in
18597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18598 *) ac_try_echo=$ac_try;;
18599 esac
18600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18601 (eval "$ac_try") 2>&5
18602 ac_status=$?
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 :
18606 else
18607 echo "$as_me: program exited with status $ac_status" >&5
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.$ac_ext >&5
18610
18611 ( exit $ac_status )
18612 ac_cv_header_stdc=no
18613 fi
18614 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18615 fi
18616
18617
18618 fi
18619 fi
18620 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18621 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18622 if test $ac_cv_header_stdc = yes; then
18623
18624 cat >>confdefs.h <<\_ACEOF
18625 #define STDC_HEADERS 1
18626 _ACEOF
18627
18628 fi
18629
18630 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18641 inttypes.h stdint.h unistd.h
18642 do
18643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18644 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18645 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18648 else
18649 cat >conftest.$ac_ext <<_ACEOF
18650 /* confdefs.h. */
18651 _ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 $ac_includes_default
18656
18657 #include <$ac_header>
18658 _ACEOF
18659 rm -f conftest.$ac_objext
18660 if { (ac_try="$ac_compile"
18661 case "(($ac_try" in
18662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18663 *) ac_try_echo=$ac_try;;
18664 esac
18665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18666 (eval "$ac_compile") 2>conftest.er1
18667 ac_status=$?
18668 grep -v '^ *+' conftest.er1 >conftest.err
18669 rm -f conftest.er1
18670 cat conftest.err >&5
18671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18672 (exit $ac_status); } && {
18673 test -z "$ac_c_werror_flag" ||
18674 test ! -s conftest.err
18675 } && test -s conftest.$ac_objext; then
18676 eval "$as_ac_Header=yes"
18677 else
18678 echo "$as_me: failed program was:" >&5
18679 sed 's/^/| /' conftest.$ac_ext >&5
18680
18681 eval "$as_ac_Header=no"
18682 fi
18683
18684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 fi
18686 ac_res=`eval echo '${'$as_ac_Header'}'`
18687 { echo "$as_me:$LINENO: result: $ac_res" >&5
18688 echo "${ECHO_T}$ac_res" >&6; }
18689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18690 cat >>confdefs.h <<_ACEOF
18691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18692 _ACEOF
18693
18694 fi
18695
18696 done
18697
18698
18699
18700
18701 for ac_header in langinfo.h wchar.h
18702 do
18703 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18704 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18706 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18708 else
18709 cat >conftest.$ac_ext <<_ACEOF
18710 /* confdefs.h. */
18711 _ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18716
18717 #include <$ac_header>
18718 _ACEOF
18719 rm -f conftest.$ac_objext
18720 if { (ac_try="$ac_compile"
18721 case "(($ac_try" in
18722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18723 *) ac_try_echo=$ac_try;;
18724 esac
18725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18726 (eval "$ac_compile") 2>conftest.er1
18727 ac_status=$?
18728 grep -v '^ *+' conftest.er1 >conftest.err
18729 rm -f conftest.er1
18730 cat conftest.err >&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } && {
18733 test -z "$ac_c_werror_flag" ||
18734 test ! -s conftest.err
18735 } && test -s conftest.$ac_objext; then
18736 eval "$as_ac_Header=yes"
18737 else
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.$ac_ext >&5
18740
18741 eval "$as_ac_Header=no"
18742 fi
18743
18744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18745 fi
18746 ac_res=`eval echo '${'$as_ac_Header'}'`
18747 { echo "$as_me:$LINENO: result: $ac_res" >&5
18748 echo "${ECHO_T}$ac_res" >&6; }
18749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18750 cat >>confdefs.h <<_ACEOF
18751 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18752 _ACEOF
18753
18754 fi
18755
18756 done
18757
18758
18759 if test "$ac_cv_header_wchar_h" != "yes"; then
18760
18761 for ac_header in wcstr.h
18762 do
18763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18767 echo $ECHO_N "(cached) $ECHO_C" >&6
18768 else
18769 cat >conftest.$ac_ext <<_ACEOF
18770 /* confdefs.h. */
18771 _ACEOF
18772 cat confdefs.h >>conftest.$ac_ext
18773 cat >>conftest.$ac_ext <<_ACEOF
18774 /* end confdefs.h. */
18775 $ac_includes_default
18776
18777 #include <$ac_header>
18778 _ACEOF
18779 rm -f conftest.$ac_objext
18780 if { (ac_try="$ac_compile"
18781 case "(($ac_try" in
18782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18783 *) ac_try_echo=$ac_try;;
18784 esac
18785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18786 (eval "$ac_compile") 2>conftest.er1
18787 ac_status=$?
18788 grep -v '^ *+' conftest.er1 >conftest.err
18789 rm -f conftest.er1
18790 cat conftest.err >&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); } && {
18793 test -z "$ac_c_werror_flag" ||
18794 test ! -s conftest.err
18795 } && test -s conftest.$ac_objext; then
18796 eval "$as_ac_Header=yes"
18797 else
18798 echo "$as_me: failed program was:" >&5
18799 sed 's/^/| /' conftest.$ac_ext >&5
18800
18801 eval "$as_ac_Header=no"
18802 fi
18803
18804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18805 fi
18806 ac_res=`eval echo '${'$as_ac_Header'}'`
18807 { echo "$as_me:$LINENO: result: $ac_res" >&5
18808 echo "${ECHO_T}$ac_res" >&6; }
18809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18810 cat >>confdefs.h <<_ACEOF
18811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18812 _ACEOF
18813
18814 fi
18815
18816 done
18817
18818 fi
18819
18820 case "${host}" in
18821 *-pc-os2_emx | *-pc-os2-emx )
18822 if test $ac_cv_header_langinfo_h = "yes" \
18823 -a \( "$wx_cv_gccversion" = "EMX2" \
18824 -o "$wx_cv_gccversion" = "EMX3" \
18825 -o "$wx_cv_gccversion" = "Innotek5" \); then
18826 LIBS="$LIBS -lintl"
18827 fi
18828 ;;
18829 esac
18830
18831 if test "$USE_UNIX" = 1 ; then
18832
18833 for ac_header in sys/select.h
18834 do
18835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18836 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18839 echo $ECHO_N "(cached) $ECHO_C" >&6
18840 else
18841 cat >conftest.$ac_ext <<_ACEOF
18842 /* confdefs.h. */
18843 _ACEOF
18844 cat confdefs.h >>conftest.$ac_ext
18845 cat >>conftest.$ac_ext <<_ACEOF
18846 /* end confdefs.h. */
18847 $ac_includes_default
18848
18849 #include <$ac_header>
18850 _ACEOF
18851 rm -f conftest.$ac_objext
18852 if { (ac_try="$ac_compile"
18853 case "(($ac_try" in
18854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18855 *) ac_try_echo=$ac_try;;
18856 esac
18857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_compile") 2>conftest.er1
18859 ac_status=$?
18860 grep -v '^ *+' conftest.er1 >conftest.err
18861 rm -f conftest.er1
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } && {
18865 test -z "$ac_c_werror_flag" ||
18866 test ! -s conftest.err
18867 } && test -s conftest.$ac_objext; then
18868 eval "$as_ac_Header=yes"
18869 else
18870 echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18872
18873 eval "$as_ac_Header=no"
18874 fi
18875
18876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18877 fi
18878 ac_res=`eval echo '${'$as_ac_Header'}'`
18879 { echo "$as_me:$LINENO: result: $ac_res" >&5
18880 echo "${ECHO_T}$ac_res" >&6; }
18881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18882 cat >>confdefs.h <<_ACEOF
18883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18884 _ACEOF
18885
18886 fi
18887
18888 done
18889
18890 fi
18891
18892
18893 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18894 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18895 if test "${ac_cv_c_const+set}" = set; then
18896 echo $ECHO_N "(cached) $ECHO_C" >&6
18897 else
18898 cat >conftest.$ac_ext <<_ACEOF
18899 /* confdefs.h. */
18900 _ACEOF
18901 cat confdefs.h >>conftest.$ac_ext
18902 cat >>conftest.$ac_ext <<_ACEOF
18903 /* end confdefs.h. */
18904
18905 int
18906 main ()
18907 {
18908 /* FIXME: Include the comments suggested by Paul. */
18909 #ifndef __cplusplus
18910 /* Ultrix mips cc rejects this. */
18911 typedef int charset[2];
18912 const charset cs;
18913 /* SunOS 4.1.1 cc rejects this. */
18914 char const *const *pcpcc;
18915 char **ppc;
18916 /* NEC SVR4.0.2 mips cc rejects this. */
18917 struct point {int x, y;};
18918 static struct point const zero = {0,0};
18919 /* AIX XL C 1.02.0.0 rejects this.
18920 It does not let you subtract one const X* pointer from another in
18921 an arm of an if-expression whose if-part is not a constant
18922 expression */
18923 const char *g = "string";
18924 pcpcc = &g + (g ? g-g : 0);
18925 /* HPUX 7.0 cc rejects these. */
18926 ++pcpcc;
18927 ppc = (char**) pcpcc;
18928 pcpcc = (char const *const *) ppc;
18929 { /* SCO 3.2v4 cc rejects this. */
18930 char *t;
18931 char const *s = 0 ? (char *) 0 : (char const *) 0;
18932
18933 *t++ = 0;
18934 if (s) return 0;
18935 }
18936 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18937 int x[] = {25, 17};
18938 const int *foo = &x[0];
18939 ++foo;
18940 }
18941 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18942 typedef const int *iptr;
18943 iptr p = 0;
18944 ++p;
18945 }
18946 { /* AIX XL C 1.02.0.0 rejects this saying
18947 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18948 struct s { int j; const int *ap[3]; };
18949 struct s *b; b->j = 5;
18950 }
18951 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18952 const int foo = 10;
18953 if (!foo) return 0;
18954 }
18955 return !cs[0] && !zero.x;
18956 #endif
18957
18958 ;
18959 return 0;
18960 }
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (ac_try="$ac_compile"
18964 case "(($ac_try" in
18965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18966 *) ac_try_echo=$ac_try;;
18967 esac
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_compile") 2>conftest.er1
18970 ac_status=$?
18971 grep -v '^ *+' conftest.er1 >conftest.err
18972 rm -f conftest.er1
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } && {
18976 test -z "$ac_c_werror_flag" ||
18977 test ! -s conftest.err
18978 } && test -s conftest.$ac_objext; then
18979 ac_cv_c_const=yes
18980 else
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18983
18984 ac_cv_c_const=no
18985 fi
18986
18987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18988 fi
18989 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18990 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18991 if test $ac_cv_c_const = no; then
18992
18993 cat >>confdefs.h <<\_ACEOF
18994 #define const
18995 _ACEOF
18996
18997 fi
18998
18999 { echo "$as_me:$LINENO: checking for inline" >&5
19000 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19001 if test "${ac_cv_c_inline+set}" = set; then
19002 echo $ECHO_N "(cached) $ECHO_C" >&6
19003 else
19004 ac_cv_c_inline=no
19005 for ac_kw in inline __inline__ __inline; do
19006 cat >conftest.$ac_ext <<_ACEOF
19007 /* confdefs.h. */
19008 _ACEOF
19009 cat confdefs.h >>conftest.$ac_ext
19010 cat >>conftest.$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 #ifndef __cplusplus
19013 typedef int foo_t;
19014 static $ac_kw foo_t static_foo () {return 0; }
19015 $ac_kw foo_t foo () {return 0; }
19016 #endif
19017
19018 _ACEOF
19019 rm -f conftest.$ac_objext
19020 if { (ac_try="$ac_compile"
19021 case "(($ac_try" in
19022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19023 *) ac_try_echo=$ac_try;;
19024 esac
19025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19026 (eval "$ac_compile") 2>conftest.er1
19027 ac_status=$?
19028 grep -v '^ *+' conftest.er1 >conftest.err
19029 rm -f conftest.er1
19030 cat conftest.err >&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } && {
19033 test -z "$ac_c_werror_flag" ||
19034 test ! -s conftest.err
19035 } && test -s conftest.$ac_objext; then
19036 ac_cv_c_inline=$ac_kw
19037 else
19038 echo "$as_me: failed program was:" >&5
19039 sed 's/^/| /' conftest.$ac_ext >&5
19040
19041
19042 fi
19043
19044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19045 test "$ac_cv_c_inline" != no && break
19046 done
19047
19048 fi
19049 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19050 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19051
19052
19053 case $ac_cv_c_inline in
19054 inline | yes) ;;
19055 *)
19056 case $ac_cv_c_inline in
19057 no) ac_val=;;
19058 *) ac_val=$ac_cv_c_inline;;
19059 esac
19060 cat >>confdefs.h <<_ACEOF
19061 #ifndef __cplusplus
19062 #define inline $ac_val
19063 #endif
19064 _ACEOF
19065 ;;
19066 esac
19067
19068
19069 { echo "$as_me:$LINENO: checking for short" >&5
19070 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19071 if test "${ac_cv_type_short+set}" = set; then
19072 echo $ECHO_N "(cached) $ECHO_C" >&6
19073 else
19074 cat >conftest.$ac_ext <<_ACEOF
19075 /* confdefs.h. */
19076 _ACEOF
19077 cat confdefs.h >>conftest.$ac_ext
19078 cat >>conftest.$ac_ext <<_ACEOF
19079 /* end confdefs.h. */
19080 $ac_includes_default
19081 typedef short ac__type_new_;
19082 int
19083 main ()
19084 {
19085 if ((ac__type_new_ *) 0)
19086 return 0;
19087 if (sizeof (ac__type_new_))
19088 return 0;
19089 ;
19090 return 0;
19091 }
19092 _ACEOF
19093 rm -f conftest.$ac_objext
19094 if { (ac_try="$ac_compile"
19095 case "(($ac_try" in
19096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19097 *) ac_try_echo=$ac_try;;
19098 esac
19099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19100 (eval "$ac_compile") 2>conftest.er1
19101 ac_status=$?
19102 grep -v '^ *+' conftest.er1 >conftest.err
19103 rm -f conftest.er1
19104 cat conftest.err >&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); } && {
19107 test -z "$ac_c_werror_flag" ||
19108 test ! -s conftest.err
19109 } && test -s conftest.$ac_objext; then
19110 ac_cv_type_short=yes
19111 else
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19114
19115 ac_cv_type_short=no
19116 fi
19117
19118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19119 fi
19120 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19121 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19122
19123 # The cast to long int works around a bug in the HP C Compiler
19124 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19125 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19126 # This bug is HP SR number 8606223364.
19127 { echo "$as_me:$LINENO: checking size of short" >&5
19128 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19129 if test "${ac_cv_sizeof_short+set}" = set; then
19130 echo $ECHO_N "(cached) $ECHO_C" >&6
19131 else
19132 if test "$cross_compiling" = yes; then
19133 # Depending upon the size, compute the lo and hi bounds.
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h. */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 $ac_includes_default
19141 typedef short ac__type_sizeof_;
19142 int
19143 main ()
19144 {
19145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19146 test_array [0] = 0
19147
19148 ;
19149 return 0;
19150 }
19151 _ACEOF
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19157 esac
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_c_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19169 ac_lo=0 ac_mid=0
19170 while :; do
19171 cat >conftest.$ac_ext <<_ACEOF
19172 /* confdefs.h. */
19173 _ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19178 typedef short ac__type_sizeof_;
19179 int
19180 main ()
19181 {
19182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19183 test_array [0] = 0
19184
19185 ;
19186 return 0;
19187 }
19188 _ACEOF
19189 rm -f conftest.$ac_objext
19190 if { (ac_try="$ac_compile"
19191 case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19194 esac
19195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_compile") 2>conftest.er1
19197 ac_status=$?
19198 grep -v '^ *+' conftest.er1 >conftest.err
19199 rm -f conftest.er1
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } && {
19203 test -z "$ac_c_werror_flag" ||
19204 test ! -s conftest.err
19205 } && test -s conftest.$ac_objext; then
19206 ac_hi=$ac_mid; break
19207 else
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19210
19211 ac_lo=`expr $ac_mid + 1`
19212 if test $ac_lo -le $ac_mid; then
19213 ac_lo= ac_hi=
19214 break
19215 fi
19216 ac_mid=`expr 2 '*' $ac_mid + 1`
19217 fi
19218
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 done
19221 else
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19224
19225 cat >conftest.$ac_ext <<_ACEOF
19226 /* confdefs.h. */
19227 _ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 $ac_includes_default
19232 typedef short ac__type_sizeof_;
19233 int
19234 main ()
19235 {
19236 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19237 test_array [0] = 0
19238
19239 ;
19240 return 0;
19241 }
19242 _ACEOF
19243 rm -f conftest.$ac_objext
19244 if { (ac_try="$ac_compile"
19245 case "(($ac_try" in
19246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19247 *) ac_try_echo=$ac_try;;
19248 esac
19249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19250 (eval "$ac_compile") 2>conftest.er1
19251 ac_status=$?
19252 grep -v '^ *+' conftest.er1 >conftest.err
19253 rm -f conftest.er1
19254 cat conftest.err >&5
19255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19256 (exit $ac_status); } && {
19257 test -z "$ac_c_werror_flag" ||
19258 test ! -s conftest.err
19259 } && test -s conftest.$ac_objext; then
19260 ac_hi=-1 ac_mid=-1
19261 while :; do
19262 cat >conftest.$ac_ext <<_ACEOF
19263 /* confdefs.h. */
19264 _ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268 $ac_includes_default
19269 typedef short ac__type_sizeof_;
19270 int
19271 main ()
19272 {
19273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19274 test_array [0] = 0
19275
19276 ;
19277 return 0;
19278 }
19279 _ACEOF
19280 rm -f conftest.$ac_objext
19281 if { (ac_try="$ac_compile"
19282 case "(($ac_try" in
19283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19284 *) ac_try_echo=$ac_try;;
19285 esac
19286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19287 (eval "$ac_compile") 2>conftest.er1
19288 ac_status=$?
19289 grep -v '^ *+' conftest.er1 >conftest.err
19290 rm -f conftest.er1
19291 cat conftest.err >&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } && {
19294 test -z "$ac_c_werror_flag" ||
19295 test ! -s conftest.err
19296 } && test -s conftest.$ac_objext; then
19297 ac_lo=$ac_mid; break
19298 else
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19301
19302 ac_hi=`expr '(' $ac_mid ')' - 1`
19303 if test $ac_mid -le $ac_hi; then
19304 ac_lo= ac_hi=
19305 break
19306 fi
19307 ac_mid=`expr 2 '*' $ac_mid`
19308 fi
19309
19310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19311 done
19312 else
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19315
19316 ac_lo= ac_hi=
19317 fi
19318
19319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19320 fi
19321
19322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19323 # Binary search between lo and hi bounds.
19324 while test "x$ac_lo" != "x$ac_hi"; do
19325 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19326 cat >conftest.$ac_ext <<_ACEOF
19327 /* confdefs.h. */
19328 _ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19333 typedef short ac__type_sizeof_;
19334 int
19335 main ()
19336 {
19337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19338 test_array [0] = 0
19339
19340 ;
19341 return 0;
19342 }
19343 _ACEOF
19344 rm -f conftest.$ac_objext
19345 if { (ac_try="$ac_compile"
19346 case "(($ac_try" in
19347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19349 esac
19350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_compile") 2>conftest.er1
19352 ac_status=$?
19353 grep -v '^ *+' conftest.er1 >conftest.err
19354 rm -f conftest.er1
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } && {
19358 test -z "$ac_c_werror_flag" ||
19359 test ! -s conftest.err
19360 } && test -s conftest.$ac_objext; then
19361 ac_hi=$ac_mid
19362 else
19363 echo "$as_me: failed program was:" >&5
19364 sed 's/^/| /' conftest.$ac_ext >&5
19365
19366 ac_lo=`expr '(' $ac_mid ')' + 1`
19367 fi
19368
19369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19370 done
19371 case $ac_lo in
19372 ?*) ac_cv_sizeof_short=$ac_lo;;
19373 '') if test "$ac_cv_type_short" = yes; then
19374 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19375 See \`config.log' for more details." >&5
19376 echo "$as_me: error: cannot compute sizeof (short)
19377 See \`config.log' for more details." >&2;}
19378 { (exit 77); exit 77; }; }
19379 else
19380 ac_cv_sizeof_short=0
19381 fi ;;
19382 esac
19383 else
19384 cat >conftest.$ac_ext <<_ACEOF
19385 /* confdefs.h. */
19386 _ACEOF
19387 cat confdefs.h >>conftest.$ac_ext
19388 cat >>conftest.$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19390 $ac_includes_default
19391 typedef short ac__type_sizeof_;
19392 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19393 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19394 #include <stdio.h>
19395 #include <stdlib.h>
19396 int
19397 main ()
19398 {
19399
19400 FILE *f = fopen ("conftest.val", "w");
19401 if (! f)
19402 return 1;
19403 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19404 {
19405 long int i = longval ();
19406 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19407 return 1;
19408 fprintf (f, "%ld\n", i);
19409 }
19410 else
19411 {
19412 unsigned long int i = ulongval ();
19413 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19414 return 1;
19415 fprintf (f, "%lu\n", i);
19416 }
19417 return ferror (f) || fclose (f) != 0;
19418
19419 ;
19420 return 0;
19421 }
19422 _ACEOF
19423 rm -f conftest$ac_exeext
19424 if { (ac_try="$ac_link"
19425 case "(($ac_try" in
19426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19427 *) ac_try_echo=$ac_try;;
19428 esac
19429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19430 (eval "$ac_link") 2>&5
19431 ac_status=$?
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19434 { (case "(($ac_try" in
19435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19436 *) ac_try_echo=$ac_try;;
19437 esac
19438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19439 (eval "$ac_try") 2>&5
19440 ac_status=$?
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19443 ac_cv_sizeof_short=`cat conftest.val`
19444 else
19445 echo "$as_me: program exited with status $ac_status" >&5
19446 echo "$as_me: failed program was:" >&5
19447 sed 's/^/| /' conftest.$ac_ext >&5
19448
19449 ( exit $ac_status )
19450 if test "$ac_cv_type_short" = yes; then
19451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19452 See \`config.log' for more details." >&5
19453 echo "$as_me: error: cannot compute sizeof (short)
19454 See \`config.log' for more details." >&2;}
19455 { (exit 77); exit 77; }; }
19456 else
19457 ac_cv_sizeof_short=0
19458 fi
19459 fi
19460 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19461 fi
19462 rm -f conftest.val
19463 fi
19464 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19465 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19466
19467
19468
19469 cat >>confdefs.h <<_ACEOF
19470 #define SIZEOF_SHORT $ac_cv_sizeof_short
19471 _ACEOF
19472
19473
19474 { echo "$as_me:$LINENO: checking for void *" >&5
19475 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19476 if test "${ac_cv_type_void_p+set}" = set; then
19477 echo $ECHO_N "(cached) $ECHO_C" >&6
19478 else
19479 cat >conftest.$ac_ext <<_ACEOF
19480 /* confdefs.h. */
19481 _ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19486 typedef void * ac__type_new_;
19487 int
19488 main ()
19489 {
19490 if ((ac__type_new_ *) 0)
19491 return 0;
19492 if (sizeof (ac__type_new_))
19493 return 0;
19494 ;
19495 return 0;
19496 }
19497 _ACEOF
19498 rm -f conftest.$ac_objext
19499 if { (ac_try="$ac_compile"
19500 case "(($ac_try" in
19501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19502 *) ac_try_echo=$ac_try;;
19503 esac
19504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19505 (eval "$ac_compile") 2>conftest.er1
19506 ac_status=$?
19507 grep -v '^ *+' conftest.er1 >conftest.err
19508 rm -f conftest.er1
19509 cat conftest.err >&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); } && {
19512 test -z "$ac_c_werror_flag" ||
19513 test ! -s conftest.err
19514 } && test -s conftest.$ac_objext; then
19515 ac_cv_type_void_p=yes
19516 else
19517 echo "$as_me: failed program was:" >&5
19518 sed 's/^/| /' conftest.$ac_ext >&5
19519
19520 ac_cv_type_void_p=no
19521 fi
19522
19523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19524 fi
19525 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19526 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19527
19528 # The cast to long int works around a bug in the HP C Compiler
19529 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19530 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19531 # This bug is HP SR number 8606223364.
19532 { echo "$as_me:$LINENO: checking size of void *" >&5
19533 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19534 if test "${ac_cv_sizeof_void_p+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19536 else
19537 if test "$cross_compiling" = yes; then
19538 # Depending upon the size, compute the lo and hi bounds.
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19546 typedef void * ac__type_sizeof_;
19547 int
19548 main ()
19549 {
19550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19551 test_array [0] = 0
19552
19553 ;
19554 return 0;
19555 }
19556 _ACEOF
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19562 esac
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.$ac_objext; then
19574 ac_lo=0 ac_mid=0
19575 while :; do
19576 cat >conftest.$ac_ext <<_ACEOF
19577 /* confdefs.h. */
19578 _ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19583 typedef void * ac__type_sizeof_;
19584 int
19585 main ()
19586 {
19587 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19588 test_array [0] = 0
19589
19590 ;
19591 return 0;
19592 }
19593 _ACEOF
19594 rm -f conftest.$ac_objext
19595 if { (ac_try="$ac_compile"
19596 case "(($ac_try" in
19597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19598 *) ac_try_echo=$ac_try;;
19599 esac
19600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19601 (eval "$ac_compile") 2>conftest.er1
19602 ac_status=$?
19603 grep -v '^ *+' conftest.er1 >conftest.err
19604 rm -f conftest.er1
19605 cat conftest.err >&5
19606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19607 (exit $ac_status); } && {
19608 test -z "$ac_c_werror_flag" ||
19609 test ! -s conftest.err
19610 } && test -s conftest.$ac_objext; then
19611 ac_hi=$ac_mid; break
19612 else
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.$ac_ext >&5
19615
19616 ac_lo=`expr $ac_mid + 1`
19617 if test $ac_lo -le $ac_mid; then
19618 ac_lo= ac_hi=
19619 break
19620 fi
19621 ac_mid=`expr 2 '*' $ac_mid + 1`
19622 fi
19623
19624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19625 done
19626 else
19627 echo "$as_me: failed program was:" >&5
19628 sed 's/^/| /' conftest.$ac_ext >&5
19629
19630 cat >conftest.$ac_ext <<_ACEOF
19631 /* confdefs.h. */
19632 _ACEOF
19633 cat confdefs.h >>conftest.$ac_ext
19634 cat >>conftest.$ac_ext <<_ACEOF
19635 /* end confdefs.h. */
19636 $ac_includes_default
19637 typedef void * ac__type_sizeof_;
19638 int
19639 main ()
19640 {
19641 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19642 test_array [0] = 0
19643
19644 ;
19645 return 0;
19646 }
19647 _ACEOF
19648 rm -f conftest.$ac_objext
19649 if { (ac_try="$ac_compile"
19650 case "(($ac_try" in
19651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19652 *) ac_try_echo=$ac_try;;
19653 esac
19654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19655 (eval "$ac_compile") 2>conftest.er1
19656 ac_status=$?
19657 grep -v '^ *+' conftest.er1 >conftest.err
19658 rm -f conftest.er1
19659 cat conftest.err >&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); } && {
19662 test -z "$ac_c_werror_flag" ||
19663 test ! -s conftest.err
19664 } && test -s conftest.$ac_objext; then
19665 ac_hi=-1 ac_mid=-1
19666 while :; do
19667 cat >conftest.$ac_ext <<_ACEOF
19668 /* confdefs.h. */
19669 _ACEOF
19670 cat confdefs.h >>conftest.$ac_ext
19671 cat >>conftest.$ac_ext <<_ACEOF
19672 /* end confdefs.h. */
19673 $ac_includes_default
19674 typedef void * ac__type_sizeof_;
19675 int
19676 main ()
19677 {
19678 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19679 test_array [0] = 0
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_lo=$ac_mid; break
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19706
19707 ac_hi=`expr '(' $ac_mid ')' - 1`
19708 if test $ac_mid -le $ac_hi; then
19709 ac_lo= ac_hi=
19710 break
19711 fi
19712 ac_mid=`expr 2 '*' $ac_mid`
19713 fi
19714
19715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19716 done
19717 else
19718 echo "$as_me: failed program was:" >&5
19719 sed 's/^/| /' conftest.$ac_ext >&5
19720
19721 ac_lo= ac_hi=
19722 fi
19723
19724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19725 fi
19726
19727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19728 # Binary search between lo and hi bounds.
19729 while test "x$ac_lo" != "x$ac_hi"; do
19730 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19731 cat >conftest.$ac_ext <<_ACEOF
19732 /* confdefs.h. */
19733 _ACEOF
19734 cat confdefs.h >>conftest.$ac_ext
19735 cat >>conftest.$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef void * ac__type_sizeof_;
19739 int
19740 main ()
19741 {
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19743 test_array [0] = 0
19744
19745 ;
19746 return 0;
19747 }
19748 _ACEOF
19749 rm -f conftest.$ac_objext
19750 if { (ac_try="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19754 esac
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19757 ac_status=$?
19758 grep -v '^ *+' conftest.er1 >conftest.err
19759 rm -f conftest.er1
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19766 ac_hi=$ac_mid
19767 else
19768 echo "$as_me: failed program was:" >&5
19769 sed 's/^/| /' conftest.$ac_ext >&5
19770
19771 ac_lo=`expr '(' $ac_mid ')' + 1`
19772 fi
19773
19774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19775 done
19776 case $ac_lo in
19777 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19778 '') if test "$ac_cv_type_void_p" = yes; then
19779 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19780 See \`config.log' for more details." >&5
19781 echo "$as_me: error: cannot compute sizeof (void *)
19782 See \`config.log' for more details." >&2;}
19783 { (exit 77); exit 77; }; }
19784 else
19785 ac_cv_sizeof_void_p=0
19786 fi ;;
19787 esac
19788 else
19789 cat >conftest.$ac_ext <<_ACEOF
19790 /* confdefs.h. */
19791 _ACEOF
19792 cat confdefs.h >>conftest.$ac_ext
19793 cat >>conftest.$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 $ac_includes_default
19796 typedef void * ac__type_sizeof_;
19797 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19798 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19799 #include <stdio.h>
19800 #include <stdlib.h>
19801 int
19802 main ()
19803 {
19804
19805 FILE *f = fopen ("conftest.val", "w");
19806 if (! f)
19807 return 1;
19808 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19809 {
19810 long int i = longval ();
19811 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19812 return 1;
19813 fprintf (f, "%ld\n", i);
19814 }
19815 else
19816 {
19817 unsigned long int i = ulongval ();
19818 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19819 return 1;
19820 fprintf (f, "%lu\n", i);
19821 }
19822 return ferror (f) || fclose (f) != 0;
19823
19824 ;
19825 return 0;
19826 }
19827 _ACEOF
19828 rm -f conftest$ac_exeext
19829 if { (ac_try="$ac_link"
19830 case "(($ac_try" in
19831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19832 *) ac_try_echo=$ac_try;;
19833 esac
19834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19835 (eval "$ac_link") 2>&5
19836 ac_status=$?
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19839 { (case "(($ac_try" in
19840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19841 *) ac_try_echo=$ac_try;;
19842 esac
19843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19844 (eval "$ac_try") 2>&5
19845 ac_status=$?
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); }; }; then
19848 ac_cv_sizeof_void_p=`cat conftest.val`
19849 else
19850 echo "$as_me: program exited with status $ac_status" >&5
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19853
19854 ( exit $ac_status )
19855 if test "$ac_cv_type_void_p" = yes; then
19856 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19857 See \`config.log' for more details." >&5
19858 echo "$as_me: error: cannot compute sizeof (void *)
19859 See \`config.log' for more details." >&2;}
19860 { (exit 77); exit 77; }; }
19861 else
19862 ac_cv_sizeof_void_p=0
19863 fi
19864 fi
19865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19866 fi
19867 rm -f conftest.val
19868 fi
19869 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19870 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19871
19872
19873
19874 cat >>confdefs.h <<_ACEOF
19875 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19876 _ACEOF
19877
19878
19879 { echo "$as_me:$LINENO: checking for int" >&5
19880 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19881 if test "${ac_cv_type_int+set}" = set; then
19882 echo $ECHO_N "(cached) $ECHO_C" >&6
19883 else
19884 cat >conftest.$ac_ext <<_ACEOF
19885 /* confdefs.h. */
19886 _ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 $ac_includes_default
19891 typedef int ac__type_new_;
19892 int
19893 main ()
19894 {
19895 if ((ac__type_new_ *) 0)
19896 return 0;
19897 if (sizeof (ac__type_new_))
19898 return 0;
19899 ;
19900 return 0;
19901 }
19902 _ACEOF
19903 rm -f conftest.$ac_objext
19904 if { (ac_try="$ac_compile"
19905 case "(($ac_try" in
19906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19907 *) ac_try_echo=$ac_try;;
19908 esac
19909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19910 (eval "$ac_compile") 2>conftest.er1
19911 ac_status=$?
19912 grep -v '^ *+' conftest.er1 >conftest.err
19913 rm -f conftest.er1
19914 cat conftest.err >&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } && {
19917 test -z "$ac_c_werror_flag" ||
19918 test ! -s conftest.err
19919 } && test -s conftest.$ac_objext; then
19920 ac_cv_type_int=yes
19921 else
19922 echo "$as_me: failed program was:" >&5
19923 sed 's/^/| /' conftest.$ac_ext >&5
19924
19925 ac_cv_type_int=no
19926 fi
19927
19928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19929 fi
19930 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19931 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19932
19933 # The cast to long int works around a bug in the HP C Compiler
19934 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19935 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19936 # This bug is HP SR number 8606223364.
19937 { echo "$as_me:$LINENO: checking size of int" >&5
19938 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19939 if test "${ac_cv_sizeof_int+set}" = set; then
19940 echo $ECHO_N "(cached) $ECHO_C" >&6
19941 else
19942 if test "$cross_compiling" = yes; then
19943 # Depending upon the size, compute the lo and hi bounds.
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 $ac_includes_default
19951 typedef int ac__type_sizeof_;
19952 int
19953 main ()
19954 {
19955 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19956 test_array [0] = 0
19957
19958 ;
19959 return 0;
19960 }
19961 _ACEOF
19962 rm -f conftest.$ac_objext
19963 if { (ac_try="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19966 *) ac_try_echo=$ac_try;;
19967 esac
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19970 ac_status=$?
19971 grep -v '^ *+' conftest.er1 >conftest.err
19972 rm -f conftest.er1
19973 cat conftest.err >&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && {
19976 test -z "$ac_c_werror_flag" ||
19977 test ! -s conftest.err
19978 } && test -s conftest.$ac_objext; then
19979 ac_lo=0 ac_mid=0
19980 while :; do
19981 cat >conftest.$ac_ext <<_ACEOF
19982 /* confdefs.h. */
19983 _ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 typedef int ac__type_sizeof_;
19989 int
19990 main ()
19991 {
19992 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19993 test_array [0] = 0
19994
19995 ;
19996 return 0;
19997 }
19998 _ACEOF
19999 rm -f conftest.$ac_objext
20000 if { (ac_try="$ac_compile"
20001 case "(($ac_try" in
20002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20003 *) ac_try_echo=$ac_try;;
20004 esac
20005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_compile") 2>conftest.er1
20007 ac_status=$?
20008 grep -v '^ *+' conftest.er1 >conftest.err
20009 rm -f conftest.er1
20010 cat conftest.err >&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); } && {
20013 test -z "$ac_c_werror_flag" ||
20014 test ! -s conftest.err
20015 } && test -s conftest.$ac_objext; then
20016 ac_hi=$ac_mid; break
20017 else
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20020
20021 ac_lo=`expr $ac_mid + 1`
20022 if test $ac_lo -le $ac_mid; then
20023 ac_lo= ac_hi=
20024 break
20025 fi
20026 ac_mid=`expr 2 '*' $ac_mid + 1`
20027 fi
20028
20029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20030 done
20031 else
20032 echo "$as_me: failed program was:" >&5
20033 sed 's/^/| /' conftest.$ac_ext >&5
20034
20035 cat >conftest.$ac_ext <<_ACEOF
20036 /* confdefs.h. */
20037 _ACEOF
20038 cat confdefs.h >>conftest.$ac_ext
20039 cat >>conftest.$ac_ext <<_ACEOF
20040 /* end confdefs.h. */
20041 $ac_includes_default
20042 typedef int ac__type_sizeof_;
20043 int
20044 main ()
20045 {
20046 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20047 test_array [0] = 0
20048
20049 ;
20050 return 0;
20051 }
20052 _ACEOF
20053 rm -f conftest.$ac_objext
20054 if { (ac_try="$ac_compile"
20055 case "(($ac_try" in
20056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20057 *) ac_try_echo=$ac_try;;
20058 esac
20059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20060 (eval "$ac_compile") 2>conftest.er1
20061 ac_status=$?
20062 grep -v '^ *+' conftest.er1 >conftest.err
20063 rm -f conftest.er1
20064 cat conftest.err >&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } && {
20067 test -z "$ac_c_werror_flag" ||
20068 test ! -s conftest.err
20069 } && test -s conftest.$ac_objext; then
20070 ac_hi=-1 ac_mid=-1
20071 while :; do
20072 cat >conftest.$ac_ext <<_ACEOF
20073 /* confdefs.h. */
20074 _ACEOF
20075 cat confdefs.h >>conftest.$ac_ext
20076 cat >>conftest.$ac_ext <<_ACEOF
20077 /* end confdefs.h. */
20078 $ac_includes_default
20079 typedef int ac__type_sizeof_;
20080 int
20081 main ()
20082 {
20083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20084 test_array [0] = 0
20085
20086 ;
20087 return 0;
20088 }
20089 _ACEOF
20090 rm -f conftest.$ac_objext
20091 if { (ac_try="$ac_compile"
20092 case "(($ac_try" in
20093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20094 *) ac_try_echo=$ac_try;;
20095 esac
20096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20097 (eval "$ac_compile") 2>conftest.er1
20098 ac_status=$?
20099 grep -v '^ *+' conftest.er1 >conftest.err
20100 rm -f conftest.er1
20101 cat conftest.err >&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_c_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest.$ac_objext; then
20107 ac_lo=$ac_mid; break
20108 else
20109 echo "$as_me: failed program was:" >&5
20110 sed 's/^/| /' conftest.$ac_ext >&5
20111
20112 ac_hi=`expr '(' $ac_mid ')' - 1`
20113 if test $ac_mid -le $ac_hi; then
20114 ac_lo= ac_hi=
20115 break
20116 fi
20117 ac_mid=`expr 2 '*' $ac_mid`
20118 fi
20119
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 done
20122 else
20123 echo "$as_me: failed program was:" >&5
20124 sed 's/^/| /' conftest.$ac_ext >&5
20125
20126 ac_lo= ac_hi=
20127 fi
20128
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130 fi
20131
20132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20133 # Binary search between lo and hi bounds.
20134 while test "x$ac_lo" != "x$ac_hi"; do
20135 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20136 cat >conftest.$ac_ext <<_ACEOF
20137 /* confdefs.h. */
20138 _ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef int ac__type_sizeof_;
20144 int
20145 main ()
20146 {
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20148 test_array [0] = 0
20149
20150 ;
20151 return 0;
20152 }
20153 _ACEOF
20154 rm -f conftest.$ac_objext
20155 if { (ac_try="$ac_compile"
20156 case "(($ac_try" in
20157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20159 esac
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_compile") 2>conftest.er1
20162 ac_status=$?
20163 grep -v '^ *+' conftest.er1 >conftest.err
20164 rm -f conftest.er1
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.$ac_objext; then
20171 ac_hi=$ac_mid
20172 else
20173 echo "$as_me: failed program was:" >&5
20174 sed 's/^/| /' conftest.$ac_ext >&5
20175
20176 ac_lo=`expr '(' $ac_mid ')' + 1`
20177 fi
20178
20179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20180 done
20181 case $ac_lo in
20182 ?*) ac_cv_sizeof_int=$ac_lo;;
20183 '') if test "$ac_cv_type_int" = yes; then
20184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20185 See \`config.log' for more details." >&5
20186 echo "$as_me: error: cannot compute sizeof (int)
20187 See \`config.log' for more details." >&2;}
20188 { (exit 77); exit 77; }; }
20189 else
20190 ac_cv_sizeof_int=0
20191 fi ;;
20192 esac
20193 else
20194 cat >conftest.$ac_ext <<_ACEOF
20195 /* confdefs.h. */
20196 _ACEOF
20197 cat confdefs.h >>conftest.$ac_ext
20198 cat >>conftest.$ac_ext <<_ACEOF
20199 /* end confdefs.h. */
20200 $ac_includes_default
20201 typedef int ac__type_sizeof_;
20202 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20203 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20204 #include <stdio.h>
20205 #include <stdlib.h>
20206 int
20207 main ()
20208 {
20209
20210 FILE *f = fopen ("conftest.val", "w");
20211 if (! f)
20212 return 1;
20213 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20214 {
20215 long int i = longval ();
20216 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20217 return 1;
20218 fprintf (f, "%ld\n", i);
20219 }
20220 else
20221 {
20222 unsigned long int i = ulongval ();
20223 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20224 return 1;
20225 fprintf (f, "%lu\n", i);
20226 }
20227 return ferror (f) || fclose (f) != 0;
20228
20229 ;
20230 return 0;
20231 }
20232 _ACEOF
20233 rm -f conftest$ac_exeext
20234 if { (ac_try="$ac_link"
20235 case "(($ac_try" in
20236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20237 *) ac_try_echo=$ac_try;;
20238 esac
20239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20240 (eval "$ac_link") 2>&5
20241 ac_status=$?
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20244 { (case "(($ac_try" in
20245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20246 *) ac_try_echo=$ac_try;;
20247 esac
20248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20249 (eval "$ac_try") 2>&5
20250 ac_status=$?
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); }; }; then
20253 ac_cv_sizeof_int=`cat conftest.val`
20254 else
20255 echo "$as_me: program exited with status $ac_status" >&5
20256 echo "$as_me: failed program was:" >&5
20257 sed 's/^/| /' conftest.$ac_ext >&5
20258
20259 ( exit $ac_status )
20260 if test "$ac_cv_type_int" = yes; then
20261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20262 See \`config.log' for more details." >&5
20263 echo "$as_me: error: cannot compute sizeof (int)
20264 See \`config.log' for more details." >&2;}
20265 { (exit 77); exit 77; }; }
20266 else
20267 ac_cv_sizeof_int=0
20268 fi
20269 fi
20270 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20271 fi
20272 rm -f conftest.val
20273 fi
20274 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20275 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20276
20277
20278
20279 cat >>confdefs.h <<_ACEOF
20280 #define SIZEOF_INT $ac_cv_sizeof_int
20281 _ACEOF
20282
20283
20284 { echo "$as_me:$LINENO: checking for long" >&5
20285 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20286 if test "${ac_cv_type_long+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 else
20289 cat >conftest.$ac_ext <<_ACEOF
20290 /* confdefs.h. */
20291 _ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20295 $ac_includes_default
20296 typedef long ac__type_new_;
20297 int
20298 main ()
20299 {
20300 if ((ac__type_new_ *) 0)
20301 return 0;
20302 if (sizeof (ac__type_new_))
20303 return 0;
20304 ;
20305 return 0;
20306 }
20307 _ACEOF
20308 rm -f conftest.$ac_objext
20309 if { (ac_try="$ac_compile"
20310 case "(($ac_try" in
20311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20312 *) ac_try_echo=$ac_try;;
20313 esac
20314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20315 (eval "$ac_compile") 2>conftest.er1
20316 ac_status=$?
20317 grep -v '^ *+' conftest.er1 >conftest.err
20318 rm -f conftest.er1
20319 cat conftest.err >&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } && {
20322 test -z "$ac_c_werror_flag" ||
20323 test ! -s conftest.err
20324 } && test -s conftest.$ac_objext; then
20325 ac_cv_type_long=yes
20326 else
20327 echo "$as_me: failed program was:" >&5
20328 sed 's/^/| /' conftest.$ac_ext >&5
20329
20330 ac_cv_type_long=no
20331 fi
20332
20333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20334 fi
20335 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20336 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20337
20338 # The cast to long int works around a bug in the HP C Compiler
20339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20341 # This bug is HP SR number 8606223364.
20342 { echo "$as_me:$LINENO: checking size of long" >&5
20343 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20344 if test "${ac_cv_sizeof_long+set}" = set; then
20345 echo $ECHO_N "(cached) $ECHO_C" >&6
20346 else
20347 if test "$cross_compiling" = yes; then
20348 # Depending upon the size, compute the lo and hi bounds.
20349 cat >conftest.$ac_ext <<_ACEOF
20350 /* confdefs.h. */
20351 _ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef long ac__type_sizeof_;
20357 int
20358 main ()
20359 {
20360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20361 test_array [0] = 0
20362
20363 ;
20364 return 0;
20365 }
20366 _ACEOF
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20372 esac
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20375 ac_status=$?
20376 grep -v '^ *+' conftest.er1 >conftest.err
20377 rm -f conftest.er1
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && {
20381 test -z "$ac_c_werror_flag" ||
20382 test ! -s conftest.err
20383 } && test -s conftest.$ac_objext; then
20384 ac_lo=0 ac_mid=0
20385 while :; do
20386 cat >conftest.$ac_ext <<_ACEOF
20387 /* confdefs.h. */
20388 _ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 typedef long ac__type_sizeof_;
20394 int
20395 main ()
20396 {
20397 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20398 test_array [0] = 0
20399
20400 ;
20401 return 0;
20402 }
20403 _ACEOF
20404 rm -f conftest.$ac_objext
20405 if { (ac_try="$ac_compile"
20406 case "(($ac_try" in
20407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20408 *) ac_try_echo=$ac_try;;
20409 esac
20410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20411 (eval "$ac_compile") 2>conftest.er1
20412 ac_status=$?
20413 grep -v '^ *+' conftest.er1 >conftest.err
20414 rm -f conftest.er1
20415 cat conftest.err >&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); } && {
20418 test -z "$ac_c_werror_flag" ||
20419 test ! -s conftest.err
20420 } && test -s conftest.$ac_objext; then
20421 ac_hi=$ac_mid; break
20422 else
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.$ac_ext >&5
20425
20426 ac_lo=`expr $ac_mid + 1`
20427 if test $ac_lo -le $ac_mid; then
20428 ac_lo= ac_hi=
20429 break
20430 fi
20431 ac_mid=`expr 2 '*' $ac_mid + 1`
20432 fi
20433
20434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20435 done
20436 else
20437 echo "$as_me: failed program was:" >&5
20438 sed 's/^/| /' conftest.$ac_ext >&5
20439
20440 cat >conftest.$ac_ext <<_ACEOF
20441 /* confdefs.h. */
20442 _ACEOF
20443 cat confdefs.h >>conftest.$ac_ext
20444 cat >>conftest.$ac_ext <<_ACEOF
20445 /* end confdefs.h. */
20446 $ac_includes_default
20447 typedef long ac__type_sizeof_;
20448 int
20449 main ()
20450 {
20451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20452 test_array [0] = 0
20453
20454 ;
20455 return 0;
20456 }
20457 _ACEOF
20458 rm -f conftest.$ac_objext
20459 if { (ac_try="$ac_compile"
20460 case "(($ac_try" in
20461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20462 *) ac_try_echo=$ac_try;;
20463 esac
20464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20465 (eval "$ac_compile") 2>conftest.er1
20466 ac_status=$?
20467 grep -v '^ *+' conftest.er1 >conftest.err
20468 rm -f conftest.er1
20469 cat conftest.err >&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); } && {
20472 test -z "$ac_c_werror_flag" ||
20473 test ! -s conftest.err
20474 } && test -s conftest.$ac_objext; then
20475 ac_hi=-1 ac_mid=-1
20476 while :; do
20477 cat >conftest.$ac_ext <<_ACEOF
20478 /* confdefs.h. */
20479 _ACEOF
20480 cat confdefs.h >>conftest.$ac_ext
20481 cat >>conftest.$ac_ext <<_ACEOF
20482 /* end confdefs.h. */
20483 $ac_includes_default
20484 typedef long ac__type_sizeof_;
20485 int
20486 main ()
20487 {
20488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20489 test_array [0] = 0
20490
20491 ;
20492 return 0;
20493 }
20494 _ACEOF
20495 rm -f conftest.$ac_objext
20496 if { (ac_try="$ac_compile"
20497 case "(($ac_try" in
20498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20499 *) ac_try_echo=$ac_try;;
20500 esac
20501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20502 (eval "$ac_compile") 2>conftest.er1
20503 ac_status=$?
20504 grep -v '^ *+' conftest.er1 >conftest.err
20505 rm -f conftest.er1
20506 cat conftest.err >&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 (exit $ac_status); } && {
20509 test -z "$ac_c_werror_flag" ||
20510 test ! -s conftest.err
20511 } && test -s conftest.$ac_objext; then
20512 ac_lo=$ac_mid; break
20513 else
20514 echo "$as_me: failed program was:" >&5
20515 sed 's/^/| /' conftest.$ac_ext >&5
20516
20517 ac_hi=`expr '(' $ac_mid ')' - 1`
20518 if test $ac_mid -le $ac_hi; then
20519 ac_lo= ac_hi=
20520 break
20521 fi
20522 ac_mid=`expr 2 '*' $ac_mid`
20523 fi
20524
20525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20526 done
20527 else
20528 echo "$as_me: failed program was:" >&5
20529 sed 's/^/| /' conftest.$ac_ext >&5
20530
20531 ac_lo= ac_hi=
20532 fi
20533
20534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20535 fi
20536
20537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20538 # Binary search between lo and hi bounds.
20539 while test "x$ac_lo" != "x$ac_hi"; do
20540 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20541 cat >conftest.$ac_ext <<_ACEOF
20542 /* confdefs.h. */
20543 _ACEOF
20544 cat confdefs.h >>conftest.$ac_ext
20545 cat >>conftest.$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 $ac_includes_default
20548 typedef long ac__type_sizeof_;
20549 int
20550 main ()
20551 {
20552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20553 test_array [0] = 0
20554
20555 ;
20556 return 0;
20557 }
20558 _ACEOF
20559 rm -f conftest.$ac_objext
20560 if { (ac_try="$ac_compile"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20564 esac
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_compile") 2>conftest.er1
20567 ac_status=$?
20568 grep -v '^ *+' conftest.er1 >conftest.err
20569 rm -f conftest.er1
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest.$ac_objext; then
20576 ac_hi=$ac_mid
20577 else
20578 echo "$as_me: failed program was:" >&5
20579 sed 's/^/| /' conftest.$ac_ext >&5
20580
20581 ac_lo=`expr '(' $ac_mid ')' + 1`
20582 fi
20583
20584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20585 done
20586 case $ac_lo in
20587 ?*) ac_cv_sizeof_long=$ac_lo;;
20588 '') if test "$ac_cv_type_long" = yes; then
20589 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20590 See \`config.log' for more details." >&5
20591 echo "$as_me: error: cannot compute sizeof (long)
20592 See \`config.log' for more details." >&2;}
20593 { (exit 77); exit 77; }; }
20594 else
20595 ac_cv_sizeof_long=0
20596 fi ;;
20597 esac
20598 else
20599 cat >conftest.$ac_ext <<_ACEOF
20600 /* confdefs.h. */
20601 _ACEOF
20602 cat confdefs.h >>conftest.$ac_ext
20603 cat >>conftest.$ac_ext <<_ACEOF
20604 /* end confdefs.h. */
20605 $ac_includes_default
20606 typedef long ac__type_sizeof_;
20607 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20608 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20609 #include <stdio.h>
20610 #include <stdlib.h>
20611 int
20612 main ()
20613 {
20614
20615 FILE *f = fopen ("conftest.val", "w");
20616 if (! f)
20617 return 1;
20618 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20619 {
20620 long int i = longval ();
20621 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20622 return 1;
20623 fprintf (f, "%ld\n", i);
20624 }
20625 else
20626 {
20627 unsigned long int i = ulongval ();
20628 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20629 return 1;
20630 fprintf (f, "%lu\n", i);
20631 }
20632 return ferror (f) || fclose (f) != 0;
20633
20634 ;
20635 return 0;
20636 }
20637 _ACEOF
20638 rm -f conftest$ac_exeext
20639 if { (ac_try="$ac_link"
20640 case "(($ac_try" in
20641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20642 *) ac_try_echo=$ac_try;;
20643 esac
20644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20645 (eval "$ac_link") 2>&5
20646 ac_status=$?
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20649 { (case "(($ac_try" in
20650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20651 *) ac_try_echo=$ac_try;;
20652 esac
20653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20654 (eval "$ac_try") 2>&5
20655 ac_status=$?
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; }; then
20658 ac_cv_sizeof_long=`cat conftest.val`
20659 else
20660 echo "$as_me: program exited with status $ac_status" >&5
20661 echo "$as_me: failed program was:" >&5
20662 sed 's/^/| /' conftest.$ac_ext >&5
20663
20664 ( exit $ac_status )
20665 if test "$ac_cv_type_long" = yes; then
20666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20667 See \`config.log' for more details." >&5
20668 echo "$as_me: error: cannot compute sizeof (long)
20669 See \`config.log' for more details." >&2;}
20670 { (exit 77); exit 77; }; }
20671 else
20672 ac_cv_sizeof_long=0
20673 fi
20674 fi
20675 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20676 fi
20677 rm -f conftest.val
20678 fi
20679 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20680 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20681
20682
20683
20684 cat >>confdefs.h <<_ACEOF
20685 #define SIZEOF_LONG $ac_cv_sizeof_long
20686 _ACEOF
20687
20688
20689 { echo "$as_me:$LINENO: checking for size_t" >&5
20690 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20691 if test "${ac_cv_type_size_t+set}" = set; then
20692 echo $ECHO_N "(cached) $ECHO_C" >&6
20693 else
20694 cat >conftest.$ac_ext <<_ACEOF
20695 /* confdefs.h. */
20696 _ACEOF
20697 cat confdefs.h >>conftest.$ac_ext
20698 cat >>conftest.$ac_ext <<_ACEOF
20699 /* end confdefs.h. */
20700 $ac_includes_default
20701 typedef size_t ac__type_new_;
20702 int
20703 main ()
20704 {
20705 if ((ac__type_new_ *) 0)
20706 return 0;
20707 if (sizeof (ac__type_new_))
20708 return 0;
20709 ;
20710 return 0;
20711 }
20712 _ACEOF
20713 rm -f conftest.$ac_objext
20714 if { (ac_try="$ac_compile"
20715 case "(($ac_try" in
20716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20717 *) ac_try_echo=$ac_try;;
20718 esac
20719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20720 (eval "$ac_compile") 2>conftest.er1
20721 ac_status=$?
20722 grep -v '^ *+' conftest.er1 >conftest.err
20723 rm -f conftest.er1
20724 cat conftest.err >&5
20725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726 (exit $ac_status); } && {
20727 test -z "$ac_c_werror_flag" ||
20728 test ! -s conftest.err
20729 } && test -s conftest.$ac_objext; then
20730 ac_cv_type_size_t=yes
20731 else
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.$ac_ext >&5
20734
20735 ac_cv_type_size_t=no
20736 fi
20737
20738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20739 fi
20740 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20741 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20742
20743 # The cast to long int works around a bug in the HP C Compiler
20744 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20745 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20746 # This bug is HP SR number 8606223364.
20747 { echo "$as_me:$LINENO: checking size of size_t" >&5
20748 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20749 if test "${ac_cv_sizeof_size_t+set}" = set; then
20750 echo $ECHO_N "(cached) $ECHO_C" >&6
20751 else
20752 if test "$cross_compiling" = yes; then
20753 # Depending upon the size, compute the lo and hi bounds.
20754 cat >conftest.$ac_ext <<_ACEOF
20755 /* confdefs.h. */
20756 _ACEOF
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 $ac_includes_default
20761 typedef size_t ac__type_sizeof_;
20762 int
20763 main ()
20764 {
20765 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20766 test_array [0] = 0
20767
20768 ;
20769 return 0;
20770 }
20771 _ACEOF
20772 rm -f conftest.$ac_objext
20773 if { (ac_try="$ac_compile"
20774 case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20777 esac
20778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_compile") 2>conftest.er1
20780 ac_status=$?
20781 grep -v '^ *+' conftest.er1 >conftest.err
20782 rm -f conftest.er1
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } && {
20786 test -z "$ac_c_werror_flag" ||
20787 test ! -s conftest.err
20788 } && test -s conftest.$ac_objext; then
20789 ac_lo=0 ac_mid=0
20790 while :; do
20791 cat >conftest.$ac_ext <<_ACEOF
20792 /* confdefs.h. */
20793 _ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 $ac_includes_default
20798 typedef size_t ac__type_sizeof_;
20799 int
20800 main ()
20801 {
20802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20803 test_array [0] = 0
20804
20805 ;
20806 return 0;
20807 }
20808 _ACEOF
20809 rm -f conftest.$ac_objext
20810 if { (ac_try="$ac_compile"
20811 case "(($ac_try" in
20812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20813 *) ac_try_echo=$ac_try;;
20814 esac
20815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20816 (eval "$ac_compile") 2>conftest.er1
20817 ac_status=$?
20818 grep -v '^ *+' conftest.er1 >conftest.err
20819 rm -f conftest.er1
20820 cat conftest.err >&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); } && {
20823 test -z "$ac_c_werror_flag" ||
20824 test ! -s conftest.err
20825 } && test -s conftest.$ac_objext; then
20826 ac_hi=$ac_mid; break
20827 else
20828 echo "$as_me: failed program was:" >&5
20829 sed 's/^/| /' conftest.$ac_ext >&5
20830
20831 ac_lo=`expr $ac_mid + 1`
20832 if test $ac_lo -le $ac_mid; then
20833 ac_lo= ac_hi=
20834 break
20835 fi
20836 ac_mid=`expr 2 '*' $ac_mid + 1`
20837 fi
20838
20839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20840 done
20841 else
20842 echo "$as_me: failed program was:" >&5
20843 sed 's/^/| /' conftest.$ac_ext >&5
20844
20845 cat >conftest.$ac_ext <<_ACEOF
20846 /* confdefs.h. */
20847 _ACEOF
20848 cat confdefs.h >>conftest.$ac_ext
20849 cat >>conftest.$ac_ext <<_ACEOF
20850 /* end confdefs.h. */
20851 $ac_includes_default
20852 typedef size_t ac__type_sizeof_;
20853 int
20854 main ()
20855 {
20856 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20857 test_array [0] = 0
20858
20859 ;
20860 return 0;
20861 }
20862 _ACEOF
20863 rm -f conftest.$ac_objext
20864 if { (ac_try="$ac_compile"
20865 case "(($ac_try" in
20866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20867 *) ac_try_echo=$ac_try;;
20868 esac
20869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20870 (eval "$ac_compile") 2>conftest.er1
20871 ac_status=$?
20872 grep -v '^ *+' conftest.er1 >conftest.err
20873 rm -f conftest.er1
20874 cat conftest.err >&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); } && {
20877 test -z "$ac_c_werror_flag" ||
20878 test ! -s conftest.err
20879 } && test -s conftest.$ac_objext; then
20880 ac_hi=-1 ac_mid=-1
20881 while :; do
20882 cat >conftest.$ac_ext <<_ACEOF
20883 /* confdefs.h. */
20884 _ACEOF
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888 $ac_includes_default
20889 typedef size_t ac__type_sizeof_;
20890 int
20891 main ()
20892 {
20893 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20894 test_array [0] = 0
20895
20896 ;
20897 return 0;
20898 }
20899 _ACEOF
20900 rm -f conftest.$ac_objext
20901 if { (ac_try="$ac_compile"
20902 case "(($ac_try" in
20903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20904 *) ac_try_echo=$ac_try;;
20905 esac
20906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20907 (eval "$ac_compile") 2>conftest.er1
20908 ac_status=$?
20909 grep -v '^ *+' conftest.er1 >conftest.err
20910 rm -f conftest.er1
20911 cat conftest.err >&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); } && {
20914 test -z "$ac_c_werror_flag" ||
20915 test ! -s conftest.err
20916 } && test -s conftest.$ac_objext; then
20917 ac_lo=$ac_mid; break
20918 else
20919 echo "$as_me: failed program was:" >&5
20920 sed 's/^/| /' conftest.$ac_ext >&5
20921
20922 ac_hi=`expr '(' $ac_mid ')' - 1`
20923 if test $ac_mid -le $ac_hi; then
20924 ac_lo= ac_hi=
20925 break
20926 fi
20927 ac_mid=`expr 2 '*' $ac_mid`
20928 fi
20929
20930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20931 done
20932 else
20933 echo "$as_me: failed program was:" >&5
20934 sed 's/^/| /' conftest.$ac_ext >&5
20935
20936 ac_lo= ac_hi=
20937 fi
20938
20939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 fi
20941
20942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20943 # Binary search between lo and hi bounds.
20944 while test "x$ac_lo" != "x$ac_hi"; do
20945 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20946 cat >conftest.$ac_ext <<_ACEOF
20947 /* confdefs.h. */
20948 _ACEOF
20949 cat confdefs.h >>conftest.$ac_ext
20950 cat >>conftest.$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 $ac_includes_default
20953 typedef size_t ac__type_sizeof_;
20954 int
20955 main ()
20956 {
20957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20958 test_array [0] = 0
20959
20960 ;
20961 return 0;
20962 }
20963 _ACEOF
20964 rm -f conftest.$ac_objext
20965 if { (ac_try="$ac_compile"
20966 case "(($ac_try" in
20967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;;
20969 esac
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_compile") 2>conftest.er1
20972 ac_status=$?
20973 grep -v '^ *+' conftest.er1 >conftest.err
20974 rm -f conftest.er1
20975 cat conftest.err >&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } && {
20978 test -z "$ac_c_werror_flag" ||
20979 test ! -s conftest.err
20980 } && test -s conftest.$ac_objext; then
20981 ac_hi=$ac_mid
20982 else
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.$ac_ext >&5
20985
20986 ac_lo=`expr '(' $ac_mid ')' + 1`
20987 fi
20988
20989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20990 done
20991 case $ac_lo in
20992 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20993 '') if test "$ac_cv_type_size_t" = yes; then
20994 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20995 See \`config.log' for more details." >&5
20996 echo "$as_me: error: cannot compute sizeof (size_t)
20997 See \`config.log' for more details." >&2;}
20998 { (exit 77); exit 77; }; }
20999 else
21000 ac_cv_sizeof_size_t=0
21001 fi ;;
21002 esac
21003 else
21004 cat >conftest.$ac_ext <<_ACEOF
21005 /* confdefs.h. */
21006 _ACEOF
21007 cat confdefs.h >>conftest.$ac_ext
21008 cat >>conftest.$ac_ext <<_ACEOF
21009 /* end confdefs.h. */
21010 $ac_includes_default
21011 typedef size_t ac__type_sizeof_;
21012 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21013 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21014 #include <stdio.h>
21015 #include <stdlib.h>
21016 int
21017 main ()
21018 {
21019
21020 FILE *f = fopen ("conftest.val", "w");
21021 if (! f)
21022 return 1;
21023 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21024 {
21025 long int i = longval ();
21026 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21027 return 1;
21028 fprintf (f, "%ld\n", i);
21029 }
21030 else
21031 {
21032 unsigned long int i = ulongval ();
21033 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21034 return 1;
21035 fprintf (f, "%lu\n", i);
21036 }
21037 return ferror (f) || fclose (f) != 0;
21038
21039 ;
21040 return 0;
21041 }
21042 _ACEOF
21043 rm -f conftest$ac_exeext
21044 if { (ac_try="$ac_link"
21045 case "(($ac_try" in
21046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21047 *) ac_try_echo=$ac_try;;
21048 esac
21049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21050 (eval "$ac_link") 2>&5
21051 ac_status=$?
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21054 { (case "(($ac_try" in
21055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21056 *) ac_try_echo=$ac_try;;
21057 esac
21058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21059 (eval "$ac_try") 2>&5
21060 ac_status=$?
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; }; then
21063 ac_cv_sizeof_size_t=`cat conftest.val`
21064 else
21065 echo "$as_me: program exited with status $ac_status" >&5
21066 echo "$as_me: failed program was:" >&5
21067 sed 's/^/| /' conftest.$ac_ext >&5
21068
21069 ( exit $ac_status )
21070 if test "$ac_cv_type_size_t" = yes; then
21071 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21072 See \`config.log' for more details." >&5
21073 echo "$as_me: error: cannot compute sizeof (size_t)
21074 See \`config.log' for more details." >&2;}
21075 { (exit 77); exit 77; }; }
21076 else
21077 ac_cv_sizeof_size_t=0
21078 fi
21079 fi
21080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21081 fi
21082 rm -f conftest.val
21083 fi
21084 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21085 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21086
21087
21088
21089 cat >>confdefs.h <<_ACEOF
21090 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21091 _ACEOF
21092
21093
21094
21095 case "${host}" in
21096 arm-*-linux* )
21097 { echo "$as_me:$LINENO: checking for long long" >&5
21098 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21099 if test "${ac_cv_type_long_long+set}" = set; then
21100 echo $ECHO_N "(cached) $ECHO_C" >&6
21101 else
21102 cat >conftest.$ac_ext <<_ACEOF
21103 /* confdefs.h. */
21104 _ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 $ac_includes_default
21109 typedef long long ac__type_new_;
21110 int
21111 main ()
21112 {
21113 if ((ac__type_new_ *) 0)
21114 return 0;
21115 if (sizeof (ac__type_new_))
21116 return 0;
21117 ;
21118 return 0;
21119 }
21120 _ACEOF
21121 rm -f conftest.$ac_objext
21122 if { (ac_try="$ac_compile"
21123 case "(($ac_try" in
21124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21125 *) ac_try_echo=$ac_try;;
21126 esac
21127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21128 (eval "$ac_compile") 2>conftest.er1
21129 ac_status=$?
21130 grep -v '^ *+' conftest.er1 >conftest.err
21131 rm -f conftest.er1
21132 cat conftest.err >&5
21133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21134 (exit $ac_status); } && {
21135 test -z "$ac_c_werror_flag" ||
21136 test ! -s conftest.err
21137 } && test -s conftest.$ac_objext; then
21138 ac_cv_type_long_long=yes
21139 else
21140 echo "$as_me: failed program was:" >&5
21141 sed 's/^/| /' conftest.$ac_ext >&5
21142
21143 ac_cv_type_long_long=no
21144 fi
21145
21146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21147 fi
21148 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21149 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21150
21151 # The cast to long int works around a bug in the HP C Compiler
21152 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21153 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21154 # This bug is HP SR number 8606223364.
21155 { echo "$as_me:$LINENO: checking size of long long" >&5
21156 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21157 if test "${ac_cv_sizeof_long_long+set}" = set; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 else
21160 if test "$cross_compiling" = yes; then
21161 # Depending upon the size, compute the lo and hi bounds.
21162 cat >conftest.$ac_ext <<_ACEOF
21163 /* confdefs.h. */
21164 _ACEOF
21165 cat confdefs.h >>conftest.$ac_ext
21166 cat >>conftest.$ac_ext <<_ACEOF
21167 /* end confdefs.h. */
21168 $ac_includes_default
21169 typedef long long ac__type_sizeof_;
21170 int
21171 main ()
21172 {
21173 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21174 test_array [0] = 0
21175
21176 ;
21177 return 0;
21178 }
21179 _ACEOF
21180 rm -f conftest.$ac_objext
21181 if { (ac_try="$ac_compile"
21182 case "(($ac_try" in
21183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21184 *) ac_try_echo=$ac_try;;
21185 esac
21186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21187 (eval "$ac_compile") 2>conftest.er1
21188 ac_status=$?
21189 grep -v '^ *+' conftest.er1 >conftest.err
21190 rm -f conftest.er1
21191 cat conftest.err >&5
21192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193 (exit $ac_status); } && {
21194 test -z "$ac_c_werror_flag" ||
21195 test ! -s conftest.err
21196 } && test -s conftest.$ac_objext; then
21197 ac_lo=0 ac_mid=0
21198 while :; do
21199 cat >conftest.$ac_ext <<_ACEOF
21200 /* confdefs.h. */
21201 _ACEOF
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
21204 /* end confdefs.h. */
21205 $ac_includes_default
21206 typedef long long ac__type_sizeof_;
21207 int
21208 main ()
21209 {
21210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21211 test_array [0] = 0
21212
21213 ;
21214 return 0;
21215 }
21216 _ACEOF
21217 rm -f conftest.$ac_objext
21218 if { (ac_try="$ac_compile"
21219 case "(($ac_try" in
21220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21221 *) ac_try_echo=$ac_try;;
21222 esac
21223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21224 (eval "$ac_compile") 2>conftest.er1
21225 ac_status=$?
21226 grep -v '^ *+' conftest.er1 >conftest.err
21227 rm -f conftest.er1
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } && {
21231 test -z "$ac_c_werror_flag" ||
21232 test ! -s conftest.err
21233 } && test -s conftest.$ac_objext; then
21234 ac_hi=$ac_mid; break
21235 else
21236 echo "$as_me: failed program was:" >&5
21237 sed 's/^/| /' conftest.$ac_ext >&5
21238
21239 ac_lo=`expr $ac_mid + 1`
21240 if test $ac_lo -le $ac_mid; then
21241 ac_lo= ac_hi=
21242 break
21243 fi
21244 ac_mid=`expr 2 '*' $ac_mid + 1`
21245 fi
21246
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 done
21249 else
21250 echo "$as_me: failed program was:" >&5
21251 sed 's/^/| /' conftest.$ac_ext >&5
21252
21253 cat >conftest.$ac_ext <<_ACEOF
21254 /* confdefs.h. */
21255 _ACEOF
21256 cat confdefs.h >>conftest.$ac_ext
21257 cat >>conftest.$ac_ext <<_ACEOF
21258 /* end confdefs.h. */
21259 $ac_includes_default
21260 typedef long long ac__type_sizeof_;
21261 int
21262 main ()
21263 {
21264 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21265 test_array [0] = 0
21266
21267 ;
21268 return 0;
21269 }
21270 _ACEOF
21271 rm -f conftest.$ac_objext
21272 if { (ac_try="$ac_compile"
21273 case "(($ac_try" in
21274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21275 *) ac_try_echo=$ac_try;;
21276 esac
21277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21278 (eval "$ac_compile") 2>conftest.er1
21279 ac_status=$?
21280 grep -v '^ *+' conftest.er1 >conftest.err
21281 rm -f conftest.er1
21282 cat conftest.err >&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } && {
21285 test -z "$ac_c_werror_flag" ||
21286 test ! -s conftest.err
21287 } && test -s conftest.$ac_objext; then
21288 ac_hi=-1 ac_mid=-1
21289 while :; do
21290 cat >conftest.$ac_ext <<_ACEOF
21291 /* confdefs.h. */
21292 _ACEOF
21293 cat confdefs.h >>conftest.$ac_ext
21294 cat >>conftest.$ac_ext <<_ACEOF
21295 /* end confdefs.h. */
21296 $ac_includes_default
21297 typedef long long ac__type_sizeof_;
21298 int
21299 main ()
21300 {
21301 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21302 test_array [0] = 0
21303
21304 ;
21305 return 0;
21306 }
21307 _ACEOF
21308 rm -f conftest.$ac_objext
21309 if { (ac_try="$ac_compile"
21310 case "(($ac_try" in
21311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21312 *) ac_try_echo=$ac_try;;
21313 esac
21314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21315 (eval "$ac_compile") 2>conftest.er1
21316 ac_status=$?
21317 grep -v '^ *+' conftest.er1 >conftest.err
21318 rm -f conftest.er1
21319 cat conftest.err >&5
21320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21321 (exit $ac_status); } && {
21322 test -z "$ac_c_werror_flag" ||
21323 test ! -s conftest.err
21324 } && test -s conftest.$ac_objext; then
21325 ac_lo=$ac_mid; break
21326 else
21327 echo "$as_me: failed program was:" >&5
21328 sed 's/^/| /' conftest.$ac_ext >&5
21329
21330 ac_hi=`expr '(' $ac_mid ')' - 1`
21331 if test $ac_mid -le $ac_hi; then
21332 ac_lo= ac_hi=
21333 break
21334 fi
21335 ac_mid=`expr 2 '*' $ac_mid`
21336 fi
21337
21338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21339 done
21340 else
21341 echo "$as_me: failed program was:" >&5
21342 sed 's/^/| /' conftest.$ac_ext >&5
21343
21344 ac_lo= ac_hi=
21345 fi
21346
21347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21348 fi
21349
21350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21351 # Binary search between lo and hi bounds.
21352 while test "x$ac_lo" != "x$ac_hi"; do
21353 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21354 cat >conftest.$ac_ext <<_ACEOF
21355 /* confdefs.h. */
21356 _ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 typedef long long ac__type_sizeof_;
21362 int
21363 main ()
21364 {
21365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21366 test_array [0] = 0
21367
21368 ;
21369 return 0;
21370 }
21371 _ACEOF
21372 rm -f conftest.$ac_objext
21373 if { (ac_try="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21377 esac
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21380 ac_status=$?
21381 grep -v '^ *+' conftest.er1 >conftest.err
21382 rm -f conftest.er1
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21389 ac_hi=$ac_mid
21390 else
21391 echo "$as_me: failed program was:" >&5
21392 sed 's/^/| /' conftest.$ac_ext >&5
21393
21394 ac_lo=`expr '(' $ac_mid ')' + 1`
21395 fi
21396
21397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21398 done
21399 case $ac_lo in
21400 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21401 '') if test "$ac_cv_type_long_long" = yes; then
21402 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21403 See \`config.log' for more details." >&5
21404 echo "$as_me: error: cannot compute sizeof (long long)
21405 See \`config.log' for more details." >&2;}
21406 { (exit 77); exit 77; }; }
21407 else
21408 ac_cv_sizeof_long_long=0
21409 fi ;;
21410 esac
21411 else
21412 cat >conftest.$ac_ext <<_ACEOF
21413 /* confdefs.h. */
21414 _ACEOF
21415 cat confdefs.h >>conftest.$ac_ext
21416 cat >>conftest.$ac_ext <<_ACEOF
21417 /* end confdefs.h. */
21418 $ac_includes_default
21419 typedef long long ac__type_sizeof_;
21420 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21421 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21422 #include <stdio.h>
21423 #include <stdlib.h>
21424 int
21425 main ()
21426 {
21427
21428 FILE *f = fopen ("conftest.val", "w");
21429 if (! f)
21430 return 1;
21431 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21432 {
21433 long int i = longval ();
21434 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21435 return 1;
21436 fprintf (f, "%ld\n", i);
21437 }
21438 else
21439 {
21440 unsigned long int i = ulongval ();
21441 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21442 return 1;
21443 fprintf (f, "%lu\n", i);
21444 }
21445 return ferror (f) || fclose (f) != 0;
21446
21447 ;
21448 return 0;
21449 }
21450 _ACEOF
21451 rm -f conftest$ac_exeext
21452 if { (ac_try="$ac_link"
21453 case "(($ac_try" in
21454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21455 *) ac_try_echo=$ac_try;;
21456 esac
21457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21458 (eval "$ac_link") 2>&5
21459 ac_status=$?
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21462 { (case "(($ac_try" in
21463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21464 *) ac_try_echo=$ac_try;;
21465 esac
21466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21467 (eval "$ac_try") 2>&5
21468 ac_status=$?
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); }; }; then
21471 ac_cv_sizeof_long_long=`cat conftest.val`
21472 else
21473 echo "$as_me: program exited with status $ac_status" >&5
21474 echo "$as_me: failed program was:" >&5
21475 sed 's/^/| /' conftest.$ac_ext >&5
21476
21477 ( exit $ac_status )
21478 if test "$ac_cv_type_long_long" = yes; then
21479 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21480 See \`config.log' for more details." >&5
21481 echo "$as_me: error: cannot compute sizeof (long long)
21482 See \`config.log' for more details." >&2;}
21483 { (exit 77); exit 77; }; }
21484 else
21485 ac_cv_sizeof_long_long=0
21486 fi
21487 fi
21488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21489 fi
21490 rm -f conftest.val
21491 fi
21492 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21493 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21494
21495
21496
21497 cat >>confdefs.h <<_ACEOF
21498 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21499 _ACEOF
21500
21501
21502 ;;
21503 *-hp-hpux* )
21504 { echo "$as_me:$LINENO: checking for long long" >&5
21505 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21506 if test "${ac_cv_type_long_long+set}" = set; then
21507 echo $ECHO_N "(cached) $ECHO_C" >&6
21508 else
21509 cat >conftest.$ac_ext <<_ACEOF
21510 /* confdefs.h. */
21511 _ACEOF
21512 cat confdefs.h >>conftest.$ac_ext
21513 cat >>conftest.$ac_ext <<_ACEOF
21514 /* end confdefs.h. */
21515 $ac_includes_default
21516 typedef long long ac__type_new_;
21517 int
21518 main ()
21519 {
21520 if ((ac__type_new_ *) 0)
21521 return 0;
21522 if (sizeof (ac__type_new_))
21523 return 0;
21524 ;
21525 return 0;
21526 }
21527 _ACEOF
21528 rm -f conftest.$ac_objext
21529 if { (ac_try="$ac_compile"
21530 case "(($ac_try" in
21531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21532 *) ac_try_echo=$ac_try;;
21533 esac
21534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21535 (eval "$ac_compile") 2>conftest.er1
21536 ac_status=$?
21537 grep -v '^ *+' conftest.er1 >conftest.err
21538 rm -f conftest.er1
21539 cat conftest.err >&5
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); } && {
21542 test -z "$ac_c_werror_flag" ||
21543 test ! -s conftest.err
21544 } && test -s conftest.$ac_objext; then
21545 ac_cv_type_long_long=yes
21546 else
21547 echo "$as_me: failed program was:" >&5
21548 sed 's/^/| /' conftest.$ac_ext >&5
21549
21550 ac_cv_type_long_long=no
21551 fi
21552
21553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21554 fi
21555 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21556 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21557
21558 # The cast to long int works around a bug in the HP C Compiler
21559 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21560 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21561 # This bug is HP SR number 8606223364.
21562 { echo "$as_me:$LINENO: checking size of long long" >&5
21563 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21564 if test "${ac_cv_sizeof_long_long+set}" = set; then
21565 echo $ECHO_N "(cached) $ECHO_C" >&6
21566 else
21567 if test "$cross_compiling" = yes; then
21568 # Depending upon the size, compute the lo and hi bounds.
21569 cat >conftest.$ac_ext <<_ACEOF
21570 /* confdefs.h. */
21571 _ACEOF
21572 cat confdefs.h >>conftest.$ac_ext
21573 cat >>conftest.$ac_ext <<_ACEOF
21574 /* end confdefs.h. */
21575 $ac_includes_default
21576 typedef long long ac__type_sizeof_;
21577 int
21578 main ()
21579 {
21580 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21581 test_array [0] = 0
21582
21583 ;
21584 return 0;
21585 }
21586 _ACEOF
21587 rm -f conftest.$ac_objext
21588 if { (ac_try="$ac_compile"
21589 case "(($ac_try" in
21590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21591 *) ac_try_echo=$ac_try;;
21592 esac
21593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21594 (eval "$ac_compile") 2>conftest.er1
21595 ac_status=$?
21596 grep -v '^ *+' conftest.er1 >conftest.err
21597 rm -f conftest.er1
21598 cat conftest.err >&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } && {
21601 test -z "$ac_c_werror_flag" ||
21602 test ! -s conftest.err
21603 } && test -s conftest.$ac_objext; then
21604 ac_lo=0 ac_mid=0
21605 while :; do
21606 cat >conftest.$ac_ext <<_ACEOF
21607 /* confdefs.h. */
21608 _ACEOF
21609 cat confdefs.h >>conftest.$ac_ext
21610 cat >>conftest.$ac_ext <<_ACEOF
21611 /* end confdefs.h. */
21612 $ac_includes_default
21613 typedef long long ac__type_sizeof_;
21614 int
21615 main ()
21616 {
21617 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21618 test_array [0] = 0
21619
21620 ;
21621 return 0;
21622 }
21623 _ACEOF
21624 rm -f conftest.$ac_objext
21625 if { (ac_try="$ac_compile"
21626 case "(($ac_try" in
21627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21628 *) ac_try_echo=$ac_try;;
21629 esac
21630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21631 (eval "$ac_compile") 2>conftest.er1
21632 ac_status=$?
21633 grep -v '^ *+' conftest.er1 >conftest.err
21634 rm -f conftest.er1
21635 cat conftest.err >&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } && {
21638 test -z "$ac_c_werror_flag" ||
21639 test ! -s conftest.err
21640 } && test -s conftest.$ac_objext; then
21641 ac_hi=$ac_mid; break
21642 else
21643 echo "$as_me: failed program was:" >&5
21644 sed 's/^/| /' conftest.$ac_ext >&5
21645
21646 ac_lo=`expr $ac_mid + 1`
21647 if test $ac_lo -le $ac_mid; then
21648 ac_lo= ac_hi=
21649 break
21650 fi
21651 ac_mid=`expr 2 '*' $ac_mid + 1`
21652 fi
21653
21654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21655 done
21656 else
21657 echo "$as_me: failed program was:" >&5
21658 sed 's/^/| /' conftest.$ac_ext >&5
21659
21660 cat >conftest.$ac_ext <<_ACEOF
21661 /* confdefs.h. */
21662 _ACEOF
21663 cat confdefs.h >>conftest.$ac_ext
21664 cat >>conftest.$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21666 $ac_includes_default
21667 typedef long long ac__type_sizeof_;
21668 int
21669 main ()
21670 {
21671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21672 test_array [0] = 0
21673
21674 ;
21675 return 0;
21676 }
21677 _ACEOF
21678 rm -f conftest.$ac_objext
21679 if { (ac_try="$ac_compile"
21680 case "(($ac_try" in
21681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21682 *) ac_try_echo=$ac_try;;
21683 esac
21684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21685 (eval "$ac_compile") 2>conftest.er1
21686 ac_status=$?
21687 grep -v '^ *+' conftest.er1 >conftest.err
21688 rm -f conftest.er1
21689 cat conftest.err >&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); } && {
21692 test -z "$ac_c_werror_flag" ||
21693 test ! -s conftest.err
21694 } && test -s conftest.$ac_objext; then
21695 ac_hi=-1 ac_mid=-1
21696 while :; do
21697 cat >conftest.$ac_ext <<_ACEOF
21698 /* confdefs.h. */
21699 _ACEOF
21700 cat confdefs.h >>conftest.$ac_ext
21701 cat >>conftest.$ac_ext <<_ACEOF
21702 /* end confdefs.h. */
21703 $ac_includes_default
21704 typedef long long ac__type_sizeof_;
21705 int
21706 main ()
21707 {
21708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21709 test_array [0] = 0
21710
21711 ;
21712 return 0;
21713 }
21714 _ACEOF
21715 rm -f conftest.$ac_objext
21716 if { (ac_try="$ac_compile"
21717 case "(($ac_try" in
21718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21719 *) ac_try_echo=$ac_try;;
21720 esac
21721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21722 (eval "$ac_compile") 2>conftest.er1
21723 ac_status=$?
21724 grep -v '^ *+' conftest.er1 >conftest.err
21725 rm -f conftest.er1
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } && {
21729 test -z "$ac_c_werror_flag" ||
21730 test ! -s conftest.err
21731 } && test -s conftest.$ac_objext; then
21732 ac_lo=$ac_mid; break
21733 else
21734 echo "$as_me: failed program was:" >&5
21735 sed 's/^/| /' conftest.$ac_ext >&5
21736
21737 ac_hi=`expr '(' $ac_mid ')' - 1`
21738 if test $ac_mid -le $ac_hi; then
21739 ac_lo= ac_hi=
21740 break
21741 fi
21742 ac_mid=`expr 2 '*' $ac_mid`
21743 fi
21744
21745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21746 done
21747 else
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.$ac_ext >&5
21750
21751 ac_lo= ac_hi=
21752 fi
21753
21754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21755 fi
21756
21757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21758 # Binary search between lo and hi bounds.
21759 while test "x$ac_lo" != "x$ac_hi"; do
21760 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21761 cat >conftest.$ac_ext <<_ACEOF
21762 /* confdefs.h. */
21763 _ACEOF
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21767 $ac_includes_default
21768 typedef long long ac__type_sizeof_;
21769 int
21770 main ()
21771 {
21772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21773 test_array [0] = 0
21774
21775 ;
21776 return 0;
21777 }
21778 _ACEOF
21779 rm -f conftest.$ac_objext
21780 if { (ac_try="$ac_compile"
21781 case "(($ac_try" in
21782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21784 esac
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_compile") 2>conftest.er1
21787 ac_status=$?
21788 grep -v '^ *+' conftest.er1 >conftest.err
21789 rm -f conftest.er1
21790 cat conftest.err >&5
21791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21792 (exit $ac_status); } && {
21793 test -z "$ac_c_werror_flag" ||
21794 test ! -s conftest.err
21795 } && test -s conftest.$ac_objext; then
21796 ac_hi=$ac_mid
21797 else
21798 echo "$as_me: failed program was:" >&5
21799 sed 's/^/| /' conftest.$ac_ext >&5
21800
21801 ac_lo=`expr '(' $ac_mid ')' + 1`
21802 fi
21803
21804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21805 done
21806 case $ac_lo in
21807 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21808 '') if test "$ac_cv_type_long_long" = yes; then
21809 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21810 See \`config.log' for more details." >&5
21811 echo "$as_me: error: cannot compute sizeof (long long)
21812 See \`config.log' for more details." >&2;}
21813 { (exit 77); exit 77; }; }
21814 else
21815 ac_cv_sizeof_long_long=0
21816 fi ;;
21817 esac
21818 else
21819 cat >conftest.$ac_ext <<_ACEOF
21820 /* confdefs.h. */
21821 _ACEOF
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 $ac_includes_default
21826 typedef long long ac__type_sizeof_;
21827 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21828 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21829 #include <stdio.h>
21830 #include <stdlib.h>
21831 int
21832 main ()
21833 {
21834
21835 FILE *f = fopen ("conftest.val", "w");
21836 if (! f)
21837 return 1;
21838 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21839 {
21840 long int i = longval ();
21841 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21842 return 1;
21843 fprintf (f, "%ld\n", i);
21844 }
21845 else
21846 {
21847 unsigned long int i = ulongval ();
21848 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21849 return 1;
21850 fprintf (f, "%lu\n", i);
21851 }
21852 return ferror (f) || fclose (f) != 0;
21853
21854 ;
21855 return 0;
21856 }
21857 _ACEOF
21858 rm -f conftest$ac_exeext
21859 if { (ac_try="$ac_link"
21860 case "(($ac_try" in
21861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21862 *) ac_try_echo=$ac_try;;
21863 esac
21864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21865 (eval "$ac_link") 2>&5
21866 ac_status=$?
21867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21868 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21869 { (case "(($ac_try" in
21870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21871 *) ac_try_echo=$ac_try;;
21872 esac
21873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21874 (eval "$ac_try") 2>&5
21875 ac_status=$?
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); }; }; then
21878 ac_cv_sizeof_long_long=`cat conftest.val`
21879 else
21880 echo "$as_me: program exited with status $ac_status" >&5
21881 echo "$as_me: failed program was:" >&5
21882 sed 's/^/| /' conftest.$ac_ext >&5
21883
21884 ( exit $ac_status )
21885 if test "$ac_cv_type_long_long" = yes; then
21886 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21887 See \`config.log' for more details." >&5
21888 echo "$as_me: error: cannot compute sizeof (long long)
21889 See \`config.log' for more details." >&2;}
21890 { (exit 77); exit 77; }; }
21891 else
21892 ac_cv_sizeof_long_long=0
21893 fi
21894 fi
21895 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21896 fi
21897 rm -f conftest.val
21898 fi
21899 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21900 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21901
21902
21903
21904 cat >>confdefs.h <<_ACEOF
21905 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21906 _ACEOF
21907
21908
21909 if test "$ac_cv_sizeof_long_long" != 0; then
21910 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21911 fi
21912 ;;
21913 * )
21914 { echo "$as_me:$LINENO: checking for long long" >&5
21915 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21916 if test "${ac_cv_type_long_long+set}" = set; then
21917 echo $ECHO_N "(cached) $ECHO_C" >&6
21918 else
21919 cat >conftest.$ac_ext <<_ACEOF
21920 /* confdefs.h. */
21921 _ACEOF
21922 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21925 $ac_includes_default
21926 typedef long long ac__type_new_;
21927 int
21928 main ()
21929 {
21930 if ((ac__type_new_ *) 0)
21931 return 0;
21932 if (sizeof (ac__type_new_))
21933 return 0;
21934 ;
21935 return 0;
21936 }
21937 _ACEOF
21938 rm -f conftest.$ac_objext
21939 if { (ac_try="$ac_compile"
21940 case "(($ac_try" in
21941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21942 *) ac_try_echo=$ac_try;;
21943 esac
21944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21945 (eval "$ac_compile") 2>conftest.er1
21946 ac_status=$?
21947 grep -v '^ *+' conftest.er1 >conftest.err
21948 rm -f conftest.er1
21949 cat conftest.err >&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); } && {
21952 test -z "$ac_c_werror_flag" ||
21953 test ! -s conftest.err
21954 } && test -s conftest.$ac_objext; then
21955 ac_cv_type_long_long=yes
21956 else
21957 echo "$as_me: failed program was:" >&5
21958 sed 's/^/| /' conftest.$ac_ext >&5
21959
21960 ac_cv_type_long_long=no
21961 fi
21962
21963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21964 fi
21965 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21966 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21967
21968 # The cast to long int works around a bug in the HP C Compiler
21969 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21970 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21971 # This bug is HP SR number 8606223364.
21972 { echo "$as_me:$LINENO: checking size of long long" >&5
21973 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21974 if test "${ac_cv_sizeof_long_long+set}" = set; then
21975 echo $ECHO_N "(cached) $ECHO_C" >&6
21976 else
21977 if test "$cross_compiling" = yes; then
21978 # Depending upon the size, compute the lo and hi bounds.
21979 cat >conftest.$ac_ext <<_ACEOF
21980 /* confdefs.h. */
21981 _ACEOF
21982 cat confdefs.h >>conftest.$ac_ext
21983 cat >>conftest.$ac_ext <<_ACEOF
21984 /* end confdefs.h. */
21985 $ac_includes_default
21986 typedef long long ac__type_sizeof_;
21987 int
21988 main ()
21989 {
21990 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21991 test_array [0] = 0
21992
21993 ;
21994 return 0;
21995 }
21996 _ACEOF
21997 rm -f conftest.$ac_objext
21998 if { (ac_try="$ac_compile"
21999 case "(($ac_try" in
22000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22001 *) ac_try_echo=$ac_try;;
22002 esac
22003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22004 (eval "$ac_compile") 2>conftest.er1
22005 ac_status=$?
22006 grep -v '^ *+' conftest.er1 >conftest.err
22007 rm -f conftest.er1
22008 cat conftest.err >&5
22009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); } && {
22011 test -z "$ac_c_werror_flag" ||
22012 test ! -s conftest.err
22013 } && test -s conftest.$ac_objext; then
22014 ac_lo=0 ac_mid=0
22015 while :; do
22016 cat >conftest.$ac_ext <<_ACEOF
22017 /* confdefs.h. */
22018 _ACEOF
22019 cat confdefs.h >>conftest.$ac_ext
22020 cat >>conftest.$ac_ext <<_ACEOF
22021 /* end confdefs.h. */
22022 $ac_includes_default
22023 typedef long long ac__type_sizeof_;
22024 int
22025 main ()
22026 {
22027 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22028 test_array [0] = 0
22029
22030 ;
22031 return 0;
22032 }
22033 _ACEOF
22034 rm -f conftest.$ac_objext
22035 if { (ac_try="$ac_compile"
22036 case "(($ac_try" in
22037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22038 *) ac_try_echo=$ac_try;;
22039 esac
22040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22041 (eval "$ac_compile") 2>conftest.er1
22042 ac_status=$?
22043 grep -v '^ *+' conftest.er1 >conftest.err
22044 rm -f conftest.er1
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } && {
22048 test -z "$ac_c_werror_flag" ||
22049 test ! -s conftest.err
22050 } && test -s conftest.$ac_objext; then
22051 ac_hi=$ac_mid; break
22052 else
22053 echo "$as_me: failed program was:" >&5
22054 sed 's/^/| /' conftest.$ac_ext >&5
22055
22056 ac_lo=`expr $ac_mid + 1`
22057 if test $ac_lo -le $ac_mid; then
22058 ac_lo= ac_hi=
22059 break
22060 fi
22061 ac_mid=`expr 2 '*' $ac_mid + 1`
22062 fi
22063
22064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22065 done
22066 else
22067 echo "$as_me: failed program was:" >&5
22068 sed 's/^/| /' conftest.$ac_ext >&5
22069
22070 cat >conftest.$ac_ext <<_ACEOF
22071 /* confdefs.h. */
22072 _ACEOF
22073 cat confdefs.h >>conftest.$ac_ext
22074 cat >>conftest.$ac_ext <<_ACEOF
22075 /* end confdefs.h. */
22076 $ac_includes_default
22077 typedef long long ac__type_sizeof_;
22078 int
22079 main ()
22080 {
22081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22082 test_array [0] = 0
22083
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 rm -f conftest.$ac_objext
22089 if { (ac_try="$ac_compile"
22090 case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22093 esac
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_compile") 2>conftest.er1
22096 ac_status=$?
22097 grep -v '^ *+' conftest.er1 >conftest.err
22098 rm -f conftest.er1
22099 cat conftest.err >&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_c_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest.$ac_objext; then
22105 ac_hi=-1 ac_mid=-1
22106 while :; do
22107 cat >conftest.$ac_ext <<_ACEOF
22108 /* confdefs.h. */
22109 _ACEOF
22110 cat confdefs.h >>conftest.$ac_ext
22111 cat >>conftest.$ac_ext <<_ACEOF
22112 /* end confdefs.h. */
22113 $ac_includes_default
22114 typedef long long ac__type_sizeof_;
22115 int
22116 main ()
22117 {
22118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22119 test_array [0] = 0
22120
22121 ;
22122 return 0;
22123 }
22124 _ACEOF
22125 rm -f conftest.$ac_objext
22126 if { (ac_try="$ac_compile"
22127 case "(($ac_try" in
22128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22129 *) ac_try_echo=$ac_try;;
22130 esac
22131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22132 (eval "$ac_compile") 2>conftest.er1
22133 ac_status=$?
22134 grep -v '^ *+' conftest.er1 >conftest.err
22135 rm -f conftest.er1
22136 cat conftest.err >&5
22137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22138 (exit $ac_status); } && {
22139 test -z "$ac_c_werror_flag" ||
22140 test ! -s conftest.err
22141 } && test -s conftest.$ac_objext; then
22142 ac_lo=$ac_mid; break
22143 else
22144 echo "$as_me: failed program was:" >&5
22145 sed 's/^/| /' conftest.$ac_ext >&5
22146
22147 ac_hi=`expr '(' $ac_mid ')' - 1`
22148 if test $ac_mid -le $ac_hi; then
22149 ac_lo= ac_hi=
22150 break
22151 fi
22152 ac_mid=`expr 2 '*' $ac_mid`
22153 fi
22154
22155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22156 done
22157 else
22158 echo "$as_me: failed program was:" >&5
22159 sed 's/^/| /' conftest.$ac_ext >&5
22160
22161 ac_lo= ac_hi=
22162 fi
22163
22164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22165 fi
22166
22167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22168 # Binary search between lo and hi bounds.
22169 while test "x$ac_lo" != "x$ac_hi"; do
22170 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22171 cat >conftest.$ac_ext <<_ACEOF
22172 /* confdefs.h. */
22173 _ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef long long ac__type_sizeof_;
22179 int
22180 main ()
22181 {
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22183 test_array [0] = 0
22184
22185 ;
22186 return 0;
22187 }
22188 _ACEOF
22189 rm -f conftest.$ac_objext
22190 if { (ac_try="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22194 esac
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22197 ac_status=$?
22198 grep -v '^ *+' conftest.er1 >conftest.err
22199 rm -f conftest.er1
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.$ac_objext; then
22206 ac_hi=$ac_mid
22207 else
22208 echo "$as_me: failed program was:" >&5
22209 sed 's/^/| /' conftest.$ac_ext >&5
22210
22211 ac_lo=`expr '(' $ac_mid ')' + 1`
22212 fi
22213
22214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22215 done
22216 case $ac_lo in
22217 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22218 '') if test "$ac_cv_type_long_long" = yes; then
22219 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22220 See \`config.log' for more details." >&5
22221 echo "$as_me: error: cannot compute sizeof (long long)
22222 See \`config.log' for more details." >&2;}
22223 { (exit 77); exit 77; }; }
22224 else
22225 ac_cv_sizeof_long_long=0
22226 fi ;;
22227 esac
22228 else
22229 cat >conftest.$ac_ext <<_ACEOF
22230 /* confdefs.h. */
22231 _ACEOF
22232 cat confdefs.h >>conftest.$ac_ext
22233 cat >>conftest.$ac_ext <<_ACEOF
22234 /* end confdefs.h. */
22235 $ac_includes_default
22236 typedef long long ac__type_sizeof_;
22237 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22238 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22239 #include <stdio.h>
22240 #include <stdlib.h>
22241 int
22242 main ()
22243 {
22244
22245 FILE *f = fopen ("conftest.val", "w");
22246 if (! f)
22247 return 1;
22248 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22249 {
22250 long int i = longval ();
22251 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22252 return 1;
22253 fprintf (f, "%ld\n", i);
22254 }
22255 else
22256 {
22257 unsigned long int i = ulongval ();
22258 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22259 return 1;
22260 fprintf (f, "%lu\n", i);
22261 }
22262 return ferror (f) || fclose (f) != 0;
22263
22264 ;
22265 return 0;
22266 }
22267 _ACEOF
22268 rm -f conftest$ac_exeext
22269 if { (ac_try="$ac_link"
22270 case "(($ac_try" in
22271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22272 *) ac_try_echo=$ac_try;;
22273 esac
22274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22275 (eval "$ac_link") 2>&5
22276 ac_status=$?
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22279 { (case "(($ac_try" in
22280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22281 *) ac_try_echo=$ac_try;;
22282 esac
22283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22284 (eval "$ac_try") 2>&5
22285 ac_status=$?
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; }; then
22288 ac_cv_sizeof_long_long=`cat conftest.val`
22289 else
22290 echo "$as_me: program exited with status $ac_status" >&5
22291 echo "$as_me: failed program was:" >&5
22292 sed 's/^/| /' conftest.$ac_ext >&5
22293
22294 ( exit $ac_status )
22295 if test "$ac_cv_type_long_long" = yes; then
22296 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22297 See \`config.log' for more details." >&5
22298 echo "$as_me: error: cannot compute sizeof (long long)
22299 See \`config.log' for more details." >&2;}
22300 { (exit 77); exit 77; }; }
22301 else
22302 ac_cv_sizeof_long_long=0
22303 fi
22304 fi
22305 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22306 fi
22307 rm -f conftest.val
22308 fi
22309 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22310 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22311
22312
22313
22314 cat >>confdefs.h <<_ACEOF
22315 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22316 _ACEOF
22317
22318
22319 esac
22320
22321 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22322 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22323 if test "${ac_cv_type_wchar_t+set}" = set; then
22324 echo $ECHO_N "(cached) $ECHO_C" >&6
22325 else
22326 cat >conftest.$ac_ext <<_ACEOF
22327 /* confdefs.h. */
22328 _ACEOF
22329 cat confdefs.h >>conftest.$ac_ext
22330 cat >>conftest.$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332
22333 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22334 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22335 # error "fake wchar_t"
22336 #endif
22337 #ifdef HAVE_WCHAR_H
22338 # ifdef __CYGWIN__
22339 # include <stddef.h>
22340 # endif
22341 # include <wchar.h>
22342 #endif
22343 #ifdef HAVE_STDLIB_H
22344 # include <stdlib.h>
22345 #endif
22346 #include <stdio.h>
22347
22348
22349
22350 typedef wchar_t ac__type_new_;
22351 int
22352 main ()
22353 {
22354 if ((ac__type_new_ *) 0)
22355 return 0;
22356 if (sizeof (ac__type_new_))
22357 return 0;
22358 ;
22359 return 0;
22360 }
22361 _ACEOF
22362 rm -f conftest.$ac_objext
22363 if { (ac_try="$ac_compile"
22364 case "(($ac_try" in
22365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22366 *) ac_try_echo=$ac_try;;
22367 esac
22368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22369 (eval "$ac_compile") 2>conftest.er1
22370 ac_status=$?
22371 grep -v '^ *+' conftest.er1 >conftest.err
22372 rm -f conftest.er1
22373 cat conftest.err >&5
22374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22375 (exit $ac_status); } && {
22376 test -z "$ac_c_werror_flag" ||
22377 test ! -s conftest.err
22378 } && test -s conftest.$ac_objext; then
22379 ac_cv_type_wchar_t=yes
22380 else
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.$ac_ext >&5
22383
22384 ac_cv_type_wchar_t=no
22385 fi
22386
22387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22388 fi
22389 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22390 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22391
22392 # The cast to long int works around a bug in the HP C Compiler
22393 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22394 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22395 # This bug is HP SR number 8606223364.
22396 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22397 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22398 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22399 echo $ECHO_N "(cached) $ECHO_C" >&6
22400 else
22401 if test "$cross_compiling" = yes; then
22402 # Depending upon the size, compute the lo and hi bounds.
22403 cat >conftest.$ac_ext <<_ACEOF
22404 /* confdefs.h. */
22405 _ACEOF
22406 cat confdefs.h >>conftest.$ac_ext
22407 cat >>conftest.$ac_ext <<_ACEOF
22408 /* end confdefs.h. */
22409
22410 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22411 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22412 # error "fake wchar_t"
22413 #endif
22414 #ifdef HAVE_WCHAR_H
22415 # ifdef __CYGWIN__
22416 # include <stddef.h>
22417 # endif
22418 # include <wchar.h>
22419 #endif
22420 #ifdef HAVE_STDLIB_H
22421 # include <stdlib.h>
22422 #endif
22423 #include <stdio.h>
22424
22425
22426
22427 typedef wchar_t ac__type_sizeof_;
22428 int
22429 main ()
22430 {
22431 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
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=0 ac_mid=0
22456 while :; do
22457 cat >conftest.$ac_ext <<_ACEOF
22458 /* confdefs.h. */
22459 _ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463
22464 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22465 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22466 # error "fake wchar_t"
22467 #endif
22468 #ifdef HAVE_WCHAR_H
22469 # ifdef __CYGWIN__
22470 # include <stddef.h>
22471 # endif
22472 # include <wchar.h>
22473 #endif
22474 #ifdef HAVE_STDLIB_H
22475 # include <stdlib.h>
22476 #endif
22477 #include <stdio.h>
22478
22479
22480
22481 typedef wchar_t ac__type_sizeof_;
22482 int
22483 main ()
22484 {
22485 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22486 test_array [0] = 0
22487
22488 ;
22489 return 0;
22490 }
22491 _ACEOF
22492 rm -f conftest.$ac_objext
22493 if { (ac_try="$ac_compile"
22494 case "(($ac_try" in
22495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22496 *) ac_try_echo=$ac_try;;
22497 esac
22498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22499 (eval "$ac_compile") 2>conftest.er1
22500 ac_status=$?
22501 grep -v '^ *+' conftest.er1 >conftest.err
22502 rm -f conftest.er1
22503 cat conftest.err >&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); } && {
22506 test -z "$ac_c_werror_flag" ||
22507 test ! -s conftest.err
22508 } && test -s conftest.$ac_objext; then
22509 ac_hi=$ac_mid; break
22510 else
22511 echo "$as_me: failed program was:" >&5
22512 sed 's/^/| /' conftest.$ac_ext >&5
22513
22514 ac_lo=`expr $ac_mid + 1`
22515 if test $ac_lo -le $ac_mid; then
22516 ac_lo= ac_hi=
22517 break
22518 fi
22519 ac_mid=`expr 2 '*' $ac_mid + 1`
22520 fi
22521
22522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22523 done
22524 else
22525 echo "$as_me: failed program was:" >&5
22526 sed 's/^/| /' conftest.$ac_ext >&5
22527
22528 cat >conftest.$ac_ext <<_ACEOF
22529 /* confdefs.h. */
22530 _ACEOF
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534
22535 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22536 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22537 # error "fake wchar_t"
22538 #endif
22539 #ifdef HAVE_WCHAR_H
22540 # ifdef __CYGWIN__
22541 # include <stddef.h>
22542 # endif
22543 # include <wchar.h>
22544 #endif
22545 #ifdef HAVE_STDLIB_H
22546 # include <stdlib.h>
22547 #endif
22548 #include <stdio.h>
22549
22550
22551
22552 typedef wchar_t ac__type_sizeof_;
22553 int
22554 main ()
22555 {
22556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22557 test_array [0] = 0
22558
22559 ;
22560 return 0;
22561 }
22562 _ACEOF
22563 rm -f conftest.$ac_objext
22564 if { (ac_try="$ac_compile"
22565 case "(($ac_try" in
22566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22567 *) ac_try_echo=$ac_try;;
22568 esac
22569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22570 (eval "$ac_compile") 2>conftest.er1
22571 ac_status=$?
22572 grep -v '^ *+' conftest.er1 >conftest.err
22573 rm -f conftest.er1
22574 cat conftest.err >&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && {
22577 test -z "$ac_c_werror_flag" ||
22578 test ! -s conftest.err
22579 } && test -s conftest.$ac_objext; then
22580 ac_hi=-1 ac_mid=-1
22581 while :; do
22582 cat >conftest.$ac_ext <<_ACEOF
22583 /* confdefs.h. */
22584 _ACEOF
22585 cat confdefs.h >>conftest.$ac_ext
22586 cat >>conftest.$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22588
22589 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22590 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22591 # error "fake wchar_t"
22592 #endif
22593 #ifdef HAVE_WCHAR_H
22594 # ifdef __CYGWIN__
22595 # include <stddef.h>
22596 # endif
22597 # include <wchar.h>
22598 #endif
22599 #ifdef HAVE_STDLIB_H
22600 # include <stdlib.h>
22601 #endif
22602 #include <stdio.h>
22603
22604
22605
22606 typedef wchar_t ac__type_sizeof_;
22607 int
22608 main ()
22609 {
22610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22611 test_array [0] = 0
22612
22613 ;
22614 return 0;
22615 }
22616 _ACEOF
22617 rm -f conftest.$ac_objext
22618 if { (ac_try="$ac_compile"
22619 case "(($ac_try" in
22620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22621 *) ac_try_echo=$ac_try;;
22622 esac
22623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22624 (eval "$ac_compile") 2>conftest.er1
22625 ac_status=$?
22626 grep -v '^ *+' conftest.er1 >conftest.err
22627 rm -f conftest.er1
22628 cat conftest.err >&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); } && {
22631 test -z "$ac_c_werror_flag" ||
22632 test ! -s conftest.err
22633 } && test -s conftest.$ac_objext; then
22634 ac_lo=$ac_mid; break
22635 else
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.$ac_ext >&5
22638
22639 ac_hi=`expr '(' $ac_mid ')' - 1`
22640 if test $ac_mid -le $ac_hi; then
22641 ac_lo= ac_hi=
22642 break
22643 fi
22644 ac_mid=`expr 2 '*' $ac_mid`
22645 fi
22646
22647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22648 done
22649 else
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.$ac_ext >&5
22652
22653 ac_lo= ac_hi=
22654 fi
22655
22656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22657 fi
22658
22659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22660 # Binary search between lo and hi bounds.
22661 while test "x$ac_lo" != "x$ac_hi"; do
22662 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22663 cat >conftest.$ac_ext <<_ACEOF
22664 /* confdefs.h. */
22665 _ACEOF
22666 cat confdefs.h >>conftest.$ac_ext
22667 cat >>conftest.$ac_ext <<_ACEOF
22668 /* end confdefs.h. */
22669
22670 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22671 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22672 # error "fake wchar_t"
22673 #endif
22674 #ifdef HAVE_WCHAR_H
22675 # ifdef __CYGWIN__
22676 # include <stddef.h>
22677 # endif
22678 # include <wchar.h>
22679 #endif
22680 #ifdef HAVE_STDLIB_H
22681 # include <stdlib.h>
22682 #endif
22683 #include <stdio.h>
22684
22685
22686
22687 typedef wchar_t ac__type_sizeof_;
22688 int
22689 main ()
22690 {
22691 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22692 test_array [0] = 0
22693
22694 ;
22695 return 0;
22696 }
22697 _ACEOF
22698 rm -f conftest.$ac_objext
22699 if { (ac_try="$ac_compile"
22700 case "(($ac_try" in
22701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22702 *) ac_try_echo=$ac_try;;
22703 esac
22704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22705 (eval "$ac_compile") 2>conftest.er1
22706 ac_status=$?
22707 grep -v '^ *+' conftest.er1 >conftest.err
22708 rm -f conftest.er1
22709 cat conftest.err >&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } && {
22712 test -z "$ac_c_werror_flag" ||
22713 test ! -s conftest.err
22714 } && test -s conftest.$ac_objext; then
22715 ac_hi=$ac_mid
22716 else
22717 echo "$as_me: failed program was:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22719
22720 ac_lo=`expr '(' $ac_mid ')' + 1`
22721 fi
22722
22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22724 done
22725 case $ac_lo in
22726 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22727 '') if test "$ac_cv_type_wchar_t" = yes; then
22728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22729 See \`config.log' for more details." >&5
22730 echo "$as_me: error: cannot compute sizeof (wchar_t)
22731 See \`config.log' for more details." >&2;}
22732 { (exit 77); exit 77; }; }
22733 else
22734 ac_cv_sizeof_wchar_t=0
22735 fi ;;
22736 esac
22737 else
22738 cat >conftest.$ac_ext <<_ACEOF
22739 /* confdefs.h. */
22740 _ACEOF
22741 cat confdefs.h >>conftest.$ac_ext
22742 cat >>conftest.$ac_ext <<_ACEOF
22743 /* end confdefs.h. */
22744
22745 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22746 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22747 # error "fake wchar_t"
22748 #endif
22749 #ifdef HAVE_WCHAR_H
22750 # ifdef __CYGWIN__
22751 # include <stddef.h>
22752 # endif
22753 # include <wchar.h>
22754 #endif
22755 #ifdef HAVE_STDLIB_H
22756 # include <stdlib.h>
22757 #endif
22758 #include <stdio.h>
22759
22760
22761
22762 typedef wchar_t ac__type_sizeof_;
22763 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22764 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22765 #include <stdio.h>
22766 #include <stdlib.h>
22767 int
22768 main ()
22769 {
22770
22771 FILE *f = fopen ("conftest.val", "w");
22772 if (! f)
22773 return 1;
22774 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22775 {
22776 long int i = longval ();
22777 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22778 return 1;
22779 fprintf (f, "%ld\n", i);
22780 }
22781 else
22782 {
22783 unsigned long int i = ulongval ();
22784 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22785 return 1;
22786 fprintf (f, "%lu\n", i);
22787 }
22788 return ferror (f) || fclose (f) != 0;
22789
22790 ;
22791 return 0;
22792 }
22793 _ACEOF
22794 rm -f conftest$ac_exeext
22795 if { (ac_try="$ac_link"
22796 case "(($ac_try" in
22797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22798 *) ac_try_echo=$ac_try;;
22799 esac
22800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22801 (eval "$ac_link") 2>&5
22802 ac_status=$?
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22805 { (case "(($ac_try" in
22806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22807 *) ac_try_echo=$ac_try;;
22808 esac
22809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22810 (eval "$ac_try") 2>&5
22811 ac_status=$?
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; }; then
22814 ac_cv_sizeof_wchar_t=`cat conftest.val`
22815 else
22816 echo "$as_me: program exited with status $ac_status" >&5
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.$ac_ext >&5
22819
22820 ( exit $ac_status )
22821 if test "$ac_cv_type_wchar_t" = yes; then
22822 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22823 See \`config.log' for more details." >&5
22824 echo "$as_me: error: cannot compute sizeof (wchar_t)
22825 See \`config.log' for more details." >&2;}
22826 { (exit 77); exit 77; }; }
22827 else
22828 ac_cv_sizeof_wchar_t=0
22829 fi
22830 fi
22831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22832 fi
22833 rm -f conftest.val
22834 fi
22835 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22836 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22837
22838
22839
22840 cat >>confdefs.h <<_ACEOF
22841 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22842 _ACEOF
22843
22844
22845 if test "$ac_cv_sizeof_wchar_t" != 0; then
22846 wxUSE_WCHAR_T=yes
22847 else
22848 wxUSE_WCHAR_T=no
22849 fi
22850
22851 { echo "$as_me:$LINENO: checking for va_copy" >&5
22852 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22853 if test "${wx_cv_func_va_copy+set}" = set; then
22854 echo $ECHO_N "(cached) $ECHO_C" >&6
22855 else
22856
22857 ac_ext=cpp
22858 ac_cpp='$CXXCPP $CPPFLAGS'
22859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22862
22863 cat >conftest.$ac_ext <<_ACEOF
22864
22865 #include <stdarg.h>
22866 void foo(char *f, ...)
22867 {
22868 va_list ap1, ap2;
22869 va_start(ap1, f);
22870 va_copy(ap2, ap1);
22871 va_end(ap2);
22872 va_end(ap1);
22873 }
22874 int main()
22875 {
22876 foo("hi", 17);
22877 return 0;
22878 }
22879 _ACEOF
22880 rm -f conftest.$ac_objext conftest$ac_exeext
22881 if { (ac_try="$ac_link"
22882 case "(($ac_try" in
22883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22884 *) ac_try_echo=$ac_try;;
22885 esac
22886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22887 (eval "$ac_link") 2>conftest.er1
22888 ac_status=$?
22889 grep -v '^ *+' conftest.er1 >conftest.err
22890 rm -f conftest.er1
22891 cat conftest.err >&5
22892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22893 (exit $ac_status); } && {
22894 test -z "$ac_cxx_werror_flag" ||
22895 test ! -s conftest.err
22896 } && test -s conftest$ac_exeext &&
22897 $as_test_x conftest$ac_exeext; then
22898 wx_cv_func_va_copy=yes
22899 else
22900 echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.$ac_ext >&5
22902
22903 wx_cv_func_va_copy=no
22904
22905 fi
22906
22907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22908 conftest$ac_exeext conftest.$ac_ext
22909 ac_ext=c
22910 ac_cpp='$CPP $CPPFLAGS'
22911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22914
22915
22916
22917 fi
22918 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22919 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22920
22921 if test $wx_cv_func_va_copy = "yes"; then
22922 cat >>confdefs.h <<\_ACEOF
22923 #define HAVE_VA_COPY 1
22924 _ACEOF
22925
22926 else
22927 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22928 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22929 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22930 echo $ECHO_N "(cached) $ECHO_C" >&6
22931 else
22932
22933 if test "$cross_compiling" = yes; then
22934 wx_cv_type_va_list_lvalue=yes
22935
22936 else
22937 cat >conftest.$ac_ext <<_ACEOF
22938
22939 #include <stdarg.h>
22940 int foo(char *f, ...)
22941 {
22942 va_list ap1, ap2;
22943 va_start(ap1, f);
22944 ap2 = ap1;
22945 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22946 return 1;
22947 va_end(ap2);
22948 va_end(ap1);
22949 return 0;
22950 }
22951 int main()
22952 {
22953 return foo("hi", 17);
22954 }
22955 _ACEOF
22956 rm -f conftest$ac_exeext
22957 if { (ac_try="$ac_link"
22958 case "(($ac_try" in
22959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22960 *) ac_try_echo=$ac_try;;
22961 esac
22962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22963 (eval "$ac_link") 2>&5
22964 ac_status=$?
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22967 { (case "(($ac_try" in
22968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22969 *) ac_try_echo=$ac_try;;
22970 esac
22971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22972 (eval "$ac_try") 2>&5
22973 ac_status=$?
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; }; then
22976 wx_cv_type_va_list_lvalue=yes
22977 else
22978 echo "$as_me: program exited with status $ac_status" >&5
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22981
22982 ( exit $ac_status )
22983 wx_cv_type_va_list_lvalue=no
22984 fi
22985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22986 fi
22987
22988
22989
22990
22991 fi
22992 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22993 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22994
22995 if test $wx_cv_type_va_list_lvalue != "yes"; then
22996 cat >>confdefs.h <<\_ACEOF
22997 #define VA_LIST_IS_ARRAY 1
22998 _ACEOF
22999
23000 fi
23001 fi
23002
23003 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23004
23005 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23006 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23007 if test "${wx_cv_have_variadic_macros+set}" = set; then
23008 echo $ECHO_N "(cached) $ECHO_C" >&6
23009 else
23010
23011 ac_ext=cpp
23012 ac_cpp='$CXXCPP $CPPFLAGS'
23013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23016
23017 cat >conftest.$ac_ext <<_ACEOF
23018 /* confdefs.h. */
23019 _ACEOF
23020 cat confdefs.h >>conftest.$ac_ext
23021 cat >>conftest.$ac_ext <<_ACEOF
23022 /* end confdefs.h. */
23023
23024 #include <stdio.h>
23025 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23026
23027 int
23028 main ()
23029 {
23030
23031 test("%s %d %p", "test", 1, 0);
23032
23033
23034 ;
23035 return 0;
23036 }
23037 _ACEOF
23038 rm -f conftest.$ac_objext
23039 if { (ac_try="$ac_compile"
23040 case "(($ac_try" in
23041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23042 *) ac_try_echo=$ac_try;;
23043 esac
23044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23045 (eval "$ac_compile") 2>conftest.er1
23046 ac_status=$?
23047 grep -v '^ *+' conftest.er1 >conftest.err
23048 rm -f conftest.er1
23049 cat conftest.err >&5
23050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23051 (exit $ac_status); } && {
23052 test -z "$ac_cxx_werror_flag" ||
23053 test ! -s conftest.err
23054 } && test -s conftest.$ac_objext; then
23055 wx_cv_have_variadic_macros=yes
23056 else
23057 echo "$as_me: failed program was:" >&5
23058 sed 's/^/| /' conftest.$ac_ext >&5
23059
23060 wx_cv_have_variadic_macros=no
23061
23062 fi
23063
23064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23065 ac_ext=c
23066 ac_cpp='$CPP $CPPFLAGS'
23067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23070
23071
23072
23073 fi
23074 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23075 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23076
23077 if test $wx_cv_have_variadic_macros = "yes"; then
23078 cat >>confdefs.h <<\_ACEOF
23079 #define HAVE_VARIADIC_MACROS 1
23080 _ACEOF
23081
23082 fi
23083
23084 fi
23085 # Check whether --enable-largefile was given.
23086 if test "${enable_largefile+set}" = set; then
23087 enableval=$enable_largefile;
23088 fi
23089
23090 if test "$enable_largefile" != no; then
23091 wx_largefile=no
23092
23093 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23094 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23095 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23096 echo $ECHO_N "(cached) $ECHO_C" >&6
23097 else
23098
23099 cat >conftest.$ac_ext <<_ACEOF
23100 /* confdefs.h. */
23101 _ACEOF
23102 cat confdefs.h >>conftest.$ac_ext
23103 cat >>conftest.$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 #define _FILE_OFFSET_BITS 64
23106 #include <sys/types.h>
23107 int
23108 main ()
23109 {
23110 typedef struct {
23111 unsigned int field: sizeof(off_t) == 8;
23112 } wxlf;
23113
23114 ;
23115 return 0;
23116 }
23117 _ACEOF
23118 rm -f conftest.$ac_objext
23119 if { (ac_try="$ac_compile"
23120 case "(($ac_try" in
23121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23122 *) ac_try_echo=$ac_try;;
23123 esac
23124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23125 (eval "$ac_compile") 2>conftest.er1
23126 ac_status=$?
23127 grep -v '^ *+' conftest.er1 >conftest.err
23128 rm -f conftest.er1
23129 cat conftest.err >&5
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); } && {
23132 test -z "$ac_c_werror_flag" ||
23133 test ! -s conftest.err
23134 } && test -s conftest.$ac_objext; then
23135 ac_cv_sys_file_offset_bits=64
23136 else
23137 echo "$as_me: failed program was:" >&5
23138 sed 's/^/| /' conftest.$ac_ext >&5
23139
23140 ac_cv_sys_file_offset_bits=no
23141 fi
23142
23143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23144
23145
23146 fi
23147 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23148 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23149
23150 if test "$ac_cv_sys_file_offset_bits" != no; then
23151 wx_largefile=yes
23152 cat >>confdefs.h <<_ACEOF
23153 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23154 _ACEOF
23155
23156 fi
23157
23158 if test "x$wx_largefile" != "xyes"; then
23159
23160 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23161 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23162 if test "${ac_cv_sys_large_files+set}" = set; then
23163 echo $ECHO_N "(cached) $ECHO_C" >&6
23164 else
23165
23166 cat >conftest.$ac_ext <<_ACEOF
23167 /* confdefs.h. */
23168 _ACEOF
23169 cat confdefs.h >>conftest.$ac_ext
23170 cat >>conftest.$ac_ext <<_ACEOF
23171 /* end confdefs.h. */
23172 #define _LARGE_FILES 1
23173 #include <sys/types.h>
23174 int
23175 main ()
23176 {
23177 typedef struct {
23178 unsigned int field: sizeof(off_t) == 8;
23179 } wxlf;
23180
23181 ;
23182 return 0;
23183 }
23184 _ACEOF
23185 rm -f conftest.$ac_objext
23186 if { (ac_try="$ac_compile"
23187 case "(($ac_try" in
23188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23189 *) ac_try_echo=$ac_try;;
23190 esac
23191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23192 (eval "$ac_compile") 2>conftest.er1
23193 ac_status=$?
23194 grep -v '^ *+' conftest.er1 >conftest.err
23195 rm -f conftest.er1
23196 cat conftest.err >&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } && {
23199 test -z "$ac_c_werror_flag" ||
23200 test ! -s conftest.err
23201 } && test -s conftest.$ac_objext; then
23202 ac_cv_sys_large_files=1
23203 else
23204 echo "$as_me: failed program was:" >&5
23205 sed 's/^/| /' conftest.$ac_ext >&5
23206
23207 ac_cv_sys_large_files=no
23208 fi
23209
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211
23212
23213 fi
23214 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23215 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23216
23217 if test "$ac_cv_sys_large_files" != no; then
23218 wx_largefile=yes
23219 cat >>confdefs.h <<_ACEOF
23220 #define _LARGE_FILES $ac_cv_sys_large_files
23221 _ACEOF
23222
23223 fi
23224
23225 fi
23226
23227 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23228 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23229 if test "x$wx_largefile" = "xyes"; then
23230 cat >>confdefs.h <<\_ACEOF
23231 #define HAVE_LARGEFILE_SUPPORT 1
23232 _ACEOF
23233
23234 fi
23235 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23236 echo "${ECHO_T}$wx_largefile" >&6; }
23237 fi
23238
23239
23240 if test "x$wx_largefile" = "xyes"; then
23241 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23242 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23243
23244 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23245 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23246 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23247 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23248 echo $ECHO_N "(cached) $ECHO_C" >&6
23249 else
23250
23251 ac_ext=cpp
23252 ac_cpp='$CXXCPP $CPPFLAGS'
23253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23256
23257 cat >conftest.$ac_ext <<_ACEOF
23258 /* confdefs.h. */
23259 _ACEOF
23260 cat confdefs.h >>conftest.$ac_ext
23261 cat >>conftest.$ac_ext <<_ACEOF
23262 /* end confdefs.h. */
23263
23264 int
23265 main ()
23266 {
23267
23268 #ifndef __STDC_EXT__
23269 choke me
23270 #endif
23271
23272 ;
23273 return 0;
23274 }
23275 _ACEOF
23276 rm -f conftest.$ac_objext
23277 if { (ac_try="$ac_compile"
23278 case "(($ac_try" in
23279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23280 *) ac_try_echo=$ac_try;;
23281 esac
23282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23283 (eval "$ac_compile") 2>conftest.er1
23284 ac_status=$?
23285 grep -v '^ *+' conftest.er1 >conftest.err
23286 rm -f conftest.er1
23287 cat conftest.err >&5
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); } && {
23290 test -z "$ac_cxx_werror_flag" ||
23291 test ! -s conftest.err
23292 } && test -s conftest.$ac_objext; then
23293 wx_cv_STDC_EXT_required=no
23294 else
23295 echo "$as_me: failed program was:" >&5
23296 sed 's/^/| /' conftest.$ac_ext >&5
23297
23298 wx_cv_STDC_EXT_required=yes
23299
23300 fi
23301
23302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23303 ac_ext=c
23304 ac_cpp='$CPP $CPPFLAGS'
23305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23308
23309
23310
23311 fi
23312 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23313 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23314 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23315 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23316 fi
23317 fi
23318 else
23319 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23320 fi
23321 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23322 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23323 if test "${ac_cv_sys_largefile_source+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 else
23326 while :; do
23327 cat >conftest.$ac_ext <<_ACEOF
23328 /* confdefs.h. */
23329 _ACEOF
23330 cat confdefs.h >>conftest.$ac_ext
23331 cat >>conftest.$ac_ext <<_ACEOF
23332 /* end confdefs.h. */
23333 #include <sys/types.h> /* for off_t */
23334 #include <stdio.h>
23335 int
23336 main ()
23337 {
23338 int (*fp) (FILE *, off_t, int) = fseeko;
23339 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23340 ;
23341 return 0;
23342 }
23343 _ACEOF
23344 rm -f conftest.$ac_objext conftest$ac_exeext
23345 if { (ac_try="$ac_link"
23346 case "(($ac_try" in
23347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23348 *) ac_try_echo=$ac_try;;
23349 esac
23350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23351 (eval "$ac_link") 2>conftest.er1
23352 ac_status=$?
23353 grep -v '^ *+' conftest.er1 >conftest.err
23354 rm -f conftest.er1
23355 cat conftest.err >&5
23356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23357 (exit $ac_status); } && {
23358 test -z "$ac_c_werror_flag" ||
23359 test ! -s conftest.err
23360 } && test -s conftest$ac_exeext &&
23361 $as_test_x conftest$ac_exeext; then
23362 ac_cv_sys_largefile_source=no; break
23363 else
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.$ac_ext >&5
23366
23367
23368 fi
23369
23370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23371 conftest$ac_exeext conftest.$ac_ext
23372 cat >conftest.$ac_ext <<_ACEOF
23373 /* confdefs.h. */
23374 _ACEOF
23375 cat confdefs.h >>conftest.$ac_ext
23376 cat >>conftest.$ac_ext <<_ACEOF
23377 /* end confdefs.h. */
23378 #define _LARGEFILE_SOURCE 1
23379 #include <sys/types.h> /* for off_t */
23380 #include <stdio.h>
23381 int
23382 main ()
23383 {
23384 int (*fp) (FILE *, off_t, int) = fseeko;
23385 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23386 ;
23387 return 0;
23388 }
23389 _ACEOF
23390 rm -f conftest.$ac_objext conftest$ac_exeext
23391 if { (ac_try="$ac_link"
23392 case "(($ac_try" in
23393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23394 *) ac_try_echo=$ac_try;;
23395 esac
23396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23397 (eval "$ac_link") 2>conftest.er1
23398 ac_status=$?
23399 grep -v '^ *+' conftest.er1 >conftest.err
23400 rm -f conftest.er1
23401 cat conftest.err >&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && {
23404 test -z "$ac_c_werror_flag" ||
23405 test ! -s conftest.err
23406 } && test -s conftest$ac_exeext &&
23407 $as_test_x conftest$ac_exeext; then
23408 ac_cv_sys_largefile_source=1; break
23409 else
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23412
23413
23414 fi
23415
23416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23417 conftest$ac_exeext conftest.$ac_ext
23418 ac_cv_sys_largefile_source=unknown
23419 break
23420 done
23421 fi
23422 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23423 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23424 case $ac_cv_sys_largefile_source in #(
23425 no | unknown) ;;
23426 *)
23427 cat >>confdefs.h <<_ACEOF
23428 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23429 _ACEOF
23430 ;;
23431 esac
23432 rm -f conftest*
23433
23434 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23435 # in glibc 2.1.3, but that breaks too many other things.
23436 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23437 if test $ac_cv_sys_largefile_source != unknown; then
23438
23439 cat >>confdefs.h <<\_ACEOF
23440 #define HAVE_FSEEKO 1
23441 _ACEOF
23442
23443 fi
23444
23445 if test "$ac_cv_sys_largefile_source" != no; then
23446 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23447 fi
23448 fi
23449
23450 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23451 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23452 if test "${ac_cv_c_bigendian+set}" = set; then
23453 echo $ECHO_N "(cached) $ECHO_C" >&6
23454 else
23455 ac_cv_c_bigendian=unknown
23456 # See if sys/param.h defines the BYTE_ORDER macro.
23457 cat >conftest.$ac_ext <<_ACEOF
23458 /* confdefs.h. */
23459 _ACEOF
23460 cat confdefs.h >>conftest.$ac_ext
23461 cat >>conftest.$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23463 #include <sys/types.h>
23464 #include <sys/param.h>
23465 int
23466 main ()
23467 {
23468
23469 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23470 bogus endian macros
23471 #endif
23472 ;
23473 return 0;
23474 }
23475 _ACEOF
23476 rm -f conftest.$ac_objext
23477 if { (ac_try="$ac_compile"
23478 case "(($ac_try" in
23479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23480 *) ac_try_echo=$ac_try;;
23481 esac
23482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23483 (eval "$ac_compile") 2>conftest.er1
23484 ac_status=$?
23485 grep -v '^ *+' conftest.er1 >conftest.err
23486 rm -f conftest.er1
23487 cat conftest.err >&5
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); } && {
23490 test -z "$ac_c_werror_flag" ||
23491 test ! -s conftest.err
23492 } && test -s conftest.$ac_objext; then
23493 # It does; now see whether it defined to BIG_ENDIAN or not.
23494 cat >conftest.$ac_ext <<_ACEOF
23495 /* confdefs.h. */
23496 _ACEOF
23497 cat confdefs.h >>conftest.$ac_ext
23498 cat >>conftest.$ac_ext <<_ACEOF
23499 /* end confdefs.h. */
23500 #include <sys/types.h>
23501 #include <sys/param.h>
23502 int
23503 main ()
23504 {
23505
23506 #if BYTE_ORDER != BIG_ENDIAN
23507 not big endian
23508 #endif
23509 ;
23510 return 0;
23511 }
23512 _ACEOF
23513 rm -f conftest.$ac_objext
23514 if { (ac_try="$ac_compile"
23515 case "(($ac_try" in
23516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23517 *) ac_try_echo=$ac_try;;
23518 esac
23519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23520 (eval "$ac_compile") 2>conftest.er1
23521 ac_status=$?
23522 grep -v '^ *+' conftest.er1 >conftest.err
23523 rm -f conftest.er1
23524 cat conftest.err >&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } && {
23527 test -z "$ac_c_werror_flag" ||
23528 test ! -s conftest.err
23529 } && test -s conftest.$ac_objext; then
23530 ac_cv_c_bigendian=yes
23531 else
23532 echo "$as_me: failed program was:" >&5
23533 sed 's/^/| /' conftest.$ac_ext >&5
23534
23535 ac_cv_c_bigendian=no
23536 fi
23537
23538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23539 else
23540 echo "$as_me: failed program was:" >&5
23541 sed 's/^/| /' conftest.$ac_ext >&5
23542
23543
23544 fi
23545
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547 if test $ac_cv_c_bigendian = unknown; then
23548 if test "$cross_compiling" = yes; then
23549 ac_cv_c_bigendian=unknown
23550 else
23551 cat >conftest.$ac_ext <<_ACEOF
23552 /* confdefs.h. */
23553 _ACEOF
23554 cat confdefs.h >>conftest.$ac_ext
23555 cat >>conftest.$ac_ext <<_ACEOF
23556 /* end confdefs.h. */
23557 main () {
23558 /* Are we little or big endian? From Harbison&Steele. */
23559 union
23560 {
23561 long l;
23562 char c[sizeof (long)];
23563 } u;
23564 u.l = 1;
23565 exit (u.c[sizeof (long) - 1] == 1);
23566 }
23567 _ACEOF
23568 rm -f conftest$ac_exeext
23569 if { (ac_try="$ac_link"
23570 case "(($ac_try" in
23571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23572 *) ac_try_echo=$ac_try;;
23573 esac
23574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23575 (eval "$ac_link") 2>&5
23576 ac_status=$?
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23579 { (case "(($ac_try" in
23580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23581 *) ac_try_echo=$ac_try;;
23582 esac
23583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23584 (eval "$ac_try") 2>&5
23585 ac_status=$?
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); }; }; then
23588 ac_cv_c_bigendian=no
23589 else
23590 echo "$as_me: program exited with status $ac_status" >&5
23591 echo "$as_me: failed program was:" >&5
23592 sed 's/^/| /' conftest.$ac_ext >&5
23593
23594 ( exit $ac_status )
23595 ac_cv_c_bigendian=yes
23596 fi
23597 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23598 fi
23599
23600
23601 fi
23602 fi
23603 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23604 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23605 if test $ac_cv_c_bigendian = unknown; then
23606 { 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
23607 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;}
23608 fi
23609 if test $ac_cv_c_bigendian = yes; then
23610 cat >>confdefs.h <<\_ACEOF
23611 #define WORDS_BIGENDIAN 1
23612 _ACEOF
23613
23614 fi
23615
23616
23617
23618
23619 ac_ext=cpp
23620 ac_cpp='$CXXCPP $CPPFLAGS'
23621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23624
23625
23626
23627 for ac_header in iostream
23628 do
23629 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23630 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23633 echo $ECHO_N "(cached) $ECHO_C" >&6
23634 else
23635 cat >conftest.$ac_ext <<_ACEOF
23636 /* confdefs.h. */
23637 _ACEOF
23638 cat confdefs.h >>conftest.$ac_ext
23639 cat >>conftest.$ac_ext <<_ACEOF
23640 /* end confdefs.h. */
23641
23642
23643 #include <$ac_header>
23644 _ACEOF
23645 rm -f conftest.$ac_objext
23646 if { (ac_try="$ac_compile"
23647 case "(($ac_try" in
23648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23649 *) ac_try_echo=$ac_try;;
23650 esac
23651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23652 (eval "$ac_compile") 2>conftest.er1
23653 ac_status=$?
23654 grep -v '^ *+' conftest.er1 >conftest.err
23655 rm -f conftest.er1
23656 cat conftest.err >&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } && {
23659 test -z "$ac_cxx_werror_flag" ||
23660 test ! -s conftest.err
23661 } && test -s conftest.$ac_objext; then
23662 eval "$as_ac_Header=yes"
23663 else
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.$ac_ext >&5
23666
23667 eval "$as_ac_Header=no"
23668 fi
23669
23670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23671 fi
23672 ac_res=`eval echo '${'$as_ac_Header'}'`
23673 { echo "$as_me:$LINENO: result: $ac_res" >&5
23674 echo "${ECHO_T}$ac_res" >&6; }
23675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23676 cat >>confdefs.h <<_ACEOF
23677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23678 _ACEOF
23679
23680 fi
23681
23682 done
23683
23684
23685 if test "$ac_cv_header_iostream" = "yes" ; then
23686 :
23687 else
23688 cat >>confdefs.h <<\_ACEOF
23689 #define wxUSE_IOSTREAMH 1
23690 _ACEOF
23691
23692 fi
23693
23694 ac_ext=c
23695 ac_cpp='$CPP $CPPFLAGS'
23696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23699
23700
23701
23702
23703 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23704 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23705 if test "${wx_cv_cpp_bool+set}" = set; then
23706 echo $ECHO_N "(cached) $ECHO_C" >&6
23707 else
23708
23709
23710 ac_ext=cpp
23711 ac_cpp='$CXXCPP $CPPFLAGS'
23712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23715
23716
23717 cat >conftest.$ac_ext <<_ACEOF
23718 /* confdefs.h. */
23719 _ACEOF
23720 cat confdefs.h >>conftest.$ac_ext
23721 cat >>conftest.$ac_ext <<_ACEOF
23722 /* end confdefs.h. */
23723
23724
23725 int
23726 main ()
23727 {
23728
23729 bool b = true;
23730
23731 return 0;
23732
23733 ;
23734 return 0;
23735 }
23736 _ACEOF
23737 rm -f conftest.$ac_objext
23738 if { (ac_try="$ac_compile"
23739 case "(($ac_try" in
23740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23741 *) ac_try_echo=$ac_try;;
23742 esac
23743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23744 (eval "$ac_compile") 2>conftest.er1
23745 ac_status=$?
23746 grep -v '^ *+' conftest.er1 >conftest.err
23747 rm -f conftest.er1
23748 cat conftest.err >&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); } && {
23751 test -z "$ac_cxx_werror_flag" ||
23752 test ! -s conftest.err
23753 } && test -s conftest.$ac_objext; then
23754
23755 wx_cv_cpp_bool=yes
23756
23757 else
23758 echo "$as_me: failed program was:" >&5
23759 sed 's/^/| /' conftest.$ac_ext >&5
23760
23761
23762 wx_cv_cpp_bool=no
23763
23764
23765 fi
23766
23767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23768
23769 ac_ext=c
23770 ac_cpp='$CPP $CPPFLAGS'
23771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23774
23775
23776 fi
23777 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23778 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23779
23780 if test "$wx_cv_cpp_bool" = "yes"; then
23781 cat >>confdefs.h <<\_ACEOF
23782 #define HAVE_BOOL 1
23783 _ACEOF
23784
23785 fi
23786
23787
23788
23789 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23790 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23791 if test "${wx_cv_explicit+set}" = set; then
23792 echo $ECHO_N "(cached) $ECHO_C" >&6
23793 else
23794
23795
23796 ac_ext=cpp
23797 ac_cpp='$CXXCPP $CPPFLAGS'
23798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23801
23802
23803 cat >conftest.$ac_ext <<_ACEOF
23804 /* confdefs.h. */
23805 _ACEOF
23806 cat confdefs.h >>conftest.$ac_ext
23807 cat >>conftest.$ac_ext <<_ACEOF
23808 /* end confdefs.h. */
23809
23810 class Foo { public: explicit Foo(int) {} };
23811
23812 int
23813 main ()
23814 {
23815
23816 return 0;
23817
23818 ;
23819 return 0;
23820 }
23821 _ACEOF
23822 rm -f conftest.$ac_objext
23823 if { (ac_try="$ac_compile"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23827 esac
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_compile") 2>conftest.er1
23830 ac_status=$?
23831 grep -v '^ *+' conftest.er1 >conftest.err
23832 rm -f conftest.er1
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && {
23836 test -z "$ac_cxx_werror_flag" ||
23837 test ! -s conftest.err
23838 } && test -s conftest.$ac_objext; then
23839
23840 cat >conftest.$ac_ext <<_ACEOF
23841 /* confdefs.h. */
23842 _ACEOF
23843 cat confdefs.h >>conftest.$ac_ext
23844 cat >>conftest.$ac_ext <<_ACEOF
23845 /* end confdefs.h. */
23846
23847 class Foo { public: explicit Foo(int) {} };
23848 static void TakeFoo(const Foo& foo) { }
23849
23850 int
23851 main ()
23852 {
23853
23854 TakeFoo(17);
23855 return 0;
23856
23857 ;
23858 return 0;
23859 }
23860 _ACEOF
23861 rm -f conftest.$ac_objext
23862 if { (ac_try="$ac_compile"
23863 case "(($ac_try" in
23864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23865 *) ac_try_echo=$ac_try;;
23866 esac
23867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23868 (eval "$ac_compile") 2>conftest.er1
23869 ac_status=$?
23870 grep -v '^ *+' conftest.er1 >conftest.err
23871 rm -f conftest.er1
23872 cat conftest.err >&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } && {
23875 test -z "$ac_cxx_werror_flag" ||
23876 test ! -s conftest.err
23877 } && test -s conftest.$ac_objext; then
23878 wx_cv_explicit=no
23879 else
23880 echo "$as_me: failed program was:" >&5
23881 sed 's/^/| /' conftest.$ac_ext >&5
23882
23883 wx_cv_explicit=yes
23884
23885 fi
23886
23887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23888
23889 else
23890 echo "$as_me: failed program was:" >&5
23891 sed 's/^/| /' conftest.$ac_ext >&5
23892
23893 wx_cv_explicit=no
23894
23895 fi
23896
23897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23898
23899 ac_ext=c
23900 ac_cpp='$CPP $CPPFLAGS'
23901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23904
23905
23906 fi
23907 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23908 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23909
23910 if test "$wx_cv_explicit" = "yes"; then
23911 cat >>confdefs.h <<\_ACEOF
23912 #define HAVE_EXPLICIT 1
23913 _ACEOF
23914
23915 fi
23916
23917
23918 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23919 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23920 if test "${ac_cv_cxx_const_cast+set}" = set; then
23921 echo $ECHO_N "(cached) $ECHO_C" >&6
23922 else
23923
23924 ac_ext=cpp
23925 ac_cpp='$CXXCPP $CPPFLAGS'
23926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23929
23930 cat >conftest.$ac_ext <<_ACEOF
23931 /* confdefs.h. */
23932 _ACEOF
23933 cat confdefs.h >>conftest.$ac_ext
23934 cat >>conftest.$ac_ext <<_ACEOF
23935 /* end confdefs.h. */
23936
23937 int
23938 main ()
23939 {
23940 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23941 ;
23942 return 0;
23943 }
23944 _ACEOF
23945 rm -f conftest.$ac_objext
23946 if { (ac_try="$ac_compile"
23947 case "(($ac_try" in
23948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23949 *) ac_try_echo=$ac_try;;
23950 esac
23951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23952 (eval "$ac_compile") 2>conftest.er1
23953 ac_status=$?
23954 grep -v '^ *+' conftest.er1 >conftest.err
23955 rm -f conftest.er1
23956 cat conftest.err >&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } && {
23959 test -z "$ac_cxx_werror_flag" ||
23960 test ! -s conftest.err
23961 } && test -s conftest.$ac_objext; then
23962 ac_cv_cxx_const_cast=yes
23963 else
23964 echo "$as_me: failed program was:" >&5
23965 sed 's/^/| /' conftest.$ac_ext >&5
23966
23967 ac_cv_cxx_const_cast=no
23968 fi
23969
23970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23971 ac_ext=c
23972 ac_cpp='$CPP $CPPFLAGS'
23973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23976
23977
23978 fi
23979 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23980 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23981 if test "$ac_cv_cxx_const_cast" = yes; then
23982
23983 cat >>confdefs.h <<\_ACEOF
23984 #define HAVE_CONST_CAST
23985 _ACEOF
23986
23987 fi
23988
23989 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23990 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23991 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23992 echo $ECHO_N "(cached) $ECHO_C" >&6
23993 else
23994
23995 ac_ext=cpp
23996 ac_cpp='$CXXCPP $CPPFLAGS'
23997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24000
24001 cat >conftest.$ac_ext <<_ACEOF
24002 /* confdefs.h. */
24003 _ACEOF
24004 cat confdefs.h >>conftest.$ac_ext
24005 cat >>conftest.$ac_ext <<_ACEOF
24006 /* end confdefs.h. */
24007 #include <typeinfo>
24008 class Base { public : Base () {} virtual void f () = 0;};
24009 class Derived : public Base { public : Derived () {} virtual void f () {} };
24010 class Unrelated { public : Unrelated () {} };
24011 int g (Unrelated&) { return 0; }
24012 int
24013 main ()
24014 {
24015
24016 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24017 ;
24018 return 0;
24019 }
24020 _ACEOF
24021 rm -f conftest.$ac_objext
24022 if { (ac_try="$ac_compile"
24023 case "(($ac_try" in
24024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24025 *) ac_try_echo=$ac_try;;
24026 esac
24027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24028 (eval "$ac_compile") 2>conftest.er1
24029 ac_status=$?
24030 grep -v '^ *+' conftest.er1 >conftest.err
24031 rm -f conftest.er1
24032 cat conftest.err >&5
24033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034 (exit $ac_status); } && {
24035 test -z "$ac_cxx_werror_flag" ||
24036 test ! -s conftest.err
24037 } && test -s conftest.$ac_objext; then
24038 ac_cv_cxx_reinterpret_cast=yes
24039 else
24040 echo "$as_me: failed program was:" >&5
24041 sed 's/^/| /' conftest.$ac_ext >&5
24042
24043 ac_cv_cxx_reinterpret_cast=no
24044 fi
24045
24046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24047 ac_ext=c
24048 ac_cpp='$CPP $CPPFLAGS'
24049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24052
24053
24054 fi
24055 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24056 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24057 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24058
24059 cat >>confdefs.h <<\_ACEOF
24060 #define HAVE_REINTERPRET_CAST
24061 _ACEOF
24062
24063 fi
24064
24065 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24066 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24067 if test "${ac_cv_cxx_static_cast+set}" = set; then
24068 echo $ECHO_N "(cached) $ECHO_C" >&6
24069 else
24070
24071 ac_ext=cpp
24072 ac_cpp='$CXXCPP $CPPFLAGS'
24073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24076
24077 cat >conftest.$ac_ext <<_ACEOF
24078 /* confdefs.h. */
24079 _ACEOF
24080 cat confdefs.h >>conftest.$ac_ext
24081 cat >>conftest.$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24083 #include <typeinfo>
24084 class Base { public : Base () {} virtual void f () = 0; };
24085 class Derived : public Base { public : Derived () {} virtual void f () {} };
24086 int g (Derived&) { return 0; }
24087 int
24088 main ()
24089 {
24090
24091 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24092 ;
24093 return 0;
24094 }
24095 _ACEOF
24096 rm -f conftest.$ac_objext
24097 if { (ac_try="$ac_compile"
24098 case "(($ac_try" in
24099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24100 *) ac_try_echo=$ac_try;;
24101 esac
24102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24103 (eval "$ac_compile") 2>conftest.er1
24104 ac_status=$?
24105 grep -v '^ *+' conftest.er1 >conftest.err
24106 rm -f conftest.er1
24107 cat conftest.err >&5
24108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24109 (exit $ac_status); } && {
24110 test -z "$ac_cxx_werror_flag" ||
24111 test ! -s conftest.err
24112 } && test -s conftest.$ac_objext; then
24113 ac_cv_cxx_static_cast=yes
24114 else
24115 echo "$as_me: failed program was:" >&5
24116 sed 's/^/| /' conftest.$ac_ext >&5
24117
24118 ac_cv_cxx_static_cast=no
24119 fi
24120
24121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24122 ac_ext=c
24123 ac_cpp='$CPP $CPPFLAGS'
24124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24127
24128
24129 fi
24130 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24131 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24132 if test "$ac_cv_cxx_static_cast" = yes; then
24133
24134 cat >>confdefs.h <<\_ACEOF
24135 #define HAVE_STATIC_CAST
24136 _ACEOF
24137
24138 fi
24139
24140
24141 if test "x$SUNCXX" = xyes; then
24142 CXXFLAGS="-features=tmplife $CXXFLAGS"
24143 fi
24144
24145 if test "x$SUNCC" = xyes; then
24146 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24147 fi
24148
24149 if test "x$SGICC" = "xyes"; then
24150 CFLAGS="-woff 3970 $CFLAGS"
24151 fi
24152 if test "x$SGICXX" = "xyes"; then
24153 CXXFLAGS="-woff 3970 $CXXFLAGS"
24154 fi
24155
24156 if test "x$HPCC" = "xyes"; then
24157 CFLAGS="+W 2011,2450 $CFLAGS"
24158 fi
24159 if test "x$HPCXX" = "xyes"; then
24160 CXXFLAGS="+W 2340 $CXXFLAGS"
24161 fi
24162
24163 if test "x$COMPAQCXX" = "xyes"; then
24164 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24165 fi
24166
24167 ac_ext=cpp
24168 ac_cpp='$CXXCPP $CPPFLAGS'
24169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24172
24173
24174 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24175 if test "$wxUSE_UNICODE" = "yes"; then
24176 std_string="std::wstring"
24177 char_type="wchar_t"
24178 else
24179 std_string="std::string"
24180 char_type="char"
24181 fi
24182
24183 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24184 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24185 if test "${wx_cv_class_stdstring+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24187 else
24188
24189 cat >conftest.$ac_ext <<_ACEOF
24190 /* confdefs.h. */
24191 _ACEOF
24192 cat confdefs.h >>conftest.$ac_ext
24193 cat >>conftest.$ac_ext <<_ACEOF
24194 /* end confdefs.h. */
24195 #include <string>
24196 int
24197 main ()
24198 {
24199 $std_string foo;
24200 ;
24201 return 0;
24202 }
24203 _ACEOF
24204 rm -f conftest.$ac_objext
24205 if { (ac_try="$ac_compile"
24206 case "(($ac_try" in
24207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24208 *) ac_try_echo=$ac_try;;
24209 esac
24210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24211 (eval "$ac_compile") 2>conftest.er1
24212 ac_status=$?
24213 grep -v '^ *+' conftest.er1 >conftest.err
24214 rm -f conftest.er1
24215 cat conftest.err >&5
24216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24217 (exit $ac_status); } && {
24218 test -z "$ac_cxx_werror_flag" ||
24219 test ! -s conftest.err
24220 } && test -s conftest.$ac_objext; then
24221 wx_cv_class_stdstring=yes
24222 else
24223 echo "$as_me: failed program was:" >&5
24224 sed 's/^/| /' conftest.$ac_ext >&5
24225
24226 wx_cv_class_stdstring=no
24227
24228 fi
24229
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231
24232
24233 fi
24234 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24235 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24236
24237 if test "$wx_cv_class_stdstring" = yes; then
24238 if test "$wxUSE_UNICODE" = "yes"; then
24239 cat >>confdefs.h <<\_ACEOF
24240 #define HAVE_STD_WSTRING 1
24241 _ACEOF
24242
24243 fi
24244 else
24245 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24246 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24247 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24248 echo $ECHO_N "(cached) $ECHO_C" >&6
24249 else
24250
24251 cat >conftest.$ac_ext <<_ACEOF
24252 /* confdefs.h. */
24253 _ACEOF
24254 cat confdefs.h >>conftest.$ac_ext
24255 cat >>conftest.$ac_ext <<_ACEOF
24256 /* end confdefs.h. */
24257
24258 #ifdef HAVE_WCHAR_H
24259 # ifdef __CYGWIN__
24260 # include <stddef.h>
24261 # endif
24262 # include <wchar.h>
24263 #endif
24264 #ifdef HAVE_STDLIB_H
24265 # include <stdlib.h>
24266 #endif
24267 #include <stdio.h>
24268 #include <string>
24269
24270 int
24271 main ()
24272 {
24273 std::basic_string<$char_type> foo;
24274 const $char_type* dummy = foo.c_str();
24275 ;
24276 return 0;
24277 }
24278 _ACEOF
24279 rm -f conftest.$ac_objext
24280 if { (ac_try="$ac_compile"
24281 case "(($ac_try" in
24282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24283 *) ac_try_echo=$ac_try;;
24284 esac
24285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24286 (eval "$ac_compile") 2>conftest.er1
24287 ac_status=$?
24288 grep -v '^ *+' conftest.er1 >conftest.err
24289 rm -f conftest.er1
24290 cat conftest.err >&5
24291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24292 (exit $ac_status); } && {
24293 test -z "$ac_cxx_werror_flag" ||
24294 test ! -s conftest.err
24295 } && test -s conftest.$ac_objext; then
24296 wx_cv_class_stdbasicstring=yes
24297 else
24298 echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24300
24301 wx_cv_class_stdbasicstring=no
24302
24303 fi
24304
24305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24306
24307
24308 fi
24309 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24310 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24311
24312 if test "$wx_cv_class_stdbasicstring" != yes; then
24313 if test "$wxUSE_STL" = "yes"; then
24314 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24315 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24316 { (exit 1); exit 1; }; }
24317 elif test "$wxUSE_STD_STRING" = "yes"; then
24318 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24319 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24320 { (exit 1); exit 1; }; }
24321 else
24322 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24323 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24324 wxUSE_STD_STRING=no
24325 fi
24326 fi
24327 fi
24328 fi
24329
24330 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24331 { echo "$as_me:$LINENO: checking for std::istream" >&5
24332 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24333 if test "${ac_cv_type_std__istream+set}" = set; then
24334 echo $ECHO_N "(cached) $ECHO_C" >&6
24335 else
24336 cat >conftest.$ac_ext <<_ACEOF
24337 /* confdefs.h. */
24338 _ACEOF
24339 cat confdefs.h >>conftest.$ac_ext
24340 cat >>conftest.$ac_ext <<_ACEOF
24341 /* end confdefs.h. */
24342 #include <iostream>
24343
24344 typedef std::istream ac__type_new_;
24345 int
24346 main ()
24347 {
24348 if ((ac__type_new_ *) 0)
24349 return 0;
24350 if (sizeof (ac__type_new_))
24351 return 0;
24352 ;
24353 return 0;
24354 }
24355 _ACEOF
24356 rm -f conftest.$ac_objext
24357 if { (ac_try="$ac_compile"
24358 case "(($ac_try" in
24359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24360 *) ac_try_echo=$ac_try;;
24361 esac
24362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24363 (eval "$ac_compile") 2>conftest.er1
24364 ac_status=$?
24365 grep -v '^ *+' conftest.er1 >conftest.err
24366 rm -f conftest.er1
24367 cat conftest.err >&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } && {
24370 test -z "$ac_cxx_werror_flag" ||
24371 test ! -s conftest.err
24372 } && test -s conftest.$ac_objext; then
24373 ac_cv_type_std__istream=yes
24374 else
24375 echo "$as_me: failed program was:" >&5
24376 sed 's/^/| /' conftest.$ac_ext >&5
24377
24378 ac_cv_type_std__istream=no
24379 fi
24380
24381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24382 fi
24383 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24384 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24385 if test $ac_cv_type_std__istream = yes; then
24386
24387 cat >>confdefs.h <<_ACEOF
24388 #define HAVE_STD__ISTREAM 1
24389 _ACEOF
24390
24391
24392 else
24393 wxUSE_STD_IOSTREAM=no
24394 fi
24395 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24396 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24397 if test "${ac_cv_type_std__ostream+set}" = set; then
24398 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 else
24400 cat >conftest.$ac_ext <<_ACEOF
24401 /* confdefs.h. */
24402 _ACEOF
24403 cat confdefs.h >>conftest.$ac_ext
24404 cat >>conftest.$ac_ext <<_ACEOF
24405 /* end confdefs.h. */
24406 #include <iostream>
24407
24408 typedef std::ostream ac__type_new_;
24409 int
24410 main ()
24411 {
24412 if ((ac__type_new_ *) 0)
24413 return 0;
24414 if (sizeof (ac__type_new_))
24415 return 0;
24416 ;
24417 return 0;
24418 }
24419 _ACEOF
24420 rm -f conftest.$ac_objext
24421 if { (ac_try="$ac_compile"
24422 case "(($ac_try" in
24423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24424 *) ac_try_echo=$ac_try;;
24425 esac
24426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24427 (eval "$ac_compile") 2>conftest.er1
24428 ac_status=$?
24429 grep -v '^ *+' conftest.er1 >conftest.err
24430 rm -f conftest.er1
24431 cat conftest.err >&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } && {
24434 test -z "$ac_cxx_werror_flag" ||
24435 test ! -s conftest.err
24436 } && test -s conftest.$ac_objext; then
24437 ac_cv_type_std__ostream=yes
24438 else
24439 echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.$ac_ext >&5
24441
24442 ac_cv_type_std__ostream=no
24443 fi
24444
24445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24446 fi
24447 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24448 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24449 if test $ac_cv_type_std__ostream = yes; then
24450
24451 cat >>confdefs.h <<_ACEOF
24452 #define HAVE_STD__OSTREAM 1
24453 _ACEOF
24454
24455
24456 else
24457 wxUSE_STD_IOSTREAM=no
24458 fi
24459
24460
24461 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24462 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24463 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24464 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24465 { (exit 1); exit 1; }; }
24466 else
24467 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24468 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24469 fi
24470 fi
24471 fi
24472
24473 if test "$wxUSE_STL" = "yes"; then
24474 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24475 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24476 if test "${wx_cv_lib_stl+set}" = set; then
24477 echo $ECHO_N "(cached) $ECHO_C" >&6
24478 else
24479 cat >conftest.$ac_ext <<_ACEOF
24480 /* confdefs.h. */
24481 _ACEOF
24482 cat confdefs.h >>conftest.$ac_ext
24483 cat >>conftest.$ac_ext <<_ACEOF
24484 /* end confdefs.h. */
24485 #include <string>
24486 #include <functional>
24487 #include <algorithm>
24488 #include <vector>
24489 #include <list>
24490 int
24491 main ()
24492 {
24493 std::vector<int> moo;
24494 std::list<int> foo;
24495 std::vector<int>::iterator it =
24496 std::find_if(moo.begin(), moo.end(),
24497 std::bind2nd(std::less<int>(), 3));
24498 ;
24499 return 0;
24500 }
24501 _ACEOF
24502 rm -f conftest.$ac_objext
24503 if { (ac_try="$ac_compile"
24504 case "(($ac_try" in
24505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24506 *) ac_try_echo=$ac_try;;
24507 esac
24508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24509 (eval "$ac_compile") 2>conftest.er1
24510 ac_status=$?
24511 grep -v '^ *+' conftest.er1 >conftest.err
24512 rm -f conftest.er1
24513 cat conftest.err >&5
24514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24515 (exit $ac_status); } && {
24516 test -z "$ac_cxx_werror_flag" ||
24517 test ! -s conftest.err
24518 } && test -s conftest.$ac_objext; then
24519 wx_cv_lib_stl=yes
24520 else
24521 echo "$as_me: failed program was:" >&5
24522 sed 's/^/| /' conftest.$ac_ext >&5
24523
24524 wx_cv_lib_stl=no
24525
24526 fi
24527
24528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24529
24530 fi
24531 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24532 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24533
24534 if test "$wx_cv_lib_stl" != yes; then
24535 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24536 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24537 { (exit 1); exit 1; }; }
24538 fi
24539
24540 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24541 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24542 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24543 echo $ECHO_N "(cached) $ECHO_C" >&6
24544 else
24545 cat >conftest.$ac_ext <<_ACEOF
24546 /* confdefs.h. */
24547 _ACEOF
24548 cat confdefs.h >>conftest.$ac_ext
24549 cat >>conftest.$ac_ext <<_ACEOF
24550 /* end confdefs.h. */
24551 #include <string>
24552 int
24553 main ()
24554 {
24555 std::string foo, bar;
24556 foo.compare(bar);
24557 foo.compare(1, 1, bar);
24558 foo.compare(1, 1, bar, 1, 1);
24559 foo.compare("");
24560 foo.compare(1, 1, "");
24561 foo.compare(1, 1, "", 2);
24562 ;
24563 return 0;
24564 }
24565 _ACEOF
24566 rm -f conftest.$ac_objext
24567 if { (ac_try="$ac_compile"
24568 case "(($ac_try" in
24569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24570 *) ac_try_echo=$ac_try;;
24571 esac
24572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24573 (eval "$ac_compile") 2>conftest.er1
24574 ac_status=$?
24575 grep -v '^ *+' conftest.er1 >conftest.err
24576 rm -f conftest.er1
24577 cat conftest.err >&5
24578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24579 (exit $ac_status); } && {
24580 test -z "$ac_cxx_werror_flag" ||
24581 test ! -s conftest.err
24582 } && test -s conftest.$ac_objext; then
24583 wx_cv_func_stdstring_compare=yes
24584 else
24585 echo "$as_me: failed program was:" >&5
24586 sed 's/^/| /' conftest.$ac_ext >&5
24587
24588 wx_cv_func_stdstring_compare=no
24589
24590 fi
24591
24592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24593
24594 fi
24595 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24596 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24597
24598 if test "$wx_cv_func_stdstring_compare" = yes; then
24599 cat >>confdefs.h <<\_ACEOF
24600 #define HAVE_STD_STRING_COMPARE 1
24601 _ACEOF
24602
24603 fi
24604
24605 { echo "$as_me:$LINENO: checking for hash_map" >&5
24606 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24607 if test "${ac_cv_header_hash_map+set}" = set; then
24608 echo $ECHO_N "(cached) $ECHO_C" >&6
24609 else
24610 cat >conftest.$ac_ext <<_ACEOF
24611 /* confdefs.h. */
24612 _ACEOF
24613 cat confdefs.h >>conftest.$ac_ext
24614 cat >>conftest.$ac_ext <<_ACEOF
24615 /* end confdefs.h. */
24616
24617
24618
24619 #include <hash_map>
24620 _ACEOF
24621 rm -f conftest.$ac_objext
24622 if { (ac_try="$ac_compile"
24623 case "(($ac_try" in
24624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24625 *) ac_try_echo=$ac_try;;
24626 esac
24627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24628 (eval "$ac_compile") 2>conftest.er1
24629 ac_status=$?
24630 grep -v '^ *+' conftest.er1 >conftest.err
24631 rm -f conftest.er1
24632 cat conftest.err >&5
24633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24634 (exit $ac_status); } && {
24635 test -z "$ac_cxx_werror_flag" ||
24636 test ! -s conftest.err
24637 } && test -s conftest.$ac_objext; then
24638 ac_cv_header_hash_map=yes
24639 else
24640 echo "$as_me: failed program was:" >&5
24641 sed 's/^/| /' conftest.$ac_ext >&5
24642
24643 ac_cv_header_hash_map=no
24644 fi
24645
24646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24647 fi
24648 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24649 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24650 if test $ac_cv_header_hash_map = yes; then
24651 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24652 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24653 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24654 echo $ECHO_N "(cached) $ECHO_C" >&6
24655 else
24656 cat >conftest.$ac_ext <<_ACEOF
24657 /* confdefs.h. */
24658 _ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662 #include <hash_map>
24663 #include <hash_set>
24664 int
24665 main ()
24666 {
24667 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24668 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24669 ;
24670 return 0;
24671 }
24672 _ACEOF
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24678 esac
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24681 ac_status=$?
24682 grep -v '^ *+' conftest.er1 >conftest.err
24683 rm -f conftest.er1
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_cxx_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24690 wx_cv_class_stdhashmapset=yes
24691 else
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.$ac_ext >&5
24694
24695 wx_cv_class_stdhashmapset=no
24696 fi
24697
24698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24699
24700
24701 fi
24702 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24703 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24704 fi
24705
24706
24707
24708 if test "$wx_cv_class_stdhashmapset" = yes; then
24709 cat >>confdefs.h <<\_ACEOF
24710 #define HAVE_HASH_MAP 1
24711 _ACEOF
24712
24713 cat >>confdefs.h <<\_ACEOF
24714 #define HAVE_STD_HASH_MAP 1
24715 _ACEOF
24716
24717 fi
24718
24719 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24720 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24721 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24722 echo $ECHO_N "(cached) $ECHO_C" >&6
24723 else
24724 cat >conftest.$ac_ext <<_ACEOF
24725 /* confdefs.h. */
24726 _ACEOF
24727 cat confdefs.h >>conftest.$ac_ext
24728 cat >>conftest.$ac_ext <<_ACEOF
24729 /* end confdefs.h. */
24730
24731
24732
24733 #include <ext/hash_map>
24734 _ACEOF
24735 rm -f conftest.$ac_objext
24736 if { (ac_try="$ac_compile"
24737 case "(($ac_try" in
24738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24739 *) ac_try_echo=$ac_try;;
24740 esac
24741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24742 (eval "$ac_compile") 2>conftest.er1
24743 ac_status=$?
24744 grep -v '^ *+' conftest.er1 >conftest.err
24745 rm -f conftest.er1
24746 cat conftest.err >&5
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); } && {
24749 test -z "$ac_cxx_werror_flag" ||
24750 test ! -s conftest.err
24751 } && test -s conftest.$ac_objext; then
24752 ac_cv_header_ext_hash_map=yes
24753 else
24754 echo "$as_me: failed program was:" >&5
24755 sed 's/^/| /' conftest.$ac_ext >&5
24756
24757 ac_cv_header_ext_hash_map=no
24758 fi
24759
24760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761 fi
24762 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24763 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24764 if test $ac_cv_header_ext_hash_map = yes; then
24765 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24766 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24767 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24769 else
24770 cat >conftest.$ac_ext <<_ACEOF
24771 /* confdefs.h. */
24772 _ACEOF
24773 cat confdefs.h >>conftest.$ac_ext
24774 cat >>conftest.$ac_ext <<_ACEOF
24775 /* end confdefs.h. */
24776 #include <ext/hash_map>
24777 #include <ext/hash_set>
24778 int
24779 main ()
24780 {
24781 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24782 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24783 ;
24784 return 0;
24785 }
24786 _ACEOF
24787 rm -f conftest.$ac_objext
24788 if { (ac_try="$ac_compile"
24789 case "(($ac_try" in
24790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24791 *) ac_try_echo=$ac_try;;
24792 esac
24793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24794 (eval "$ac_compile") 2>conftest.er1
24795 ac_status=$?
24796 grep -v '^ *+' conftest.er1 >conftest.err
24797 rm -f conftest.er1
24798 cat conftest.err >&5
24799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24800 (exit $ac_status); } && {
24801 test -z "$ac_cxx_werror_flag" ||
24802 test ! -s conftest.err
24803 } && test -s conftest.$ac_objext; then
24804 wx_cv_class_gnuhashmapset=yes
24805 else
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.$ac_ext >&5
24808
24809 wx_cv_class_gnuhashmapset=no
24810 fi
24811
24812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813
24814
24815 fi
24816 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24817 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24818 fi
24819
24820
24821
24822 if test "$wx_cv_class_gnuhashmapset" = yes; then
24823 cat >>confdefs.h <<\_ACEOF
24824 #define HAVE_EXT_HASH_MAP 1
24825 _ACEOF
24826
24827 cat >>confdefs.h <<\_ACEOF
24828 #define HAVE_GNU_CXX_HASH_MAP 1
24829 _ACEOF
24830
24831 fi
24832 fi
24833
24834
24835
24836 if test -n "$GCC"; then
24837 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24838 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24839 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24840 echo $ECHO_N "(cached) $ECHO_C" >&6
24841 else
24842
24843 cat >conftest.$ac_ext <<_ACEOF
24844 /* confdefs.h. */
24845 _ACEOF
24846 cat confdefs.h >>conftest.$ac_ext
24847 cat >>conftest.$ac_ext <<_ACEOF
24848 /* end confdefs.h. */
24849
24850 int
24851 main ()
24852 {
24853
24854 unsigned int value=0;
24855 /* wxAtomicInc doesn't use return value here */
24856 __sync_fetch_and_add(&value, 2);
24857 __sync_sub_and_fetch(&value, 1);
24858 /* but wxAtomicDec does, so mimic that: */
24859 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24860
24861 ;
24862 return 0;
24863 }
24864 _ACEOF
24865 rm -f conftest.$ac_objext conftest$ac_exeext
24866 if { (ac_try="$ac_link"
24867 case "(($ac_try" in
24868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24869 *) ac_try_echo=$ac_try;;
24870 esac
24871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24872 (eval "$ac_link") 2>conftest.er1
24873 ac_status=$?
24874 grep -v '^ *+' conftest.er1 >conftest.err
24875 rm -f conftest.er1
24876 cat conftest.err >&5
24877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24878 (exit $ac_status); } && {
24879 test -z "$ac_cxx_werror_flag" ||
24880 test ! -s conftest.err
24881 } && test -s conftest$ac_exeext &&
24882 $as_test_x conftest$ac_exeext; then
24883 wx_cv_cc_gcc_atomic_builtins=yes
24884 else
24885 echo "$as_me: failed program was:" >&5
24886 sed 's/^/| /' conftest.$ac_ext >&5
24887
24888 wx_cv_cc_gcc_atomic_builtins=no
24889 fi
24890
24891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24892 conftest$ac_exeext conftest.$ac_ext
24893
24894 fi
24895
24896 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24897 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24898 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24899 cat >>confdefs.h <<\_ACEOF
24900 #define HAVE_GCC_ATOMIC_BUILTINS 1
24901 _ACEOF
24902
24903 fi
24904 fi
24905
24906
24907 ac_ext=c
24908 ac_cpp='$CPP $CPPFLAGS'
24909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24912
24913
24914
24915 SEARCH_INCLUDE="\
24916 /usr/local/include \
24917 \
24918 /usr/Motif-2.1/include \
24919 /usr/Motif-1.2/include \
24920 /usr/include/Motif1.2 \
24921 \
24922 /usr/dt/include \
24923 /usr/openwin/include \
24924 \
24925 /usr/include/Xm \
24926 \
24927 /usr/X11R6/include \
24928 /usr/X11R6.4/include \
24929 /usr/X11R5/include \
24930 /usr/X11R4/include \
24931 \
24932 /usr/include/X11R6 \
24933 /usr/include/X11R5 \
24934 /usr/include/X11R4 \
24935 \
24936 /usr/local/X11R6/include \
24937 /usr/local/X11R5/include \
24938 /usr/local/X11R4/include \
24939 \
24940 /usr/local/include/X11R6 \
24941 /usr/local/include/X11R5 \
24942 /usr/local/include/X11R4 \
24943 \
24944 /usr/X11/include \
24945 /usr/include/X11 \
24946 /usr/local/X11/include \
24947 /usr/local/include/X11 \
24948 \
24949 /usr/XFree86/include/X11 \
24950 /usr/pkg/include \
24951 \
24952 /usr/openwin/share/include"
24953
24954 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24955 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24956
24957 case "${host}" in
24958 *-*-irix6* )
24959 if test "${wx_cv_std_libpath+set}" = set; then
24960 echo $ECHO_N "(cached) $ECHO_C" >&6
24961 else
24962
24963 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24964 for e in a so sl dylib dll.a; do
24965 libc="$d/libc.$e"
24966 if test -f $libc; then
24967 save_LIBS="$LIBS"
24968 LIBS="$libc"
24969 cat >conftest.$ac_ext <<_ACEOF
24970 int main() { return 0; }
24971 _ACEOF
24972 rm -f conftest.$ac_objext conftest$ac_exeext
24973 if { (ac_try="$ac_link"
24974 case "(($ac_try" in
24975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24976 *) ac_try_echo=$ac_try;;
24977 esac
24978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24979 (eval "$ac_link") 2>conftest.er1
24980 ac_status=$?
24981 grep -v '^ *+' conftest.er1 >conftest.err
24982 rm -f conftest.er1
24983 cat conftest.err >&5
24984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985 (exit $ac_status); } && {
24986 test -z "$ac_c_werror_flag" ||
24987 test ! -s conftest.err
24988 } && test -s conftest$ac_exeext &&
24989 $as_test_x conftest$ac_exeext; then
24990 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24991 else
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.$ac_ext >&5
24994
24995
24996 fi
24997
24998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24999 conftest$ac_exeext conftest.$ac_ext
25000 LIBS="$save_LIBS"
25001 if test "x$wx_cv_std_libpath" != "x"; then
25002 break 2
25003 fi
25004 fi
25005 done
25006 done
25007 if test "x$wx_cv_std_libpath" = "x"; then
25008 wx_cv_std_libpath="lib"
25009 fi
25010
25011
25012 fi
25013
25014 ;;
25015
25016 *-*-solaris2* )
25017 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25018 wx_cv_std_libpath="lib/64"
25019 else
25020 wx_cv_std_libpath="lib"
25021 fi
25022 ;;
25023
25024 *-*-linux* )
25025 if test "$ac_cv_sizeof_void_p" = 8 -a \
25026 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25027 wx_cv_std_libpath="lib64"
25028 else
25029 wx_cv_std_libpath="lib"
25030 fi
25031 ;;
25032
25033 *)
25034 wx_cv_std_libpath="lib";
25035 ;;
25036 esac
25037
25038 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25039 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25040
25041 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25042
25043 if test "$build" != "$host" -a "$GCC" = yes; then
25044 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25045 cross_root=`dirname $cross_root`
25046 cross_root=`dirname $cross_root`
25047
25048 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25049 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25050 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25051
25052 if test -z "$PKG_CONFIG_PATH"; then
25053 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25054 export PKG_CONFIG_PATH
25055 fi
25056
25057 if test -z "$x_includes" -o "$x_includes" = NONE; then
25058
25059 ac_find_includes=
25060 for ac_dir in $SEARCH_INCLUDE /usr/include;
25061 do
25062 if test -f "$ac_dir/X11/Intrinsic.h"; then
25063 ac_find_includes=$ac_dir
25064 break
25065 fi
25066 done
25067
25068 x_includes=$ac_find_includes
25069 fi
25070 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25071
25072 ac_find_libraries=
25073 for ac_dir in $SEARCH_LIB;
25074 do
25075 for ac_extension in a so sl dylib dll.a; do
25076 if test -f "$ac_dir/libXt.$ac_extension"; then
25077 ac_find_libraries=$ac_dir
25078 break 2
25079 fi
25080 done
25081 done
25082
25083 x_libraries=$ac_find_libraries
25084 fi
25085 fi
25086 fi
25087
25088
25089 cat >confcache <<\_ACEOF
25090 # This file is a shell script that caches the results of configure
25091 # tests run on this system so they can be shared between configure
25092 # scripts and configure runs, see configure's option --config-cache.
25093 # It is not useful on other systems. If it contains results you don't
25094 # want to keep, you may remove or edit it.
25095 #
25096 # config.status only pays attention to the cache file if you give it
25097 # the --recheck option to rerun configure.
25098 #
25099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25101 # following values.
25102
25103 _ACEOF
25104
25105 # The following way of writing the cache mishandles newlines in values,
25106 # but we know of no workaround that is simple, portable, and efficient.
25107 # So, we kill variables containing newlines.
25108 # Ultrix sh set writes to stderr and can't be redirected directly,
25109 # and sets the high bit in the cache file unless we assign to the vars.
25110 (
25111 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25112 eval ac_val=\$$ac_var
25113 case $ac_val in #(
25114 *${as_nl}*)
25115 case $ac_var in #(
25116 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25117 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25118 esac
25119 case $ac_var in #(
25120 _ | IFS | as_nl) ;; #(
25121 *) $as_unset $ac_var ;;
25122 esac ;;
25123 esac
25124 done
25125
25126 (set) 2>&1 |
25127 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25128 *${as_nl}ac_space=\ *)
25129 # `set' does not quote correctly, so add quotes (double-quote
25130 # substitution turns \\\\ into \\, and sed turns \\ into \).
25131 sed -n \
25132 "s/'/'\\\\''/g;
25133 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25134 ;; #(
25135 *)
25136 # `set' quotes correctly as required by POSIX, so do not add quotes.
25137 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25138 ;;
25139 esac |
25140 sort
25141 ) |
25142 sed '
25143 /^ac_cv_env_/b end
25144 t clear
25145 :clear
25146 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25147 t end
25148 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25149 :end' >>confcache
25150 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25151 if test -w "$cache_file"; then
25152 test "x$cache_file" != "x/dev/null" &&
25153 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25154 echo "$as_me: updating cache $cache_file" >&6;}
25155 cat confcache >$cache_file
25156 else
25157 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25158 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25159 fi
25160 fi
25161 rm -f confcache
25162
25163 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25164 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25165 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25166 if test "${wx_cv_lib_glibc21+set}" = set; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25168 else
25169
25170 cat >conftest.$ac_ext <<_ACEOF
25171 /* confdefs.h. */
25172 _ACEOF
25173 cat confdefs.h >>conftest.$ac_ext
25174 cat >>conftest.$ac_ext <<_ACEOF
25175 /* end confdefs.h. */
25176 #include <features.h>
25177 int
25178 main ()
25179 {
25180
25181 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25182 not glibc 2.1
25183 #endif
25184
25185 ;
25186 return 0;
25187 }
25188 _ACEOF
25189 rm -f conftest.$ac_objext
25190 if { (ac_try="$ac_compile"
25191 case "(($ac_try" in
25192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25193 *) ac_try_echo=$ac_try;;
25194 esac
25195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25196 (eval "$ac_compile") 2>conftest.er1
25197 ac_status=$?
25198 grep -v '^ *+' conftest.er1 >conftest.err
25199 rm -f conftest.er1
25200 cat conftest.err >&5
25201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25202 (exit $ac_status); } && {
25203 test -z "$ac_c_werror_flag" ||
25204 test ! -s conftest.err
25205 } && test -s conftest.$ac_objext; then
25206
25207 wx_cv_lib_glibc21=yes
25208
25209 else
25210 echo "$as_me: failed program was:" >&5
25211 sed 's/^/| /' conftest.$ac_ext >&5
25212
25213
25214 wx_cv_lib_glibc21=no
25215
25216
25217 fi
25218
25219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25220
25221 fi
25222 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25223 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25224 if test "$wx_cv_lib_glibc21" = "yes"; then
25225 cat >>confdefs.h <<\_ACEOF
25226 #define wxHAVE_GLIBC2 1
25227 _ACEOF
25228
25229 fi
25230 fi
25231
25232 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25233 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25234 cat >>confdefs.h <<\_ACEOF
25235 #define _GNU_SOURCE 1
25236 _ACEOF
25237
25238 fi
25239 fi
25240
25241 have_cos=0
25242 have_floor=0
25243
25244 for ac_func in cos
25245 do
25246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25250 echo $ECHO_N "(cached) $ECHO_C" >&6
25251 else
25252 cat >conftest.$ac_ext <<_ACEOF
25253 /* confdefs.h. */
25254 _ACEOF
25255 cat confdefs.h >>conftest.$ac_ext
25256 cat >>conftest.$ac_ext <<_ACEOF
25257 /* end confdefs.h. */
25258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25260 #define $ac_func innocuous_$ac_func
25261
25262 /* System header to define __stub macros and hopefully few prototypes,
25263 which can conflict with char $ac_func (); below.
25264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25265 <limits.h> exists even on freestanding compilers. */
25266
25267 #ifdef __STDC__
25268 # include <limits.h>
25269 #else
25270 # include <assert.h>
25271 #endif
25272
25273 #undef $ac_func
25274
25275 /* Override any GCC internal prototype to avoid an error.
25276 Use char because int might match the return type of a GCC
25277 builtin and then its argument prototype would still apply. */
25278 #ifdef __cplusplus
25279 extern "C"
25280 #endif
25281 char $ac_func ();
25282 /* The GNU C library defines this for functions which it implements
25283 to always fail with ENOSYS. Some functions are actually named
25284 something starting with __ and the normal name is an alias. */
25285 #if defined __stub_$ac_func || defined __stub___$ac_func
25286 choke me
25287 #endif
25288
25289 int
25290 main ()
25291 {
25292 return $ac_func ();
25293 ;
25294 return 0;
25295 }
25296 _ACEOF
25297 rm -f conftest.$ac_objext conftest$ac_exeext
25298 if { (ac_try="$ac_link"
25299 case "(($ac_try" in
25300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25301 *) ac_try_echo=$ac_try;;
25302 esac
25303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25304 (eval "$ac_link") 2>conftest.er1
25305 ac_status=$?
25306 grep -v '^ *+' conftest.er1 >conftest.err
25307 rm -f conftest.er1
25308 cat conftest.err >&5
25309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25310 (exit $ac_status); } && {
25311 test -z "$ac_c_werror_flag" ||
25312 test ! -s conftest.err
25313 } && test -s conftest$ac_exeext &&
25314 $as_test_x conftest$ac_exeext; then
25315 eval "$as_ac_var=yes"
25316 else
25317 echo "$as_me: failed program was:" >&5
25318 sed 's/^/| /' conftest.$ac_ext >&5
25319
25320 eval "$as_ac_var=no"
25321 fi
25322
25323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25324 conftest$ac_exeext conftest.$ac_ext
25325 fi
25326 ac_res=`eval echo '${'$as_ac_var'}'`
25327 { echo "$as_me:$LINENO: result: $ac_res" >&5
25328 echo "${ECHO_T}$ac_res" >&6; }
25329 if test `eval echo '${'$as_ac_var'}'` = yes; then
25330 cat >>confdefs.h <<_ACEOF
25331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25332 _ACEOF
25333 have_cos=1
25334 fi
25335 done
25336
25337
25338 for ac_func in floor
25339 do
25340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25341 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25344 echo $ECHO_N "(cached) $ECHO_C" >&6
25345 else
25346 cat >conftest.$ac_ext <<_ACEOF
25347 /* confdefs.h. */
25348 _ACEOF
25349 cat confdefs.h >>conftest.$ac_ext
25350 cat >>conftest.$ac_ext <<_ACEOF
25351 /* end confdefs.h. */
25352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25354 #define $ac_func innocuous_$ac_func
25355
25356 /* System header to define __stub macros and hopefully few prototypes,
25357 which can conflict with char $ac_func (); below.
25358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25359 <limits.h> exists even on freestanding compilers. */
25360
25361 #ifdef __STDC__
25362 # include <limits.h>
25363 #else
25364 # include <assert.h>
25365 #endif
25366
25367 #undef $ac_func
25368
25369 /* Override any GCC internal prototype to avoid an error.
25370 Use char because int might match the return type of a GCC
25371 builtin and then its argument prototype would still apply. */
25372 #ifdef __cplusplus
25373 extern "C"
25374 #endif
25375 char $ac_func ();
25376 /* The GNU C library defines this for functions which it implements
25377 to always fail with ENOSYS. Some functions are actually named
25378 something starting with __ and the normal name is an alias. */
25379 #if defined __stub_$ac_func || defined __stub___$ac_func
25380 choke me
25381 #endif
25382
25383 int
25384 main ()
25385 {
25386 return $ac_func ();
25387 ;
25388 return 0;
25389 }
25390 _ACEOF
25391 rm -f conftest.$ac_objext conftest$ac_exeext
25392 if { (ac_try="$ac_link"
25393 case "(($ac_try" in
25394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25395 *) ac_try_echo=$ac_try;;
25396 esac
25397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25398 (eval "$ac_link") 2>conftest.er1
25399 ac_status=$?
25400 grep -v '^ *+' conftest.er1 >conftest.err
25401 rm -f conftest.er1
25402 cat conftest.err >&5
25403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25404 (exit $ac_status); } && {
25405 test -z "$ac_c_werror_flag" ||
25406 test ! -s conftest.err
25407 } && test -s conftest$ac_exeext &&
25408 $as_test_x conftest$ac_exeext; then
25409 eval "$as_ac_var=yes"
25410 else
25411 echo "$as_me: failed program was:" >&5
25412 sed 's/^/| /' conftest.$ac_ext >&5
25413
25414 eval "$as_ac_var=no"
25415 fi
25416
25417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25418 conftest$ac_exeext conftest.$ac_ext
25419 fi
25420 ac_res=`eval echo '${'$as_ac_var'}'`
25421 { echo "$as_me:$LINENO: result: $ac_res" >&5
25422 echo "${ECHO_T}$ac_res" >&6; }
25423 if test `eval echo '${'$as_ac_var'}'` = yes; then
25424 cat >>confdefs.h <<_ACEOF
25425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25426 _ACEOF
25427 have_floor=1
25428 fi
25429 done
25430
25431 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25432 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25433 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25434 { echo "$as_me:$LINENO: result: yes" >&5
25435 echo "${ECHO_T}yes" >&6; }
25436 else
25437 { echo "$as_me:$LINENO: result: no" >&5
25438 echo "${ECHO_T}no" >&6; }
25439 LIBS="$LIBS -lm"
25440 # use different functions to avoid configure caching
25441 have_sin=0
25442 have_ceil=0
25443
25444 for ac_func in sin
25445 do
25446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25450 echo $ECHO_N "(cached) $ECHO_C" >&6
25451 else
25452 cat >conftest.$ac_ext <<_ACEOF
25453 /* confdefs.h. */
25454 _ACEOF
25455 cat confdefs.h >>conftest.$ac_ext
25456 cat >>conftest.$ac_ext <<_ACEOF
25457 /* end confdefs.h. */
25458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25460 #define $ac_func innocuous_$ac_func
25461
25462 /* System header to define __stub macros and hopefully few prototypes,
25463 which can conflict with char $ac_func (); below.
25464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25465 <limits.h> exists even on freestanding compilers. */
25466
25467 #ifdef __STDC__
25468 # include <limits.h>
25469 #else
25470 # include <assert.h>
25471 #endif
25472
25473 #undef $ac_func
25474
25475 /* Override any GCC internal prototype to avoid an error.
25476 Use char because int might match the return type of a GCC
25477 builtin and then its argument prototype would still apply. */
25478 #ifdef __cplusplus
25479 extern "C"
25480 #endif
25481 char $ac_func ();
25482 /* The GNU C library defines this for functions which it implements
25483 to always fail with ENOSYS. Some functions are actually named
25484 something starting with __ and the normal name is an alias. */
25485 #if defined __stub_$ac_func || defined __stub___$ac_func
25486 choke me
25487 #endif
25488
25489 int
25490 main ()
25491 {
25492 return $ac_func ();
25493 ;
25494 return 0;
25495 }
25496 _ACEOF
25497 rm -f conftest.$ac_objext conftest$ac_exeext
25498 if { (ac_try="$ac_link"
25499 case "(($ac_try" in
25500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25501 *) ac_try_echo=$ac_try;;
25502 esac
25503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25504 (eval "$ac_link") 2>conftest.er1
25505 ac_status=$?
25506 grep -v '^ *+' conftest.er1 >conftest.err
25507 rm -f conftest.er1
25508 cat conftest.err >&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); } && {
25511 test -z "$ac_c_werror_flag" ||
25512 test ! -s conftest.err
25513 } && test -s conftest$ac_exeext &&
25514 $as_test_x conftest$ac_exeext; then
25515 eval "$as_ac_var=yes"
25516 else
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.$ac_ext >&5
25519
25520 eval "$as_ac_var=no"
25521 fi
25522
25523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25524 conftest$ac_exeext conftest.$ac_ext
25525 fi
25526 ac_res=`eval echo '${'$as_ac_var'}'`
25527 { echo "$as_me:$LINENO: result: $ac_res" >&5
25528 echo "${ECHO_T}$ac_res" >&6; }
25529 if test `eval echo '${'$as_ac_var'}'` = yes; then
25530 cat >>confdefs.h <<_ACEOF
25531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25532 _ACEOF
25533 have_sin=1
25534 fi
25535 done
25536
25537
25538 for ac_func in ceil
25539 do
25540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25544 echo $ECHO_N "(cached) $ECHO_C" >&6
25545 else
25546 cat >conftest.$ac_ext <<_ACEOF
25547 /* confdefs.h. */
25548 _ACEOF
25549 cat confdefs.h >>conftest.$ac_ext
25550 cat >>conftest.$ac_ext <<_ACEOF
25551 /* end confdefs.h. */
25552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25554 #define $ac_func innocuous_$ac_func
25555
25556 /* System header to define __stub macros and hopefully few prototypes,
25557 which can conflict with char $ac_func (); below.
25558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25559 <limits.h> exists even on freestanding compilers. */
25560
25561 #ifdef __STDC__
25562 # include <limits.h>
25563 #else
25564 # include <assert.h>
25565 #endif
25566
25567 #undef $ac_func
25568
25569 /* Override any GCC internal prototype to avoid an error.
25570 Use char because int might match the return type of a GCC
25571 builtin and then its argument prototype would still apply. */
25572 #ifdef __cplusplus
25573 extern "C"
25574 #endif
25575 char $ac_func ();
25576 /* The GNU C library defines this for functions which it implements
25577 to always fail with ENOSYS. Some functions are actually named
25578 something starting with __ and the normal name is an alias. */
25579 #if defined __stub_$ac_func || defined __stub___$ac_func
25580 choke me
25581 #endif
25582
25583 int
25584 main ()
25585 {
25586 return $ac_func ();
25587 ;
25588 return 0;
25589 }
25590 _ACEOF
25591 rm -f conftest.$ac_objext conftest$ac_exeext
25592 if { (ac_try="$ac_link"
25593 case "(($ac_try" in
25594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25595 *) ac_try_echo=$ac_try;;
25596 esac
25597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25598 (eval "$ac_link") 2>conftest.er1
25599 ac_status=$?
25600 grep -v '^ *+' conftest.er1 >conftest.err
25601 rm -f conftest.er1
25602 cat conftest.err >&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); } && {
25605 test -z "$ac_c_werror_flag" ||
25606 test ! -s conftest.err
25607 } && test -s conftest$ac_exeext &&
25608 $as_test_x conftest$ac_exeext; then
25609 eval "$as_ac_var=yes"
25610 else
25611 echo "$as_me: failed program was:" >&5
25612 sed 's/^/| /' conftest.$ac_ext >&5
25613
25614 eval "$as_ac_var=no"
25615 fi
25616
25617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25618 conftest$ac_exeext conftest.$ac_ext
25619 fi
25620 ac_res=`eval echo '${'$as_ac_var'}'`
25621 { echo "$as_me:$LINENO: result: $ac_res" >&5
25622 echo "${ECHO_T}$ac_res" >&6; }
25623 if test `eval echo '${'$as_ac_var'}'` = yes; then
25624 cat >>confdefs.h <<_ACEOF
25625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25626 _ACEOF
25627 have_ceil=1
25628 fi
25629 done
25630
25631 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25632 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25633 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25634 { echo "$as_me:$LINENO: result: yes" >&5
25635 echo "${ECHO_T}yes" >&6; }
25636 else
25637 { echo "$as_me:$LINENO: result: no" >&5
25638 echo "${ECHO_T}no" >&6; }
25639 # not sure we should warn the user, crash, etc.
25640 fi
25641 fi
25642
25643 ac_ext=cpp
25644 ac_cpp='$CXXCPP $CPPFLAGS'
25645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25648
25649 if test "wxUSE_UNICODE" = "yes"; then
25650
25651 for wx_func in wcstoull
25652 do
25653 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25654 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25655 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25656 echo $ECHO_N "(cached) $ECHO_C" >&6
25657 else
25658
25659 cat >conftest.$ac_ext <<_ACEOF
25660
25661 /* confdefs.h. */
25662 _ACEOF
25663 cat confdefs.h >>conftest.$ac_ext
25664 cat >>conftest.$ac_ext <<_ACEOF
25665 /* end confdefs.h. */
25666
25667
25668 $ac_includes_default
25669
25670 int
25671 main ()
25672 {
25673
25674 #ifndef $wx_func
25675 &$wx_func;
25676 #endif
25677
25678
25679 ;
25680 return 0;
25681 }
25682
25683 _ACEOF
25684 rm -f conftest.$ac_objext conftest$ac_exeext
25685 if { (ac_try="$ac_link"
25686 case "(($ac_try" in
25687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25688 *) ac_try_echo=$ac_try;;
25689 esac
25690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25691 (eval "$ac_link") 2>conftest.er1
25692 ac_status=$?
25693 grep -v '^ *+' conftest.er1 >conftest.err
25694 rm -f conftest.er1
25695 cat conftest.err >&5
25696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25697 (exit $ac_status); } && {
25698 test -z "$ac_cxx_werror_flag" ||
25699 test ! -s conftest.err
25700 } && test -s conftest$ac_exeext &&
25701 $as_test_x conftest$ac_exeext; then
25702 eval wx_cv_func_$wx_func=yes
25703 else
25704 echo "$as_me: failed program was:" >&5
25705 sed 's/^/| /' conftest.$ac_ext >&5
25706
25707 eval wx_cv_func_$wx_func=no
25708 fi
25709
25710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25711 conftest$ac_exeext conftest.$ac_ext
25712
25713 fi
25714 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25715 { echo "$as_me:$LINENO: result: $ac_res" >&5
25716 echo "${ECHO_T}$ac_res" >&6; }
25717
25718 if eval test \$wx_cv_func_$wx_func = yes
25719 then
25720 cat >>confdefs.h <<_ACEOF
25721 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25722 _ACEOF
25723
25724
25725 else
25726 :
25727
25728 fi
25729 done
25730
25731 else
25732
25733 for wx_func in strtoull
25734 do
25735 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25736 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25737 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25738 echo $ECHO_N "(cached) $ECHO_C" >&6
25739 else
25740
25741 cat >conftest.$ac_ext <<_ACEOF
25742
25743 /* confdefs.h. */
25744 _ACEOF
25745 cat confdefs.h >>conftest.$ac_ext
25746 cat >>conftest.$ac_ext <<_ACEOF
25747 /* end confdefs.h. */
25748
25749
25750 $ac_includes_default
25751
25752 int
25753 main ()
25754 {
25755
25756 #ifndef $wx_func
25757 &$wx_func;
25758 #endif
25759
25760
25761 ;
25762 return 0;
25763 }
25764
25765 _ACEOF
25766 rm -f conftest.$ac_objext conftest$ac_exeext
25767 if { (ac_try="$ac_link"
25768 case "(($ac_try" in
25769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25770 *) ac_try_echo=$ac_try;;
25771 esac
25772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25773 (eval "$ac_link") 2>conftest.er1
25774 ac_status=$?
25775 grep -v '^ *+' conftest.er1 >conftest.err
25776 rm -f conftest.er1
25777 cat conftest.err >&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); } && {
25780 test -z "$ac_cxx_werror_flag" ||
25781 test ! -s conftest.err
25782 } && test -s conftest$ac_exeext &&
25783 $as_test_x conftest$ac_exeext; then
25784 eval wx_cv_func_$wx_func=yes
25785 else
25786 echo "$as_me: failed program was:" >&5
25787 sed 's/^/| /' conftest.$ac_ext >&5
25788
25789 eval wx_cv_func_$wx_func=no
25790 fi
25791
25792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25793 conftest$ac_exeext conftest.$ac_ext
25794
25795 fi
25796 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25797 { echo "$as_me:$LINENO: result: $ac_res" >&5
25798 echo "${ECHO_T}$ac_res" >&6; }
25799
25800 if eval test \$wx_cv_func_$wx_func = yes
25801 then
25802 cat >>confdefs.h <<_ACEOF
25803 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25804 _ACEOF
25805
25806
25807 else
25808 :
25809
25810 fi
25811 done
25812
25813 fi
25814 ac_ext=c
25815 ac_cpp='$CPP $CPPFLAGS'
25816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25819
25820
25821
25822
25823 if test "$wxUSE_REGEX" != "no"; then
25824 cat >>confdefs.h <<\_ACEOF
25825 #define wxUSE_REGEX 1
25826 _ACEOF
25827
25828
25829 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25830 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25831 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25832 wxUSE_REGEX=builtin
25833 fi
25834
25835 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25836 { echo "$as_me:$LINENO: checking for regex.h" >&5
25837 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25838 if test "${ac_cv_header_regex_h+set}" = set; then
25839 echo $ECHO_N "(cached) $ECHO_C" >&6
25840 else
25841 cat >conftest.$ac_ext <<_ACEOF
25842 /* confdefs.h. */
25843 _ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25847
25848
25849 #include <regex.h>
25850 _ACEOF
25851 rm -f conftest.$ac_objext
25852 if { (ac_try="$ac_compile"
25853 case "(($ac_try" in
25854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25855 *) ac_try_echo=$ac_try;;
25856 esac
25857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25858 (eval "$ac_compile") 2>conftest.er1
25859 ac_status=$?
25860 grep -v '^ *+' conftest.er1 >conftest.err
25861 rm -f conftest.er1
25862 cat conftest.err >&5
25863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864 (exit $ac_status); } && {
25865 test -z "$ac_c_werror_flag" ||
25866 test ! -s conftest.err
25867 } && test -s conftest.$ac_objext; then
25868 ac_cv_header_regex_h=yes
25869 else
25870 echo "$as_me: failed program was:" >&5
25871 sed 's/^/| /' conftest.$ac_ext >&5
25872
25873 ac_cv_header_regex_h=no
25874 fi
25875
25876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25877 fi
25878 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25879 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25880 if test $ac_cv_header_regex_h = yes; then
25881
25882
25883 for ac_func in regcomp re_search
25884 do
25885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25889 echo $ECHO_N "(cached) $ECHO_C" >&6
25890 else
25891 cat >conftest.$ac_ext <<_ACEOF
25892 /* confdefs.h. */
25893 _ACEOF
25894 cat confdefs.h >>conftest.$ac_ext
25895 cat >>conftest.$ac_ext <<_ACEOF
25896 /* end confdefs.h. */
25897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25899 #define $ac_func innocuous_$ac_func
25900
25901 /* System header to define __stub macros and hopefully few prototypes,
25902 which can conflict with char $ac_func (); below.
25903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25904 <limits.h> exists even on freestanding compilers. */
25905
25906 #ifdef __STDC__
25907 # include <limits.h>
25908 #else
25909 # include <assert.h>
25910 #endif
25911
25912 #undef $ac_func
25913
25914 /* Override any GCC internal prototype to avoid an error.
25915 Use char because int might match the return type of a GCC
25916 builtin and then its argument prototype would still apply. */
25917 #ifdef __cplusplus
25918 extern "C"
25919 #endif
25920 char $ac_func ();
25921 /* The GNU C library defines this for functions which it implements
25922 to always fail with ENOSYS. Some functions are actually named
25923 something starting with __ and the normal name is an alias. */
25924 #if defined __stub_$ac_func || defined __stub___$ac_func
25925 choke me
25926 #endif
25927
25928 int
25929 main ()
25930 {
25931 return $ac_func ();
25932 ;
25933 return 0;
25934 }
25935 _ACEOF
25936 rm -f conftest.$ac_objext conftest$ac_exeext
25937 if { (ac_try="$ac_link"
25938 case "(($ac_try" in
25939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25940 *) ac_try_echo=$ac_try;;
25941 esac
25942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25943 (eval "$ac_link") 2>conftest.er1
25944 ac_status=$?
25945 grep -v '^ *+' conftest.er1 >conftest.err
25946 rm -f conftest.er1
25947 cat conftest.err >&5
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); } && {
25950 test -z "$ac_c_werror_flag" ||
25951 test ! -s conftest.err
25952 } && test -s conftest$ac_exeext &&
25953 $as_test_x conftest$ac_exeext; then
25954 eval "$as_ac_var=yes"
25955 else
25956 echo "$as_me: failed program was:" >&5
25957 sed 's/^/| /' conftest.$ac_ext >&5
25958
25959 eval "$as_ac_var=no"
25960 fi
25961
25962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25963 conftest$ac_exeext conftest.$ac_ext
25964 fi
25965 ac_res=`eval echo '${'$as_ac_var'}'`
25966 { echo "$as_me:$LINENO: result: $ac_res" >&5
25967 echo "${ECHO_T}$ac_res" >&6; }
25968 if test `eval echo '${'$as_ac_var'}'` = yes; then
25969 cat >>confdefs.h <<_ACEOF
25970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25971 _ACEOF
25972
25973 fi
25974 done
25975
25976 fi
25977
25978
25979
25980 if test "x$ac_cv_func_regcomp" != "xyes"; then
25981 if test "$wxUSE_REGEX" = "sys" ; then
25982 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25983 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25984 { (exit 1); exit 1; }; }
25985 else
25986 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25987 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25988 wxUSE_REGEX=builtin
25989 fi
25990 else
25991 wxUSE_REGEX=sys
25992 cat >>confdefs.h <<\_ACEOF
25993 #define WX_NO_REGEX_ADVANCED 1
25994 _ACEOF
25995
25996 fi
25997 fi
25998 fi
25999
26000
26001 ZLIB_LINK=
26002 if test "$wxUSE_ZLIB" != "no" ; then
26003 cat >>confdefs.h <<\_ACEOF
26004 #define wxUSE_ZLIB 1
26005 _ACEOF
26006
26007
26008 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26009 if test "$USE_DARWIN" = 1; then
26010 system_zlib_h_ok="yes"
26011 else
26012 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26013 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26014 if test "${ac_cv_header_zlib_h+set}" = set; then
26015 echo $ECHO_N "(cached) $ECHO_C" >&6
26016 else
26017 if test "$cross_compiling" = yes; then
26018 unset ac_cv_header_zlib_h
26019
26020 else
26021 cat >conftest.$ac_ext <<_ACEOF
26022 /* confdefs.h. */
26023 _ACEOF
26024 cat confdefs.h >>conftest.$ac_ext
26025 cat >>conftest.$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26027
26028 #include <zlib.h>
26029 #include <stdio.h>
26030
26031 int main()
26032 {
26033 FILE *f=fopen("conftestval", "w");
26034 if (!f) exit(1);
26035 fprintf(f, "%s",
26036 ZLIB_VERSION[0] == '1' &&
26037 (ZLIB_VERSION[2] > '1' ||
26038 (ZLIB_VERSION[2] == '1' &&
26039 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26040 exit(0);
26041 }
26042
26043 _ACEOF
26044 rm -f conftest$ac_exeext
26045 if { (ac_try="$ac_link"
26046 case "(($ac_try" in
26047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26048 *) ac_try_echo=$ac_try;;
26049 esac
26050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26051 (eval "$ac_link") 2>&5
26052 ac_status=$?
26053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26054 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26055 { (case "(($ac_try" in
26056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26057 *) ac_try_echo=$ac_try;;
26058 esac
26059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26060 (eval "$ac_try") 2>&5
26061 ac_status=$?
26062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063 (exit $ac_status); }; }; then
26064 ac_cv_header_zlib_h=`cat conftestval`
26065 else
26066 echo "$as_me: program exited with status $ac_status" >&5
26067 echo "$as_me: failed program was:" >&5
26068 sed 's/^/| /' conftest.$ac_ext >&5
26069
26070 ( exit $ac_status )
26071 ac_cv_header_zlib_h=no
26072 fi
26073 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26074 fi
26075
26076
26077
26078 fi
26079 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26080 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26081 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26082 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26083 if test "${ac_cv_header_zlib_h+set}" = set; then
26084 echo $ECHO_N "(cached) $ECHO_C" >&6
26085 else
26086 cat >conftest.$ac_ext <<_ACEOF
26087 /* confdefs.h. */
26088 _ACEOF
26089 cat confdefs.h >>conftest.$ac_ext
26090 cat >>conftest.$ac_ext <<_ACEOF
26091 /* end confdefs.h. */
26092
26093
26094 #include <zlib.h>
26095 _ACEOF
26096 rm -f conftest.$ac_objext
26097 if { (ac_try="$ac_compile"
26098 case "(($ac_try" in
26099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26100 *) ac_try_echo=$ac_try;;
26101 esac
26102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26103 (eval "$ac_compile") 2>conftest.er1
26104 ac_status=$?
26105 grep -v '^ *+' conftest.er1 >conftest.err
26106 rm -f conftest.er1
26107 cat conftest.err >&5
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); } && {
26110 test -z "$ac_c_werror_flag" ||
26111 test ! -s conftest.err
26112 } && test -s conftest.$ac_objext; then
26113 ac_cv_header_zlib_h=yes
26114 else
26115 echo "$as_me: failed program was:" >&5
26116 sed 's/^/| /' conftest.$ac_ext >&5
26117
26118 ac_cv_header_zlib_h=no
26119 fi
26120
26121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26122 fi
26123 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26124 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26125
26126
26127
26128 system_zlib_h_ok=$ac_cv_header_zlib_h
26129 fi
26130
26131 if test "$system_zlib_h_ok" = "yes"; then
26132 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26133 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26134 if test "${ac_cv_lib_z_deflate+set}" = set; then
26135 echo $ECHO_N "(cached) $ECHO_C" >&6
26136 else
26137 ac_check_lib_save_LIBS=$LIBS
26138 LIBS="-lz $LIBS"
26139 cat >conftest.$ac_ext <<_ACEOF
26140 /* confdefs.h. */
26141 _ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h. */
26145
26146 /* Override any GCC internal prototype to avoid an error.
26147 Use char because int might match the return type of a GCC
26148 builtin and then its argument prototype would still apply. */
26149 #ifdef __cplusplus
26150 extern "C"
26151 #endif
26152 char deflate ();
26153 int
26154 main ()
26155 {
26156 return deflate ();
26157 ;
26158 return 0;
26159 }
26160 _ACEOF
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (ac_try="$ac_link"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;;
26166 esac
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_link") 2>conftest.er1
26169 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_c_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest$ac_exeext &&
26178 $as_test_x conftest$ac_exeext; then
26179 ac_cv_lib_z_deflate=yes
26180 else
26181 echo "$as_me: failed program was:" >&5
26182 sed 's/^/| /' conftest.$ac_ext >&5
26183
26184 ac_cv_lib_z_deflate=no
26185 fi
26186
26187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26188 conftest$ac_exeext conftest.$ac_ext
26189 LIBS=$ac_check_lib_save_LIBS
26190 fi
26191 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26192 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26193 if test $ac_cv_lib_z_deflate = yes; then
26194 ZLIB_LINK=" -lz"
26195 fi
26196
26197 fi
26198
26199 if test "x$ZLIB_LINK" = "x" ; then
26200 if test "$wxUSE_ZLIB" = "sys" ; then
26201 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26202 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26203 { (exit 1); exit 1; }; }
26204 else
26205 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26206 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26207 wxUSE_ZLIB=builtin
26208 fi
26209 else
26210 wxUSE_ZLIB=sys
26211 fi
26212 fi
26213 fi
26214
26215
26216 PNG_LINK=
26217 if test "$wxUSE_LIBPNG" != "no" ; then
26218 cat >>confdefs.h <<\_ACEOF
26219 #define wxUSE_LIBPNG 1
26220 _ACEOF
26221
26222
26223 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26224 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26225 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26226 wxUSE_LIBPNG=sys
26227 fi
26228
26229 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26230 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26231 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26232 wxUSE_LIBPNG=builtin
26233 fi
26234
26235 if test "$wxUSE_MGL" != 1 ; then
26236 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26237 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26238 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26239 if test "${ac_cv_header_png_h+set}" = set; then
26240 echo $ECHO_N "(cached) $ECHO_C" >&6
26241 else
26242 if test "$cross_compiling" = yes; then
26243 unset ac_cv_header_png_h
26244
26245 else
26246 cat >conftest.$ac_ext <<_ACEOF
26247 /* confdefs.h. */
26248 _ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26252
26253 #include <png.h>
26254 #include <stdio.h>
26255
26256 int main()
26257 {
26258 FILE *f=fopen("conftestval", "w");
26259 if (!f) exit(1);
26260 fprintf(f, "%s",
26261 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26262 exit(0);
26263 }
26264
26265 _ACEOF
26266 rm -f conftest$ac_exeext
26267 if { (ac_try="$ac_link"
26268 case "(($ac_try" in
26269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26270 *) ac_try_echo=$ac_try;;
26271 esac
26272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26273 (eval "$ac_link") 2>&5
26274 ac_status=$?
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26277 { (case "(($ac_try" in
26278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26279 *) ac_try_echo=$ac_try;;
26280 esac
26281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26282 (eval "$ac_try") 2>&5
26283 ac_status=$?
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); }; }; then
26286 ac_cv_header_png_h=`cat conftestval`
26287 else
26288 echo "$as_me: program exited with status $ac_status" >&5
26289 echo "$as_me: failed program was:" >&5
26290 sed 's/^/| /' conftest.$ac_ext >&5
26291
26292 ( exit $ac_status )
26293 ac_cv_header_png_h=no
26294 fi
26295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26296 fi
26297
26298
26299
26300 fi
26301 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26302 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26303 { echo "$as_me:$LINENO: checking for png.h" >&5
26304 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26305 if test "${ac_cv_header_png_h+set}" = set; then
26306 echo $ECHO_N "(cached) $ECHO_C" >&6
26307 else
26308 cat >conftest.$ac_ext <<_ACEOF
26309 /* confdefs.h. */
26310 _ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26314
26315
26316 #include <png.h>
26317 _ACEOF
26318 rm -f conftest.$ac_objext
26319 if { (ac_try="$ac_compile"
26320 case "(($ac_try" in
26321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26322 *) ac_try_echo=$ac_try;;
26323 esac
26324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26325 (eval "$ac_compile") 2>conftest.er1
26326 ac_status=$?
26327 grep -v '^ *+' conftest.er1 >conftest.err
26328 rm -f conftest.er1
26329 cat conftest.err >&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); } && {
26332 test -z "$ac_c_werror_flag" ||
26333 test ! -s conftest.err
26334 } && test -s conftest.$ac_objext; then
26335 ac_cv_header_png_h=yes
26336 else
26337 echo "$as_me: failed program was:" >&5
26338 sed 's/^/| /' conftest.$ac_ext >&5
26339
26340 ac_cv_header_png_h=no
26341 fi
26342
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26344 fi
26345 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26346 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26347
26348
26349
26350 if test "$ac_cv_header_png_h" = "yes"; then
26351 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26352 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26353 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26354 echo $ECHO_N "(cached) $ECHO_C" >&6
26355 else
26356 ac_check_lib_save_LIBS=$LIBS
26357 LIBS="-lpng -lz -lm $LIBS"
26358 cat >conftest.$ac_ext <<_ACEOF
26359 /* confdefs.h. */
26360 _ACEOF
26361 cat confdefs.h >>conftest.$ac_ext
26362 cat >>conftest.$ac_ext <<_ACEOF
26363 /* end confdefs.h. */
26364
26365 /* Override any GCC internal prototype to avoid an error.
26366 Use char because int might match the return type of a GCC
26367 builtin and then its argument prototype would still apply. */
26368 #ifdef __cplusplus
26369 extern "C"
26370 #endif
26371 char png_check_sig ();
26372 int
26373 main ()
26374 {
26375 return png_check_sig ();
26376 ;
26377 return 0;
26378 }
26379 _ACEOF
26380 rm -f conftest.$ac_objext conftest$ac_exeext
26381 if { (ac_try="$ac_link"
26382 case "(($ac_try" in
26383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26384 *) ac_try_echo=$ac_try;;
26385 esac
26386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26387 (eval "$ac_link") 2>conftest.er1
26388 ac_status=$?
26389 grep -v '^ *+' conftest.er1 >conftest.err
26390 rm -f conftest.er1
26391 cat conftest.err >&5
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); } && {
26394 test -z "$ac_c_werror_flag" ||
26395 test ! -s conftest.err
26396 } && test -s conftest$ac_exeext &&
26397 $as_test_x conftest$ac_exeext; then
26398 ac_cv_lib_png_png_check_sig=yes
26399 else
26400 echo "$as_me: failed program was:" >&5
26401 sed 's/^/| /' conftest.$ac_ext >&5
26402
26403 ac_cv_lib_png_png_check_sig=no
26404 fi
26405
26406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26407 conftest$ac_exeext conftest.$ac_ext
26408 LIBS=$ac_check_lib_save_LIBS
26409 fi
26410 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26411 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26412 if test $ac_cv_lib_png_png_check_sig = yes; then
26413 PNG_LINK=" -lpng -lz"
26414 fi
26415
26416 fi
26417
26418 if test "x$PNG_LINK" = "x" ; then
26419 if test "$wxUSE_LIBPNG" = "sys" ; then
26420 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26421 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26422 { (exit 1); exit 1; }; }
26423 else
26424 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26425 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26426 wxUSE_LIBPNG=builtin
26427 fi
26428 else
26429 wxUSE_LIBPNG=sys
26430 fi
26431 fi
26432 fi
26433 fi
26434
26435
26436 JPEG_LINK=
26437 if test "$wxUSE_LIBJPEG" != "no" ; then
26438 cat >>confdefs.h <<\_ACEOF
26439 #define wxUSE_LIBJPEG 1
26440 _ACEOF
26441
26442
26443 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26444 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26445 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26446 wxUSE_LIBJPEG=sys
26447 fi
26448
26449 if test "$wxUSE_MGL" != 1 ; then
26450 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26451 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26452 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26453 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26454 echo $ECHO_N "(cached) $ECHO_C" >&6
26455 else
26456 cat >conftest.$ac_ext <<_ACEOF
26457 /* confdefs.h. */
26458 _ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26462
26463 #undef HAVE_STDLIB_H
26464 #include <stdio.h>
26465 #include <jpeglib.h>
26466
26467 int
26468 main ()
26469 {
26470
26471
26472 ;
26473 return 0;
26474 }
26475 _ACEOF
26476 rm -f conftest.$ac_objext
26477 if { (ac_try="$ac_compile"
26478 case "(($ac_try" in
26479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26480 *) ac_try_echo=$ac_try;;
26481 esac
26482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26483 (eval "$ac_compile") 2>conftest.er1
26484 ac_status=$?
26485 grep -v '^ *+' conftest.er1 >conftest.err
26486 rm -f conftest.er1
26487 cat conftest.err >&5
26488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26489 (exit $ac_status); } && {
26490 test -z "$ac_c_werror_flag" ||
26491 test ! -s conftest.err
26492 } && test -s conftest.$ac_objext; then
26493 ac_cv_header_jpeglib_h=yes
26494 else
26495 echo "$as_me: failed program was:" >&5
26496 sed 's/^/| /' conftest.$ac_ext >&5
26497
26498 ac_cv_header_jpeglib_h=no
26499
26500 fi
26501
26502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26503
26504 fi
26505
26506 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26507 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26508
26509 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26510 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26511 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26512 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26513 echo $ECHO_N "(cached) $ECHO_C" >&6
26514 else
26515 ac_check_lib_save_LIBS=$LIBS
26516 LIBS="-ljpeg $LIBS"
26517 cat >conftest.$ac_ext <<_ACEOF
26518 /* confdefs.h. */
26519 _ACEOF
26520 cat confdefs.h >>conftest.$ac_ext
26521 cat >>conftest.$ac_ext <<_ACEOF
26522 /* end confdefs.h. */
26523
26524 /* Override any GCC internal prototype to avoid an error.
26525 Use char because int might match the return type of a GCC
26526 builtin and then its argument prototype would still apply. */
26527 #ifdef __cplusplus
26528 extern "C"
26529 #endif
26530 char jpeg_read_header ();
26531 int
26532 main ()
26533 {
26534 return jpeg_read_header ();
26535 ;
26536 return 0;
26537 }
26538 _ACEOF
26539 rm -f conftest.$ac_objext conftest$ac_exeext
26540 if { (ac_try="$ac_link"
26541 case "(($ac_try" in
26542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26543 *) ac_try_echo=$ac_try;;
26544 esac
26545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26546 (eval "$ac_link") 2>conftest.er1
26547 ac_status=$?
26548 grep -v '^ *+' conftest.er1 >conftest.err
26549 rm -f conftest.er1
26550 cat conftest.err >&5
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); } && {
26553 test -z "$ac_c_werror_flag" ||
26554 test ! -s conftest.err
26555 } && test -s conftest$ac_exeext &&
26556 $as_test_x conftest$ac_exeext; then
26557 ac_cv_lib_jpeg_jpeg_read_header=yes
26558 else
26559 echo "$as_me: failed program was:" >&5
26560 sed 's/^/| /' conftest.$ac_ext >&5
26561
26562 ac_cv_lib_jpeg_jpeg_read_header=no
26563 fi
26564
26565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26566 conftest$ac_exeext conftest.$ac_ext
26567 LIBS=$ac_check_lib_save_LIBS
26568 fi
26569 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26570 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26571 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26572 JPEG_LINK=" -ljpeg"
26573 fi
26574
26575 fi
26576
26577 if test "x$JPEG_LINK" = "x" ; then
26578 if test "$wxUSE_LIBJPEG" = "sys" ; then
26579 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26580 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26581 { (exit 1); exit 1; }; }
26582 else
26583 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26584 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26585 wxUSE_LIBJPEG=builtin
26586 fi
26587 else
26588 wxUSE_LIBJPEG=sys
26589
26590 if test "$wxUSE_MSW" = 1; then
26591 { echo "$as_me:$LINENO: checking for boolean" >&5
26592 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26593 if test "${ac_cv_type_boolean+set}" = set; then
26594 echo $ECHO_N "(cached) $ECHO_C" >&6
26595 else
26596 cat >conftest.$ac_ext <<_ACEOF
26597 /* confdefs.h. */
26598 _ACEOF
26599 cat confdefs.h >>conftest.$ac_ext
26600 cat >>conftest.$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26602 #include <windows.h>
26603
26604 typedef boolean ac__type_new_;
26605 int
26606 main ()
26607 {
26608 if ((ac__type_new_ *) 0)
26609 return 0;
26610 if (sizeof (ac__type_new_))
26611 return 0;
26612 ;
26613 return 0;
26614 }
26615 _ACEOF
26616 rm -f conftest.$ac_objext
26617 if { (ac_try="$ac_compile"
26618 case "(($ac_try" in
26619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26620 *) ac_try_echo=$ac_try;;
26621 esac
26622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26623 (eval "$ac_compile") 2>conftest.er1
26624 ac_status=$?
26625 grep -v '^ *+' conftest.er1 >conftest.err
26626 rm -f conftest.er1
26627 cat conftest.err >&5
26628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26629 (exit $ac_status); } && {
26630 test -z "$ac_c_werror_flag" ||
26631 test ! -s conftest.err
26632 } && test -s conftest.$ac_objext; then
26633 ac_cv_type_boolean=yes
26634 else
26635 echo "$as_me: failed program was:" >&5
26636 sed 's/^/| /' conftest.$ac_ext >&5
26637
26638 ac_cv_type_boolean=no
26639 fi
26640
26641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26642 fi
26643 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26644 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26645 if test $ac_cv_type_boolean = yes; then
26646
26647 cat >>confdefs.h <<_ACEOF
26648 #define HAVE_BOOLEAN 1
26649 _ACEOF
26650
26651
26652 { echo "$as_me:$LINENO: checking for boolean" >&5
26653 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26654 if test "${ac_cv_type_boolean+set}" = set; then
26655 echo $ECHO_N "(cached) $ECHO_C" >&6
26656 else
26657 cat >conftest.$ac_ext <<_ACEOF
26658 /* confdefs.h. */
26659 _ACEOF
26660 cat confdefs.h >>conftest.$ac_ext
26661 cat >>conftest.$ac_ext <<_ACEOF
26662 /* end confdefs.h. */
26663
26664 #undef HAVE_BOOLEAN
26665 #include <stdio.h>
26666 #include <jpeglib.h>
26667
26668
26669 typedef boolean ac__type_new_;
26670 int
26671 main ()
26672 {
26673 if ((ac__type_new_ *) 0)
26674 return 0;
26675 if (sizeof (ac__type_new_))
26676 return 0;
26677 ;
26678 return 0;
26679 }
26680 _ACEOF
26681 rm -f conftest.$ac_objext
26682 if { (ac_try="$ac_compile"
26683 case "(($ac_try" in
26684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26685 *) ac_try_echo=$ac_try;;
26686 esac
26687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26688 (eval "$ac_compile") 2>conftest.er1
26689 ac_status=$?
26690 grep -v '^ *+' conftest.er1 >conftest.err
26691 rm -f conftest.er1
26692 cat conftest.err >&5
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); } && {
26695 test -z "$ac_c_werror_flag" ||
26696 test ! -s conftest.err
26697 } && test -s conftest.$ac_objext; then
26698 ac_cv_type_boolean=yes
26699 else
26700 echo "$as_me: failed program was:" >&5
26701 sed 's/^/| /' conftest.$ac_ext >&5
26702
26703 ac_cv_type_boolean=no
26704 fi
26705
26706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26707 fi
26708 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26709 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26710
26711 # The cast to long int works around a bug in the HP C Compiler
26712 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26713 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26714 # This bug is HP SR number 8606223364.
26715 { echo "$as_me:$LINENO: checking size of boolean" >&5
26716 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26717 if test "${ac_cv_sizeof_boolean+set}" = set; then
26718 echo $ECHO_N "(cached) $ECHO_C" >&6
26719 else
26720 if test "$cross_compiling" = yes; then
26721 # Depending upon the size, compute the lo and hi bounds.
26722 cat >conftest.$ac_ext <<_ACEOF
26723 /* confdefs.h. */
26724 _ACEOF
26725 cat confdefs.h >>conftest.$ac_ext
26726 cat >>conftest.$ac_ext <<_ACEOF
26727 /* end confdefs.h. */
26728
26729 #undef HAVE_BOOLEAN
26730 #include <stdio.h>
26731 #include <jpeglib.h>
26732
26733
26734 typedef boolean ac__type_sizeof_;
26735 int
26736 main ()
26737 {
26738 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26739 test_array [0] = 0
26740
26741 ;
26742 return 0;
26743 }
26744 _ACEOF
26745 rm -f conftest.$ac_objext
26746 if { (ac_try="$ac_compile"
26747 case "(($ac_try" in
26748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26749 *) ac_try_echo=$ac_try;;
26750 esac
26751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26752 (eval "$ac_compile") 2>conftest.er1
26753 ac_status=$?
26754 grep -v '^ *+' conftest.er1 >conftest.err
26755 rm -f conftest.er1
26756 cat conftest.err >&5
26757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26758 (exit $ac_status); } && {
26759 test -z "$ac_c_werror_flag" ||
26760 test ! -s conftest.err
26761 } && test -s conftest.$ac_objext; then
26762 ac_lo=0 ac_mid=0
26763 while :; do
26764 cat >conftest.$ac_ext <<_ACEOF
26765 /* confdefs.h. */
26766 _ACEOF
26767 cat confdefs.h >>conftest.$ac_ext
26768 cat >>conftest.$ac_ext <<_ACEOF
26769 /* end confdefs.h. */
26770
26771 #undef HAVE_BOOLEAN
26772 #include <stdio.h>
26773 #include <jpeglib.h>
26774
26775
26776 typedef boolean ac__type_sizeof_;
26777 int
26778 main ()
26779 {
26780 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26781 test_array [0] = 0
26782
26783 ;
26784 return 0;
26785 }
26786 _ACEOF
26787 rm -f conftest.$ac_objext
26788 if { (ac_try="$ac_compile"
26789 case "(($ac_try" in
26790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26791 *) ac_try_echo=$ac_try;;
26792 esac
26793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26794 (eval "$ac_compile") 2>conftest.er1
26795 ac_status=$?
26796 grep -v '^ *+' conftest.er1 >conftest.err
26797 rm -f conftest.er1
26798 cat conftest.err >&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } && {
26801 test -z "$ac_c_werror_flag" ||
26802 test ! -s conftest.err
26803 } && test -s conftest.$ac_objext; then
26804 ac_hi=$ac_mid; break
26805 else
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.$ac_ext >&5
26808
26809 ac_lo=`expr $ac_mid + 1`
26810 if test $ac_lo -le $ac_mid; then
26811 ac_lo= ac_hi=
26812 break
26813 fi
26814 ac_mid=`expr 2 '*' $ac_mid + 1`
26815 fi
26816
26817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26818 done
26819 else
26820 echo "$as_me: failed program was:" >&5
26821 sed 's/^/| /' conftest.$ac_ext >&5
26822
26823 cat >conftest.$ac_ext <<_ACEOF
26824 /* confdefs.h. */
26825 _ACEOF
26826 cat confdefs.h >>conftest.$ac_ext
26827 cat >>conftest.$ac_ext <<_ACEOF
26828 /* end confdefs.h. */
26829
26830 #undef HAVE_BOOLEAN
26831 #include <stdio.h>
26832 #include <jpeglib.h>
26833
26834
26835 typedef boolean ac__type_sizeof_;
26836 int
26837 main ()
26838 {
26839 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26840 test_array [0] = 0
26841
26842 ;
26843 return 0;
26844 }
26845 _ACEOF
26846 rm -f conftest.$ac_objext
26847 if { (ac_try="$ac_compile"
26848 case "(($ac_try" in
26849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26850 *) ac_try_echo=$ac_try;;
26851 esac
26852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26853 (eval "$ac_compile") 2>conftest.er1
26854 ac_status=$?
26855 grep -v '^ *+' conftest.er1 >conftest.err
26856 rm -f conftest.er1
26857 cat conftest.err >&5
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); } && {
26860 test -z "$ac_c_werror_flag" ||
26861 test ! -s conftest.err
26862 } && test -s conftest.$ac_objext; then
26863 ac_hi=-1 ac_mid=-1
26864 while :; do
26865 cat >conftest.$ac_ext <<_ACEOF
26866 /* confdefs.h. */
26867 _ACEOF
26868 cat confdefs.h >>conftest.$ac_ext
26869 cat >>conftest.$ac_ext <<_ACEOF
26870 /* end confdefs.h. */
26871
26872 #undef HAVE_BOOLEAN
26873 #include <stdio.h>
26874 #include <jpeglib.h>
26875
26876
26877 typedef boolean ac__type_sizeof_;
26878 int
26879 main ()
26880 {
26881 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26882 test_array [0] = 0
26883
26884 ;
26885 return 0;
26886 }
26887 _ACEOF
26888 rm -f conftest.$ac_objext
26889 if { (ac_try="$ac_compile"
26890 case "(($ac_try" in
26891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26892 *) ac_try_echo=$ac_try;;
26893 esac
26894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26895 (eval "$ac_compile") 2>conftest.er1
26896 ac_status=$?
26897 grep -v '^ *+' conftest.er1 >conftest.err
26898 rm -f conftest.er1
26899 cat conftest.err >&5
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); } && {
26902 test -z "$ac_c_werror_flag" ||
26903 test ! -s conftest.err
26904 } && test -s conftest.$ac_objext; then
26905 ac_lo=$ac_mid; break
26906 else
26907 echo "$as_me: failed program was:" >&5
26908 sed 's/^/| /' conftest.$ac_ext >&5
26909
26910 ac_hi=`expr '(' $ac_mid ')' - 1`
26911 if test $ac_mid -le $ac_hi; then
26912 ac_lo= ac_hi=
26913 break
26914 fi
26915 ac_mid=`expr 2 '*' $ac_mid`
26916 fi
26917
26918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26919 done
26920 else
26921 echo "$as_me: failed program was:" >&5
26922 sed 's/^/| /' conftest.$ac_ext >&5
26923
26924 ac_lo= ac_hi=
26925 fi
26926
26927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26928 fi
26929
26930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26931 # Binary search between lo and hi bounds.
26932 while test "x$ac_lo" != "x$ac_hi"; do
26933 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26934 cat >conftest.$ac_ext <<_ACEOF
26935 /* confdefs.h. */
26936 _ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26940
26941 #undef HAVE_BOOLEAN
26942 #include <stdio.h>
26943 #include <jpeglib.h>
26944
26945
26946 typedef boolean ac__type_sizeof_;
26947 int
26948 main ()
26949 {
26950 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26951 test_array [0] = 0
26952
26953 ;
26954 return 0;
26955 }
26956 _ACEOF
26957 rm -f conftest.$ac_objext
26958 if { (ac_try="$ac_compile"
26959 case "(($ac_try" in
26960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26961 *) ac_try_echo=$ac_try;;
26962 esac
26963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26964 (eval "$ac_compile") 2>conftest.er1
26965 ac_status=$?
26966 grep -v '^ *+' conftest.er1 >conftest.err
26967 rm -f conftest.er1
26968 cat conftest.err >&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); } && {
26971 test -z "$ac_c_werror_flag" ||
26972 test ! -s conftest.err
26973 } && test -s conftest.$ac_objext; then
26974 ac_hi=$ac_mid
26975 else
26976 echo "$as_me: failed program was:" >&5
26977 sed 's/^/| /' conftest.$ac_ext >&5
26978
26979 ac_lo=`expr '(' $ac_mid ')' + 1`
26980 fi
26981
26982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26983 done
26984 case $ac_lo in
26985 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26986 '') if test "$ac_cv_type_boolean" = yes; then
26987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26988 See \`config.log' for more details." >&5
26989 echo "$as_me: error: cannot compute sizeof (boolean)
26990 See \`config.log' for more details." >&2;}
26991 { (exit 77); exit 77; }; }
26992 else
26993 ac_cv_sizeof_boolean=0
26994 fi ;;
26995 esac
26996 else
26997 cat >conftest.$ac_ext <<_ACEOF
26998 /* confdefs.h. */
26999 _ACEOF
27000 cat confdefs.h >>conftest.$ac_ext
27001 cat >>conftest.$ac_ext <<_ACEOF
27002 /* end confdefs.h. */
27003
27004 #undef HAVE_BOOLEAN
27005 #include <stdio.h>
27006 #include <jpeglib.h>
27007
27008
27009 typedef boolean ac__type_sizeof_;
27010 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27011 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27012 #include <stdio.h>
27013 #include <stdlib.h>
27014 int
27015 main ()
27016 {
27017
27018 FILE *f = fopen ("conftest.val", "w");
27019 if (! f)
27020 return 1;
27021 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27022 {
27023 long int i = longval ();
27024 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27025 return 1;
27026 fprintf (f, "%ld\n", i);
27027 }
27028 else
27029 {
27030 unsigned long int i = ulongval ();
27031 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27032 return 1;
27033 fprintf (f, "%lu\n", i);
27034 }
27035 return ferror (f) || fclose (f) != 0;
27036
27037 ;
27038 return 0;
27039 }
27040 _ACEOF
27041 rm -f conftest$ac_exeext
27042 if { (ac_try="$ac_link"
27043 case "(($ac_try" in
27044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27045 *) ac_try_echo=$ac_try;;
27046 esac
27047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27048 (eval "$ac_link") 2>&5
27049 ac_status=$?
27050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27052 { (case "(($ac_try" in
27053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27054 *) ac_try_echo=$ac_try;;
27055 esac
27056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27057 (eval "$ac_try") 2>&5
27058 ac_status=$?
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; }; then
27061 ac_cv_sizeof_boolean=`cat conftest.val`
27062 else
27063 echo "$as_me: program exited with status $ac_status" >&5
27064 echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27066
27067 ( exit $ac_status )
27068 if test "$ac_cv_type_boolean" = yes; then
27069 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27070 See \`config.log' for more details." >&5
27071 echo "$as_me: error: cannot compute sizeof (boolean)
27072 See \`config.log' for more details." >&2;}
27073 { (exit 77); exit 77; }; }
27074 else
27075 ac_cv_sizeof_boolean=0
27076 fi
27077 fi
27078 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27079 fi
27080 rm -f conftest.val
27081 fi
27082 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27083 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27084
27085
27086
27087 cat >>confdefs.h <<_ACEOF
27088 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27089 _ACEOF
27090
27091
27092 cat >>confdefs.h <<_ACEOF
27093 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27094 _ACEOF
27095
27096
27097 fi
27098
27099 fi
27100 fi
27101 fi
27102 fi
27103 fi
27104
27105
27106 TIFF_LINK=
27107 TIFF_PREREQ_LINKS=-lm
27108 if test "$wxUSE_LIBTIFF" != "no" ; then
27109 cat >>confdefs.h <<\_ACEOF
27110 #define wxUSE_LIBTIFF 1
27111 _ACEOF
27112
27113
27114 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27115 if test "$wxUSE_LIBJPEG" = "sys"; then
27116 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27117 fi
27118 if test "$wxUSE_ZLIB" = "sys"; then
27119 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27120 fi
27121 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27122 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27123 if test "${ac_cv_header_tiffio_h+set}" = set; then
27124 echo $ECHO_N "(cached) $ECHO_C" >&6
27125 else
27126 cat >conftest.$ac_ext <<_ACEOF
27127 /* confdefs.h. */
27128 _ACEOF
27129 cat confdefs.h >>conftest.$ac_ext
27130 cat >>conftest.$ac_ext <<_ACEOF
27131 /* end confdefs.h. */
27132
27133
27134
27135 #include <tiffio.h>
27136 _ACEOF
27137 rm -f conftest.$ac_objext
27138 if { (ac_try="$ac_compile"
27139 case "(($ac_try" in
27140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27141 *) ac_try_echo=$ac_try;;
27142 esac
27143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27144 (eval "$ac_compile") 2>conftest.er1
27145 ac_status=$?
27146 grep -v '^ *+' conftest.er1 >conftest.err
27147 rm -f conftest.er1
27148 cat conftest.err >&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); } && {
27151 test -z "$ac_c_werror_flag" ||
27152 test ! -s conftest.err
27153 } && test -s conftest.$ac_objext; then
27154 ac_cv_header_tiffio_h=yes
27155 else
27156 echo "$as_me: failed program was:" >&5
27157 sed 's/^/| /' conftest.$ac_ext >&5
27158
27159 ac_cv_header_tiffio_h=no
27160 fi
27161
27162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27163 fi
27164 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27165 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27166 if test $ac_cv_header_tiffio_h = yes; then
27167
27168 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27169 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27170 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27171 echo $ECHO_N "(cached) $ECHO_C" >&6
27172 else
27173 ac_check_lib_save_LIBS=$LIBS
27174 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27175 cat >conftest.$ac_ext <<_ACEOF
27176 /* confdefs.h. */
27177 _ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27181
27182 /* Override any GCC internal prototype to avoid an error.
27183 Use char because int might match the return type of a GCC
27184 builtin and then its argument prototype would still apply. */
27185 #ifdef __cplusplus
27186 extern "C"
27187 #endif
27188 char TIFFError ();
27189 int
27190 main ()
27191 {
27192 return TIFFError ();
27193 ;
27194 return 0;
27195 }
27196 _ACEOF
27197 rm -f conftest.$ac_objext conftest$ac_exeext
27198 if { (ac_try="$ac_link"
27199 case "(($ac_try" in
27200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27201 *) ac_try_echo=$ac_try;;
27202 esac
27203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27204 (eval "$ac_link") 2>conftest.er1
27205 ac_status=$?
27206 grep -v '^ *+' conftest.er1 >conftest.err
27207 rm -f conftest.er1
27208 cat conftest.err >&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); } && {
27211 test -z "$ac_c_werror_flag" ||
27212 test ! -s conftest.err
27213 } && test -s conftest$ac_exeext &&
27214 $as_test_x conftest$ac_exeext; then
27215 ac_cv_lib_tiff_TIFFError=yes
27216 else
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.$ac_ext >&5
27219
27220 ac_cv_lib_tiff_TIFFError=no
27221 fi
27222
27223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27224 conftest$ac_exeext conftest.$ac_ext
27225 LIBS=$ac_check_lib_save_LIBS
27226 fi
27227 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27228 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27229 if test $ac_cv_lib_tiff_TIFFError = yes; then
27230 TIFF_LINK=" -ltiff"
27231 fi
27232
27233
27234 fi
27235
27236
27237
27238 if test "x$TIFF_LINK" = "x" ; then
27239 if test "$wxUSE_LIBTIFF" = "sys" ; then
27240 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27241 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27242 { (exit 1); exit 1; }; }
27243 else
27244 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27245 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27246 wxUSE_LIBTIFF=builtin
27247 fi
27248 else
27249 wxUSE_LIBTIFF=sys
27250 fi
27251 fi
27252 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27253 if test "$wxUSE_LIBJPEG" = "no"; then
27254 ac_configure_args="$ac_configure_args --disable-jpeg"
27255 fi
27256 subdirs="$subdirs src/tiff"
27257
27258 fi
27259 fi
27260
27261
27262 if test "$wxUSE_WCHAR_T" != "yes"; then
27263 if test "$wxUSE_EXPAT" != "no"; then
27264 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27265 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27266 wxUSE_EXPAT=no
27267 fi
27268 if test "$wxUSE_XML" != "no"; then
27269 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27270 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27271 wxUSE_XML=no
27272 fi
27273 fi
27274
27275 if test "$wxUSE_EXPAT" != "no"; then
27276 wxUSE_XML=yes
27277 cat >>confdefs.h <<\_ACEOF
27278 #define wxUSE_EXPAT 1
27279 _ACEOF
27280
27281 cat >>confdefs.h <<\_ACEOF
27282 #define wxUSE_XML 1
27283 _ACEOF
27284
27285
27286 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27287 { echo "$as_me:$LINENO: checking for expat.h" >&5
27288 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27289 if test "${ac_cv_header_expat_h+set}" = set; then
27290 echo $ECHO_N "(cached) $ECHO_C" >&6
27291 else
27292 cat >conftest.$ac_ext <<_ACEOF
27293 /* confdefs.h. */
27294 _ACEOF
27295 cat confdefs.h >>conftest.$ac_ext
27296 cat >>conftest.$ac_ext <<_ACEOF
27297 /* end confdefs.h. */
27298
27299
27300 #include <expat.h>
27301 _ACEOF
27302 rm -f conftest.$ac_objext
27303 if { (ac_try="$ac_compile"
27304 case "(($ac_try" in
27305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27306 *) ac_try_echo=$ac_try;;
27307 esac
27308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27309 (eval "$ac_compile") 2>conftest.er1
27310 ac_status=$?
27311 grep -v '^ *+' conftest.er1 >conftest.err
27312 rm -f conftest.er1
27313 cat conftest.err >&5
27314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27315 (exit $ac_status); } && {
27316 test -z "$ac_c_werror_flag" ||
27317 test ! -s conftest.err
27318 } && test -s conftest.$ac_objext; then
27319 ac_cv_header_expat_h=yes
27320 else
27321 echo "$as_me: failed program was:" >&5
27322 sed 's/^/| /' conftest.$ac_ext >&5
27323
27324 ac_cv_header_expat_h=no
27325 fi
27326
27327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27328 fi
27329 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27330 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27331 if test $ac_cv_header_expat_h = yes; then
27332 found_expat_h=1
27333 fi
27334
27335
27336 if test "x$found_expat_h" = "x1"; then
27337 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27338 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27339 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27340 echo $ECHO_N "(cached) $ECHO_C" >&6
27341 else
27342
27343 ac_ext=cpp
27344 ac_cpp='$CXXCPP $CPPFLAGS'
27345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27348
27349 cat >conftest.$ac_ext <<_ACEOF
27350 /* confdefs.h. */
27351 _ACEOF
27352 cat confdefs.h >>conftest.$ac_ext
27353 cat >>conftest.$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27355 #include <expat.h>
27356 int
27357 main ()
27358 {
27359
27360 ;
27361 return 0;
27362 }
27363 _ACEOF
27364 rm -f conftest.$ac_objext
27365 if { (ac_try="$ac_compile"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27369 esac
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_compile") 2>conftest.er1
27372 ac_status=$?
27373 grep -v '^ *+' conftest.er1 >conftest.err
27374 rm -f conftest.er1
27375 cat conftest.err >&5
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); } && {
27378 test -z "$ac_cxx_werror_flag" ||
27379 test ! -s conftest.err
27380 } && test -s conftest.$ac_objext; then
27381 wx_cv_expat_is_not_broken=yes
27382 else
27383 echo "$as_me: failed program was:" >&5
27384 sed 's/^/| /' conftest.$ac_ext >&5
27385
27386 wx_cv_expat_is_not_broken=no
27387
27388 fi
27389
27390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27391 ac_ext=c
27392 ac_cpp='$CPP $CPPFLAGS'
27393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27396
27397
27398
27399 fi
27400 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27401 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27402 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27403 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27404 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27405 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27407 else
27408 ac_check_lib_save_LIBS=$LIBS
27409 LIBS="-lexpat $LIBS"
27410 cat >conftest.$ac_ext <<_ACEOF
27411 /* confdefs.h. */
27412 _ACEOF
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416
27417 /* Override any GCC internal prototype to avoid an error.
27418 Use char because int might match the return type of a GCC
27419 builtin and then its argument prototype would still apply. */
27420 #ifdef __cplusplus
27421 extern "C"
27422 #endif
27423 char XML_ParserCreate ();
27424 int
27425 main ()
27426 {
27427 return XML_ParserCreate ();
27428 ;
27429 return 0;
27430 }
27431 _ACEOF
27432 rm -f conftest.$ac_objext conftest$ac_exeext
27433 if { (ac_try="$ac_link"
27434 case "(($ac_try" in
27435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27436 *) ac_try_echo=$ac_try;;
27437 esac
27438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27439 (eval "$ac_link") 2>conftest.er1
27440 ac_status=$?
27441 grep -v '^ *+' conftest.er1 >conftest.err
27442 rm -f conftest.er1
27443 cat conftest.err >&5
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); } && {
27446 test -z "$ac_c_werror_flag" ||
27447 test ! -s conftest.err
27448 } && test -s conftest$ac_exeext &&
27449 $as_test_x conftest$ac_exeext; then
27450 ac_cv_lib_expat_XML_ParserCreate=yes
27451 else
27452 echo "$as_me: failed program was:" >&5
27453 sed 's/^/| /' conftest.$ac_ext >&5
27454
27455 ac_cv_lib_expat_XML_ParserCreate=no
27456 fi
27457
27458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27459 conftest$ac_exeext conftest.$ac_ext
27460 LIBS=$ac_check_lib_save_LIBS
27461 fi
27462 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27463 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27464 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27465 EXPAT_LINK=" -lexpat"
27466 fi
27467
27468 fi
27469 fi
27470 if test "x$EXPAT_LINK" = "x" ; then
27471 if test "$wxUSE_EXPAT" = "sys" ; then
27472 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27473 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27474 { (exit 1); exit 1; }; }
27475 else
27476 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27477 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27478 wxUSE_EXPAT=builtin
27479 fi
27480 else
27481 wxUSE_EXPAT=sys
27482 fi
27483 fi
27484 if test "$wxUSE_EXPAT" = "builtin" ; then
27485 subdirs="$subdirs src/expat"
27486
27487 fi
27488 fi
27489
27490
27491
27492 if test "$wxUSE_LIBMSPACK" != "no"; then
27493 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27494 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27495 if test "${ac_cv_header_mspack_h+set}" = set; then
27496 echo $ECHO_N "(cached) $ECHO_C" >&6
27497 else
27498 cat >conftest.$ac_ext <<_ACEOF
27499 /* confdefs.h. */
27500 _ACEOF
27501 cat confdefs.h >>conftest.$ac_ext
27502 cat >>conftest.$ac_ext <<_ACEOF
27503 /* end confdefs.h. */
27504
27505
27506 #include <mspack.h>
27507 _ACEOF
27508 rm -f conftest.$ac_objext
27509 if { (ac_try="$ac_compile"
27510 case "(($ac_try" in
27511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27512 *) ac_try_echo=$ac_try;;
27513 esac
27514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27515 (eval "$ac_compile") 2>conftest.er1
27516 ac_status=$?
27517 grep -v '^ *+' conftest.er1 >conftest.err
27518 rm -f conftest.er1
27519 cat conftest.err >&5
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); } && {
27522 test -z "$ac_c_werror_flag" ||
27523 test ! -s conftest.err
27524 } && test -s conftest.$ac_objext; then
27525 ac_cv_header_mspack_h=yes
27526 else
27527 echo "$as_me: failed program was:" >&5
27528 sed 's/^/| /' conftest.$ac_ext >&5
27529
27530 ac_cv_header_mspack_h=no
27531 fi
27532
27533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27534 fi
27535 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27536 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27537 if test $ac_cv_header_mspack_h = yes; then
27538 found_mspack_h=1
27539 fi
27540
27541
27542 if test "x$found_mspack_h" = "x1"; then
27543 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27544 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27545 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27546 echo $ECHO_N "(cached) $ECHO_C" >&6
27547 else
27548 ac_check_lib_save_LIBS=$LIBS
27549 LIBS="-lmspack $LIBS"
27550 cat >conftest.$ac_ext <<_ACEOF
27551 /* confdefs.h. */
27552 _ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27556
27557 /* Override any GCC internal prototype to avoid an error.
27558 Use char because int might match the return type of a GCC
27559 builtin and then its argument prototype would still apply. */
27560 #ifdef __cplusplus
27561 extern "C"
27562 #endif
27563 char mspack_create_chm_decompressor ();
27564 int
27565 main ()
27566 {
27567 return mspack_create_chm_decompressor ();
27568 ;
27569 return 0;
27570 }
27571 _ACEOF
27572 rm -f conftest.$ac_objext conftest$ac_exeext
27573 if { (ac_try="$ac_link"
27574 case "(($ac_try" in
27575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27576 *) ac_try_echo=$ac_try;;
27577 esac
27578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27579 (eval "$ac_link") 2>conftest.er1
27580 ac_status=$?
27581 grep -v '^ *+' conftest.er1 >conftest.err
27582 rm -f conftest.er1
27583 cat conftest.err >&5
27584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27585 (exit $ac_status); } && {
27586 test -z "$ac_c_werror_flag" ||
27587 test ! -s conftest.err
27588 } && test -s conftest$ac_exeext &&
27589 $as_test_x conftest$ac_exeext; then
27590 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27591 else
27592 echo "$as_me: failed program was:" >&5
27593 sed 's/^/| /' conftest.$ac_ext >&5
27594
27595 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27596 fi
27597
27598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27599 conftest$ac_exeext conftest.$ac_ext
27600 LIBS=$ac_check_lib_save_LIBS
27601 fi
27602 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27603 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27604 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27605 MSPACK_LINK=" -lmspack"
27606 fi
27607
27608 fi
27609 if test "x$MSPACK_LINK" = "x" ; then
27610 wxUSE_LIBMSPACK=no
27611 fi
27612 fi
27613
27614 if test "$wxUSE_LIBMSPACK" != "no"; then
27615 cat >>confdefs.h <<\_ACEOF
27616 #define wxUSE_LIBMSPACK 1
27617 _ACEOF
27618
27619 fi
27620
27621
27622
27623 AFMINSTALL=
27624 WIN32INSTALL=
27625
27626 TOOLKIT=
27627 TOOLKIT_INCLUDE=
27628 WIDGET_SET=
27629
27630 if test "$USE_WIN32" = 1 ; then
27631
27632 for ac_header in w32api.h
27633 do
27634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27635 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27638 echo $ECHO_N "(cached) $ECHO_C" >&6
27639 else
27640 cat >conftest.$ac_ext <<_ACEOF
27641 /* confdefs.h. */
27642 _ACEOF
27643 cat confdefs.h >>conftest.$ac_ext
27644 cat >>conftest.$ac_ext <<_ACEOF
27645 /* end confdefs.h. */
27646
27647
27648 #include <$ac_header>
27649 _ACEOF
27650 rm -f conftest.$ac_objext
27651 if { (ac_try="$ac_compile"
27652 case "(($ac_try" in
27653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27654 *) ac_try_echo=$ac_try;;
27655 esac
27656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27657 (eval "$ac_compile") 2>conftest.er1
27658 ac_status=$?
27659 grep -v '^ *+' conftest.er1 >conftest.err
27660 rm -f conftest.er1
27661 cat conftest.err >&5
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); } && {
27664 test -z "$ac_c_werror_flag" ||
27665 test ! -s conftest.err
27666 } && test -s conftest.$ac_objext; then
27667 eval "$as_ac_Header=yes"
27668 else
27669 echo "$as_me: failed program was:" >&5
27670 sed 's/^/| /' conftest.$ac_ext >&5
27671
27672 eval "$as_ac_Header=no"
27673 fi
27674
27675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27676 fi
27677 ac_res=`eval echo '${'$as_ac_Header'}'`
27678 { echo "$as_me:$LINENO: result: $ac_res" >&5
27679 echo "${ECHO_T}$ac_res" >&6; }
27680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27681 cat >>confdefs.h <<_ACEOF
27682 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27683 _ACEOF
27684
27685 fi
27686
27687 done
27688
27689 { echo "$as_me:$LINENO: checking for windows.h" >&5
27690 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27691 if test "${ac_cv_header_windows_h+set}" = set; then
27692 echo $ECHO_N "(cached) $ECHO_C" >&6
27693 else
27694 cat >conftest.$ac_ext <<_ACEOF
27695 /* confdefs.h. */
27696 _ACEOF
27697 cat confdefs.h >>conftest.$ac_ext
27698 cat >>conftest.$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27700
27701
27702 #include <windows.h>
27703 _ACEOF
27704 rm -f conftest.$ac_objext
27705 if { (ac_try="$ac_compile"
27706 case "(($ac_try" in
27707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27708 *) ac_try_echo=$ac_try;;
27709 esac
27710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27711 (eval "$ac_compile") 2>conftest.er1
27712 ac_status=$?
27713 grep -v '^ *+' conftest.er1 >conftest.err
27714 rm -f conftest.er1
27715 cat conftest.err >&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); } && {
27718 test -z "$ac_c_werror_flag" ||
27719 test ! -s conftest.err
27720 } && test -s conftest.$ac_objext; then
27721 ac_cv_header_windows_h=yes
27722 else
27723 echo "$as_me: failed program was:" >&5
27724 sed 's/^/| /' conftest.$ac_ext >&5
27725
27726 ac_cv_header_windows_h=no
27727 fi
27728
27729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27730 fi
27731 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27732 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27733 if test $ac_cv_header_windows_h = yes; then
27734 :
27735 else
27736
27737 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27738 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27739 { (exit 1); exit 1; }; }
27740
27741 fi
27742
27743
27744
27745 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27746
27747 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27748 LIBS="$LIBS -loleacc"
27749 fi
27750
27751 case "${host}" in
27752 *-*-cygwin* )
27753 LIBS="$LIBS -lkernel32 -luser32"
27754 esac
27755
27756 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27757 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27758
27759 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27760
27761 WIN32INSTALL=win32install
27762
27763 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27764 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27765 if test "${ac_cv_header_pbt_h+set}" = set; then
27766 echo $ECHO_N "(cached) $ECHO_C" >&6
27767 else
27768 cat >conftest.$ac_ext <<_ACEOF
27769 /* confdefs.h. */
27770 _ACEOF
27771 cat confdefs.h >>conftest.$ac_ext
27772 cat >>conftest.$ac_ext <<_ACEOF
27773 /* end confdefs.h. */
27774
27775
27776 #include <pbt.h>
27777 _ACEOF
27778 rm -f conftest.$ac_objext
27779 if { (ac_try="$ac_compile"
27780 case "(($ac_try" in
27781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27782 *) ac_try_echo=$ac_try;;
27783 esac
27784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27785 (eval "$ac_compile") 2>conftest.er1
27786 ac_status=$?
27787 grep -v '^ *+' conftest.er1 >conftest.err
27788 rm -f conftest.er1
27789 cat conftest.err >&5
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); } && {
27792 test -z "$ac_c_werror_flag" ||
27793 test ! -s conftest.err
27794 } && test -s conftest.$ac_objext; then
27795 ac_cv_header_pbt_h=yes
27796 else
27797 echo "$as_me: failed program was:" >&5
27798 sed 's/^/| /' conftest.$ac_ext >&5
27799
27800 ac_cv_header_pbt_h=no
27801 fi
27802
27803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27804 fi
27805 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27806 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27807 if test $ac_cv_header_pbt_h = yes; then
27808 :
27809 else
27810 cat >>confdefs.h <<\_ACEOF
27811 #define NEED_PBT_H 1
27812 _ACEOF
27813
27814 fi
27815
27816
27817 fi
27818
27819 if test "$wxUSE_GUI" = "yes"; then
27820 USE_GUI=1
27821
27822 GUI_TK_LIBRARY=
27823
27824 WXGTK12=
27825 WXGTK127=
27826 WXGTK2=
27827 WXGPE=
27828
27829 if test "$wxUSE_COCOA" = 1 ; then
27830 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27831 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27832 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27833 wxUSE_PRINTING_ARCHITECTURE=no
27834 fi
27835 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27836 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27837 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27838 wxUSE_DRAG_AND_DROP=no
27839 fi
27840 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27841 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27842 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27843 wxUSE_DRAGIMAGE=no
27844 fi
27845 fi
27846
27847 if test "$wxUSE_MSW" = 1 ; then
27848 TOOLKIT=MSW
27849 GUIDIST=MSW_DIST
27850
27851 case "${host}" in
27852 *-*-mingw32* )
27853 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27854 esac
27855 fi
27856
27857 if test "$wxUSE_GTK" = 1; then
27858 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27859 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27860
27861 gtk_version_cached=1
27862 if test "${wx_cv_lib_gtk+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27864 else
27865
27866 gtk_version_cached=0
27867 { echo "$as_me:$LINENO: result: " >&5
27868 echo "${ECHO_T}" >&6; }
27869
27870 GTK_MODULES=
27871 if test "$wxUSE_THREADS" = "yes"; then
27872 GTK_MODULES=gthread
27873 fi
27874
27875 wx_cv_lib_gtk=
27876 if test "x$wxGTK_VERSION" != "x1"
27877 then
27878 case "${host}" in
27879 *-*-solaris2* )
27880 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27881 enable_gtktest=no
27882 fi
27883 esac
27884
27885 # Check whether --enable-gtktest was given.
27886 if test "${enable_gtktest+set}" = set; then
27887 enableval=$enable_gtktest;
27888 else
27889 enable_gtktest=yes
27890 fi
27891
27892
27893 pkg_config_args=gtk+-2.0
27894 for module in . $GTK_MODULES
27895 do
27896 case "$module" in
27897 gthread)
27898 pkg_config_args="$pkg_config_args gthread-2.0"
27899 ;;
27900 esac
27901 done
27902
27903 no_gtk=""
27904
27905 # Extract the first word of "pkg-config", so it can be a program name with args.
27906 set dummy pkg-config; ac_word=$2
27907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27909 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27910 echo $ECHO_N "(cached) $ECHO_C" >&6
27911 else
27912 case $PKG_CONFIG in
27913 [\\/]* | ?:[\\/]*)
27914 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27915 ;;
27916 *)
27917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27918 for as_dir in $PATH
27919 do
27920 IFS=$as_save_IFS
27921 test -z "$as_dir" && as_dir=.
27922 for ac_exec_ext in '' $ac_executable_extensions; do
27923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27924 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27926 break 2
27927 fi
27928 done
27929 done
27930 IFS=$as_save_IFS
27931
27932 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27933 ;;
27934 esac
27935 fi
27936 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27937 if test -n "$PKG_CONFIG"; then
27938 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27939 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27940 else
27941 { echo "$as_me:$LINENO: result: no" >&5
27942 echo "${ECHO_T}no" >&6; }
27943 fi
27944
27945
27946
27947 if test x$PKG_CONFIG != xno ; then
27948 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27949 :
27950 else
27951 echo "*** pkg-config too old; version 0.7 or better required."
27952 no_gtk=yes
27953 PKG_CONFIG=no
27954 fi
27955 else
27956 no_gtk=yes
27957 fi
27958
27959 min_gtk_version=2.4.0
27960 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27961 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27962
27963 if test x$PKG_CONFIG != xno ; then
27964 ## don't try to run the test against uninstalled libtool libs
27965 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27966 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27967 enable_gtktest=no
27968 fi
27969
27970 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27971 :
27972 else
27973 no_gtk=yes
27974 fi
27975 fi
27976
27977 if test x"$no_gtk" = x ; then
27978 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27979 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27980 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27982 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27984 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27986 if test "x$enable_gtktest" = "xyes" ; then
27987 ac_save_CFLAGS="$CFLAGS"
27988 ac_save_LIBS="$LIBS"
27989 CFLAGS="$CFLAGS $GTK_CFLAGS"
27990 LIBS="$GTK_LIBS $LIBS"
27991 rm -f conf.gtktest
27992 if test "$cross_compiling" = yes; then
27993 echo $ac_n "cross compiling; assumed OK... $ac_c"
27994 else
27995 cat >conftest.$ac_ext <<_ACEOF
27996 /* confdefs.h. */
27997 _ACEOF
27998 cat confdefs.h >>conftest.$ac_ext
27999 cat >>conftest.$ac_ext <<_ACEOF
28000 /* end confdefs.h. */
28001
28002 #include <gtk/gtk.h>
28003 #include <stdio.h>
28004 #include <stdlib.h>
28005
28006 int
28007 main ()
28008 {
28009 int major, minor, micro;
28010 char *tmp_version;
28011
28012 system ("touch conf.gtktest");
28013
28014 /* HP/UX 9 (%@#!) writes to sscanf strings */
28015 tmp_version = g_strdup("$min_gtk_version");
28016 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28017 printf("%s, bad version string\n", "$min_gtk_version");
28018 exit(1);
28019 }
28020
28021 if ((gtk_major_version != $gtk_config_major_version) ||
28022 (gtk_minor_version != $gtk_config_minor_version) ||
28023 (gtk_micro_version != $gtk_config_micro_version))
28024 {
28025 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28026 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28027 gtk_major_version, gtk_minor_version, gtk_micro_version);
28028 printf ("*** was found! If pkg-config was correct, then it is best\n");
28029 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28030 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28031 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28032 printf("*** required on your system.\n");
28033 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28034 printf("*** to point to the correct configuration files\n");
28035 }
28036 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28037 (gtk_minor_version != GTK_MINOR_VERSION) ||
28038 (gtk_micro_version != GTK_MICRO_VERSION))
28039 {
28040 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28041 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28042 printf("*** library (version %d.%d.%d)\n",
28043 gtk_major_version, gtk_minor_version, gtk_micro_version);
28044 }
28045 else
28046 {
28047 if ((gtk_major_version > major) ||
28048 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28049 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28050 {
28051 return 0;
28052 }
28053 else
28054 {
28055 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28056 gtk_major_version, gtk_minor_version, gtk_micro_version);
28057 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28058 major, minor, micro);
28059 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28060 printf("***\n");
28061 printf("*** If you have already installed a sufficiently new version, this error\n");
28062 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28063 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28064 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28065 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28066 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28067 printf("*** so that the correct libraries are found at run-time))\n");
28068 }
28069 }
28070 return 1;
28071 }
28072
28073 _ACEOF
28074 rm -f conftest$ac_exeext
28075 if { (ac_try="$ac_link"
28076 case "(($ac_try" in
28077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28078 *) ac_try_echo=$ac_try;;
28079 esac
28080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28081 (eval "$ac_link") 2>&5
28082 ac_status=$?
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28085 { (case "(($ac_try" in
28086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28087 *) ac_try_echo=$ac_try;;
28088 esac
28089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28090 (eval "$ac_try") 2>&5
28091 ac_status=$?
28092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28093 (exit $ac_status); }; }; then
28094 :
28095 else
28096 echo "$as_me: program exited with status $ac_status" >&5
28097 echo "$as_me: failed program was:" >&5
28098 sed 's/^/| /' conftest.$ac_ext >&5
28099
28100 ( exit $ac_status )
28101 no_gtk=yes
28102 fi
28103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28104 fi
28105
28106
28107 CFLAGS="$ac_save_CFLAGS"
28108 LIBS="$ac_save_LIBS"
28109 fi
28110 fi
28111 if test "x$no_gtk" = x ; then
28112 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28113 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28114 wx_cv_lib_gtk=2.0
28115 else
28116 { echo "$as_me:$LINENO: result: no" >&5
28117 echo "${ECHO_T}no" >&6; }
28118 if test "$PKG_CONFIG" = "no" ; then
28119 echo "*** A new enough version of pkg-config was not found."
28120 echo "*** See http://pkgconfig.sourceforge.net"
28121 else
28122 if test -f conf.gtktest ; then
28123 :
28124 else
28125 echo "*** Could not run GTK+ test program, checking why..."
28126 ac_save_CFLAGS="$CFLAGS"
28127 ac_save_LIBS="$LIBS"
28128 CFLAGS="$CFLAGS $GTK_CFLAGS"
28129 LIBS="$LIBS $GTK_LIBS"
28130 cat >conftest.$ac_ext <<_ACEOF
28131 /* confdefs.h. */
28132 _ACEOF
28133 cat confdefs.h >>conftest.$ac_ext
28134 cat >>conftest.$ac_ext <<_ACEOF
28135 /* end confdefs.h. */
28136
28137 #include <gtk/gtk.h>
28138 #include <stdio.h>
28139
28140 int
28141 main ()
28142 {
28143 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28144 ;
28145 return 0;
28146 }
28147 _ACEOF
28148 rm -f conftest.$ac_objext conftest$ac_exeext
28149 if { (ac_try="$ac_link"
28150 case "(($ac_try" in
28151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28152 *) ac_try_echo=$ac_try;;
28153 esac
28154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28155 (eval "$ac_link") 2>conftest.er1
28156 ac_status=$?
28157 grep -v '^ *+' conftest.er1 >conftest.err
28158 rm -f conftest.er1
28159 cat conftest.err >&5
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); } && {
28162 test -z "$ac_c_werror_flag" ||
28163 test ! -s conftest.err
28164 } && test -s conftest$ac_exeext &&
28165 $as_test_x conftest$ac_exeext; then
28166 echo "*** The test program compiled, but did not run. This usually means"
28167 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28168 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28169 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28170 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28171 echo "*** is required on your system"
28172 echo "***"
28173 echo "*** If you have an old version installed, it is best to remove it, although"
28174 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28175 else
28176 echo "$as_me: failed program was:" >&5
28177 sed 's/^/| /' conftest.$ac_ext >&5
28178
28179 echo "*** The test program failed to compile or link. See the file config.log for the"
28180 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28181 fi
28182
28183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28184 conftest$ac_exeext conftest.$ac_ext
28185 CFLAGS="$ac_save_CFLAGS"
28186 LIBS="$ac_save_LIBS"
28187 fi
28188 fi
28189 GTK_CFLAGS=""
28190 GTK_LIBS=""
28191 :
28192 fi
28193
28194
28195 rm -f conf.gtktest
28196
28197
28198 case "${host}" in
28199 *-*-solaris2* )
28200 if test "$wxUSE_SHARED" != "yes"; then
28201 GTK_LIBS="$GTK_LIBS -lX11"
28202 fi
28203 esac
28204 fi
28205
28206 if test -z "$wx_cv_lib_gtk"; then
28207 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28208
28209 # Check whether --with-gtk-prefix was given.
28210 if test "${with_gtk_prefix+set}" = set; then
28211 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28212 else
28213 gtk_config_prefix=""
28214 fi
28215
28216
28217 # Check whether --with-gtk-exec-prefix was given.
28218 if test "${with_gtk_exec_prefix+set}" = set; then
28219 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28220 else
28221 gtk_config_exec_prefix=""
28222 fi
28223
28224 # Check whether --enable-gtktest was given.
28225 if test "${enable_gtktest+set}" = set; then
28226 enableval=$enable_gtktest;
28227 else
28228 enable_gtktest=yes
28229 fi
28230
28231
28232 for module in . $GTK_MODULES
28233 do
28234 case "$module" in
28235 gthread)
28236 gtk_config_args="$gtk_config_args gthread"
28237 ;;
28238 esac
28239 done
28240
28241 if test x$gtk_config_exec_prefix != x ; then
28242 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28243 if test x${GTK_CONFIG+set} != xset ; then
28244 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28245 fi
28246 fi
28247 if test x$gtk_config_prefix != x ; then
28248 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28249 if test x${GTK_CONFIG+set} != xset ; then
28250 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28251 fi
28252 fi
28253
28254 # Extract the first word of "gtk-config", so it can be a program name with args.
28255 set dummy gtk-config; ac_word=$2
28256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28258 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28259 echo $ECHO_N "(cached) $ECHO_C" >&6
28260 else
28261 case $GTK_CONFIG in
28262 [\\/]* | ?:[\\/]*)
28263 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28264 ;;
28265 *)
28266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28267 for as_dir in $PATH
28268 do
28269 IFS=$as_save_IFS
28270 test -z "$as_dir" && as_dir=.
28271 for ac_exec_ext in '' $ac_executable_extensions; do
28272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28273 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28275 break 2
28276 fi
28277 done
28278 done
28279 IFS=$as_save_IFS
28280
28281 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28282 ;;
28283 esac
28284 fi
28285 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28286 if test -n "$GTK_CONFIG"; then
28287 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28288 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28289 else
28290 { echo "$as_me:$LINENO: result: no" >&5
28291 echo "${ECHO_T}no" >&6; }
28292 fi
28293
28294
28295 min_gtk_version=1.2.7
28296 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28297 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28298 no_gtk=""
28299 if test "$GTK_CONFIG" = "no" ; then
28300 no_gtk=yes
28301 else
28302 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28303 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28304 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28306 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28308 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28310 if test "x$enable_gtktest" = "xyes" ; then
28311 ac_save_CFLAGS="$CFLAGS"
28312 ac_save_LIBS="$LIBS"
28313 CFLAGS="$CFLAGS $GTK_CFLAGS"
28314 LIBS="$GTK_LIBS $LIBS"
28315 rm -f conf.gtktest
28316 if test "$cross_compiling" = yes; then
28317 echo $ac_n "cross compiling; assumed OK... $ac_c"
28318 else
28319 cat >conftest.$ac_ext <<_ACEOF
28320 /* confdefs.h. */
28321 _ACEOF
28322 cat confdefs.h >>conftest.$ac_ext
28323 cat >>conftest.$ac_ext <<_ACEOF
28324 /* end confdefs.h. */
28325
28326 #include <gtk/gtk.h>
28327 #include <stdio.h>
28328 #include <stdlib.h>
28329
28330 int
28331 main ()
28332 {
28333 int major, minor, micro;
28334 char *tmp_version;
28335
28336 system ("touch conf.gtktest");
28337
28338 /* HP/UX 9 (%@#!) writes to sscanf strings */
28339 tmp_version = g_strdup("$min_gtk_version");
28340 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28341 printf("%s, bad version string\n", "$min_gtk_version");
28342 exit(1);
28343 }
28344
28345 if ((gtk_major_version != $gtk_config_major_version) ||
28346 (gtk_minor_version != $gtk_config_minor_version) ||
28347 (gtk_micro_version != $gtk_config_micro_version))
28348 {
28349 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28350 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28351 gtk_major_version, gtk_minor_version, gtk_micro_version);
28352 printf ("*** was found! If gtk-config was correct, then it is best\n");
28353 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28354 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28355 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28356 printf("*** required on your system.\n");
28357 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28358 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28359 printf("*** before re-running configure\n");
28360 }
28361 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28362 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28363 (gtk_minor_version != GTK_MINOR_VERSION) ||
28364 (gtk_micro_version != GTK_MICRO_VERSION))
28365 {
28366 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28367 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28368 printf("*** library (version %d.%d.%d)\n",
28369 gtk_major_version, gtk_minor_version, gtk_micro_version);
28370 }
28371 #endif /* defined (GTK_MAJOR_VERSION) ... */
28372 else
28373 {
28374 if ((gtk_major_version > major) ||
28375 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28376 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28377 {
28378 return 0;
28379 }
28380 else
28381 {
28382 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28383 gtk_major_version, gtk_minor_version, gtk_micro_version);
28384 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28385 major, minor, micro);
28386 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28387 printf("***\n");
28388 printf("*** If you have already installed a sufficiently new version, this error\n");
28389 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28390 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28391 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28392 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28393 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28394 printf("*** so that the correct libraries are found at run-time))\n");
28395 }
28396 }
28397 return 1;
28398 }
28399
28400 _ACEOF
28401 rm -f conftest$ac_exeext
28402 if { (ac_try="$ac_link"
28403 case "(($ac_try" in
28404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28405 *) ac_try_echo=$ac_try;;
28406 esac
28407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28408 (eval "$ac_link") 2>&5
28409 ac_status=$?
28410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28411 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28412 { (case "(($ac_try" in
28413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28414 *) ac_try_echo=$ac_try;;
28415 esac
28416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28417 (eval "$ac_try") 2>&5
28418 ac_status=$?
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); }; }; then
28421 :
28422 else
28423 echo "$as_me: program exited with status $ac_status" >&5
28424 echo "$as_me: failed program was:" >&5
28425 sed 's/^/| /' conftest.$ac_ext >&5
28426
28427 ( exit $ac_status )
28428 no_gtk=yes
28429 fi
28430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28431 fi
28432
28433
28434 CFLAGS="$ac_save_CFLAGS"
28435 LIBS="$ac_save_LIBS"
28436 fi
28437 fi
28438 if test "x$no_gtk" = x ; then
28439 { echo "$as_me:$LINENO: result: yes" >&5
28440 echo "${ECHO_T}yes" >&6; }
28441 wx_cv_lib_gtk=1.2.7
28442 else
28443 { echo "$as_me:$LINENO: result: no" >&5
28444 echo "${ECHO_T}no" >&6; }
28445 if test "$GTK_CONFIG" = "no" ; then
28446 echo "*** The gtk-config script installed by GTK could not be found"
28447 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28448 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28449 echo "*** full path to gtk-config."
28450 else
28451 if test -f conf.gtktest ; then
28452 :
28453 else
28454 echo "*** Could not run GTK test program, checking why..."
28455 CFLAGS="$CFLAGS $GTK_CFLAGS"
28456 LIBS="$LIBS $GTK_LIBS"
28457 cat >conftest.$ac_ext <<_ACEOF
28458 /* confdefs.h. */
28459 _ACEOF
28460 cat confdefs.h >>conftest.$ac_ext
28461 cat >>conftest.$ac_ext <<_ACEOF
28462 /* end confdefs.h. */
28463
28464 #include <gtk/gtk.h>
28465 #include <stdio.h>
28466
28467 int
28468 main ()
28469 {
28470 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28471 ;
28472 return 0;
28473 }
28474 _ACEOF
28475 rm -f conftest.$ac_objext conftest$ac_exeext
28476 if { (ac_try="$ac_link"
28477 case "(($ac_try" in
28478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28479 *) ac_try_echo=$ac_try;;
28480 esac
28481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28482 (eval "$ac_link") 2>conftest.er1
28483 ac_status=$?
28484 grep -v '^ *+' conftest.er1 >conftest.err
28485 rm -f conftest.er1
28486 cat conftest.err >&5
28487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28488 (exit $ac_status); } && {
28489 test -z "$ac_c_werror_flag" ||
28490 test ! -s conftest.err
28491 } && test -s conftest$ac_exeext &&
28492 $as_test_x conftest$ac_exeext; then
28493 echo "*** The test program compiled, but did not run. This usually means"
28494 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28495 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28496 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28497 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28498 echo "*** is required on your system"
28499 echo "***"
28500 echo "*** If you have an old version installed, it is best to remove it, although"
28501 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28502 echo "***"
28503 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28504 echo "*** came with the system with the command"
28505 echo "***"
28506 echo "*** rpm --erase --nodeps gtk gtk-devel"
28507 else
28508 echo "$as_me: failed program was:" >&5
28509 sed 's/^/| /' conftest.$ac_ext >&5
28510
28511 echo "*** The test program failed to compile or link. See the file config.log for the"
28512 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28513 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28514 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28515 fi
28516
28517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28518 conftest$ac_exeext conftest.$ac_ext
28519 CFLAGS="$ac_save_CFLAGS"
28520 LIBS="$ac_save_LIBS"
28521 fi
28522 fi
28523 GTK_CFLAGS=""
28524 GTK_LIBS=""
28525 :
28526 fi
28527
28528
28529 rm -f conf.gtktest
28530
28531
28532 if test -z "$wx_cv_lib_gtk"; then
28533
28534 # Check whether --with-gtk-prefix was given.
28535 if test "${with_gtk_prefix+set}" = set; then
28536 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28537 else
28538 gtk_config_prefix=""
28539 fi
28540
28541
28542 # Check whether --with-gtk-exec-prefix was given.
28543 if test "${with_gtk_exec_prefix+set}" = set; then
28544 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28545 else
28546 gtk_config_exec_prefix=""
28547 fi
28548
28549 # Check whether --enable-gtktest was given.
28550 if test "${enable_gtktest+set}" = set; then
28551 enableval=$enable_gtktest;
28552 else
28553 enable_gtktest=yes
28554 fi
28555
28556
28557 for module in . $GTK_MODULES
28558 do
28559 case "$module" in
28560 gthread)
28561 gtk_config_args="$gtk_config_args gthread"
28562 ;;
28563 esac
28564 done
28565
28566 if test x$gtk_config_exec_prefix != x ; then
28567 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28568 if test x${GTK_CONFIG+set} != xset ; then
28569 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28570 fi
28571 fi
28572 if test x$gtk_config_prefix != x ; then
28573 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28574 if test x${GTK_CONFIG+set} != xset ; then
28575 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28576 fi
28577 fi
28578
28579 # Extract the first word of "gtk-config", so it can be a program name with args.
28580 set dummy gtk-config; ac_word=$2
28581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28583 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28584 echo $ECHO_N "(cached) $ECHO_C" >&6
28585 else
28586 case $GTK_CONFIG in
28587 [\\/]* | ?:[\\/]*)
28588 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28589 ;;
28590 *)
28591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28592 for as_dir in $PATH
28593 do
28594 IFS=$as_save_IFS
28595 test -z "$as_dir" && as_dir=.
28596 for ac_exec_ext in '' $ac_executable_extensions; do
28597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28598 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28600 break 2
28601 fi
28602 done
28603 done
28604 IFS=$as_save_IFS
28605
28606 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28607 ;;
28608 esac
28609 fi
28610 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28611 if test -n "$GTK_CONFIG"; then
28612 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28613 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28614 else
28615 { echo "$as_me:$LINENO: result: no" >&5
28616 echo "${ECHO_T}no" >&6; }
28617 fi
28618
28619
28620 min_gtk_version=1.2.3
28621 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28622 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28623 no_gtk=""
28624 if test "$GTK_CONFIG" = "no" ; then
28625 no_gtk=yes
28626 else
28627 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28628 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28629 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28631 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28633 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28635 if test "x$enable_gtktest" = "xyes" ; then
28636 ac_save_CFLAGS="$CFLAGS"
28637 ac_save_LIBS="$LIBS"
28638 CFLAGS="$CFLAGS $GTK_CFLAGS"
28639 LIBS="$GTK_LIBS $LIBS"
28640 rm -f conf.gtktest
28641 if test "$cross_compiling" = yes; then
28642 echo $ac_n "cross compiling; assumed OK... $ac_c"
28643 else
28644 cat >conftest.$ac_ext <<_ACEOF
28645 /* confdefs.h. */
28646 _ACEOF
28647 cat confdefs.h >>conftest.$ac_ext
28648 cat >>conftest.$ac_ext <<_ACEOF
28649 /* end confdefs.h. */
28650
28651 #include <gtk/gtk.h>
28652 #include <stdio.h>
28653 #include <stdlib.h>
28654
28655 int
28656 main ()
28657 {
28658 int major, minor, micro;
28659 char *tmp_version;
28660
28661 system ("touch conf.gtktest");
28662
28663 /* HP/UX 9 (%@#!) writes to sscanf strings */
28664 tmp_version = g_strdup("$min_gtk_version");
28665 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28666 printf("%s, bad version string\n", "$min_gtk_version");
28667 exit(1);
28668 }
28669
28670 if ((gtk_major_version != $gtk_config_major_version) ||
28671 (gtk_minor_version != $gtk_config_minor_version) ||
28672 (gtk_micro_version != $gtk_config_micro_version))
28673 {
28674 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28675 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28676 gtk_major_version, gtk_minor_version, gtk_micro_version);
28677 printf ("*** was found! If gtk-config was correct, then it is best\n");
28678 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28679 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28680 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28681 printf("*** required on your system.\n");
28682 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28683 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28684 printf("*** before re-running configure\n");
28685 }
28686 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28687 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28688 (gtk_minor_version != GTK_MINOR_VERSION) ||
28689 (gtk_micro_version != GTK_MICRO_VERSION))
28690 {
28691 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28692 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28693 printf("*** library (version %d.%d.%d)\n",
28694 gtk_major_version, gtk_minor_version, gtk_micro_version);
28695 }
28696 #endif /* defined (GTK_MAJOR_VERSION) ... */
28697 else
28698 {
28699 if ((gtk_major_version > major) ||
28700 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28701 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28702 {
28703 return 0;
28704 }
28705 else
28706 {
28707 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28708 gtk_major_version, gtk_minor_version, gtk_micro_version);
28709 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28710 major, minor, micro);
28711 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28712 printf("***\n");
28713 printf("*** If you have already installed a sufficiently new version, this error\n");
28714 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28715 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28716 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28717 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28718 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28719 printf("*** so that the correct libraries are found at run-time))\n");
28720 }
28721 }
28722 return 1;
28723 }
28724
28725 _ACEOF
28726 rm -f conftest$ac_exeext
28727 if { (ac_try="$ac_link"
28728 case "(($ac_try" in
28729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28730 *) ac_try_echo=$ac_try;;
28731 esac
28732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28733 (eval "$ac_link") 2>&5
28734 ac_status=$?
28735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28736 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28737 { (case "(($ac_try" in
28738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28739 *) ac_try_echo=$ac_try;;
28740 esac
28741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28742 (eval "$ac_try") 2>&5
28743 ac_status=$?
28744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28745 (exit $ac_status); }; }; then
28746 :
28747 else
28748 echo "$as_me: program exited with status $ac_status" >&5
28749 echo "$as_me: failed program was:" >&5
28750 sed 's/^/| /' conftest.$ac_ext >&5
28751
28752 ( exit $ac_status )
28753 no_gtk=yes
28754 fi
28755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28756 fi
28757
28758
28759 CFLAGS="$ac_save_CFLAGS"
28760 LIBS="$ac_save_LIBS"
28761 fi
28762 fi
28763 if test "x$no_gtk" = x ; then
28764 { echo "$as_me:$LINENO: result: yes" >&5
28765 echo "${ECHO_T}yes" >&6; }
28766 wx_cv_lib_gtk=1.2.3
28767 else
28768 { echo "$as_me:$LINENO: result: no" >&5
28769 echo "${ECHO_T}no" >&6; }
28770 if test "$GTK_CONFIG" = "no" ; then
28771 echo "*** The gtk-config script installed by GTK could not be found"
28772 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28773 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28774 echo "*** full path to gtk-config."
28775 else
28776 if test -f conf.gtktest ; then
28777 :
28778 else
28779 echo "*** Could not run GTK test program, checking why..."
28780 CFLAGS="$CFLAGS $GTK_CFLAGS"
28781 LIBS="$LIBS $GTK_LIBS"
28782 cat >conftest.$ac_ext <<_ACEOF
28783 /* confdefs.h. */
28784 _ACEOF
28785 cat confdefs.h >>conftest.$ac_ext
28786 cat >>conftest.$ac_ext <<_ACEOF
28787 /* end confdefs.h. */
28788
28789 #include <gtk/gtk.h>
28790 #include <stdio.h>
28791
28792 int
28793 main ()
28794 {
28795 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28796 ;
28797 return 0;
28798 }
28799 _ACEOF
28800 rm -f conftest.$ac_objext conftest$ac_exeext
28801 if { (ac_try="$ac_link"
28802 case "(($ac_try" in
28803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28804 *) ac_try_echo=$ac_try;;
28805 esac
28806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28807 (eval "$ac_link") 2>conftest.er1
28808 ac_status=$?
28809 grep -v '^ *+' conftest.er1 >conftest.err
28810 rm -f conftest.er1
28811 cat conftest.err >&5
28812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28813 (exit $ac_status); } && {
28814 test -z "$ac_c_werror_flag" ||
28815 test ! -s conftest.err
28816 } && test -s conftest$ac_exeext &&
28817 $as_test_x conftest$ac_exeext; then
28818 echo "*** The test program compiled, but did not run. This usually means"
28819 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28820 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28821 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28822 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28823 echo "*** is required on your system"
28824 echo "***"
28825 echo "*** If you have an old version installed, it is best to remove it, although"
28826 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28827 echo "***"
28828 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28829 echo "*** came with the system with the command"
28830 echo "***"
28831 echo "*** rpm --erase --nodeps gtk gtk-devel"
28832 else
28833 echo "$as_me: failed program was:" >&5
28834 sed 's/^/| /' conftest.$ac_ext >&5
28835
28836 echo "*** The test program failed to compile or link. See the file config.log for the"
28837 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28838 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28839 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28840 fi
28841
28842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28843 conftest$ac_exeext conftest.$ac_ext
28844 CFLAGS="$ac_save_CFLAGS"
28845 LIBS="$ac_save_LIBS"
28846 fi
28847 fi
28848 GTK_CFLAGS=""
28849 GTK_LIBS=""
28850 :
28851 fi
28852
28853
28854 rm -f conf.gtktest
28855
28856 fi
28857 fi
28858 fi
28859
28860 if test -z "$wx_cv_lib_gtk"; then
28861 wx_cv_lib_gtk=none
28862 else
28863 wx_cv_cflags_gtk=$GTK_CFLAGS
28864 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28865 fi
28866
28867
28868 fi
28869
28870
28871 if test "$gtk_version_cached" = 1; then
28872 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28873 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28874 fi
28875
28876 case "$wx_cv_lib_gtk" in
28877 2.0) WXGTK2=1
28878 TOOLKIT_VERSION=2
28879 ;;
28880 1.2.7) WXGTK127=1
28881 WXGTK12=1
28882 ;;
28883 1.2.3) WXGTK12=1
28884 ;;
28885 *) { { echo "$as_me:$LINENO: error:
28886 The development files for GTK+ were not found. For GTK+ 2, please
28887 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28888 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28889 and that the version is 1.2.3 or above. Also check that the
28890 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28891 --libs' are in the LD_LIBRARY_PATH or equivalent.
28892 " >&5
28893 echo "$as_me: error:
28894 The development files for GTK+ were not found. For GTK+ 2, please
28895 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28896 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28897 and that the version is 1.2.3 or above. Also check that the
28898 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28899 --libs' are in the LD_LIBRARY_PATH or equivalent.
28900 " >&2;}
28901 { (exit 1); exit 1; }; }
28902 ;;
28903 esac
28904
28905 if test "$WXGTK2" = 1; then
28906 save_CFLAGS="$CFLAGS"
28907 save_LIBS="$LIBS"
28908 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28909 LIBS="$LIBS $wx_cv_libs_gtk"
28910
28911 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28912 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28913 cat >conftest.$ac_ext <<_ACEOF
28914 /* confdefs.h. */
28915 _ACEOF
28916 cat confdefs.h >>conftest.$ac_ext
28917 cat >>conftest.$ac_ext <<_ACEOF
28918 /* end confdefs.h. */
28919
28920 #include <gtk/gtk.h>
28921
28922 int
28923 main ()
28924 {
28925
28926 #if !GTK_CHECK_VERSION(2,10,0)
28927 Not GTK+ 2.10
28928 #endif
28929
28930 ;
28931 return 0;
28932 }
28933 _ACEOF
28934 rm -f conftest.$ac_objext
28935 if { (ac_try="$ac_compile"
28936 case "(($ac_try" in
28937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28938 *) ac_try_echo=$ac_try;;
28939 esac
28940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28941 (eval "$ac_compile") 2>conftest.er1
28942 ac_status=$?
28943 grep -v '^ *+' conftest.er1 >conftest.err
28944 rm -f conftest.er1
28945 cat conftest.err >&5
28946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28947 (exit $ac_status); } && {
28948 test -z "$ac_c_werror_flag" ||
28949 test ! -s conftest.err
28950 } && test -s conftest.$ac_objext; then
28951
28952 cat >>confdefs.h <<\_ACEOF
28953 #define __WXGTK210__ 1
28954 _ACEOF
28955
28956 cat >>confdefs.h <<\_ACEOF
28957 #define __WXGTK26__ 1
28958 _ACEOF
28959
28960 { echo "$as_me:$LINENO: result: yes" >&5
28961 echo "${ECHO_T}yes" >&6; }
28962 ac_wxgtk210=1
28963
28964 else
28965 echo "$as_me: failed program was:" >&5
28966 sed 's/^/| /' conftest.$ac_ext >&5
28967
28968
28969 { echo "$as_me:$LINENO: result: no" >&5
28970 echo "${ECHO_T}no" >&6; }
28971 ac_wxgtk210=0
28972
28973 fi
28974
28975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28976
28977 if test "$ac_wxgtk210" = 0; then
28978 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28979 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28980 cat >conftest.$ac_ext <<_ACEOF
28981 /* confdefs.h. */
28982 _ACEOF
28983 cat confdefs.h >>conftest.$ac_ext
28984 cat >>conftest.$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28986
28987 #include <gtk/gtk.h>
28988
28989 int
28990 main ()
28991 {
28992
28993 #if !GTK_CHECK_VERSION(2,6,0)
28994 Not GTK+ 2.6
28995 #endif
28996
28997 ;
28998 return 0;
28999 }
29000 _ACEOF
29001 rm -f conftest.$ac_objext
29002 if { (ac_try="$ac_compile"
29003 case "(($ac_try" in
29004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29005 *) ac_try_echo=$ac_try;;
29006 esac
29007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29008 (eval "$ac_compile") 2>conftest.er1
29009 ac_status=$?
29010 grep -v '^ *+' conftest.er1 >conftest.err
29011 rm -f conftest.er1
29012 cat conftest.err >&5
29013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29014 (exit $ac_status); } && {
29015 test -z "$ac_c_werror_flag" ||
29016 test ! -s conftest.err
29017 } && test -s conftest.$ac_objext; then
29018
29019 cat >>confdefs.h <<\_ACEOF
29020 #define __WXGTK26__ 1
29021 _ACEOF
29022
29023 { echo "$as_me:$LINENO: result: yes" >&5
29024 echo "${ECHO_T}yes" >&6; }
29025 ac_wxgtk26=1
29026
29027 else
29028 echo "$as_me: failed program was:" >&5
29029 sed 's/^/| /' conftest.$ac_ext >&5
29030
29031
29032 { echo "$as_me:$LINENO: result: no" >&5
29033 echo "${ECHO_T}no" >&6; }
29034 ac_wxgtk26=0
29035
29036 fi
29037
29038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29039 fi
29040
29041 CFLAGS="$save_CFLAGS"
29042 LIBS="$save_LIBS"
29043 else
29044 if test "$wxUSE_UNICODE" = "yes"; then
29045 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29046 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29047 wxUSE_UNICODE=no
29048 fi
29049
29050 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29051 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29052 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29053 echo $ECHO_N "(cached) $ECHO_C" >&6
29054 else
29055 ac_check_lib_save_LIBS=$LIBS
29056 LIBS="-lgdk $LIBS"
29057 cat >conftest.$ac_ext <<_ACEOF
29058 /* confdefs.h. */
29059 _ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29063
29064 /* Override any GCC internal prototype to avoid an error.
29065 Use char because int might match the return type of a GCC
29066 builtin and then its argument prototype would still apply. */
29067 #ifdef __cplusplus
29068 extern "C"
29069 #endif
29070 char gdk_im_open ();
29071 int
29072 main ()
29073 {
29074 return gdk_im_open ();
29075 ;
29076 return 0;
29077 }
29078 _ACEOF
29079 rm -f conftest.$ac_objext conftest$ac_exeext
29080 if { (ac_try="$ac_link"
29081 case "(($ac_try" in
29082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29083 *) ac_try_echo=$ac_try;;
29084 esac
29085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29086 (eval "$ac_link") 2>conftest.er1
29087 ac_status=$?
29088 grep -v '^ *+' conftest.er1 >conftest.err
29089 rm -f conftest.er1
29090 cat conftest.err >&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); } && {
29093 test -z "$ac_c_werror_flag" ||
29094 test ! -s conftest.err
29095 } && test -s conftest$ac_exeext &&
29096 $as_test_x conftest$ac_exeext; then
29097 ac_cv_lib_gdk_gdk_im_open=yes
29098 else
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.$ac_ext >&5
29101
29102 ac_cv_lib_gdk_gdk_im_open=no
29103 fi
29104
29105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29106 conftest$ac_exeext conftest.$ac_ext
29107 LIBS=$ac_check_lib_save_LIBS
29108 fi
29109 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29110 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29111 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29112 cat >>confdefs.h <<\_ACEOF
29113 #define HAVE_XIM 1
29114 _ACEOF
29115
29116 fi
29117
29118
29119 if test "$USE_DARWIN" != 1; then
29120
29121 for ac_func in poll
29122 do
29123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29124 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29126 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29127 echo $ECHO_N "(cached) $ECHO_C" >&6
29128 else
29129 cat >conftest.$ac_ext <<_ACEOF
29130 /* confdefs.h. */
29131 _ACEOF
29132 cat confdefs.h >>conftest.$ac_ext
29133 cat >>conftest.$ac_ext <<_ACEOF
29134 /* end confdefs.h. */
29135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29137 #define $ac_func innocuous_$ac_func
29138
29139 /* System header to define __stub macros and hopefully few prototypes,
29140 which can conflict with char $ac_func (); below.
29141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29142 <limits.h> exists even on freestanding compilers. */
29143
29144 #ifdef __STDC__
29145 # include <limits.h>
29146 #else
29147 # include <assert.h>
29148 #endif
29149
29150 #undef $ac_func
29151
29152 /* Override any GCC internal prototype to avoid an error.
29153 Use char because int might match the return type of a GCC
29154 builtin and then its argument prototype would still apply. */
29155 #ifdef __cplusplus
29156 extern "C"
29157 #endif
29158 char $ac_func ();
29159 /* The GNU C library defines this for functions which it implements
29160 to always fail with ENOSYS. Some functions are actually named
29161 something starting with __ and the normal name is an alias. */
29162 #if defined __stub_$ac_func || defined __stub___$ac_func
29163 choke me
29164 #endif
29165
29166 int
29167 main ()
29168 {
29169 return $ac_func ();
29170 ;
29171 return 0;
29172 }
29173 _ACEOF
29174 rm -f conftest.$ac_objext conftest$ac_exeext
29175 if { (ac_try="$ac_link"
29176 case "(($ac_try" in
29177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29178 *) ac_try_echo=$ac_try;;
29179 esac
29180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29181 (eval "$ac_link") 2>conftest.er1
29182 ac_status=$?
29183 grep -v '^ *+' conftest.er1 >conftest.err
29184 rm -f conftest.er1
29185 cat conftest.err >&5
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); } && {
29188 test -z "$ac_c_werror_flag" ||
29189 test ! -s conftest.err
29190 } && test -s conftest$ac_exeext &&
29191 $as_test_x conftest$ac_exeext; then
29192 eval "$as_ac_var=yes"
29193 else
29194 echo "$as_me: failed program was:" >&5
29195 sed 's/^/| /' conftest.$ac_ext >&5
29196
29197 eval "$as_ac_var=no"
29198 fi
29199
29200 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29201 conftest$ac_exeext conftest.$ac_ext
29202 fi
29203 ac_res=`eval echo '${'$as_ac_var'}'`
29204 { echo "$as_me:$LINENO: result: $ac_res" >&5
29205 echo "${ECHO_T}$ac_res" >&6; }
29206 if test `eval echo '${'$as_ac_var'}'` = yes; then
29207 cat >>confdefs.h <<_ACEOF
29208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29209 _ACEOF
29210
29211 fi
29212 done
29213
29214 fi
29215 fi
29216
29217 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29218 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29219
29220 AFMINSTALL=afminstall
29221 TOOLKIT=GTK
29222 GUIDIST=GTK_DIST
29223
29224 if test "$wxUSE_GPE" = "yes"; then
29225 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29226 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29227
29228 ac_find_libraries=
29229 for ac_dir in $SEARCH_LIB;
29230 do
29231 for ac_extension in a so sl dylib dll.a; do
29232 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29233 ac_find_libraries=$ac_dir
29234 break 2
29235 fi
29236 done
29237 done
29238
29239 if test "$ac_find_libraries" != "" ; then
29240
29241 if test "$ac_find_libraries" = "default location"; then
29242 ac_path_to_link=""
29243 else
29244 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29245 result=$?
29246 if test $result = 0; then
29247 ac_path_to_link=""
29248 else
29249 ac_path_to_link=" -L$ac_find_libraries"
29250 fi
29251 fi
29252
29253 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29254 WXGPE=1
29255 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29256 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29257 else
29258 { echo "$as_me:$LINENO: result: not found" >&5
29259 echo "${ECHO_T}not found" >&6; }
29260 fi
29261
29262 fi
29263 fi
29264
29265 if test "$wxUSE_MGL" = 1; then
29266 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29267 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29268 if test "x$MGL_ROOT" = x ; then
29269 { echo "$as_me:$LINENO: result: not found" >&5
29270 echo "${ECHO_T}not found" >&6; }
29271 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29272 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29273 { (exit 1); exit 1; }; }
29274 else
29275 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29276 echo "${ECHO_T}$MGL_ROOT" >&6; }
29277 fi
29278
29279 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29280 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29281 case "${host}" in
29282 *-*-linux* )
29283 if test "x$wxUSE_SHARED" = xyes ; then
29284 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29285 else
29286 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29287 fi
29288 ;;
29289 *-pc-msdosdjgpp )
29290 mgl_os_candidates="dos32/dj2"
29291 ;;
29292 *)
29293 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29294 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29295 { (exit 1); exit 1; }; }
29296 esac
29297
29298 mgl_lib_type=""
29299 mgl_os=""
29300
29301 for mgl_os_i in $mgl_os_candidates ; do
29302 if test "x$mgl_os" = x ; then
29303 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29304 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29305 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29306 mgl_lib_type=debug
29307 mgl_os=$mgl_os_i
29308 fi
29309 fi
29310 if test "x$mgl_lib_type" = x ; then
29311 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29312 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29313 mgl_lib_type=release
29314 mgl_os=$mgl_os_i
29315 fi
29316 fi
29317 fi
29318 done
29319
29320 if test "x$mgl_os" = x ; then
29321 { echo "$as_me:$LINENO: result: not found" >&5
29322 echo "${ECHO_T}not found" >&6; }
29323 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29324 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29325 { (exit 1); exit 1; }; }
29326 fi
29327 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29328 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29329
29330 wxUSE_UNIVERSAL="yes"
29331
29332 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29333 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29334
29335 AFMINSTALL=afminstall
29336 TOOLKIT=MGL
29337 GUIDIST=MGL_DIST
29338 fi
29339
29340 if test "$wxUSE_DFB" = 1; then
29341
29342
29343 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29344 if test -n "$ac_tool_prefix"; then
29345 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29346 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29349 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29350 echo $ECHO_N "(cached) $ECHO_C" >&6
29351 else
29352 case $PKG_CONFIG in
29353 [\\/]* | ?:[\\/]*)
29354 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29355 ;;
29356 *)
29357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29358 for as_dir in $PATH
29359 do
29360 IFS=$as_save_IFS
29361 test -z "$as_dir" && as_dir=.
29362 for ac_exec_ext in '' $ac_executable_extensions; do
29363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29364 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29366 break 2
29367 fi
29368 done
29369 done
29370 IFS=$as_save_IFS
29371
29372 ;;
29373 esac
29374 fi
29375 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29376 if test -n "$PKG_CONFIG"; then
29377 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29378 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29379 else
29380 { echo "$as_me:$LINENO: result: no" >&5
29381 echo "${ECHO_T}no" >&6; }
29382 fi
29383
29384
29385 fi
29386 if test -z "$ac_cv_path_PKG_CONFIG"; then
29387 ac_pt_PKG_CONFIG=$PKG_CONFIG
29388 # Extract the first word of "pkg-config", so it can be a program name with args.
29389 set dummy pkg-config; ac_word=$2
29390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29392 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29393 echo $ECHO_N "(cached) $ECHO_C" >&6
29394 else
29395 case $ac_pt_PKG_CONFIG in
29396 [\\/]* | ?:[\\/]*)
29397 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29398 ;;
29399 *)
29400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29401 for as_dir in $PATH
29402 do
29403 IFS=$as_save_IFS
29404 test -z "$as_dir" && as_dir=.
29405 for ac_exec_ext in '' $ac_executable_extensions; do
29406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29407 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29409 break 2
29410 fi
29411 done
29412 done
29413 IFS=$as_save_IFS
29414
29415 ;;
29416 esac
29417 fi
29418 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29419 if test -n "$ac_pt_PKG_CONFIG"; then
29420 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29421 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29422 else
29423 { echo "$as_me:$LINENO: result: no" >&5
29424 echo "${ECHO_T}no" >&6; }
29425 fi
29426
29427 if test "x$ac_pt_PKG_CONFIG" = x; then
29428 PKG_CONFIG=""
29429 else
29430 case $cross_compiling:$ac_tool_warned in
29431 yes:)
29432 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29433 whose name does not start with the host triplet. If you think this
29434 configuration is useful to you, please write to autoconf@gnu.org." >&5
29435 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29436 whose name does not start with the host triplet. If you think this
29437 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29438 ac_tool_warned=yes ;;
29439 esac
29440 PKG_CONFIG=$ac_pt_PKG_CONFIG
29441 fi
29442 else
29443 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29444 fi
29445
29446 fi
29447 if test -n "$PKG_CONFIG"; then
29448 _pkg_min_version=0.9.0
29449 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29450 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29451 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29452 { echo "$as_me:$LINENO: result: yes" >&5
29453 echo "${ECHO_T}yes" >&6; }
29454 else
29455 { echo "$as_me:$LINENO: result: no" >&5
29456 echo "${ECHO_T}no" >&6; }
29457 PKG_CONFIG=""
29458 fi
29459
29460 fi
29461
29462
29463 pkg_failed=no
29464 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29465 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29466
29467 if test -n "$PKG_CONFIG"; then
29468 if test -n "$DIRECTFB_CFLAGS"; then
29469 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29470 else
29471 if test -n "$PKG_CONFIG" && \
29472 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29473 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29474 ac_status=$?
29475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476 (exit $ac_status); }; then
29477 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29478 else
29479 pkg_failed=yes
29480 fi
29481 fi
29482 else
29483 pkg_failed=untried
29484 fi
29485 if test -n "$PKG_CONFIG"; then
29486 if test -n "$DIRECTFB_LIBS"; then
29487 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29488 else
29489 if test -n "$PKG_CONFIG" && \
29490 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29491 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29492 ac_status=$?
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); }; then
29495 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29496 else
29497 pkg_failed=yes
29498 fi
29499 fi
29500 else
29501 pkg_failed=untried
29502 fi
29503
29504
29505
29506 if test $pkg_failed = yes; then
29507
29508 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29509 _pkg_short_errors_supported=yes
29510 else
29511 _pkg_short_errors_supported=no
29512 fi
29513 if test $_pkg_short_errors_supported = yes; then
29514 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29515 else
29516 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29517 fi
29518 # Put the nasty error message in config.log where it belongs
29519 echo "$DIRECTFB_PKG_ERRORS" >&5
29520
29521
29522 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29523 echo "$as_me: error: DirectFB not found." >&2;}
29524 { (exit 1); exit 1; }; }
29525
29526
29527 elif test $pkg_failed = untried; then
29528
29529 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29530 echo "$as_me: error: DirectFB not found." >&2;}
29531 { (exit 1); exit 1; }; }
29532
29533
29534 else
29535 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29536 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29537 { echo "$as_me:$LINENO: result: yes" >&5
29538 echo "${ECHO_T}yes" >&6; }
29539
29540 wxUSE_UNIVERSAL="yes"
29541 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29542 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29543 TOOLKIT=DFB
29544 GUIDIST=DFB_DIST
29545
29546 fi
29547 fi
29548
29549 if test "$wxUSE_MICROWIN" = 1; then
29550 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29551 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29552 if test "x$MICROWINDOWS" = x ; then
29553 { echo "$as_me:$LINENO: result: not found" >&5
29554 echo "${ECHO_T}not found" >&6; }
29555 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29556 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29557 { (exit 1); exit 1; }; }
29558 else
29559 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29560 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29561 fi
29562
29563 if test -f $MICROWINDOWS/lib/libmwin.a; then
29564 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29565 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29566 else
29567 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29568 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29569 { (exit 1); exit 1; }; }
29570 fi
29571
29572 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29573 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29574
29575 wxUSE_UNIVERSAL="yes"
29576
29577 AFMINSTALL=afminstall
29578 TOOLKIT=MICROWIN
29579 GUIDIST=MICROWIN_DIST
29580
29581 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29582 fi
29583
29584 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29585 { echo "$as_me:$LINENO: checking for X" >&5
29586 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29587
29588
29589 # Check whether --with-x was given.
29590 if test "${with_x+set}" = set; then
29591 withval=$with_x;
29592 fi
29593
29594 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29595 if test "x$with_x" = xno; then
29596 # The user explicitly disabled X.
29597 have_x=disabled
29598 else
29599 case $x_includes,$x_libraries in #(
29600 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29601 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29602 { (exit 1); exit 1; }; };; #(
29603 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29604 echo $ECHO_N "(cached) $ECHO_C" >&6
29605 else
29606 # One or both of the vars are not set, and there is no cached value.
29607 ac_x_includes=no ac_x_libraries=no
29608 rm -f -r conftest.dir
29609 if mkdir conftest.dir; then
29610 cd conftest.dir
29611 cat >Imakefile <<'_ACEOF'
29612 incroot:
29613 @echo incroot='${INCROOT}'
29614 usrlibdir:
29615 @echo usrlibdir='${USRLIBDIR}'
29616 libdir:
29617 @echo libdir='${LIBDIR}'
29618 _ACEOF
29619 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29620 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29621 for ac_var in incroot usrlibdir libdir; do
29622 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29623 done
29624 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29625 for ac_extension in a so sl; do
29626 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29627 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29628 ac_im_usrlibdir=$ac_im_libdir; break
29629 fi
29630 done
29631 # Screen out bogus values from the imake configuration. They are
29632 # bogus both because they are the default anyway, and because
29633 # using them would break gcc on systems where it needs fixed includes.
29634 case $ac_im_incroot in
29635 /usr/include) ac_x_includes= ;;
29636 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29637 esac
29638 case $ac_im_usrlibdir in
29639 /usr/lib | /lib) ;;
29640 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29641 esac
29642 fi
29643 cd ..
29644 rm -f -r conftest.dir
29645 fi
29646
29647 # Standard set of common directories for X headers.
29648 # Check X11 before X11Rn because it is often a symlink to the current release.
29649 ac_x_header_dirs='
29650 /usr/X11/include
29651 /usr/X11R6/include
29652 /usr/X11R5/include
29653 /usr/X11R4/include
29654
29655 /usr/include/X11
29656 /usr/include/X11R6
29657 /usr/include/X11R5
29658 /usr/include/X11R4
29659
29660 /usr/local/X11/include
29661 /usr/local/X11R6/include
29662 /usr/local/X11R5/include
29663 /usr/local/X11R4/include
29664
29665 /usr/local/include/X11
29666 /usr/local/include/X11R6
29667 /usr/local/include/X11R5
29668 /usr/local/include/X11R4
29669
29670 /usr/X386/include
29671 /usr/x386/include
29672 /usr/XFree86/include/X11
29673
29674 /usr/include
29675 /usr/local/include
29676 /usr/unsupported/include
29677 /usr/athena/include
29678 /usr/local/x11r5/include
29679 /usr/lpp/Xamples/include
29680
29681 /usr/openwin/include
29682 /usr/openwin/share/include'
29683
29684 if test "$ac_x_includes" = no; then
29685 # Guess where to find include files, by looking for Xlib.h.
29686 # First, try using that file with no special directory specified.
29687 cat >conftest.$ac_ext <<_ACEOF
29688 /* confdefs.h. */
29689 _ACEOF
29690 cat confdefs.h >>conftest.$ac_ext
29691 cat >>conftest.$ac_ext <<_ACEOF
29692 /* end confdefs.h. */
29693 #include <X11/Xlib.h>
29694 _ACEOF
29695 if { (ac_try="$ac_cpp conftest.$ac_ext"
29696 case "(($ac_try" in
29697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29698 *) ac_try_echo=$ac_try;;
29699 esac
29700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29702 ac_status=$?
29703 grep -v '^ *+' conftest.er1 >conftest.err
29704 rm -f conftest.er1
29705 cat conftest.err >&5
29706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29707 (exit $ac_status); } >/dev/null && {
29708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29709 test ! -s conftest.err
29710 }; then
29711 # We can compile using X headers with no special include directory.
29712 ac_x_includes=
29713 else
29714 echo "$as_me: failed program was:" >&5
29715 sed 's/^/| /' conftest.$ac_ext >&5
29716
29717 for ac_dir in $ac_x_header_dirs; do
29718 if test -r "$ac_dir/X11/Xlib.h"; then
29719 ac_x_includes=$ac_dir
29720 break
29721 fi
29722 done
29723 fi
29724
29725 rm -f conftest.err conftest.$ac_ext
29726 fi # $ac_x_includes = no
29727
29728 if test "$ac_x_libraries" = no; then
29729 # Check for the libraries.
29730 # See if we find them without any special options.
29731 # Don't add to $LIBS permanently.
29732 ac_save_LIBS=$LIBS
29733 LIBS="-lX11 $LIBS"
29734 cat >conftest.$ac_ext <<_ACEOF
29735 /* confdefs.h. */
29736 _ACEOF
29737 cat confdefs.h >>conftest.$ac_ext
29738 cat >>conftest.$ac_ext <<_ACEOF
29739 /* end confdefs.h. */
29740 #include <X11/Xlib.h>
29741 int
29742 main ()
29743 {
29744 XrmInitialize ()
29745 ;
29746 return 0;
29747 }
29748 _ACEOF
29749 rm -f conftest.$ac_objext conftest$ac_exeext
29750 if { (ac_try="$ac_link"
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_link") 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_exeext &&
29766 $as_test_x conftest$ac_exeext; then
29767 LIBS=$ac_save_LIBS
29768 # We can link X programs with no special library path.
29769 ac_x_libraries=
29770 else
29771 echo "$as_me: failed program was:" >&5
29772 sed 's/^/| /' conftest.$ac_ext >&5
29773
29774 LIBS=$ac_save_LIBS
29775 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29776 do
29777 # Don't even attempt the hair of trying to link an X program!
29778 for ac_extension in a so sl; do
29779 if test -r "$ac_dir/libX11.$ac_extension"; then
29780 ac_x_libraries=$ac_dir
29781 break 2
29782 fi
29783 done
29784 done
29785 fi
29786
29787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29788 conftest$ac_exeext conftest.$ac_ext
29789 fi # $ac_x_libraries = no
29790
29791 case $ac_x_includes,$ac_x_libraries in #(
29792 no,* | *,no | *\'*)
29793 # Didn't find X, or a directory has "'" in its name.
29794 ac_cv_have_x="have_x=no";; #(
29795 *)
29796 # Record where we found X for the cache.
29797 ac_cv_have_x="have_x=yes\
29798 ac_x_includes='$ac_x_includes'\
29799 ac_x_libraries='$ac_x_libraries'"
29800 esac
29801 fi
29802 ;; #(
29803 *) have_x=yes;;
29804 esac
29805 eval "$ac_cv_have_x"
29806 fi # $with_x != no
29807
29808 if test "$have_x" != yes; then
29809 { echo "$as_me:$LINENO: result: $have_x" >&5
29810 echo "${ECHO_T}$have_x" >&6; }
29811 no_x=yes
29812 else
29813 # If each of the values was on the command line, it overrides each guess.
29814 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29815 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29816 # Update the cache value to reflect the command line values.
29817 ac_cv_have_x="have_x=yes\
29818 ac_x_includes='$x_includes'\
29819 ac_x_libraries='$x_libraries'"
29820 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29821 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29822 fi
29823
29824 if test "$no_x" = yes; then
29825 # Not all programs may use this symbol, but it does not hurt to define it.
29826
29827 cat >>confdefs.h <<\_ACEOF
29828 #define X_DISPLAY_MISSING 1
29829 _ACEOF
29830
29831 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29832 else
29833 if test -n "$x_includes"; then
29834 X_CFLAGS="$X_CFLAGS -I$x_includes"
29835 fi
29836
29837 # It would also be nice to do this for all -L options, not just this one.
29838 if test -n "$x_libraries"; then
29839 X_LIBS="$X_LIBS -L$x_libraries"
29840 # For Solaris; some versions of Sun CC require a space after -R and
29841 # others require no space. Words are not sufficient . . . .
29842 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29843 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29844 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29845 ac_xsave_c_werror_flag=$ac_c_werror_flag
29846 ac_c_werror_flag=yes
29847 cat >conftest.$ac_ext <<_ACEOF
29848 /* confdefs.h. */
29849 _ACEOF
29850 cat confdefs.h >>conftest.$ac_ext
29851 cat >>conftest.$ac_ext <<_ACEOF
29852 /* end confdefs.h. */
29853
29854 int
29855 main ()
29856 {
29857
29858 ;
29859 return 0;
29860 }
29861 _ACEOF
29862 rm -f conftest.$ac_objext conftest$ac_exeext
29863 if { (ac_try="$ac_link"
29864 case "(($ac_try" in
29865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29866 *) ac_try_echo=$ac_try;;
29867 esac
29868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29869 (eval "$ac_link") 2>conftest.er1
29870 ac_status=$?
29871 grep -v '^ *+' conftest.er1 >conftest.err
29872 rm -f conftest.er1
29873 cat conftest.err >&5
29874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29875 (exit $ac_status); } && {
29876 test -z "$ac_c_werror_flag" ||
29877 test ! -s conftest.err
29878 } && test -s conftest$ac_exeext &&
29879 $as_test_x conftest$ac_exeext; then
29880 { echo "$as_me:$LINENO: result: no" >&5
29881 echo "${ECHO_T}no" >&6; }
29882 X_LIBS="$X_LIBS -R$x_libraries"
29883 else
29884 echo "$as_me: failed program was:" >&5
29885 sed 's/^/| /' conftest.$ac_ext >&5
29886
29887 LIBS="$ac_xsave_LIBS -R $x_libraries"
29888 cat >conftest.$ac_ext <<_ACEOF
29889 /* confdefs.h. */
29890 _ACEOF
29891 cat confdefs.h >>conftest.$ac_ext
29892 cat >>conftest.$ac_ext <<_ACEOF
29893 /* end confdefs.h. */
29894
29895 int
29896 main ()
29897 {
29898
29899 ;
29900 return 0;
29901 }
29902 _ACEOF
29903 rm -f conftest.$ac_objext conftest$ac_exeext
29904 if { (ac_try="$ac_link"
29905 case "(($ac_try" in
29906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29907 *) ac_try_echo=$ac_try;;
29908 esac
29909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29910 (eval "$ac_link") 2>conftest.er1
29911 ac_status=$?
29912 grep -v '^ *+' conftest.er1 >conftest.err
29913 rm -f conftest.er1
29914 cat conftest.err >&5
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); } && {
29917 test -z "$ac_c_werror_flag" ||
29918 test ! -s conftest.err
29919 } && test -s conftest$ac_exeext &&
29920 $as_test_x conftest$ac_exeext; then
29921 { echo "$as_me:$LINENO: result: yes" >&5
29922 echo "${ECHO_T}yes" >&6; }
29923 X_LIBS="$X_LIBS -R $x_libraries"
29924 else
29925 echo "$as_me: failed program was:" >&5
29926 sed 's/^/| /' conftest.$ac_ext >&5
29927
29928 { echo "$as_me:$LINENO: result: neither works" >&5
29929 echo "${ECHO_T}neither works" >&6; }
29930 fi
29931
29932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29933 conftest$ac_exeext conftest.$ac_ext
29934 fi
29935
29936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29937 conftest$ac_exeext conftest.$ac_ext
29938 ac_c_werror_flag=$ac_xsave_c_werror_flag
29939 LIBS=$ac_xsave_LIBS
29940 fi
29941
29942 # Check for system-dependent libraries X programs must link with.
29943 # Do this before checking for the system-independent R6 libraries
29944 # (-lICE), since we may need -lsocket or whatever for X linking.
29945
29946 if test "$ISC" = yes; then
29947 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29948 else
29949 # Martyn Johnson says this is needed for Ultrix, if the X
29950 # libraries were built with DECnet support. And Karl Berry says
29951 # the Alpha needs dnet_stub (dnet does not exist).
29952 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29953 cat >conftest.$ac_ext <<_ACEOF
29954 /* confdefs.h. */
29955 _ACEOF
29956 cat confdefs.h >>conftest.$ac_ext
29957 cat >>conftest.$ac_ext <<_ACEOF
29958 /* end confdefs.h. */
29959
29960 /* Override any GCC internal prototype to avoid an error.
29961 Use char because int might match the return type of a GCC
29962 builtin and then its argument prototype would still apply. */
29963 #ifdef __cplusplus
29964 extern "C"
29965 #endif
29966 char XOpenDisplay ();
29967 int
29968 main ()
29969 {
29970 return XOpenDisplay ();
29971 ;
29972 return 0;
29973 }
29974 _ACEOF
29975 rm -f conftest.$ac_objext conftest$ac_exeext
29976 if { (ac_try="$ac_link"
29977 case "(($ac_try" in
29978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29979 *) ac_try_echo=$ac_try;;
29980 esac
29981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29982 (eval "$ac_link") 2>conftest.er1
29983 ac_status=$?
29984 grep -v '^ *+' conftest.er1 >conftest.err
29985 rm -f conftest.er1
29986 cat conftest.err >&5
29987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29988 (exit $ac_status); } && {
29989 test -z "$ac_c_werror_flag" ||
29990 test ! -s conftest.err
29991 } && test -s conftest$ac_exeext &&
29992 $as_test_x conftest$ac_exeext; then
29993 :
29994 else
29995 echo "$as_me: failed program was:" >&5
29996 sed 's/^/| /' conftest.$ac_ext >&5
29997
29998 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29999 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30000 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30001 echo $ECHO_N "(cached) $ECHO_C" >&6
30002 else
30003 ac_check_lib_save_LIBS=$LIBS
30004 LIBS="-ldnet $LIBS"
30005 cat >conftest.$ac_ext <<_ACEOF
30006 /* confdefs.h. */
30007 _ACEOF
30008 cat confdefs.h >>conftest.$ac_ext
30009 cat >>conftest.$ac_ext <<_ACEOF
30010 /* end confdefs.h. */
30011
30012 /* Override any GCC internal prototype to avoid an error.
30013 Use char because int might match the return type of a GCC
30014 builtin and then its argument prototype would still apply. */
30015 #ifdef __cplusplus
30016 extern "C"
30017 #endif
30018 char dnet_ntoa ();
30019 int
30020 main ()
30021 {
30022 return dnet_ntoa ();
30023 ;
30024 return 0;
30025 }
30026 _ACEOF
30027 rm -f conftest.$ac_objext conftest$ac_exeext
30028 if { (ac_try="$ac_link"
30029 case "(($ac_try" in
30030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30031 *) ac_try_echo=$ac_try;;
30032 esac
30033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30034 (eval "$ac_link") 2>conftest.er1
30035 ac_status=$?
30036 grep -v '^ *+' conftest.er1 >conftest.err
30037 rm -f conftest.er1
30038 cat conftest.err >&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } && {
30041 test -z "$ac_c_werror_flag" ||
30042 test ! -s conftest.err
30043 } && test -s conftest$ac_exeext &&
30044 $as_test_x conftest$ac_exeext; then
30045 ac_cv_lib_dnet_dnet_ntoa=yes
30046 else
30047 echo "$as_me: failed program was:" >&5
30048 sed 's/^/| /' conftest.$ac_ext >&5
30049
30050 ac_cv_lib_dnet_dnet_ntoa=no
30051 fi
30052
30053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30054 conftest$ac_exeext conftest.$ac_ext
30055 LIBS=$ac_check_lib_save_LIBS
30056 fi
30057 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30058 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30059 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30060 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30061 fi
30062
30063 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30064 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30065 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30066 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30067 echo $ECHO_N "(cached) $ECHO_C" >&6
30068 else
30069 ac_check_lib_save_LIBS=$LIBS
30070 LIBS="-ldnet_stub $LIBS"
30071 cat >conftest.$ac_ext <<_ACEOF
30072 /* confdefs.h. */
30073 _ACEOF
30074 cat confdefs.h >>conftest.$ac_ext
30075 cat >>conftest.$ac_ext <<_ACEOF
30076 /* end confdefs.h. */
30077
30078 /* Override any GCC internal prototype to avoid an error.
30079 Use char because int might match the return type of a GCC
30080 builtin and then its argument prototype would still apply. */
30081 #ifdef __cplusplus
30082 extern "C"
30083 #endif
30084 char dnet_ntoa ();
30085 int
30086 main ()
30087 {
30088 return dnet_ntoa ();
30089 ;
30090 return 0;
30091 }
30092 _ACEOF
30093 rm -f conftest.$ac_objext conftest$ac_exeext
30094 if { (ac_try="$ac_link"
30095 case "(($ac_try" in
30096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30097 *) ac_try_echo=$ac_try;;
30098 esac
30099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30100 (eval "$ac_link") 2>conftest.er1
30101 ac_status=$?
30102 grep -v '^ *+' conftest.er1 >conftest.err
30103 rm -f conftest.er1
30104 cat conftest.err >&5
30105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30106 (exit $ac_status); } && {
30107 test -z "$ac_c_werror_flag" ||
30108 test ! -s conftest.err
30109 } && test -s conftest$ac_exeext &&
30110 $as_test_x conftest$ac_exeext; then
30111 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30112 else
30113 echo "$as_me: failed program was:" >&5
30114 sed 's/^/| /' conftest.$ac_ext >&5
30115
30116 ac_cv_lib_dnet_stub_dnet_ntoa=no
30117 fi
30118
30119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30120 conftest$ac_exeext conftest.$ac_ext
30121 LIBS=$ac_check_lib_save_LIBS
30122 fi
30123 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30124 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30125 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30126 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30127 fi
30128
30129 fi
30130 fi
30131
30132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30133 conftest$ac_exeext conftest.$ac_ext
30134 LIBS="$ac_xsave_LIBS"
30135
30136 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30137 # to get the SysV transport functions.
30138 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30139 # needs -lnsl.
30140 # The nsl library prevents programs from opening the X display
30141 # on Irix 5.2, according to T.E. Dickey.
30142 # The functions gethostbyname, getservbyname, and inet_addr are
30143 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30144 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30145 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30146 if test "${ac_cv_func_gethostbyname+set}" = set; then
30147 echo $ECHO_N "(cached) $ECHO_C" >&6
30148 else
30149 cat >conftest.$ac_ext <<_ACEOF
30150 /* confdefs.h. */
30151 _ACEOF
30152 cat confdefs.h >>conftest.$ac_ext
30153 cat >>conftest.$ac_ext <<_ACEOF
30154 /* end confdefs.h. */
30155 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30157 #define gethostbyname innocuous_gethostbyname
30158
30159 /* System header to define __stub macros and hopefully few prototypes,
30160 which can conflict with char gethostbyname (); below.
30161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30162 <limits.h> exists even on freestanding compilers. */
30163
30164 #ifdef __STDC__
30165 # include <limits.h>
30166 #else
30167 # include <assert.h>
30168 #endif
30169
30170 #undef gethostbyname
30171
30172 /* Override any GCC internal prototype to avoid an error.
30173 Use char because int might match the return type of a GCC
30174 builtin and then its argument prototype would still apply. */
30175 #ifdef __cplusplus
30176 extern "C"
30177 #endif
30178 char gethostbyname ();
30179 /* The GNU C library defines this for functions which it implements
30180 to always fail with ENOSYS. Some functions are actually named
30181 something starting with __ and the normal name is an alias. */
30182 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30183 choke me
30184 #endif
30185
30186 int
30187 main ()
30188 {
30189 return gethostbyname ();
30190 ;
30191 return 0;
30192 }
30193 _ACEOF
30194 rm -f conftest.$ac_objext conftest$ac_exeext
30195 if { (ac_try="$ac_link"
30196 case "(($ac_try" in
30197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30198 *) ac_try_echo=$ac_try;;
30199 esac
30200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30201 (eval "$ac_link") 2>conftest.er1
30202 ac_status=$?
30203 grep -v '^ *+' conftest.er1 >conftest.err
30204 rm -f conftest.er1
30205 cat conftest.err >&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); } && {
30208 test -z "$ac_c_werror_flag" ||
30209 test ! -s conftest.err
30210 } && test -s conftest$ac_exeext &&
30211 $as_test_x conftest$ac_exeext; then
30212 ac_cv_func_gethostbyname=yes
30213 else
30214 echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.$ac_ext >&5
30216
30217 ac_cv_func_gethostbyname=no
30218 fi
30219
30220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30221 conftest$ac_exeext conftest.$ac_ext
30222 fi
30223 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30224 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30225
30226 if test $ac_cv_func_gethostbyname = no; then
30227 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30228 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30229 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30230 echo $ECHO_N "(cached) $ECHO_C" >&6
30231 else
30232 ac_check_lib_save_LIBS=$LIBS
30233 LIBS="-lnsl $LIBS"
30234 cat >conftest.$ac_ext <<_ACEOF
30235 /* confdefs.h. */
30236 _ACEOF
30237 cat confdefs.h >>conftest.$ac_ext
30238 cat >>conftest.$ac_ext <<_ACEOF
30239 /* end confdefs.h. */
30240
30241 /* Override any GCC internal prototype to avoid an error.
30242 Use char because int might match the return type of a GCC
30243 builtin and then its argument prototype would still apply. */
30244 #ifdef __cplusplus
30245 extern "C"
30246 #endif
30247 char gethostbyname ();
30248 int
30249 main ()
30250 {
30251 return gethostbyname ();
30252 ;
30253 return 0;
30254 }
30255 _ACEOF
30256 rm -f conftest.$ac_objext conftest$ac_exeext
30257 if { (ac_try="$ac_link"
30258 case "(($ac_try" in
30259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30260 *) ac_try_echo=$ac_try;;
30261 esac
30262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30263 (eval "$ac_link") 2>conftest.er1
30264 ac_status=$?
30265 grep -v '^ *+' conftest.er1 >conftest.err
30266 rm -f conftest.er1
30267 cat conftest.err >&5
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); } && {
30270 test -z "$ac_c_werror_flag" ||
30271 test ! -s conftest.err
30272 } && test -s conftest$ac_exeext &&
30273 $as_test_x conftest$ac_exeext; then
30274 ac_cv_lib_nsl_gethostbyname=yes
30275 else
30276 echo "$as_me: failed program was:" >&5
30277 sed 's/^/| /' conftest.$ac_ext >&5
30278
30279 ac_cv_lib_nsl_gethostbyname=no
30280 fi
30281
30282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30283 conftest$ac_exeext conftest.$ac_ext
30284 LIBS=$ac_check_lib_save_LIBS
30285 fi
30286 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30287 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30288 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30289 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30290 fi
30291
30292 if test $ac_cv_lib_nsl_gethostbyname = no; then
30293 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30294 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30295 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30296 echo $ECHO_N "(cached) $ECHO_C" >&6
30297 else
30298 ac_check_lib_save_LIBS=$LIBS
30299 LIBS="-lbsd $LIBS"
30300 cat >conftest.$ac_ext <<_ACEOF
30301 /* confdefs.h. */
30302 _ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30306
30307 /* Override any GCC internal prototype to avoid an error.
30308 Use char because int might match the return type of a GCC
30309 builtin and then its argument prototype would still apply. */
30310 #ifdef __cplusplus
30311 extern "C"
30312 #endif
30313 char gethostbyname ();
30314 int
30315 main ()
30316 {
30317 return gethostbyname ();
30318 ;
30319 return 0;
30320 }
30321 _ACEOF
30322 rm -f conftest.$ac_objext conftest$ac_exeext
30323 if { (ac_try="$ac_link"
30324 case "(($ac_try" in
30325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30326 *) ac_try_echo=$ac_try;;
30327 esac
30328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30329 (eval "$ac_link") 2>conftest.er1
30330 ac_status=$?
30331 grep -v '^ *+' conftest.er1 >conftest.err
30332 rm -f conftest.er1
30333 cat conftest.err >&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); } && {
30336 test -z "$ac_c_werror_flag" ||
30337 test ! -s conftest.err
30338 } && test -s conftest$ac_exeext &&
30339 $as_test_x conftest$ac_exeext; then
30340 ac_cv_lib_bsd_gethostbyname=yes
30341 else
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30344
30345 ac_cv_lib_bsd_gethostbyname=no
30346 fi
30347
30348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30349 conftest$ac_exeext conftest.$ac_ext
30350 LIBS=$ac_check_lib_save_LIBS
30351 fi
30352 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30353 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30354 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30355 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30356 fi
30357
30358 fi
30359 fi
30360
30361 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30362 # socket/setsockopt and other routines are undefined under SCO ODT
30363 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30364 # on later versions), says Simon Leinen: it contains gethostby*
30365 # variants that don't use the name server (or something). -lsocket
30366 # must be given before -lnsl if both are needed. We assume that
30367 # if connect needs -lnsl, so does gethostbyname.
30368 { echo "$as_me:$LINENO: checking for connect" >&5
30369 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30370 if test "${ac_cv_func_connect+set}" = set; then
30371 echo $ECHO_N "(cached) $ECHO_C" >&6
30372 else
30373 cat >conftest.$ac_ext <<_ACEOF
30374 /* confdefs.h. */
30375 _ACEOF
30376 cat confdefs.h >>conftest.$ac_ext
30377 cat >>conftest.$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30379 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30381 #define connect innocuous_connect
30382
30383 /* System header to define __stub macros and hopefully few prototypes,
30384 which can conflict with char connect (); below.
30385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30386 <limits.h> exists even on freestanding compilers. */
30387
30388 #ifdef __STDC__
30389 # include <limits.h>
30390 #else
30391 # include <assert.h>
30392 #endif
30393
30394 #undef connect
30395
30396 /* Override any GCC internal prototype to avoid an error.
30397 Use char because int might match the return type of a GCC
30398 builtin and then its argument prototype would still apply. */
30399 #ifdef __cplusplus
30400 extern "C"
30401 #endif
30402 char connect ();
30403 /* The GNU C library defines this for functions which it implements
30404 to always fail with ENOSYS. Some functions are actually named
30405 something starting with __ and the normal name is an alias. */
30406 #if defined __stub_connect || defined __stub___connect
30407 choke me
30408 #endif
30409
30410 int
30411 main ()
30412 {
30413 return connect ();
30414 ;
30415 return 0;
30416 }
30417 _ACEOF
30418 rm -f conftest.$ac_objext conftest$ac_exeext
30419 if { (ac_try="$ac_link"
30420 case "(($ac_try" in
30421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30422 *) ac_try_echo=$ac_try;;
30423 esac
30424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30425 (eval "$ac_link") 2>conftest.er1
30426 ac_status=$?
30427 grep -v '^ *+' conftest.er1 >conftest.err
30428 rm -f conftest.er1
30429 cat conftest.err >&5
30430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30431 (exit $ac_status); } && {
30432 test -z "$ac_c_werror_flag" ||
30433 test ! -s conftest.err
30434 } && test -s conftest$ac_exeext &&
30435 $as_test_x conftest$ac_exeext; then
30436 ac_cv_func_connect=yes
30437 else
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.$ac_ext >&5
30440
30441 ac_cv_func_connect=no
30442 fi
30443
30444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30445 conftest$ac_exeext conftest.$ac_ext
30446 fi
30447 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30448 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30449
30450 if test $ac_cv_func_connect = no; then
30451 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30452 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30453 if test "${ac_cv_lib_socket_connect+set}" = set; then
30454 echo $ECHO_N "(cached) $ECHO_C" >&6
30455 else
30456 ac_check_lib_save_LIBS=$LIBS
30457 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30458 cat >conftest.$ac_ext <<_ACEOF
30459 /* confdefs.h. */
30460 _ACEOF
30461 cat confdefs.h >>conftest.$ac_ext
30462 cat >>conftest.$ac_ext <<_ACEOF
30463 /* end confdefs.h. */
30464
30465 /* Override any GCC internal prototype to avoid an error.
30466 Use char because int might match the return type of a GCC
30467 builtin and then its argument prototype would still apply. */
30468 #ifdef __cplusplus
30469 extern "C"
30470 #endif
30471 char connect ();
30472 int
30473 main ()
30474 {
30475 return connect ();
30476 ;
30477 return 0;
30478 }
30479 _ACEOF
30480 rm -f conftest.$ac_objext conftest$ac_exeext
30481 if { (ac_try="$ac_link"
30482 case "(($ac_try" in
30483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30484 *) ac_try_echo=$ac_try;;
30485 esac
30486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30487 (eval "$ac_link") 2>conftest.er1
30488 ac_status=$?
30489 grep -v '^ *+' conftest.er1 >conftest.err
30490 rm -f conftest.er1
30491 cat conftest.err >&5
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); } && {
30494 test -z "$ac_c_werror_flag" ||
30495 test ! -s conftest.err
30496 } && test -s conftest$ac_exeext &&
30497 $as_test_x conftest$ac_exeext; then
30498 ac_cv_lib_socket_connect=yes
30499 else
30500 echo "$as_me: failed program was:" >&5
30501 sed 's/^/| /' conftest.$ac_ext >&5
30502
30503 ac_cv_lib_socket_connect=no
30504 fi
30505
30506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30507 conftest$ac_exeext conftest.$ac_ext
30508 LIBS=$ac_check_lib_save_LIBS
30509 fi
30510 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30511 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30512 if test $ac_cv_lib_socket_connect = yes; then
30513 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30514 fi
30515
30516 fi
30517
30518 # Guillermo Gomez says -lposix is necessary on A/UX.
30519 { echo "$as_me:$LINENO: checking for remove" >&5
30520 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30521 if test "${ac_cv_func_remove+set}" = set; then
30522 echo $ECHO_N "(cached) $ECHO_C" >&6
30523 else
30524 cat >conftest.$ac_ext <<_ACEOF
30525 /* confdefs.h. */
30526 _ACEOF
30527 cat confdefs.h >>conftest.$ac_ext
30528 cat >>conftest.$ac_ext <<_ACEOF
30529 /* end confdefs.h. */
30530 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30532 #define remove innocuous_remove
30533
30534 /* System header to define __stub macros and hopefully few prototypes,
30535 which can conflict with char remove (); below.
30536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30537 <limits.h> exists even on freestanding compilers. */
30538
30539 #ifdef __STDC__
30540 # include <limits.h>
30541 #else
30542 # include <assert.h>
30543 #endif
30544
30545 #undef remove
30546
30547 /* Override any GCC internal prototype to avoid an error.
30548 Use char because int might match the return type of a GCC
30549 builtin and then its argument prototype would still apply. */
30550 #ifdef __cplusplus
30551 extern "C"
30552 #endif
30553 char remove ();
30554 /* The GNU C library defines this for functions which it implements
30555 to always fail with ENOSYS. Some functions are actually named
30556 something starting with __ and the normal name is an alias. */
30557 #if defined __stub_remove || defined __stub___remove
30558 choke me
30559 #endif
30560
30561 int
30562 main ()
30563 {
30564 return remove ();
30565 ;
30566 return 0;
30567 }
30568 _ACEOF
30569 rm -f conftest.$ac_objext conftest$ac_exeext
30570 if { (ac_try="$ac_link"
30571 case "(($ac_try" in
30572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30573 *) ac_try_echo=$ac_try;;
30574 esac
30575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30576 (eval "$ac_link") 2>conftest.er1
30577 ac_status=$?
30578 grep -v '^ *+' conftest.er1 >conftest.err
30579 rm -f conftest.er1
30580 cat conftest.err >&5
30581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30582 (exit $ac_status); } && {
30583 test -z "$ac_c_werror_flag" ||
30584 test ! -s conftest.err
30585 } && test -s conftest$ac_exeext &&
30586 $as_test_x conftest$ac_exeext; then
30587 ac_cv_func_remove=yes
30588 else
30589 echo "$as_me: failed program was:" >&5
30590 sed 's/^/| /' conftest.$ac_ext >&5
30591
30592 ac_cv_func_remove=no
30593 fi
30594
30595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30596 conftest$ac_exeext conftest.$ac_ext
30597 fi
30598 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30599 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30600
30601 if test $ac_cv_func_remove = no; then
30602 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30603 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30604 if test "${ac_cv_lib_posix_remove+set}" = set; then
30605 echo $ECHO_N "(cached) $ECHO_C" >&6
30606 else
30607 ac_check_lib_save_LIBS=$LIBS
30608 LIBS="-lposix $LIBS"
30609 cat >conftest.$ac_ext <<_ACEOF
30610 /* confdefs.h. */
30611 _ACEOF
30612 cat confdefs.h >>conftest.$ac_ext
30613 cat >>conftest.$ac_ext <<_ACEOF
30614 /* end confdefs.h. */
30615
30616 /* Override any GCC internal prototype to avoid an error.
30617 Use char because int might match the return type of a GCC
30618 builtin and then its argument prototype would still apply. */
30619 #ifdef __cplusplus
30620 extern "C"
30621 #endif
30622 char remove ();
30623 int
30624 main ()
30625 {
30626 return remove ();
30627 ;
30628 return 0;
30629 }
30630 _ACEOF
30631 rm -f conftest.$ac_objext conftest$ac_exeext
30632 if { (ac_try="$ac_link"
30633 case "(($ac_try" in
30634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30635 *) ac_try_echo=$ac_try;;
30636 esac
30637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30638 (eval "$ac_link") 2>conftest.er1
30639 ac_status=$?
30640 grep -v '^ *+' conftest.er1 >conftest.err
30641 rm -f conftest.er1
30642 cat conftest.err >&5
30643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30644 (exit $ac_status); } && {
30645 test -z "$ac_c_werror_flag" ||
30646 test ! -s conftest.err
30647 } && test -s conftest$ac_exeext &&
30648 $as_test_x conftest$ac_exeext; then
30649 ac_cv_lib_posix_remove=yes
30650 else
30651 echo "$as_me: failed program was:" >&5
30652 sed 's/^/| /' conftest.$ac_ext >&5
30653
30654 ac_cv_lib_posix_remove=no
30655 fi
30656
30657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30658 conftest$ac_exeext conftest.$ac_ext
30659 LIBS=$ac_check_lib_save_LIBS
30660 fi
30661 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30662 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30663 if test $ac_cv_lib_posix_remove = yes; then
30664 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30665 fi
30666
30667 fi
30668
30669 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30670 { echo "$as_me:$LINENO: checking for shmat" >&5
30671 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30672 if test "${ac_cv_func_shmat+set}" = set; then
30673 echo $ECHO_N "(cached) $ECHO_C" >&6
30674 else
30675 cat >conftest.$ac_ext <<_ACEOF
30676 /* confdefs.h. */
30677 _ACEOF
30678 cat confdefs.h >>conftest.$ac_ext
30679 cat >>conftest.$ac_ext <<_ACEOF
30680 /* end confdefs.h. */
30681 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30683 #define shmat innocuous_shmat
30684
30685 /* System header to define __stub macros and hopefully few prototypes,
30686 which can conflict with char shmat (); below.
30687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30688 <limits.h> exists even on freestanding compilers. */
30689
30690 #ifdef __STDC__
30691 # include <limits.h>
30692 #else
30693 # include <assert.h>
30694 #endif
30695
30696 #undef shmat
30697
30698 /* Override any GCC internal prototype to avoid an error.
30699 Use char because int might match the return type of a GCC
30700 builtin and then its argument prototype would still apply. */
30701 #ifdef __cplusplus
30702 extern "C"
30703 #endif
30704 char shmat ();
30705 /* The GNU C library defines this for functions which it implements
30706 to always fail with ENOSYS. Some functions are actually named
30707 something starting with __ and the normal name is an alias. */
30708 #if defined __stub_shmat || defined __stub___shmat
30709 choke me
30710 #endif
30711
30712 int
30713 main ()
30714 {
30715 return shmat ();
30716 ;
30717 return 0;
30718 }
30719 _ACEOF
30720 rm -f conftest.$ac_objext conftest$ac_exeext
30721 if { (ac_try="$ac_link"
30722 case "(($ac_try" in
30723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30724 *) ac_try_echo=$ac_try;;
30725 esac
30726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30727 (eval "$ac_link") 2>conftest.er1
30728 ac_status=$?
30729 grep -v '^ *+' conftest.er1 >conftest.err
30730 rm -f conftest.er1
30731 cat conftest.err >&5
30732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30733 (exit $ac_status); } && {
30734 test -z "$ac_c_werror_flag" ||
30735 test ! -s conftest.err
30736 } && test -s conftest$ac_exeext &&
30737 $as_test_x conftest$ac_exeext; then
30738 ac_cv_func_shmat=yes
30739 else
30740 echo "$as_me: failed program was:" >&5
30741 sed 's/^/| /' conftest.$ac_ext >&5
30742
30743 ac_cv_func_shmat=no
30744 fi
30745
30746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30747 conftest$ac_exeext conftest.$ac_ext
30748 fi
30749 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30750 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30751
30752 if test $ac_cv_func_shmat = no; then
30753 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30754 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30755 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30756 echo $ECHO_N "(cached) $ECHO_C" >&6
30757 else
30758 ac_check_lib_save_LIBS=$LIBS
30759 LIBS="-lipc $LIBS"
30760 cat >conftest.$ac_ext <<_ACEOF
30761 /* confdefs.h. */
30762 _ACEOF
30763 cat confdefs.h >>conftest.$ac_ext
30764 cat >>conftest.$ac_ext <<_ACEOF
30765 /* end confdefs.h. */
30766
30767 /* Override any GCC internal prototype to avoid an error.
30768 Use char because int might match the return type of a GCC
30769 builtin and then its argument prototype would still apply. */
30770 #ifdef __cplusplus
30771 extern "C"
30772 #endif
30773 char shmat ();
30774 int
30775 main ()
30776 {
30777 return shmat ();
30778 ;
30779 return 0;
30780 }
30781 _ACEOF
30782 rm -f conftest.$ac_objext conftest$ac_exeext
30783 if { (ac_try="$ac_link"
30784 case "(($ac_try" in
30785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30786 *) ac_try_echo=$ac_try;;
30787 esac
30788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30789 (eval "$ac_link") 2>conftest.er1
30790 ac_status=$?
30791 grep -v '^ *+' conftest.er1 >conftest.err
30792 rm -f conftest.er1
30793 cat conftest.err >&5
30794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30795 (exit $ac_status); } && {
30796 test -z "$ac_c_werror_flag" ||
30797 test ! -s conftest.err
30798 } && test -s conftest$ac_exeext &&
30799 $as_test_x conftest$ac_exeext; then
30800 ac_cv_lib_ipc_shmat=yes
30801 else
30802 echo "$as_me: failed program was:" >&5
30803 sed 's/^/| /' conftest.$ac_ext >&5
30804
30805 ac_cv_lib_ipc_shmat=no
30806 fi
30807
30808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30809 conftest$ac_exeext conftest.$ac_ext
30810 LIBS=$ac_check_lib_save_LIBS
30811 fi
30812 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30813 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30814 if test $ac_cv_lib_ipc_shmat = yes; then
30815 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30816 fi
30817
30818 fi
30819 fi
30820
30821 # Check for libraries that X11R6 Xt/Xaw programs need.
30822 ac_save_LDFLAGS=$LDFLAGS
30823 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30824 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30825 # check for ICE first), but we must link in the order -lSM -lICE or
30826 # we get undefined symbols. So assume we have SM if we have ICE.
30827 # These have to be linked with before -lX11, unlike the other
30828 # libraries we check for below, so use a different variable.
30829 # John Interrante, Karl Berry
30830 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30831 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30832 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30833 echo $ECHO_N "(cached) $ECHO_C" >&6
30834 else
30835 ac_check_lib_save_LIBS=$LIBS
30836 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30837 cat >conftest.$ac_ext <<_ACEOF
30838 /* confdefs.h. */
30839 _ACEOF
30840 cat confdefs.h >>conftest.$ac_ext
30841 cat >>conftest.$ac_ext <<_ACEOF
30842 /* end confdefs.h. */
30843
30844 /* Override any GCC internal prototype to avoid an error.
30845 Use char because int might match the return type of a GCC
30846 builtin and then its argument prototype would still apply. */
30847 #ifdef __cplusplus
30848 extern "C"
30849 #endif
30850 char IceConnectionNumber ();
30851 int
30852 main ()
30853 {
30854 return IceConnectionNumber ();
30855 ;
30856 return 0;
30857 }
30858 _ACEOF
30859 rm -f conftest.$ac_objext conftest$ac_exeext
30860 if { (ac_try="$ac_link"
30861 case "(($ac_try" in
30862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30863 *) ac_try_echo=$ac_try;;
30864 esac
30865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30866 (eval "$ac_link") 2>conftest.er1
30867 ac_status=$?
30868 grep -v '^ *+' conftest.er1 >conftest.err
30869 rm -f conftest.er1
30870 cat conftest.err >&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); } && {
30873 test -z "$ac_c_werror_flag" ||
30874 test ! -s conftest.err
30875 } && test -s conftest$ac_exeext &&
30876 $as_test_x conftest$ac_exeext; then
30877 ac_cv_lib_ICE_IceConnectionNumber=yes
30878 else
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30881
30882 ac_cv_lib_ICE_IceConnectionNumber=no
30883 fi
30884
30885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30886 conftest$ac_exeext conftest.$ac_ext
30887 LIBS=$ac_check_lib_save_LIBS
30888 fi
30889 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30890 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30891 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30892 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30893 fi
30894
30895 LDFLAGS=$ac_save_LDFLAGS
30896
30897 fi
30898
30899
30900 if test "$no_x" = "yes"; then
30901 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30902 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30903 { (exit 1); exit 1; }; }
30904 fi
30905
30906 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30907 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30908 AFMINSTALL=afminstall
30909 COMPILED_X_PROGRAM=0
30910
30911 fi
30912
30913 if test "$wxUSE_X11" = 1; then
30914 if test "$wxUSE_NANOX" = "yes"; then
30915 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30916 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30917 if test "x$MICROWIN" = x ; then
30918 { echo "$as_me:$LINENO: result: not found" >&5
30919 echo "${ECHO_T}not found" >&6; }
30920 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30921 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30922 { (exit 1); exit 1; }; }
30923 else
30924 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30925 echo "${ECHO_T}$MICROWIN" >&6; }
30926 cat >>confdefs.h <<\_ACEOF
30927 #define wxUSE_NANOX 1
30928 _ACEOF
30929
30930 fi
30931 fi
30932
30933 if test "$wxUSE_UNICODE" = "yes"; then
30934
30935
30936 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30937 if test -n "$ac_tool_prefix"; then
30938 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30939 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30942 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30943 echo $ECHO_N "(cached) $ECHO_C" >&6
30944 else
30945 case $PKG_CONFIG in
30946 [\\/]* | ?:[\\/]*)
30947 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30948 ;;
30949 *)
30950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30951 for as_dir in $PATH
30952 do
30953 IFS=$as_save_IFS
30954 test -z "$as_dir" && as_dir=.
30955 for ac_exec_ext in '' $ac_executable_extensions; do
30956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30957 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30959 break 2
30960 fi
30961 done
30962 done
30963 IFS=$as_save_IFS
30964
30965 ;;
30966 esac
30967 fi
30968 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30969 if test -n "$PKG_CONFIG"; then
30970 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30971 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30972 else
30973 { echo "$as_me:$LINENO: result: no" >&5
30974 echo "${ECHO_T}no" >&6; }
30975 fi
30976
30977
30978 fi
30979 if test -z "$ac_cv_path_PKG_CONFIG"; then
30980 ac_pt_PKG_CONFIG=$PKG_CONFIG
30981 # Extract the first word of "pkg-config", so it can be a program name with args.
30982 set dummy pkg-config; ac_word=$2
30983 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30984 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30985 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30986 echo $ECHO_N "(cached) $ECHO_C" >&6
30987 else
30988 case $ac_pt_PKG_CONFIG in
30989 [\\/]* | ?:[\\/]*)
30990 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30991 ;;
30992 *)
30993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30994 for as_dir in $PATH
30995 do
30996 IFS=$as_save_IFS
30997 test -z "$as_dir" && as_dir=.
30998 for ac_exec_ext in '' $ac_executable_extensions; do
30999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31000 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31002 break 2
31003 fi
31004 done
31005 done
31006 IFS=$as_save_IFS
31007
31008 ;;
31009 esac
31010 fi
31011 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31012 if test -n "$ac_pt_PKG_CONFIG"; then
31013 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31014 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31015 else
31016 { echo "$as_me:$LINENO: result: no" >&5
31017 echo "${ECHO_T}no" >&6; }
31018 fi
31019
31020 if test "x$ac_pt_PKG_CONFIG" = x; then
31021 PKG_CONFIG=""
31022 else
31023 case $cross_compiling:$ac_tool_warned in
31024 yes:)
31025 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31026 whose name does not start with the host triplet. If you think this
31027 configuration is useful to you, please write to autoconf@gnu.org." >&5
31028 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31029 whose name does not start with the host triplet. If you think this
31030 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31031 ac_tool_warned=yes ;;
31032 esac
31033 PKG_CONFIG=$ac_pt_PKG_CONFIG
31034 fi
31035 else
31036 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31037 fi
31038
31039 fi
31040 if test -n "$PKG_CONFIG"; then
31041 _pkg_min_version=0.9.0
31042 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31043 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31044 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31045 { echo "$as_me:$LINENO: result: yes" >&5
31046 echo "${ECHO_T}yes" >&6; }
31047 else
31048 { echo "$as_me:$LINENO: result: no" >&5
31049 echo "${ECHO_T}no" >&6; }
31050 PKG_CONFIG=""
31051 fi
31052
31053 fi
31054
31055
31056 pkg_failed=no
31057 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31058 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31059
31060 if test -n "$PKG_CONFIG"; then
31061 if test -n "$PANGOX_CFLAGS"; then
31062 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31063 else
31064 if test -n "$PKG_CONFIG" && \
31065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31066 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31067 ac_status=$?
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); }; then
31070 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31071 else
31072 pkg_failed=yes
31073 fi
31074 fi
31075 else
31076 pkg_failed=untried
31077 fi
31078 if test -n "$PKG_CONFIG"; then
31079 if test -n "$PANGOX_LIBS"; then
31080 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31081 else
31082 if test -n "$PKG_CONFIG" && \
31083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31084 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31085 ac_status=$?
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; then
31088 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31089 else
31090 pkg_failed=yes
31091 fi
31092 fi
31093 else
31094 pkg_failed=untried
31095 fi
31096
31097
31098
31099 if test $pkg_failed = yes; then
31100
31101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31102 _pkg_short_errors_supported=yes
31103 else
31104 _pkg_short_errors_supported=no
31105 fi
31106 if test $_pkg_short_errors_supported = yes; then
31107 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31108 else
31109 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31110 fi
31111 # Put the nasty error message in config.log where it belongs
31112 echo "$PANGOX_PKG_ERRORS" >&5
31113
31114
31115 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31116 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31117 { (exit 1); exit 1; }; }
31118
31119
31120 elif test $pkg_failed = untried; then
31121
31122 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31123 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31124 { (exit 1); exit 1; }; }
31125
31126
31127 else
31128 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31129 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31130 { echo "$as_me:$LINENO: result: yes" >&5
31131 echo "${ECHO_T}yes" >&6; }
31132
31133 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31134 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31135 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31136
31137 fi
31138
31139 pkg_failed=no
31140 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31141 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31142
31143 if test -n "$PKG_CONFIG"; then
31144 if test -n "$PANGOFT2_CFLAGS"; then
31145 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31146 else
31147 if test -n "$PKG_CONFIG" && \
31148 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31149 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31150 ac_status=$?
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); }; then
31153 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31154 else
31155 pkg_failed=yes
31156 fi
31157 fi
31158 else
31159 pkg_failed=untried
31160 fi
31161 if test -n "$PKG_CONFIG"; then
31162 if test -n "$PANGOFT2_LIBS"; then
31163 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31164 else
31165 if test -n "$PKG_CONFIG" && \
31166 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31167 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31168 ac_status=$?
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); }; then
31171 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31172 else
31173 pkg_failed=yes
31174 fi
31175 fi
31176 else
31177 pkg_failed=untried
31178 fi
31179
31180
31181
31182 if test $pkg_failed = yes; then
31183
31184 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31185 _pkg_short_errors_supported=yes
31186 else
31187 _pkg_short_errors_supported=no
31188 fi
31189 if test $_pkg_short_errors_supported = yes; then
31190 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31191 else
31192 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31193 fi
31194 # Put the nasty error message in config.log where it belongs
31195 echo "$PANGOFT2_PKG_ERRORS" >&5
31196
31197
31198 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31199 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31200 wxUSE_PRINTING_ARCHITECTURE="no"
31201
31202
31203 elif test $pkg_failed = untried; then
31204
31205 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31206 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31207 wxUSE_PRINTING_ARCHITECTURE="no"
31208
31209
31210 else
31211 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31212 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31213 { echo "$as_me:$LINENO: result: yes" >&5
31214 echo "${ECHO_T}yes" >&6; }
31215
31216 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31217 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31219
31220 fi
31221
31222 pkg_failed=no
31223 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31224 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31225
31226 if test -n "$PKG_CONFIG"; then
31227 if test -n "$PANGOXFT_CFLAGS"; then
31228 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31229 else
31230 if test -n "$PKG_CONFIG" && \
31231 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31232 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31233 ac_status=$?
31234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31235 (exit $ac_status); }; then
31236 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31237 else
31238 pkg_failed=yes
31239 fi
31240 fi
31241 else
31242 pkg_failed=untried
31243 fi
31244 if test -n "$PKG_CONFIG"; then
31245 if test -n "$PANGOXFT_LIBS"; then
31246 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31247 else
31248 if test -n "$PKG_CONFIG" && \
31249 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31250 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31251 ac_status=$?
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); }; then
31254 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31255 else
31256 pkg_failed=yes
31257 fi
31258 fi
31259 else
31260 pkg_failed=untried
31261 fi
31262
31263
31264
31265 if test $pkg_failed = yes; then
31266
31267 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31268 _pkg_short_errors_supported=yes
31269 else
31270 _pkg_short_errors_supported=no
31271 fi
31272 if test $_pkg_short_errors_supported = yes; then
31273 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31274 else
31275 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31276 fi
31277 # Put the nasty error message in config.log where it belongs
31278 echo "$PANGOXFT_PKG_ERRORS" >&5
31279
31280
31281 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31282 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31283
31284
31285 elif test $pkg_failed = untried; then
31286
31287 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31288 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31289
31290
31291 else
31292 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31293 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31294 { echo "$as_me:$LINENO: result: yes" >&5
31295 echo "${ECHO_T}yes" >&6; }
31296
31297 cat >>confdefs.h <<\_ACEOF
31298 #define HAVE_PANGO_XFT 1
31299 _ACEOF
31300
31301 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31302 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31303 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31304
31305 fi
31306 save_LIBS="$LIBS"
31307 LIBS="$LIBS $PANGOX_LIBS"
31308
31309 for ac_func in pango_font_family_is_monospace
31310 do
31311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31312 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31314 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31315 echo $ECHO_N "(cached) $ECHO_C" >&6
31316 else
31317 cat >conftest.$ac_ext <<_ACEOF
31318 /* confdefs.h. */
31319 _ACEOF
31320 cat confdefs.h >>conftest.$ac_ext
31321 cat >>conftest.$ac_ext <<_ACEOF
31322 /* end confdefs.h. */
31323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31325 #define $ac_func innocuous_$ac_func
31326
31327 /* System header to define __stub macros and hopefully few prototypes,
31328 which can conflict with char $ac_func (); below.
31329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31330 <limits.h> exists even on freestanding compilers. */
31331
31332 #ifdef __STDC__
31333 # include <limits.h>
31334 #else
31335 # include <assert.h>
31336 #endif
31337
31338 #undef $ac_func
31339
31340 /* Override any GCC internal prototype to avoid an error.
31341 Use char because int might match the return type of a GCC
31342 builtin and then its argument prototype would still apply. */
31343 #ifdef __cplusplus
31344 extern "C"
31345 #endif
31346 char $ac_func ();
31347 /* The GNU C library defines this for functions which it implements
31348 to always fail with ENOSYS. Some functions are actually named
31349 something starting with __ and the normal name is an alias. */
31350 #if defined __stub_$ac_func || defined __stub___$ac_func
31351 choke me
31352 #endif
31353
31354 int
31355 main ()
31356 {
31357 return $ac_func ();
31358 ;
31359 return 0;
31360 }
31361 _ACEOF
31362 rm -f conftest.$ac_objext conftest$ac_exeext
31363 if { (ac_try="$ac_link"
31364 case "(($ac_try" in
31365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31366 *) ac_try_echo=$ac_try;;
31367 esac
31368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31369 (eval "$ac_link") 2>conftest.er1
31370 ac_status=$?
31371 grep -v '^ *+' conftest.er1 >conftest.err
31372 rm -f conftest.er1
31373 cat conftest.err >&5
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); } && {
31376 test -z "$ac_c_werror_flag" ||
31377 test ! -s conftest.err
31378 } && test -s conftest$ac_exeext &&
31379 $as_test_x conftest$ac_exeext; then
31380 eval "$as_ac_var=yes"
31381 else
31382 echo "$as_me: failed program was:" >&5
31383 sed 's/^/| /' conftest.$ac_ext >&5
31384
31385 eval "$as_ac_var=no"
31386 fi
31387
31388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31389 conftest$ac_exeext conftest.$ac_ext
31390 fi
31391 ac_res=`eval echo '${'$as_ac_var'}'`
31392 { echo "$as_me:$LINENO: result: $ac_res" >&5
31393 echo "${ECHO_T}$ac_res" >&6; }
31394 if test `eval echo '${'$as_ac_var'}'` = yes; then
31395 cat >>confdefs.h <<_ACEOF
31396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31397 _ACEOF
31398
31399 fi
31400 done
31401
31402 LIBS="$save_LIBS"
31403 fi
31404
31405 wxUSE_UNIVERSAL="yes"
31406
31407 if test "$wxUSE_NANOX" = "yes"; then
31408 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31409 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"
31410 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31411 else
31412 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31413 fi
31414
31415 TOOLKIT=X11
31416 GUIDIST=X11_DIST
31417 fi
31418
31419 if test "$wxUSE_MOTIF" = 1; then
31420 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31421 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31422
31423 ac_find_includes=
31424 for ac_dir in $SEARCH_INCLUDE /usr/include;
31425 do
31426 if test -f "$ac_dir/Xm/Xm.h"; then
31427 ac_find_includes=$ac_dir
31428 break
31429 fi
31430 done
31431
31432 if test "$ac_find_includes" != "" ; then
31433 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31434 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31435
31436 if test "x$ac_find_includes" = "x/usr/include"; then
31437 ac_path_to_include=""
31438 else
31439 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31440 result=$?
31441 if test $result = 0; then
31442 ac_path_to_include=""
31443 else
31444 ac_path_to_include=" -I$ac_find_includes"
31445 fi
31446 fi
31447
31448 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31449 else
31450 save_CFLAGS=$CFLAGS
31451 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31452
31453 cat >conftest.$ac_ext <<_ACEOF
31454 /* confdefs.h. */
31455 _ACEOF
31456 cat confdefs.h >>conftest.$ac_ext
31457 cat >>conftest.$ac_ext <<_ACEOF
31458 /* end confdefs.h. */
31459
31460 #include <Xm/Xm.h>
31461
31462 int
31463 main ()
31464 {
31465
31466 int version;
31467 version = xmUseVersion;
31468
31469 ;
31470 return 0;
31471 }
31472 _ACEOF
31473 rm -f conftest.$ac_objext
31474 if { (ac_try="$ac_compile"
31475 case "(($ac_try" in
31476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31477 *) ac_try_echo=$ac_try;;
31478 esac
31479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31480 (eval "$ac_compile") 2>conftest.er1
31481 ac_status=$?
31482 grep -v '^ *+' conftest.er1 >conftest.err
31483 rm -f conftest.er1
31484 cat conftest.err >&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); } && {
31487 test -z "$ac_c_werror_flag" ||
31488 test ! -s conftest.err
31489 } && test -s conftest.$ac_objext; then
31490
31491 { echo "$as_me:$LINENO: result: found in default search path" >&5
31492 echo "${ECHO_T}found in default search path" >&6; }
31493 COMPILED_X_PROGRAM=1
31494
31495 else
31496 echo "$as_me: failed program was:" >&5
31497 sed 's/^/| /' conftest.$ac_ext >&5
31498
31499
31500 { echo "$as_me:$LINENO: result: no" >&5
31501 echo "${ECHO_T}no" >&6; }
31502 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31503 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31504 { (exit 1); exit 1; }; }
31505
31506
31507 fi
31508
31509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31510
31511 CFLAGS=$save_CFLAGS
31512 fi
31513
31514
31515 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31516 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31517
31518 ac_find_libraries=
31519 for ac_dir in $SEARCH_LIB;
31520 do
31521 for ac_extension in a so sl dylib dll.a; do
31522 if test -f "$ac_dir/libXm.$ac_extension"; then
31523 ac_find_libraries=$ac_dir
31524 break 2
31525 fi
31526 done
31527 done
31528
31529
31530 if test "x$ac_find_libraries" != "x" ; then
31531 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31532 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31533
31534
31535 if test "$ac_find_libraries" = "default location"; then
31536 ac_path_to_link=""
31537 else
31538 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31539 result=$?
31540 if test $result = 0; then
31541 ac_path_to_link=""
31542 else
31543 ac_path_to_link=" -L$ac_find_libraries"
31544 fi
31545 fi
31546
31547 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31548 else
31549 save_CFLAGS=$CFLAGS
31550 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31551 save_LIBS="$LIBS"
31552 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31553
31554 cat >conftest.$ac_ext <<_ACEOF
31555 /* confdefs.h. */
31556 _ACEOF
31557 cat confdefs.h >>conftest.$ac_ext
31558 cat >>conftest.$ac_ext <<_ACEOF
31559 /* end confdefs.h. */
31560
31561 #include <Xm/Xm.h>
31562
31563 int
31564 main ()
31565 {
31566
31567 int version;
31568 version = xmUseVersion;
31569
31570 ;
31571 return 0;
31572 }
31573 _ACEOF
31574 rm -f conftest.$ac_objext conftest$ac_exeext
31575 if { (ac_try="$ac_link"
31576 case "(($ac_try" in
31577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31578 *) ac_try_echo=$ac_try;;
31579 esac
31580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31581 (eval "$ac_link") 2>conftest.er1
31582 ac_status=$?
31583 grep -v '^ *+' conftest.er1 >conftest.err
31584 rm -f conftest.er1
31585 cat conftest.err >&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); } && {
31588 test -z "$ac_c_werror_flag" ||
31589 test ! -s conftest.err
31590 } && test -s conftest$ac_exeext &&
31591 $as_test_x conftest$ac_exeext; then
31592
31593 { echo "$as_me:$LINENO: result: found in default search path" >&5
31594 echo "${ECHO_T}found in default search path" >&6; }
31595 COMPILED_X_PROGRAM=1
31596
31597 else
31598 echo "$as_me: failed program was:" >&5
31599 sed 's/^/| /' conftest.$ac_ext >&5
31600
31601
31602 { echo "$as_me:$LINENO: result: no" >&5
31603 echo "${ECHO_T}no" >&6; }
31604 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31605 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31606 { (exit 1); exit 1; }; }
31607
31608
31609 fi
31610
31611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31612 conftest$ac_exeext conftest.$ac_ext
31613
31614 CFLAGS=$save_CFLAGS
31615 LIBS="$save_LIBS"
31616 fi
31617
31618 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31619 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31620 libp_link=""
31621 libsm_ice_link=""
31622 libs_found=0
31623 for libp in "" " -lXp"; do
31624 if test "$libs_found" = 0; then
31625 for libsm_ice in "" " -lSM -lICE"; do
31626 if test "$libs_found" = 0; then
31627 save_LIBS="$LIBS"
31628 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31629 save_CFLAGS=$CFLAGS
31630 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31631
31632 cat >conftest.$ac_ext <<_ACEOF
31633 /* confdefs.h. */
31634 _ACEOF
31635 cat confdefs.h >>conftest.$ac_ext
31636 cat >>conftest.$ac_ext <<_ACEOF
31637 /* end confdefs.h. */
31638
31639 #include <Xm/Xm.h>
31640 #include <Xm/List.h>
31641
31642 int
31643 main ()
31644 {
31645
31646 XmString string = NULL;
31647 Widget w = NULL;
31648 int position = 0;
31649 XmListAddItem(w, string, position);
31650
31651 ;
31652 return 0;
31653 }
31654 _ACEOF
31655 rm -f conftest.$ac_objext conftest$ac_exeext
31656 if { (ac_try="$ac_link"
31657 case "(($ac_try" in
31658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31659 *) ac_try_echo=$ac_try;;
31660 esac
31661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31662 (eval "$ac_link") 2>conftest.er1
31663 ac_status=$?
31664 grep -v '^ *+' conftest.er1 >conftest.err
31665 rm -f conftest.er1
31666 cat conftest.err >&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); } && {
31669 test -z "$ac_c_werror_flag" ||
31670 test ! -s conftest.err
31671 } && test -s conftest$ac_exeext &&
31672 $as_test_x conftest$ac_exeext; then
31673
31674 libp_link="$libp"
31675 libsm_ice_link="$libsm_ice"
31676 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31677 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31678 libs_found=1
31679
31680 else
31681 echo "$as_me: failed program was:" >&5
31682 sed 's/^/| /' conftest.$ac_ext >&5
31683
31684
31685
31686 fi
31687
31688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31689 conftest$ac_exeext conftest.$ac_ext
31690
31691 LIBS="$save_LIBS"
31692 CFLAGS=$save_CFLAGS
31693 fi
31694 done
31695 fi
31696 done
31697
31698 if test "$libs_found" = 0; then
31699 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31700 echo "${ECHO_T}can't find the right libraries" >&6; }
31701 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31702 echo "$as_me: error: can't link a simple motif program" >&2;}
31703 { (exit 1); exit 1; }; }
31704 fi
31705
31706 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31707 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31708 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31709 echo $ECHO_N "(cached) $ECHO_C" >&6
31710 else
31711 ac_check_lib_save_LIBS=$LIBS
31712 LIBS="-lSgm $LIBS"
31713 cat >conftest.$ac_ext <<_ACEOF
31714 /* confdefs.h. */
31715 _ACEOF
31716 cat confdefs.h >>conftest.$ac_ext
31717 cat >>conftest.$ac_ext <<_ACEOF
31718 /* end confdefs.h. */
31719
31720 /* Override any GCC internal prototype to avoid an error.
31721 Use char because int might match the return type of a GCC
31722 builtin and then its argument prototype would still apply. */
31723 #ifdef __cplusplus
31724 extern "C"
31725 #endif
31726 char SgCreateList ();
31727 int
31728 main ()
31729 {
31730 return SgCreateList ();
31731 ;
31732 return 0;
31733 }
31734 _ACEOF
31735 rm -f conftest.$ac_objext conftest$ac_exeext
31736 if { (ac_try="$ac_link"
31737 case "(($ac_try" in
31738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31739 *) ac_try_echo=$ac_try;;
31740 esac
31741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31742 (eval "$ac_link") 2>conftest.er1
31743 ac_status=$?
31744 grep -v '^ *+' conftest.er1 >conftest.err
31745 rm -f conftest.er1
31746 cat conftest.err >&5
31747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31748 (exit $ac_status); } && {
31749 test -z "$ac_c_werror_flag" ||
31750 test ! -s conftest.err
31751 } && test -s conftest$ac_exeext &&
31752 $as_test_x conftest$ac_exeext; then
31753 ac_cv_lib_Sgm_SgCreateList=yes
31754 else
31755 echo "$as_me: failed program was:" >&5
31756 sed 's/^/| /' conftest.$ac_ext >&5
31757
31758 ac_cv_lib_Sgm_SgCreateList=no
31759 fi
31760
31761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31762 conftest$ac_exeext conftest.$ac_ext
31763 LIBS=$ac_check_lib_save_LIBS
31764 fi
31765 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31766 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31767 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31768 libsgm_link=" -lSgm"
31769 fi
31770
31771
31772 save_CFLAGS=$CFLAGS
31773 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31774
31775 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31776 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31777 if test "${wx_cv_lib_motif2+set}" = set; then
31778 echo $ECHO_N "(cached) $ECHO_C" >&6
31779 else
31780 cat >conftest.$ac_ext <<_ACEOF
31781 /* confdefs.h. */
31782 _ACEOF
31783 cat confdefs.h >>conftest.$ac_ext
31784 cat >>conftest.$ac_ext <<_ACEOF
31785 /* end confdefs.h. */
31786
31787 #include <Xm/Xm.h>
31788
31789 int
31790 main ()
31791 {
31792
31793 #if XmVersion < 2000
31794 Not Motif 2
31795 #endif
31796
31797 ;
31798 return 0;
31799 }
31800 _ACEOF
31801 rm -f conftest.$ac_objext
31802 if { (ac_try="$ac_compile"
31803 case "(($ac_try" in
31804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31805 *) ac_try_echo=$ac_try;;
31806 esac
31807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31808 (eval "$ac_compile") 2>conftest.er1
31809 ac_status=$?
31810 grep -v '^ *+' conftest.er1 >conftest.err
31811 rm -f conftest.er1
31812 cat conftest.err >&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } && {
31815 test -z "$ac_c_werror_flag" ||
31816 test ! -s conftest.err
31817 } && test -s conftest.$ac_objext; then
31818 wx_cv_lib_motif2="yes"
31819 else
31820 echo "$as_me: failed program was:" >&5
31821 sed 's/^/| /' conftest.$ac_ext >&5
31822
31823 wx_cv_lib_motif2="no"
31824 fi
31825
31826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31827 fi
31828 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31829 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31830 if test "$wx_cv_lib_motif2" = "yes"; then
31831 cat >>confdefs.h <<\_ACEOF
31832 #define __WXMOTIF20__ 1
31833 _ACEOF
31834
31835 else
31836 cat >>confdefs.h <<\_ACEOF
31837 #define __WXMOTIF20__ 0
31838 _ACEOF
31839
31840 fi
31841
31842 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31843 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31844 if test "${wx_cv_lib_lesstif+set}" = set; then
31845 echo $ECHO_N "(cached) $ECHO_C" >&6
31846 else
31847 cat >conftest.$ac_ext <<_ACEOF
31848 /* confdefs.h. */
31849 _ACEOF
31850 cat confdefs.h >>conftest.$ac_ext
31851 cat >>conftest.$ac_ext <<_ACEOF
31852 /* end confdefs.h. */
31853
31854 #include <Xm/Xm.h>
31855
31856 int
31857 main ()
31858 {
31859
31860 #if !defined(LesstifVersion) || LesstifVersion <= 0
31861 Not Lesstif
31862 #endif
31863
31864 ;
31865 return 0;
31866 }
31867 _ACEOF
31868 rm -f conftest.$ac_objext
31869 if { (ac_try="$ac_compile"
31870 case "(($ac_try" in
31871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31872 *) ac_try_echo=$ac_try;;
31873 esac
31874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31875 (eval "$ac_compile") 2>conftest.er1
31876 ac_status=$?
31877 grep -v '^ *+' conftest.er1 >conftest.err
31878 rm -f conftest.er1
31879 cat conftest.err >&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); } && {
31882 test -z "$ac_c_werror_flag" ||
31883 test ! -s conftest.err
31884 } && test -s conftest.$ac_objext; then
31885 wx_cv_lib_lesstif="yes"
31886 else
31887 echo "$as_me: failed program was:" >&5
31888 sed 's/^/| /' conftest.$ac_ext >&5
31889
31890 wx_cv_lib_lesstif="no"
31891 fi
31892
31893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31894
31895 fi
31896 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31897 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31898 if test "$wx_cv_lib_lesstif" = "yes"; then
31899 cat >>confdefs.h <<\_ACEOF
31900 #define __WXLESSTIF__ 1
31901 _ACEOF
31902
31903 else
31904 cat >>confdefs.h <<\_ACEOF
31905 #define __WXLESSTIF__ 0
31906 _ACEOF
31907
31908 fi
31909
31910 CFLAGS=$save_CFLAGS
31911
31912 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31913 TOOLKIT=MOTIF
31914 GUIDIST=MOTIF_DIST
31915 fi
31916
31917 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31918 if test "$wxUSE_LIBXPM" = "sys"; then
31919 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31920 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31921
31922 ac_find_libraries=
31923 for ac_dir in $SEARCH_LIB;
31924 do
31925 for ac_extension in a so sl dylib dll.a; do
31926 if test -f "$ac_dir/libXpm.$ac_extension"; then
31927 ac_find_libraries=$ac_dir
31928 break 2
31929 fi
31930 done
31931 done
31932
31933 if test "$ac_find_libraries" != "" ; then
31934
31935 if test "$ac_find_libraries" = "default location"; then
31936 ac_path_to_link=""
31937 else
31938 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31939 result=$?
31940 if test $result = 0; then
31941 ac_path_to_link=""
31942 else
31943 ac_path_to_link=" -L$ac_find_libraries"
31944 fi
31945 fi
31946
31947 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31948 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31949 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31950
31951 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31952 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31953 if test "${wx_cv_x11_xpm_h+set}" = set; then
31954 echo $ECHO_N "(cached) $ECHO_C" >&6
31955 else
31956
31957 save_CFLAGS=$CFLAGS
31958 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31959
31960 cat >conftest.$ac_ext <<_ACEOF
31961 /* confdefs.h. */
31962 _ACEOF
31963 cat confdefs.h >>conftest.$ac_ext
31964 cat >>conftest.$ac_ext <<_ACEOF
31965 /* end confdefs.h. */
31966
31967 #include <X11/xpm.h>
31968
31969 int
31970 main ()
31971 {
31972
31973 int version;
31974 version = XpmLibraryVersion();
31975
31976 ;
31977 return 0;
31978 }
31979 _ACEOF
31980 rm -f conftest.$ac_objext
31981 if { (ac_try="$ac_compile"
31982 case "(($ac_try" in
31983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31984 *) ac_try_echo=$ac_try;;
31985 esac
31986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31987 (eval "$ac_compile") 2>conftest.er1
31988 ac_status=$?
31989 grep -v '^ *+' conftest.er1 >conftest.err
31990 rm -f conftest.er1
31991 cat conftest.err >&5
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); } && {
31994 test -z "$ac_c_werror_flag" ||
31995 test ! -s conftest.err
31996 } && test -s conftest.$ac_objext; then
31997 wx_cv_x11_xpm_h=yes
31998 else
31999 echo "$as_me: failed program was:" >&5
32000 sed 's/^/| /' conftest.$ac_ext >&5
32001
32002 wx_cv_x11_xpm_h=no
32003
32004 fi
32005
32006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32007
32008 CFLAGS=$save_CFLAGS
32009
32010
32011 fi
32012 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32013 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32014
32015 if test $wx_cv_x11_xpm_h = "yes"; then
32016 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32017 cat >>confdefs.h <<\_ACEOF
32018 #define wxHAVE_LIB_XPM 1
32019 _ACEOF
32020
32021 else
32022 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32023 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32024 fi
32025 fi
32026
32027 fi
32028
32029 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32030 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32031 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32032 echo $ECHO_N "(cached) $ECHO_C" >&6
32033 else
32034 ac_check_lib_save_LIBS=$LIBS
32035 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32036 cat >conftest.$ac_ext <<_ACEOF
32037 /* confdefs.h. */
32038 _ACEOF
32039 cat confdefs.h >>conftest.$ac_ext
32040 cat >>conftest.$ac_ext <<_ACEOF
32041 /* end confdefs.h. */
32042
32043 /* Override any GCC internal prototype to avoid an error.
32044 Use char because int might match the return type of a GCC
32045 builtin and then its argument prototype would still apply. */
32046 #ifdef __cplusplus
32047 extern "C"
32048 #endif
32049 char XShapeQueryExtension ();
32050 int
32051 main ()
32052 {
32053 return XShapeQueryExtension ();
32054 ;
32055 return 0;
32056 }
32057 _ACEOF
32058 rm -f conftest.$ac_objext conftest$ac_exeext
32059 if { (ac_try="$ac_link"
32060 case "(($ac_try" in
32061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32062 *) ac_try_echo=$ac_try;;
32063 esac
32064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32065 (eval "$ac_link") 2>conftest.er1
32066 ac_status=$?
32067 grep -v '^ *+' conftest.er1 >conftest.err
32068 rm -f conftest.er1
32069 cat conftest.err >&5
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); } && {
32072 test -z "$ac_c_werror_flag" ||
32073 test ! -s conftest.err
32074 } && test -s conftest$ac_exeext &&
32075 $as_test_x conftest$ac_exeext; then
32076 ac_cv_lib_Xext_XShapeQueryExtension=yes
32077 else
32078 echo "$as_me: failed program was:" >&5
32079 sed 's/^/| /' conftest.$ac_ext >&5
32080
32081 ac_cv_lib_Xext_XShapeQueryExtension=no
32082 fi
32083
32084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32085 conftest$ac_exeext conftest.$ac_ext
32086 LIBS=$ac_check_lib_save_LIBS
32087 fi
32088 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32089 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32090 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32091
32092 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32093 wxHAVE_XEXT_LIB=1
32094
32095 fi
32096
32097
32098 if test "$wxHAVE_XEXT_LIB" = 1; then
32099 save_CFLAGS="$CFLAGS"
32100 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32101
32102 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32103 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32104 cat >conftest.$ac_ext <<_ACEOF
32105 /* confdefs.h. */
32106 _ACEOF
32107 cat confdefs.h >>conftest.$ac_ext
32108 cat >>conftest.$ac_ext <<_ACEOF
32109 /* end confdefs.h. */
32110
32111 #include <X11/Xlib.h>
32112 #include <X11/extensions/shape.h>
32113
32114 int
32115 main ()
32116 {
32117
32118 int dummy1, dummy2;
32119 XShapeQueryExtension((Display*)NULL,
32120 (int*)NULL, (int*)NULL);
32121
32122 ;
32123 return 0;
32124 }
32125 _ACEOF
32126 rm -f conftest.$ac_objext
32127 if { (ac_try="$ac_compile"
32128 case "(($ac_try" in
32129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32130 *) ac_try_echo=$ac_try;;
32131 esac
32132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32133 (eval "$ac_compile") 2>conftest.er1
32134 ac_status=$?
32135 grep -v '^ *+' conftest.er1 >conftest.err
32136 rm -f conftest.er1
32137 cat conftest.err >&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); } && {
32140 test -z "$ac_c_werror_flag" ||
32141 test ! -s conftest.err
32142 } && test -s conftest.$ac_objext; then
32143
32144 cat >>confdefs.h <<\_ACEOF
32145 #define HAVE_XSHAPE 1
32146 _ACEOF
32147
32148 { echo "$as_me:$LINENO: result: found" >&5
32149 echo "${ECHO_T}found" >&6; }
32150
32151 else
32152 echo "$as_me: failed program was:" >&5
32153 sed 's/^/| /' conftest.$ac_ext >&5
32154
32155
32156 { echo "$as_me:$LINENO: result: not found" >&5
32157 echo "${ECHO_T}not found" >&6; }
32158
32159 fi
32160
32161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32162 CFLAGS="$save_CFLAGS"
32163
32164 fi
32165 fi
32166
32167 if test "$wxUSE_MAC" = 1; then
32168 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32169 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32170 if test "$GCC" = yes; then
32171 { echo "$as_me:$LINENO: result: gcc" >&5
32172 echo "${ECHO_T}gcc" >&6; }
32173 CPPFLAGS_PASCAL="-fpascal-strings"
32174 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32175 { echo "$as_me:$LINENO: result: xlc" >&5
32176 echo "${ECHO_T}xlc" >&6; }
32177 CPPFLAGS_PASCAL="-qmacpstr"
32178 else
32179 { echo "$as_me:$LINENO: result: none" >&5
32180 echo "${ECHO_T}none" >&6; }
32181 fi
32182
32183 if test "x$wxUSE_UNIX" = "xyes"; then
32184 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32185 else
32186 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32187 fi
32188
32189 TOOLKIT=MAC
32190 GUIDIST=MACX_DIST
32191 WXBASEPORT="_carbon"
32192 fi
32193
32194 if test "$wxUSE_COCOA" = 1; then
32195 TOOLKIT=COCOA
32196 GUIDIST=COCOA_DIST
32197 fi
32198
32199 if test "$wxUSE_PM" = 1; then
32200 TOOLKIT=PM
32201 GUIDIST=PM_DIST
32202 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32203 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32204 if test "${wx_cv_spbcdata+set}" = set; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 else
32207
32208 cat >conftest.$ac_ext <<_ACEOF
32209 /* confdefs.h. */
32210 _ACEOF
32211 cat confdefs.h >>conftest.$ac_ext
32212 cat >>conftest.$ac_ext <<_ACEOF
32213 /* end confdefs.h. */
32214
32215 #define INCL_PM
32216 #include <os2.h>
32217
32218 int
32219 main ()
32220 {
32221
32222 SPBCDATA test;
32223
32224 ;
32225 return 0;
32226 }
32227 _ACEOF
32228 rm -f conftest.$ac_objext
32229 if { (ac_try="$ac_compile"
32230 case "(($ac_try" in
32231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32232 *) ac_try_echo=$ac_try;;
32233 esac
32234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32235 (eval "$ac_compile") 2>conftest.er1
32236 ac_status=$?
32237 grep -v '^ *+' conftest.er1 >conftest.err
32238 rm -f conftest.er1
32239 cat conftest.err >&5
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); } && {
32242 test -z "$ac_c_werror_flag" ||
32243 test ! -s conftest.err
32244 } && test -s conftest.$ac_objext; then
32245 wx_cv_spbcdata=yes
32246 else
32247 echo "$as_me: failed program was:" >&5
32248 sed 's/^/| /' conftest.$ac_ext >&5
32249
32250 wx_cv_spbcdata=no
32251
32252 fi
32253
32254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32255
32256
32257 fi
32258 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32259 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32260
32261 if test $wx_cv_spbcdata = "yes"; then
32262 cat >>confdefs.h <<\_ACEOF
32263 #define HAVE_SPBCDATA 1
32264 _ACEOF
32265
32266 fi
32267 fi
32268
32269 if test "$TOOLKIT" = "PM" ; then
32270 TOOLKIT_DIR="os2"
32271 else
32272 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32273 fi
32274
32275 if test "$wxUSE_UNIVERSAL" = "yes"; then
32276 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32277 WIDGET_SET=univ
32278 fi
32279
32280 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32281 DISTDIR="wx\$(TOOLKIT)"
32282 else
32283 USE_GUI=0
32284
32285 TOOLKIT_DIR="base"
32286
32287 if test "$USE_WIN32" = 1 ; then
32288 TOOLKIT="MSW"
32289 fi
32290
32291 GUIDIST="BASE_DIST"
32292 DISTDIR="wxBase"
32293 fi
32294
32295
32296
32297 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32298 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32299 wxUSE_UNICODE_UTF8=yes
32300 elif test "$USE_OS2" = 1 ; then
32301 wxUSE_UNICODE_UTF8=yes
32302 else
32303 wxUSE_UNICODE_UTF8=no
32304 fi
32305 fi
32306
32307
32308 if test "$wxUSE_GUI" = "yes"; then
32309 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32310
32311 for ac_header in X11/Xlib.h
32312 do
32313 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32314 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32316 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32317 echo $ECHO_N "(cached) $ECHO_C" >&6
32318 else
32319 cat >conftest.$ac_ext <<_ACEOF
32320 /* confdefs.h. */
32321 _ACEOF
32322 cat confdefs.h >>conftest.$ac_ext
32323 cat >>conftest.$ac_ext <<_ACEOF
32324 /* end confdefs.h. */
32325
32326
32327 #include <$ac_header>
32328 _ACEOF
32329 rm -f conftest.$ac_objext
32330 if { (ac_try="$ac_compile"
32331 case "(($ac_try" in
32332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32333 *) ac_try_echo=$ac_try;;
32334 esac
32335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32336 (eval "$ac_compile") 2>conftest.er1
32337 ac_status=$?
32338 grep -v '^ *+' conftest.er1 >conftest.err
32339 rm -f conftest.er1
32340 cat conftest.err >&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } && {
32343 test -z "$ac_c_werror_flag" ||
32344 test ! -s conftest.err
32345 } && test -s conftest.$ac_objext; then
32346 eval "$as_ac_Header=yes"
32347 else
32348 echo "$as_me: failed program was:" >&5
32349 sed 's/^/| /' conftest.$ac_ext >&5
32350
32351 eval "$as_ac_Header=no"
32352 fi
32353
32354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32355 fi
32356 ac_res=`eval echo '${'$as_ac_Header'}'`
32357 { echo "$as_me:$LINENO: result: $ac_res" >&5
32358 echo "${ECHO_T}$ac_res" >&6; }
32359 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32360 cat >>confdefs.h <<_ACEOF
32361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32362 _ACEOF
32363
32364 fi
32365
32366 done
32367
32368
32369 for ac_header in X11/XKBlib.h
32370 do
32371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32372 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32375 echo $ECHO_N "(cached) $ECHO_C" >&6
32376 else
32377 cat >conftest.$ac_ext <<_ACEOF
32378 /* confdefs.h. */
32379 _ACEOF
32380 cat confdefs.h >>conftest.$ac_ext
32381 cat >>conftest.$ac_ext <<_ACEOF
32382 /* end confdefs.h. */
32383
32384 #if HAVE_X11_XLIB_H
32385 #include <X11/Xlib.h>
32386 #endif
32387
32388
32389 #include <$ac_header>
32390 _ACEOF
32391 rm -f conftest.$ac_objext
32392 if { (ac_try="$ac_compile"
32393 case "(($ac_try" in
32394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32395 *) ac_try_echo=$ac_try;;
32396 esac
32397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32398 (eval "$ac_compile") 2>conftest.er1
32399 ac_status=$?
32400 grep -v '^ *+' conftest.er1 >conftest.err
32401 rm -f conftest.er1
32402 cat conftest.err >&5
32403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32404 (exit $ac_status); } && {
32405 test -z "$ac_c_werror_flag" ||
32406 test ! -s conftest.err
32407 } && test -s conftest.$ac_objext; then
32408 eval "$as_ac_Header=yes"
32409 else
32410 echo "$as_me: failed program was:" >&5
32411 sed 's/^/| /' conftest.$ac_ext >&5
32412
32413 eval "$as_ac_Header=no"
32414 fi
32415
32416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32417 fi
32418 ac_res=`eval echo '${'$as_ac_Header'}'`
32419 { echo "$as_me:$LINENO: result: $ac_res" >&5
32420 echo "${ECHO_T}$ac_res" >&6; }
32421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32422 cat >>confdefs.h <<_ACEOF
32423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32424 _ACEOF
32425
32426 fi
32427
32428 done
32429
32430 fi
32431 fi
32432
32433
32434
32435 if test "$wxUSE_DISPLAY" = "yes"; then
32436 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32437 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32438 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32439
32440 ac_find_libraries=
32441 for ac_dir in $SEARCH_LIB;
32442 do
32443 for ac_extension in a so sl dylib dll.a; do
32444 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32445 ac_find_libraries=$ac_dir
32446 break 2
32447 fi
32448 done
32449 done
32450
32451 if test "$ac_find_libraries" != "" ; then
32452
32453 if test "$ac_find_libraries" = "default location"; then
32454 ac_path_to_link=""
32455 else
32456 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32457 result=$?
32458 if test $result = 0; then
32459 ac_path_to_link=""
32460 else
32461 ac_path_to_link=" -L$ac_find_libraries"
32462 fi
32463 fi
32464
32465 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32466 LDFLAGS="$LDFLAGS $ac_path_to_link"
32467 fi
32468 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32469 { echo "$as_me:$LINENO: result: yes" >&5
32470 echo "${ECHO_T}yes" >&6; }
32471
32472 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32473 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32474
32475 ac_find_libraries=
32476 for ac_dir in $SEARCH_LIB;
32477 do
32478 for ac_extension in a so sl dylib dll.a; do
32479 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32480 ac_find_libraries=$ac_dir
32481 break 2
32482 fi
32483 done
32484 done
32485
32486 if test "$ac_find_libraries" != "" ; then
32487 { echo "$as_me:$LINENO: result: yes" >&5
32488 echo "${ECHO_T}yes" >&6; }
32489
32490 for ac_header in X11/extensions/xf86vmode.h
32491 do
32492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32493 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32496 echo $ECHO_N "(cached) $ECHO_C" >&6
32497 else
32498 cat >conftest.$ac_ext <<_ACEOF
32499 /* confdefs.h. */
32500 _ACEOF
32501 cat confdefs.h >>conftest.$ac_ext
32502 cat >>conftest.$ac_ext <<_ACEOF
32503 /* end confdefs.h. */
32504
32505 #if HAVE_X11_XLIB_H
32506 #include <X11/Xlib.h>
32507 #endif
32508
32509
32510 #include <$ac_header>
32511 _ACEOF
32512 rm -f conftest.$ac_objext
32513 if { (ac_try="$ac_compile"
32514 case "(($ac_try" in
32515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32516 *) ac_try_echo=$ac_try;;
32517 esac
32518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32519 (eval "$ac_compile") 2>conftest.er1
32520 ac_status=$?
32521 grep -v '^ *+' conftest.er1 >conftest.err
32522 rm -f conftest.er1
32523 cat conftest.err >&5
32524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525 (exit $ac_status); } && {
32526 test -z "$ac_c_werror_flag" ||
32527 test ! -s conftest.err
32528 } && test -s conftest.$ac_objext; then
32529 eval "$as_ac_Header=yes"
32530 else
32531 echo "$as_me: failed program was:" >&5
32532 sed 's/^/| /' conftest.$ac_ext >&5
32533
32534 eval "$as_ac_Header=no"
32535 fi
32536
32537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32538 fi
32539 ac_res=`eval echo '${'$as_ac_Header'}'`
32540 { echo "$as_me:$LINENO: result: $ac_res" >&5
32541 echo "${ECHO_T}$ac_res" >&6; }
32542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32543 cat >>confdefs.h <<_ACEOF
32544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32545 _ACEOF
32546
32547 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32548
32549 fi
32550
32551 done
32552
32553 else
32554 { echo "$as_me:$LINENO: result: no" >&5
32555 echo "${ECHO_T}no" >&6; }
32556 fi
32557
32558 else
32559 { echo "$as_me:$LINENO: result: no" >&5
32560 echo "${ECHO_T}no" >&6; }
32561 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32562 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32563 wxUSE_DISPLAY="no"
32564 fi
32565 elif test "$wxUSE_MSW" = 1; then
32566 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32567 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32568 if test "${ac_cv_header_ddraw_h+set}" = set; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32570 else
32571 cat >conftest.$ac_ext <<_ACEOF
32572 /* confdefs.h. */
32573 _ACEOF
32574 cat confdefs.h >>conftest.$ac_ext
32575 cat >>conftest.$ac_ext <<_ACEOF
32576 /* end confdefs.h. */
32577 #include <windows.h>
32578
32579 #include <ddraw.h>
32580 _ACEOF
32581 rm -f conftest.$ac_objext
32582 if { (ac_try="$ac_compile"
32583 case "(($ac_try" in
32584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32585 *) ac_try_echo=$ac_try;;
32586 esac
32587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32588 (eval "$ac_compile") 2>conftest.er1
32589 ac_status=$?
32590 grep -v '^ *+' conftest.er1 >conftest.err
32591 rm -f conftest.er1
32592 cat conftest.err >&5
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); } && {
32595 test -z "$ac_c_werror_flag" ||
32596 test ! -s conftest.err
32597 } && test -s conftest.$ac_objext; then
32598 ac_cv_header_ddraw_h=yes
32599 else
32600 echo "$as_me: failed program was:" >&5
32601 sed 's/^/| /' conftest.$ac_ext >&5
32602
32603 ac_cv_header_ddraw_h=no
32604 fi
32605
32606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32607 fi
32608 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32609 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32610
32611
32612 fi
32613 fi
32614
32615 if test "$wxUSE_DETECT_SM" = "yes"; then
32616 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32617 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32618 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32619
32620 ac_find_libraries=
32621 for ac_dir in $SEARCH_LIB;
32622 do
32623 for ac_extension in a so sl dylib dll.a; do
32624 if test -f "$ac_dir/libSM.$ac_extension"; then
32625 ac_find_libraries=$ac_dir
32626 break 2
32627 fi
32628 done
32629 done
32630
32631 if test "$ac_find_libraries" != "" ; then
32632
32633 if test "$ac_find_libraries" = "default location"; then
32634 ac_path_to_link=""
32635 else
32636 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32637 result=$?
32638 if test $result = 0; then
32639 ac_path_to_link=""
32640 else
32641 ac_path_to_link=" -L$ac_find_libraries"
32642 fi
32643 fi
32644
32645 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32646 LDFLAGS="$LDFLAGS $ac_path_to_link"
32647 fi
32648 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32649 { echo "$as_me:$LINENO: result: yes" >&5
32650 echo "${ECHO_T}yes" >&6; }
32651 else
32652 { echo "$as_me:$LINENO: result: no" >&5
32653 echo "${ECHO_T}no" >&6; }
32654 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32655 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32656 wxUSE_DETECT_SM="no"
32657 fi
32658 else
32659 wxUSE_DETECT_SM="no"
32660 fi
32661 fi
32662
32663
32664
32665 USE_OPENGL=0
32666 if test "$wxUSE_OPENGL" = "yes"; then
32667 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32668 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32669 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32670 wxUSE_OPENGL="no"
32671 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32672 OPENGL_LIBS="-framework OpenGL -framework AGL"
32673 elif test "$wxUSE_MSW" = 1; then
32674 OPENGL_LIBS="-lopengl32 -lglu32"
32675 else
32676 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32677 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32678
32679 ac_find_includes=
32680 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32681 do
32682 if test -f "$ac_dir/GL/gl.h"; then
32683 ac_find_includes=$ac_dir
32684 break
32685 fi
32686 done
32687
32688 if test "$ac_find_includes" != "" ; then
32689 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32690 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32691
32692 if test "x$ac_find_includes" = "x/usr/include"; then
32693 ac_path_to_include=""
32694 else
32695 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32696 result=$?
32697 if test $result = 0; then
32698 ac_path_to_include=""
32699 else
32700 ac_path_to_include=" -I$ac_find_includes"
32701 fi
32702 fi
32703
32704 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32705 else
32706 { echo "$as_me:$LINENO: result: not found" >&5
32707 echo "${ECHO_T}not found" >&6; }
32708 fi
32709
32710 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32711 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32712 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32713 echo $ECHO_N "(cached) $ECHO_C" >&6
32714 else
32715 cat >conftest.$ac_ext <<_ACEOF
32716 /* confdefs.h. */
32717 _ACEOF
32718 cat confdefs.h >>conftest.$ac_ext
32719 cat >>conftest.$ac_ext <<_ACEOF
32720 /* end confdefs.h. */
32721
32722
32723 #include <GL/gl.h>
32724 _ACEOF
32725 rm -f conftest.$ac_objext
32726 if { (ac_try="$ac_compile"
32727 case "(($ac_try" in
32728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32729 *) ac_try_echo=$ac_try;;
32730 esac
32731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32732 (eval "$ac_compile") 2>conftest.er1
32733 ac_status=$?
32734 grep -v '^ *+' conftest.er1 >conftest.err
32735 rm -f conftest.er1
32736 cat conftest.err >&5
32737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32738 (exit $ac_status); } && {
32739 test -z "$ac_c_werror_flag" ||
32740 test ! -s conftest.err
32741 } && test -s conftest.$ac_objext; then
32742 ac_cv_header_GL_gl_h=yes
32743 else
32744 echo "$as_me: failed program was:" >&5
32745 sed 's/^/| /' conftest.$ac_ext >&5
32746
32747 ac_cv_header_GL_gl_h=no
32748 fi
32749
32750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32751 fi
32752 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32753 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32754 if test $ac_cv_header_GL_gl_h = yes; then
32755
32756 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32757 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32758 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32759 echo $ECHO_N "(cached) $ECHO_C" >&6
32760 else
32761 cat >conftest.$ac_ext <<_ACEOF
32762 /* confdefs.h. */
32763 _ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32767
32768
32769 #include <GL/glu.h>
32770 _ACEOF
32771 rm -f conftest.$ac_objext
32772 if { (ac_try="$ac_compile"
32773 case "(($ac_try" in
32774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32775 *) ac_try_echo=$ac_try;;
32776 esac
32777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32778 (eval "$ac_compile") 2>conftest.er1
32779 ac_status=$?
32780 grep -v '^ *+' conftest.er1 >conftest.err
32781 rm -f conftest.er1
32782 cat conftest.err >&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); } && {
32785 test -z "$ac_c_werror_flag" ||
32786 test ! -s conftest.err
32787 } && test -s conftest.$ac_objext; then
32788 ac_cv_header_GL_glu_h=yes
32789 else
32790 echo "$as_me: failed program was:" >&5
32791 sed 's/^/| /' conftest.$ac_ext >&5
32792
32793 ac_cv_header_GL_glu_h=no
32794 fi
32795
32796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32797 fi
32798 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32799 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32800 if test $ac_cv_header_GL_glu_h = yes; then
32801
32802 found_gl=0
32803
32804 { echo "$as_me:$LINENO: checking for -lGL" >&5
32805 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32806
32807 ac_find_libraries=
32808 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32809 do
32810 for ac_extension in a so sl dylib dll.a; do
32811 if test -f "$ac_dir/libGL.$ac_extension"; then
32812 ac_find_libraries=$ac_dir
32813 break 2
32814 fi
32815 done
32816 done
32817
32818 if test "$ac_find_libraries" != "" ; then
32819 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32820 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32821
32822
32823 if test "$ac_find_libraries" = "default location"; then
32824 ac_path_to_link=""
32825 else
32826 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32827 result=$?
32828 if test $result = 0; then
32829 ac_path_to_link=""
32830 else
32831 ac_path_to_link=" -L$ac_find_libraries"
32832 fi
32833 fi
32834
32835 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32836 LDFLAGS_GL="$ac_path_to_link"
32837 fi
32838
32839 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32840 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32841
32842 ac_find_libraries=
32843 for ac_dir in $SEARCH_LIB;
32844 do
32845 for ac_extension in a so sl dylib dll.a; do
32846 if test -f "$ac_dir/libGLU.$ac_extension"; then
32847 ac_find_libraries=$ac_dir
32848 break 2
32849 fi
32850 done
32851 done
32852
32853 if test "$ac_find_libraries" != "" ; then
32854
32855 if test "$ac_find_libraries" = "default location"; then
32856 ac_path_to_link=""
32857 else
32858 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32859 result=$?
32860 if test $result = 0; then
32861 ac_path_to_link=""
32862 else
32863 ac_path_to_link=" -L$ac_find_libraries"
32864 fi
32865 fi
32866
32867 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32868 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32869 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32870 fi
32871
32872 found_gl=1
32873 OPENGL_LIBS="-lGL -lGLU"
32874 { echo "$as_me:$LINENO: result: yes" >&5
32875 echo "${ECHO_T}yes" >&6; }
32876 else
32877 { echo "$as_me:$LINENO: result: no" >&5
32878 echo "${ECHO_T}no" >&6; }
32879 fi
32880 else
32881 { echo "$as_me:$LINENO: result: no" >&5
32882 echo "${ECHO_T}no" >&6; }
32883 fi
32884
32885 if test "$found_gl" != 1; then
32886 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32887 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32888
32889 ac_find_libraries=
32890 for ac_dir in $SEARCH_LIB;
32891 do
32892 for ac_extension in a so sl dylib dll.a; do
32893 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32894 ac_find_libraries=$ac_dir
32895 break 2
32896 fi
32897 done
32898 done
32899
32900 if test "$ac_find_libraries" != "" ; then
32901
32902 if test "$ac_find_libraries" = "default location"; then
32903 ac_path_to_link=""
32904 else
32905 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32906 result=$?
32907 if test $result = 0; then
32908 ac_path_to_link=""
32909 else
32910 ac_path_to_link=" -L$ac_find_libraries"
32911 fi
32912 fi
32913
32914 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32915 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32916 { echo "$as_me:$LINENO: result: yes" >&5
32917 echo "${ECHO_T}yes" >&6; }
32918 else
32919 { echo "$as_me:$LINENO: result: no" >&5
32920 echo "${ECHO_T}no" >&6; }
32921 fi
32922 fi
32923
32924 fi
32925
32926
32927
32928 fi
32929
32930
32931
32932 if test "x$OPENGL_LIBS" = "x"; then
32933 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32934 echo "$as_me: error: OpenGL libraries not available" >&2;}
32935 { (exit 1); exit 1; }; }
32936 fi
32937 fi
32938
32939 if test "$wxUSE_OPENGL" = "yes"; then
32940 USE_OPENGL=1
32941 cat >>confdefs.h <<\_ACEOF
32942 #define wxUSE_OPENGL 1
32943 _ACEOF
32944
32945 cat >>confdefs.h <<\_ACEOF
32946 #define wxUSE_GLCANVAS 1
32947 _ACEOF
32948
32949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32950 fi
32951 fi
32952
32953
32954 if test -n "$TOOLKIT" ; then
32955 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32956 fi
32957
32958
32959
32960 if test "$wxUSE_SHARED" = "yes"; then
32961 case "${host}" in
32962 *-pc-msdosdjgpp )
32963 wxUSE_SHARED=no
32964 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32965 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32966 ;;
32967 esac
32968 fi
32969
32970 if test "$wxUSE_SHARED" = "yes"; then
32971
32972
32973 case "${host}" in
32974 *-*-cygwin* | *-*-mingw* )
32975 wx_cv_version_script=no
32976 ;;
32977
32978 *)
32979 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32980 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32981 if test "${wx_cv_version_script+set}" = set; then
32982 echo $ECHO_N "(cached) $ECHO_C" >&6
32983 else
32984
32985 echo "VER_1 { *; };" >conftest.sym
32986 echo "int main() { return 0; }" >conftest.cpp
32987
32988 if { ac_try='
32989 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32990 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32992 (eval $ac_try) 2>&5
32993 ac_status=$?
32994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32995 (exit $ac_status); }; } ; then
32996 if test -s conftest.stderr ; then
32997 wx_cv_version_script=no
32998 else
32999 wx_cv_version_script=yes
33000 fi
33001 else
33002 wx_cv_version_script=no
33003 fi
33004
33005 if test $wx_cv_version_script = yes
33006 then
33007 echo "struct B { virtual ~B() { } }; \
33008 struct D : public B { }; \
33009 void F() { D d; }" > conftest.cpp
33010
33011 if { ac_try='
33012 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33013 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33015 (eval $ac_try) 2>&5
33016 ac_status=$?
33017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33018 (exit $ac_status); }; } &&
33019 { ac_try='
33020 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33021 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33023 (eval $ac_try) 2>&5
33024 ac_status=$?
33025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33026 (exit $ac_status); }; }
33027 then
33028 if { ac_try='
33029 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33030 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33032 (eval $ac_try) 2>&5
33033 ac_status=$?
33034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33035 (exit $ac_status); }; }
33036 then
33037 wx_cv_version_script=yes
33038 else
33039 wx_cv_version_script=no
33040 fi
33041 fi
33042 fi
33043
33044 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33045 rm -f conftest1.output conftest2.output conftest3.output
33046
33047 fi
33048 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33049 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33050
33051 if test $wx_cv_version_script = yes ; then
33052 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33053 fi
33054 ;;
33055 esac
33056
33057
33058 if test "$wxUSE_VISIBILITY" != "no"; then
33059
33060
33061 if test -n "$GCC"; then
33062 CFLAGS_VISIBILITY="-fvisibility=hidden"
33063 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33064 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33065 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33066 if test "${wx_cv_cc_visibility+set}" = set; then
33067 echo $ECHO_N "(cached) $ECHO_C" >&6
33068 else
33069
33070 wx_save_CXXFLAGS="$CXXFLAGS"
33071 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33072 ac_ext=cpp
33073 ac_cpp='$CXXCPP $CPPFLAGS'
33074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33077
33078 cat >conftest.$ac_ext <<_ACEOF
33079 /* confdefs.h. */
33080 _ACEOF
33081 cat confdefs.h >>conftest.$ac_ext
33082 cat >>conftest.$ac_ext <<_ACEOF
33083 /* end confdefs.h. */
33084
33085 /* we need gcc >= 4.0, older versions with visibility support
33086 didn't have class visibility: */
33087 #if defined(__GNUC__) && __GNUC__ < 4
33088 error this gcc is too old;
33089 #endif
33090
33091 /* visibility only makes sense for ELF shared libs: */
33092 #if !defined(__ELF__) && !defined(__APPLE__)
33093 error this platform has no visibility;
33094 #endif
33095
33096 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33097 extern __attribute__((__visibility__("default"))) int exportedvar;
33098 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33099 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33100 class __attribute__((__visibility__("default"))) Foo {
33101 Foo() {}
33102 };
33103
33104 int
33105 main ()
33106 {
33107
33108 ;
33109 return 0;
33110 }
33111 _ACEOF
33112 rm -f conftest.$ac_objext
33113 if { (ac_try="$ac_compile"
33114 case "(($ac_try" in
33115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33116 *) ac_try_echo=$ac_try;;
33117 esac
33118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33119 (eval "$ac_compile") 2>conftest.er1
33120 ac_status=$?
33121 grep -v '^ *+' conftest.er1 >conftest.err
33122 rm -f conftest.er1
33123 cat conftest.err >&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); } && {
33126 test -z "$ac_cxx_werror_flag" ||
33127 test ! -s conftest.err
33128 } && test -s conftest.$ac_objext; then
33129 wx_cv_cc_visibility=yes
33130 else
33131 echo "$as_me: failed program was:" >&5
33132 sed 's/^/| /' conftest.$ac_ext >&5
33133
33134 wx_cv_cc_visibility=no
33135 fi
33136
33137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33138 ac_ext=c
33139 ac_cpp='$CPP $CPPFLAGS'
33140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33143
33144 CXXFLAGS="$wx_save_CXXFLAGS"
33145 fi
33146
33147 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33148 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33149 if test $wx_cv_cc_visibility = yes; then
33150 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33151 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33152 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33153 echo $ECHO_N "(cached) $ECHO_C" >&6
33154 else
33155
33156 wx_save_CXXFLAGS="$CXXFLAGS"
33157 wx_save_LDFLAGS="$LDFLAGS"
33158 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33159 LDFLAGS="$LDFLAGS -shared -fPIC"
33160 ac_ext=cpp
33161 ac_cpp='$CXXCPP $CPPFLAGS'
33162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33165
33166 cat >conftest.$ac_ext <<_ACEOF
33167 /* confdefs.h. */
33168 _ACEOF
33169 cat confdefs.h >>conftest.$ac_ext
33170 cat >>conftest.$ac_ext <<_ACEOF
33171 /* end confdefs.h. */
33172
33173 #include <string>
33174
33175 int
33176 main ()
33177 {
33178
33179 std::string s("hello");
33180 return s.length();
33181
33182 ;
33183 return 0;
33184 }
33185 _ACEOF
33186 rm -f conftest.$ac_objext conftest$ac_exeext
33187 if { (ac_try="$ac_link"
33188 case "(($ac_try" in
33189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33190 *) ac_try_echo=$ac_try;;
33191 esac
33192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33193 (eval "$ac_link") 2>conftest.er1
33194 ac_status=$?
33195 grep -v '^ *+' conftest.er1 >conftest.err
33196 rm -f conftest.er1
33197 cat conftest.err >&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); } && {
33200 test -z "$ac_cxx_werror_flag" ||
33201 test ! -s conftest.err
33202 } && test -s conftest$ac_exeext &&
33203 $as_test_x conftest$ac_exeext; then
33204 wx_cv_cc_broken_libstdcxx_visibility=no
33205 else
33206 echo "$as_me: failed program was:" >&5
33207 sed 's/^/| /' conftest.$ac_ext >&5
33208
33209 wx_cv_cc_broken_libstdcxx_visibility=yes
33210 fi
33211
33212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33213 conftest$ac_exeext conftest.$ac_ext
33214 ac_ext=c
33215 ac_cpp='$CPP $CPPFLAGS'
33216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33219
33220 CXXFLAGS="$wx_save_CXXFLAGS"
33221 LDFLAGS="$wx_save_LDFLAGS"
33222 fi
33223
33224 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33225 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33226
33227 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33228 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33229 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33230 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33231 echo $ECHO_N "(cached) $ECHO_C" >&6
33232 else
33233
33234 ac_ext=cpp
33235 ac_cpp='$CXXCPP $CPPFLAGS'
33236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33239
33240 cat >conftest.$ac_ext <<_ACEOF
33241 /* confdefs.h. */
33242 _ACEOF
33243 cat confdefs.h >>conftest.$ac_ext
33244 cat >>conftest.$ac_ext <<_ACEOF
33245 /* end confdefs.h. */
33246
33247 #pragma GCC visibility push(default)
33248 #include <string>
33249 #pragma GCC visibility pop
33250
33251 int
33252 main ()
33253 {
33254
33255 std::string s("hello");
33256 return s.length();
33257
33258 ;
33259 return 0;
33260 }
33261 _ACEOF
33262 rm -f conftest.$ac_objext conftest$ac_exeext
33263 if { (ac_try="$ac_link"
33264 case "(($ac_try" in
33265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33266 *) ac_try_echo=$ac_try;;
33267 esac
33268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33269 (eval "$ac_link") 2>conftest.er1
33270 ac_status=$?
33271 grep -v '^ *+' conftest.er1 >conftest.err
33272 rm -f conftest.er1
33273 cat conftest.err >&5
33274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33275 (exit $ac_status); } && {
33276 test -z "$ac_cxx_werror_flag" ||
33277 test ! -s conftest.err
33278 } && test -s conftest$ac_exeext &&
33279 $as_test_x conftest$ac_exeext; then
33280 wx_cv_cc_visibility_workaround=no
33281 else
33282 echo "$as_me: failed program was:" >&5
33283 sed 's/^/| /' conftest.$ac_ext >&5
33284
33285 wx_cv_cc_visibility_workaround=yes
33286 fi
33287
33288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33289 conftest$ac_exeext conftest.$ac_ext
33290 ac_ext=c
33291 ac_cpp='$CPP $CPPFLAGS'
33292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33295
33296
33297 fi
33298
33299 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33300 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33301
33302 if test $wx_cv_cc_visibility_workaround = no; then
33303 wx_cv_cc_visibility=no
33304 fi
33305 fi
33306 fi
33307
33308 if test $wx_cv_cc_visibility = yes; then
33309 cat >>confdefs.h <<\_ACEOF
33310 #define HAVE_VISIBILITY 1
33311 _ACEOF
33312
33313 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33314 cat >>confdefs.h <<\_ACEOF
33315 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33316 _ACEOF
33317
33318 fi
33319 else
33320 CFLAGS_VISIBILITY=""
33321 CXXFLAGS_VISIBILITY=""
33322 fi
33323
33324
33325 fi
33326
33327 fi
33328
33329 if test "x$SUNCXX" = xyes; then
33330 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33331 WXCONFIG_RPATH="-R\$libdir"
33332 else
33333 case "${host}" in
33334 *-*-linux* | *-*-gnu* )
33335 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33336 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33337 ;;
33338
33339 *-*-solaris2* )
33340
33341 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33342
33343 saveLdflags="$LDFLAGS"
33344 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33345 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33346 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33347 cat >conftest.$ac_ext <<_ACEOF
33348 /* confdefs.h. */
33349 _ACEOF
33350 cat confdefs.h >>conftest.$ac_ext
33351 cat >>conftest.$ac_ext <<_ACEOF
33352 /* end confdefs.h. */
33353
33354 int
33355 main ()
33356 {
33357
33358 ;
33359 return 0;
33360 }
33361 _ACEOF
33362 rm -f conftest.$ac_objext conftest$ac_exeext
33363 if { (ac_try="$ac_link"
33364 case "(($ac_try" in
33365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33366 *) ac_try_echo=$ac_try;;
33367 esac
33368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33369 (eval "$ac_link") 2>conftest.er1
33370 ac_status=$?
33371 grep -v '^ *+' conftest.er1 >conftest.err
33372 rm -f conftest.er1
33373 cat conftest.err >&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); } && {
33376 test -z "$ac_c_werror_flag" ||
33377 test ! -s conftest.err
33378 } && test -s conftest$ac_exeext &&
33379 $as_test_x conftest$ac_exeext; then
33380
33381 { echo "$as_me:$LINENO: result: yes" >&5
33382 echo "${ECHO_T}yes" >&6; }
33383 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33384 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33385
33386 else
33387 echo "$as_me: failed program was:" >&5
33388 sed 's/^/| /' conftest.$ac_ext >&5
33389
33390
33391 { echo "$as_me:$LINENO: result: no" >&5
33392 echo "${ECHO_T}no" >&6; }
33393 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33394 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33395 LDFLAGS="$saveLdflags -Wl,-R,/"
33396 cat >conftest.$ac_ext <<_ACEOF
33397 /* confdefs.h. */
33398 _ACEOF
33399 cat confdefs.h >>conftest.$ac_ext
33400 cat >>conftest.$ac_ext <<_ACEOF
33401 /* end confdefs.h. */
33402
33403 int
33404 main ()
33405 {
33406
33407 ;
33408 return 0;
33409 }
33410 _ACEOF
33411 rm -f conftest.$ac_objext conftest$ac_exeext
33412 if { (ac_try="$ac_link"
33413 case "(($ac_try" in
33414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33415 *) ac_try_echo=$ac_try;;
33416 esac
33417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33418 (eval "$ac_link") 2>conftest.er1
33419 ac_status=$?
33420 grep -v '^ *+' conftest.er1 >conftest.err
33421 rm -f conftest.er1
33422 cat conftest.err >&5
33423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33424 (exit $ac_status); } && {
33425 test -z "$ac_c_werror_flag" ||
33426 test ! -s conftest.err
33427 } && test -s conftest$ac_exeext &&
33428 $as_test_x conftest$ac_exeext; then
33429
33430 { echo "$as_me:$LINENO: result: yes" >&5
33431 echo "${ECHO_T}yes" >&6; }
33432 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33433 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33434
33435 else
33436 echo "$as_me: failed program was:" >&5
33437 sed 's/^/| /' conftest.$ac_ext >&5
33438
33439
33440 { echo "$as_me:$LINENO: result: no" >&5
33441 echo "${ECHO_T}no" >&6; }
33442
33443 fi
33444
33445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33446 conftest$ac_exeext conftest.$ac_ext
33447
33448 fi
33449
33450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33451 conftest$ac_exeext conftest.$ac_ext
33452 LDFLAGS="$saveLdflags"
33453 ;;
33454
33455 *-*-darwin* )
33456 install_name_tool=`which install_name_tool`
33457 if test "$install_name_tool" -a -x "$install_name_tool"; then
33458 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33459 cat <<EOF >change-install-names
33460 #!/bin/sh
33461 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33462 inst_cmd="install_name_tool "
33463 for i in \${libnames} ; do
33464 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33465 done
33466 \${inst_cmd} \${3}
33467 EOF
33468 chmod +x change-install-names
33469 fi
33470 ;;
33471
33472 *-*-cygwin* | *-*-mingw32* )
33473 ;;
33474
33475 *-*-hpux* )
33476 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33477 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33478 ;;
33479
33480 esac
33481 fi
33482
33483 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33484
33485 if test $wxUSE_RPATH = "no"; then
33486 SAMPLES_RPATH_FLAG=''
33487 SAMPLES_RPATH_POSTLINK=''
33488 WXCONFIG_RPATH=''
33489 fi
33490
33491 SHARED=1
33492
33493 else
33494
33495 config_linkage_component="-static"
33496 SHARED=0
33497
33498 fi
33499
33500
33501 UNICODE=0
33502 lib_unicode_suffix=
33503 WX_CHARTYPE="ansi"
33504 if test "$wxUSE_UNICODE" = "yes"; then
33505 lib_unicode_suffix=u
33506 WX_CHARTYPE="unicode"
33507 UNICODE=1
33508 fi
33509
33510 lib_debug_suffix=
33511 WX_DEBUGTYPE="release"
33512 DEBUG_FLAG=0
33513 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33514 lib_debug_suffix=d
33515 WX_DEBUGTYPE="debug"
33516 DEBUG_FLAG=1
33517 fi
33518
33519 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33520 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33521
33522 DEBUG_INFO=0
33523 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33524 DEBUG_INFO=1
33525 fi
33526
33527 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33528
33529 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33530
33531 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33532
33533 if test "$cross_compiling" = "yes"; then
33534 HOST_SUFFIX="-$host_alias"
33535 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33536 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33537 fi
33538
33539 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33540 if test "${TOOLKIT_DIR}" = "os2"; then
33541 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33542 else
33543 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33544 fi
33545
33546
33547
33548 if test "$wxUSE_COCOA" = 1; then
33549
33550 ac_ext=c
33551 ac_cpp='$CPP $CPPFLAGS'
33552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33555
33556 ac_ext=m
33557
33558 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33559 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33560 cat >conftest.$ac_ext <<_ACEOF
33561 /* confdefs.h. */
33562 _ACEOF
33563 cat confdefs.h >>conftest.$ac_ext
33564 cat >>conftest.$ac_ext <<_ACEOF
33565 /* end confdefs.h. */
33566 #include <AppKit/NSEvent.h>
33567 #include <CoreFoundation/CoreFoundation.h>
33568
33569 int
33570 main ()
33571 {
33572
33573 ;
33574 return 0;
33575 }
33576 _ACEOF
33577 rm -f conftest.$ac_objext
33578 if { (ac_try="$ac_compile"
33579 case "(($ac_try" in
33580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33581 *) ac_try_echo=$ac_try;;
33582 esac
33583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33584 (eval "$ac_compile") 2>conftest.er1
33585 ac_status=$?
33586 grep -v '^ *+' conftest.er1 >conftest.err
33587 rm -f conftest.er1
33588 cat conftest.err >&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); } && {
33591 test -z "$ac_c_werror_flag" ||
33592 test ! -s conftest.err
33593 } && test -s conftest.$ac_objext; then
33594 { echo "$as_me:$LINENO: result: no" >&5
33595 echo "${ECHO_T}no" >&6; }
33596 else
33597 echo "$as_me: failed program was:" >&5
33598 sed 's/^/| /' conftest.$ac_ext >&5
33599
33600 { echo "$as_me:$LINENO: result: yes" >&5
33601 echo "${ECHO_T}yes" >&6; }
33602 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33603 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33604 cat >conftest.$ac_ext <<_ACEOF
33605 /* confdefs.h. */
33606 _ACEOF
33607 cat confdefs.h >>conftest.$ac_ext
33608 cat >>conftest.$ac_ext <<_ACEOF
33609 /* end confdefs.h. */
33610 #define __Point__ 1
33611 #include <AppKit/NSEvent.h>
33612 #include <CoreFoundation/CoreFoundation.h>
33613
33614 int
33615 main ()
33616 {
33617
33618 ;
33619 return 0;
33620 }
33621 _ACEOF
33622 rm -f conftest.$ac_objext
33623 if { (ac_try="$ac_compile"
33624 case "(($ac_try" in
33625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33626 *) ac_try_echo=$ac_try;;
33627 esac
33628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33629 (eval "$ac_compile") 2>conftest.er1
33630 ac_status=$?
33631 grep -v '^ *+' conftest.er1 >conftest.err
33632 rm -f conftest.er1
33633 cat conftest.err >&5
33634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635 (exit $ac_status); } && {
33636 test -z "$ac_c_werror_flag" ||
33637 test ! -s conftest.err
33638 } && test -s conftest.$ac_objext; then
33639 { echo "$as_me:$LINENO: result: yes" >&5
33640 echo "${ECHO_T}yes" >&6; }
33641 cat >>confdefs.h <<\_ACEOF
33642 #define __Point__ 1
33643 _ACEOF
33644
33645
33646 else
33647 echo "$as_me: failed program was:" >&5
33648 sed 's/^/| /' conftest.$ac_ext >&5
33649
33650 { { echo "$as_me:$LINENO: error: no
33651 See \`config.log' for more details." >&5
33652 echo "$as_me: error: no
33653 See \`config.log' for more details." >&2;}
33654 { (exit 1); exit 1; }; }
33655
33656 fi
33657
33658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33659
33660 fi
33661
33662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33663 ac_ext=c
33664 ac_cpp='$CPP $CPPFLAGS'
33665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33668
33669 fi
33670
33671
33672 { echo "$as_me:$LINENO: checking for mode_t" >&5
33673 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33674 if test "${ac_cv_type_mode_t+set}" = set; then
33675 echo $ECHO_N "(cached) $ECHO_C" >&6
33676 else
33677 cat >conftest.$ac_ext <<_ACEOF
33678 /* confdefs.h. */
33679 _ACEOF
33680 cat confdefs.h >>conftest.$ac_ext
33681 cat >>conftest.$ac_ext <<_ACEOF
33682 /* end confdefs.h. */
33683 $ac_includes_default
33684 typedef mode_t ac__type_new_;
33685 int
33686 main ()
33687 {
33688 if ((ac__type_new_ *) 0)
33689 return 0;
33690 if (sizeof (ac__type_new_))
33691 return 0;
33692 ;
33693 return 0;
33694 }
33695 _ACEOF
33696 rm -f conftest.$ac_objext
33697 if { (ac_try="$ac_compile"
33698 case "(($ac_try" in
33699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33700 *) ac_try_echo=$ac_try;;
33701 esac
33702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33703 (eval "$ac_compile") 2>conftest.er1
33704 ac_status=$?
33705 grep -v '^ *+' conftest.er1 >conftest.err
33706 rm -f conftest.er1
33707 cat conftest.err >&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } && {
33710 test -z "$ac_c_werror_flag" ||
33711 test ! -s conftest.err
33712 } && test -s conftest.$ac_objext; then
33713 ac_cv_type_mode_t=yes
33714 else
33715 echo "$as_me: failed program was:" >&5
33716 sed 's/^/| /' conftest.$ac_ext >&5
33717
33718 ac_cv_type_mode_t=no
33719 fi
33720
33721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33722 fi
33723 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33724 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33725 if test $ac_cv_type_mode_t = yes; then
33726 :
33727 else
33728
33729 cat >>confdefs.h <<_ACEOF
33730 #define mode_t int
33731 _ACEOF
33732
33733 fi
33734
33735 { echo "$as_me:$LINENO: checking for off_t" >&5
33736 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33737 if test "${ac_cv_type_off_t+set}" = set; then
33738 echo $ECHO_N "(cached) $ECHO_C" >&6
33739 else
33740 cat >conftest.$ac_ext <<_ACEOF
33741 /* confdefs.h. */
33742 _ACEOF
33743 cat confdefs.h >>conftest.$ac_ext
33744 cat >>conftest.$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33746 $ac_includes_default
33747 typedef off_t ac__type_new_;
33748 int
33749 main ()
33750 {
33751 if ((ac__type_new_ *) 0)
33752 return 0;
33753 if (sizeof (ac__type_new_))
33754 return 0;
33755 ;
33756 return 0;
33757 }
33758 _ACEOF
33759 rm -f conftest.$ac_objext
33760 if { (ac_try="$ac_compile"
33761 case "(($ac_try" in
33762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33763 *) ac_try_echo=$ac_try;;
33764 esac
33765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33766 (eval "$ac_compile") 2>conftest.er1
33767 ac_status=$?
33768 grep -v '^ *+' conftest.er1 >conftest.err
33769 rm -f conftest.er1
33770 cat conftest.err >&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); } && {
33773 test -z "$ac_c_werror_flag" ||
33774 test ! -s conftest.err
33775 } && test -s conftest.$ac_objext; then
33776 ac_cv_type_off_t=yes
33777 else
33778 echo "$as_me: failed program was:" >&5
33779 sed 's/^/| /' conftest.$ac_ext >&5
33780
33781 ac_cv_type_off_t=no
33782 fi
33783
33784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33785 fi
33786 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33787 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33788 if test $ac_cv_type_off_t = yes; then
33789 :
33790 else
33791
33792 cat >>confdefs.h <<_ACEOF
33793 #define off_t long int
33794 _ACEOF
33795
33796 fi
33797
33798 { echo "$as_me:$LINENO: checking for pid_t" >&5
33799 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33800 if test "${ac_cv_type_pid_t+set}" = set; then
33801 echo $ECHO_N "(cached) $ECHO_C" >&6
33802 else
33803 cat >conftest.$ac_ext <<_ACEOF
33804 /* confdefs.h. */
33805 _ACEOF
33806 cat confdefs.h >>conftest.$ac_ext
33807 cat >>conftest.$ac_ext <<_ACEOF
33808 /* end confdefs.h. */
33809 $ac_includes_default
33810 typedef pid_t ac__type_new_;
33811 int
33812 main ()
33813 {
33814 if ((ac__type_new_ *) 0)
33815 return 0;
33816 if (sizeof (ac__type_new_))
33817 return 0;
33818 ;
33819 return 0;
33820 }
33821 _ACEOF
33822 rm -f conftest.$ac_objext
33823 if { (ac_try="$ac_compile"
33824 case "(($ac_try" in
33825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33826 *) ac_try_echo=$ac_try;;
33827 esac
33828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33829 (eval "$ac_compile") 2>conftest.er1
33830 ac_status=$?
33831 grep -v '^ *+' conftest.er1 >conftest.err
33832 rm -f conftest.er1
33833 cat conftest.err >&5
33834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33835 (exit $ac_status); } && {
33836 test -z "$ac_c_werror_flag" ||
33837 test ! -s conftest.err
33838 } && test -s conftest.$ac_objext; then
33839 ac_cv_type_pid_t=yes
33840 else
33841 echo "$as_me: failed program was:" >&5
33842 sed 's/^/| /' conftest.$ac_ext >&5
33843
33844 ac_cv_type_pid_t=no
33845 fi
33846
33847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33848 fi
33849 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33850 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33851 if test $ac_cv_type_pid_t = yes; then
33852 :
33853 else
33854
33855 cat >>confdefs.h <<_ACEOF
33856 #define pid_t int
33857 _ACEOF
33858
33859 fi
33860
33861 { echo "$as_me:$LINENO: checking for size_t" >&5
33862 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33863 if test "${ac_cv_type_size_t+set}" = set; then
33864 echo $ECHO_N "(cached) $ECHO_C" >&6
33865 else
33866 cat >conftest.$ac_ext <<_ACEOF
33867 /* confdefs.h. */
33868 _ACEOF
33869 cat confdefs.h >>conftest.$ac_ext
33870 cat >>conftest.$ac_ext <<_ACEOF
33871 /* end confdefs.h. */
33872 $ac_includes_default
33873 typedef size_t ac__type_new_;
33874 int
33875 main ()
33876 {
33877 if ((ac__type_new_ *) 0)
33878 return 0;
33879 if (sizeof (ac__type_new_))
33880 return 0;
33881 ;
33882 return 0;
33883 }
33884 _ACEOF
33885 rm -f conftest.$ac_objext
33886 if { (ac_try="$ac_compile"
33887 case "(($ac_try" in
33888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33889 *) ac_try_echo=$ac_try;;
33890 esac
33891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33892 (eval "$ac_compile") 2>conftest.er1
33893 ac_status=$?
33894 grep -v '^ *+' conftest.er1 >conftest.err
33895 rm -f conftest.er1
33896 cat conftest.err >&5
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); } && {
33899 test -z "$ac_c_werror_flag" ||
33900 test ! -s conftest.err
33901 } && test -s conftest.$ac_objext; then
33902 ac_cv_type_size_t=yes
33903 else
33904 echo "$as_me: failed program was:" >&5
33905 sed 's/^/| /' conftest.$ac_ext >&5
33906
33907 ac_cv_type_size_t=no
33908 fi
33909
33910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33911 fi
33912 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33913 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33914 if test $ac_cv_type_size_t = yes; then
33915 :
33916 else
33917
33918 cat >>confdefs.h <<_ACEOF
33919 #define size_t unsigned int
33920 _ACEOF
33921
33922 fi
33923
33924
33925 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33926 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33927 if test "${ac_cv_type_ssize_t+set}" = set; then
33928 echo $ECHO_N "(cached) $ECHO_C" >&6
33929 else
33930 cat >conftest.$ac_ext <<_ACEOF
33931 /* confdefs.h. */
33932 _ACEOF
33933 cat confdefs.h >>conftest.$ac_ext
33934 cat >>conftest.$ac_ext <<_ACEOF
33935 /* end confdefs.h. */
33936 $ac_includes_default
33937 typedef ssize_t ac__type_new_;
33938 int
33939 main ()
33940 {
33941 if ((ac__type_new_ *) 0)
33942 return 0;
33943 if (sizeof (ac__type_new_))
33944 return 0;
33945 ;
33946 return 0;
33947 }
33948 _ACEOF
33949 rm -f conftest.$ac_objext
33950 if { (ac_try="$ac_compile"
33951 case "(($ac_try" in
33952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33953 *) ac_try_echo=$ac_try;;
33954 esac
33955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33956 (eval "$ac_compile") 2>conftest.er1
33957 ac_status=$?
33958 grep -v '^ *+' conftest.er1 >conftest.err
33959 rm -f conftest.er1
33960 cat conftest.err >&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); } && {
33963 test -z "$ac_c_werror_flag" ||
33964 test ! -s conftest.err
33965 } && test -s conftest.$ac_objext; then
33966 ac_cv_type_ssize_t=yes
33967 else
33968 echo "$as_me: failed program was:" >&5
33969 sed 's/^/| /' conftest.$ac_ext >&5
33970
33971 ac_cv_type_ssize_t=no
33972 fi
33973
33974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33975 fi
33976 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33977 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33978 if test $ac_cv_type_ssize_t = yes; then
33979
33980 cat >>confdefs.h <<_ACEOF
33981 #define HAVE_SSIZE_T 1
33982 _ACEOF
33983
33984
33985 fi
33986
33987
33988 ac_ext=cpp
33989 ac_cpp='$CXXCPP $CPPFLAGS'
33990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33993 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33994 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33995 if test "${wx_cv_size_t_is_uint+set}" = set; then
33996 echo $ECHO_N "(cached) $ECHO_C" >&6
33997 else
33998
33999 cat >conftest.$ac_ext <<_ACEOF
34000 /* confdefs.h. */
34001 _ACEOF
34002 cat confdefs.h >>conftest.$ac_ext
34003 cat >>conftest.$ac_ext <<_ACEOF
34004 /* end confdefs.h. */
34005 #include <stddef.h>
34006 int
34007 main ()
34008 {
34009
34010 return 0; }
34011
34012 struct Foo { void foo(size_t); void foo(unsigned int); };
34013
34014 int bar() {
34015
34016 ;
34017 return 0;
34018 }
34019 _ACEOF
34020 rm -f conftest.$ac_objext
34021 if { (ac_try="$ac_compile"
34022 case "(($ac_try" in
34023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34024 *) ac_try_echo=$ac_try;;
34025 esac
34026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34027 (eval "$ac_compile") 2>conftest.er1
34028 ac_status=$?
34029 grep -v '^ *+' conftest.er1 >conftest.err
34030 rm -f conftest.er1
34031 cat conftest.err >&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } && {
34034 test -z "$ac_cxx_werror_flag" ||
34035 test ! -s conftest.err
34036 } && test -s conftest.$ac_objext; then
34037 wx_cv_size_t_is_uint=no
34038 else
34039 echo "$as_me: failed program was:" >&5
34040 sed 's/^/| /' conftest.$ac_ext >&5
34041
34042 wx_cv_size_t_is_uint=yes
34043
34044 fi
34045
34046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34047
34048
34049 fi
34050 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34051 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34052
34053 if test "$wx_cv_size_t_is_uint" = "yes"; then
34054 cat >>confdefs.h <<\_ACEOF
34055 #define wxSIZE_T_IS_UINT 1
34056 _ACEOF
34057
34058 else
34059 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34060 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34061 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 else
34064 cat >conftest.$ac_ext <<_ACEOF
34065 /* confdefs.h. */
34066 _ACEOF
34067 cat confdefs.h >>conftest.$ac_ext
34068 cat >>conftest.$ac_ext <<_ACEOF
34069 /* end confdefs.h. */
34070 #include <stddef.h>
34071 int
34072 main ()
34073 {
34074
34075 return 0; }
34076
34077 struct Foo { void foo(size_t); void foo(unsigned long); };
34078
34079 int bar() {
34080
34081 ;
34082 return 0;
34083 }
34084 _ACEOF
34085 rm -f conftest.$ac_objext
34086 if { (ac_try="$ac_compile"
34087 case "(($ac_try" in
34088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34089 *) ac_try_echo=$ac_try;;
34090 esac
34091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34092 (eval "$ac_compile") 2>conftest.er1
34093 ac_status=$?
34094 grep -v '^ *+' conftest.er1 >conftest.err
34095 rm -f conftest.er1
34096 cat conftest.err >&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); } && {
34099 test -z "$ac_cxx_werror_flag" ||
34100 test ! -s conftest.err
34101 } && test -s conftest.$ac_objext; then
34102 wx_cv_size_t_is_ulong=no
34103 else
34104 echo "$as_me: failed program was:" >&5
34105 sed 's/^/| /' conftest.$ac_ext >&5
34106
34107 wx_cv_size_t_is_ulong=yes
34108
34109 fi
34110
34111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34112
34113 fi
34114 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34115 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34116
34117 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34118 cat >>confdefs.h <<\_ACEOF
34119 #define wxSIZE_T_IS_ULONG 1
34120 _ACEOF
34121
34122 fi
34123 fi
34124
34125 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34126 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34127 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34128 echo $ECHO_N "(cached) $ECHO_C" >&6
34129 else
34130 cat >conftest.$ac_ext <<_ACEOF
34131 /* confdefs.h. */
34132 _ACEOF
34133 cat confdefs.h >>conftest.$ac_ext
34134 cat >>conftest.$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34136 #include <wchar.h>
34137 int
34138 main ()
34139 {
34140
34141 return 0; }
34142
34143 struct Foo { void foo(wchar_t);
34144 void foo(unsigned short);
34145 void foo(unsigned int);
34146 void foo(unsigned long); };
34147
34148 int bar() {
34149
34150 ;
34151 return 0;
34152 }
34153 _ACEOF
34154 rm -f conftest.$ac_objext
34155 if { (ac_try="$ac_compile"
34156 case "(($ac_try" in
34157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34158 *) ac_try_echo=$ac_try;;
34159 esac
34160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34161 (eval "$ac_compile") 2>conftest.er1
34162 ac_status=$?
34163 grep -v '^ *+' conftest.er1 >conftest.err
34164 rm -f conftest.er1
34165 cat conftest.err >&5
34166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34167 (exit $ac_status); } && {
34168 test -z "$ac_cxx_werror_flag" ||
34169 test ! -s conftest.err
34170 } && test -s conftest.$ac_objext; then
34171 wx_cv_wchar_t_is_separate_type=yes
34172 else
34173 echo "$as_me: failed program was:" >&5
34174 sed 's/^/| /' conftest.$ac_ext >&5
34175
34176 wx_cv_wchar_t_is_separate_type=no
34177
34178 fi
34179
34180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34181
34182 fi
34183 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34184 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34185
34186 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34187 cat >>confdefs.h <<\_ACEOF
34188 #define wxWCHAR_T_IS_REAL_TYPE 1
34189 _ACEOF
34190
34191 else
34192 cat >>confdefs.h <<\_ACEOF
34193 #define wxWCHAR_T_IS_REAL_TYPE 0
34194 _ACEOF
34195
34196 fi
34197
34198 ac_ext=c
34199 ac_cpp='$CPP $CPPFLAGS'
34200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34203
34204
34205 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34206 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34207 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34208 echo $ECHO_N "(cached) $ECHO_C" >&6
34209 else
34210
34211 cat >conftest.$ac_ext <<_ACEOF
34212 /* confdefs.h. */
34213 _ACEOF
34214 cat confdefs.h >>conftest.$ac_ext
34215 cat >>conftest.$ac_ext <<_ACEOF
34216 /* end confdefs.h. */
34217 #include <pwd.h>
34218 int
34219 main ()
34220 {
34221
34222 char *p;
34223 struct passwd *pw;
34224 p = pw->pw_gecos;
34225
34226 ;
34227 return 0;
34228 }
34229 _ACEOF
34230 rm -f conftest.$ac_objext
34231 if { (ac_try="$ac_compile"
34232 case "(($ac_try" in
34233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34234 *) ac_try_echo=$ac_try;;
34235 esac
34236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34237 (eval "$ac_compile") 2>conftest.er1
34238 ac_status=$?
34239 grep -v '^ *+' conftest.er1 >conftest.err
34240 rm -f conftest.er1
34241 cat conftest.err >&5
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); } && {
34244 test -z "$ac_c_werror_flag" ||
34245 test ! -s conftest.err
34246 } && test -s conftest.$ac_objext; then
34247
34248 wx_cv_struct_pw_gecos=yes
34249
34250 else
34251 echo "$as_me: failed program was:" >&5
34252 sed 's/^/| /' conftest.$ac_ext >&5
34253
34254
34255 wx_cv_struct_pw_gecos=no
34256
34257
34258 fi
34259
34260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34261
34262
34263 fi
34264 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34265 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34266
34267 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34268 cat >>confdefs.h <<\_ACEOF
34269 #define HAVE_PW_GECOS 1
34270 _ACEOF
34271
34272 fi
34273
34274
34275 if test "$wxUSE_WCHAR_T" = "yes"; then
34276 cat >>confdefs.h <<\_ACEOF
34277 #define wxUSE_WCHAR_T 1
34278 _ACEOF
34279
34280
34281 WCSLEN_FOUND=0
34282 WCHAR_LINK=
34283
34284 for ac_func in wcslen
34285 do
34286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34287 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34289 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34290 echo $ECHO_N "(cached) $ECHO_C" >&6
34291 else
34292 cat >conftest.$ac_ext <<_ACEOF
34293 /* confdefs.h. */
34294 _ACEOF
34295 cat confdefs.h >>conftest.$ac_ext
34296 cat >>conftest.$ac_ext <<_ACEOF
34297 /* end confdefs.h. */
34298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34300 #define $ac_func innocuous_$ac_func
34301
34302 /* System header to define __stub macros and hopefully few prototypes,
34303 which can conflict with char $ac_func (); below.
34304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34305 <limits.h> exists even on freestanding compilers. */
34306
34307 #ifdef __STDC__
34308 # include <limits.h>
34309 #else
34310 # include <assert.h>
34311 #endif
34312
34313 #undef $ac_func
34314
34315 /* Override any GCC internal prototype to avoid an error.
34316 Use char because int might match the return type of a GCC
34317 builtin and then its argument prototype would still apply. */
34318 #ifdef __cplusplus
34319 extern "C"
34320 #endif
34321 char $ac_func ();
34322 /* The GNU C library defines this for functions which it implements
34323 to always fail with ENOSYS. Some functions are actually named
34324 something starting with __ and the normal name is an alias. */
34325 #if defined __stub_$ac_func || defined __stub___$ac_func
34326 choke me
34327 #endif
34328
34329 int
34330 main ()
34331 {
34332 return $ac_func ();
34333 ;
34334 return 0;
34335 }
34336 _ACEOF
34337 rm -f conftest.$ac_objext conftest$ac_exeext
34338 if { (ac_try="$ac_link"
34339 case "(($ac_try" in
34340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34341 *) ac_try_echo=$ac_try;;
34342 esac
34343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34344 (eval "$ac_link") 2>conftest.er1
34345 ac_status=$?
34346 grep -v '^ *+' conftest.er1 >conftest.err
34347 rm -f conftest.er1
34348 cat conftest.err >&5
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); } && {
34351 test -z "$ac_c_werror_flag" ||
34352 test ! -s conftest.err
34353 } && test -s conftest$ac_exeext &&
34354 $as_test_x conftest$ac_exeext; then
34355 eval "$as_ac_var=yes"
34356 else
34357 echo "$as_me: failed program was:" >&5
34358 sed 's/^/| /' conftest.$ac_ext >&5
34359
34360 eval "$as_ac_var=no"
34361 fi
34362
34363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34364 conftest$ac_exeext conftest.$ac_ext
34365 fi
34366 ac_res=`eval echo '${'$as_ac_var'}'`
34367 { echo "$as_me:$LINENO: result: $ac_res" >&5
34368 echo "${ECHO_T}$ac_res" >&6; }
34369 if test `eval echo '${'$as_ac_var'}'` = yes; then
34370 cat >>confdefs.h <<_ACEOF
34371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34372 _ACEOF
34373 WCSLEN_FOUND=1
34374 fi
34375 done
34376
34377
34378 if test "$WCSLEN_FOUND" = 0; then
34379 if test "$TOOLKIT" = "MSW"; then
34380 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34381 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34382 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34383 echo $ECHO_N "(cached) $ECHO_C" >&6
34384 else
34385 ac_check_lib_save_LIBS=$LIBS
34386 LIBS="-lmsvcrt $LIBS"
34387 cat >conftest.$ac_ext <<_ACEOF
34388 /* confdefs.h. */
34389 _ACEOF
34390 cat confdefs.h >>conftest.$ac_ext
34391 cat >>conftest.$ac_ext <<_ACEOF
34392 /* end confdefs.h. */
34393
34394 /* Override any GCC internal prototype to avoid an error.
34395 Use char because int might match the return type of a GCC
34396 builtin and then its argument prototype would still apply. */
34397 #ifdef __cplusplus
34398 extern "C"
34399 #endif
34400 char wcslen ();
34401 int
34402 main ()
34403 {
34404 return wcslen ();
34405 ;
34406 return 0;
34407 }
34408 _ACEOF
34409 rm -f conftest.$ac_objext conftest$ac_exeext
34410 if { (ac_try="$ac_link"
34411 case "(($ac_try" in
34412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34413 *) ac_try_echo=$ac_try;;
34414 esac
34415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34416 (eval "$ac_link") 2>conftest.er1
34417 ac_status=$?
34418 grep -v '^ *+' conftest.er1 >conftest.err
34419 rm -f conftest.er1
34420 cat conftest.err >&5
34421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34422 (exit $ac_status); } && {
34423 test -z "$ac_c_werror_flag" ||
34424 test ! -s conftest.err
34425 } && test -s conftest$ac_exeext &&
34426 $as_test_x conftest$ac_exeext; then
34427 ac_cv_lib_msvcrt_wcslen=yes
34428 else
34429 echo "$as_me: failed program was:" >&5
34430 sed 's/^/| /' conftest.$ac_ext >&5
34431
34432 ac_cv_lib_msvcrt_wcslen=no
34433 fi
34434
34435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34436 conftest$ac_exeext conftest.$ac_ext
34437 LIBS=$ac_check_lib_save_LIBS
34438 fi
34439 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34440 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34441 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34442 WCHAR_OK=1
34443 fi
34444
34445 else
34446 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34447 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34448 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34449 echo $ECHO_N "(cached) $ECHO_C" >&6
34450 else
34451 ac_check_lib_save_LIBS=$LIBS
34452 LIBS="-lw $LIBS"
34453 cat >conftest.$ac_ext <<_ACEOF
34454 /* confdefs.h. */
34455 _ACEOF
34456 cat confdefs.h >>conftest.$ac_ext
34457 cat >>conftest.$ac_ext <<_ACEOF
34458 /* end confdefs.h. */
34459
34460 /* Override any GCC internal prototype to avoid an error.
34461 Use char because int might match the return type of a GCC
34462 builtin and then its argument prototype would still apply. */
34463 #ifdef __cplusplus
34464 extern "C"
34465 #endif
34466 char wcslen ();
34467 int
34468 main ()
34469 {
34470 return wcslen ();
34471 ;
34472 return 0;
34473 }
34474 _ACEOF
34475 rm -f conftest.$ac_objext conftest$ac_exeext
34476 if { (ac_try="$ac_link"
34477 case "(($ac_try" in
34478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34479 *) ac_try_echo=$ac_try;;
34480 esac
34481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34482 (eval "$ac_link") 2>conftest.er1
34483 ac_status=$?
34484 grep -v '^ *+' conftest.er1 >conftest.err
34485 rm -f conftest.er1
34486 cat conftest.err >&5
34487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34488 (exit $ac_status); } && {
34489 test -z "$ac_c_werror_flag" ||
34490 test ! -s conftest.err
34491 } && test -s conftest$ac_exeext &&
34492 $as_test_x conftest$ac_exeext; then
34493 ac_cv_lib_w_wcslen=yes
34494 else
34495 echo "$as_me: failed program was:" >&5
34496 sed 's/^/| /' conftest.$ac_ext >&5
34497
34498 ac_cv_lib_w_wcslen=no
34499 fi
34500
34501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34502 conftest$ac_exeext conftest.$ac_ext
34503 LIBS=$ac_check_lib_save_LIBS
34504 fi
34505 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34506 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34507 if test $ac_cv_lib_w_wcslen = yes; then
34508
34509 WCHAR_LINK=" -lw"
34510 WCSLEN_FOUND=1
34511
34512 fi
34513
34514 fi
34515 fi
34516
34517 if test "$WCSLEN_FOUND" = 1; then
34518 cat >>confdefs.h <<\_ACEOF
34519 #define HAVE_WCSLEN 1
34520 _ACEOF
34521
34522 fi
34523
34524
34525 for ac_func in wcsdup
34526 do
34527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34528 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34530 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34531 echo $ECHO_N "(cached) $ECHO_C" >&6
34532 else
34533 cat >conftest.$ac_ext <<_ACEOF
34534 /* confdefs.h. */
34535 _ACEOF
34536 cat confdefs.h >>conftest.$ac_ext
34537 cat >>conftest.$ac_ext <<_ACEOF
34538 /* end confdefs.h. */
34539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34541 #define $ac_func innocuous_$ac_func
34542
34543 /* System header to define __stub macros and hopefully few prototypes,
34544 which can conflict with char $ac_func (); below.
34545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34546 <limits.h> exists even on freestanding compilers. */
34547
34548 #ifdef __STDC__
34549 # include <limits.h>
34550 #else
34551 # include <assert.h>
34552 #endif
34553
34554 #undef $ac_func
34555
34556 /* Override any GCC internal prototype to avoid an error.
34557 Use char because int might match the return type of a GCC
34558 builtin and then its argument prototype would still apply. */
34559 #ifdef __cplusplus
34560 extern "C"
34561 #endif
34562 char $ac_func ();
34563 /* The GNU C library defines this for functions which it implements
34564 to always fail with ENOSYS. Some functions are actually named
34565 something starting with __ and the normal name is an alias. */
34566 #if defined __stub_$ac_func || defined __stub___$ac_func
34567 choke me
34568 #endif
34569
34570 int
34571 main ()
34572 {
34573 return $ac_func ();
34574 ;
34575 return 0;
34576 }
34577 _ACEOF
34578 rm -f conftest.$ac_objext conftest$ac_exeext
34579 if { (ac_try="$ac_link"
34580 case "(($ac_try" in
34581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34582 *) ac_try_echo=$ac_try;;
34583 esac
34584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34585 (eval "$ac_link") 2>conftest.er1
34586 ac_status=$?
34587 grep -v '^ *+' conftest.er1 >conftest.err
34588 rm -f conftest.er1
34589 cat conftest.err >&5
34590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34591 (exit $ac_status); } && {
34592 test -z "$ac_c_werror_flag" ||
34593 test ! -s conftest.err
34594 } && test -s conftest$ac_exeext &&
34595 $as_test_x conftest$ac_exeext; then
34596 eval "$as_ac_var=yes"
34597 else
34598 echo "$as_me: failed program was:" >&5
34599 sed 's/^/| /' conftest.$ac_ext >&5
34600
34601 eval "$as_ac_var=no"
34602 fi
34603
34604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34605 conftest$ac_exeext conftest.$ac_ext
34606 fi
34607 ac_res=`eval echo '${'$as_ac_var'}'`
34608 { echo "$as_me:$LINENO: result: $ac_res" >&5
34609 echo "${ECHO_T}$ac_res" >&6; }
34610 if test `eval echo '${'$as_ac_var'}'` = yes; then
34611 cat >>confdefs.h <<_ACEOF
34612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34613 _ACEOF
34614
34615 fi
34616 done
34617
34618
34619 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34620 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34621 fi
34622
34623 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34624 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34625 if test "${ac_cv_type_mbstate_t+set}" = set; then
34626 echo $ECHO_N "(cached) $ECHO_C" >&6
34627 else
34628 cat >conftest.$ac_ext <<_ACEOF
34629 /* confdefs.h. */
34630 _ACEOF
34631 cat confdefs.h >>conftest.$ac_ext
34632 cat >>conftest.$ac_ext <<_ACEOF
34633 /* end confdefs.h. */
34634 #include <wchar.h>
34635
34636 typedef mbstate_t ac__type_new_;
34637 int
34638 main ()
34639 {
34640 if ((ac__type_new_ *) 0)
34641 return 0;
34642 if (sizeof (ac__type_new_))
34643 return 0;
34644 ;
34645 return 0;
34646 }
34647 _ACEOF
34648 rm -f conftest.$ac_objext
34649 if { (ac_try="$ac_compile"
34650 case "(($ac_try" in
34651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34652 *) ac_try_echo=$ac_try;;
34653 esac
34654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34655 (eval "$ac_compile") 2>conftest.er1
34656 ac_status=$?
34657 grep -v '^ *+' conftest.er1 >conftest.err
34658 rm -f conftest.er1
34659 cat conftest.err >&5
34660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34661 (exit $ac_status); } && {
34662 test -z "$ac_c_werror_flag" ||
34663 test ! -s conftest.err
34664 } && test -s conftest.$ac_objext; then
34665 ac_cv_type_mbstate_t=yes
34666 else
34667 echo "$as_me: failed program was:" >&5
34668 sed 's/^/| /' conftest.$ac_ext >&5
34669
34670 ac_cv_type_mbstate_t=no
34671 fi
34672
34673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34674 fi
34675 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34676 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34677 if test $ac_cv_type_mbstate_t = yes; then
34678
34679 cat >>confdefs.h <<_ACEOF
34680 #define HAVE_MBSTATE_T 1
34681 _ACEOF
34682
34683
34684 for ac_func in wcsrtombs
34685 do
34686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34690 echo $ECHO_N "(cached) $ECHO_C" >&6
34691 else
34692 cat >conftest.$ac_ext <<_ACEOF
34693 /* confdefs.h. */
34694 _ACEOF
34695 cat confdefs.h >>conftest.$ac_ext
34696 cat >>conftest.$ac_ext <<_ACEOF
34697 /* end confdefs.h. */
34698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34700 #define $ac_func innocuous_$ac_func
34701
34702 /* System header to define __stub macros and hopefully few prototypes,
34703 which can conflict with char $ac_func (); below.
34704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34705 <limits.h> exists even on freestanding compilers. */
34706
34707 #ifdef __STDC__
34708 # include <limits.h>
34709 #else
34710 # include <assert.h>
34711 #endif
34712
34713 #undef $ac_func
34714
34715 /* Override any GCC internal prototype to avoid an error.
34716 Use char because int might match the return type of a GCC
34717 builtin and then its argument prototype would still apply. */
34718 #ifdef __cplusplus
34719 extern "C"
34720 #endif
34721 char $ac_func ();
34722 /* The GNU C library defines this for functions which it implements
34723 to always fail with ENOSYS. Some functions are actually named
34724 something starting with __ and the normal name is an alias. */
34725 #if defined __stub_$ac_func || defined __stub___$ac_func
34726 choke me
34727 #endif
34728
34729 int
34730 main ()
34731 {
34732 return $ac_func ();
34733 ;
34734 return 0;
34735 }
34736 _ACEOF
34737 rm -f conftest.$ac_objext conftest$ac_exeext
34738 if { (ac_try="$ac_link"
34739 case "(($ac_try" in
34740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34741 *) ac_try_echo=$ac_try;;
34742 esac
34743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34744 (eval "$ac_link") 2>conftest.er1
34745 ac_status=$?
34746 grep -v '^ *+' conftest.er1 >conftest.err
34747 rm -f conftest.er1
34748 cat conftest.err >&5
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); } && {
34751 test -z "$ac_c_werror_flag" ||
34752 test ! -s conftest.err
34753 } && test -s conftest$ac_exeext &&
34754 $as_test_x conftest$ac_exeext; then
34755 eval "$as_ac_var=yes"
34756 else
34757 echo "$as_me: failed program was:" >&5
34758 sed 's/^/| /' conftest.$ac_ext >&5
34759
34760 eval "$as_ac_var=no"
34761 fi
34762
34763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34764 conftest$ac_exeext conftest.$ac_ext
34765 fi
34766 ac_res=`eval echo '${'$as_ac_var'}'`
34767 { echo "$as_me:$LINENO: result: $ac_res" >&5
34768 echo "${ECHO_T}$ac_res" >&6; }
34769 if test `eval echo '${'$as_ac_var'}'` = yes; then
34770 cat >>confdefs.h <<_ACEOF
34771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34772 _ACEOF
34773
34774 fi
34775 done
34776
34777 fi
34778
34779 else
34780 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34781 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34782 fi
34783
34784
34785
34786 for ac_func in snprintf vsnprintf
34787 do
34788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34789 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34791 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34792 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 else
34794 cat >conftest.$ac_ext <<_ACEOF
34795 /* confdefs.h. */
34796 _ACEOF
34797 cat confdefs.h >>conftest.$ac_ext
34798 cat >>conftest.$ac_ext <<_ACEOF
34799 /* end confdefs.h. */
34800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34802 #define $ac_func innocuous_$ac_func
34803
34804 /* System header to define __stub macros and hopefully few prototypes,
34805 which can conflict with char $ac_func (); below.
34806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34807 <limits.h> exists even on freestanding compilers. */
34808
34809 #ifdef __STDC__
34810 # include <limits.h>
34811 #else
34812 # include <assert.h>
34813 #endif
34814
34815 #undef $ac_func
34816
34817 /* Override any GCC internal prototype to avoid an error.
34818 Use char because int might match the return type of a GCC
34819 builtin and then its argument prototype would still apply. */
34820 #ifdef __cplusplus
34821 extern "C"
34822 #endif
34823 char $ac_func ();
34824 /* The GNU C library defines this for functions which it implements
34825 to always fail with ENOSYS. Some functions are actually named
34826 something starting with __ and the normal name is an alias. */
34827 #if defined __stub_$ac_func || defined __stub___$ac_func
34828 choke me
34829 #endif
34830
34831 int
34832 main ()
34833 {
34834 return $ac_func ();
34835 ;
34836 return 0;
34837 }
34838 _ACEOF
34839 rm -f conftest.$ac_objext conftest$ac_exeext
34840 if { (ac_try="$ac_link"
34841 case "(($ac_try" in
34842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34843 *) ac_try_echo=$ac_try;;
34844 esac
34845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34846 (eval "$ac_link") 2>conftest.er1
34847 ac_status=$?
34848 grep -v '^ *+' conftest.er1 >conftest.err
34849 rm -f conftest.er1
34850 cat conftest.err >&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); } && {
34853 test -z "$ac_c_werror_flag" ||
34854 test ! -s conftest.err
34855 } && test -s conftest$ac_exeext &&
34856 $as_test_x conftest$ac_exeext; then
34857 eval "$as_ac_var=yes"
34858 else
34859 echo "$as_me: failed program was:" >&5
34860 sed 's/^/| /' conftest.$ac_ext >&5
34861
34862 eval "$as_ac_var=no"
34863 fi
34864
34865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34866 conftest$ac_exeext conftest.$ac_ext
34867 fi
34868 ac_res=`eval echo '${'$as_ac_var'}'`
34869 { echo "$as_me:$LINENO: result: $ac_res" >&5
34870 echo "${ECHO_T}$ac_res" >&6; }
34871 if test `eval echo '${'$as_ac_var'}'` = yes; then
34872 cat >>confdefs.h <<_ACEOF
34873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34874 _ACEOF
34875
34876 fi
34877 done
34878
34879
34880 if test "$ac_cv_func_vsnprintf" = "yes"; then
34881 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34882 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34883 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34884 echo $ECHO_N "(cached) $ECHO_C" >&6
34885 else
34886
34887 cat >conftest.$ac_ext <<_ACEOF
34888 /* confdefs.h. */
34889 _ACEOF
34890 cat confdefs.h >>conftest.$ac_ext
34891 cat >>conftest.$ac_ext <<_ACEOF
34892 /* end confdefs.h. */
34893
34894 #include <stdio.h>
34895 #include <stdarg.h>
34896 #ifdef __MSL__
34897 #if __MSL__ >= 0x6000
34898 namespace std {}
34899 using namespace std;
34900 #endif
34901 #endif
34902
34903 int
34904 main ()
34905 {
34906
34907 char *buf;
34908 va_list ap;
34909 vsnprintf(buf, 10u, "%s", ap);
34910
34911 ;
34912 return 0;
34913 }
34914 _ACEOF
34915 rm -f conftest.$ac_objext
34916 if { (ac_try="$ac_compile"
34917 case "(($ac_try" in
34918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34919 *) ac_try_echo=$ac_try;;
34920 esac
34921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34922 (eval "$ac_compile") 2>conftest.er1
34923 ac_status=$?
34924 grep -v '^ *+' conftest.er1 >conftest.err
34925 rm -f conftest.er1
34926 cat conftest.err >&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } && {
34929 test -z "$ac_c_werror_flag" ||
34930 test ! -s conftest.err
34931 } && test -s conftest.$ac_objext; then
34932 wx_cv_func_vsnprintf_decl=yes
34933 else
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.$ac_ext >&5
34936
34937 wx_cv_func_vsnprintf_decl=no
34938
34939 fi
34940
34941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34942
34943
34944 fi
34945 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34946 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34947
34948 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34949 cat >>confdefs.h <<\_ACEOF
34950 #define HAVE_VSNPRINTF_DECL 1
34951 _ACEOF
34952
34953
34954 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34955 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34956 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34957 echo $ECHO_N "(cached) $ECHO_C" >&6
34958 else
34959
34960 cat >conftest.$ac_ext <<_ACEOF
34961 /* confdefs.h. */
34962 _ACEOF
34963 cat confdefs.h >>conftest.$ac_ext
34964 cat >>conftest.$ac_ext <<_ACEOF
34965 /* end confdefs.h. */
34966
34967 #include <stdio.h>
34968 #include <stdarg.h>
34969 #ifdef __MSL__
34970 #if __MSL__ >= 0x6000
34971 namespace std {}
34972 using namespace std;
34973 #endif
34974 #endif
34975
34976 int
34977 main ()
34978 {
34979
34980 char *buf;
34981 va_list ap;
34982 const char *fmt = "%s";
34983 vsnprintf(buf, 10u, fmt, ap);
34984
34985 ;
34986 return 0;
34987 }
34988 _ACEOF
34989 rm -f conftest.$ac_objext
34990 if { (ac_try="$ac_compile"
34991 case "(($ac_try" in
34992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34993 *) ac_try_echo=$ac_try;;
34994 esac
34995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34996 (eval "$ac_compile") 2>conftest.er1
34997 ac_status=$?
34998 grep -v '^ *+' conftest.er1 >conftest.err
34999 rm -f conftest.er1
35000 cat conftest.err >&5
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); } && {
35003 test -z "$ac_c_werror_flag" ||
35004 test ! -s conftest.err
35005 } && test -s conftest.$ac_objext; then
35006 wx_cv_func_broken_vsnprintf_decl=no
35007 else
35008 echo "$as_me: failed program was:" >&5
35009 sed 's/^/| /' conftest.$ac_ext >&5
35010
35011 wx_cv_func_broken_vsnprintf_decl=yes
35012
35013 fi
35014
35015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35016
35017
35018 fi
35019 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35020 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35021
35022 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35023 cat >>confdefs.h <<\_ACEOF
35024 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35025 _ACEOF
35026
35027 fi
35028 fi
35029 fi
35030
35031 if test "$ac_cv_func_snprintf" = "yes"; then
35032 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35033 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35034 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35035 echo $ECHO_N "(cached) $ECHO_C" >&6
35036 else
35037
35038 cat >conftest.$ac_ext <<_ACEOF
35039 /* confdefs.h. */
35040 _ACEOF
35041 cat confdefs.h >>conftest.$ac_ext
35042 cat >>conftest.$ac_ext <<_ACEOF
35043 /* end confdefs.h. */
35044
35045 #include <stdio.h>
35046 #include <stdarg.h>
35047 #ifdef __MSL__
35048 #if __MSL__ >= 0x6000
35049 namespace std {}
35050 using namespace std;
35051 #endif
35052 #endif
35053
35054 int
35055 main ()
35056 {
35057
35058 char *buf;
35059 snprintf(buf, 10u, "%s", "wx");
35060
35061 ;
35062 return 0;
35063 }
35064 _ACEOF
35065 rm -f conftest.$ac_objext
35066 if { (ac_try="$ac_compile"
35067 case "(($ac_try" in
35068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35069 *) ac_try_echo=$ac_try;;
35070 esac
35071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35072 (eval "$ac_compile") 2>conftest.er1
35073 ac_status=$?
35074 grep -v '^ *+' conftest.er1 >conftest.err
35075 rm -f conftest.er1
35076 cat conftest.err >&5
35077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078 (exit $ac_status); } && {
35079 test -z "$ac_c_werror_flag" ||
35080 test ! -s conftest.err
35081 } && test -s conftest.$ac_objext; then
35082 wx_cv_func_snprintf_decl=yes
35083 else
35084 echo "$as_me: failed program was:" >&5
35085 sed 's/^/| /' conftest.$ac_ext >&5
35086
35087 wx_cv_func_snprintf_decl=no
35088
35089 fi
35090
35091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35092
35093
35094 fi
35095 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35096 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35097
35098 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35099 cat >>confdefs.h <<\_ACEOF
35100 #define HAVE_SNPRINTF_DECL 1
35101 _ACEOF
35102
35103 fi
35104
35105 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35106
35107 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35108 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35109 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35110 echo $ECHO_N "(cached) $ECHO_C" >&6
35111 else
35112
35113 if test "$cross_compiling" = yes; then
35114
35115 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35116 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35117 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35118 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35119 wx_cv_func_snprintf_pos_params=no
35120
35121
35122 else
35123 cat >conftest.$ac_ext <<_ACEOF
35124 /* confdefs.h. */
35125 _ACEOF
35126 cat confdefs.h >>conftest.$ac_ext
35127 cat >>conftest.$ac_ext <<_ACEOF
35128 /* end confdefs.h. */
35129
35130 #include <stdio.h>
35131
35132 int main (void)
35133 {
35134 char buffer[128];
35135 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35136 if (strcmp ("2 3 1", buffer) == 0)
35137 exit (0);
35138 exit (1);
35139 }
35140
35141 _ACEOF
35142 rm -f conftest$ac_exeext
35143 if { (ac_try="$ac_link"
35144 case "(($ac_try" in
35145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35146 *) ac_try_echo=$ac_try;;
35147 esac
35148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35149 (eval "$ac_link") 2>&5
35150 ac_status=$?
35151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35153 { (case "(($ac_try" in
35154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35155 *) ac_try_echo=$ac_try;;
35156 esac
35157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35158 (eval "$ac_try") 2>&5
35159 ac_status=$?
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); }; }; then
35162 wx_cv_func_snprintf_pos_params=no
35163 else
35164 echo "$as_me: program exited with status $ac_status" >&5
35165 echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35167
35168 ( exit $ac_status )
35169 wx_cv_func_snprintf_pos_params=yes
35170 fi
35171 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35172 fi
35173
35174
35175
35176
35177 fi
35178 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35179 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35180
35181 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35182 cat >>confdefs.h <<\_ACEOF
35183 #define HAVE_UNIX98_PRINTF 1
35184 _ACEOF
35185
35186 fi
35187 fi
35188 fi
35189
35190 if test "$wxUSE_UNICODE" = yes; then
35191
35192 wchar_headers="#include <stdio.h>
35193 #include <wchar.h>"
35194 case "${host}" in
35195 *-*-solaris2* )
35196
35197 for ac_header in widec.h
35198 do
35199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35203 echo $ECHO_N "(cached) $ECHO_C" >&6
35204 else
35205 cat >conftest.$ac_ext <<_ACEOF
35206 /* confdefs.h. */
35207 _ACEOF
35208 cat confdefs.h >>conftest.$ac_ext
35209 cat >>conftest.$ac_ext <<_ACEOF
35210 /* end confdefs.h. */
35211 $ac_includes_default
35212
35213 #include <$ac_header>
35214 _ACEOF
35215 rm -f conftest.$ac_objext
35216 if { (ac_try="$ac_compile"
35217 case "(($ac_try" in
35218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35219 *) ac_try_echo=$ac_try;;
35220 esac
35221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35222 (eval "$ac_compile") 2>conftest.er1
35223 ac_status=$?
35224 grep -v '^ *+' conftest.er1 >conftest.err
35225 rm -f conftest.er1
35226 cat conftest.err >&5
35227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35228 (exit $ac_status); } && {
35229 test -z "$ac_c_werror_flag" ||
35230 test ! -s conftest.err
35231 } && test -s conftest.$ac_objext; then
35232 eval "$as_ac_Header=yes"
35233 else
35234 echo "$as_me: failed program was:" >&5
35235 sed 's/^/| /' conftest.$ac_ext >&5
35236
35237 eval "$as_ac_Header=no"
35238 fi
35239
35240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35241 fi
35242 ac_res=`eval echo '${'$as_ac_Header'}'`
35243 { echo "$as_me:$LINENO: result: $ac_res" >&5
35244 echo "${ECHO_T}$ac_res" >&6; }
35245 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35246 cat >>confdefs.h <<_ACEOF
35247 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35248 _ACEOF
35249
35250 fi
35251
35252 done
35253
35254 if test "$ac_cv_header_widec_h" = "yes"; then
35255 wchar_headers="$wchar_headers
35256 #include <widec.h>"
35257 fi
35258 esac
35259
35260
35261 for wx_func in putws fputws wprintf vswprintf
35262 do
35263 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35264 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35265 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35266 echo $ECHO_N "(cached) $ECHO_C" >&6
35267 else
35268
35269 cat >conftest.$ac_ext <<_ACEOF
35270
35271 /* confdefs.h. */
35272 _ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35276
35277 $wchar_headers
35278 $ac_includes_default
35279
35280 int
35281 main ()
35282 {
35283
35284 #ifndef $wx_func
35285 &$wx_func;
35286 #endif
35287
35288
35289 ;
35290 return 0;
35291 }
35292
35293 _ACEOF
35294 rm -f conftest.$ac_objext conftest$ac_exeext
35295 if { (ac_try="$ac_link"
35296 case "(($ac_try" in
35297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35298 *) ac_try_echo=$ac_try;;
35299 esac
35300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35301 (eval "$ac_link") 2>conftest.er1
35302 ac_status=$?
35303 grep -v '^ *+' conftest.er1 >conftest.err
35304 rm -f conftest.er1
35305 cat conftest.err >&5
35306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35307 (exit $ac_status); } && {
35308 test -z "$ac_c_werror_flag" ||
35309 test ! -s conftest.err
35310 } && test -s conftest$ac_exeext &&
35311 $as_test_x conftest$ac_exeext; then
35312 eval wx_cv_func_$wx_func=yes
35313 else
35314 echo "$as_me: failed program was:" >&5
35315 sed 's/^/| /' conftest.$ac_ext >&5
35316
35317 eval wx_cv_func_$wx_func=no
35318 fi
35319
35320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35321 conftest$ac_exeext conftest.$ac_ext
35322
35323 fi
35324 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35325 { echo "$as_me:$LINENO: result: $ac_res" >&5
35326 echo "${ECHO_T}$ac_res" >&6; }
35327
35328 if eval test \$wx_cv_func_$wx_func = yes
35329 then
35330 cat >>confdefs.h <<_ACEOF
35331 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35332 _ACEOF
35333
35334
35335 else
35336 :
35337
35338 fi
35339 done
35340
35341
35342 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35343 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35344 cat >conftest.$ac_ext <<_ACEOF
35345 /* confdefs.h. */
35346 _ACEOF
35347 cat confdefs.h >>conftest.$ac_ext
35348 cat >>conftest.$ac_ext <<_ACEOF
35349 /* end confdefs.h. */
35350 #include <wchar.h>
35351 int
35352 main ()
35353 {
35354 &_vsnwprintf;
35355 ;
35356 return 0;
35357 }
35358 _ACEOF
35359 rm -f conftest.$ac_objext
35360 if { (ac_try="$ac_compile"
35361 case "(($ac_try" in
35362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35363 *) ac_try_echo=$ac_try;;
35364 esac
35365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35366 (eval "$ac_compile") 2>conftest.er1
35367 ac_status=$?
35368 grep -v '^ *+' conftest.er1 >conftest.err
35369 rm -f conftest.er1
35370 cat conftest.err >&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } && {
35373 test -z "$ac_c_werror_flag" ||
35374 test ! -s conftest.err
35375 } && test -s conftest.$ac_objext; then
35376 { echo "$as_me:$LINENO: result: yes" >&5
35377 echo "${ECHO_T}yes" >&6; }
35378 cat >>confdefs.h <<\_ACEOF
35379 #define HAVE__VSNWPRINTF 1
35380 _ACEOF
35381
35382 else
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35385
35386 { echo "$as_me:$LINENO: result: no" >&5
35387 echo "${ECHO_T}no" >&6; }
35388 fi
35389
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35391 fi
35392
35393 if test "$wxUSE_FILE" = "yes"; then
35394
35395 for wx_func in fsync
35396 do
35397 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35398 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35399 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35400 echo $ECHO_N "(cached) $ECHO_C" >&6
35401 else
35402
35403 cat >conftest.$ac_ext <<_ACEOF
35404
35405 /* confdefs.h. */
35406 _ACEOF
35407 cat confdefs.h >>conftest.$ac_ext
35408 cat >>conftest.$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35410
35411
35412 $ac_includes_default
35413
35414 int
35415 main ()
35416 {
35417
35418 #ifndef $wx_func
35419 &$wx_func;
35420 #endif
35421
35422
35423 ;
35424 return 0;
35425 }
35426
35427 _ACEOF
35428 rm -f conftest.$ac_objext conftest$ac_exeext
35429 if { (ac_try="$ac_link"
35430 case "(($ac_try" in
35431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35432 *) ac_try_echo=$ac_try;;
35433 esac
35434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35435 (eval "$ac_link") 2>conftest.er1
35436 ac_status=$?
35437 grep -v '^ *+' conftest.er1 >conftest.err
35438 rm -f conftest.er1
35439 cat conftest.err >&5
35440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35441 (exit $ac_status); } && {
35442 test -z "$ac_c_werror_flag" ||
35443 test ! -s conftest.err
35444 } && test -s conftest$ac_exeext &&
35445 $as_test_x conftest$ac_exeext; then
35446 eval wx_cv_func_$wx_func=yes
35447 else
35448 echo "$as_me: failed program was:" >&5
35449 sed 's/^/| /' conftest.$ac_ext >&5
35450
35451 eval wx_cv_func_$wx_func=no
35452 fi
35453
35454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35455 conftest$ac_exeext conftest.$ac_ext
35456
35457 fi
35458 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35459 { echo "$as_me:$LINENO: result: $ac_res" >&5
35460 echo "${ECHO_T}$ac_res" >&6; }
35461
35462 if eval test \$wx_cv_func_$wx_func = yes
35463 then
35464 cat >>confdefs.h <<_ACEOF
35465 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35466 _ACEOF
35467
35468
35469 else
35470 :
35471
35472 fi
35473 done
35474
35475 fi
35476
35477 ac_ext=cpp
35478 ac_cpp='$CXXCPP $CPPFLAGS'
35479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35482
35483
35484 for wx_func in round
35485 do
35486 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35487 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35488 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35489 echo $ECHO_N "(cached) $ECHO_C" >&6
35490 else
35491
35492 cat >conftest.$ac_ext <<_ACEOF
35493
35494 /* confdefs.h. */
35495 _ACEOF
35496 cat confdefs.h >>conftest.$ac_ext
35497 cat >>conftest.$ac_ext <<_ACEOF
35498 /* end confdefs.h. */
35499
35500 #include <math.h>
35501 $ac_includes_default
35502
35503 int
35504 main ()
35505 {
35506
35507 #ifndef $wx_func
35508 &$wx_func;
35509 #endif
35510
35511
35512 ;
35513 return 0;
35514 }
35515
35516 _ACEOF
35517 rm -f conftest.$ac_objext conftest$ac_exeext
35518 if { (ac_try="$ac_link"
35519 case "(($ac_try" in
35520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35521 *) ac_try_echo=$ac_try;;
35522 esac
35523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35524 (eval "$ac_link") 2>conftest.er1
35525 ac_status=$?
35526 grep -v '^ *+' conftest.er1 >conftest.err
35527 rm -f conftest.er1
35528 cat conftest.err >&5
35529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35530 (exit $ac_status); } && {
35531 test -z "$ac_cxx_werror_flag" ||
35532 test ! -s conftest.err
35533 } && test -s conftest$ac_exeext &&
35534 $as_test_x conftest$ac_exeext; then
35535 eval wx_cv_func_$wx_func=yes
35536 else
35537 echo "$as_me: failed program was:" >&5
35538 sed 's/^/| /' conftest.$ac_ext >&5
35539
35540 eval wx_cv_func_$wx_func=no
35541 fi
35542
35543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35544 conftest$ac_exeext conftest.$ac_ext
35545
35546 fi
35547 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35548 { echo "$as_me:$LINENO: result: $ac_res" >&5
35549 echo "${ECHO_T}$ac_res" >&6; }
35550
35551 if eval test \$wx_cv_func_$wx_func = yes
35552 then
35553 cat >>confdefs.h <<_ACEOF
35554 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35555 _ACEOF
35556
35557
35558 else
35559 :
35560
35561 fi
35562 done
35563
35564 ac_ext=c
35565 ac_cpp='$CPP $CPPFLAGS'
35566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35569
35570
35571 if test "$TOOLKIT" != "MSW"; then
35572
35573
35574
35575
35576
35577 # Check whether --with-libiconv-prefix was given.
35578 if test "${with_libiconv_prefix+set}" = set; then
35579 withval=$with_libiconv_prefix;
35580 for dir in `echo "$withval" | tr : ' '`; do
35581 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35582 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35583 done
35584
35585 fi
35586
35587
35588 { echo "$as_me:$LINENO: checking for iconv" >&5
35589 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35590 if test "${am_cv_func_iconv+set}" = set; then
35591 echo $ECHO_N "(cached) $ECHO_C" >&6
35592 else
35593
35594 am_cv_func_iconv="no, consider installing GNU libiconv"
35595 am_cv_lib_iconv=no
35596 cat >conftest.$ac_ext <<_ACEOF
35597 /* confdefs.h. */
35598 _ACEOF
35599 cat confdefs.h >>conftest.$ac_ext
35600 cat >>conftest.$ac_ext <<_ACEOF
35601 /* end confdefs.h. */
35602 #include <stdlib.h>
35603 #include <iconv.h>
35604 int
35605 main ()
35606 {
35607 iconv_t cd = iconv_open("","");
35608 iconv(cd,NULL,NULL,NULL,NULL);
35609 iconv_close(cd);
35610 ;
35611 return 0;
35612 }
35613 _ACEOF
35614 rm -f conftest.$ac_objext conftest$ac_exeext
35615 if { (ac_try="$ac_link"
35616 case "(($ac_try" in
35617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35618 *) ac_try_echo=$ac_try;;
35619 esac
35620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35621 (eval "$ac_link") 2>conftest.er1
35622 ac_status=$?
35623 grep -v '^ *+' conftest.er1 >conftest.err
35624 rm -f conftest.er1
35625 cat conftest.err >&5
35626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35627 (exit $ac_status); } && {
35628 test -z "$ac_c_werror_flag" ||
35629 test ! -s conftest.err
35630 } && test -s conftest$ac_exeext &&
35631 $as_test_x conftest$ac_exeext; then
35632 am_cv_func_iconv=yes
35633 else
35634 echo "$as_me: failed program was:" >&5
35635 sed 's/^/| /' conftest.$ac_ext >&5
35636
35637
35638 fi
35639
35640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35641 conftest$ac_exeext conftest.$ac_ext
35642 if test "$am_cv_func_iconv" != yes; then
35643 am_save_LIBS="$LIBS"
35644 LIBS="$LIBS -liconv"
35645 cat >conftest.$ac_ext <<_ACEOF
35646 /* confdefs.h. */
35647 _ACEOF
35648 cat confdefs.h >>conftest.$ac_ext
35649 cat >>conftest.$ac_ext <<_ACEOF
35650 /* end confdefs.h. */
35651 #include <stdlib.h>
35652 #include <iconv.h>
35653 int
35654 main ()
35655 {
35656 iconv_t cd = iconv_open("","");
35657 iconv(cd,NULL,NULL,NULL,NULL);
35658 iconv_close(cd);
35659 ;
35660 return 0;
35661 }
35662 _ACEOF
35663 rm -f conftest.$ac_objext conftest$ac_exeext
35664 if { (ac_try="$ac_link"
35665 case "(($ac_try" in
35666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35667 *) ac_try_echo=$ac_try;;
35668 esac
35669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35670 (eval "$ac_link") 2>conftest.er1
35671 ac_status=$?
35672 grep -v '^ *+' conftest.er1 >conftest.err
35673 rm -f conftest.er1
35674 cat conftest.err >&5
35675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35676 (exit $ac_status); } && {
35677 test -z "$ac_c_werror_flag" ||
35678 test ! -s conftest.err
35679 } && test -s conftest$ac_exeext &&
35680 $as_test_x conftest$ac_exeext; then
35681 am_cv_lib_iconv=yes
35682 am_cv_func_iconv=yes
35683 else
35684 echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.$ac_ext >&5
35686
35687
35688 fi
35689
35690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35691 conftest$ac_exeext conftest.$ac_ext
35692 LIBS="$am_save_LIBS"
35693 fi
35694
35695 fi
35696 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35697 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35698 if test "$am_cv_func_iconv" = yes; then
35699
35700 cat >>confdefs.h <<\_ACEOF
35701 #define HAVE_ICONV 1
35702 _ACEOF
35703
35704 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35705 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35706 if test "${wx_cv_func_iconv_const+set}" = set; then
35707 echo $ECHO_N "(cached) $ECHO_C" >&6
35708 else
35709 cat >conftest.$ac_ext <<_ACEOF
35710 /* confdefs.h. */
35711 _ACEOF
35712 cat confdefs.h >>conftest.$ac_ext
35713 cat >>conftest.$ac_ext <<_ACEOF
35714 /* end confdefs.h. */
35715
35716 #include <stdlib.h>
35717 #include <iconv.h>
35718 extern
35719 #ifdef __cplusplus
35720 "C"
35721 #endif
35722 #if defined(__STDC__) || defined(__cplusplus)
35723 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35724 #else
35725 size_t iconv();
35726 #endif
35727
35728 int
35729 main ()
35730 {
35731
35732 ;
35733 return 0;
35734 }
35735 _ACEOF
35736 rm -f conftest.$ac_objext
35737 if { (ac_try="$ac_compile"
35738 case "(($ac_try" in
35739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35740 *) ac_try_echo=$ac_try;;
35741 esac
35742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35743 (eval "$ac_compile") 2>conftest.er1
35744 ac_status=$?
35745 grep -v '^ *+' conftest.er1 >conftest.err
35746 rm -f conftest.er1
35747 cat conftest.err >&5
35748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749 (exit $ac_status); } && {
35750 test -z "$ac_c_werror_flag" ||
35751 test ! -s conftest.err
35752 } && test -s conftest.$ac_objext; then
35753 wx_cv_func_iconv_const="no"
35754 else
35755 echo "$as_me: failed program was:" >&5
35756 sed 's/^/| /' conftest.$ac_ext >&5
35757
35758 wx_cv_func_iconv_const="yes"
35759
35760 fi
35761
35762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763
35764 fi
35765 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35766 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35767
35768 iconv_const=
35769 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35770 iconv_const="const"
35771 fi
35772
35773
35774 cat >>confdefs.h <<_ACEOF
35775 #define ICONV_CONST $iconv_const
35776 _ACEOF
35777
35778 fi
35779 LIBICONV=
35780 if test "$am_cv_lib_iconv" = yes; then
35781 LIBICONV="-liconv"
35782 fi
35783
35784
35785 LIBS="$LIBICONV $LIBS"
35786
35787 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35788
35789 for ac_func in sigaction
35790 do
35791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35792 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35794 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35795 echo $ECHO_N "(cached) $ECHO_C" >&6
35796 else
35797 cat >conftest.$ac_ext <<_ACEOF
35798 /* confdefs.h. */
35799 _ACEOF
35800 cat confdefs.h >>conftest.$ac_ext
35801 cat >>conftest.$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35805 #define $ac_func innocuous_$ac_func
35806
35807 /* System header to define __stub macros and hopefully few prototypes,
35808 which can conflict with char $ac_func (); below.
35809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35810 <limits.h> exists even on freestanding compilers. */
35811
35812 #ifdef __STDC__
35813 # include <limits.h>
35814 #else
35815 # include <assert.h>
35816 #endif
35817
35818 #undef $ac_func
35819
35820 /* Override any GCC internal prototype to avoid an error.
35821 Use char because int might match the return type of a GCC
35822 builtin and then its argument prototype would still apply. */
35823 #ifdef __cplusplus
35824 extern "C"
35825 #endif
35826 char $ac_func ();
35827 /* The GNU C library defines this for functions which it implements
35828 to always fail with ENOSYS. Some functions are actually named
35829 something starting with __ and the normal name is an alias. */
35830 #if defined __stub_$ac_func || defined __stub___$ac_func
35831 choke me
35832 #endif
35833
35834 int
35835 main ()
35836 {
35837 return $ac_func ();
35838 ;
35839 return 0;
35840 }
35841 _ACEOF
35842 rm -f conftest.$ac_objext conftest$ac_exeext
35843 if { (ac_try="$ac_link"
35844 case "(($ac_try" in
35845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35846 *) ac_try_echo=$ac_try;;
35847 esac
35848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35849 (eval "$ac_link") 2>conftest.er1
35850 ac_status=$?
35851 grep -v '^ *+' conftest.er1 >conftest.err
35852 rm -f conftest.er1
35853 cat conftest.err >&5
35854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35855 (exit $ac_status); } && {
35856 test -z "$ac_c_werror_flag" ||
35857 test ! -s conftest.err
35858 } && test -s conftest$ac_exeext &&
35859 $as_test_x conftest$ac_exeext; then
35860 eval "$as_ac_var=yes"
35861 else
35862 echo "$as_me: failed program was:" >&5
35863 sed 's/^/| /' conftest.$ac_ext >&5
35864
35865 eval "$as_ac_var=no"
35866 fi
35867
35868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35869 conftest$ac_exeext conftest.$ac_ext
35870 fi
35871 ac_res=`eval echo '${'$as_ac_var'}'`
35872 { echo "$as_me:$LINENO: result: $ac_res" >&5
35873 echo "${ECHO_T}$ac_res" >&6; }
35874 if test `eval echo '${'$as_ac_var'}'` = yes; then
35875 cat >>confdefs.h <<_ACEOF
35876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35877 _ACEOF
35878
35879 fi
35880 done
35881
35882
35883 if test "$ac_cv_func_sigaction" = "no"; then
35884 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35885 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35886 wxUSE_ON_FATAL_EXCEPTION=no
35887 fi
35888
35889 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35890 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35891 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35892 if test "${wx_cv_type_sa_handler+set}" = set; then
35893 echo $ECHO_N "(cached) $ECHO_C" >&6
35894 else
35895
35896 ac_ext=cpp
35897 ac_cpp='$CXXCPP $CPPFLAGS'
35898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35901
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 #include <signal.h>
35909 int
35910 main ()
35911 {
35912
35913 extern void testSigHandler(int);
35914
35915 struct sigaction sa;
35916 sa.sa_handler = testSigHandler;
35917
35918 ;
35919 return 0;
35920 }
35921 _ACEOF
35922 rm -f conftest.$ac_objext
35923 if { (ac_try="$ac_compile"
35924 case "(($ac_try" in
35925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35926 *) ac_try_echo=$ac_try;;
35927 esac
35928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35929 (eval "$ac_compile") 2>conftest.er1
35930 ac_status=$?
35931 grep -v '^ *+' conftest.er1 >conftest.err
35932 rm -f conftest.er1
35933 cat conftest.err >&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); } && {
35936 test -z "$ac_cxx_werror_flag" ||
35937 test ! -s conftest.err
35938 } && test -s conftest.$ac_objext; then
35939
35940 wx_cv_type_sa_handler=int
35941
35942 else
35943 echo "$as_me: failed program was:" >&5
35944 sed 's/^/| /' conftest.$ac_ext >&5
35945
35946
35947 wx_cv_type_sa_handler=void
35948
35949 fi
35950
35951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35952 ac_ext=c
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35957
35958
35959 fi
35960 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35961 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35962
35963 cat >>confdefs.h <<_ACEOF
35964 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35965 _ACEOF
35966
35967 fi
35968 fi
35969
35970 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35971 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35972 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35973 if test "${wx_cv_func_backtrace+set}" = set; then
35974 echo $ECHO_N "(cached) $ECHO_C" >&6
35975 else
35976
35977 ac_ext=cpp
35978 ac_cpp='$CXXCPP $CPPFLAGS'
35979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35982
35983 cat >conftest.$ac_ext <<_ACEOF
35984 /* confdefs.h. */
35985 _ACEOF
35986 cat confdefs.h >>conftest.$ac_ext
35987 cat >>conftest.$ac_ext <<_ACEOF
35988 /* end confdefs.h. */
35989 #include <execinfo.h>
35990 int
35991 main ()
35992 {
35993
35994 void *trace[1];
35995 char **messages;
35996
35997 backtrace(trace, 1);
35998 messages = backtrace_symbols(trace, 1);
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_backtrace=yes
36022 else
36023 echo "$as_me: failed program was:" >&5
36024 sed 's/^/| /' conftest.$ac_ext >&5
36025
36026 wx_cv_func_backtrace=no
36027
36028 fi
36029
36030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36031 ac_ext=c
36032 ac_cpp='$CPP $CPPFLAGS'
36033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36036
36037
36038
36039 fi
36040 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36041 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36042
36043
36044 if test "$wx_cv_func_backtrace" = "no"; then
36045 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36046 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36047 wxUSE_STACKWALKER=no
36048 else
36049 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36050 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36051 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36052 echo $ECHO_N "(cached) $ECHO_C" >&6
36053 else
36054
36055 ac_ext=cpp
36056 ac_cpp='$CXXCPP $CPPFLAGS'
36057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36060
36061 cat >conftest.$ac_ext <<_ACEOF
36062 /* confdefs.h. */
36063 _ACEOF
36064 cat confdefs.h >>conftest.$ac_ext
36065 cat >>conftest.$ac_ext <<_ACEOF
36066 /* end confdefs.h. */
36067 #include <cxxabi.h>
36068 int
36069 main ()
36070 {
36071
36072 int rc;
36073 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36074
36075 ;
36076 return 0;
36077 }
36078 _ACEOF
36079 rm -f conftest.$ac_objext conftest$ac_exeext
36080 if { (ac_try="$ac_link"
36081 case "(($ac_try" in
36082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36083 *) ac_try_echo=$ac_try;;
36084 esac
36085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36086 (eval "$ac_link") 2>conftest.er1
36087 ac_status=$?
36088 grep -v '^ *+' conftest.er1 >conftest.err
36089 rm -f conftest.er1
36090 cat conftest.err >&5
36091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36092 (exit $ac_status); } && {
36093 test -z "$ac_cxx_werror_flag" ||
36094 test ! -s conftest.err
36095 } && test -s conftest$ac_exeext &&
36096 $as_test_x conftest$ac_exeext; then
36097 wx_cv_func_cxa_demangle=yes
36098 else
36099 echo "$as_me: failed program was:" >&5
36100 sed 's/^/| /' conftest.$ac_ext >&5
36101
36102 wx_cv_func_cxa_demangle=no
36103
36104 fi
36105
36106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36107 conftest$ac_exeext conftest.$ac_ext
36108 ac_ext=c
36109 ac_cpp='$CPP $CPPFLAGS'
36110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36113
36114
36115
36116 fi
36117 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36118 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36119
36120 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36121 cat >>confdefs.h <<\_ACEOF
36122 #define HAVE_CXA_DEMANGLE 1
36123 _ACEOF
36124
36125 fi
36126 fi
36127 fi
36128
36129 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36130 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36131 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36132 wxUSE_STACKWALKER=no
36133 fi
36134
36135
36136
36137
36138 for ac_func in mkstemp mktemp
36139 do
36140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36144 echo $ECHO_N "(cached) $ECHO_C" >&6
36145 else
36146 cat >conftest.$ac_ext <<_ACEOF
36147 /* confdefs.h. */
36148 _ACEOF
36149 cat confdefs.h >>conftest.$ac_ext
36150 cat >>conftest.$ac_ext <<_ACEOF
36151 /* end confdefs.h. */
36152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36154 #define $ac_func innocuous_$ac_func
36155
36156 /* System header to define __stub macros and hopefully few prototypes,
36157 which can conflict with char $ac_func (); below.
36158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36159 <limits.h> exists even on freestanding compilers. */
36160
36161 #ifdef __STDC__
36162 # include <limits.h>
36163 #else
36164 # include <assert.h>
36165 #endif
36166
36167 #undef $ac_func
36168
36169 /* Override any GCC internal prototype to avoid an error.
36170 Use char because int might match the return type of a GCC
36171 builtin and then its argument prototype would still apply. */
36172 #ifdef __cplusplus
36173 extern "C"
36174 #endif
36175 char $ac_func ();
36176 /* The GNU C library defines this for functions which it implements
36177 to always fail with ENOSYS. Some functions are actually named
36178 something starting with __ and the normal name is an alias. */
36179 #if defined __stub_$ac_func || defined __stub___$ac_func
36180 choke me
36181 #endif
36182
36183 int
36184 main ()
36185 {
36186 return $ac_func ();
36187 ;
36188 return 0;
36189 }
36190 _ACEOF
36191 rm -f conftest.$ac_objext conftest$ac_exeext
36192 if { (ac_try="$ac_link"
36193 case "(($ac_try" in
36194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36195 *) ac_try_echo=$ac_try;;
36196 esac
36197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36198 (eval "$ac_link") 2>conftest.er1
36199 ac_status=$?
36200 grep -v '^ *+' conftest.er1 >conftest.err
36201 rm -f conftest.er1
36202 cat conftest.err >&5
36203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36204 (exit $ac_status); } && {
36205 test -z "$ac_c_werror_flag" ||
36206 test ! -s conftest.err
36207 } && test -s conftest$ac_exeext &&
36208 $as_test_x conftest$ac_exeext; then
36209 eval "$as_ac_var=yes"
36210 else
36211 echo "$as_me: failed program was:" >&5
36212 sed 's/^/| /' conftest.$ac_ext >&5
36213
36214 eval "$as_ac_var=no"
36215 fi
36216
36217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36218 conftest$ac_exeext conftest.$ac_ext
36219 fi
36220 ac_res=`eval echo '${'$as_ac_var'}'`
36221 { echo "$as_me:$LINENO: result: $ac_res" >&5
36222 echo "${ECHO_T}$ac_res" >&6; }
36223 if test `eval echo '${'$as_ac_var'}'` = yes; then
36224 cat >>confdefs.h <<_ACEOF
36225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36226 _ACEOF
36227 break
36228 fi
36229 done
36230
36231
36232 { echo "$as_me:$LINENO: checking for statfs" >&5
36233 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36234 if test "${wx_cv_func_statfs+set}" = set; then
36235 echo $ECHO_N "(cached) $ECHO_C" >&6
36236 else
36237 cat >conftest.$ac_ext <<_ACEOF
36238 /* confdefs.h. */
36239 _ACEOF
36240 cat confdefs.h >>conftest.$ac_ext
36241 cat >>conftest.$ac_ext <<_ACEOF
36242 /* end confdefs.h. */
36243
36244 #if defined(__BSD__)
36245 #include <sys/param.h>
36246 #include <sys/mount.h>
36247 #else
36248 #include <sys/vfs.h>
36249 #endif
36250
36251 int
36252 main ()
36253 {
36254
36255 long l;
36256 struct statfs fs;
36257 statfs("/", &fs);
36258 l = fs.f_bsize;
36259 l += fs.f_blocks;
36260 l += fs.f_bavail;
36261
36262 ;
36263 return 0;
36264 }
36265 _ACEOF
36266 rm -f conftest.$ac_objext
36267 if { (ac_try="$ac_compile"
36268 case "(($ac_try" in
36269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36270 *) ac_try_echo=$ac_try;;
36271 esac
36272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36273 (eval "$ac_compile") 2>conftest.er1
36274 ac_status=$?
36275 grep -v '^ *+' conftest.er1 >conftest.err
36276 rm -f conftest.er1
36277 cat conftest.err >&5
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); } && {
36280 test -z "$ac_c_werror_flag" ||
36281 test ! -s conftest.err
36282 } && test -s conftest.$ac_objext; then
36283 wx_cv_func_statfs=yes
36284 else
36285 echo "$as_me: failed program was:" >&5
36286 sed 's/^/| /' conftest.$ac_ext >&5
36287
36288 wx_cv_func_statfs=no
36289
36290 fi
36291
36292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36293
36294 fi
36295 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36296 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36297
36298 if test "$wx_cv_func_statfs" = "yes"; then
36299 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36300 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36301 if test "${wx_cv_func_statfs_decl+set}" = set; then
36302 echo $ECHO_N "(cached) $ECHO_C" >&6
36303 else
36304 ac_ext=cpp
36305 ac_cpp='$CXXCPP $CPPFLAGS'
36306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36309
36310 cat >conftest.$ac_ext <<_ACEOF
36311 /* confdefs.h. */
36312 _ACEOF
36313 cat confdefs.h >>conftest.$ac_ext
36314 cat >>conftest.$ac_ext <<_ACEOF
36315 /* end confdefs.h. */
36316
36317 #if defined(__BSD__)
36318 #include <sys/param.h>
36319 #include <sys/mount.h>
36320 #else
36321 #include <sys/vfs.h>
36322 #endif
36323
36324 int
36325 main ()
36326 {
36327
36328 struct statfs fs;
36329 statfs("", &fs);
36330
36331 ;
36332 return 0;
36333 }
36334 _ACEOF
36335 rm -f conftest.$ac_objext
36336 if { (ac_try="$ac_compile"
36337 case "(($ac_try" in
36338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36339 *) ac_try_echo=$ac_try;;
36340 esac
36341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36342 (eval "$ac_compile") 2>conftest.er1
36343 ac_status=$?
36344 grep -v '^ *+' conftest.er1 >conftest.err
36345 rm -f conftest.er1
36346 cat conftest.err >&5
36347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348 (exit $ac_status); } && {
36349 test -z "$ac_cxx_werror_flag" ||
36350 test ! -s conftest.err
36351 } && test -s conftest.$ac_objext; then
36352 wx_cv_func_statfs_decl=yes
36353 else
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36356
36357 wx_cv_func_statfs_decl=no
36358
36359 fi
36360
36361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36362 ac_ext=c
36363 ac_cpp='$CPP $CPPFLAGS'
36364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36367
36368
36369 fi
36370 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36371 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36372
36373 if test "$wx_cv_func_statfs_decl" = "yes"; then
36374 cat >>confdefs.h <<\_ACEOF
36375 #define HAVE_STATFS_DECL 1
36376 _ACEOF
36377
36378 fi
36379
36380 wx_cv_type_statvfs_t="struct statfs"
36381 cat >>confdefs.h <<\_ACEOF
36382 #define HAVE_STATFS 1
36383 _ACEOF
36384
36385 else
36386 { echo "$as_me:$LINENO: checking for statvfs" >&5
36387 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36388 if test "${wx_cv_func_statvfs+set}" = set; then
36389 echo $ECHO_N "(cached) $ECHO_C" >&6
36390 else
36391 cat >conftest.$ac_ext <<_ACEOF
36392 /* confdefs.h. */
36393 _ACEOF
36394 cat confdefs.h >>conftest.$ac_ext
36395 cat >>conftest.$ac_ext <<_ACEOF
36396 /* end confdefs.h. */
36397
36398 #include <stddef.h>
36399 #include <sys/statvfs.h>
36400
36401 int
36402 main ()
36403 {
36404
36405 statvfs("/", NULL);
36406
36407 ;
36408 return 0;
36409 }
36410 _ACEOF
36411 rm -f conftest.$ac_objext
36412 if { (ac_try="$ac_compile"
36413 case "(($ac_try" in
36414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36415 *) ac_try_echo=$ac_try;;
36416 esac
36417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36418 (eval "$ac_compile") 2>conftest.er1
36419 ac_status=$?
36420 grep -v '^ *+' conftest.er1 >conftest.err
36421 rm -f conftest.er1
36422 cat conftest.err >&5
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); } && {
36425 test -z "$ac_c_werror_flag" ||
36426 test ! -s conftest.err
36427 } && test -s conftest.$ac_objext; then
36428 wx_cv_func_statvfs=yes
36429 else
36430 echo "$as_me: failed program was:" >&5
36431 sed 's/^/| /' conftest.$ac_ext >&5
36432
36433 wx_cv_func_statvfs=no
36434
36435 fi
36436
36437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36438
36439 fi
36440 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36441 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36442
36443 if test "$wx_cv_func_statvfs" = "yes"; then
36444 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36445 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36446 if test "${wx_cv_type_statvfs_t+set}" = set; then
36447 echo $ECHO_N "(cached) $ECHO_C" >&6
36448 else
36449 ac_ext=cpp
36450 ac_cpp='$CXXCPP $CPPFLAGS'
36451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36454
36455 cat >conftest.$ac_ext <<_ACEOF
36456 /* confdefs.h. */
36457 _ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36461
36462 #include <sys/statvfs.h>
36463
36464 int
36465 main ()
36466 {
36467
36468 long l;
36469 statvfs_t fs;
36470 statvfs("/", &fs);
36471 l = fs.f_bsize;
36472 l += fs.f_blocks;
36473 l += fs.f_bavail;
36474
36475 ;
36476 return 0;
36477 }
36478 _ACEOF
36479 rm -f conftest.$ac_objext
36480 if { (ac_try="$ac_compile"
36481 case "(($ac_try" in
36482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36483 *) ac_try_echo=$ac_try;;
36484 esac
36485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36486 (eval "$ac_compile") 2>conftest.er1
36487 ac_status=$?
36488 grep -v '^ *+' conftest.er1 >conftest.err
36489 rm -f conftest.er1
36490 cat conftest.err >&5
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); } && {
36493 test -z "$ac_cxx_werror_flag" ||
36494 test ! -s conftest.err
36495 } && test -s conftest.$ac_objext; then
36496 wx_cv_type_statvfs_t=statvfs_t
36497 else
36498 echo "$as_me: failed program was:" >&5
36499 sed 's/^/| /' conftest.$ac_ext >&5
36500
36501
36502 cat >conftest.$ac_ext <<_ACEOF
36503 /* confdefs.h. */
36504 _ACEOF
36505 cat confdefs.h >>conftest.$ac_ext
36506 cat >>conftest.$ac_ext <<_ACEOF
36507 /* end confdefs.h. */
36508
36509 #include <sys/statvfs.h>
36510
36511 int
36512 main ()
36513 {
36514
36515 long l;
36516 struct statvfs fs;
36517 statvfs("/", &fs);
36518 l = fs.f_bsize;
36519 l += fs.f_blocks;
36520 l += fs.f_bavail;
36521
36522 ;
36523 return 0;
36524 }
36525 _ACEOF
36526 rm -f conftest.$ac_objext
36527 if { (ac_try="$ac_compile"
36528 case "(($ac_try" in
36529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36530 *) ac_try_echo=$ac_try;;
36531 esac
36532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36533 (eval "$ac_compile") 2>conftest.er1
36534 ac_status=$?
36535 grep -v '^ *+' conftest.er1 >conftest.err
36536 rm -f conftest.er1
36537 cat conftest.err >&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } && {
36540 test -z "$ac_cxx_werror_flag" ||
36541 test ! -s conftest.err
36542 } && test -s conftest.$ac_objext; then
36543 wx_cv_type_statvfs_t="struct statvfs"
36544 else
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36547
36548 wx_cv_type_statvfs_t="unknown"
36549
36550 fi
36551
36552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36553
36554
36555 fi
36556
36557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36558 ac_ext=c
36559 ac_cpp='$CPP $CPPFLAGS'
36560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36563
36564
36565 fi
36566 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36567 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36568
36569 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36570 cat >>confdefs.h <<\_ACEOF
36571 #define HAVE_STATVFS 1
36572 _ACEOF
36573
36574 fi
36575 else
36576 wx_cv_type_statvfs_t="unknown"
36577 fi
36578 fi
36579
36580 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36581 cat >>confdefs.h <<_ACEOF
36582 #define WX_STATFS_T $wx_cv_type_statvfs_t
36583 _ACEOF
36584
36585 else
36586 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36587 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36588 fi
36589
36590 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36591
36592
36593 for ac_func in fcntl flock
36594 do
36595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36599 echo $ECHO_N "(cached) $ECHO_C" >&6
36600 else
36601 cat >conftest.$ac_ext <<_ACEOF
36602 /* confdefs.h. */
36603 _ACEOF
36604 cat confdefs.h >>conftest.$ac_ext
36605 cat >>conftest.$ac_ext <<_ACEOF
36606 /* end confdefs.h. */
36607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36609 #define $ac_func innocuous_$ac_func
36610
36611 /* System header to define __stub macros and hopefully few prototypes,
36612 which can conflict with char $ac_func (); below.
36613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36614 <limits.h> exists even on freestanding compilers. */
36615
36616 #ifdef __STDC__
36617 # include <limits.h>
36618 #else
36619 # include <assert.h>
36620 #endif
36621
36622 #undef $ac_func
36623
36624 /* Override any GCC internal prototype to avoid an error.
36625 Use char because int might match the return type of a GCC
36626 builtin and then its argument prototype would still apply. */
36627 #ifdef __cplusplus
36628 extern "C"
36629 #endif
36630 char $ac_func ();
36631 /* The GNU C library defines this for functions which it implements
36632 to always fail with ENOSYS. Some functions are actually named
36633 something starting with __ and the normal name is an alias. */
36634 #if defined __stub_$ac_func || defined __stub___$ac_func
36635 choke me
36636 #endif
36637
36638 int
36639 main ()
36640 {
36641 return $ac_func ();
36642 ;
36643 return 0;
36644 }
36645 _ACEOF
36646 rm -f conftest.$ac_objext conftest$ac_exeext
36647 if { (ac_try="$ac_link"
36648 case "(($ac_try" in
36649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36650 *) ac_try_echo=$ac_try;;
36651 esac
36652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36653 (eval "$ac_link") 2>conftest.er1
36654 ac_status=$?
36655 grep -v '^ *+' conftest.er1 >conftest.err
36656 rm -f conftest.er1
36657 cat conftest.err >&5
36658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659 (exit $ac_status); } && {
36660 test -z "$ac_c_werror_flag" ||
36661 test ! -s conftest.err
36662 } && test -s conftest$ac_exeext &&
36663 $as_test_x conftest$ac_exeext; then
36664 eval "$as_ac_var=yes"
36665 else
36666 echo "$as_me: failed program was:" >&5
36667 sed 's/^/| /' conftest.$ac_ext >&5
36668
36669 eval "$as_ac_var=no"
36670 fi
36671
36672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36673 conftest$ac_exeext conftest.$ac_ext
36674 fi
36675 ac_res=`eval echo '${'$as_ac_var'}'`
36676 { echo "$as_me:$LINENO: result: $ac_res" >&5
36677 echo "${ECHO_T}$ac_res" >&6; }
36678 if test `eval echo '${'$as_ac_var'}'` = yes; then
36679 cat >>confdefs.h <<_ACEOF
36680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36681 _ACEOF
36682 break
36683 fi
36684 done
36685
36686
36687 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36688 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36689 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36690 wxUSE_SNGLINST_CHECKER=no
36691 fi
36692 fi
36693
36694
36695
36696 for ac_func in setenv putenv
36697 do
36698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36702 echo $ECHO_N "(cached) $ECHO_C" >&6
36703 else
36704 cat >conftest.$ac_ext <<_ACEOF
36705 /* confdefs.h. */
36706 _ACEOF
36707 cat confdefs.h >>conftest.$ac_ext
36708 cat >>conftest.$ac_ext <<_ACEOF
36709 /* end confdefs.h. */
36710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36712 #define $ac_func innocuous_$ac_func
36713
36714 /* System header to define __stub macros and hopefully few prototypes,
36715 which can conflict with char $ac_func (); below.
36716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36717 <limits.h> exists even on freestanding compilers. */
36718
36719 #ifdef __STDC__
36720 # include <limits.h>
36721 #else
36722 # include <assert.h>
36723 #endif
36724
36725 #undef $ac_func
36726
36727 /* Override any GCC internal prototype to avoid an error.
36728 Use char because int might match the return type of a GCC
36729 builtin and then its argument prototype would still apply. */
36730 #ifdef __cplusplus
36731 extern "C"
36732 #endif
36733 char $ac_func ();
36734 /* The GNU C library defines this for functions which it implements
36735 to always fail with ENOSYS. Some functions are actually named
36736 something starting with __ and the normal name is an alias. */
36737 #if defined __stub_$ac_func || defined __stub___$ac_func
36738 choke me
36739 #endif
36740
36741 int
36742 main ()
36743 {
36744 return $ac_func ();
36745 ;
36746 return 0;
36747 }
36748 _ACEOF
36749 rm -f conftest.$ac_objext conftest$ac_exeext
36750 if { (ac_try="$ac_link"
36751 case "(($ac_try" in
36752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36753 *) ac_try_echo=$ac_try;;
36754 esac
36755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36756 (eval "$ac_link") 2>conftest.er1
36757 ac_status=$?
36758 grep -v '^ *+' conftest.er1 >conftest.err
36759 rm -f conftest.er1
36760 cat conftest.err >&5
36761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762 (exit $ac_status); } && {
36763 test -z "$ac_c_werror_flag" ||
36764 test ! -s conftest.err
36765 } && test -s conftest$ac_exeext &&
36766 $as_test_x conftest$ac_exeext; then
36767 eval "$as_ac_var=yes"
36768 else
36769 echo "$as_me: failed program was:" >&5
36770 sed 's/^/| /' conftest.$ac_ext >&5
36771
36772 eval "$as_ac_var=no"
36773 fi
36774
36775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36776 conftest$ac_exeext conftest.$ac_ext
36777 fi
36778 ac_res=`eval echo '${'$as_ac_var'}'`
36779 { echo "$as_me:$LINENO: result: $ac_res" >&5
36780 echo "${ECHO_T}$ac_res" >&6; }
36781 if test `eval echo '${'$as_ac_var'}'` = yes; then
36782 cat >>confdefs.h <<_ACEOF
36783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36784 _ACEOF
36785 break
36786 fi
36787 done
36788
36789 if test "$ac_cv_func_setenv" = "yes"; then
36790
36791 for ac_func in unsetenv
36792 do
36793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36796 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36797 echo $ECHO_N "(cached) $ECHO_C" >&6
36798 else
36799 cat >conftest.$ac_ext <<_ACEOF
36800 /* confdefs.h. */
36801 _ACEOF
36802 cat confdefs.h >>conftest.$ac_ext
36803 cat >>conftest.$ac_ext <<_ACEOF
36804 /* end confdefs.h. */
36805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36807 #define $ac_func innocuous_$ac_func
36808
36809 /* System header to define __stub macros and hopefully few prototypes,
36810 which can conflict with char $ac_func (); below.
36811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36812 <limits.h> exists even on freestanding compilers. */
36813
36814 #ifdef __STDC__
36815 # include <limits.h>
36816 #else
36817 # include <assert.h>
36818 #endif
36819
36820 #undef $ac_func
36821
36822 /* Override any GCC internal prototype to avoid an error.
36823 Use char because int might match the return type of a GCC
36824 builtin and then its argument prototype would still apply. */
36825 #ifdef __cplusplus
36826 extern "C"
36827 #endif
36828 char $ac_func ();
36829 /* The GNU C library defines this for functions which it implements
36830 to always fail with ENOSYS. Some functions are actually named
36831 something starting with __ and the normal name is an alias. */
36832 #if defined __stub_$ac_func || defined __stub___$ac_func
36833 choke me
36834 #endif
36835
36836 int
36837 main ()
36838 {
36839 return $ac_func ();
36840 ;
36841 return 0;
36842 }
36843 _ACEOF
36844 rm -f conftest.$ac_objext conftest$ac_exeext
36845 if { (ac_try="$ac_link"
36846 case "(($ac_try" in
36847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36848 *) ac_try_echo=$ac_try;;
36849 esac
36850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36851 (eval "$ac_link") 2>conftest.er1
36852 ac_status=$?
36853 grep -v '^ *+' conftest.er1 >conftest.err
36854 rm -f conftest.er1
36855 cat conftest.err >&5
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); } && {
36858 test -z "$ac_c_werror_flag" ||
36859 test ! -s conftest.err
36860 } && test -s conftest$ac_exeext &&
36861 $as_test_x conftest$ac_exeext; then
36862 eval "$as_ac_var=yes"
36863 else
36864 echo "$as_me: failed program was:" >&5
36865 sed 's/^/| /' conftest.$ac_ext >&5
36866
36867 eval "$as_ac_var=no"
36868 fi
36869
36870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36871 conftest$ac_exeext conftest.$ac_ext
36872 fi
36873 ac_res=`eval echo '${'$as_ac_var'}'`
36874 { echo "$as_me:$LINENO: result: $ac_res" >&5
36875 echo "${ECHO_T}$ac_res" >&6; }
36876 if test `eval echo '${'$as_ac_var'}'` = yes; then
36877 cat >>confdefs.h <<_ACEOF
36878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36879 _ACEOF
36880
36881 fi
36882 done
36883
36884 fi
36885
36886 HAVE_SOME_SLEEP_FUNC=0
36887 if test "$USE_BEOS" = 1; then
36888 cat >>confdefs.h <<\_ACEOF
36889 #define HAVE_SLEEP 1
36890 _ACEOF
36891
36892 HAVE_SOME_SLEEP_FUNC=1
36893 fi
36894
36895 if test "$USE_DARWIN" = 1; then
36896 cat >>confdefs.h <<\_ACEOF
36897 #define HAVE_USLEEP 1
36898 _ACEOF
36899
36900 HAVE_SOME_SLEEP_FUNC=1
36901 fi
36902
36903 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36904 POSIX4_LINK=
36905
36906 for ac_func in nanosleep
36907 do
36908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36911 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 else
36914 cat >conftest.$ac_ext <<_ACEOF
36915 /* confdefs.h. */
36916 _ACEOF
36917 cat confdefs.h >>conftest.$ac_ext
36918 cat >>conftest.$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36922 #define $ac_func innocuous_$ac_func
36923
36924 /* System header to define __stub macros and hopefully few prototypes,
36925 which can conflict with char $ac_func (); below.
36926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36927 <limits.h> exists even on freestanding compilers. */
36928
36929 #ifdef __STDC__
36930 # include <limits.h>
36931 #else
36932 # include <assert.h>
36933 #endif
36934
36935 #undef $ac_func
36936
36937 /* Override any GCC internal prototype to avoid an error.
36938 Use char because int might match the return type of a GCC
36939 builtin and then its argument prototype would still apply. */
36940 #ifdef __cplusplus
36941 extern "C"
36942 #endif
36943 char $ac_func ();
36944 /* The GNU C library defines this for functions which it implements
36945 to always fail with ENOSYS. Some functions are actually named
36946 something starting with __ and the normal name is an alias. */
36947 #if defined __stub_$ac_func || defined __stub___$ac_func
36948 choke me
36949 #endif
36950
36951 int
36952 main ()
36953 {
36954 return $ac_func ();
36955 ;
36956 return 0;
36957 }
36958 _ACEOF
36959 rm -f conftest.$ac_objext conftest$ac_exeext
36960 if { (ac_try="$ac_link"
36961 case "(($ac_try" in
36962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36963 *) ac_try_echo=$ac_try;;
36964 esac
36965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36966 (eval "$ac_link") 2>conftest.er1
36967 ac_status=$?
36968 grep -v '^ *+' conftest.er1 >conftest.err
36969 rm -f conftest.er1
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } && {
36973 test -z "$ac_c_werror_flag" ||
36974 test ! -s conftest.err
36975 } && test -s conftest$ac_exeext &&
36976 $as_test_x conftest$ac_exeext; then
36977 eval "$as_ac_var=yes"
36978 else
36979 echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36981
36982 eval "$as_ac_var=no"
36983 fi
36984
36985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36986 conftest$ac_exeext conftest.$ac_ext
36987 fi
36988 ac_res=`eval echo '${'$as_ac_var'}'`
36989 { echo "$as_me:$LINENO: result: $ac_res" >&5
36990 echo "${ECHO_T}$ac_res" >&6; }
36991 if test `eval echo '${'$as_ac_var'}'` = yes; then
36992 cat >>confdefs.h <<_ACEOF
36993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36994 _ACEOF
36995 cat >>confdefs.h <<\_ACEOF
36996 #define HAVE_NANOSLEEP 1
36997 _ACEOF
36998
36999 else
37000
37001 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37002 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37003 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37005 else
37006 ac_check_lib_save_LIBS=$LIBS
37007 LIBS="-lposix4 $LIBS"
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
37015 /* Override any GCC internal prototype to avoid an error.
37016 Use char because int might match the return type of a GCC
37017 builtin and then its argument prototype would still apply. */
37018 #ifdef __cplusplus
37019 extern "C"
37020 #endif
37021 char nanosleep ();
37022 int
37023 main ()
37024 {
37025 return nanosleep ();
37026 ;
37027 return 0;
37028 }
37029 _ACEOF
37030 rm -f conftest.$ac_objext conftest$ac_exeext
37031 if { (ac_try="$ac_link"
37032 case "(($ac_try" in
37033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37034 *) ac_try_echo=$ac_try;;
37035 esac
37036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37037 (eval "$ac_link") 2>conftest.er1
37038 ac_status=$?
37039 grep -v '^ *+' conftest.er1 >conftest.err
37040 rm -f conftest.er1
37041 cat conftest.err >&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } && {
37044 test -z "$ac_c_werror_flag" ||
37045 test ! -s conftest.err
37046 } && test -s conftest$ac_exeext &&
37047 $as_test_x conftest$ac_exeext; then
37048 ac_cv_lib_posix4_nanosleep=yes
37049 else
37050 echo "$as_me: failed program was:" >&5
37051 sed 's/^/| /' conftest.$ac_ext >&5
37052
37053 ac_cv_lib_posix4_nanosleep=no
37054 fi
37055
37056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37057 conftest$ac_exeext conftest.$ac_ext
37058 LIBS=$ac_check_lib_save_LIBS
37059 fi
37060 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37061 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37062 if test $ac_cv_lib_posix4_nanosleep = yes; then
37063
37064 cat >>confdefs.h <<\_ACEOF
37065 #define HAVE_NANOSLEEP 1
37066 _ACEOF
37067
37068 POSIX4_LINK=" -lposix4"
37069
37070 else
37071
37072
37073 for wx_func in usleep
37074 do
37075 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37076 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37077 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37078 echo $ECHO_N "(cached) $ECHO_C" >&6
37079 else
37080
37081 cat >conftest.$ac_ext <<_ACEOF
37082
37083 /* confdefs.h. */
37084 _ACEOF
37085 cat confdefs.h >>conftest.$ac_ext
37086 cat >>conftest.$ac_ext <<_ACEOF
37087 /* end confdefs.h. */
37088
37089
37090 $ac_includes_default
37091
37092 int
37093 main ()
37094 {
37095
37096 #ifndef $wx_func
37097 &$wx_func;
37098 #endif
37099
37100
37101 ;
37102 return 0;
37103 }
37104
37105 _ACEOF
37106 rm -f conftest.$ac_objext conftest$ac_exeext
37107 if { (ac_try="$ac_link"
37108 case "(($ac_try" in
37109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37110 *) ac_try_echo=$ac_try;;
37111 esac
37112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37113 (eval "$ac_link") 2>conftest.er1
37114 ac_status=$?
37115 grep -v '^ *+' conftest.er1 >conftest.err
37116 rm -f conftest.er1
37117 cat conftest.err >&5
37118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37119 (exit $ac_status); } && {
37120 test -z "$ac_c_werror_flag" ||
37121 test ! -s conftest.err
37122 } && test -s conftest$ac_exeext &&
37123 $as_test_x conftest$ac_exeext; then
37124 eval wx_cv_func_$wx_func=yes
37125 else
37126 echo "$as_me: failed program was:" >&5
37127 sed 's/^/| /' conftest.$ac_ext >&5
37128
37129 eval wx_cv_func_$wx_func=no
37130 fi
37131
37132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37133 conftest$ac_exeext conftest.$ac_ext
37134
37135 fi
37136 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37137 { echo "$as_me:$LINENO: result: $ac_res" >&5
37138 echo "${ECHO_T}$ac_res" >&6; }
37139
37140 if eval test \$wx_cv_func_$wx_func = yes
37141 then
37142 cat >>confdefs.h <<_ACEOF
37143 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37144 _ACEOF
37145
37146
37147 else
37148 :
37149 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37150 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37151
37152 fi
37153 done
37154
37155
37156
37157 fi
37158
37159
37160
37161 fi
37162 done
37163
37164 fi
37165
37166
37167 for wx_func in uname
37168 do
37169 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37170 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37171 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37172 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 else
37174
37175 cat >conftest.$ac_ext <<_ACEOF
37176
37177 /* confdefs.h. */
37178 _ACEOF
37179 cat confdefs.h >>conftest.$ac_ext
37180 cat >>conftest.$ac_ext <<_ACEOF
37181 /* end confdefs.h. */
37182
37183 #include <sys/utsname.h>
37184 $ac_includes_default
37185
37186 int
37187 main ()
37188 {
37189
37190 #ifndef $wx_func
37191 &$wx_func;
37192 #endif
37193
37194
37195 ;
37196 return 0;
37197 }
37198
37199 _ACEOF
37200 rm -f conftest.$ac_objext conftest$ac_exeext
37201 if { (ac_try="$ac_link"
37202 case "(($ac_try" in
37203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37204 *) ac_try_echo=$ac_try;;
37205 esac
37206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37207 (eval "$ac_link") 2>conftest.er1
37208 ac_status=$?
37209 grep -v '^ *+' conftest.er1 >conftest.err
37210 rm -f conftest.er1
37211 cat conftest.err >&5
37212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37213 (exit $ac_status); } && {
37214 test -z "$ac_c_werror_flag" ||
37215 test ! -s conftest.err
37216 } && test -s conftest$ac_exeext &&
37217 $as_test_x conftest$ac_exeext; then
37218 eval wx_cv_func_$wx_func=yes
37219 else
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.$ac_ext >&5
37222
37223 eval wx_cv_func_$wx_func=no
37224 fi
37225
37226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37227 conftest$ac_exeext conftest.$ac_ext
37228
37229 fi
37230 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37231 { echo "$as_me:$LINENO: result: $ac_res" >&5
37232 echo "${ECHO_T}$ac_res" >&6; }
37233
37234 if eval test \$wx_cv_func_$wx_func = yes
37235 then
37236 cat >>confdefs.h <<_ACEOF
37237 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37238 _ACEOF
37239
37240
37241 else
37242 :
37243
37244 fi
37245 done
37246
37247 if test "$wx_cv_func_uname" != yes; then
37248
37249 for wx_func in gethostname
37250 do
37251 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37252 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37253 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37254 echo $ECHO_N "(cached) $ECHO_C" >&6
37255 else
37256
37257 cat >conftest.$ac_ext <<_ACEOF
37258
37259 /* confdefs.h. */
37260 _ACEOF
37261 cat confdefs.h >>conftest.$ac_ext
37262 cat >>conftest.$ac_ext <<_ACEOF
37263 /* end confdefs.h. */
37264
37265
37266 $ac_includes_default
37267
37268 int
37269 main ()
37270 {
37271
37272 #ifndef $wx_func
37273 &$wx_func;
37274 #endif
37275
37276
37277 ;
37278 return 0;
37279 }
37280
37281 _ACEOF
37282 rm -f conftest.$ac_objext conftest$ac_exeext
37283 if { (ac_try="$ac_link"
37284 case "(($ac_try" in
37285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37286 *) ac_try_echo=$ac_try;;
37287 esac
37288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37289 (eval "$ac_link") 2>conftest.er1
37290 ac_status=$?
37291 grep -v '^ *+' conftest.er1 >conftest.err
37292 rm -f conftest.er1
37293 cat conftest.err >&5
37294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37295 (exit $ac_status); } && {
37296 test -z "$ac_c_werror_flag" ||
37297 test ! -s conftest.err
37298 } && test -s conftest$ac_exeext &&
37299 $as_test_x conftest$ac_exeext; then
37300 eval wx_cv_func_$wx_func=yes
37301 else
37302 echo "$as_me: failed program was:" >&5
37303 sed 's/^/| /' conftest.$ac_ext >&5
37304
37305 eval wx_cv_func_$wx_func=no
37306 fi
37307
37308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37309 conftest$ac_exeext conftest.$ac_ext
37310
37311 fi
37312 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37313 { echo "$as_me:$LINENO: result: $ac_res" >&5
37314 echo "${ECHO_T}$ac_res" >&6; }
37315
37316 if eval test \$wx_cv_func_$wx_func = yes
37317 then
37318 cat >>confdefs.h <<_ACEOF
37319 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37320 _ACEOF
37321
37322
37323 else
37324 :
37325
37326 fi
37327 done
37328
37329 fi
37330
37331
37332 for wx_func in strtok_r
37333 do
37334 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37335 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37336 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37337 echo $ECHO_N "(cached) $ECHO_C" >&6
37338 else
37339
37340 cat >conftest.$ac_ext <<_ACEOF
37341
37342 /* confdefs.h. */
37343 _ACEOF
37344 cat confdefs.h >>conftest.$ac_ext
37345 cat >>conftest.$ac_ext <<_ACEOF
37346 /* end confdefs.h. */
37347
37348 #define _REENTRANT
37349 $ac_includes_default
37350
37351 int
37352 main ()
37353 {
37354
37355 #ifndef $wx_func
37356 &$wx_func;
37357 #endif
37358
37359
37360 ;
37361 return 0;
37362 }
37363
37364 _ACEOF
37365 rm -f conftest.$ac_objext conftest$ac_exeext
37366 if { (ac_try="$ac_link"
37367 case "(($ac_try" in
37368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37369 *) ac_try_echo=$ac_try;;
37370 esac
37371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37372 (eval "$ac_link") 2>conftest.er1
37373 ac_status=$?
37374 grep -v '^ *+' conftest.er1 >conftest.err
37375 rm -f conftest.er1
37376 cat conftest.err >&5
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); } && {
37379 test -z "$ac_c_werror_flag" ||
37380 test ! -s conftest.err
37381 } && test -s conftest$ac_exeext &&
37382 $as_test_x conftest$ac_exeext; then
37383 eval wx_cv_func_$wx_func=yes
37384 else
37385 echo "$as_me: failed program was:" >&5
37386 sed 's/^/| /' conftest.$ac_ext >&5
37387
37388 eval wx_cv_func_$wx_func=no
37389 fi
37390
37391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37392 conftest$ac_exeext conftest.$ac_ext
37393
37394 fi
37395 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37396 { echo "$as_me:$LINENO: result: $ac_res" >&5
37397 echo "${ECHO_T}$ac_res" >&6; }
37398
37399 if eval test \$wx_cv_func_$wx_func = yes
37400 then
37401 cat >>confdefs.h <<_ACEOF
37402 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37403 _ACEOF
37404
37405
37406 else
37407 :
37408
37409 fi
37410 done
37411
37412
37413 INET_LINK=
37414
37415 for ac_func in inet_addr
37416 do
37417 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37418 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37419 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37420 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37421 echo $ECHO_N "(cached) $ECHO_C" >&6
37422 else
37423 cat >conftest.$ac_ext <<_ACEOF
37424 /* confdefs.h. */
37425 _ACEOF
37426 cat confdefs.h >>conftest.$ac_ext
37427 cat >>conftest.$ac_ext <<_ACEOF
37428 /* end confdefs.h. */
37429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37431 #define $ac_func innocuous_$ac_func
37432
37433 /* System header to define __stub macros and hopefully few prototypes,
37434 which can conflict with char $ac_func (); below.
37435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37436 <limits.h> exists even on freestanding compilers. */
37437
37438 #ifdef __STDC__
37439 # include <limits.h>
37440 #else
37441 # include <assert.h>
37442 #endif
37443
37444 #undef $ac_func
37445
37446 /* Override any GCC internal prototype to avoid an error.
37447 Use char because int might match the return type of a GCC
37448 builtin and then its argument prototype would still apply. */
37449 #ifdef __cplusplus
37450 extern "C"
37451 #endif
37452 char $ac_func ();
37453 /* The GNU C library defines this for functions which it implements
37454 to always fail with ENOSYS. Some functions are actually named
37455 something starting with __ and the normal name is an alias. */
37456 #if defined __stub_$ac_func || defined __stub___$ac_func
37457 choke me
37458 #endif
37459
37460 int
37461 main ()
37462 {
37463 return $ac_func ();
37464 ;
37465 return 0;
37466 }
37467 _ACEOF
37468 rm -f conftest.$ac_objext conftest$ac_exeext
37469 if { (ac_try="$ac_link"
37470 case "(($ac_try" in
37471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37472 *) ac_try_echo=$ac_try;;
37473 esac
37474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37475 (eval "$ac_link") 2>conftest.er1
37476 ac_status=$?
37477 grep -v '^ *+' conftest.er1 >conftest.err
37478 rm -f conftest.er1
37479 cat conftest.err >&5
37480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37481 (exit $ac_status); } && {
37482 test -z "$ac_c_werror_flag" ||
37483 test ! -s conftest.err
37484 } && test -s conftest$ac_exeext &&
37485 $as_test_x conftest$ac_exeext; then
37486 eval "$as_ac_var=yes"
37487 else
37488 echo "$as_me: failed program was:" >&5
37489 sed 's/^/| /' conftest.$ac_ext >&5
37490
37491 eval "$as_ac_var=no"
37492 fi
37493
37494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37495 conftest$ac_exeext conftest.$ac_ext
37496 fi
37497 ac_res=`eval echo '${'$as_ac_var'}'`
37498 { echo "$as_me:$LINENO: result: $ac_res" >&5
37499 echo "${ECHO_T}$ac_res" >&6; }
37500 if test `eval echo '${'$as_ac_var'}'` = yes; then
37501 cat >>confdefs.h <<_ACEOF
37502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37503 _ACEOF
37504 cat >>confdefs.h <<\_ACEOF
37505 #define HAVE_INET_ADDR 1
37506 _ACEOF
37507
37508 else
37509
37510 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37511 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37512 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37513 echo $ECHO_N "(cached) $ECHO_C" >&6
37514 else
37515 ac_check_lib_save_LIBS=$LIBS
37516 LIBS="-lnsl $LIBS"
37517 cat >conftest.$ac_ext <<_ACEOF
37518 /* confdefs.h. */
37519 _ACEOF
37520 cat confdefs.h >>conftest.$ac_ext
37521 cat >>conftest.$ac_ext <<_ACEOF
37522 /* end confdefs.h. */
37523
37524 /* Override any GCC internal prototype to avoid an error.
37525 Use char because int might match the return type of a GCC
37526 builtin and then its argument prototype would still apply. */
37527 #ifdef __cplusplus
37528 extern "C"
37529 #endif
37530 char inet_addr ();
37531 int
37532 main ()
37533 {
37534 return inet_addr ();
37535 ;
37536 return 0;
37537 }
37538 _ACEOF
37539 rm -f conftest.$ac_objext conftest$ac_exeext
37540 if { (ac_try="$ac_link"
37541 case "(($ac_try" in
37542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37543 *) ac_try_echo=$ac_try;;
37544 esac
37545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37546 (eval "$ac_link") 2>conftest.er1
37547 ac_status=$?
37548 grep -v '^ *+' conftest.er1 >conftest.err
37549 rm -f conftest.er1
37550 cat conftest.err >&5
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); } && {
37553 test -z "$ac_c_werror_flag" ||
37554 test ! -s conftest.err
37555 } && test -s conftest$ac_exeext &&
37556 $as_test_x conftest$ac_exeext; then
37557 ac_cv_lib_nsl_inet_addr=yes
37558 else
37559 echo "$as_me: failed program was:" >&5
37560 sed 's/^/| /' conftest.$ac_ext >&5
37561
37562 ac_cv_lib_nsl_inet_addr=no
37563 fi
37564
37565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37566 conftest$ac_exeext conftest.$ac_ext
37567 LIBS=$ac_check_lib_save_LIBS
37568 fi
37569 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37570 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37571 if test $ac_cv_lib_nsl_inet_addr = yes; then
37572 INET_LINK="nsl"
37573 else
37574
37575 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37576 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37577 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37578 echo $ECHO_N "(cached) $ECHO_C" >&6
37579 else
37580 ac_check_lib_save_LIBS=$LIBS
37581 LIBS="-lresolv $LIBS"
37582 cat >conftest.$ac_ext <<_ACEOF
37583 /* confdefs.h. */
37584 _ACEOF
37585 cat confdefs.h >>conftest.$ac_ext
37586 cat >>conftest.$ac_ext <<_ACEOF
37587 /* end confdefs.h. */
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 inet_addr ();
37596 int
37597 main ()
37598 {
37599 return inet_addr ();
37600 ;
37601 return 0;
37602 }
37603 _ACEOF
37604 rm -f conftest.$ac_objext conftest$ac_exeext
37605 if { (ac_try="$ac_link"
37606 case "(($ac_try" in
37607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37608 *) ac_try_echo=$ac_try;;
37609 esac
37610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37611 (eval "$ac_link") 2>conftest.er1
37612 ac_status=$?
37613 grep -v '^ *+' conftest.er1 >conftest.err
37614 rm -f conftest.er1
37615 cat conftest.err >&5
37616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37617 (exit $ac_status); } && {
37618 test -z "$ac_c_werror_flag" ||
37619 test ! -s conftest.err
37620 } && test -s conftest$ac_exeext &&
37621 $as_test_x conftest$ac_exeext; then
37622 ac_cv_lib_resolv_inet_addr=yes
37623 else
37624 echo "$as_me: failed program was:" >&5
37625 sed 's/^/| /' conftest.$ac_ext >&5
37626
37627 ac_cv_lib_resolv_inet_addr=no
37628 fi
37629
37630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37631 conftest$ac_exeext conftest.$ac_ext
37632 LIBS=$ac_check_lib_save_LIBS
37633 fi
37634 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37635 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37636 if test $ac_cv_lib_resolv_inet_addr = yes; then
37637 INET_LINK="resolv"
37638 else
37639
37640 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37641 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37642 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37643 echo $ECHO_N "(cached) $ECHO_C" >&6
37644 else
37645 ac_check_lib_save_LIBS=$LIBS
37646 LIBS="-lsocket $LIBS"
37647 cat >conftest.$ac_ext <<_ACEOF
37648 /* confdefs.h. */
37649 _ACEOF
37650 cat confdefs.h >>conftest.$ac_ext
37651 cat >>conftest.$ac_ext <<_ACEOF
37652 /* end confdefs.h. */
37653
37654 /* Override any GCC internal prototype to avoid an error.
37655 Use char because int might match the return type of a GCC
37656 builtin and then its argument prototype would still apply. */
37657 #ifdef __cplusplus
37658 extern "C"
37659 #endif
37660 char inet_addr ();
37661 int
37662 main ()
37663 {
37664 return inet_addr ();
37665 ;
37666 return 0;
37667 }
37668 _ACEOF
37669 rm -f conftest.$ac_objext conftest$ac_exeext
37670 if { (ac_try="$ac_link"
37671 case "(($ac_try" in
37672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37673 *) ac_try_echo=$ac_try;;
37674 esac
37675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37676 (eval "$ac_link") 2>conftest.er1
37677 ac_status=$?
37678 grep -v '^ *+' conftest.er1 >conftest.err
37679 rm -f conftest.er1
37680 cat conftest.err >&5
37681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37682 (exit $ac_status); } && {
37683 test -z "$ac_c_werror_flag" ||
37684 test ! -s conftest.err
37685 } && test -s conftest$ac_exeext &&
37686 $as_test_x conftest$ac_exeext; then
37687 ac_cv_lib_socket_inet_addr=yes
37688 else
37689 echo "$as_me: failed program was:" >&5
37690 sed 's/^/| /' conftest.$ac_ext >&5
37691
37692 ac_cv_lib_socket_inet_addr=no
37693 fi
37694
37695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37696 conftest$ac_exeext conftest.$ac_ext
37697 LIBS=$ac_check_lib_save_LIBS
37698 fi
37699 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37700 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37701 if test $ac_cv_lib_socket_inet_addr = yes; then
37702 INET_LINK="socket"
37703
37704 fi
37705
37706
37707
37708 fi
37709
37710
37711
37712 fi
37713
37714
37715
37716 fi
37717 done
37718
37719
37720
37721 for ac_func in inet_aton
37722 do
37723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37724 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37726 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37727 echo $ECHO_N "(cached) $ECHO_C" >&6
37728 else
37729 cat >conftest.$ac_ext <<_ACEOF
37730 /* confdefs.h. */
37731 _ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37737 #define $ac_func innocuous_$ac_func
37738
37739 /* System header to define __stub macros and hopefully few prototypes,
37740 which can conflict with char $ac_func (); below.
37741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37742 <limits.h> exists even on freestanding compilers. */
37743
37744 #ifdef __STDC__
37745 # include <limits.h>
37746 #else
37747 # include <assert.h>
37748 #endif
37749
37750 #undef $ac_func
37751
37752 /* Override any GCC internal prototype to avoid an error.
37753 Use char because int might match the return type of a GCC
37754 builtin and then its argument prototype would still apply. */
37755 #ifdef __cplusplus
37756 extern "C"
37757 #endif
37758 char $ac_func ();
37759 /* The GNU C library defines this for functions which it implements
37760 to always fail with ENOSYS. Some functions are actually named
37761 something starting with __ and the normal name is an alias. */
37762 #if defined __stub_$ac_func || defined __stub___$ac_func
37763 choke me
37764 #endif
37765
37766 int
37767 main ()
37768 {
37769 return $ac_func ();
37770 ;
37771 return 0;
37772 }
37773 _ACEOF
37774 rm -f conftest.$ac_objext conftest$ac_exeext
37775 if { (ac_try="$ac_link"
37776 case "(($ac_try" in
37777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37778 *) ac_try_echo=$ac_try;;
37779 esac
37780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37781 (eval "$ac_link") 2>conftest.er1
37782 ac_status=$?
37783 grep -v '^ *+' conftest.er1 >conftest.err
37784 rm -f conftest.er1
37785 cat conftest.err >&5
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); } && {
37788 test -z "$ac_c_werror_flag" ||
37789 test ! -s conftest.err
37790 } && test -s conftest$ac_exeext &&
37791 $as_test_x conftest$ac_exeext; then
37792 eval "$as_ac_var=yes"
37793 else
37794 echo "$as_me: failed program was:" >&5
37795 sed 's/^/| /' conftest.$ac_ext >&5
37796
37797 eval "$as_ac_var=no"
37798 fi
37799
37800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37801 conftest$ac_exeext conftest.$ac_ext
37802 fi
37803 ac_res=`eval echo '${'$as_ac_var'}'`
37804 { echo "$as_me:$LINENO: result: $ac_res" >&5
37805 echo "${ECHO_T}$ac_res" >&6; }
37806 if test `eval echo '${'$as_ac_var'}'` = yes; then
37807 cat >>confdefs.h <<_ACEOF
37808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37809 _ACEOF
37810 cat >>confdefs.h <<\_ACEOF
37811 #define HAVE_INET_ATON 1
37812 _ACEOF
37813
37814 else
37815
37816 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37817 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37818 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37819 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37820 echo $ECHO_N "(cached) $ECHO_C" >&6
37821 else
37822 ac_check_lib_save_LIBS=$LIBS
37823 LIBS="-l$INET_LINK $LIBS"
37824 cat >conftest.$ac_ext <<_ACEOF
37825 /* confdefs.h. */
37826 _ACEOF
37827 cat confdefs.h >>conftest.$ac_ext
37828 cat >>conftest.$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830
37831 /* Override any GCC internal prototype to avoid an error.
37832 Use char because int might match the return type of a GCC
37833 builtin and then its argument prototype would still apply. */
37834 #ifdef __cplusplus
37835 extern "C"
37836 #endif
37837 char inet_aton ();
37838 int
37839 main ()
37840 {
37841 return inet_aton ();
37842 ;
37843 return 0;
37844 }
37845 _ACEOF
37846 rm -f conftest.$ac_objext conftest$ac_exeext
37847 if { (ac_try="$ac_link"
37848 case "(($ac_try" in
37849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37850 *) ac_try_echo=$ac_try;;
37851 esac
37852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37853 (eval "$ac_link") 2>conftest.er1
37854 ac_status=$?
37855 grep -v '^ *+' conftest.er1 >conftest.err
37856 rm -f conftest.er1
37857 cat conftest.err >&5
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); } && {
37860 test -z "$ac_c_werror_flag" ||
37861 test ! -s conftest.err
37862 } && test -s conftest$ac_exeext &&
37863 $as_test_x conftest$ac_exeext; then
37864 eval "$as_ac_Lib=yes"
37865 else
37866 echo "$as_me: failed program was:" >&5
37867 sed 's/^/| /' conftest.$ac_ext >&5
37868
37869 eval "$as_ac_Lib=no"
37870 fi
37871
37872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37873 conftest$ac_exeext conftest.$ac_ext
37874 LIBS=$ac_check_lib_save_LIBS
37875 fi
37876 ac_res=`eval echo '${'$as_ac_Lib'}'`
37877 { echo "$as_me:$LINENO: result: $ac_res" >&5
37878 echo "${ECHO_T}$ac_res" >&6; }
37879 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37880 cat >>confdefs.h <<\_ACEOF
37881 #define HAVE_INET_ATON 1
37882 _ACEOF
37883
37884 fi
37885
37886
37887 fi
37888 done
37889
37890
37891 if test "x$INET_LINK" != "x"; then
37892 cat >>confdefs.h <<\_ACEOF
37893 #define HAVE_INET_ADDR 1
37894 _ACEOF
37895
37896 INET_LINK=" -l$INET_LINK"
37897 fi
37898
37899
37900 for wx_func in fdopen
37901 do
37902 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37903 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37904 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37905 echo $ECHO_N "(cached) $ECHO_C" >&6
37906 else
37907
37908 cat >conftest.$ac_ext <<_ACEOF
37909
37910 /* confdefs.h. */
37911 _ACEOF
37912 cat confdefs.h >>conftest.$ac_ext
37913 cat >>conftest.$ac_ext <<_ACEOF
37914 /* end confdefs.h. */
37915
37916
37917 $ac_includes_default
37918
37919 int
37920 main ()
37921 {
37922
37923 #ifndef $wx_func
37924 &$wx_func;
37925 #endif
37926
37927
37928 ;
37929 return 0;
37930 }
37931
37932 _ACEOF
37933 rm -f conftest.$ac_objext conftest$ac_exeext
37934 if { (ac_try="$ac_link"
37935 case "(($ac_try" in
37936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37937 *) ac_try_echo=$ac_try;;
37938 esac
37939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37940 (eval "$ac_link") 2>conftest.er1
37941 ac_status=$?
37942 grep -v '^ *+' conftest.er1 >conftest.err
37943 rm -f conftest.er1
37944 cat conftest.err >&5
37945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37946 (exit $ac_status); } && {
37947 test -z "$ac_c_werror_flag" ||
37948 test ! -s conftest.err
37949 } && test -s conftest$ac_exeext &&
37950 $as_test_x conftest$ac_exeext; then
37951 eval wx_cv_func_$wx_func=yes
37952 else
37953 echo "$as_me: failed program was:" >&5
37954 sed 's/^/| /' conftest.$ac_ext >&5
37955
37956 eval wx_cv_func_$wx_func=no
37957 fi
37958
37959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37960 conftest$ac_exeext conftest.$ac_ext
37961
37962 fi
37963 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37964 { echo "$as_me:$LINENO: result: $ac_res" >&5
37965 echo "${ECHO_T}$ac_res" >&6; }
37966
37967 if eval test \$wx_cv_func_$wx_func = yes
37968 then
37969 cat >>confdefs.h <<_ACEOF
37970 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37971 _ACEOF
37972
37973
37974 else
37975 :
37976
37977 fi
37978 done
37979
37980
37981 if test "$wxUSE_TARSTREAM" = "yes"; then
37982
37983 for wx_func in sysconf
37984 do
37985 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37986 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37987 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37989 else
37990
37991 cat >conftest.$ac_ext <<_ACEOF
37992
37993 /* confdefs.h. */
37994 _ACEOF
37995 cat confdefs.h >>conftest.$ac_ext
37996 cat >>conftest.$ac_ext <<_ACEOF
37997 /* end confdefs.h. */
37998
37999
38000 $ac_includes_default
38001
38002 int
38003 main ()
38004 {
38005
38006 #ifndef $wx_func
38007 &$wx_func;
38008 #endif
38009
38010
38011 ;
38012 return 0;
38013 }
38014
38015 _ACEOF
38016 rm -f conftest.$ac_objext conftest$ac_exeext
38017 if { (ac_try="$ac_link"
38018 case "(($ac_try" in
38019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38020 *) ac_try_echo=$ac_try;;
38021 esac
38022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38023 (eval "$ac_link") 2>conftest.er1
38024 ac_status=$?
38025 grep -v '^ *+' conftest.er1 >conftest.err
38026 rm -f conftest.er1
38027 cat conftest.err >&5
38028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38029 (exit $ac_status); } && {
38030 test -z "$ac_c_werror_flag" ||
38031 test ! -s conftest.err
38032 } && test -s conftest$ac_exeext &&
38033 $as_test_x conftest$ac_exeext; then
38034 eval wx_cv_func_$wx_func=yes
38035 else
38036 echo "$as_me: failed program was:" >&5
38037 sed 's/^/| /' conftest.$ac_ext >&5
38038
38039 eval wx_cv_func_$wx_func=no
38040 fi
38041
38042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38043 conftest$ac_exeext conftest.$ac_ext
38044
38045 fi
38046 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38047 { echo "$as_me:$LINENO: result: $ac_res" >&5
38048 echo "${ECHO_T}$ac_res" >&6; }
38049
38050 if eval test \$wx_cv_func_$wx_func = yes
38051 then
38052 cat >>confdefs.h <<_ACEOF
38053 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38054 _ACEOF
38055
38056
38057 else
38058 :
38059
38060 fi
38061 done
38062
38063
38064
38065 for wx_func in getpwuid_r
38066 do
38067 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38068 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38069 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38070 echo $ECHO_N "(cached) $ECHO_C" >&6
38071 else
38072
38073 cat >conftest.$ac_ext <<_ACEOF
38074
38075 /* confdefs.h. */
38076 _ACEOF
38077 cat confdefs.h >>conftest.$ac_ext
38078 cat >>conftest.$ac_ext <<_ACEOF
38079 /* end confdefs.h. */
38080
38081
38082 #define _REENTRANT
38083 #include <pwd.h>
38084
38085 $ac_includes_default
38086
38087 int
38088 main ()
38089 {
38090
38091 #ifndef $wx_func
38092 &$wx_func;
38093 #endif
38094
38095 struct passwd pw, *ppw;
38096 char buf[1024];
38097 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38098
38099
38100 ;
38101 return 0;
38102 }
38103
38104 _ACEOF
38105 rm -f conftest.$ac_objext conftest$ac_exeext
38106 if { (ac_try="$ac_link"
38107 case "(($ac_try" in
38108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38109 *) ac_try_echo=$ac_try;;
38110 esac
38111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38112 (eval "$ac_link") 2>conftest.er1
38113 ac_status=$?
38114 grep -v '^ *+' conftest.er1 >conftest.err
38115 rm -f conftest.er1
38116 cat conftest.err >&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } && {
38119 test -z "$ac_c_werror_flag" ||
38120 test ! -s conftest.err
38121 } && test -s conftest$ac_exeext &&
38122 $as_test_x conftest$ac_exeext; then
38123 eval wx_cv_func_$wx_func=yes
38124 else
38125 echo "$as_me: failed program was:" >&5
38126 sed 's/^/| /' conftest.$ac_ext >&5
38127
38128 eval wx_cv_func_$wx_func=no
38129 fi
38130
38131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38132 conftest$ac_exeext conftest.$ac_ext
38133
38134 fi
38135 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38136 { echo "$as_me:$LINENO: result: $ac_res" >&5
38137 echo "${ECHO_T}$ac_res" >&6; }
38138
38139 if eval test \$wx_cv_func_$wx_func = yes
38140 then
38141 cat >>confdefs.h <<_ACEOF
38142 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38143 _ACEOF
38144
38145
38146 else
38147 :
38148
38149 fi
38150 done
38151
38152
38153
38154 for wx_func in getgrgid_r
38155 do
38156 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38157 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38158 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38159 echo $ECHO_N "(cached) $ECHO_C" >&6
38160 else
38161
38162 cat >conftest.$ac_ext <<_ACEOF
38163
38164 /* confdefs.h. */
38165 _ACEOF
38166 cat confdefs.h >>conftest.$ac_ext
38167 cat >>conftest.$ac_ext <<_ACEOF
38168 /* end confdefs.h. */
38169
38170
38171 #define _REENTRANT
38172 #include <grp.h>
38173
38174 $ac_includes_default
38175
38176 int
38177 main ()
38178 {
38179
38180 #ifndef $wx_func
38181 &$wx_func;
38182 #endif
38183
38184 struct group grp, *pgrp;
38185 char buf[1024];
38186 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38187
38188
38189 ;
38190 return 0;
38191 }
38192
38193 _ACEOF
38194 rm -f conftest.$ac_objext conftest$ac_exeext
38195 if { (ac_try="$ac_link"
38196 case "(($ac_try" in
38197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38198 *) ac_try_echo=$ac_try;;
38199 esac
38200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38201 (eval "$ac_link") 2>conftest.er1
38202 ac_status=$?
38203 grep -v '^ *+' conftest.er1 >conftest.err
38204 rm -f conftest.er1
38205 cat conftest.err >&5
38206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38207 (exit $ac_status); } && {
38208 test -z "$ac_c_werror_flag" ||
38209 test ! -s conftest.err
38210 } && test -s conftest$ac_exeext &&
38211 $as_test_x conftest$ac_exeext; then
38212 eval wx_cv_func_$wx_func=yes
38213 else
38214 echo "$as_me: failed program was:" >&5
38215 sed 's/^/| /' conftest.$ac_ext >&5
38216
38217 eval wx_cv_func_$wx_func=no
38218 fi
38219
38220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38221 conftest$ac_exeext conftest.$ac_ext
38222
38223 fi
38224 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38225 { echo "$as_me:$LINENO: result: $ac_res" >&5
38226 echo "${ECHO_T}$ac_res" >&6; }
38227
38228 if eval test \$wx_cv_func_$wx_func = yes
38229 then
38230 cat >>confdefs.h <<_ACEOF
38231 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38232 _ACEOF
38233
38234
38235 else
38236 :
38237
38238 fi
38239 done
38240
38241 fi
38242
38243 fi
38244
38245
38246
38247 cat >confcache <<\_ACEOF
38248 # This file is a shell script that caches the results of configure
38249 # tests run on this system so they can be shared between configure
38250 # scripts and configure runs, see configure's option --config-cache.
38251 # It is not useful on other systems. If it contains results you don't
38252 # want to keep, you may remove or edit it.
38253 #
38254 # config.status only pays attention to the cache file if you give it
38255 # the --recheck option to rerun configure.
38256 #
38257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38259 # following values.
38260
38261 _ACEOF
38262
38263 # The following way of writing the cache mishandles newlines in values,
38264 # but we know of no workaround that is simple, portable, and efficient.
38265 # So, we kill variables containing newlines.
38266 # Ultrix sh set writes to stderr and can't be redirected directly,
38267 # and sets the high bit in the cache file unless we assign to the vars.
38268 (
38269 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38270 eval ac_val=\$$ac_var
38271 case $ac_val in #(
38272 *${as_nl}*)
38273 case $ac_var in #(
38274 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38275 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38276 esac
38277 case $ac_var in #(
38278 _ | IFS | as_nl) ;; #(
38279 *) $as_unset $ac_var ;;
38280 esac ;;
38281 esac
38282 done
38283
38284 (set) 2>&1 |
38285 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38286 *${as_nl}ac_space=\ *)
38287 # `set' does not quote correctly, so add quotes (double-quote
38288 # substitution turns \\\\ into \\, and sed turns \\ into \).
38289 sed -n \
38290 "s/'/'\\\\''/g;
38291 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38292 ;; #(
38293 *)
38294 # `set' quotes correctly as required by POSIX, so do not add quotes.
38295 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38296 ;;
38297 esac |
38298 sort
38299 ) |
38300 sed '
38301 /^ac_cv_env_/b end
38302 t clear
38303 :clear
38304 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38305 t end
38306 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38307 :end' >>confcache
38308 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38309 if test -w "$cache_file"; then
38310 test "x$cache_file" != "x/dev/null" &&
38311 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38312 echo "$as_me: updating cache $cache_file" >&6;}
38313 cat confcache >$cache_file
38314 else
38315 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38316 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38317 fi
38318 fi
38319 rm -f confcache
38320
38321
38322 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38323
38324
38325 THREADS_LINK=
38326 THREADS_CFLAGS=
38327
38328 if test "$wxUSE_THREADS" = "yes" ; then
38329 if test "$USE_BEOS" = 1; then
38330 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38331 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38332 wxUSE_THREADS="no"
38333 fi
38334 fi
38335
38336 if test "$wxUSE_THREADS" = "yes" ; then
38337
38338
38339 THREAD_OPTS="-pthread"
38340 if test "x$SUNCXX" = xyes; then
38341 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38342 fi
38343
38344 case "${host}" in
38345 *-*-solaris2* | *-*-sunos4* )
38346 if test "x$GCC" = "xyes"; then
38347 THREAD_OPTS="-pthreads $THREAD_OPTS"
38348 fi
38349 ;;
38350 *-*-freebsd*)
38351 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38352 ;;
38353 *-*-darwin* | *-*-cygwin* )
38354 THREAD_OPTS=""
38355 ;;
38356 *-*-aix*)
38357 THREAD_OPTS="pthreads"
38358 ;;
38359 *-hp-hpux* )
38360 if test "x$GCC" = "xyes"; then
38361 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38362 THREAD_OPTS=""
38363 else
38364 THREAD_OPTS="-mt"
38365 fi
38366 ;;
38367
38368 *-*-irix* )
38369 if test "x$GCC" = "xyes"; then
38370 THREAD_OPTS=""
38371 fi
38372 ;;
38373
38374 *-*-*UnixWare*)
38375 if test "x$GCC" != "xyes"; then
38376 THREAD_OPTS="-Ethread"
38377 fi
38378 ;;
38379 esac
38380
38381 THREAD_OPTS="$THREAD_OPTS pthread none"
38382
38383 THREADS_OK=no
38384 for flag in $THREAD_OPTS; do
38385 case $flag in
38386 none)
38387 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38388 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38389 ;;
38390
38391 -*)
38392 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38393 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38394 THREADS_CFLAGS="$flag"
38395 ;;
38396
38397 *)
38398 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38399 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38400 THREADS_LINK="-l$flag"
38401 ;;
38402 esac
38403
38404 save_LIBS="$LIBS"
38405 save_CFLAGS="$CFLAGS"
38406 LIBS="$THREADS_LINK $LIBS"
38407 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38408
38409 cat >conftest.$ac_ext <<_ACEOF
38410 /* confdefs.h. */
38411 _ACEOF
38412 cat confdefs.h >>conftest.$ac_ext
38413 cat >>conftest.$ac_ext <<_ACEOF
38414 /* end confdefs.h. */
38415 #include <pthread.h>
38416 int
38417 main ()
38418 {
38419 pthread_create(0,0,0,0);
38420 ;
38421 return 0;
38422 }
38423 _ACEOF
38424 rm -f conftest.$ac_objext conftest$ac_exeext
38425 if { (ac_try="$ac_link"
38426 case "(($ac_try" in
38427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38428 *) ac_try_echo=$ac_try;;
38429 esac
38430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38431 (eval "$ac_link") 2>conftest.er1
38432 ac_status=$?
38433 grep -v '^ *+' conftest.er1 >conftest.err
38434 rm -f conftest.er1
38435 cat conftest.err >&5
38436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437 (exit $ac_status); } && {
38438 test -z "$ac_c_werror_flag" ||
38439 test ! -s conftest.err
38440 } && test -s conftest$ac_exeext &&
38441 $as_test_x conftest$ac_exeext; then
38442 THREADS_OK=yes
38443 else
38444 echo "$as_me: failed program was:" >&5
38445 sed 's/^/| /' conftest.$ac_ext >&5
38446
38447
38448 fi
38449
38450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38451 conftest$ac_exeext conftest.$ac_ext
38452
38453 LIBS="$save_LIBS"
38454 CFLAGS="$save_CFLAGS"
38455
38456 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38457 echo "${ECHO_T}$THREADS_OK" >&6; }
38458 if test "x$THREADS_OK" = "xyes"; then
38459 break;
38460 fi
38461
38462 THREADS_LINK=""
38463 THREADS_CFLAGS=""
38464 done
38465
38466 if test "x$THREADS_OK" != "xyes"; then
38467 wxUSE_THREADS=no
38468 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38469 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38470 else
38471 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38472 LIBS="$THREADS_LINK $LIBS"
38473
38474 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38475 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38476 flag=no
38477 case "${host}" in
38478 *-aix*)
38479 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38480 flag="-D_THREAD_SAFE"
38481 ;;
38482 *-freebsd*)
38483 flag="-D_THREAD_SAFE"
38484 ;;
38485 *-hp-hpux* )
38486 flag="-D_REENTRANT"
38487 if test "x$GCC" != "xyes"; then
38488 flag="$flag -D_RWSTD_MULTI_THREAD"
38489 fi
38490 ;;
38491 *solaris* | alpha*-osf*)
38492 flag="-D_REENTRANT"
38493 ;;
38494 esac
38495 { echo "$as_me:$LINENO: result: ${flag}" >&5
38496 echo "${ECHO_T}${flag}" >&6; }
38497 if test "x$flag" != xno; then
38498 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38499 fi
38500
38501 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38502 fi
38503 fi
38504
38505 if test "$wxUSE_THREADS" = "yes" ; then
38506
38507 for ac_func in thr_setconcurrency
38508 do
38509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38510 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38512 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38513 echo $ECHO_N "(cached) $ECHO_C" >&6
38514 else
38515 cat >conftest.$ac_ext <<_ACEOF
38516 /* confdefs.h. */
38517 _ACEOF
38518 cat confdefs.h >>conftest.$ac_ext
38519 cat >>conftest.$ac_ext <<_ACEOF
38520 /* end confdefs.h. */
38521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38523 #define $ac_func innocuous_$ac_func
38524
38525 /* System header to define __stub macros and hopefully few prototypes,
38526 which can conflict with char $ac_func (); below.
38527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38528 <limits.h> exists even on freestanding compilers. */
38529
38530 #ifdef __STDC__
38531 # include <limits.h>
38532 #else
38533 # include <assert.h>
38534 #endif
38535
38536 #undef $ac_func
38537
38538 /* Override any GCC internal prototype to avoid an error.
38539 Use char because int might match the return type of a GCC
38540 builtin and then its argument prototype would still apply. */
38541 #ifdef __cplusplus
38542 extern "C"
38543 #endif
38544 char $ac_func ();
38545 /* The GNU C library defines this for functions which it implements
38546 to always fail with ENOSYS. Some functions are actually named
38547 something starting with __ and the normal name is an alias. */
38548 #if defined __stub_$ac_func || defined __stub___$ac_func
38549 choke me
38550 #endif
38551
38552 int
38553 main ()
38554 {
38555 return $ac_func ();
38556 ;
38557 return 0;
38558 }
38559 _ACEOF
38560 rm -f conftest.$ac_objext conftest$ac_exeext
38561 if { (ac_try="$ac_link"
38562 case "(($ac_try" in
38563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38564 *) ac_try_echo=$ac_try;;
38565 esac
38566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38567 (eval "$ac_link") 2>conftest.er1
38568 ac_status=$?
38569 grep -v '^ *+' conftest.er1 >conftest.err
38570 rm -f conftest.er1
38571 cat conftest.err >&5
38572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38573 (exit $ac_status); } && {
38574 test -z "$ac_c_werror_flag" ||
38575 test ! -s conftest.err
38576 } && test -s conftest$ac_exeext &&
38577 $as_test_x conftest$ac_exeext; then
38578 eval "$as_ac_var=yes"
38579 else
38580 echo "$as_me: failed program was:" >&5
38581 sed 's/^/| /' conftest.$ac_ext >&5
38582
38583 eval "$as_ac_var=no"
38584 fi
38585
38586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38587 conftest$ac_exeext conftest.$ac_ext
38588 fi
38589 ac_res=`eval echo '${'$as_ac_var'}'`
38590 { echo "$as_me:$LINENO: result: $ac_res" >&5
38591 echo "${ECHO_T}$ac_res" >&6; }
38592 if test `eval echo '${'$as_ac_var'}'` = yes; then
38593 cat >>confdefs.h <<_ACEOF
38594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38595 _ACEOF
38596
38597 fi
38598 done
38599
38600
38601 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38602 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38603 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38604 echo $ECHO_N "(cached) $ECHO_C" >&6
38605 else
38606
38607 ac_ext=cpp
38608 ac_cpp='$CXXCPP $CPPFLAGS'
38609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38612
38613 cat >conftest.$ac_ext <<_ACEOF
38614 /* confdefs.h. */
38615 _ACEOF
38616 cat confdefs.h >>conftest.$ac_ext
38617 cat >>conftest.$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38619 #include <pthread.h>
38620 void ThreadCleanupFunc(void *p);
38621
38622 int
38623 main ()
38624 {
38625
38626 void *p;
38627 pthread_cleanup_push(ThreadCleanupFunc, p);
38628 pthread_cleanup_pop(0);
38629
38630 ;
38631 return 0;
38632 }
38633 _ACEOF
38634 rm -f conftest.$ac_objext
38635 if { (ac_try="$ac_compile"
38636 case "(($ac_try" in
38637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38638 *) ac_try_echo=$ac_try;;
38639 esac
38640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38641 (eval "$ac_compile") 2>conftest.er1
38642 ac_status=$?
38643 grep -v '^ *+' conftest.er1 >conftest.err
38644 rm -f conftest.er1
38645 cat conftest.err >&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); } && {
38648 test -z "$ac_cxx_werror_flag" ||
38649 test ! -s conftest.err
38650 } && test -s conftest.$ac_objext; then
38651
38652 wx_cv_func_pthread_cleanup=yes
38653
38654 else
38655 echo "$as_me: failed program was:" >&5
38656 sed 's/^/| /' conftest.$ac_ext >&5
38657
38658
38659 wx_cv_func_pthread_cleanup=no
38660
38661
38662 fi
38663
38664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38665 ac_ext=c
38666 ac_cpp='$CPP $CPPFLAGS'
38667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38670
38671
38672 fi
38673 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38674 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38675 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38676 cat >>confdefs.h <<\_ACEOF
38677 #define wxHAVE_PTHREAD_CLEANUP 1
38678 _ACEOF
38679
38680 fi
38681
38682
38683 for ac_header in sched.h
38684 do
38685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38689 echo $ECHO_N "(cached) $ECHO_C" >&6
38690 else
38691 cat >conftest.$ac_ext <<_ACEOF
38692 /* confdefs.h. */
38693 _ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697 $ac_includes_default
38698
38699 #include <$ac_header>
38700 _ACEOF
38701 rm -f conftest.$ac_objext
38702 if { (ac_try="$ac_compile"
38703 case "(($ac_try" in
38704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38705 *) ac_try_echo=$ac_try;;
38706 esac
38707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38708 (eval "$ac_compile") 2>conftest.er1
38709 ac_status=$?
38710 grep -v '^ *+' conftest.er1 >conftest.err
38711 rm -f conftest.er1
38712 cat conftest.err >&5
38713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38714 (exit $ac_status); } && {
38715 test -z "$ac_c_werror_flag" ||
38716 test ! -s conftest.err
38717 } && test -s conftest.$ac_objext; then
38718 eval "$as_ac_Header=yes"
38719 else
38720 echo "$as_me: failed program was:" >&5
38721 sed 's/^/| /' conftest.$ac_ext >&5
38722
38723 eval "$as_ac_Header=no"
38724 fi
38725
38726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38727 fi
38728 ac_res=`eval echo '${'$as_ac_Header'}'`
38729 { echo "$as_me:$LINENO: result: $ac_res" >&5
38730 echo "${ECHO_T}$ac_res" >&6; }
38731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38732 cat >>confdefs.h <<_ACEOF
38733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38734 _ACEOF
38735
38736 fi
38737
38738 done
38739
38740 if test "$ac_cv_header_sched_h" = "yes"; then
38741 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38742 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38743 if test "${ac_cv_func_sched_yield+set}" = set; then
38744 echo $ECHO_N "(cached) $ECHO_C" >&6
38745 else
38746 cat >conftest.$ac_ext <<_ACEOF
38747 /* confdefs.h. */
38748 _ACEOF
38749 cat confdefs.h >>conftest.$ac_ext
38750 cat >>conftest.$ac_ext <<_ACEOF
38751 /* end confdefs.h. */
38752 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38754 #define sched_yield innocuous_sched_yield
38755
38756 /* System header to define __stub macros and hopefully few prototypes,
38757 which can conflict with char sched_yield (); below.
38758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38759 <limits.h> exists even on freestanding compilers. */
38760
38761 #ifdef __STDC__
38762 # include <limits.h>
38763 #else
38764 # include <assert.h>
38765 #endif
38766
38767 #undef sched_yield
38768
38769 /* Override any GCC internal prototype to avoid an error.
38770 Use char because int might match the return type of a GCC
38771 builtin and then its argument prototype would still apply. */
38772 #ifdef __cplusplus
38773 extern "C"
38774 #endif
38775 char sched_yield ();
38776 /* The GNU C library defines this for functions which it implements
38777 to always fail with ENOSYS. Some functions are actually named
38778 something starting with __ and the normal name is an alias. */
38779 #if defined __stub_sched_yield || defined __stub___sched_yield
38780 choke me
38781 #endif
38782
38783 int
38784 main ()
38785 {
38786 return sched_yield ();
38787 ;
38788 return 0;
38789 }
38790 _ACEOF
38791 rm -f conftest.$ac_objext conftest$ac_exeext
38792 if { (ac_try="$ac_link"
38793 case "(($ac_try" in
38794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38795 *) ac_try_echo=$ac_try;;
38796 esac
38797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38798 (eval "$ac_link") 2>conftest.er1
38799 ac_status=$?
38800 grep -v '^ *+' conftest.er1 >conftest.err
38801 rm -f conftest.er1
38802 cat conftest.err >&5
38803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804 (exit $ac_status); } && {
38805 test -z "$ac_c_werror_flag" ||
38806 test ! -s conftest.err
38807 } && test -s conftest$ac_exeext &&
38808 $as_test_x conftest$ac_exeext; then
38809 ac_cv_func_sched_yield=yes
38810 else
38811 echo "$as_me: failed program was:" >&5
38812 sed 's/^/| /' conftest.$ac_ext >&5
38813
38814 ac_cv_func_sched_yield=no
38815 fi
38816
38817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38818 conftest$ac_exeext conftest.$ac_ext
38819 fi
38820 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38821 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38822 if test $ac_cv_func_sched_yield = yes; then
38823 cat >>confdefs.h <<\_ACEOF
38824 #define HAVE_SCHED_YIELD 1
38825 _ACEOF
38826
38827 else
38828
38829 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38830 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38831 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38832 echo $ECHO_N "(cached) $ECHO_C" >&6
38833 else
38834 ac_check_lib_save_LIBS=$LIBS
38835 LIBS="-lposix4 $LIBS"
38836 cat >conftest.$ac_ext <<_ACEOF
38837 /* confdefs.h. */
38838 _ACEOF
38839 cat confdefs.h >>conftest.$ac_ext
38840 cat >>conftest.$ac_ext <<_ACEOF
38841 /* end confdefs.h. */
38842
38843 /* Override any GCC internal prototype to avoid an error.
38844 Use char because int might match the return type of a GCC
38845 builtin and then its argument prototype would still apply. */
38846 #ifdef __cplusplus
38847 extern "C"
38848 #endif
38849 char sched_yield ();
38850 int
38851 main ()
38852 {
38853 return sched_yield ();
38854 ;
38855 return 0;
38856 }
38857 _ACEOF
38858 rm -f conftest.$ac_objext conftest$ac_exeext
38859 if { (ac_try="$ac_link"
38860 case "(($ac_try" in
38861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38862 *) ac_try_echo=$ac_try;;
38863 esac
38864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38865 (eval "$ac_link") 2>conftest.er1
38866 ac_status=$?
38867 grep -v '^ *+' conftest.er1 >conftest.err
38868 rm -f conftest.er1
38869 cat conftest.err >&5
38870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38871 (exit $ac_status); } && {
38872 test -z "$ac_c_werror_flag" ||
38873 test ! -s conftest.err
38874 } && test -s conftest$ac_exeext &&
38875 $as_test_x conftest$ac_exeext; then
38876 ac_cv_lib_posix4_sched_yield=yes
38877 else
38878 echo "$as_me: failed program was:" >&5
38879 sed 's/^/| /' conftest.$ac_ext >&5
38880
38881 ac_cv_lib_posix4_sched_yield=no
38882 fi
38883
38884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38885 conftest$ac_exeext conftest.$ac_ext
38886 LIBS=$ac_check_lib_save_LIBS
38887 fi
38888 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38889 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38890 if test $ac_cv_lib_posix4_sched_yield = yes; then
38891 cat >>confdefs.h <<\_ACEOF
38892 #define HAVE_SCHED_YIELD 1
38893 _ACEOF
38894 POSIX4_LINK=" -lposix4"
38895 else
38896 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38897 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38898
38899 fi
38900
38901
38902
38903 fi
38904
38905 fi
38906
38907 HAVE_PRIOR_FUNCS=0
38908 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38909 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38910 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38911 echo $ECHO_N "(cached) $ECHO_C" >&6
38912 else
38913 cat >conftest.$ac_ext <<_ACEOF
38914 /* confdefs.h. */
38915 _ACEOF
38916 cat confdefs.h >>conftest.$ac_ext
38917 cat >>conftest.$ac_ext <<_ACEOF
38918 /* end confdefs.h. */
38919 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38920 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38921 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38922
38923 /* System header to define __stub macros and hopefully few prototypes,
38924 which can conflict with char pthread_attr_getschedpolicy (); below.
38925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38926 <limits.h> exists even on freestanding compilers. */
38927
38928 #ifdef __STDC__
38929 # include <limits.h>
38930 #else
38931 # include <assert.h>
38932 #endif
38933
38934 #undef pthread_attr_getschedpolicy
38935
38936 /* Override any GCC internal prototype to avoid an error.
38937 Use char because int might match the return type of a GCC
38938 builtin and then its argument prototype would still apply. */
38939 #ifdef __cplusplus
38940 extern "C"
38941 #endif
38942 char pthread_attr_getschedpolicy ();
38943 /* The GNU C library defines this for functions which it implements
38944 to always fail with ENOSYS. Some functions are actually named
38945 something starting with __ and the normal name is an alias. */
38946 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38947 choke me
38948 #endif
38949
38950 int
38951 main ()
38952 {
38953 return pthread_attr_getschedpolicy ();
38954 ;
38955 return 0;
38956 }
38957 _ACEOF
38958 rm -f conftest.$ac_objext conftest$ac_exeext
38959 if { (ac_try="$ac_link"
38960 case "(($ac_try" in
38961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38962 *) ac_try_echo=$ac_try;;
38963 esac
38964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38965 (eval "$ac_link") 2>conftest.er1
38966 ac_status=$?
38967 grep -v '^ *+' conftest.er1 >conftest.err
38968 rm -f conftest.er1
38969 cat conftest.err >&5
38970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38971 (exit $ac_status); } && {
38972 test -z "$ac_c_werror_flag" ||
38973 test ! -s conftest.err
38974 } && test -s conftest$ac_exeext &&
38975 $as_test_x conftest$ac_exeext; then
38976 ac_cv_func_pthread_attr_getschedpolicy=yes
38977 else
38978 echo "$as_me: failed program was:" >&5
38979 sed 's/^/| /' conftest.$ac_ext >&5
38980
38981 ac_cv_func_pthread_attr_getschedpolicy=no
38982 fi
38983
38984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38985 conftest$ac_exeext conftest.$ac_ext
38986 fi
38987 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38988 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38989 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38990 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38991 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38992 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38994 else
38995 cat >conftest.$ac_ext <<_ACEOF
38996 /* confdefs.h. */
38997 _ACEOF
38998 cat confdefs.h >>conftest.$ac_ext
38999 cat >>conftest.$ac_ext <<_ACEOF
39000 /* end confdefs.h. */
39001 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39003 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39004
39005 /* System header to define __stub macros and hopefully few prototypes,
39006 which can conflict with char pthread_attr_setschedparam (); below.
39007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39008 <limits.h> exists even on freestanding compilers. */
39009
39010 #ifdef __STDC__
39011 # include <limits.h>
39012 #else
39013 # include <assert.h>
39014 #endif
39015
39016 #undef pthread_attr_setschedparam
39017
39018 /* Override any GCC internal prototype to avoid an error.
39019 Use char because int might match the return type of a GCC
39020 builtin and then its argument prototype would still apply. */
39021 #ifdef __cplusplus
39022 extern "C"
39023 #endif
39024 char pthread_attr_setschedparam ();
39025 /* The GNU C library defines this for functions which it implements
39026 to always fail with ENOSYS. Some functions are actually named
39027 something starting with __ and the normal name is an alias. */
39028 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39029 choke me
39030 #endif
39031
39032 int
39033 main ()
39034 {
39035 return pthread_attr_setschedparam ();
39036 ;
39037 return 0;
39038 }
39039 _ACEOF
39040 rm -f conftest.$ac_objext conftest$ac_exeext
39041 if { (ac_try="$ac_link"
39042 case "(($ac_try" in
39043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39044 *) ac_try_echo=$ac_try;;
39045 esac
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_link") 2>conftest.er1
39048 ac_status=$?
39049 grep -v '^ *+' conftest.er1 >conftest.err
39050 rm -f conftest.er1
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_c_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest$ac_exeext &&
39057 $as_test_x conftest$ac_exeext; then
39058 ac_cv_func_pthread_attr_setschedparam=yes
39059 else
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.$ac_ext >&5
39062
39063 ac_cv_func_pthread_attr_setschedparam=no
39064 fi
39065
39066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39067 conftest$ac_exeext conftest.$ac_ext
39068 fi
39069 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39070 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39071 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39072 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39073 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39074 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39075 echo $ECHO_N "(cached) $ECHO_C" >&6
39076 else
39077 cat >conftest.$ac_ext <<_ACEOF
39078 /* confdefs.h. */
39079 _ACEOF
39080 cat confdefs.h >>conftest.$ac_ext
39081 cat >>conftest.$ac_ext <<_ACEOF
39082 /* end confdefs.h. */
39083 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39085 #define sched_get_priority_max innocuous_sched_get_priority_max
39086
39087 /* System header to define __stub macros and hopefully few prototypes,
39088 which can conflict with char sched_get_priority_max (); below.
39089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39090 <limits.h> exists even on freestanding compilers. */
39091
39092 #ifdef __STDC__
39093 # include <limits.h>
39094 #else
39095 # include <assert.h>
39096 #endif
39097
39098 #undef sched_get_priority_max
39099
39100 /* Override any GCC internal prototype to avoid an error.
39101 Use char because int might match the return type of a GCC
39102 builtin and then its argument prototype would still apply. */
39103 #ifdef __cplusplus
39104 extern "C"
39105 #endif
39106 char sched_get_priority_max ();
39107 /* The GNU C library defines this for functions which it implements
39108 to always fail with ENOSYS. Some functions are actually named
39109 something starting with __ and the normal name is an alias. */
39110 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39111 choke me
39112 #endif
39113
39114 int
39115 main ()
39116 {
39117 return sched_get_priority_max ();
39118 ;
39119 return 0;
39120 }
39121 _ACEOF
39122 rm -f conftest.$ac_objext conftest$ac_exeext
39123 if { (ac_try="$ac_link"
39124 case "(($ac_try" in
39125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39126 *) ac_try_echo=$ac_try;;
39127 esac
39128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39129 (eval "$ac_link") 2>conftest.er1
39130 ac_status=$?
39131 grep -v '^ *+' conftest.er1 >conftest.err
39132 rm -f conftest.er1
39133 cat conftest.err >&5
39134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39135 (exit $ac_status); } && {
39136 test -z "$ac_c_werror_flag" ||
39137 test ! -s conftest.err
39138 } && test -s conftest$ac_exeext &&
39139 $as_test_x conftest$ac_exeext; then
39140 ac_cv_func_sched_get_priority_max=yes
39141 else
39142 echo "$as_me: failed program was:" >&5
39143 sed 's/^/| /' conftest.$ac_ext >&5
39144
39145 ac_cv_func_sched_get_priority_max=no
39146 fi
39147
39148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39149 conftest$ac_exeext conftest.$ac_ext
39150 fi
39151 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39152 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39153 if test $ac_cv_func_sched_get_priority_max = yes; then
39154 HAVE_PRIOR_FUNCS=1
39155 else
39156 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39157 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39158 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39159 echo $ECHO_N "(cached) $ECHO_C" >&6
39160 else
39161 ac_check_lib_save_LIBS=$LIBS
39162 LIBS="-lposix4 $LIBS"
39163 cat >conftest.$ac_ext <<_ACEOF
39164 /* confdefs.h. */
39165 _ACEOF
39166 cat confdefs.h >>conftest.$ac_ext
39167 cat >>conftest.$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39169
39170 /* Override any GCC internal prototype to avoid an error.
39171 Use char because int might match the return type of a GCC
39172 builtin and then its argument prototype would still apply. */
39173 #ifdef __cplusplus
39174 extern "C"
39175 #endif
39176 char sched_get_priority_max ();
39177 int
39178 main ()
39179 {
39180 return sched_get_priority_max ();
39181 ;
39182 return 0;
39183 }
39184 _ACEOF
39185 rm -f conftest.$ac_objext conftest$ac_exeext
39186 if { (ac_try="$ac_link"
39187 case "(($ac_try" in
39188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39189 *) ac_try_echo=$ac_try;;
39190 esac
39191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39192 (eval "$ac_link") 2>conftest.er1
39193 ac_status=$?
39194 grep -v '^ *+' conftest.er1 >conftest.err
39195 rm -f conftest.er1
39196 cat conftest.err >&5
39197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39198 (exit $ac_status); } && {
39199 test -z "$ac_c_werror_flag" ||
39200 test ! -s conftest.err
39201 } && test -s conftest$ac_exeext &&
39202 $as_test_x conftest$ac_exeext; then
39203 ac_cv_lib_posix4_sched_get_priority_max=yes
39204 else
39205 echo "$as_me: failed program was:" >&5
39206 sed 's/^/| /' conftest.$ac_ext >&5
39207
39208 ac_cv_lib_posix4_sched_get_priority_max=no
39209 fi
39210
39211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39212 conftest$ac_exeext conftest.$ac_ext
39213 LIBS=$ac_check_lib_save_LIBS
39214 fi
39215 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39216 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39217 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39218
39219 HAVE_PRIOR_FUNCS=1
39220 POSIX4_LINK=" -lposix4"
39221
39222 fi
39223
39224
39225 fi
39226
39227
39228 fi
39229
39230
39231 fi
39232
39233
39234 if test "$HAVE_PRIOR_FUNCS" = 1; then
39235 cat >>confdefs.h <<\_ACEOF
39236 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39237 _ACEOF
39238
39239 else
39240 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39241 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39242 fi
39243
39244 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39245 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39246 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39247 echo $ECHO_N "(cached) $ECHO_C" >&6
39248 else
39249 cat >conftest.$ac_ext <<_ACEOF
39250 /* confdefs.h. */
39251 _ACEOF
39252 cat confdefs.h >>conftest.$ac_ext
39253 cat >>conftest.$ac_ext <<_ACEOF
39254 /* end confdefs.h. */
39255 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39257 #define pthread_cancel innocuous_pthread_cancel
39258
39259 /* System header to define __stub macros and hopefully few prototypes,
39260 which can conflict with char pthread_cancel (); below.
39261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39262 <limits.h> exists even on freestanding compilers. */
39263
39264 #ifdef __STDC__
39265 # include <limits.h>
39266 #else
39267 # include <assert.h>
39268 #endif
39269
39270 #undef pthread_cancel
39271
39272 /* Override any GCC internal prototype to avoid an error.
39273 Use char because int might match the return type of a GCC
39274 builtin and then its argument prototype would still apply. */
39275 #ifdef __cplusplus
39276 extern "C"
39277 #endif
39278 char pthread_cancel ();
39279 /* The GNU C library defines this for functions which it implements
39280 to always fail with ENOSYS. Some functions are actually named
39281 something starting with __ and the normal name is an alias. */
39282 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39283 choke me
39284 #endif
39285
39286 int
39287 main ()
39288 {
39289 return pthread_cancel ();
39290 ;
39291 return 0;
39292 }
39293 _ACEOF
39294 rm -f conftest.$ac_objext conftest$ac_exeext
39295 if { (ac_try="$ac_link"
39296 case "(($ac_try" in
39297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39298 *) ac_try_echo=$ac_try;;
39299 esac
39300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39301 (eval "$ac_link") 2>conftest.er1
39302 ac_status=$?
39303 grep -v '^ *+' conftest.er1 >conftest.err
39304 rm -f conftest.er1
39305 cat conftest.err >&5
39306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39307 (exit $ac_status); } && {
39308 test -z "$ac_c_werror_flag" ||
39309 test ! -s conftest.err
39310 } && test -s conftest$ac_exeext &&
39311 $as_test_x conftest$ac_exeext; then
39312 ac_cv_func_pthread_cancel=yes
39313 else
39314 echo "$as_me: failed program was:" >&5
39315 sed 's/^/| /' conftest.$ac_ext >&5
39316
39317 ac_cv_func_pthread_cancel=no
39318 fi
39319
39320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39321 conftest$ac_exeext conftest.$ac_ext
39322 fi
39323 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39324 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39325 if test $ac_cv_func_pthread_cancel = yes; then
39326 cat >>confdefs.h <<\_ACEOF
39327 #define HAVE_PTHREAD_CANCEL 1
39328 _ACEOF
39329
39330 else
39331 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39332 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39333 fi
39334
39335
39336 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39337 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39338 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39339 echo $ECHO_N "(cached) $ECHO_C" >&6
39340 else
39341 cat >conftest.$ac_ext <<_ACEOF
39342 /* confdefs.h. */
39343 _ACEOF
39344 cat confdefs.h >>conftest.$ac_ext
39345 cat >>conftest.$ac_ext <<_ACEOF
39346 /* end confdefs.h. */
39347 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39349 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39350
39351 /* System header to define __stub macros and hopefully few prototypes,
39352 which can conflict with char pthread_mutex_timedlock (); below.
39353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39354 <limits.h> exists even on freestanding compilers. */
39355
39356 #ifdef __STDC__
39357 # include <limits.h>
39358 #else
39359 # include <assert.h>
39360 #endif
39361
39362 #undef pthread_mutex_timedlock
39363
39364 /* Override any GCC internal prototype to avoid an error.
39365 Use char because int might match the return type of a GCC
39366 builtin and then its argument prototype would still apply. */
39367 #ifdef __cplusplus
39368 extern "C"
39369 #endif
39370 char pthread_mutex_timedlock ();
39371 /* The GNU C library defines this for functions which it implements
39372 to always fail with ENOSYS. Some functions are actually named
39373 something starting with __ and the normal name is an alias. */
39374 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39375 choke me
39376 #endif
39377
39378 int
39379 main ()
39380 {
39381 return pthread_mutex_timedlock ();
39382 ;
39383 return 0;
39384 }
39385 _ACEOF
39386 rm -f conftest.$ac_objext conftest$ac_exeext
39387 if { (ac_try="$ac_link"
39388 case "(($ac_try" in
39389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39390 *) ac_try_echo=$ac_try;;
39391 esac
39392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39393 (eval "$ac_link") 2>conftest.er1
39394 ac_status=$?
39395 grep -v '^ *+' conftest.er1 >conftest.err
39396 rm -f conftest.er1
39397 cat conftest.err >&5
39398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39399 (exit $ac_status); } && {
39400 test -z "$ac_c_werror_flag" ||
39401 test ! -s conftest.err
39402 } && test -s conftest$ac_exeext &&
39403 $as_test_x conftest$ac_exeext; then
39404 ac_cv_func_pthread_mutex_timedlock=yes
39405 else
39406 echo "$as_me: failed program was:" >&5
39407 sed 's/^/| /' conftest.$ac_ext >&5
39408
39409 ac_cv_func_pthread_mutex_timedlock=no
39410 fi
39411
39412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39413 conftest$ac_exeext conftest.$ac_ext
39414 fi
39415 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39416 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39417 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39418 cat >>confdefs.h <<\_ACEOF
39419 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39420 _ACEOF
39421
39422 else
39423 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39424 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39425 fi
39426
39427
39428 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39429 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39430 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39431 echo $ECHO_N "(cached) $ECHO_C" >&6
39432 else
39433 cat >conftest.$ac_ext <<_ACEOF
39434 /* confdefs.h. */
39435 _ACEOF
39436 cat confdefs.h >>conftest.$ac_ext
39437 cat >>conftest.$ac_ext <<_ACEOF
39438 /* end confdefs.h. */
39439 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39441 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39442
39443 /* System header to define __stub macros and hopefully few prototypes,
39444 which can conflict with char pthread_attr_setstacksize (); below.
39445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39446 <limits.h> exists even on freestanding compilers. */
39447
39448 #ifdef __STDC__
39449 # include <limits.h>
39450 #else
39451 # include <assert.h>
39452 #endif
39453
39454 #undef pthread_attr_setstacksize
39455
39456 /* Override any GCC internal prototype to avoid an error.
39457 Use char because int might match the return type of a GCC
39458 builtin and then its argument prototype would still apply. */
39459 #ifdef __cplusplus
39460 extern "C"
39461 #endif
39462 char pthread_attr_setstacksize ();
39463 /* The GNU C library defines this for functions which it implements
39464 to always fail with ENOSYS. Some functions are actually named
39465 something starting with __ and the normal name is an alias. */
39466 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39467 choke me
39468 #endif
39469
39470 int
39471 main ()
39472 {
39473 return pthread_attr_setstacksize ();
39474 ;
39475 return 0;
39476 }
39477 _ACEOF
39478 rm -f conftest.$ac_objext conftest$ac_exeext
39479 if { (ac_try="$ac_link"
39480 case "(($ac_try" in
39481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39482 *) ac_try_echo=$ac_try;;
39483 esac
39484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39485 (eval "$ac_link") 2>conftest.er1
39486 ac_status=$?
39487 grep -v '^ *+' conftest.er1 >conftest.err
39488 rm -f conftest.er1
39489 cat conftest.err >&5
39490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39491 (exit $ac_status); } && {
39492 test -z "$ac_c_werror_flag" ||
39493 test ! -s conftest.err
39494 } && test -s conftest$ac_exeext &&
39495 $as_test_x conftest$ac_exeext; then
39496 ac_cv_func_pthread_attr_setstacksize=yes
39497 else
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39500
39501 ac_cv_func_pthread_attr_setstacksize=no
39502 fi
39503
39504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39505 conftest$ac_exeext conftest.$ac_ext
39506 fi
39507 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39508 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39509 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39510 cat >>confdefs.h <<\_ACEOF
39511 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39512 _ACEOF
39513
39514 fi
39515
39516
39517
39518 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39519 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39520 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39521 echo $ECHO_N "(cached) $ECHO_C" >&6
39522 else
39523
39524 cat >conftest.$ac_ext <<_ACEOF
39525 /* confdefs.h. */
39526 _ACEOF
39527 cat confdefs.h >>conftest.$ac_ext
39528 cat >>conftest.$ac_ext <<_ACEOF
39529 /* end confdefs.h. */
39530 #include <pthread.h>
39531 int
39532 main ()
39533 {
39534
39535 pthread_mutexattr_t attr;
39536 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39537
39538 ;
39539 return 0;
39540 }
39541 _ACEOF
39542 rm -f conftest.$ac_objext
39543 if { (ac_try="$ac_compile"
39544 case "(($ac_try" in
39545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39546 *) ac_try_echo=$ac_try;;
39547 esac
39548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39549 (eval "$ac_compile") 2>conftest.er1
39550 ac_status=$?
39551 grep -v '^ *+' conftest.er1 >conftest.err
39552 rm -f conftest.er1
39553 cat conftest.err >&5
39554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555 (exit $ac_status); } && {
39556 test -z "$ac_c_werror_flag" ||
39557 test ! -s conftest.err
39558 } && test -s conftest.$ac_objext; then
39559 wx_cv_type_pthread_mutexattr_t=yes
39560 else
39561 echo "$as_me: failed program was:" >&5
39562 sed 's/^/| /' conftest.$ac_ext >&5
39563
39564 wx_cv_type_pthread_mutexattr_t=no
39565
39566 fi
39567
39568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39569
39570 fi
39571 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39572 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39573
39574 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39575 cat >>confdefs.h <<\_ACEOF
39576 #define HAVE_PTHREAD_MUTEXATTR_T 1
39577 _ACEOF
39578
39579
39580 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39581 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39582 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39583 echo $ECHO_N "(cached) $ECHO_C" >&6
39584 else
39585
39586 cat >conftest.$ac_ext <<_ACEOF
39587 /* confdefs.h. */
39588 _ACEOF
39589 cat confdefs.h >>conftest.$ac_ext
39590 cat >>conftest.$ac_ext <<_ACEOF
39591 /* end confdefs.h. */
39592 #include <pthread.h>
39593 int
39594 main ()
39595 {
39596
39597 pthread_mutexattr_t attr;
39598 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39599
39600 ;
39601 return 0;
39602 }
39603 _ACEOF
39604 rm -f conftest.$ac_objext
39605 if { (ac_try="$ac_compile"
39606 case "(($ac_try" in
39607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39608 *) ac_try_echo=$ac_try;;
39609 esac
39610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39611 (eval "$ac_compile") 2>conftest.er1
39612 ac_status=$?
39613 grep -v '^ *+' conftest.er1 >conftest.err
39614 rm -f conftest.er1
39615 cat conftest.err >&5
39616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39617 (exit $ac_status); } && {
39618 test -z "$ac_c_werror_flag" ||
39619 test ! -s conftest.err
39620 } && test -s conftest.$ac_objext; then
39621 wx_cv_func_pthread_mutexattr_settype_decl=yes
39622 else
39623 echo "$as_me: failed program was:" >&5
39624 sed 's/^/| /' conftest.$ac_ext >&5
39625
39626 wx_cv_func_pthread_mutexattr_settype_decl=no
39627
39628 fi
39629
39630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39631
39632 fi
39633 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39634 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39635 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39636 cat >>confdefs.h <<\_ACEOF
39637 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39638 _ACEOF
39639
39640 fi
39641 else
39642 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39643 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39644 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39645 echo $ECHO_N "(cached) $ECHO_C" >&6
39646 else
39647
39648 cat >conftest.$ac_ext <<_ACEOF
39649 /* confdefs.h. */
39650 _ACEOF
39651 cat confdefs.h >>conftest.$ac_ext
39652 cat >>conftest.$ac_ext <<_ACEOF
39653 /* end confdefs.h. */
39654 #include <pthread.h>
39655 int
39656 main ()
39657 {
39658
39659 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39660
39661 ;
39662 return 0;
39663 }
39664 _ACEOF
39665 rm -f conftest.$ac_objext
39666 if { (ac_try="$ac_compile"
39667 case "(($ac_try" in
39668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39669 *) ac_try_echo=$ac_try;;
39670 esac
39671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39672 (eval "$ac_compile") 2>conftest.er1
39673 ac_status=$?
39674 grep -v '^ *+' conftest.er1 >conftest.err
39675 rm -f conftest.er1
39676 cat conftest.err >&5
39677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39678 (exit $ac_status); } && {
39679 test -z "$ac_c_werror_flag" ||
39680 test ! -s conftest.err
39681 } && test -s conftest.$ac_objext; then
39682
39683 wx_cv_type_pthread_rec_mutex_init=yes
39684
39685 else
39686 echo "$as_me: failed program was:" >&5
39687 sed 's/^/| /' conftest.$ac_ext >&5
39688
39689
39690 wx_cv_type_pthread_rec_mutex_init=no
39691
39692
39693 fi
39694
39695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39696
39697 fi
39698 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39699 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39700 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39701 cat >>confdefs.h <<\_ACEOF
39702 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39703 _ACEOF
39704
39705 else
39706 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39707 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39708 fi
39709 fi
39710 fi
39711
39712 else
39713 if test "$wxUSE_THREADS" = "yes" ; then
39714 case "${host}" in
39715 *-*-mingw32* )
39716 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39717 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39718 if test "${wx_cv_cflags_mthread+set}" = set; then
39719 echo $ECHO_N "(cached) $ECHO_C" >&6
39720 else
39721
39722 CFLAGS_OLD="$CFLAGS"
39723 CFLAGS="-mthreads $CFLAGS"
39724 cat >conftest.$ac_ext <<_ACEOF
39725 /* confdefs.h. */
39726 _ACEOF
39727 cat confdefs.h >>conftest.$ac_ext
39728 cat >>conftest.$ac_ext <<_ACEOF
39729 /* end confdefs.h. */
39730
39731 int
39732 main ()
39733 {
39734
39735 ;
39736 return 0;
39737 }
39738 _ACEOF
39739 rm -f conftest.$ac_objext
39740 if { (ac_try="$ac_compile"
39741 case "(($ac_try" in
39742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39743 *) ac_try_echo=$ac_try;;
39744 esac
39745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39746 (eval "$ac_compile") 2>conftest.er1
39747 ac_status=$?
39748 grep -v '^ *+' conftest.er1 >conftest.err
39749 rm -f conftest.er1
39750 cat conftest.err >&5
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); } && {
39753 test -z "$ac_c_werror_flag" ||
39754 test ! -s conftest.err
39755 } && test -s conftest.$ac_objext; then
39756 wx_cv_cflags_mthread=yes
39757 else
39758 echo "$as_me: failed program was:" >&5
39759 sed 's/^/| /' conftest.$ac_ext >&5
39760
39761 wx_cv_cflags_mthread=no
39762
39763 fi
39764
39765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39766
39767
39768 fi
39769 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39770 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39771
39772 if test "$wx_cv_cflags_mthread" = "yes"; then
39773 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39774 LDFLAGS="$LDFLAGS -mthreads"
39775 else
39776 CFLAGS="$CFLAGS_OLD"
39777 fi
39778 ;;
39779 *-pc-os2*emx )
39780 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39781 LDFLAGS="$LDFLAGS -Zmt"
39782 ;;
39783 esac
39784 fi
39785 fi
39786
39787 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39788 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39789 if test "${ac_cv_func_localtime_r+set}" = set; then
39790 echo $ECHO_N "(cached) $ECHO_C" >&6
39791 else
39792 cat >conftest.$ac_ext <<_ACEOF
39793 /* confdefs.h. */
39794 _ACEOF
39795 cat confdefs.h >>conftest.$ac_ext
39796 cat >>conftest.$ac_ext <<_ACEOF
39797 /* end confdefs.h. */
39798 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39800 #define localtime_r innocuous_localtime_r
39801
39802 /* System header to define __stub macros and hopefully few prototypes,
39803 which can conflict with char localtime_r (); below.
39804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39805 <limits.h> exists even on freestanding compilers. */
39806
39807 #ifdef __STDC__
39808 # include <limits.h>
39809 #else
39810 # include <assert.h>
39811 #endif
39812
39813 #undef localtime_r
39814
39815 /* Override any GCC internal prototype to avoid an error.
39816 Use char because int might match the return type of a GCC
39817 builtin and then its argument prototype would still apply. */
39818 #ifdef __cplusplus
39819 extern "C"
39820 #endif
39821 char localtime_r ();
39822 /* The GNU C library defines this for functions which it implements
39823 to always fail with ENOSYS. Some functions are actually named
39824 something starting with __ and the normal name is an alias. */
39825 #if defined __stub_localtime_r || defined __stub___localtime_r
39826 choke me
39827 #endif
39828
39829 int
39830 main ()
39831 {
39832 return localtime_r ();
39833 ;
39834 return 0;
39835 }
39836 _ACEOF
39837 rm -f conftest.$ac_objext conftest$ac_exeext
39838 if { (ac_try="$ac_link"
39839 case "(($ac_try" in
39840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39841 *) ac_try_echo=$ac_try;;
39842 esac
39843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39844 (eval "$ac_link") 2>conftest.er1
39845 ac_status=$?
39846 grep -v '^ *+' conftest.er1 >conftest.err
39847 rm -f conftest.er1
39848 cat conftest.err >&5
39849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39850 (exit $ac_status); } && {
39851 test -z "$ac_c_werror_flag" ||
39852 test ! -s conftest.err
39853 } && test -s conftest$ac_exeext &&
39854 $as_test_x conftest$ac_exeext; then
39855 ac_cv_func_localtime_r=yes
39856 else
39857 echo "$as_me: failed program was:" >&5
39858 sed 's/^/| /' conftest.$ac_ext >&5
39859
39860 ac_cv_func_localtime_r=no
39861 fi
39862
39863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39864 conftest$ac_exeext conftest.$ac_ext
39865 fi
39866 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39867 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39868 if test $ac_cv_func_localtime_r = yes; then
39869 cat >>confdefs.h <<\_ACEOF
39870 #define HAVE_LOCALTIME_R 1
39871 _ACEOF
39872
39873 fi
39874
39875 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39876 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39877 if test "${ac_cv_func_gmtime_r+set}" = set; then
39878 echo $ECHO_N "(cached) $ECHO_C" >&6
39879 else
39880 cat >conftest.$ac_ext <<_ACEOF
39881 /* confdefs.h. */
39882 _ACEOF
39883 cat confdefs.h >>conftest.$ac_ext
39884 cat >>conftest.$ac_ext <<_ACEOF
39885 /* end confdefs.h. */
39886 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39888 #define gmtime_r innocuous_gmtime_r
39889
39890 /* System header to define __stub macros and hopefully few prototypes,
39891 which can conflict with char gmtime_r (); below.
39892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39893 <limits.h> exists even on freestanding compilers. */
39894
39895 #ifdef __STDC__
39896 # include <limits.h>
39897 #else
39898 # include <assert.h>
39899 #endif
39900
39901 #undef gmtime_r
39902
39903 /* Override any GCC internal prototype to avoid an error.
39904 Use char because int might match the return type of a GCC
39905 builtin and then its argument prototype would still apply. */
39906 #ifdef __cplusplus
39907 extern "C"
39908 #endif
39909 char gmtime_r ();
39910 /* The GNU C library defines this for functions which it implements
39911 to always fail with ENOSYS. Some functions are actually named
39912 something starting with __ and the normal name is an alias. */
39913 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39914 choke me
39915 #endif
39916
39917 int
39918 main ()
39919 {
39920 return gmtime_r ();
39921 ;
39922 return 0;
39923 }
39924 _ACEOF
39925 rm -f conftest.$ac_objext conftest$ac_exeext
39926 if { (ac_try="$ac_link"
39927 case "(($ac_try" in
39928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39929 *) ac_try_echo=$ac_try;;
39930 esac
39931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39932 (eval "$ac_link") 2>conftest.er1
39933 ac_status=$?
39934 grep -v '^ *+' conftest.er1 >conftest.err
39935 rm -f conftest.er1
39936 cat conftest.err >&5
39937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39938 (exit $ac_status); } && {
39939 test -z "$ac_c_werror_flag" ||
39940 test ! -s conftest.err
39941 } && test -s conftest$ac_exeext &&
39942 $as_test_x conftest$ac_exeext; then
39943 ac_cv_func_gmtime_r=yes
39944 else
39945 echo "$as_me: failed program was:" >&5
39946 sed 's/^/| /' conftest.$ac_ext >&5
39947
39948 ac_cv_func_gmtime_r=no
39949 fi
39950
39951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39952 conftest$ac_exeext conftest.$ac_ext
39953 fi
39954 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39955 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39956 if test $ac_cv_func_gmtime_r = yes; then
39957 cat >>confdefs.h <<\_ACEOF
39958 #define HAVE_GMTIME_R 1
39959 _ACEOF
39960
39961 fi
39962
39963
39964
39965
39966 ac_ext=c
39967 ac_cpp='$CPP $CPPFLAGS'
39968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39971
39972 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39973 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39974
39975 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39976 echo $ECHO_N "(cached) $ECHO_C" >&6
39977 else
39978
39979
39980 ################################################################
39981
39982 ac_cv_func_which_gethostbyname_r=unknown
39983
39984 #
39985 # ONE ARGUMENT (sanity check)
39986 #
39987
39988 # This should fail, as there is no variant of gethostbyname_r() that takes
39989 # a single argument. If it actually compiles, then we can assume that
39990 # netdb.h is not declaring the function, and the compiler is thereby
39991 # assuming an implicit prototype. In which case, we're out of luck.
39992 #
39993 cat >conftest.$ac_ext <<_ACEOF
39994 /* confdefs.h. */
39995 _ACEOF
39996 cat confdefs.h >>conftest.$ac_ext
39997 cat >>conftest.$ac_ext <<_ACEOF
39998 /* end confdefs.h. */
39999 #include <netdb.h>
40000 int
40001 main ()
40002 {
40003
40004 char *name = "www.gnu.org";
40005 (void)gethostbyname_r(name) /* ; */
40006
40007 ;
40008 return 0;
40009 }
40010 _ACEOF
40011 rm -f conftest.$ac_objext
40012 if { (ac_try="$ac_compile"
40013 case "(($ac_try" in
40014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40015 *) ac_try_echo=$ac_try;;
40016 esac
40017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40018 (eval "$ac_compile") 2>conftest.er1
40019 ac_status=$?
40020 grep -v '^ *+' conftest.er1 >conftest.err
40021 rm -f conftest.er1
40022 cat conftest.err >&5
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); } && {
40025 test -z "$ac_c_werror_flag" ||
40026 test ! -s conftest.err
40027 } && test -s conftest.$ac_objext; then
40028 ac_cv_func_which_gethostbyname_r=no
40029 else
40030 echo "$as_me: failed program was:" >&5
40031 sed 's/^/| /' conftest.$ac_ext >&5
40032
40033
40034 fi
40035
40036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40037
40038 #
40039 # SIX ARGUMENTS
40040 # (e.g. Linux)
40041 #
40042
40043 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40044
40045 cat >conftest.$ac_ext <<_ACEOF
40046 /* confdefs.h. */
40047 _ACEOF
40048 cat confdefs.h >>conftest.$ac_ext
40049 cat >>conftest.$ac_ext <<_ACEOF
40050 /* end confdefs.h. */
40051 #include <netdb.h>
40052 int
40053 main ()
40054 {
40055
40056 char *name = "www.gnu.org";
40057 struct hostent ret, *retp;
40058 char buf[1024];
40059 int buflen = 1024;
40060 int my_h_errno;
40061 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40062
40063 ;
40064 return 0;
40065 }
40066 _ACEOF
40067 rm -f conftest.$ac_objext
40068 if { (ac_try="$ac_compile"
40069 case "(($ac_try" in
40070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40071 *) ac_try_echo=$ac_try;;
40072 esac
40073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40074 (eval "$ac_compile") 2>conftest.er1
40075 ac_status=$?
40076 grep -v '^ *+' conftest.er1 >conftest.err
40077 rm -f conftest.er1
40078 cat conftest.err >&5
40079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40080 (exit $ac_status); } && {
40081 test -z "$ac_c_werror_flag" ||
40082 test ! -s conftest.err
40083 } && test -s conftest.$ac_objext; then
40084 ac_cv_func_which_gethostbyname_r=six
40085 else
40086 echo "$as_me: failed program was:" >&5
40087 sed 's/^/| /' conftest.$ac_ext >&5
40088
40089
40090 fi
40091
40092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40093
40094 fi
40095
40096 #
40097 # FIVE ARGUMENTS
40098 # (e.g. Solaris)
40099 #
40100
40101 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40102
40103 cat >conftest.$ac_ext <<_ACEOF
40104 /* confdefs.h. */
40105 _ACEOF
40106 cat confdefs.h >>conftest.$ac_ext
40107 cat >>conftest.$ac_ext <<_ACEOF
40108 /* end confdefs.h. */
40109 #include <netdb.h>
40110 int
40111 main ()
40112 {
40113
40114 char *name = "www.gnu.org";
40115 struct hostent ret;
40116 char buf[1024];
40117 int buflen = 1024;
40118 int my_h_errno;
40119 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40120
40121 ;
40122 return 0;
40123 }
40124 _ACEOF
40125 rm -f conftest.$ac_objext
40126 if { (ac_try="$ac_compile"
40127 case "(($ac_try" in
40128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40129 *) ac_try_echo=$ac_try;;
40130 esac
40131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40132 (eval "$ac_compile") 2>conftest.er1
40133 ac_status=$?
40134 grep -v '^ *+' conftest.er1 >conftest.err
40135 rm -f conftest.er1
40136 cat conftest.err >&5
40137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40138 (exit $ac_status); } && {
40139 test -z "$ac_c_werror_flag" ||
40140 test ! -s conftest.err
40141 } && test -s conftest.$ac_objext; then
40142 ac_cv_func_which_gethostbyname_r=five
40143 else
40144 echo "$as_me: failed program was:" >&5
40145 sed 's/^/| /' conftest.$ac_ext >&5
40146
40147
40148 fi
40149
40150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40151
40152 fi
40153
40154 #
40155 # THREE ARGUMENTS
40156 # (e.g. AIX, HP-UX, Tru64)
40157 #
40158
40159 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40160
40161 cat >conftest.$ac_ext <<_ACEOF
40162 /* confdefs.h. */
40163 _ACEOF
40164 cat confdefs.h >>conftest.$ac_ext
40165 cat >>conftest.$ac_ext <<_ACEOF
40166 /* end confdefs.h. */
40167 #include <netdb.h>
40168 int
40169 main ()
40170 {
40171
40172 char *name = "www.gnu.org";
40173 struct hostent ret;
40174 struct hostent_data data;
40175 (void)gethostbyname_r(name, &ret, &data) /* ; */
40176
40177 ;
40178 return 0;
40179 }
40180 _ACEOF
40181 rm -f conftest.$ac_objext
40182 if { (ac_try="$ac_compile"
40183 case "(($ac_try" in
40184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40185 *) ac_try_echo=$ac_try;;
40186 esac
40187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40188 (eval "$ac_compile") 2>conftest.er1
40189 ac_status=$?
40190 grep -v '^ *+' conftest.er1 >conftest.err
40191 rm -f conftest.er1
40192 cat conftest.err >&5
40193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40194 (exit $ac_status); } && {
40195 test -z "$ac_c_werror_flag" ||
40196 test ! -s conftest.err
40197 } && test -s conftest.$ac_objext; then
40198 ac_cv_func_which_gethostbyname_r=three
40199 else
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.$ac_ext >&5
40202
40203
40204 fi
40205
40206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40207
40208 fi
40209
40210 ################################################################
40211
40212
40213 fi
40214
40215 case "$ac_cv_func_which_gethostbyname_r" in
40216 three)
40217 { echo "$as_me:$LINENO: result: three" >&5
40218 echo "${ECHO_T}three" >&6; }
40219 cat >>confdefs.h <<\_ACEOF
40220 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40221 _ACEOF
40222
40223 ;;
40224
40225 five)
40226 { echo "$as_me:$LINENO: result: five" >&5
40227 echo "${ECHO_T}five" >&6; }
40228 cat >>confdefs.h <<\_ACEOF
40229 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40230 _ACEOF
40231
40232 ;;
40233
40234 six)
40235 { echo "$as_me:$LINENO: result: six" >&5
40236 echo "${ECHO_T}six" >&6; }
40237 cat >>confdefs.h <<\_ACEOF
40238 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40239 _ACEOF
40240
40241 ;;
40242
40243 no)
40244 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40245 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40246 ;;
40247
40248 unknown)
40249 { echo "$as_me:$LINENO: result: can't tell" >&5
40250 echo "${ECHO_T}can't tell" >&6; }
40251 ;;
40252
40253 *)
40254 { { echo "$as_me:$LINENO: error: internal error" >&5
40255 echo "$as_me: error: internal error" >&2;}
40256 { (exit 1); exit 1; }; }
40257 ;;
40258 esac
40259
40260 ac_ext=c
40261 ac_cpp='$CPP $CPPFLAGS'
40262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40265
40266
40267
40268 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40269 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40270 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40271 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40272 if test "${ac_cv_func_gethostbyname+set}" = set; then
40273 echo $ECHO_N "(cached) $ECHO_C" >&6
40274 else
40275 cat >conftest.$ac_ext <<_ACEOF
40276 /* confdefs.h. */
40277 _ACEOF
40278 cat confdefs.h >>conftest.$ac_ext
40279 cat >>conftest.$ac_ext <<_ACEOF
40280 /* end confdefs.h. */
40281 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40283 #define gethostbyname innocuous_gethostbyname
40284
40285 /* System header to define __stub macros and hopefully few prototypes,
40286 which can conflict with char gethostbyname (); below.
40287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40288 <limits.h> exists even on freestanding compilers. */
40289
40290 #ifdef __STDC__
40291 # include <limits.h>
40292 #else
40293 # include <assert.h>
40294 #endif
40295
40296 #undef gethostbyname
40297
40298 /* Override any GCC internal prototype to avoid an error.
40299 Use char because int might match the return type of a GCC
40300 builtin and then its argument prototype would still apply. */
40301 #ifdef __cplusplus
40302 extern "C"
40303 #endif
40304 char gethostbyname ();
40305 /* The GNU C library defines this for functions which it implements
40306 to always fail with ENOSYS. Some functions are actually named
40307 something starting with __ and the normal name is an alias. */
40308 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40309 choke me
40310 #endif
40311
40312 int
40313 main ()
40314 {
40315 return gethostbyname ();
40316 ;
40317 return 0;
40318 }
40319 _ACEOF
40320 rm -f conftest.$ac_objext conftest$ac_exeext
40321 if { (ac_try="$ac_link"
40322 case "(($ac_try" in
40323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40324 *) ac_try_echo=$ac_try;;
40325 esac
40326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40327 (eval "$ac_link") 2>conftest.er1
40328 ac_status=$?
40329 grep -v '^ *+' conftest.er1 >conftest.err
40330 rm -f conftest.er1
40331 cat conftest.err >&5
40332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40333 (exit $ac_status); } && {
40334 test -z "$ac_c_werror_flag" ||
40335 test ! -s conftest.err
40336 } && test -s conftest$ac_exeext &&
40337 $as_test_x conftest$ac_exeext; then
40338 ac_cv_func_gethostbyname=yes
40339 else
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40342
40343 ac_cv_func_gethostbyname=no
40344 fi
40345
40346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40347 conftest$ac_exeext conftest.$ac_ext
40348 fi
40349 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40350 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40351 if test $ac_cv_func_gethostbyname = yes; then
40352 cat >>confdefs.h <<\_ACEOF
40353 #define HAVE_GETHOSTBYNAME 1
40354 _ACEOF
40355
40356 fi
40357
40358 fi
40359
40360 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40361 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40362 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40363 echo $ECHO_N "(cached) $ECHO_C" >&6
40364 else
40365
40366 ac_ext=cpp
40367 ac_cpp='$CXXCPP $CPPFLAGS'
40368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40371
40372
40373 cat >conftest.$ac_ext <<_ACEOF
40374 /* confdefs.h. */
40375 _ACEOF
40376 cat confdefs.h >>conftest.$ac_ext
40377 cat >>conftest.$ac_ext <<_ACEOF
40378 /* end confdefs.h. */
40379 #include <netdb.h>
40380 int
40381 main ()
40382 {
40383
40384 char *name;
40385 char *proto;
40386 struct servent *se, *res;
40387 char buffer[2048];
40388 int buflen = 2048;
40389 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40390
40391 ;
40392 return 0;
40393 }
40394 _ACEOF
40395 rm -f conftest.$ac_objext
40396 if { (ac_try="$ac_compile"
40397 case "(($ac_try" in
40398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40399 *) ac_try_echo=$ac_try;;
40400 esac
40401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40402 (eval "$ac_compile") 2>conftest.er1
40403 ac_status=$?
40404 grep -v '^ *+' conftest.er1 >conftest.err
40405 rm -f conftest.er1
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } && {
40409 test -z "$ac_cxx_werror_flag" ||
40410 test ! -s conftest.err
40411 } && test -s conftest.$ac_objext; then
40412 ac_cv_func_which_getservbyname_r=six
40413 else
40414 echo "$as_me: failed program was:" >&5
40415 sed 's/^/| /' conftest.$ac_ext >&5
40416
40417
40418 cat >conftest.$ac_ext <<_ACEOF
40419 /* confdefs.h. */
40420 _ACEOF
40421 cat confdefs.h >>conftest.$ac_ext
40422 cat >>conftest.$ac_ext <<_ACEOF
40423 /* end confdefs.h. */
40424 #include <netdb.h>
40425 int
40426 main ()
40427 {
40428
40429 char *name;
40430 char *proto;
40431 struct servent *se;
40432 char buffer[2048];
40433 int buflen = 2048;
40434 (void) getservbyname_r(name, proto, se, buffer, buflen)
40435
40436 ;
40437 return 0;
40438 }
40439 _ACEOF
40440 rm -f conftest.$ac_objext
40441 if { (ac_try="$ac_compile"
40442 case "(($ac_try" in
40443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40444 *) ac_try_echo=$ac_try;;
40445 esac
40446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40447 (eval "$ac_compile") 2>conftest.er1
40448 ac_status=$?
40449 grep -v '^ *+' conftest.er1 >conftest.err
40450 rm -f conftest.er1
40451 cat conftest.err >&5
40452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40453 (exit $ac_status); } && {
40454 test -z "$ac_cxx_werror_flag" ||
40455 test ! -s conftest.err
40456 } && test -s conftest.$ac_objext; then
40457 ac_cv_func_which_getservbyname_r=five
40458 else
40459 echo "$as_me: failed program was:" >&5
40460 sed 's/^/| /' conftest.$ac_ext >&5
40461
40462
40463 cat >conftest.$ac_ext <<_ACEOF
40464 /* confdefs.h. */
40465 _ACEOF
40466 cat confdefs.h >>conftest.$ac_ext
40467 cat >>conftest.$ac_ext <<_ACEOF
40468 /* end confdefs.h. */
40469 #include <netdb.h>
40470 int
40471 main ()
40472 {
40473
40474 char *name;
40475 char *proto;
40476 struct servent *se;
40477 struct servent_data data;
40478 (void) getservbyname_r(name, proto, se, &data);
40479
40480 ;
40481 return 0;
40482 }
40483 _ACEOF
40484 rm -f conftest.$ac_objext
40485 if { (ac_try="$ac_compile"
40486 case "(($ac_try" in
40487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40488 *) ac_try_echo=$ac_try;;
40489 esac
40490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40491 (eval "$ac_compile") 2>conftest.er1
40492 ac_status=$?
40493 grep -v '^ *+' conftest.er1 >conftest.err
40494 rm -f conftest.er1
40495 cat conftest.err >&5
40496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40497 (exit $ac_status); } && {
40498 test -z "$ac_cxx_werror_flag" ||
40499 test ! -s conftest.err
40500 } && test -s conftest.$ac_objext; then
40501 ac_cv_func_which_getservbyname_r=four
40502 else
40503 echo "$as_me: failed program was:" >&5
40504 sed 's/^/| /' conftest.$ac_ext >&5
40505
40506 ac_cv_func_which_getservbyname_r=no
40507
40508 fi
40509
40510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40511
40512
40513 fi
40514
40515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40516
40517
40518 fi
40519
40520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40521 ac_ext=c
40522 ac_cpp='$CPP $CPPFLAGS'
40523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40526
40527
40528
40529 fi
40530 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40531 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40532
40533 if test $ac_cv_func_which_getservbyname_r = six; then
40534 cat >>confdefs.h <<\_ACEOF
40535 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40536 _ACEOF
40537
40538 elif test $ac_cv_func_which_getservbyname_r = five; then
40539 cat >>confdefs.h <<\_ACEOF
40540 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40541 _ACEOF
40542
40543 elif test $ac_cv_func_which_getservbyname_r = four; then
40544 cat >>confdefs.h <<\_ACEOF
40545 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40546 _ACEOF
40547
40548 fi
40549
40550
40551 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40552 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40553
40554 for ac_func in getservbyname
40555 do
40556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40557 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40559 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40560 echo $ECHO_N "(cached) $ECHO_C" >&6
40561 else
40562 cat >conftest.$ac_ext <<_ACEOF
40563 /* confdefs.h. */
40564 _ACEOF
40565 cat confdefs.h >>conftest.$ac_ext
40566 cat >>conftest.$ac_ext <<_ACEOF
40567 /* end confdefs.h. */
40568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40570 #define $ac_func innocuous_$ac_func
40571
40572 /* System header to define __stub macros and hopefully few prototypes,
40573 which can conflict with char $ac_func (); below.
40574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40575 <limits.h> exists even on freestanding compilers. */
40576
40577 #ifdef __STDC__
40578 # include <limits.h>
40579 #else
40580 # include <assert.h>
40581 #endif
40582
40583 #undef $ac_func
40584
40585 /* Override any GCC internal prototype to avoid an error.
40586 Use char because int might match the return type of a GCC
40587 builtin and then its argument prototype would still apply. */
40588 #ifdef __cplusplus
40589 extern "C"
40590 #endif
40591 char $ac_func ();
40592 /* The GNU C library defines this for functions which it implements
40593 to always fail with ENOSYS. Some functions are actually named
40594 something starting with __ and the normal name is an alias. */
40595 #if defined __stub_$ac_func || defined __stub___$ac_func
40596 choke me
40597 #endif
40598
40599 int
40600 main ()
40601 {
40602 return $ac_func ();
40603 ;
40604 return 0;
40605 }
40606 _ACEOF
40607 rm -f conftest.$ac_objext conftest$ac_exeext
40608 if { (ac_try="$ac_link"
40609 case "(($ac_try" in
40610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40611 *) ac_try_echo=$ac_try;;
40612 esac
40613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40614 (eval "$ac_link") 2>conftest.er1
40615 ac_status=$?
40616 grep -v '^ *+' conftest.er1 >conftest.err
40617 rm -f conftest.er1
40618 cat conftest.err >&5
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); } && {
40621 test -z "$ac_c_werror_flag" ||
40622 test ! -s conftest.err
40623 } && test -s conftest$ac_exeext &&
40624 $as_test_x conftest$ac_exeext; then
40625 eval "$as_ac_var=yes"
40626 else
40627 echo "$as_me: failed program was:" >&5
40628 sed 's/^/| /' conftest.$ac_ext >&5
40629
40630 eval "$as_ac_var=no"
40631 fi
40632
40633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40634 conftest$ac_exeext conftest.$ac_ext
40635 fi
40636 ac_res=`eval echo '${'$as_ac_var'}'`
40637 { echo "$as_me:$LINENO: result: $ac_res" >&5
40638 echo "${ECHO_T}$ac_res" >&6; }
40639 if test `eval echo '${'$as_ac_var'}'` = yes; then
40640 cat >>confdefs.h <<_ACEOF
40641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40642 _ACEOF
40643 cat >>confdefs.h <<\_ACEOF
40644 #define HAVE_GETSERVBYNAME 1
40645 _ACEOF
40646
40647 fi
40648 done
40649
40650 fi
40651
40652 if test "$wxUSE_THREADS" = "yes"; then
40653 cat >>confdefs.h <<\_ACEOF
40654 #define wxUSE_THREADS 1
40655 _ACEOF
40656
40657
40658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40659 else
40660 if test "$wx_cv_func_strtok_r" = "yes"; then
40661 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40662 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40663 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40664 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40665 { echo "$as_me:$LINENO: result: yes" >&5
40666 echo "${ECHO_T}yes" >&6; }
40667 else
40668 { echo "$as_me:$LINENO: result: no" >&5
40669 echo "${ECHO_T}no" >&6; }
40670 fi
40671 fi
40672 fi
40673
40674 if test "$WXGTK2" = 1 ; then
40675 cat >>confdefs.h <<_ACEOF
40676 #define __WXGTK20__ $WXGTK2
40677 _ACEOF
40678
40679 WXGTK12=1
40680 fi
40681
40682 if test "$WXGTK12" = 1 ; then
40683 cat >>confdefs.h <<_ACEOF
40684 #define __WXGTK12__ $WXGTK12
40685 _ACEOF
40686
40687 fi
40688
40689 if test "$WXGTK127" = 1 ; then
40690 cat >>confdefs.h <<_ACEOF
40691 #define __WXGTK127__ $WXGTK127
40692 _ACEOF
40693
40694 fi
40695
40696 if test "$WXGPE" = 1 ; then
40697 cat >>confdefs.h <<_ACEOF
40698 #define __WXGPE__ $WXGPE
40699 _ACEOF
40700
40701 fi
40702
40703 DEBUG_CFLAGS=
40704 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40705 DEBUG_CFLAGS="-g"
40706 wxUSE_OPTIMISE=no
40707 fi
40708
40709 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40710 wxUSE_DEBUG_INFO=yes
40711 if test "$GCC" = yes; then
40712 DEBUG_CFLAGS="-ggdb"
40713 fi
40714 fi
40715
40716 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40717 cat >>confdefs.h <<\_ACEOF
40718 #define WXDEBUG 1
40719 _ACEOF
40720
40721 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40722 else
40723 if test "$wxUSE_GTK" = 1 ; then
40724 if test "x$wxGTK_VERSION" = "x1" ; then
40725 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40726 fi
40727 fi
40728 fi
40729
40730 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40731 cat >>confdefs.h <<\_ACEOF
40732 #define wxUSE_MEMORY_TRACING 1
40733 _ACEOF
40734
40735 cat >>confdefs.h <<\_ACEOF
40736 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40737 _ACEOF
40738
40739 cat >>confdefs.h <<\_ACEOF
40740 #define wxUSE_DEBUG_NEW_ALWAYS 1
40741 _ACEOF
40742
40743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40744 fi
40745
40746 if test "$wxUSE_DMALLOC" = "yes" ; then
40747 DMALLOC_LIBS="-ldmallocthcxx"
40748 fi
40749
40750 PROFILE_FLAGS=
40751 if test "$wxUSE_PROFILE" = "yes" ; then
40752 PROFILE_FLAGS=" -pg"
40753 fi
40754
40755 if test "$GCC" = "yes" ; then
40756 if test "$wxUSE_NO_RTTI" = "yes" ; then
40757 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40758 fi
40759 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40760 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40761 fi
40762 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40763 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40764 fi
40765
40766 case "${host}" in
40767 powerpc*-*-aix* )
40768 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40769 ;;
40770 *-hppa* )
40771 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40772 ;;
40773 esac
40774 fi
40775
40776 OPTIMISE_CFLAGS=
40777 if test "$wxUSE_OPTIMISE" = "no" ; then
40778 if test "$GCC" = yes ; then
40779 OPTIMISE_CFLAGS="-O0"
40780 fi
40781 else
40782 if test "$GCC" = yes ; then
40783 case "${host}" in
40784 *-pc-os2_emx | *-pc-os2-emx )
40785 OPTIMISE_CFLAGS="-O2"
40786 ;;
40787 *)
40788 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40789 ;;
40790 esac
40791 else
40792 OPTIMISE_CFLAGS="-O"
40793 fi
40794 fi
40795
40796
40797 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40798 cat >>confdefs.h <<\_ACEOF
40799 #define WXWIN_COMPATIBILITY_2_6 1
40800 _ACEOF
40801
40802
40803 WXWIN_COMPATIBILITY_2_8="yes"
40804 fi
40805
40806 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40807 cat >>confdefs.h <<\_ACEOF
40808 #define WXWIN_COMPATIBILITY_2_8 1
40809 _ACEOF
40810
40811 fi
40812
40813
40814 if test "$wxUSE_GUI" = "yes"; then
40815 cat >>confdefs.h <<\_ACEOF
40816 #define wxUSE_GUI 1
40817 _ACEOF
40818
40819
40820 fi
40821
40822
40823 if test "$wxUSE_UNIX" = "yes"; then
40824 cat >>confdefs.h <<\_ACEOF
40825 #define wxUSE_UNIX 1
40826 _ACEOF
40827
40828 fi
40829
40830
40831 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40832
40833 HAVE_DL_FUNCS=0
40834 HAVE_SHL_FUNCS=0
40835 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40836 if test "$USE_DARWIN" = 1; then
40837 HAVE_DL_FUNCS=1
40838 elif test "$USE_DOS" = 1; then
40839 HAVE_DL_FUNCS=0
40840 else
40841
40842 for ac_func in dlopen
40843 do
40844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40848 echo $ECHO_N "(cached) $ECHO_C" >&6
40849 else
40850 cat >conftest.$ac_ext <<_ACEOF
40851 /* confdefs.h. */
40852 _ACEOF
40853 cat confdefs.h >>conftest.$ac_ext
40854 cat >>conftest.$ac_ext <<_ACEOF
40855 /* end confdefs.h. */
40856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40858 #define $ac_func innocuous_$ac_func
40859
40860 /* System header to define __stub macros and hopefully few prototypes,
40861 which can conflict with char $ac_func (); below.
40862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40863 <limits.h> exists even on freestanding compilers. */
40864
40865 #ifdef __STDC__
40866 # include <limits.h>
40867 #else
40868 # include <assert.h>
40869 #endif
40870
40871 #undef $ac_func
40872
40873 /* Override any GCC internal prototype to avoid an error.
40874 Use char because int might match the return type of a GCC
40875 builtin and then its argument prototype would still apply. */
40876 #ifdef __cplusplus
40877 extern "C"
40878 #endif
40879 char $ac_func ();
40880 /* The GNU C library defines this for functions which it implements
40881 to always fail with ENOSYS. Some functions are actually named
40882 something starting with __ and the normal name is an alias. */
40883 #if defined __stub_$ac_func || defined __stub___$ac_func
40884 choke me
40885 #endif
40886
40887 int
40888 main ()
40889 {
40890 return $ac_func ();
40891 ;
40892 return 0;
40893 }
40894 _ACEOF
40895 rm -f conftest.$ac_objext conftest$ac_exeext
40896 if { (ac_try="$ac_link"
40897 case "(($ac_try" in
40898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40899 *) ac_try_echo=$ac_try;;
40900 esac
40901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40902 (eval "$ac_link") 2>conftest.er1
40903 ac_status=$?
40904 grep -v '^ *+' conftest.er1 >conftest.err
40905 rm -f conftest.er1
40906 cat conftest.err >&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); } && {
40909 test -z "$ac_c_werror_flag" ||
40910 test ! -s conftest.err
40911 } && test -s conftest$ac_exeext &&
40912 $as_test_x conftest$ac_exeext; then
40913 eval "$as_ac_var=yes"
40914 else
40915 echo "$as_me: failed program was:" >&5
40916 sed 's/^/| /' conftest.$ac_ext >&5
40917
40918 eval "$as_ac_var=no"
40919 fi
40920
40921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40922 conftest$ac_exeext conftest.$ac_ext
40923 fi
40924 ac_res=`eval echo '${'$as_ac_var'}'`
40925 { echo "$as_me:$LINENO: result: $ac_res" >&5
40926 echo "${ECHO_T}$ac_res" >&6; }
40927 if test `eval echo '${'$as_ac_var'}'` = yes; then
40928 cat >>confdefs.h <<_ACEOF
40929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40930 _ACEOF
40931
40932 cat >>confdefs.h <<\_ACEOF
40933 #define HAVE_DLOPEN 1
40934 _ACEOF
40935
40936 HAVE_DL_FUNCS=1
40937
40938 else
40939
40940 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40941 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40942 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40943 echo $ECHO_N "(cached) $ECHO_C" >&6
40944 else
40945 ac_check_lib_save_LIBS=$LIBS
40946 LIBS="-ldl $LIBS"
40947 cat >conftest.$ac_ext <<_ACEOF
40948 /* confdefs.h. */
40949 _ACEOF
40950 cat confdefs.h >>conftest.$ac_ext
40951 cat >>conftest.$ac_ext <<_ACEOF
40952 /* end confdefs.h. */
40953
40954 /* Override any GCC internal prototype to avoid an error.
40955 Use char because int might match the return type of a GCC
40956 builtin and then its argument prototype would still apply. */
40957 #ifdef __cplusplus
40958 extern "C"
40959 #endif
40960 char dlopen ();
40961 int
40962 main ()
40963 {
40964 return dlopen ();
40965 ;
40966 return 0;
40967 }
40968 _ACEOF
40969 rm -f conftest.$ac_objext conftest$ac_exeext
40970 if { (ac_try="$ac_link"
40971 case "(($ac_try" in
40972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40973 *) ac_try_echo=$ac_try;;
40974 esac
40975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40976 (eval "$ac_link") 2>conftest.er1
40977 ac_status=$?
40978 grep -v '^ *+' conftest.er1 >conftest.err
40979 rm -f conftest.er1
40980 cat conftest.err >&5
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); } && {
40983 test -z "$ac_c_werror_flag" ||
40984 test ! -s conftest.err
40985 } && test -s conftest$ac_exeext &&
40986 $as_test_x conftest$ac_exeext; then
40987 ac_cv_lib_dl_dlopen=yes
40988 else
40989 echo "$as_me: failed program was:" >&5
40990 sed 's/^/| /' conftest.$ac_ext >&5
40991
40992 ac_cv_lib_dl_dlopen=no
40993 fi
40994
40995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40996 conftest$ac_exeext conftest.$ac_ext
40997 LIBS=$ac_check_lib_save_LIBS
40998 fi
40999 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41000 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41001 if test $ac_cv_lib_dl_dlopen = yes; then
41002
41003 cat >>confdefs.h <<\_ACEOF
41004 #define HAVE_DLOPEN 1
41005 _ACEOF
41006
41007 HAVE_DL_FUNCS=1
41008 DL_LINK=" -ldl$DL_LINK"
41009
41010 else
41011
41012
41013 for ac_func in shl_load
41014 do
41015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41019 echo $ECHO_N "(cached) $ECHO_C" >&6
41020 else
41021 cat >conftest.$ac_ext <<_ACEOF
41022 /* confdefs.h. */
41023 _ACEOF
41024 cat confdefs.h >>conftest.$ac_ext
41025 cat >>conftest.$ac_ext <<_ACEOF
41026 /* end confdefs.h. */
41027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41029 #define $ac_func innocuous_$ac_func
41030
41031 /* System header to define __stub macros and hopefully few prototypes,
41032 which can conflict with char $ac_func (); below.
41033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41034 <limits.h> exists even on freestanding compilers. */
41035
41036 #ifdef __STDC__
41037 # include <limits.h>
41038 #else
41039 # include <assert.h>
41040 #endif
41041
41042 #undef $ac_func
41043
41044 /* Override any GCC internal prototype to avoid an error.
41045 Use char because int might match the return type of a GCC
41046 builtin and then its argument prototype would still apply. */
41047 #ifdef __cplusplus
41048 extern "C"
41049 #endif
41050 char $ac_func ();
41051 /* The GNU C library defines this for functions which it implements
41052 to always fail with ENOSYS. Some functions are actually named
41053 something starting with __ and the normal name is an alias. */
41054 #if defined __stub_$ac_func || defined __stub___$ac_func
41055 choke me
41056 #endif
41057
41058 int
41059 main ()
41060 {
41061 return $ac_func ();
41062 ;
41063 return 0;
41064 }
41065 _ACEOF
41066 rm -f conftest.$ac_objext conftest$ac_exeext
41067 if { (ac_try="$ac_link"
41068 case "(($ac_try" in
41069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41070 *) ac_try_echo=$ac_try;;
41071 esac
41072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41073 (eval "$ac_link") 2>conftest.er1
41074 ac_status=$?
41075 grep -v '^ *+' conftest.er1 >conftest.err
41076 rm -f conftest.er1
41077 cat conftest.err >&5
41078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079 (exit $ac_status); } && {
41080 test -z "$ac_c_werror_flag" ||
41081 test ! -s conftest.err
41082 } && test -s conftest$ac_exeext &&
41083 $as_test_x conftest$ac_exeext; then
41084 eval "$as_ac_var=yes"
41085 else
41086 echo "$as_me: failed program was:" >&5
41087 sed 's/^/| /' conftest.$ac_ext >&5
41088
41089 eval "$as_ac_var=no"
41090 fi
41091
41092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41093 conftest$ac_exeext conftest.$ac_ext
41094 fi
41095 ac_res=`eval echo '${'$as_ac_var'}'`
41096 { echo "$as_me:$LINENO: result: $ac_res" >&5
41097 echo "${ECHO_T}$ac_res" >&6; }
41098 if test `eval echo '${'$as_ac_var'}'` = yes; then
41099 cat >>confdefs.h <<_ACEOF
41100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41101 _ACEOF
41102
41103 cat >>confdefs.h <<\_ACEOF
41104 #define HAVE_SHL_LOAD 1
41105 _ACEOF
41106
41107 HAVE_SHL_FUNCS=1
41108
41109 else
41110
41111 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41112 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41113 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41114 echo $ECHO_N "(cached) $ECHO_C" >&6
41115 else
41116 ac_check_lib_save_LIBS=$LIBS
41117 LIBS="-lshl_load $LIBS"
41118 cat >conftest.$ac_ext <<_ACEOF
41119 /* confdefs.h. */
41120 _ACEOF
41121 cat confdefs.h >>conftest.$ac_ext
41122 cat >>conftest.$ac_ext <<_ACEOF
41123 /* end confdefs.h. */
41124
41125 /* Override any GCC internal prototype to avoid an error.
41126 Use char because int might match the return type of a GCC
41127 builtin and then its argument prototype would still apply. */
41128 #ifdef __cplusplus
41129 extern "C"
41130 #endif
41131 char dld ();
41132 int
41133 main ()
41134 {
41135 return dld ();
41136 ;
41137 return 0;
41138 }
41139 _ACEOF
41140 rm -f conftest.$ac_objext conftest$ac_exeext
41141 if { (ac_try="$ac_link"
41142 case "(($ac_try" in
41143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41144 *) ac_try_echo=$ac_try;;
41145 esac
41146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41147 (eval "$ac_link") 2>conftest.er1
41148 ac_status=$?
41149 grep -v '^ *+' conftest.er1 >conftest.err
41150 rm -f conftest.er1
41151 cat conftest.err >&5
41152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41153 (exit $ac_status); } && {
41154 test -z "$ac_c_werror_flag" ||
41155 test ! -s conftest.err
41156 } && test -s conftest$ac_exeext &&
41157 $as_test_x conftest$ac_exeext; then
41158 ac_cv_lib_shl_load_dld=yes
41159 else
41160 echo "$as_me: failed program was:" >&5
41161 sed 's/^/| /' conftest.$ac_ext >&5
41162
41163 ac_cv_lib_shl_load_dld=no
41164 fi
41165
41166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41167 conftest$ac_exeext conftest.$ac_ext
41168 LIBS=$ac_check_lib_save_LIBS
41169 fi
41170 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41171 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41172 if test $ac_cv_lib_shl_load_dld = yes; then
41173
41174 HAVE_SHL_FUNCS=1
41175 DL_LINK=" -ldld$DL_LINK"
41176
41177 fi
41178
41179
41180 fi
41181 done
41182
41183
41184 fi
41185
41186
41187 fi
41188 done
41189
41190
41191 if test "$HAVE_DL_FUNCS" = 1; then
41192
41193 for ac_func in dlerror
41194 do
41195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41196 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41198 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41199 echo $ECHO_N "(cached) $ECHO_C" >&6
41200 else
41201 cat >conftest.$ac_ext <<_ACEOF
41202 /* confdefs.h. */
41203 _ACEOF
41204 cat confdefs.h >>conftest.$ac_ext
41205 cat >>conftest.$ac_ext <<_ACEOF
41206 /* end confdefs.h. */
41207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41209 #define $ac_func innocuous_$ac_func
41210
41211 /* System header to define __stub macros and hopefully few prototypes,
41212 which can conflict with char $ac_func (); below.
41213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41214 <limits.h> exists even on freestanding compilers. */
41215
41216 #ifdef __STDC__
41217 # include <limits.h>
41218 #else
41219 # include <assert.h>
41220 #endif
41221
41222 #undef $ac_func
41223
41224 /* Override any GCC internal prototype to avoid an error.
41225 Use char because int might match the return type of a GCC
41226 builtin and then its argument prototype would still apply. */
41227 #ifdef __cplusplus
41228 extern "C"
41229 #endif
41230 char $ac_func ();
41231 /* The GNU C library defines this for functions which it implements
41232 to always fail with ENOSYS. Some functions are actually named
41233 something starting with __ and the normal name is an alias. */
41234 #if defined __stub_$ac_func || defined __stub___$ac_func
41235 choke me
41236 #endif
41237
41238 int
41239 main ()
41240 {
41241 return $ac_func ();
41242 ;
41243 return 0;
41244 }
41245 _ACEOF
41246 rm -f conftest.$ac_objext conftest$ac_exeext
41247 if { (ac_try="$ac_link"
41248 case "(($ac_try" in
41249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41250 *) ac_try_echo=$ac_try;;
41251 esac
41252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41253 (eval "$ac_link") 2>conftest.er1
41254 ac_status=$?
41255 grep -v '^ *+' conftest.er1 >conftest.err
41256 rm -f conftest.er1
41257 cat conftest.err >&5
41258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41259 (exit $ac_status); } && {
41260 test -z "$ac_c_werror_flag" ||
41261 test ! -s conftest.err
41262 } && test -s conftest$ac_exeext &&
41263 $as_test_x conftest$ac_exeext; then
41264 eval "$as_ac_var=yes"
41265 else
41266 echo "$as_me: failed program was:" >&5
41267 sed 's/^/| /' conftest.$ac_ext >&5
41268
41269 eval "$as_ac_var=no"
41270 fi
41271
41272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41273 conftest$ac_exeext conftest.$ac_ext
41274 fi
41275 ac_res=`eval echo '${'$as_ac_var'}'`
41276 { echo "$as_me:$LINENO: result: $ac_res" >&5
41277 echo "${ECHO_T}$ac_res" >&6; }
41278 if test `eval echo '${'$as_ac_var'}'` = yes; then
41279 cat >>confdefs.h <<_ACEOF
41280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41281 _ACEOF
41282 cat >>confdefs.h <<\_ACEOF
41283 #define HAVE_DLERROR 1
41284 _ACEOF
41285
41286 else
41287
41288 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41289 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41290 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41291 echo $ECHO_N "(cached) $ECHO_C" >&6
41292 else
41293 ac_check_lib_save_LIBS=$LIBS
41294 LIBS="-ldl $LIBS"
41295 cat >conftest.$ac_ext <<_ACEOF
41296 /* confdefs.h. */
41297 _ACEOF
41298 cat confdefs.h >>conftest.$ac_ext
41299 cat >>conftest.$ac_ext <<_ACEOF
41300 /* end confdefs.h. */
41301
41302 /* Override any GCC internal prototype to avoid an error.
41303 Use char because int might match the return type of a GCC
41304 builtin and then its argument prototype would still apply. */
41305 #ifdef __cplusplus
41306 extern "C"
41307 #endif
41308 char dlerror ();
41309 int
41310 main ()
41311 {
41312 return dlerror ();
41313 ;
41314 return 0;
41315 }
41316 _ACEOF
41317 rm -f conftest.$ac_objext conftest$ac_exeext
41318 if { (ac_try="$ac_link"
41319 case "(($ac_try" in
41320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41321 *) ac_try_echo=$ac_try;;
41322 esac
41323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41324 (eval "$ac_link") 2>conftest.er1
41325 ac_status=$?
41326 grep -v '^ *+' conftest.er1 >conftest.err
41327 rm -f conftest.er1
41328 cat conftest.err >&5
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); } && {
41331 test -z "$ac_c_werror_flag" ||
41332 test ! -s conftest.err
41333 } && test -s conftest$ac_exeext &&
41334 $as_test_x conftest$ac_exeext; then
41335 ac_cv_lib_dl_dlerror=yes
41336 else
41337 echo "$as_me: failed program was:" >&5
41338 sed 's/^/| /' conftest.$ac_ext >&5
41339
41340 ac_cv_lib_dl_dlerror=no
41341 fi
41342
41343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41344 conftest$ac_exeext conftest.$ac_ext
41345 LIBS=$ac_check_lib_save_LIBS
41346 fi
41347 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41348 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41349 if test $ac_cv_lib_dl_dlerror = yes; then
41350 cat >>confdefs.h <<\_ACEOF
41351 #define HAVE_DLERROR 1
41352 _ACEOF
41353
41354 fi
41355
41356
41357
41358 fi
41359 done
41360
41361 fi
41362 fi
41363
41364 if test "$HAVE_DL_FUNCS" = 0; then
41365 if test "$HAVE_SHL_FUNCS" = 0; then
41366 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41367 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41368 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41369 wxUSE_DYNAMIC_LOADER=no
41370 wxUSE_DYNLIB_CLASS=no
41371 else
41372 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41373 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41374 fi
41375 fi
41376 fi
41377 fi
41378 fi
41379
41380 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41381 cat >>confdefs.h <<\_ACEOF
41382 #define wxUSE_DYNAMIC_LOADER 1
41383 _ACEOF
41384
41385 fi
41386 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41387 cat >>confdefs.h <<\_ACEOF
41388 #define wxUSE_DYNLIB_CLASS 1
41389 _ACEOF
41390
41391 fi
41392
41393
41394
41395 if test "$wxUSE_PLUGINS" = "yes" ; then
41396 if test "$wxUSE_SHARED" = "no" ; then
41397 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41398 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41399 wxUSE_PLUGINS=no
41400 fi
41401 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41402 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41403 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41404 wxUSE_PLUGINS=no
41405 fi
41406 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41407 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41408 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41409 wxUSE_PLUGINS=no
41410 fi
41411 if test "$wxUSE_PLUGINS" = "yes" ; then
41412 cat >>confdefs.h <<\_ACEOF
41413 #define wxUSE_PLUGINS 1
41414 _ACEOF
41415
41416 fi
41417 fi
41418
41419
41420 if test "$wxUSE_STL" = "yes"; then
41421 cat >>confdefs.h <<\_ACEOF
41422 #define wxUSE_STL 1
41423 _ACEOF
41424
41425 fi
41426
41427 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41428 cat >>confdefs.h <<\_ACEOF
41429 #define wxUSE_EXTENDED_RTTI 1
41430 _ACEOF
41431
41432 fi
41433
41434 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41435 cat >>confdefs.h <<\_ACEOF
41436 #define wxUSE_APPLE_IEEE 1
41437 _ACEOF
41438
41439 fi
41440
41441 if test "$wxUSE_TIMER" = "yes"; then
41442 cat >>confdefs.h <<\_ACEOF
41443 #define wxUSE_TIMER 1
41444 _ACEOF
41445
41446 fi
41447
41448 if test "$USE_UNIX" = 1 ; then
41449 if test "$wxUSE_MGL" != 1; then
41450 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41451 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41452 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41453 echo $ECHO_N "(cached) $ECHO_C" >&6
41454 else
41455
41456 cat >conftest.$ac_ext <<_ACEOF
41457 /* confdefs.h. */
41458 _ACEOF
41459 cat confdefs.h >>conftest.$ac_ext
41460 cat >>conftest.$ac_ext <<_ACEOF
41461 /* end confdefs.h. */
41462
41463 #include <sys/ioctl.h>
41464 #include <sys/soundcard.h>
41465
41466 int
41467 main ()
41468 {
41469
41470 ioctl(0, SNDCTL_DSP_SPEED, 0);
41471
41472 ;
41473 return 0;
41474 }
41475 _ACEOF
41476 rm -f conftest.$ac_objext conftest$ac_exeext
41477 if { (ac_try="$ac_link"
41478 case "(($ac_try" in
41479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41480 *) ac_try_echo=$ac_try;;
41481 esac
41482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41483 (eval "$ac_link") 2>conftest.er1
41484 ac_status=$?
41485 grep -v '^ *+' conftest.er1 >conftest.err
41486 rm -f conftest.er1
41487 cat conftest.err >&5
41488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41489 (exit $ac_status); } && {
41490 test -z "$ac_c_werror_flag" ||
41491 test ! -s conftest.err
41492 } && test -s conftest$ac_exeext &&
41493 $as_test_x conftest$ac_exeext; then
41494 ac_cv_header_sys_soundcard=yes
41495 else
41496 echo "$as_me: failed program was:" >&5
41497 sed 's/^/| /' conftest.$ac_ext >&5
41498
41499
41500 saveLibs="$LIBS"
41501 LIBS="$saveLibs -lossaudio"
41502 cat >conftest.$ac_ext <<_ACEOF
41503 /* confdefs.h. */
41504 _ACEOF
41505 cat confdefs.h >>conftest.$ac_ext
41506 cat >>conftest.$ac_ext <<_ACEOF
41507 /* end confdefs.h. */
41508
41509 #include <sys/ioctl.h>
41510 #include <sys/soundcard.h>
41511
41512 int
41513 main ()
41514 {
41515
41516 ioctl(0, SNDCTL_DSP_SPEED, 0);
41517
41518 ;
41519 return 0;
41520 }
41521 _ACEOF
41522 rm -f conftest.$ac_objext conftest$ac_exeext
41523 if { (ac_try="$ac_link"
41524 case "(($ac_try" in
41525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41526 *) ac_try_echo=$ac_try;;
41527 esac
41528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41529 (eval "$ac_link") 2>conftest.er1
41530 ac_status=$?
41531 grep -v '^ *+' conftest.er1 >conftest.err
41532 rm -f conftest.er1
41533 cat conftest.err >&5
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); } && {
41536 test -z "$ac_c_werror_flag" ||
41537 test ! -s conftest.err
41538 } && test -s conftest$ac_exeext &&
41539 $as_test_x conftest$ac_exeext; then
41540 ac_cv_header_sys_soundcard=yes
41541 else
41542 echo "$as_me: failed program was:" >&5
41543 sed 's/^/| /' conftest.$ac_ext >&5
41544
41545
41546 LIBS="$saveLibs"
41547 ac_cv_header_sys_soundcard=no
41548
41549
41550 fi
41551
41552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41553 conftest$ac_exeext conftest.$ac_ext
41554
41555
41556 fi
41557
41558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41559 conftest$ac_exeext conftest.$ac_ext
41560
41561 fi
41562 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41563 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41564 fi
41565
41566 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41567 cat >>confdefs.h <<\_ACEOF
41568 #define HAVE_SYS_SOUNDCARD_H 1
41569 _ACEOF
41570
41571 fi
41572 fi
41573
41574 WITH_PLUGIN_SDL=0
41575 if test "$wxUSE_SOUND" = "yes"; then
41576 if test "$USE_UNIX" = 1 ; then
41577 if test "$wxUSE_LIBSDL" != "no"; then
41578
41579 # Check whether --with-sdl-prefix was given.
41580 if test "${with_sdl_prefix+set}" = set; then
41581 withval=$with_sdl_prefix; sdl_prefix="$withval"
41582 else
41583 sdl_prefix=""
41584 fi
41585
41586
41587 # Check whether --with-sdl-exec-prefix was given.
41588 if test "${with_sdl_exec_prefix+set}" = set; then
41589 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41590 else
41591 sdl_exec_prefix=""
41592 fi
41593
41594 # Check whether --enable-sdltest was given.
41595 if test "${enable_sdltest+set}" = set; then
41596 enableval=$enable_sdltest;
41597 else
41598 enable_sdltest=yes
41599 fi
41600
41601
41602 if test x$sdl_exec_prefix != x ; then
41603 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41604 if test x${SDL_CONFIG+set} != xset ; then
41605 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41606 fi
41607 fi
41608 if test x$sdl_prefix != x ; then
41609 sdl_args="$sdl_args --prefix=$sdl_prefix"
41610 if test x${SDL_CONFIG+set} != xset ; then
41611 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41612 fi
41613 fi
41614
41615 if test "x$prefix" != xNONE; then
41616 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41617 fi
41618 # Extract the first word of "sdl-config", so it can be a program name with args.
41619 set dummy sdl-config; ac_word=$2
41620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41622 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41623 echo $ECHO_N "(cached) $ECHO_C" >&6
41624 else
41625 case $SDL_CONFIG in
41626 [\\/]* | ?:[\\/]*)
41627 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41628 ;;
41629 *)
41630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41631 for as_dir in $PATH
41632 do
41633 IFS=$as_save_IFS
41634 test -z "$as_dir" && as_dir=.
41635 for ac_exec_ext in '' $ac_executable_extensions; do
41636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41637 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41639 break 2
41640 fi
41641 done
41642 done
41643 IFS=$as_save_IFS
41644
41645 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41646 ;;
41647 esac
41648 fi
41649 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41650 if test -n "$SDL_CONFIG"; then
41651 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41652 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41653 else
41654 { echo "$as_me:$LINENO: result: no" >&5
41655 echo "${ECHO_T}no" >&6; }
41656 fi
41657
41658
41659 min_sdl_version=1.2.0
41660 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41661 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41662 no_sdl=""
41663 if test "$SDL_CONFIG" = "no" ; then
41664 no_sdl=yes
41665 else
41666 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41667 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41668
41669 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41670 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41671 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41673 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41675 if test "x$enable_sdltest" = "xyes" ; then
41676 ac_save_CFLAGS="$CFLAGS"
41677 ac_save_CXXFLAGS="$CXXFLAGS"
41678 ac_save_LIBS="$LIBS"
41679 CFLAGS="$CFLAGS $SDL_CFLAGS"
41680 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41681 LIBS="$LIBS $SDL_LIBS"
41682 rm -f conf.sdltest
41683 if test "$cross_compiling" = yes; then
41684 echo $ac_n "cross compiling; assumed OK... $ac_c"
41685 else
41686 cat >conftest.$ac_ext <<_ACEOF
41687 /* confdefs.h. */
41688 _ACEOF
41689 cat confdefs.h >>conftest.$ac_ext
41690 cat >>conftest.$ac_ext <<_ACEOF
41691 /* end confdefs.h. */
41692
41693 #include <stdio.h>
41694 #include <stdlib.h>
41695 #include <string.h>
41696 #include "SDL.h"
41697
41698 char*
41699 my_strdup (char *str)
41700 {
41701 char *new_str;
41702
41703 if (str)
41704 {
41705 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41706 strcpy (new_str, str);
41707 }
41708 else
41709 new_str = NULL;
41710
41711 return new_str;
41712 }
41713
41714 int main (int argc, char *argv[])
41715 {
41716 int major, minor, micro;
41717 char *tmp_version;
41718
41719 /* This hangs on some systems (?)
41720 system ("touch conf.sdltest");
41721 */
41722 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41723
41724 /* HP/UX 9 (%@#!) writes to sscanf strings */
41725 tmp_version = my_strdup("$min_sdl_version");
41726 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41727 printf("%s, bad version string\n", "$min_sdl_version");
41728 exit(1);
41729 }
41730
41731 if (($sdl_major_version > major) ||
41732 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41733 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41734 {
41735 return 0;
41736 }
41737 else
41738 {
41739 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41740 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41741 printf("*** best to upgrade to the required version.\n");
41742 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41743 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41744 printf("*** config.cache before re-running configure\n");
41745 return 1;
41746 }
41747 }
41748
41749
41750 _ACEOF
41751 rm -f conftest$ac_exeext
41752 if { (ac_try="$ac_link"
41753 case "(($ac_try" in
41754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41755 *) ac_try_echo=$ac_try;;
41756 esac
41757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41758 (eval "$ac_link") 2>&5
41759 ac_status=$?
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41762 { (case "(($ac_try" in
41763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41764 *) ac_try_echo=$ac_try;;
41765 esac
41766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41767 (eval "$ac_try") 2>&5
41768 ac_status=$?
41769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41770 (exit $ac_status); }; }; then
41771 :
41772 else
41773 echo "$as_me: program exited with status $ac_status" >&5
41774 echo "$as_me: failed program was:" >&5
41775 sed 's/^/| /' conftest.$ac_ext >&5
41776
41777 ( exit $ac_status )
41778 no_sdl=yes
41779 fi
41780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41781 fi
41782
41783
41784 CFLAGS="$ac_save_CFLAGS"
41785 CXXFLAGS="$ac_save_CXXFLAGS"
41786 LIBS="$ac_save_LIBS"
41787 fi
41788 fi
41789 if test "x$no_sdl" = x ; then
41790 { echo "$as_me:$LINENO: result: yes" >&5
41791 echo "${ECHO_T}yes" >&6; }
41792
41793 EXTRALIBS_SDL="$SDL_LIBS"
41794 CFLAGS="$SDL_CFLAGS $CFLAGS"
41795 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41796 cat >>confdefs.h <<\_ACEOF
41797 #define wxUSE_LIBSDL 1
41798 _ACEOF
41799
41800
41801 else
41802 { echo "$as_me:$LINENO: result: no" >&5
41803 echo "${ECHO_T}no" >&6; }
41804 if test "$SDL_CONFIG" = "no" ; then
41805 echo "*** The sdl-config script installed by SDL could not be found"
41806 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41807 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41808 echo "*** full path to sdl-config."
41809 else
41810 if test -f conf.sdltest ; then
41811 :
41812 else
41813 echo "*** Could not run SDL test program, checking why..."
41814 CFLAGS="$CFLAGS $SDL_CFLAGS"
41815 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41816 LIBS="$LIBS $SDL_LIBS"
41817 cat >conftest.$ac_ext <<_ACEOF
41818 /* confdefs.h. */
41819 _ACEOF
41820 cat confdefs.h >>conftest.$ac_ext
41821 cat >>conftest.$ac_ext <<_ACEOF
41822 /* end confdefs.h. */
41823
41824 #include <stdio.h>
41825 #include "SDL.h"
41826
41827 int main(int argc, char *argv[])
41828 { return 0; }
41829 #undef main
41830 #define main K_and_R_C_main
41831
41832 int
41833 main ()
41834 {
41835 return 0;
41836 ;
41837 return 0;
41838 }
41839 _ACEOF
41840 rm -f conftest.$ac_objext conftest$ac_exeext
41841 if { (ac_try="$ac_link"
41842 case "(($ac_try" in
41843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41844 *) ac_try_echo=$ac_try;;
41845 esac
41846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41847 (eval "$ac_link") 2>conftest.er1
41848 ac_status=$?
41849 grep -v '^ *+' conftest.er1 >conftest.err
41850 rm -f conftest.er1
41851 cat conftest.err >&5
41852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41853 (exit $ac_status); } && {
41854 test -z "$ac_c_werror_flag" ||
41855 test ! -s conftest.err
41856 } && test -s conftest$ac_exeext &&
41857 $as_test_x conftest$ac_exeext; then
41858 echo "*** The test program compiled, but did not run. This usually means"
41859 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41860 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41861 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41862 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41863 echo "*** is required on your system"
41864 echo "***"
41865 echo "*** If you have an old version installed, it is best to remove it, although"
41866 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41867 else
41868 echo "$as_me: failed program was:" >&5
41869 sed 's/^/| /' conftest.$ac_ext >&5
41870
41871 echo "*** The test program failed to compile or link. See the file config.log for the"
41872 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41873 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41874 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41875 fi
41876
41877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41878 conftest$ac_exeext conftest.$ac_ext
41879 CFLAGS="$ac_save_CFLAGS"
41880 CXXFLAGS="$ac_save_CXXFLAGS"
41881 LIBS="$ac_save_LIBS"
41882 fi
41883 fi
41884 SDL_CFLAGS=""
41885 SDL_LIBS=""
41886 wxUSE_LIBSDL="no"
41887 fi
41888
41889
41890 rm -f conf.sdltest
41891
41892 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41893 WITH_PLUGIN_SDL=1
41894 fi
41895 fi
41896 else
41897 if test "$wxUSE_MGL" = 1; then
41898 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41899 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41900 wxUSE_SOUND="no"
41901 fi
41902 fi
41903 fi
41904
41905 if test "$wxUSE_SOUND" = "yes"; then
41906 cat >>confdefs.h <<\_ACEOF
41907 #define wxUSE_SOUND 1
41908 _ACEOF
41909
41910 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41911 fi
41912
41913 if test "$WXGTK2" = 1; then
41914
41915
41916 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41917 if test -n "$ac_tool_prefix"; then
41918 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41919 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41922 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41923 echo $ECHO_N "(cached) $ECHO_C" >&6
41924 else
41925 case $PKG_CONFIG in
41926 [\\/]* | ?:[\\/]*)
41927 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41928 ;;
41929 *)
41930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41931 for as_dir in $PATH
41932 do
41933 IFS=$as_save_IFS
41934 test -z "$as_dir" && as_dir=.
41935 for ac_exec_ext in '' $ac_executable_extensions; do
41936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41937 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41939 break 2
41940 fi
41941 done
41942 done
41943 IFS=$as_save_IFS
41944
41945 ;;
41946 esac
41947 fi
41948 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41949 if test -n "$PKG_CONFIG"; then
41950 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41951 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41952 else
41953 { echo "$as_me:$LINENO: result: no" >&5
41954 echo "${ECHO_T}no" >&6; }
41955 fi
41956
41957
41958 fi
41959 if test -z "$ac_cv_path_PKG_CONFIG"; then
41960 ac_pt_PKG_CONFIG=$PKG_CONFIG
41961 # Extract the first word of "pkg-config", so it can be a program name with args.
41962 set dummy pkg-config; ac_word=$2
41963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41965 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41966 echo $ECHO_N "(cached) $ECHO_C" >&6
41967 else
41968 case $ac_pt_PKG_CONFIG in
41969 [\\/]* | ?:[\\/]*)
41970 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41971 ;;
41972 *)
41973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41974 for as_dir in $PATH
41975 do
41976 IFS=$as_save_IFS
41977 test -z "$as_dir" && as_dir=.
41978 for ac_exec_ext in '' $ac_executable_extensions; do
41979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41980 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41982 break 2
41983 fi
41984 done
41985 done
41986 IFS=$as_save_IFS
41987
41988 ;;
41989 esac
41990 fi
41991 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41992 if test -n "$ac_pt_PKG_CONFIG"; then
41993 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41994 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41995 else
41996 { echo "$as_me:$LINENO: result: no" >&5
41997 echo "${ECHO_T}no" >&6; }
41998 fi
41999
42000 if test "x$ac_pt_PKG_CONFIG" = x; then
42001 PKG_CONFIG=""
42002 else
42003 case $cross_compiling:$ac_tool_warned in
42004 yes:)
42005 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42006 whose name does not start with the host triplet. If you think this
42007 configuration is useful to you, please write to autoconf@gnu.org." >&5
42008 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42009 whose name does not start with the host triplet. If you think this
42010 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42011 ac_tool_warned=yes ;;
42012 esac
42013 PKG_CONFIG=$ac_pt_PKG_CONFIG
42014 fi
42015 else
42016 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42017 fi
42018
42019 fi
42020 if test -n "$PKG_CONFIG"; then
42021 _pkg_min_version=0.9.0
42022 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42023 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42024 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42025 { echo "$as_me:$LINENO: result: yes" >&5
42026 echo "${ECHO_T}yes" >&6; }
42027 else
42028 { echo "$as_me:$LINENO: result: no" >&5
42029 echo "${ECHO_T}no" >&6; }
42030 PKG_CONFIG=""
42031 fi
42032
42033 fi
42034
42035 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42036
42037 if test "$wxUSE_GTKPRINT" = "yes" ; then
42038
42039
42040 pkg_failed=no
42041 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42042 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42043
42044 if test -n "$PKG_CONFIG"; then
42045 if test -n "$GTKPRINT_CFLAGS"; then
42046 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42047 else
42048 if test -n "$PKG_CONFIG" && \
42049 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42050 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42051 ac_status=$?
42052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); }; then
42054 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42055 else
42056 pkg_failed=yes
42057 fi
42058 fi
42059 else
42060 pkg_failed=untried
42061 fi
42062 if test -n "$PKG_CONFIG"; then
42063 if test -n "$GTKPRINT_LIBS"; then
42064 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42065 else
42066 if test -n "$PKG_CONFIG" && \
42067 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42068 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42069 ac_status=$?
42070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42071 (exit $ac_status); }; then
42072 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42073 else
42074 pkg_failed=yes
42075 fi
42076 fi
42077 else
42078 pkg_failed=untried
42079 fi
42080
42081
42082
42083 if test $pkg_failed = yes; then
42084
42085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42086 _pkg_short_errors_supported=yes
42087 else
42088 _pkg_short_errors_supported=no
42089 fi
42090 if test $_pkg_short_errors_supported = yes; then
42091 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42092 else
42093 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42094 fi
42095 # Put the nasty error message in config.log where it belongs
42096 echo "$GTKPRINT_PKG_ERRORS" >&5
42097
42098
42099 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42100 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42101 wxUSE_GTKPRINT="no"
42102
42103
42104 elif test $pkg_failed = untried; then
42105
42106 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42107 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42108 wxUSE_GTKPRINT="no"
42109
42110
42111 else
42112 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42113 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42114 { echo "$as_me:$LINENO: result: yes" >&5
42115 echo "${ECHO_T}yes" >&6; }
42116
42117 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42118 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42119 cat >>confdefs.h <<\_ACEOF
42120 #define wxUSE_GTKPRINT 1
42121 _ACEOF
42122
42123
42124 fi
42125 fi
42126
42127 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42128
42129
42130 pkg_failed=no
42131 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42132 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42133
42134 if test -n "$PKG_CONFIG"; then
42135 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42136 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42137 else
42138 if test -n "$PKG_CONFIG" && \
42139 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42140 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42141 ac_status=$?
42142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42143 (exit $ac_status); }; then
42144 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42145 else
42146 pkg_failed=yes
42147 fi
42148 fi
42149 else
42150 pkg_failed=untried
42151 fi
42152 if test -n "$PKG_CONFIG"; then
42153 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42154 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42155 else
42156 if test -n "$PKG_CONFIG" && \
42157 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42158 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42159 ac_status=$?
42160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42161 (exit $ac_status); }; then
42162 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42163 else
42164 pkg_failed=yes
42165 fi
42166 fi
42167 else
42168 pkg_failed=untried
42169 fi
42170
42171
42172
42173 if test $pkg_failed = yes; then
42174
42175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42176 _pkg_short_errors_supported=yes
42177 else
42178 _pkg_short_errors_supported=no
42179 fi
42180 if test $_pkg_short_errors_supported = yes; then
42181 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42182 else
42183 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42184 fi
42185 # Put the nasty error message in config.log where it belongs
42186 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42187
42188
42189 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42190 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42191 wxUSE_LIBGNOMEPRINT="no"
42192
42193
42194 elif test $pkg_failed = untried; then
42195
42196 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42197 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42198 wxUSE_LIBGNOMEPRINT="no"
42199
42200
42201 else
42202 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42203 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42204 { echo "$as_me:$LINENO: result: yes" >&5
42205 echo "${ECHO_T}yes" >&6; }
42206
42207 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42208 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42209 cat >>confdefs.h <<\_ACEOF
42210 #define wxUSE_LIBGNOMEPRINT 1
42211 _ACEOF
42212
42213
42214 fi
42215 fi
42216 fi
42217
42218 if test "$wxUSE_MIMETYPE" = "yes" ; then
42219 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42220
42221
42222 pkg_failed=no
42223 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42224 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42225
42226 if test -n "$PKG_CONFIG"; then
42227 if test -n "$GNOMEVFS_CFLAGS"; then
42228 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42229 else
42230 if test -n "$PKG_CONFIG" && \
42231 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42232 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42233 ac_status=$?
42234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42235 (exit $ac_status); }; then
42236 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42237 else
42238 pkg_failed=yes
42239 fi
42240 fi
42241 else
42242 pkg_failed=untried
42243 fi
42244 if test -n "$PKG_CONFIG"; then
42245 if test -n "$GNOMEVFS_LIBS"; then
42246 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42247 else
42248 if test -n "$PKG_CONFIG" && \
42249 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42250 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42251 ac_status=$?
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; then
42254 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42255 else
42256 pkg_failed=yes
42257 fi
42258 fi
42259 else
42260 pkg_failed=untried
42261 fi
42262
42263
42264
42265 if test $pkg_failed = yes; then
42266
42267 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42268 _pkg_short_errors_supported=yes
42269 else
42270 _pkg_short_errors_supported=no
42271 fi
42272 if test $_pkg_short_errors_supported = yes; then
42273 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42274 else
42275 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42276 fi
42277 # Put the nasty error message in config.log where it belongs
42278 echo "$GNOMEVFS_PKG_ERRORS" >&5
42279
42280
42281 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42282 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42283 wxUSE_LIBGNOMEVFS="no"
42284
42285
42286 elif test $pkg_failed = untried; then
42287
42288 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42289 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42290 wxUSE_LIBGNOMEVFS="no"
42291
42292
42293 else
42294 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42295 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42296 { echo "$as_me:$LINENO: result: yes" >&5
42297 echo "${ECHO_T}yes" >&6; }
42298
42299 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42300 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42301 cat >>confdefs.h <<\_ACEOF
42302 #define wxUSE_LIBGNOMEVFS 1
42303 _ACEOF
42304
42305
42306 fi
42307 fi
42308 fi
42309
42310 if test "$wxUSE_LIBHILDON" = "yes" ; then
42311
42312 pkg_failed=no
42313 { echo "$as_me:$LINENO: checking for HILDON" >&5
42314 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42315
42316 if test -n "$PKG_CONFIG"; then
42317 if test -n "$HILDON_CFLAGS"; then
42318 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42319 else
42320 if test -n "$PKG_CONFIG" && \
42321 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42322 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42323 ac_status=$?
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; then
42326 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42327 else
42328 pkg_failed=yes
42329 fi
42330 fi
42331 else
42332 pkg_failed=untried
42333 fi
42334 if test -n "$PKG_CONFIG"; then
42335 if test -n "$HILDON_LIBS"; then
42336 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42337 else
42338 if test -n "$PKG_CONFIG" && \
42339 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42340 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42341 ac_status=$?
42342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42343 (exit $ac_status); }; then
42344 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42345 else
42346 pkg_failed=yes
42347 fi
42348 fi
42349 else
42350 pkg_failed=untried
42351 fi
42352
42353
42354
42355 if test $pkg_failed = yes; then
42356
42357 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42358 _pkg_short_errors_supported=yes
42359 else
42360 _pkg_short_errors_supported=no
42361 fi
42362 if test $_pkg_short_errors_supported = yes; then
42363 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42364 else
42365 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42366 fi
42367 # Put the nasty error message in config.log where it belongs
42368 echo "$HILDON_PKG_ERRORS" >&5
42369
42370
42371 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42372 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42373 wxUSE_LIBHILDON="no"
42374
42375
42376 elif test $pkg_failed = untried; then
42377
42378 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42379 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42380 wxUSE_LIBHILDON="no"
42381
42382
42383 else
42384 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42385 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42386 { echo "$as_me:$LINENO: result: yes" >&5
42387 echo "${ECHO_T}yes" >&6; }
42388
42389 EXTRALIBS_HILDON="$HILDON_LIBS"
42390 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42391 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42392 cat >>confdefs.h <<\_ACEOF
42393 #define wxUSE_LIBHILDON 1
42394 _ACEOF
42395
42396
42397 fi
42398 fi
42399 fi
42400
42401 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42402 cat >>confdefs.h <<\_ACEOF
42403 #define wxUSE_CMDLINE_PARSER 1
42404 _ACEOF
42405
42406 fi
42407
42408 if test "$wxUSE_STOPWATCH" = "yes"; then
42409 cat >>confdefs.h <<\_ACEOF
42410 #define wxUSE_STOPWATCH 1
42411 _ACEOF
42412
42413 fi
42414
42415 if test "$wxUSE_DATETIME" = "yes"; then
42416 cat >>confdefs.h <<\_ACEOF
42417 #define wxUSE_DATETIME 1
42418 _ACEOF
42419
42420 fi
42421
42422 if test "$wxUSE_FILE" = "yes"; then
42423 cat >>confdefs.h <<\_ACEOF
42424 #define wxUSE_FILE 1
42425 _ACEOF
42426
42427 fi
42428
42429 if test "$wxUSE_FFILE" = "yes"; then
42430 cat >>confdefs.h <<\_ACEOF
42431 #define wxUSE_FFILE 1
42432 _ACEOF
42433
42434 fi
42435
42436 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42437 if test "$wxUSE_STREAMS" != yes; then
42438 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42439 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42440 wxUSE_ARCHIVE_STREAMS=no
42441 else
42442 cat >>confdefs.h <<\_ACEOF
42443 #define wxUSE_ARCHIVE_STREAMS 1
42444 _ACEOF
42445
42446 fi
42447 fi
42448
42449 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42450 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42451 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42452 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42453 elif test "$wxUSE_ZLIB" = "no"; then
42454 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42455 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42456 else
42457 cat >>confdefs.h <<\_ACEOF
42458 #define wxUSE_ZIPSTREAM 1
42459 _ACEOF
42460
42461 fi
42462 fi
42463
42464 if test "$wxUSE_TARSTREAM" = "yes"; then
42465 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42466 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42467 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42468 else
42469 cat >>confdefs.h <<\_ACEOF
42470 #define wxUSE_TARSTREAM 1
42471 _ACEOF
42472
42473 fi
42474 fi
42475
42476 if test "$wxUSE_FILESYSTEM" = "yes"; then
42477 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42478 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42479 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42480 wxUSE_FILESYSTEM=no
42481 else
42482 cat >>confdefs.h <<\_ACEOF
42483 #define wxUSE_FILESYSTEM 1
42484 _ACEOF
42485
42486 fi
42487 fi
42488
42489 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42490 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42491 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42492 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42493 else
42494 cat >>confdefs.h <<\_ACEOF
42495 #define wxUSE_FS_ARCHIVE 1
42496 _ACEOF
42497
42498 fi
42499 fi
42500
42501 if test "$wxUSE_FS_ZIP" = "yes"; then
42502 if test "$wxUSE_FS_ARCHIVE" != yes; then
42503 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42504 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42505 else
42506 cat >>confdefs.h <<\_ACEOF
42507 #define wxUSE_FS_ZIP 1
42508 _ACEOF
42509
42510 fi
42511 fi
42512
42513 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42514 if test "$USE_UNIX" != 1; then
42515 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42516 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42517 wxUSE_ON_FATAL_EXCEPTION=no
42518 else
42519 cat >>confdefs.h <<\_ACEOF
42520 #define wxUSE_ON_FATAL_EXCEPTION 1
42521 _ACEOF
42522
42523 fi
42524 fi
42525
42526 if test "$wxUSE_STACKWALKER" = "yes"; then
42527 cat >>confdefs.h <<\_ACEOF
42528 #define wxUSE_STACKWALKER 1
42529 _ACEOF
42530
42531 fi
42532
42533 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42534 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42535 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42536 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42537 wxUSE_DEBUGREPORT=no
42538 else
42539 cat >>confdefs.h <<\_ACEOF
42540 #define wxUSE_DEBUGREPORT 1
42541 _ACEOF
42542
42543 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42545 fi
42546 fi
42547 fi
42548
42549 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42550 cat >>confdefs.h <<\_ACEOF
42551 #define wxUSE_SNGLINST_CHECKER 1
42552 _ACEOF
42553
42554 fi
42555
42556 if test "$wxUSE_BUSYINFO" = "yes"; then
42557 cat >>confdefs.h <<\_ACEOF
42558 #define wxUSE_BUSYINFO 1
42559 _ACEOF
42560
42561 fi
42562
42563 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42564 cat >>confdefs.h <<\_ACEOF
42565 #define wxUSE_STD_IOSTREAM 1
42566 _ACEOF
42567
42568 fi
42569
42570 if test "$wxUSE_STD_STRING" = "yes"; then
42571 cat >>confdefs.h <<\_ACEOF
42572 #define wxUSE_STD_STRING 1
42573 _ACEOF
42574
42575 fi
42576
42577 if test "$wxUSE_STDPATHS" = "yes"; then
42578 cat >>confdefs.h <<\_ACEOF
42579 #define wxUSE_STDPATHS 1
42580 _ACEOF
42581
42582 fi
42583
42584 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42585 cat >>confdefs.h <<\_ACEOF
42586 #define wxUSE_TEXTBUFFER 1
42587 _ACEOF
42588
42589 fi
42590
42591 if test "$wxUSE_TEXTFILE" = "yes"; then
42592 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42593 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42594 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42595 else
42596 cat >>confdefs.h <<\_ACEOF
42597 #define wxUSE_TEXTFILE 1
42598 _ACEOF
42599
42600 fi
42601 fi
42602
42603 if test "$wxUSE_CONFIG" = "yes" ; then
42604 if test "$wxUSE_TEXTFILE" != "yes"; then
42605 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42606 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42607 else
42608 cat >>confdefs.h <<\_ACEOF
42609 #define wxUSE_CONFIG 1
42610 _ACEOF
42611
42612 cat >>confdefs.h <<\_ACEOF
42613 #define wxUSE_CONFIG_NATIVE 1
42614 _ACEOF
42615
42616 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42617 fi
42618 fi
42619
42620 if test "$wxUSE_INTL" = "yes" ; then
42621 if test "$wxUSE_FILE" != "yes"; then
42622 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42623 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42624 else
42625 cat >>confdefs.h <<\_ACEOF
42626 #define wxUSE_INTL 1
42627 _ACEOF
42628
42629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42630 GUIDIST="$GUIDIST INTL_DIST"
42631 fi
42632 fi
42633
42634 if test "$wxUSE_LOG" = "yes"; then
42635 cat >>confdefs.h <<\_ACEOF
42636 #define wxUSE_LOG 1
42637 _ACEOF
42638
42639
42640 if test "$wxUSE_LOGGUI" = "yes"; then
42641 cat >>confdefs.h <<\_ACEOF
42642 #define wxUSE_LOGGUI 1
42643 _ACEOF
42644
42645 fi
42646
42647 if test "$wxUSE_LOGWINDOW" = "yes"; then
42648 cat >>confdefs.h <<\_ACEOF
42649 #define wxUSE_LOGWINDOW 1
42650 _ACEOF
42651
42652 fi
42653
42654 if test "$wxUSE_LOGDIALOG" = "yes"; then
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_LOG_DIALOG 1
42657 _ACEOF
42658
42659 fi
42660
42661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42662 fi
42663
42664 if test "$wxUSE_LONGLONG" = "yes"; then
42665 cat >>confdefs.h <<\_ACEOF
42666 #define wxUSE_LONGLONG 1
42667 _ACEOF
42668
42669 fi
42670
42671 if test "$wxUSE_GEOMETRY" = "yes"; then
42672 cat >>confdefs.h <<\_ACEOF
42673 #define wxUSE_GEOMETRY 1
42674 _ACEOF
42675
42676 fi
42677
42678 if test "$wxUSE_BASE64" = "yes"; then
42679 cat >>confdefs.h <<\_ACEOF
42680 #define wxUSE_BASE64 1
42681 _ACEOF
42682
42683 fi
42684
42685 if test "$wxUSE_STREAMS" = "yes" ; then
42686 cat >>confdefs.h <<\_ACEOF
42687 #define wxUSE_STREAMS 1
42688 _ACEOF
42689
42690 fi
42691
42692 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42693 cat >>confdefs.h <<\_ACEOF
42694 #define wxUSE_PRINTF_POS_PARAMS 1
42695 _ACEOF
42696
42697 fi
42698
42699 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42700 cat >>confdefs.h <<\_ACEOF
42701 #define wxUSE_OBJC_UNIQUIFYING 1
42702 _ACEOF
42703
42704 fi
42705
42706
42707 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42708 cat >>confdefs.h <<\_ACEOF
42709 #define wxUSE_CONSOLE_EVENTLOOP 1
42710 _ACEOF
42711
42712
42713 if test "$wxUSE_UNIX" = "yes"; then
42714 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42715 cat >>confdefs.h <<\_ACEOF
42716 #define wxUSE_SELECT_DISPATCHER 1
42717 _ACEOF
42718
42719 fi
42720
42721 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42722
42723 for ac_header in sys/epoll.h
42724 do
42725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42729 echo $ECHO_N "(cached) $ECHO_C" >&6
42730 else
42731 cat >conftest.$ac_ext <<_ACEOF
42732 /* confdefs.h. */
42733 _ACEOF
42734 cat confdefs.h >>conftest.$ac_ext
42735 cat >>conftest.$ac_ext <<_ACEOF
42736 /* end confdefs.h. */
42737 $ac_includes_default
42738
42739 #include <$ac_header>
42740 _ACEOF
42741 rm -f conftest.$ac_objext
42742 if { (ac_try="$ac_compile"
42743 case "(($ac_try" in
42744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42745 *) ac_try_echo=$ac_try;;
42746 esac
42747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42748 (eval "$ac_compile") 2>conftest.er1
42749 ac_status=$?
42750 grep -v '^ *+' conftest.er1 >conftest.err
42751 rm -f conftest.er1
42752 cat conftest.err >&5
42753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42754 (exit $ac_status); } && {
42755 test -z "$ac_c_werror_flag" ||
42756 test ! -s conftest.err
42757 } && test -s conftest.$ac_objext; then
42758 eval "$as_ac_Header=yes"
42759 else
42760 echo "$as_me: failed program was:" >&5
42761 sed 's/^/| /' conftest.$ac_ext >&5
42762
42763 eval "$as_ac_Header=no"
42764 fi
42765
42766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42767 fi
42768 ac_res=`eval echo '${'$as_ac_Header'}'`
42769 { echo "$as_me:$LINENO: result: $ac_res" >&5
42770 echo "${ECHO_T}$ac_res" >&6; }
42771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42772 cat >>confdefs.h <<_ACEOF
42773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42774 _ACEOF
42775
42776 fi
42777
42778 done
42779
42780 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42781 cat >>confdefs.h <<\_ACEOF
42782 #define wxUSE_EPOLL_DISPATCHER 1
42783 _ACEOF
42784
42785 else
42786 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42787 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42788 fi
42789 fi
42790 fi
42791 fi
42792
42793
42794
42795
42796 for ac_func in gettimeofday ftime
42797 do
42798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42799 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42801 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42802 echo $ECHO_N "(cached) $ECHO_C" >&6
42803 else
42804 cat >conftest.$ac_ext <<_ACEOF
42805 /* confdefs.h. */
42806 _ACEOF
42807 cat confdefs.h >>conftest.$ac_ext
42808 cat >>conftest.$ac_ext <<_ACEOF
42809 /* end confdefs.h. */
42810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42812 #define $ac_func innocuous_$ac_func
42813
42814 /* System header to define __stub macros and hopefully few prototypes,
42815 which can conflict with char $ac_func (); below.
42816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42817 <limits.h> exists even on freestanding compilers. */
42818
42819 #ifdef __STDC__
42820 # include <limits.h>
42821 #else
42822 # include <assert.h>
42823 #endif
42824
42825 #undef $ac_func
42826
42827 /* Override any GCC internal prototype to avoid an error.
42828 Use char because int might match the return type of a GCC
42829 builtin and then its argument prototype would still apply. */
42830 #ifdef __cplusplus
42831 extern "C"
42832 #endif
42833 char $ac_func ();
42834 /* The GNU C library defines this for functions which it implements
42835 to always fail with ENOSYS. Some functions are actually named
42836 something starting with __ and the normal name is an alias. */
42837 #if defined __stub_$ac_func || defined __stub___$ac_func
42838 choke me
42839 #endif
42840
42841 int
42842 main ()
42843 {
42844 return $ac_func ();
42845 ;
42846 return 0;
42847 }
42848 _ACEOF
42849 rm -f conftest.$ac_objext conftest$ac_exeext
42850 if { (ac_try="$ac_link"
42851 case "(($ac_try" in
42852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42853 *) ac_try_echo=$ac_try;;
42854 esac
42855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42856 (eval "$ac_link") 2>conftest.er1
42857 ac_status=$?
42858 grep -v '^ *+' conftest.er1 >conftest.err
42859 rm -f conftest.er1
42860 cat conftest.err >&5
42861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42862 (exit $ac_status); } && {
42863 test -z "$ac_c_werror_flag" ||
42864 test ! -s conftest.err
42865 } && test -s conftest$ac_exeext &&
42866 $as_test_x conftest$ac_exeext; then
42867 eval "$as_ac_var=yes"
42868 else
42869 echo "$as_me: failed program was:" >&5
42870 sed 's/^/| /' conftest.$ac_ext >&5
42871
42872 eval "$as_ac_var=no"
42873 fi
42874
42875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42876 conftest$ac_exeext conftest.$ac_ext
42877 fi
42878 ac_res=`eval echo '${'$as_ac_var'}'`
42879 { echo "$as_me:$LINENO: result: $ac_res" >&5
42880 echo "${ECHO_T}$ac_res" >&6; }
42881 if test `eval echo '${'$as_ac_var'}'` = yes; then
42882 cat >>confdefs.h <<_ACEOF
42883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42884 _ACEOF
42885 break
42886 fi
42887 done
42888
42889
42890 if test "$ac_cv_func_gettimeofday" = "yes"; then
42891 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42892 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42893 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42894 echo $ECHO_N "(cached) $ECHO_C" >&6
42895 else
42896
42897 cat >conftest.$ac_ext <<_ACEOF
42898 /* confdefs.h. */
42899 _ACEOF
42900 cat confdefs.h >>conftest.$ac_ext
42901 cat >>conftest.$ac_ext <<_ACEOF
42902 /* end confdefs.h. */
42903
42904 #include <sys/time.h>
42905 #include <unistd.h>
42906
42907 int
42908 main ()
42909 {
42910
42911 struct timeval tv;
42912 gettimeofday(&tv, NULL);
42913
42914 ;
42915 return 0;
42916 }
42917 _ACEOF
42918 rm -f conftest.$ac_objext
42919 if { (ac_try="$ac_compile"
42920 case "(($ac_try" in
42921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42922 *) ac_try_echo=$ac_try;;
42923 esac
42924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42925 (eval "$ac_compile") 2>conftest.er1
42926 ac_status=$?
42927 grep -v '^ *+' conftest.er1 >conftest.err
42928 rm -f conftest.er1
42929 cat conftest.err >&5
42930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42931 (exit $ac_status); } && {
42932 test -z "$ac_c_werror_flag" ||
42933 test ! -s conftest.err
42934 } && test -s conftest.$ac_objext; then
42935 wx_cv_func_gettimeofday_has_2_args=yes
42936 else
42937 echo "$as_me: failed program was:" >&5
42938 sed 's/^/| /' conftest.$ac_ext >&5
42939
42940 cat >conftest.$ac_ext <<_ACEOF
42941 /* confdefs.h. */
42942 _ACEOF
42943 cat confdefs.h >>conftest.$ac_ext
42944 cat >>conftest.$ac_ext <<_ACEOF
42945 /* end confdefs.h. */
42946
42947 #include <sys/time.h>
42948 #include <unistd.h>
42949
42950 int
42951 main ()
42952 {
42953
42954 struct timeval tv;
42955 gettimeofday(&tv);
42956
42957 ;
42958 return 0;
42959 }
42960 _ACEOF
42961 rm -f conftest.$ac_objext
42962 if { (ac_try="$ac_compile"
42963 case "(($ac_try" in
42964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42965 *) ac_try_echo=$ac_try;;
42966 esac
42967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42968 (eval "$ac_compile") 2>conftest.er1
42969 ac_status=$?
42970 grep -v '^ *+' conftest.er1 >conftest.err
42971 rm -f conftest.er1
42972 cat conftest.err >&5
42973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42974 (exit $ac_status); } && {
42975 test -z "$ac_c_werror_flag" ||
42976 test ! -s conftest.err
42977 } && test -s conftest.$ac_objext; then
42978 wx_cv_func_gettimeofday_has_2_args=no
42979 else
42980 echo "$as_me: failed program was:" >&5
42981 sed 's/^/| /' conftest.$ac_ext >&5
42982
42983
42984 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42985 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42986 wx_cv_func_gettimeofday_has_2_args=unknown
42987
42988
42989 fi
42990
42991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42992
42993 fi
42994
42995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42996
42997 fi
42998 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42999 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43000
43001 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43002 cat >>confdefs.h <<\_ACEOF
43003 #define WX_GETTIMEOFDAY_NO_TZ 1
43004 _ACEOF
43005
43006 fi
43007 fi
43008
43009 if test "$wxUSE_DATETIME" = "yes"; then
43010 { echo "$as_me:$LINENO: checking for strptime" >&5
43011 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43012 if test "${ac_cv_func_strptime+set}" = set; then
43013 echo $ECHO_N "(cached) $ECHO_C" >&6
43014 else
43015 cat >conftest.$ac_ext <<_ACEOF
43016 /* confdefs.h. */
43017 _ACEOF
43018 cat confdefs.h >>conftest.$ac_ext
43019 cat >>conftest.$ac_ext <<_ACEOF
43020 /* end confdefs.h. */
43021 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43023 #define strptime innocuous_strptime
43024
43025 /* System header to define __stub macros and hopefully few prototypes,
43026 which can conflict with char strptime (); below.
43027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43028 <limits.h> exists even on freestanding compilers. */
43029
43030 #ifdef __STDC__
43031 # include <limits.h>
43032 #else
43033 # include <assert.h>
43034 #endif
43035
43036 #undef strptime
43037
43038 /* Override any GCC internal prototype to avoid an error.
43039 Use char because int might match the return type of a GCC
43040 builtin and then its argument prototype would still apply. */
43041 #ifdef __cplusplus
43042 extern "C"
43043 #endif
43044 char strptime ();
43045 /* The GNU C library defines this for functions which it implements
43046 to always fail with ENOSYS. Some functions are actually named
43047 something starting with __ and the normal name is an alias. */
43048 #if defined __stub_strptime || defined __stub___strptime
43049 choke me
43050 #endif
43051
43052 int
43053 main ()
43054 {
43055 return strptime ();
43056 ;
43057 return 0;
43058 }
43059 _ACEOF
43060 rm -f conftest.$ac_objext conftest$ac_exeext
43061 if { (ac_try="$ac_link"
43062 case "(($ac_try" in
43063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43064 *) ac_try_echo=$ac_try;;
43065 esac
43066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43067 (eval "$ac_link") 2>conftest.er1
43068 ac_status=$?
43069 grep -v '^ *+' conftest.er1 >conftest.err
43070 rm -f conftest.er1
43071 cat conftest.err >&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } && {
43074 test -z "$ac_c_werror_flag" ||
43075 test ! -s conftest.err
43076 } && test -s conftest$ac_exeext &&
43077 $as_test_x conftest$ac_exeext; then
43078 ac_cv_func_strptime=yes
43079 else
43080 echo "$as_me: failed program was:" >&5
43081 sed 's/^/| /' conftest.$ac_ext >&5
43082
43083 ac_cv_func_strptime=no
43084 fi
43085
43086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43087 conftest$ac_exeext conftest.$ac_ext
43088 fi
43089 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43090 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43091
43092 if test "$ac_cv_func_strptime" = "yes"; then
43093 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43094 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43095 if test "${wx_cv_func_strptime_decl+set}" = set; then
43096 echo $ECHO_N "(cached) $ECHO_C" >&6
43097 else
43098
43099 ac_ext=cpp
43100 ac_cpp='$CXXCPP $CPPFLAGS'
43101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43104
43105 cat >conftest.$ac_ext <<_ACEOF
43106 /* confdefs.h. */
43107 _ACEOF
43108 cat confdefs.h >>conftest.$ac_ext
43109 cat >>conftest.$ac_ext <<_ACEOF
43110 /* end confdefs.h. */
43111
43112 #include <time.h>
43113
43114 int
43115 main ()
43116 {
43117
43118 struct tm t;
43119 strptime("foo", "bar", &t);
43120
43121 ;
43122 return 0;
43123 }
43124 _ACEOF
43125 rm -f conftest.$ac_objext
43126 if { (ac_try="$ac_compile"
43127 case "(($ac_try" in
43128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43129 *) ac_try_echo=$ac_try;;
43130 esac
43131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43132 (eval "$ac_compile") 2>conftest.er1
43133 ac_status=$?
43134 grep -v '^ *+' conftest.er1 >conftest.err
43135 rm -f conftest.er1
43136 cat conftest.err >&5
43137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43138 (exit $ac_status); } && {
43139 test -z "$ac_cxx_werror_flag" ||
43140 test ! -s conftest.err
43141 } && test -s conftest.$ac_objext; then
43142 wx_cv_func_strptime_decl=yes
43143 else
43144 echo "$as_me: failed program was:" >&5
43145 sed 's/^/| /' conftest.$ac_ext >&5
43146
43147 wx_cv_func_strptime_decl=no
43148
43149 fi
43150
43151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43152 ac_ext=c
43153 ac_cpp='$CPP $CPPFLAGS'
43154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43157
43158
43159
43160 fi
43161 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43162 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43163 fi
43164 if test "$wx_cv_func_strptime_decl" = "yes"; then
43165 cat >>confdefs.h <<\_ACEOF
43166 #define HAVE_STRPTIME_DECL 1
43167 _ACEOF
43168
43169 else
43170 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43171 fi
43172 if test "$ac_cv_func_strptime" = "yes"; then
43173 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43174 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43175 if test "${wx_cv_func_strptime_ok+set}" = set; then
43176 echo $ECHO_N "(cached) $ECHO_C" >&6
43177 else
43178 if test "$cross_compiling" = yes; then
43179 wx_cv_func_strptime_ok=no
43180
43181 else
43182 cat >conftest.$ac_ext <<_ACEOF
43183
43184 #include <stdlib.h>
43185 #include <time.h>
43186 #include "confdefs.h"
43187
43188 $wx_strptime_decl
43189
43190 int main()
43191 {
43192 struct tm t;
43193 return !!strptime("", "%x", &t);
43194 }
43195
43196 _ACEOF
43197 rm -f conftest$ac_exeext
43198 if { (ac_try="$ac_link"
43199 case "(($ac_try" in
43200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43201 *) ac_try_echo=$ac_try;;
43202 esac
43203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43204 (eval "$ac_link") 2>&5
43205 ac_status=$?
43206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43207 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43208 { (case "(($ac_try" in
43209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43210 *) ac_try_echo=$ac_try;;
43211 esac
43212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43213 (eval "$ac_try") 2>&5
43214 ac_status=$?
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); }; }; then
43217 wx_cv_func_strptime_ok=yes
43218 else
43219 echo "$as_me: program exited with status $ac_status" >&5
43220 echo "$as_me: failed program was:" >&5
43221 sed 's/^/| /' conftest.$ac_ext >&5
43222
43223 ( exit $ac_status )
43224 wx_cv_func_strptime_ok=no
43225 fi
43226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43227 fi
43228
43229
43230
43231 fi
43232 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43233 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43234
43235 if test "$wx_cv_func_strptime_ok" = "yes"; then
43236 cat >>confdefs.h <<\_ACEOF
43237 #define HAVE_STRPTIME 1
43238 _ACEOF
43239
43240 fi
43241 fi
43242
43243 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43244 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43245 if test "${wx_cv_var_timezone+set}" = set; then
43246 echo $ECHO_N "(cached) $ECHO_C" >&6
43247 else
43248
43249 ac_ext=cpp
43250 ac_cpp='$CXXCPP $CPPFLAGS'
43251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43254
43255 cat >conftest.$ac_ext <<_ACEOF
43256 /* confdefs.h. */
43257 _ACEOF
43258 cat confdefs.h >>conftest.$ac_ext
43259 cat >>conftest.$ac_ext <<_ACEOF
43260 /* end confdefs.h. */
43261
43262 #include <time.h>
43263
43264 int
43265 main ()
43266 {
43267
43268 int tz;
43269 tz = timezone;
43270
43271 ;
43272 return 0;
43273 }
43274 _ACEOF
43275 rm -f conftest.$ac_objext
43276 if { (ac_try="$ac_compile"
43277 case "(($ac_try" in
43278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43279 *) ac_try_echo=$ac_try;;
43280 esac
43281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43282 (eval "$ac_compile") 2>conftest.er1
43283 ac_status=$?
43284 grep -v '^ *+' conftest.er1 >conftest.err
43285 rm -f conftest.er1
43286 cat conftest.err >&5
43287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288 (exit $ac_status); } && {
43289 test -z "$ac_cxx_werror_flag" ||
43290 test ! -s conftest.err
43291 } && test -s conftest.$ac_objext; then
43292
43293 wx_cv_var_timezone=timezone
43294
43295 else
43296 echo "$as_me: failed program was:" >&5
43297 sed 's/^/| /' conftest.$ac_ext >&5
43298
43299
43300 cat >conftest.$ac_ext <<_ACEOF
43301 /* confdefs.h. */
43302 _ACEOF
43303 cat confdefs.h >>conftest.$ac_ext
43304 cat >>conftest.$ac_ext <<_ACEOF
43305 /* end confdefs.h. */
43306
43307 #include <time.h>
43308
43309 int
43310 main ()
43311 {
43312
43313 int tz;
43314 tz = _timezone;
43315
43316 ;
43317 return 0;
43318 }
43319 _ACEOF
43320 rm -f conftest.$ac_objext
43321 if { (ac_try="$ac_compile"
43322 case "(($ac_try" in
43323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43324 *) ac_try_echo=$ac_try;;
43325 esac
43326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43327 (eval "$ac_compile") 2>conftest.er1
43328 ac_status=$?
43329 grep -v '^ *+' conftest.er1 >conftest.err
43330 rm -f conftest.er1
43331 cat conftest.err >&5
43332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43333 (exit $ac_status); } && {
43334 test -z "$ac_cxx_werror_flag" ||
43335 test ! -s conftest.err
43336 } && test -s conftest.$ac_objext; then
43337
43338 wx_cv_var_timezone=_timezone
43339
43340 else
43341 echo "$as_me: failed program was:" >&5
43342 sed 's/^/| /' conftest.$ac_ext >&5
43343
43344
43345 cat >conftest.$ac_ext <<_ACEOF
43346 /* confdefs.h. */
43347 _ACEOF
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43351
43352 #include <time.h>
43353
43354 int
43355 main ()
43356 {
43357
43358 int tz;
43359 tz = __timezone;
43360
43361 ;
43362 return 0;
43363 }
43364 _ACEOF
43365 rm -f conftest.$ac_objext
43366 if { (ac_try="$ac_compile"
43367 case "(($ac_try" in
43368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43369 *) ac_try_echo=$ac_try;;
43370 esac
43371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43372 (eval "$ac_compile") 2>conftest.er1
43373 ac_status=$?
43374 grep -v '^ *+' conftest.er1 >conftest.err
43375 rm -f conftest.er1
43376 cat conftest.err >&5
43377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378 (exit $ac_status); } && {
43379 test -z "$ac_cxx_werror_flag" ||
43380 test ! -s conftest.err
43381 } && test -s conftest.$ac_objext; then
43382
43383 wx_cv_var_timezone=__timezone
43384
43385 else
43386 echo "$as_me: failed program was:" >&5
43387 sed 's/^/| /' conftest.$ac_ext >&5
43388
43389
43390 if test "$USE_DOS" = 0 ; then
43391 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43392 echo "$as_me: WARNING: no timezone variable" >&2;}
43393 fi
43394
43395
43396 fi
43397
43398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43399
43400
43401 fi
43402
43403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43404
43405
43406 fi
43407
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409 ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414
43415
43416
43417 fi
43418 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43419 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43420
43421 if test "x$wx_cv_var_timezone" != x ; then
43422 cat >>confdefs.h <<_ACEOF
43423 #define WX_TIMEZONE $wx_cv_var_timezone
43424 _ACEOF
43425
43426 fi
43427
43428
43429 for ac_func in localtime
43430 do
43431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43435 echo $ECHO_N "(cached) $ECHO_C" >&6
43436 else
43437 cat >conftest.$ac_ext <<_ACEOF
43438 /* confdefs.h. */
43439 _ACEOF
43440 cat confdefs.h >>conftest.$ac_ext
43441 cat >>conftest.$ac_ext <<_ACEOF
43442 /* end confdefs.h. */
43443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43445 #define $ac_func innocuous_$ac_func
43446
43447 /* System header to define __stub macros and hopefully few prototypes,
43448 which can conflict with char $ac_func (); below.
43449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43450 <limits.h> exists even on freestanding compilers. */
43451
43452 #ifdef __STDC__
43453 # include <limits.h>
43454 #else
43455 # include <assert.h>
43456 #endif
43457
43458 #undef $ac_func
43459
43460 /* Override any GCC internal prototype to avoid an error.
43461 Use char because int might match the return type of a GCC
43462 builtin and then its argument prototype would still apply. */
43463 #ifdef __cplusplus
43464 extern "C"
43465 #endif
43466 char $ac_func ();
43467 /* The GNU C library defines this for functions which it implements
43468 to always fail with ENOSYS. Some functions are actually named
43469 something starting with __ and the normal name is an alias. */
43470 #if defined __stub_$ac_func || defined __stub___$ac_func
43471 choke me
43472 #endif
43473
43474 int
43475 main ()
43476 {
43477 return $ac_func ();
43478 ;
43479 return 0;
43480 }
43481 _ACEOF
43482 rm -f conftest.$ac_objext conftest$ac_exeext
43483 if { (ac_try="$ac_link"
43484 case "(($ac_try" in
43485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43486 *) ac_try_echo=$ac_try;;
43487 esac
43488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43489 (eval "$ac_link") 2>conftest.er1
43490 ac_status=$?
43491 grep -v '^ *+' conftest.er1 >conftest.err
43492 rm -f conftest.er1
43493 cat conftest.err >&5
43494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43495 (exit $ac_status); } && {
43496 test -z "$ac_c_werror_flag" ||
43497 test ! -s conftest.err
43498 } && test -s conftest$ac_exeext &&
43499 $as_test_x conftest$ac_exeext; then
43500 eval "$as_ac_var=yes"
43501 else
43502 echo "$as_me: failed program was:" >&5
43503 sed 's/^/| /' conftest.$ac_ext >&5
43504
43505 eval "$as_ac_var=no"
43506 fi
43507
43508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43509 conftest$ac_exeext conftest.$ac_ext
43510 fi
43511 ac_res=`eval echo '${'$as_ac_var'}'`
43512 { echo "$as_me:$LINENO: result: $ac_res" >&5
43513 echo "${ECHO_T}$ac_res" >&6; }
43514 if test `eval echo '${'$as_ac_var'}'` = yes; then
43515 cat >>confdefs.h <<_ACEOF
43516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43517 _ACEOF
43518
43519 fi
43520 done
43521
43522
43523 if test "$ac_cv_func_localtime" = "yes"; then
43524 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43525 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43526 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43527 echo $ECHO_N "(cached) $ECHO_C" >&6
43528 else
43529
43530 cat >conftest.$ac_ext <<_ACEOF
43531 /* confdefs.h. */
43532 _ACEOF
43533 cat confdefs.h >>conftest.$ac_ext
43534 cat >>conftest.$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43536
43537 #include <time.h>
43538
43539 int
43540 main ()
43541 {
43542
43543 struct tm tm;
43544 tm.tm_gmtoff++;
43545
43546 ;
43547 return 0;
43548 }
43549 _ACEOF
43550 rm -f conftest.$ac_objext
43551 if { (ac_try="$ac_compile"
43552 case "(($ac_try" in
43553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43554 *) ac_try_echo=$ac_try;;
43555 esac
43556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43557 (eval "$ac_compile") 2>conftest.er1
43558 ac_status=$?
43559 grep -v '^ *+' conftest.er1 >conftest.err
43560 rm -f conftest.er1
43561 cat conftest.err >&5
43562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43563 (exit $ac_status); } && {
43564 test -z "$ac_c_werror_flag" ||
43565 test ! -s conftest.err
43566 } && test -s conftest.$ac_objext; then
43567
43568 wx_cv_struct_tm_has_gmtoff=yes
43569
43570 else
43571 echo "$as_me: failed program was:" >&5
43572 sed 's/^/| /' conftest.$ac_ext >&5
43573
43574 wx_cv_struct_tm_has_gmtoff=no
43575
43576 fi
43577
43578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43579
43580 fi
43581 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43582 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43583 fi
43584
43585 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43586 cat >>confdefs.h <<\_ACEOF
43587 #define WX_GMTOFF_IN_TM 1
43588 _ACEOF
43589
43590 fi
43591
43592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43593 fi
43594
43595
43596 if test "$wxUSE_SOCKETS" = "yes"; then
43597 if test "$wxUSE_MGL" = 1; then
43598 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43599 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43600 wxUSE_SOCKETS="no"
43601 fi
43602 fi
43603
43604 if test "$wxUSE_SOCKETS" = "yes"; then
43605 if test "$TOOLKIT" != "MSW"; then
43606 { echo "$as_me:$LINENO: checking for socket" >&5
43607 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43608 if test "${ac_cv_func_socket+set}" = set; then
43609 echo $ECHO_N "(cached) $ECHO_C" >&6
43610 else
43611 cat >conftest.$ac_ext <<_ACEOF
43612 /* confdefs.h. */
43613 _ACEOF
43614 cat confdefs.h >>conftest.$ac_ext
43615 cat >>conftest.$ac_ext <<_ACEOF
43616 /* end confdefs.h. */
43617 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43619 #define socket innocuous_socket
43620
43621 /* System header to define __stub macros and hopefully few prototypes,
43622 which can conflict with char socket (); below.
43623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43624 <limits.h> exists even on freestanding compilers. */
43625
43626 #ifdef __STDC__
43627 # include <limits.h>
43628 #else
43629 # include <assert.h>
43630 #endif
43631
43632 #undef socket
43633
43634 /* Override any GCC internal prototype to avoid an error.
43635 Use char because int might match the return type of a GCC
43636 builtin and then its argument prototype would still apply. */
43637 #ifdef __cplusplus
43638 extern "C"
43639 #endif
43640 char socket ();
43641 /* The GNU C library defines this for functions which it implements
43642 to always fail with ENOSYS. Some functions are actually named
43643 something starting with __ and the normal name is an alias. */
43644 #if defined __stub_socket || defined __stub___socket
43645 choke me
43646 #endif
43647
43648 int
43649 main ()
43650 {
43651 return socket ();
43652 ;
43653 return 0;
43654 }
43655 _ACEOF
43656 rm -f conftest.$ac_objext conftest$ac_exeext
43657 if { (ac_try="$ac_link"
43658 case "(($ac_try" in
43659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43660 *) ac_try_echo=$ac_try;;
43661 esac
43662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43663 (eval "$ac_link") 2>conftest.er1
43664 ac_status=$?
43665 grep -v '^ *+' conftest.er1 >conftest.err
43666 rm -f conftest.er1
43667 cat conftest.err >&5
43668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43669 (exit $ac_status); } && {
43670 test -z "$ac_c_werror_flag" ||
43671 test ! -s conftest.err
43672 } && test -s conftest$ac_exeext &&
43673 $as_test_x conftest$ac_exeext; then
43674 ac_cv_func_socket=yes
43675 else
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43678
43679 ac_cv_func_socket=no
43680 fi
43681
43682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43683 conftest$ac_exeext conftest.$ac_ext
43684 fi
43685 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43686 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43687 if test $ac_cv_func_socket = yes; then
43688 :
43689 else
43690
43691 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43692 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43693 if test "${ac_cv_lib_socket_socket+set}" = set; then
43694 echo $ECHO_N "(cached) $ECHO_C" >&6
43695 else
43696 ac_check_lib_save_LIBS=$LIBS
43697 LIBS="-lsocket $LIBS"
43698 cat >conftest.$ac_ext <<_ACEOF
43699 /* confdefs.h. */
43700 _ACEOF
43701 cat confdefs.h >>conftest.$ac_ext
43702 cat >>conftest.$ac_ext <<_ACEOF
43703 /* end confdefs.h. */
43704
43705 /* Override any GCC internal prototype to avoid an error.
43706 Use char because int might match the return type of a GCC
43707 builtin and then its argument prototype would still apply. */
43708 #ifdef __cplusplus
43709 extern "C"
43710 #endif
43711 char socket ();
43712 int
43713 main ()
43714 {
43715 return socket ();
43716 ;
43717 return 0;
43718 }
43719 _ACEOF
43720 rm -f conftest.$ac_objext conftest$ac_exeext
43721 if { (ac_try="$ac_link"
43722 case "(($ac_try" in
43723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43724 *) ac_try_echo=$ac_try;;
43725 esac
43726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43727 (eval "$ac_link") 2>conftest.er1
43728 ac_status=$?
43729 grep -v '^ *+' conftest.er1 >conftest.err
43730 rm -f conftest.er1
43731 cat conftest.err >&5
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); } && {
43734 test -z "$ac_c_werror_flag" ||
43735 test ! -s conftest.err
43736 } && test -s conftest$ac_exeext &&
43737 $as_test_x conftest$ac_exeext; then
43738 ac_cv_lib_socket_socket=yes
43739 else
43740 echo "$as_me: failed program was:" >&5
43741 sed 's/^/| /' conftest.$ac_ext >&5
43742
43743 ac_cv_lib_socket_socket=no
43744 fi
43745
43746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43747 conftest$ac_exeext conftest.$ac_ext
43748 LIBS=$ac_check_lib_save_LIBS
43749 fi
43750 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43751 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43752 if test $ac_cv_lib_socket_socket = yes; then
43753 if test "$INET_LINK" != " -lsocket"; then
43754 INET_LINK="$INET_LINK -lsocket"
43755 fi
43756 else
43757
43758 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43759 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43760 wxUSE_SOCKETS=no
43761
43762
43763 fi
43764
43765
43766
43767 fi
43768
43769 fi
43770 fi
43771
43772 if test "$wxUSE_SOCKETS" = "yes" ; then
43773 if test "$TOOLKIT" != "MSW"; then
43774 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43775 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43776 if test "${wx_cv_type_getsockname3+set}" = set; then
43777 echo $ECHO_N "(cached) $ECHO_C" >&6
43778 else
43779
43780 ac_ext=cpp
43781 ac_cpp='$CXXCPP $CPPFLAGS'
43782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43785
43786 cat >conftest.$ac_ext <<_ACEOF
43787 /* confdefs.h. */
43788 _ACEOF
43789 cat confdefs.h >>conftest.$ac_ext
43790 cat >>conftest.$ac_ext <<_ACEOF
43791 /* end confdefs.h. */
43792
43793 #include <sys/types.h>
43794 #include <sys/socket.h>
43795
43796 int
43797 main ()
43798 {
43799
43800 socklen_t len;
43801 getsockname(0, 0, &len);
43802
43803 ;
43804 return 0;
43805 }
43806 _ACEOF
43807 rm -f conftest.$ac_objext
43808 if { (ac_try="$ac_compile"
43809 case "(($ac_try" in
43810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43811 *) ac_try_echo=$ac_try;;
43812 esac
43813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43814 (eval "$ac_compile") 2>conftest.er1
43815 ac_status=$?
43816 grep -v '^ *+' conftest.er1 >conftest.err
43817 rm -f conftest.er1
43818 cat conftest.err >&5
43819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43820 (exit $ac_status); } && {
43821 test -z "$ac_cxx_werror_flag" ||
43822 test ! -s conftest.err
43823 } && test -s conftest.$ac_objext; then
43824 wx_cv_type_getsockname3=socklen_t
43825 else
43826 echo "$as_me: failed program was:" >&5
43827 sed 's/^/| /' conftest.$ac_ext >&5
43828
43829
43830 CFLAGS_OLD="$CFLAGS"
43831 if test "$GCC" = yes ; then
43832 CFLAGS="-Werror $CFLAGS"
43833 fi
43834
43835 cat >conftest.$ac_ext <<_ACEOF
43836 /* confdefs.h. */
43837 _ACEOF
43838 cat confdefs.h >>conftest.$ac_ext
43839 cat >>conftest.$ac_ext <<_ACEOF
43840 /* end confdefs.h. */
43841
43842 #include <sys/types.h>
43843 #include <sys/socket.h>
43844
43845 int
43846 main ()
43847 {
43848
43849 size_t len;
43850 getsockname(0, 0, &len);
43851
43852 ;
43853 return 0;
43854 }
43855 _ACEOF
43856 rm -f conftest.$ac_objext
43857 if { (ac_try="$ac_compile"
43858 case "(($ac_try" in
43859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43860 *) ac_try_echo=$ac_try;;
43861 esac
43862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43863 (eval "$ac_compile") 2>conftest.er1
43864 ac_status=$?
43865 grep -v '^ *+' conftest.er1 >conftest.err
43866 rm -f conftest.er1
43867 cat conftest.err >&5
43868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43869 (exit $ac_status); } && {
43870 test -z "$ac_cxx_werror_flag" ||
43871 test ! -s conftest.err
43872 } && test -s conftest.$ac_objext; then
43873 wx_cv_type_getsockname3=size_t
43874 else
43875 echo "$as_me: failed program was:" >&5
43876 sed 's/^/| /' conftest.$ac_ext >&5
43877
43878 cat >conftest.$ac_ext <<_ACEOF
43879 /* confdefs.h. */
43880 _ACEOF
43881 cat confdefs.h >>conftest.$ac_ext
43882 cat >>conftest.$ac_ext <<_ACEOF
43883 /* end confdefs.h. */
43884
43885 #include <sys/types.h>
43886 #include <sys/socket.h>
43887
43888 int
43889 main ()
43890 {
43891
43892 int len;
43893 getsockname(0, 0, &len);
43894
43895 ;
43896 return 0;
43897 }
43898 _ACEOF
43899 rm -f conftest.$ac_objext
43900 if { (ac_try="$ac_compile"
43901 case "(($ac_try" in
43902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43903 *) ac_try_echo=$ac_try;;
43904 esac
43905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43906 (eval "$ac_compile") 2>conftest.er1
43907 ac_status=$?
43908 grep -v '^ *+' conftest.er1 >conftest.err
43909 rm -f conftest.er1
43910 cat conftest.err >&5
43911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43912 (exit $ac_status); } && {
43913 test -z "$ac_cxx_werror_flag" ||
43914 test ! -s conftest.err
43915 } && test -s conftest.$ac_objext; then
43916 wx_cv_type_getsockname3=int
43917 else
43918 echo "$as_me: failed program was:" >&5
43919 sed 's/^/| /' conftest.$ac_ext >&5
43920
43921 wx_cv_type_getsockname3=unknown
43922
43923 fi
43924
43925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43926
43927 fi
43928
43929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43930
43931 CFLAGS="$CFLAGS_OLD"
43932
43933
43934 fi
43935
43936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43937 ac_ext=c
43938 ac_cpp='$CPP $CPPFLAGS'
43939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43942
43943
43944 fi
43945 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43946 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43947
43948 if test "$wx_cv_type_getsockname3" = "unknown"; then
43949 wxUSE_SOCKETS=no
43950 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43951 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43952 else
43953 cat >>confdefs.h <<_ACEOF
43954 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43955 _ACEOF
43956
43957 fi
43958 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43959 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43960 if test "${wx_cv_type_getsockopt5+set}" = set; then
43961 echo $ECHO_N "(cached) $ECHO_C" >&6
43962 else
43963
43964 ac_ext=cpp
43965 ac_cpp='$CXXCPP $CPPFLAGS'
43966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43969
43970 cat >conftest.$ac_ext <<_ACEOF
43971 /* confdefs.h. */
43972 _ACEOF
43973 cat confdefs.h >>conftest.$ac_ext
43974 cat >>conftest.$ac_ext <<_ACEOF
43975 /* end confdefs.h. */
43976
43977 #include <sys/types.h>
43978 #include <sys/socket.h>
43979
43980 int
43981 main ()
43982 {
43983
43984 socklen_t len;
43985 getsockopt(0, 0, 0, 0, &len);
43986
43987 ;
43988 return 0;
43989 }
43990 _ACEOF
43991 rm -f conftest.$ac_objext
43992 if { (ac_try="$ac_compile"
43993 case "(($ac_try" in
43994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43995 *) ac_try_echo=$ac_try;;
43996 esac
43997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43998 (eval "$ac_compile") 2>conftest.er1
43999 ac_status=$?
44000 grep -v '^ *+' conftest.er1 >conftest.err
44001 rm -f conftest.er1
44002 cat conftest.err >&5
44003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44004 (exit $ac_status); } && {
44005 test -z "$ac_cxx_werror_flag" ||
44006 test ! -s conftest.err
44007 } && test -s conftest.$ac_objext; then
44008 wx_cv_type_getsockopt5=socklen_t
44009 else
44010 echo "$as_me: failed program was:" >&5
44011 sed 's/^/| /' conftest.$ac_ext >&5
44012
44013
44014 cat >conftest.$ac_ext <<_ACEOF
44015 /* confdefs.h. */
44016 _ACEOF
44017 cat confdefs.h >>conftest.$ac_ext
44018 cat >>conftest.$ac_ext <<_ACEOF
44019 /* end confdefs.h. */
44020
44021 #include <sys/types.h>
44022 #include <sys/socket.h>
44023
44024 int
44025 main ()
44026 {
44027
44028 size_t len;
44029 getsockopt(0, 0, 0, 0, &len);
44030
44031 ;
44032 return 0;
44033 }
44034 _ACEOF
44035 rm -f conftest.$ac_objext
44036 if { (ac_try="$ac_compile"
44037 case "(($ac_try" in
44038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44039 *) ac_try_echo=$ac_try;;
44040 esac
44041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44042 (eval "$ac_compile") 2>conftest.er1
44043 ac_status=$?
44044 grep -v '^ *+' conftest.er1 >conftest.err
44045 rm -f conftest.er1
44046 cat conftest.err >&5
44047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44048 (exit $ac_status); } && {
44049 test -z "$ac_cxx_werror_flag" ||
44050 test ! -s conftest.err
44051 } && test -s conftest.$ac_objext; then
44052 wx_cv_type_getsockopt5=size_t
44053 else
44054 echo "$as_me: failed program was:" >&5
44055 sed 's/^/| /' conftest.$ac_ext >&5
44056
44057 cat >conftest.$ac_ext <<_ACEOF
44058 /* confdefs.h. */
44059 _ACEOF
44060 cat confdefs.h >>conftest.$ac_ext
44061 cat >>conftest.$ac_ext <<_ACEOF
44062 /* end confdefs.h. */
44063
44064 #include <sys/types.h>
44065 #include <sys/socket.h>
44066
44067 int
44068 main ()
44069 {
44070
44071 int len;
44072 getsockopt(0, 0, 0, 0, &len);
44073
44074 ;
44075 return 0;
44076 }
44077 _ACEOF
44078 rm -f conftest.$ac_objext
44079 if { (ac_try="$ac_compile"
44080 case "(($ac_try" in
44081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44082 *) ac_try_echo=$ac_try;;
44083 esac
44084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44085 (eval "$ac_compile") 2>conftest.er1
44086 ac_status=$?
44087 grep -v '^ *+' conftest.er1 >conftest.err
44088 rm -f conftest.er1
44089 cat conftest.err >&5
44090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44091 (exit $ac_status); } && {
44092 test -z "$ac_cxx_werror_flag" ||
44093 test ! -s conftest.err
44094 } && test -s conftest.$ac_objext; then
44095 wx_cv_type_getsockopt5=int
44096 else
44097 echo "$as_me: failed program was:" >&5
44098 sed 's/^/| /' conftest.$ac_ext >&5
44099
44100 wx_cv_type_getsockopt5=unknown
44101
44102 fi
44103
44104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44105
44106 fi
44107
44108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44109
44110
44111 fi
44112
44113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44114 ac_ext=c
44115 ac_cpp='$CPP $CPPFLAGS'
44116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44119
44120
44121 fi
44122 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44123 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44124
44125 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44126 wxUSE_SOCKETS=no
44127 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44128 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44129 else
44130 cat >>confdefs.h <<_ACEOF
44131 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44132 _ACEOF
44133
44134 fi
44135 fi
44136 fi
44137
44138 if test "$wxUSE_SOCKETS" = "yes" ; then
44139 if test "$wxUSE_IPV6" = "yes"; then
44140 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44141 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44142 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44143 echo $ECHO_N "(cached) $ECHO_C" >&6
44144 else
44145
44146 cat >conftest.$ac_ext <<_ACEOF
44147 /* confdefs.h. */
44148 _ACEOF
44149 cat confdefs.h >>conftest.$ac_ext
44150 cat >>conftest.$ac_ext <<_ACEOF
44151 /* end confdefs.h. */
44152
44153 #include <sys/types.h>
44154 #include <sys/socket.h>
44155 #include <netinet/in.h>
44156
44157 int
44158 main ()
44159 {
44160
44161 struct sockaddr_in6 sa6;
44162
44163 ;
44164 return 0;
44165 }
44166 _ACEOF
44167 rm -f conftest.$ac_objext
44168 if { (ac_try="$ac_compile"
44169 case "(($ac_try" in
44170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44171 *) ac_try_echo=$ac_try;;
44172 esac
44173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44174 (eval "$ac_compile") 2>conftest.er1
44175 ac_status=$?
44176 grep -v '^ *+' conftest.er1 >conftest.err
44177 rm -f conftest.er1
44178 cat conftest.err >&5
44179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44180 (exit $ac_status); } && {
44181 test -z "$ac_c_werror_flag" ||
44182 test ! -s conftest.err
44183 } && test -s conftest.$ac_objext; then
44184 wx_cv_type_sockaddr_in6=yes
44185 else
44186 echo "$as_me: failed program was:" >&5
44187 sed 's/^/| /' conftest.$ac_ext >&5
44188
44189 wx_cv_type_sockaddr_in6=no
44190
44191 fi
44192
44193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44194
44195
44196 fi
44197 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44198 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44199
44200 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44201 cat >>confdefs.h <<\_ACEOF
44202 #define wxUSE_IPV6 1
44203 _ACEOF
44204
44205 else
44206 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44207 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44208 fi
44209 fi
44210
44211 cat >>confdefs.h <<\_ACEOF
44212 #define wxUSE_SOCKETS 1
44213 _ACEOF
44214
44215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44216 fi
44217
44218 if test "$wxUSE_PROTOCOL" = "yes"; then
44219 if test "$wxUSE_SOCKETS" != "yes"; then
44220 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44221 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44222 wxUSE_PROTOCOL=no
44223 fi
44224 fi
44225
44226 if test "$wxUSE_PROTOCOL" = "yes"; then
44227 cat >>confdefs.h <<\_ACEOF
44228 #define wxUSE_PROTOCOL 1
44229 _ACEOF
44230
44231
44232 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_PROTOCOL_HTTP 1
44235 _ACEOF
44236
44237 fi
44238 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44239 cat >>confdefs.h <<\_ACEOF
44240 #define wxUSE_PROTOCOL_FTP 1
44241 _ACEOF
44242
44243 fi
44244 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44245 cat >>confdefs.h <<\_ACEOF
44246 #define wxUSE_PROTOCOL_FILE 1
44247 _ACEOF
44248
44249 fi
44250 else
44251 if test "$wxUSE_FS_INET" = "yes"; then
44252 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44253 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44254 wxUSE_FS_INET="no"
44255 fi
44256 fi
44257
44258 if test "$wxUSE_URL" = "yes"; then
44259 if test "$wxUSE_PROTOCOL" != "yes"; then
44260 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44261 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44262 wxUSE_URL=no
44263 fi
44264 if test "$wxUSE_URL" = "yes"; then
44265 cat >>confdefs.h <<\_ACEOF
44266 #define wxUSE_URL 1
44267 _ACEOF
44268
44269 fi
44270 fi
44271
44272 if test "$wxUSE_VARIANT" = "yes"; then
44273 cat >>confdefs.h <<\_ACEOF
44274 #define wxUSE_VARIANT 1
44275 _ACEOF
44276
44277 fi
44278
44279 if test "$wxUSE_FS_INET" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_FS_INET 1
44282 _ACEOF
44283
44284 fi
44285
44286
44287 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44288 wxUSE_JOYSTICK=no
44289
44290 if test "$TOOLKIT" = "MSW"; then
44291 wxUSE_JOYSTICK=yes
44292
44293 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44294 if test "$USE_DARWIN" = 1; then
44295 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44296 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44297 ac_ext=cpp
44298 ac_cpp='$CXXCPP $CPPFLAGS'
44299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44302
44303 cat >conftest.$ac_ext <<_ACEOF
44304 /* confdefs.h. */
44305 _ACEOF
44306 cat confdefs.h >>conftest.$ac_ext
44307 cat >>conftest.$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44309 #include <IOKit/hid/IOHIDLib.h>
44310 int
44311 main ()
44312 {
44313 IOHIDQueueInterface *qi = NULL;
44314 IOHIDCallbackFunction cb = NULL;
44315 qi->setEventCallout(NULL, cb, NULL, NULL);
44316 ;
44317 return 0;
44318 }
44319 _ACEOF
44320 rm -f conftest.$ac_objext
44321 if { (ac_try="$ac_compile"
44322 case "(($ac_try" in
44323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44324 *) ac_try_echo=$ac_try;;
44325 esac
44326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44327 (eval "$ac_compile") 2>conftest.er1
44328 ac_status=$?
44329 grep -v '^ *+' conftest.er1 >conftest.err
44330 rm -f conftest.er1
44331 cat conftest.err >&5
44332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44333 (exit $ac_status); } && {
44334 test -z "$ac_cxx_werror_flag" ||
44335 test ! -s conftest.err
44336 } && test -s conftest.$ac_objext; then
44337 wxUSE_JOYSTICK=yes
44338
44339 else
44340 echo "$as_me: failed program was:" >&5
44341 sed 's/^/| /' conftest.$ac_ext >&5
44342
44343
44344 fi
44345
44346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44347 ac_ext=c
44348 ac_cpp='$CPP $CPPFLAGS'
44349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44352
44353 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44354 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44355 fi
44356
44357 else
44358 if test "$wxUSE_MGL" != 1; then
44359
44360 for ac_header in linux/joystick.h
44361 do
44362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44363 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44366 echo $ECHO_N "(cached) $ECHO_C" >&6
44367 else
44368 cat >conftest.$ac_ext <<_ACEOF
44369 /* confdefs.h. */
44370 _ACEOF
44371 cat confdefs.h >>conftest.$ac_ext
44372 cat >>conftest.$ac_ext <<_ACEOF
44373 /* end confdefs.h. */
44374 $ac_includes_default
44375
44376 #include <$ac_header>
44377 _ACEOF
44378 rm -f conftest.$ac_objext
44379 if { (ac_try="$ac_compile"
44380 case "(($ac_try" in
44381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44382 *) ac_try_echo=$ac_try;;
44383 esac
44384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44385 (eval "$ac_compile") 2>conftest.er1
44386 ac_status=$?
44387 grep -v '^ *+' conftest.er1 >conftest.err
44388 rm -f conftest.er1
44389 cat conftest.err >&5
44390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44391 (exit $ac_status); } && {
44392 test -z "$ac_c_werror_flag" ||
44393 test ! -s conftest.err
44394 } && test -s conftest.$ac_objext; then
44395 eval "$as_ac_Header=yes"
44396 else
44397 echo "$as_me: failed program was:" >&5
44398 sed 's/^/| /' conftest.$ac_ext >&5
44399
44400 eval "$as_ac_Header=no"
44401 fi
44402
44403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44404 fi
44405 ac_res=`eval echo '${'$as_ac_Header'}'`
44406 { echo "$as_me:$LINENO: result: $ac_res" >&5
44407 echo "${ECHO_T}$ac_res" >&6; }
44408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44409 cat >>confdefs.h <<_ACEOF
44410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44411 _ACEOF
44412 wxUSE_JOYSTICK=yes
44413 fi
44414
44415 done
44416
44417 fi
44418 fi
44419
44420 if test "$wxUSE_JOYSTICK" = "yes"; then
44421 cat >>confdefs.h <<\_ACEOF
44422 #define wxUSE_JOYSTICK 1
44423 _ACEOF
44424
44425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44426 else
44427 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44428 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44429 fi
44430 fi
44431
44432
44433
44434 if test "$wxUSE_FONTENUM" = "yes" ; then
44435 cat >>confdefs.h <<\_ACEOF
44436 #define wxUSE_FONTENUM 1
44437 _ACEOF
44438
44439 fi
44440
44441 if test "$wxUSE_FONTMAP" = "yes" ; then
44442 cat >>confdefs.h <<\_ACEOF
44443 #define wxUSE_FONTMAP 1
44444 _ACEOF
44445
44446 fi
44447
44448 if test "$wxUSE_UNICODE" = "yes" ; then
44449 cat >>confdefs.h <<\_ACEOF
44450 #define wxUSE_UNICODE 1
44451 _ACEOF
44452
44453
44454 if test "$USE_WIN32" != 1; then
44455 wxUSE_UNICODE_MSLU=no
44456 fi
44457
44458 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44459 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44460 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44461 if test "${ac_cv_lib_unicows_main+set}" = set; then
44462 echo $ECHO_N "(cached) $ECHO_C" >&6
44463 else
44464 ac_check_lib_save_LIBS=$LIBS
44465 LIBS="-lunicows $LIBS"
44466 cat >conftest.$ac_ext <<_ACEOF
44467 /* confdefs.h. */
44468 _ACEOF
44469 cat confdefs.h >>conftest.$ac_ext
44470 cat >>conftest.$ac_ext <<_ACEOF
44471 /* end confdefs.h. */
44472
44473
44474 int
44475 main ()
44476 {
44477 return main ();
44478 ;
44479 return 0;
44480 }
44481 _ACEOF
44482 rm -f conftest.$ac_objext conftest$ac_exeext
44483 if { (ac_try="$ac_link"
44484 case "(($ac_try" in
44485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44486 *) ac_try_echo=$ac_try;;
44487 esac
44488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44489 (eval "$ac_link") 2>conftest.er1
44490 ac_status=$?
44491 grep -v '^ *+' conftest.er1 >conftest.err
44492 rm -f conftest.er1
44493 cat conftest.err >&5
44494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44495 (exit $ac_status); } && {
44496 test -z "$ac_c_werror_flag" ||
44497 test ! -s conftest.err
44498 } && test -s conftest$ac_exeext &&
44499 $as_test_x conftest$ac_exeext; then
44500 ac_cv_lib_unicows_main=yes
44501 else
44502 echo "$as_me: failed program was:" >&5
44503 sed 's/^/| /' conftest.$ac_ext >&5
44504
44505 ac_cv_lib_unicows_main=no
44506 fi
44507
44508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44509 conftest$ac_exeext conftest.$ac_ext
44510 LIBS=$ac_check_lib_save_LIBS
44511 fi
44512 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44513 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44514 if test $ac_cv_lib_unicows_main = yes; then
44515
44516 cat >>confdefs.h <<\_ACEOF
44517 #define wxUSE_UNICODE_MSLU 1
44518 _ACEOF
44519
44520
44521 else
44522
44523 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44524 Applications will only run on Windows NT/2000/XP!" >&5
44525 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44526 Applications will only run on Windows NT/2000/XP!" >&2;}
44527 wxUSE_UNICODE_MSLU=no
44528
44529 fi
44530
44531 fi
44532 fi
44533
44534 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_UNICODE_UTF8 1
44537 _ACEOF
44538
44539
44540 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_UTF8_LOCALE_ONLY 1
44543 _ACEOF
44544
44545 fi
44546 fi
44547
44548
44549 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_CONSTRAINTS 1
44552 _ACEOF
44553
44554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44555 fi
44556
44557 if test "$wxUSE_MDI" = "yes"; then
44558 cat >>confdefs.h <<\_ACEOF
44559 #define wxUSE_MDI 1
44560 _ACEOF
44561
44562
44563 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_MDI_ARCHITECTURE 1
44566 _ACEOF
44567
44568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44569 fi
44570 fi
44571
44572 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44573 cat >>confdefs.h <<\_ACEOF
44574 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44575 _ACEOF
44576
44577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44578 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44580 fi
44581 fi
44582
44583 if test "$wxUSE_HELP" = "yes"; then
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_HELP 1
44586 _ACEOF
44587
44588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44589
44590 if test "$wxUSE_MSW" = 1; then
44591 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44592 cat >>confdefs.h <<\_ACEOF
44593 #define wxUSE_MS_HTML_HELP 1
44594 _ACEOF
44595
44596 fi
44597 fi
44598
44599 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44600 if test "$wxUSE_HTML" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_WXHTML_HELP 1
44603 _ACEOF
44604
44605 else
44606 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44607 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44608 wxUSE_WXHTML_HELP=no
44609 fi
44610 fi
44611 fi
44612
44613 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44614 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44615 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44616 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44617 else
44618 cat >>confdefs.h <<\_ACEOF
44619 #define wxUSE_PRINTING_ARCHITECTURE 1
44620 _ACEOF
44621
44622 fi
44623 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44624 fi
44625
44626 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44627 cat >>confdefs.h <<\_ACEOF
44628 #define wxUSE_POSTSCRIPT 1
44629 _ACEOF
44630
44631 fi
44632
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44635 _ACEOF
44636
44637
44638 if test "$wxUSE_SVG" = "yes"; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_SVG 1
44641 _ACEOF
44642
44643 fi
44644
44645
44646 if test "$wxUSE_METAFILE" = "yes"; then
44647 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44648 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44649 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44650 wxUSE_METAFILE=no
44651 fi
44652 fi
44653
44654
44655 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44656 -o "$wxUSE_CLIPBOARD" = "yes" \
44657 -o "$wxUSE_OLE" = "yes" \
44658 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44659 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44660 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44661 if test "${ac_cv_header_ole2_h+set}" = set; then
44662 echo $ECHO_N "(cached) $ECHO_C" >&6
44663 else
44664 cat >conftest.$ac_ext <<_ACEOF
44665 /* confdefs.h. */
44666 _ACEOF
44667 cat confdefs.h >>conftest.$ac_ext
44668 cat >>conftest.$ac_ext <<_ACEOF
44669 /* end confdefs.h. */
44670
44671
44672 #include <ole2.h>
44673 _ACEOF
44674 rm -f conftest.$ac_objext
44675 if { (ac_try="$ac_compile"
44676 case "(($ac_try" in
44677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44678 *) ac_try_echo=$ac_try;;
44679 esac
44680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44681 (eval "$ac_compile") 2>conftest.er1
44682 ac_status=$?
44683 grep -v '^ *+' conftest.er1 >conftest.err
44684 rm -f conftest.er1
44685 cat conftest.err >&5
44686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44687 (exit $ac_status); } && {
44688 test -z "$ac_c_werror_flag" ||
44689 test ! -s conftest.err
44690 } && test -s conftest.$ac_objext; then
44691 ac_cv_header_ole2_h=yes
44692 else
44693 echo "$as_me: failed program was:" >&5
44694 sed 's/^/| /' conftest.$ac_ext >&5
44695
44696 ac_cv_header_ole2_h=no
44697 fi
44698
44699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44700 fi
44701 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44702 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44703
44704
44705
44706 if test "$ac_cv_header_ole2_h" = "yes" ; then
44707 if test "$GCC" = yes ; then
44708 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44709 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44710 cat >conftest.$ac_ext <<_ACEOF
44711 /* confdefs.h. */
44712 _ACEOF
44713 cat confdefs.h >>conftest.$ac_ext
44714 cat >>conftest.$ac_ext <<_ACEOF
44715 /* end confdefs.h. */
44716 #include <windows.h>
44717 #include <ole2.h>
44718 int
44719 main ()
44720 {
44721
44722 ;
44723 return 0;
44724 }
44725 _ACEOF
44726 rm -f conftest.$ac_objext
44727 if { (ac_try="$ac_compile"
44728 case "(($ac_try" in
44729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44730 *) ac_try_echo=$ac_try;;
44731 esac
44732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44733 (eval "$ac_compile") 2>conftest.er1
44734 ac_status=$?
44735 grep -v '^ *+' conftest.er1 >conftest.err
44736 rm -f conftest.er1
44737 cat conftest.err >&5
44738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44739 (exit $ac_status); } && {
44740 test -z "$ac_c_werror_flag" ||
44741 test ! -s conftest.err
44742 } && test -s conftest.$ac_objext; then
44743 { echo "$as_me:$LINENO: result: no" >&5
44744 echo "${ECHO_T}no" >&6; }
44745 else
44746 echo "$as_me: failed program was:" >&5
44747 sed 's/^/| /' conftest.$ac_ext >&5
44748
44749 { echo "$as_me:$LINENO: result: yes" >&5
44750 echo "${ECHO_T}yes" >&6; }
44751 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44752 fi
44753
44754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44755 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44756 if test "$wxUSE_OLE" = "yes" ; then
44757 cat >>confdefs.h <<\_ACEOF
44758 #define wxUSE_OLE 1
44759 _ACEOF
44760
44761 cat >>confdefs.h <<\_ACEOF
44762 #define wxUSE_OLE_AUTOMATION 1
44763 _ACEOF
44764
44765 cat >>confdefs.h <<\_ACEOF
44766 #define wxUSE_ACTIVEX 1
44767 _ACEOF
44768
44769 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44770 fi
44771 fi
44772
44773 if test "$wxUSE_DATAOBJ" = "yes" ; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_DATAOBJ 1
44776 _ACEOF
44777
44778 fi
44779 else
44780 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44781 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44782
44783 wxUSE_CLIPBOARD=no
44784 wxUSE_DRAG_AND_DROP=no
44785 wxUSE_DATAOBJ=no
44786 wxUSE_OLE=no
44787 fi
44788
44789 if test "$wxUSE_METAFILE" = "yes"; then
44790 cat >>confdefs.h <<\_ACEOF
44791 #define wxUSE_METAFILE 1
44792 _ACEOF
44793
44794
44795 cat >>confdefs.h <<\_ACEOF
44796 #define wxUSE_ENH_METAFILE 1
44797 _ACEOF
44798
44799 fi
44800 fi
44801
44802 if test "$wxUSE_IPC" = "yes"; then
44803 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44804 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44805 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44806 wxUSE_IPC=no
44807 fi
44808
44809 if test "$wxUSE_IPC" = "yes"; then
44810 cat >>confdefs.h <<\_ACEOF
44811 #define wxUSE_IPC 1
44812 _ACEOF
44813
44814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44815 fi
44816 fi
44817
44818 if test "$wxUSE_DATAOBJ" = "yes"; then
44819 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44820 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44821 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44822 wxUSE_DATAOBJ=no
44823 else
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_DATAOBJ 1
44826 _ACEOF
44827
44828 fi
44829 else
44830 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44831 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44832 wxUSE_CLIPBOARD=no
44833 wxUSE_DRAG_AND_DROP=no
44834 fi
44835
44836 if test "$wxUSE_CLIPBOARD" = "yes"; then
44837 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44838 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44839 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44840 wxUSE_CLIPBOARD=no
44841 fi
44842
44843 if test "$wxUSE_CLIPBOARD" = "yes"; then
44844 cat >>confdefs.h <<\_ACEOF
44845 #define wxUSE_CLIPBOARD 1
44846 _ACEOF
44847
44848 fi
44849 fi
44850
44851 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44852 if test "$wxUSE_GTK" = 1; then
44853 if test "$WXGTK12" != 1; then
44854 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44855 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44856 wxUSE_DRAG_AND_DROP=no
44857 fi
44858 fi
44859
44860 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44861 "$wxUSE_DFB" = 1; then
44862 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44863 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44864 wxUSE_DRAG_AND_DROP=no
44865 fi
44866
44867 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_DRAG_AND_DROP 1
44870 _ACEOF
44871
44872 fi
44873
44874 fi
44875
44876 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44878 fi
44879
44880 if test "$wxUSE_SPLINES" = "yes" ; then
44881 cat >>confdefs.h <<\_ACEOF
44882 #define wxUSE_SPLINES 1
44883 _ACEOF
44884
44885 fi
44886
44887 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44888 cat >>confdefs.h <<\_ACEOF
44889 #define wxUSE_MOUSEWHEEL 1
44890 _ACEOF
44891
44892 fi
44893
44894
44895 USES_CONTROLS=0
44896 if test "$wxUSE_CONTROLS" = "yes"; then
44897 USES_CONTROLS=1
44898 fi
44899
44900 if test "$wxUSE_ACCEL" = "yes"; then
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_ACCEL 1
44903 _ACEOF
44904
44905 USES_CONTROLS=1
44906 fi
44907
44908 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44909 cat >>confdefs.h <<\_ACEOF
44910 #define wxUSE_ANIMATIONCTRL 1
44911 _ACEOF
44912
44913 USES_CONTROLS=1
44914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44915 fi
44916
44917 if test "$wxUSE_BUTTON" = "yes"; then
44918 cat >>confdefs.h <<\_ACEOF
44919 #define wxUSE_BUTTON 1
44920 _ACEOF
44921
44922 USES_CONTROLS=1
44923 fi
44924
44925 if test "$wxUSE_BMPBUTTON" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_BMPBUTTON 1
44928 _ACEOF
44929
44930 USES_CONTROLS=1
44931 fi
44932
44933 if test "$wxUSE_CALCTRL" = "yes"; then
44934 cat >>confdefs.h <<\_ACEOF
44935 #define wxUSE_CALENDARCTRL 1
44936 _ACEOF
44937
44938 USES_CONTROLS=1
44939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44940 fi
44941
44942 if test "$wxUSE_CARET" = "yes"; then
44943 cat >>confdefs.h <<\_ACEOF
44944 #define wxUSE_CARET 1
44945 _ACEOF
44946
44947 USES_CONTROLS=1
44948 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44949 fi
44950
44951 if test "$wxUSE_COLLPANE" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_COLLPANE 1
44954 _ACEOF
44955
44956 USES_CONTROLS=1
44957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44958 fi
44959
44960 if test "$wxUSE_COMBOBOX" = "yes"; then
44961 cat >>confdefs.h <<\_ACEOF
44962 #define wxUSE_COMBOBOX 1
44963 _ACEOF
44964
44965 USES_CONTROLS=1
44966 fi
44967
44968 if test "$wxUSE_COMBOCTRL" = "yes"; then
44969 cat >>confdefs.h <<\_ACEOF
44970 #define wxUSE_COMBOCTRL 1
44971 _ACEOF
44972
44973 USES_CONTROLS=1
44974 fi
44975
44976 if test "$wxUSE_CHOICE" = "yes"; then
44977 cat >>confdefs.h <<\_ACEOF
44978 #define wxUSE_CHOICE 1
44979 _ACEOF
44980
44981 USES_CONTROLS=1
44982 fi
44983
44984 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_CHOICEBOOK 1
44987 _ACEOF
44988
44989 USES_CONTROLS=1
44990 fi
44991
44992 if test "$wxUSE_CHECKBOX" = "yes"; then
44993 cat >>confdefs.h <<\_ACEOF
44994 #define wxUSE_CHECKBOX 1
44995 _ACEOF
44996
44997 USES_CONTROLS=1
44998 fi
44999
45000 if test "$wxUSE_CHECKLST" = "yes"; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_CHECKLISTBOX 1
45003 _ACEOF
45004
45005 USES_CONTROLS=1
45006 fi
45007
45008 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45009 cat >>confdefs.h <<\_ACEOF
45010 #define wxUSE_COLOURPICKERCTRL 1
45011 _ACEOF
45012
45013 USES_CONTROLS=1
45014 fi
45015
45016 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45017 cat >>confdefs.h <<\_ACEOF
45018 #define wxUSE_DATEPICKCTRL 1
45019 _ACEOF
45020
45021 USES_CONTROLS=1
45022 fi
45023
45024 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45025 cat >>confdefs.h <<\_ACEOF
45026 #define wxUSE_DIRPICKERCTRL 1
45027 _ACEOF
45028
45029 USES_CONTROLS=1
45030 fi
45031
45032 if test "$wxUSE_FILECTRL" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_FILECTRL 1
45035 _ACEOF
45036
45037 USES_CONTROLS=1
45038 fi
45039
45040 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45041 cat >>confdefs.h <<\_ACEOF
45042 #define wxUSE_FILEPICKERCTRL 1
45043 _ACEOF
45044
45045 USES_CONTROLS=1
45046 fi
45047
45048 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_FONTPICKERCTRL 1
45051 _ACEOF
45052
45053 USES_CONTROLS=1
45054 fi
45055
45056 if test "$wxUSE_DISPLAY" = "yes"; then
45057 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45058 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45059 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45060 wxUSE_DISPLAY=no
45061 else
45062 cat >>confdefs.h <<\_ACEOF
45063 #define wxUSE_DISPLAY 1
45064 _ACEOF
45065
45066 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45067 fi
45068 fi
45069
45070 if test "$wxUSE_DETECT_SM" = "yes"; then
45071 cat >>confdefs.h <<\_ACEOF
45072 #define wxUSE_DETECT_SM 1
45073 _ACEOF
45074
45075 fi
45076
45077 if test "$wxUSE_GAUGE" = "yes"; then
45078 cat >>confdefs.h <<\_ACEOF
45079 #define wxUSE_GAUGE 1
45080 _ACEOF
45081
45082 USES_CONTROLS=1
45083 fi
45084
45085 if test "$wxUSE_GRID" = "yes"; then
45086 cat >>confdefs.h <<\_ACEOF
45087 #define wxUSE_GRID 1
45088 _ACEOF
45089
45090 USES_CONTROLS=1
45091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45092 fi
45093
45094 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45095 cat >>confdefs.h <<\_ACEOF
45096 #define wxUSE_HYPERLINKCTRL 1
45097 _ACEOF
45098
45099 USES_CONTROLS=1
45100 fi
45101
45102 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45103 cat >>confdefs.h <<\_ACEOF
45104 #define wxUSE_BITMAPCOMBOBOX 1
45105 _ACEOF
45106
45107 USES_CONTROLS=1
45108 fi
45109
45110 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_DATAVIEWCTRL 1
45113 _ACEOF
45114
45115 USES_CONTROLS=1
45116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45117 fi
45118
45119 if test "$wxUSE_IMAGLIST" = "yes"; then
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_IMAGLIST 1
45122 _ACEOF
45123
45124 fi
45125
45126 if test "$wxUSE_LISTBOOK" = "yes"; then
45127 cat >>confdefs.h <<\_ACEOF
45128 #define wxUSE_LISTBOOK 1
45129 _ACEOF
45130
45131 USES_CONTROLS=1
45132 fi
45133
45134 if test "$wxUSE_LISTBOX" = "yes"; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_LISTBOX 1
45137 _ACEOF
45138
45139 USES_CONTROLS=1
45140 fi
45141
45142 if test "$wxUSE_LISTCTRL" = "yes"; then
45143 if test "$wxUSE_IMAGLIST" = "yes"; then
45144 cat >>confdefs.h <<\_ACEOF
45145 #define wxUSE_LISTCTRL 1
45146 _ACEOF
45147
45148 USES_CONTROLS=1
45149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45150 else
45151 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45152 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45153 fi
45154 fi
45155
45156 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45157 cat >>confdefs.h <<\_ACEOF
45158 #define wxUSE_EDITABLELISTBOX 1
45159 _ACEOF
45160
45161 USES_CONTROLS=1
45162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45163 fi
45164
45165 if test "$wxUSE_NOTEBOOK" = "yes"; then
45166 cat >>confdefs.h <<\_ACEOF
45167 #define wxUSE_NOTEBOOK 1
45168 _ACEOF
45169
45170 USES_CONTROLS=1
45171 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45172 fi
45173
45174 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45175 cat >>confdefs.h <<\_ACEOF
45176 #define wxUSE_NOTIFICATION_MESSAGE 1
45177 _ACEOF
45178
45179 fi
45180
45181 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45182 cat >>confdefs.h <<\_ACEOF
45183 #define wxUSE_ODCOMBOBOX 1
45184 _ACEOF
45185
45186 USES_CONTROLS=1
45187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45188 fi
45189
45190 if test "$wxUSE_RADIOBOX" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_RADIOBOX 1
45193 _ACEOF
45194
45195 USES_CONTROLS=1
45196 fi
45197
45198 if test "$wxUSE_RADIOBTN" = "yes"; then
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_RADIOBTN 1
45201 _ACEOF
45202
45203 USES_CONTROLS=1
45204 fi
45205
45206 if test "$wxUSE_SASH" = "yes"; then
45207 cat >>confdefs.h <<\_ACEOF
45208 #define wxUSE_SASH 1
45209 _ACEOF
45210
45211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45212 fi
45213
45214 if test "$wxUSE_SCROLLBAR" = "yes"; then
45215 cat >>confdefs.h <<\_ACEOF
45216 #define wxUSE_SCROLLBAR 1
45217 _ACEOF
45218
45219 USES_CONTROLS=1
45220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45221 fi
45222
45223 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45224 cat >>confdefs.h <<\_ACEOF
45225 #define wxUSE_SEARCHCTRL 1
45226 _ACEOF
45227
45228 USES_CONTROLS=1
45229 fi
45230
45231 if test "$wxUSE_SLIDER" = "yes"; then
45232 cat >>confdefs.h <<\_ACEOF
45233 #define wxUSE_SLIDER 1
45234 _ACEOF
45235
45236 USES_CONTROLS=1
45237 fi
45238
45239 if test "$wxUSE_SPINBTN" = "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_SPINBTN 1
45242 _ACEOF
45243
45244 USES_CONTROLS=1
45245 fi
45246
45247 if test "$wxUSE_SPINCTRL" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_SPINCTRL 1
45250 _ACEOF
45251
45252 USES_CONTROLS=1
45253 fi
45254
45255 if test "$wxUSE_SPLITTER" = "yes"; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define wxUSE_SPLITTER 1
45258 _ACEOF
45259
45260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45261 fi
45262
45263 if test "$wxUSE_STATBMP" = "yes"; then
45264 cat >>confdefs.h <<\_ACEOF
45265 #define wxUSE_STATBMP 1
45266 _ACEOF
45267
45268 USES_CONTROLS=1
45269 fi
45270
45271 if test "$wxUSE_STATBOX" = "yes"; then
45272 cat >>confdefs.h <<\_ACEOF
45273 #define wxUSE_STATBOX 1
45274 _ACEOF
45275
45276 USES_CONTROLS=1
45277 fi
45278
45279 if test "$wxUSE_STATTEXT" = "yes"; then
45280 cat >>confdefs.h <<\_ACEOF
45281 #define wxUSE_STATTEXT 1
45282 _ACEOF
45283
45284 USES_CONTROLS=1
45285 fi
45286
45287 if test "$wxUSE_STATLINE" = "yes"; then
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_STATLINE 1
45290 _ACEOF
45291
45292 USES_CONTROLS=1
45293 fi
45294
45295 if test "$wxUSE_STATUSBAR" = "yes"; then
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_NATIVE_STATUSBAR 1
45298 _ACEOF
45299
45300 cat >>confdefs.h <<\_ACEOF
45301 #define wxUSE_STATUSBAR 1
45302 _ACEOF
45303
45304 USES_CONTROLS=1
45305
45306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45307 fi
45308
45309 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45310 cat >>confdefs.h <<\_ACEOF
45311 #define wxUSE_TAB_DIALOG 1
45312 _ACEOF
45313
45314 fi
45315
45316 if test "$wxUSE_TEXTCTRL" = "yes"; then
45317 cat >>confdefs.h <<\_ACEOF
45318 #define wxUSE_TEXTCTRL 1
45319 _ACEOF
45320
45321 USES_CONTROLS=1
45322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45323 fi
45324
45325 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45326 if test "$wxUSE_COCOA" = 1 ; then
45327 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45328 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45329 wxUSE_TOGGLEBTN=no
45330 fi
45331
45332 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45333 cat >>confdefs.h <<\_ACEOF
45334 #define wxUSE_TOGGLEBTN 1
45335 _ACEOF
45336
45337 USES_CONTROLS=1
45338 fi
45339 fi
45340
45341 if test "$wxUSE_TOOLBAR" = "yes"; then
45342 cat >>confdefs.h <<\_ACEOF
45343 #define wxUSE_TOOLBAR 1
45344 _ACEOF
45345
45346 USES_CONTROLS=1
45347
45348 if test "$wxUSE_UNIVERSAL" = "yes"; then
45349 wxUSE_TOOLBAR_NATIVE="no"
45350 else
45351 wxUSE_TOOLBAR_NATIVE="yes"
45352 cat >>confdefs.h <<\_ACEOF
45353 #define wxUSE_TOOLBAR_NATIVE 1
45354 _ACEOF
45355
45356 fi
45357
45358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45359 fi
45360
45361 if test "$wxUSE_TOOLTIPS" = "yes"; then
45362 if test "$wxUSE_MOTIF" = 1; then
45363 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45364 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45365 else
45366 if test "$wxUSE_UNIVERSAL" = "yes"; then
45367 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45368 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45369 else
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_TOOLTIPS 1
45372 _ACEOF
45373
45374 fi
45375 fi
45376 fi
45377
45378 if test "$wxUSE_TREEBOOK" = "yes"; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_TREEBOOK 1
45381 _ACEOF
45382
45383 USES_CONTROLS=1
45384 fi
45385
45386 if test "$wxUSE_TOOLBOOK" = "yes"; then
45387 cat >>confdefs.h <<\_ACEOF
45388 #define wxUSE_TOOLBOOK 1
45389 _ACEOF
45390
45391 USES_CONTROLS=1
45392 fi
45393
45394 if test "$wxUSE_TREECTRL" = "yes"; then
45395 if test "$wxUSE_IMAGLIST" = "yes"; then
45396 cat >>confdefs.h <<\_ACEOF
45397 #define wxUSE_TREECTRL 1
45398 _ACEOF
45399
45400 USES_CONTROLS=1
45401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45402 else
45403 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45404 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45405 fi
45406 fi
45407
45408 if test "$wxUSE_POPUPWIN" = "yes"; then
45409 if test "$wxUSE_COCOA" = 1 ; then
45410 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45411 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45412 else
45413 if test "$wxUSE_PM" = 1; then
45414 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45415 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45416 else
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_POPUPWIN 1
45419 _ACEOF
45420
45421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45422
45423 USES_CONTROLS=1
45424 fi
45425 fi
45426 fi
45427
45428 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45429 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45430 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45431 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45432 else
45433 cat >>confdefs.h <<\_ACEOF
45434 #define wxUSE_DIALUP_MANAGER 1
45435 _ACEOF
45436
45437 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45438 fi
45439 fi
45440
45441 if test "$wxUSE_TIPWINDOW" = "yes"; then
45442 if test "$wxUSE_PM" = 1; then
45443 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45444 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45445 else
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_TIPWINDOW 1
45448 _ACEOF
45449
45450 fi
45451 fi
45452
45453 if test "$USES_CONTROLS" = 1; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_CONTROLS 1
45456 _ACEOF
45457
45458 fi
45459
45460
45461 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_ACCESSIBILITY 1
45464 _ACEOF
45465
45466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45467 fi
45468
45469 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_DRAGIMAGE 1
45472 _ACEOF
45473
45474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45475 fi
45476
45477 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45478 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45479 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45480 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45481 else
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_EXCEPTIONS 1
45484 _ACEOF
45485
45486 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45487 fi
45488 fi
45489
45490 USE_HTML=0
45491 if test "$wxUSE_HTML" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_HTML 1
45494 _ACEOF
45495
45496 USE_HTML=1
45497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45498 if test "$wxUSE_MAC" = 1; then
45499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45500 fi
45501 fi
45502 if test "$wxUSE_WEBKIT" = "yes"; then
45503 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45504 old_CPPFLAGS="$CPPFLAGS"
45505 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45506 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45507 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45508 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45509 echo $ECHO_N "(cached) $ECHO_C" >&6
45510 else
45511 cat >conftest.$ac_ext <<_ACEOF
45512 /* confdefs.h. */
45513 _ACEOF
45514 cat confdefs.h >>conftest.$ac_ext
45515 cat >>conftest.$ac_ext <<_ACEOF
45516 /* end confdefs.h. */
45517
45518 #include <Carbon/Carbon.h>
45519 #include <WebKit/WebKit.h>
45520
45521
45522 #include <WebKit/HIWebView.h>
45523 _ACEOF
45524 rm -f conftest.$ac_objext
45525 if { (ac_try="$ac_compile"
45526 case "(($ac_try" in
45527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45528 *) ac_try_echo=$ac_try;;
45529 esac
45530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45531 (eval "$ac_compile") 2>conftest.er1
45532 ac_status=$?
45533 grep -v '^ *+' conftest.er1 >conftest.err
45534 rm -f conftest.er1
45535 cat conftest.err >&5
45536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45537 (exit $ac_status); } && {
45538 test -z "$ac_c_werror_flag" ||
45539 test ! -s conftest.err
45540 } && test -s conftest.$ac_objext; then
45541 ac_cv_header_WebKit_HIWebView_h=yes
45542 else
45543 echo "$as_me: failed program was:" >&5
45544 sed 's/^/| /' conftest.$ac_ext >&5
45545
45546 ac_cv_header_WebKit_HIWebView_h=no
45547 fi
45548
45549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45550 fi
45551 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45552 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45553 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45554
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_WEBKIT 1
45557 _ACEOF
45558
45559 WEBKIT_LINK="-framework WebKit"
45560
45561 else
45562
45563 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45564 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45565 wxUSE_WEBKIT=no
45566
45567 fi
45568
45569
45570 CPPFLAGS="$old_CPPFLAGS"
45571 elif test "$wxUSE_COCOA" = 1; then
45572 cat >>confdefs.h <<\_ACEOF
45573 #define wxUSE_WEBKIT 1
45574 _ACEOF
45575
45576 else
45577 wxUSE_WEBKIT=no
45578 fi
45579 fi
45580
45581 USE_XRC=0
45582 if test "$wxUSE_XRC" = "yes"; then
45583 if test "$wxUSE_XML" != "yes"; then
45584 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45585 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45586 wxUSE_XRC=no
45587 else
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_XRC 1
45590 _ACEOF
45591
45592 USE_XRC=1
45593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45594 fi
45595 fi
45596
45597 USE_AUI=0
45598 if test "$wxUSE_AUI" = "yes"; then
45599 cat >>confdefs.h <<\_ACEOF
45600 #define wxUSE_AUI 1
45601 _ACEOF
45602
45603 USE_AUI=1
45604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45605 fi
45606
45607 USE_STC=0
45608 if test "$wxUSE_STC" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_STC 1
45611 _ACEOF
45612
45613 USE_STC=1
45614 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45615 fi
45616
45617 if test "$wxUSE_MENUS" = "yes"; then
45618 cat >>confdefs.h <<\_ACEOF
45619 #define wxUSE_MENUS 1
45620 _ACEOF
45621
45622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45623 fi
45624
45625 if test "$wxUSE_METAFILE" = "yes"; then
45626 cat >>confdefs.h <<\_ACEOF
45627 #define wxUSE_METAFILE 1
45628 _ACEOF
45629
45630 fi
45631
45632 if test "$wxUSE_MIMETYPE" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_MIMETYPE 1
45635 _ACEOF
45636
45637 fi
45638
45639 if test "$wxUSE_MINIFRAME" = "yes"; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_MINIFRAME 1
45642 _ACEOF
45643
45644 fi
45645
45646 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_SYSTEM_OPTIONS 1
45649 _ACEOF
45650
45651 fi
45652
45653 if test "$wxUSE_TASKBARICON" = "yes"; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_TASKBARICON 1
45656 _ACEOF
45657
45658 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45659 fi
45660
45661
45662 if test "$wxUSE_VALIDATORS" = "yes"; then
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_VALIDATORS 1
45665 _ACEOF
45666
45667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45668 fi
45669
45670 if test "$wxUSE_PALETTE" = "yes" ; then
45671 if test "$wxUSE_DFB" = 1; then
45672 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45673 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45674 wxUSE_PALETTE=no
45675 else
45676 cat >>confdefs.h <<\_ACEOF
45677 #define wxUSE_PALETTE 1
45678 _ACEOF
45679
45680 fi
45681 fi
45682
45683 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45684 LIBS=" -lunicows $LIBS"
45685 fi
45686
45687 USE_RICHTEXT=0
45688 if test "$wxUSE_RICHTEXT" = "yes"; then
45689 cat >>confdefs.h <<\_ACEOF
45690 #define wxUSE_RICHTEXT 1
45691 _ACEOF
45692
45693 USE_RICHTEXT=1
45694 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45695 fi
45696
45697
45698 if test "$wxUSE_IMAGE" = "yes" ; then
45699 cat >>confdefs.h <<\_ACEOF
45700 #define wxUSE_IMAGE 1
45701 _ACEOF
45702
45703
45704 if test "$wxUSE_GIF" = "yes" ; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_GIF 1
45707 _ACEOF
45708
45709 fi
45710
45711 if test "$wxUSE_PCX" = "yes" ; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_PCX 1
45714 _ACEOF
45715
45716 fi
45717
45718 if test "$wxUSE_TGA" = "yes" ; then
45719 cat >>confdefs.h <<\_ACEOF
45720 #define wxUSE_TGA 1
45721 _ACEOF
45722
45723 fi
45724
45725 if test "$wxUSE_IFF" = "yes" ; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_IFF 1
45728 _ACEOF
45729
45730 fi
45731
45732 if test "$wxUSE_PNM" = "yes" ; then
45733 cat >>confdefs.h <<\_ACEOF
45734 #define wxUSE_PNM 1
45735 _ACEOF
45736
45737 fi
45738
45739 if test "$wxUSE_XPM" = "yes" ; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_XPM 1
45742 _ACEOF
45743
45744 fi
45745
45746 if test "$wxUSE_ICO_CUR" = "yes" ; then
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_ICO_CUR 1
45749 _ACEOF
45750
45751 fi
45752 fi
45753
45754
45755 if test "$wxUSE_ABOUTDLG" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_ABOUTDLG 1
45758 _ACEOF
45759
45760 fi
45761
45762 if test "$wxUSE_CHOICEDLG" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_CHOICEDLG 1
45765 _ACEOF
45766
45767 fi
45768
45769 if test "$wxUSE_COLOURDLG" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_COLOURDLG 1
45772 _ACEOF
45773
45774 fi
45775
45776 if test "$wxUSE_FILEDLG" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_FILEDLG 1
45779 _ACEOF
45780
45781 fi
45782
45783 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_FINDREPLDLG 1
45786 _ACEOF
45787
45788 fi
45789
45790 if test "$wxUSE_FONTDLG" = "yes"; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_FONTDLG 1
45793 _ACEOF
45794
45795 fi
45796
45797 if test "$wxUSE_DIRDLG" = "yes"; then
45798 if test "$wxUSE_TREECTRL" != "yes"; then
45799 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45800 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45801 else
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_DIRDLG 1
45804 _ACEOF
45805
45806 fi
45807 fi
45808
45809 if test "$wxUSE_MSGDLG" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_MSGDLG 1
45812 _ACEOF
45813
45814 fi
45815
45816 if test "$wxUSE_NUMBERDLG" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_NUMBERDLG 1
45819 _ACEOF
45820
45821 fi
45822
45823 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45824 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45825 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45826 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45827 else
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_PROGRESSDLG 1
45830 _ACEOF
45831
45832 fi
45833 fi
45834
45835 if test "$wxUSE_SPLASH" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_SPLASH 1
45838 _ACEOF
45839
45840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45841 fi
45842
45843 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45844 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45845 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45846 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45847 else
45848 cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_STARTUP_TIPS 1
45850 _ACEOF
45851
45852 fi
45853 fi
45854
45855 if test "$wxUSE_TEXTDLG" = "yes"; then
45856 cat >>confdefs.h <<\_ACEOF
45857 #define wxUSE_TEXTDLG 1
45858 _ACEOF
45859
45860 fi
45861
45862 if test "$wxUSE_WIZARDDLG" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_WIZARDDLG 1
45865 _ACEOF
45866
45867 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45868 fi
45869
45870
45871 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45872 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45873 cat >>confdefs.h <<\_ACEOF
45874 #define wxUSE_OWNER_DRAWN 1
45875 _ACEOF
45876
45877 fi
45878 fi
45879
45880
45881 if test "$wxUSE_MSW" = 1 ; then
45882
45883 if test "$wxUSE_DC_CACHEING" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_DC_CACHEING 1
45886 _ACEOF
45887
45888 fi
45889
45890 if test "$wxUSE_DIB" = "yes"; then
45891 cat >>confdefs.h <<\_ACEOF
45892 #define wxUSE_WXDIB 1
45893 _ACEOF
45894
45895 fi
45896
45897 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45898 cat >>confdefs.h <<\_ACEOF
45899 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45900 _ACEOF
45901
45902 fi
45903
45904 if test "$wxUSE_UXTHEME" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_UXTHEME 1
45907 _ACEOF
45908
45909 fi
45910
45911 fi
45912
45913 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_AUTOID_MANAGEMENT 1
45916 _ACEOF
45917
45918 fi
45919
45920 if test "$USE_WIN32" = 1 ; then
45921 if test "$wxUSE_INICONF" = "yes"; then
45922 cat >>confdefs.h <<\_ACEOF
45923 #define wxUSE_INICONF 1
45924 _ACEOF
45925
45926 fi
45927
45928 if test "$wxUSE_REGKEY" = "yes"; then
45929 cat >>confdefs.h <<\_ACEOF
45930 #define wxUSE_REGKEY 1
45931 _ACEOF
45932
45933 fi
45934 fi
45935
45936
45937 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45938 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_GRAPHICS_CONTEXT 1
45941 _ACEOF
45942
45943 elif test "$wxUSE_GTK" != 1; then
45944 cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_GRAPHICS_CONTEXT 1
45946 _ACEOF
45947
45948 else
45949
45950 pkg_failed=no
45951 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45952 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45953
45954 if test -n "$PKG_CONFIG"; then
45955 if test -n "$CAIRO_CFLAGS"; then
45956 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45957 else
45958 if test -n "$PKG_CONFIG" && \
45959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45960 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45961 ac_status=$?
45962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45963 (exit $ac_status); }; then
45964 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45965 else
45966 pkg_failed=yes
45967 fi
45968 fi
45969 else
45970 pkg_failed=untried
45971 fi
45972 if test -n "$PKG_CONFIG"; then
45973 if test -n "$CAIRO_LIBS"; then
45974 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45975 else
45976 if test -n "$PKG_CONFIG" && \
45977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45978 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45979 ac_status=$?
45980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45981 (exit $ac_status); }; then
45982 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45983 else
45984 pkg_failed=yes
45985 fi
45986 fi
45987 else
45988 pkg_failed=untried
45989 fi
45990
45991
45992
45993 if test $pkg_failed = yes; then
45994
45995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45996 _pkg_short_errors_supported=yes
45997 else
45998 _pkg_short_errors_supported=no
45999 fi
46000 if test $_pkg_short_errors_supported = yes; then
46001 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46002 else
46003 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46004 fi
46005 # Put the nasty error message in config.log where it belongs
46006 echo "$CAIRO_PKG_ERRORS" >&5
46007
46008 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46009 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46010
46011 elif test $pkg_failed = untried; then
46012 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46013 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46014
46015 else
46016 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46017 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46018 { echo "$as_me:$LINENO: result: yes" >&5
46019 echo "${ECHO_T}yes" >&6; }
46020 cat >>confdefs.h <<\_ACEOF
46021 #define wxUSE_GRAPHICS_CONTEXT 1
46022 _ACEOF
46023
46024 fi
46025 fi
46026 fi
46027
46028
46029 USE_MEDIA=0
46030
46031 if test "$wxUSE_MEDIACTRL" = "yes"; then
46032 USE_MEDIA=1
46033
46034 if test "$wxUSE_GTK" = 1; then
46035 wxUSE_GSTREAMER="no"
46036
46037 GST_VERSION_MAJOR=0
46038 GST_VERSION_MINOR=10
46039 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46040
46041 if test "$wxUSE_GSTREAMER8" = "no"; then
46042
46043 pkg_failed=no
46044 { echo "$as_me:$LINENO: checking for GST" >&5
46045 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46046
46047 if test -n "$PKG_CONFIG"; then
46048 if test -n "$GST_CFLAGS"; then
46049 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46050 else
46051 if test -n "$PKG_CONFIG" && \
46052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46053 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46054 ac_status=$?
46055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46056 (exit $ac_status); }; then
46057 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46058 else
46059 pkg_failed=yes
46060 fi
46061 fi
46062 else
46063 pkg_failed=untried
46064 fi
46065 if test -n "$PKG_CONFIG"; then
46066 if test -n "$GST_LIBS"; then
46067 pkg_cv_GST_LIBS="$GST_LIBS"
46068 else
46069 if test -n "$PKG_CONFIG" && \
46070 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46071 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46072 ac_status=$?
46073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46074 (exit $ac_status); }; then
46075 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46076 else
46077 pkg_failed=yes
46078 fi
46079 fi
46080 else
46081 pkg_failed=untried
46082 fi
46083
46084
46085
46086 if test $pkg_failed = yes; then
46087
46088 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46089 _pkg_short_errors_supported=yes
46090 else
46091 _pkg_short_errors_supported=no
46092 fi
46093 if test $_pkg_short_errors_supported = yes; then
46094 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46095 else
46096 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46097 fi
46098 # Put the nasty error message in config.log where it belongs
46099 echo "$GST_PKG_ERRORS" >&5
46100
46101
46102 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46103 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46104 GST_VERSION_MINOR=8
46105
46106
46107 elif test $pkg_failed = untried; then
46108
46109 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46110 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46111 GST_VERSION_MINOR=8
46112
46113
46114 else
46115 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46116 GST_LIBS=$pkg_cv_GST_LIBS
46117 { echo "$as_me:$LINENO: result: yes" >&5
46118 echo "${ECHO_T}yes" >&6; }
46119
46120 wxUSE_GSTREAMER="yes"
46121 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46122
46123 fi
46124 else
46125 GST_VERSION_MINOR=8
46126 fi
46127
46128 if test $GST_VERSION_MINOR = "8"; then
46129 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46130
46131 pkg_failed=no
46132 { echo "$as_me:$LINENO: checking for GST" >&5
46133 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46134
46135 if test -n "$PKG_CONFIG"; then
46136 if test -n "$GST_CFLAGS"; then
46137 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46138 else
46139 if test -n "$PKG_CONFIG" && \
46140 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46141 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46142 ac_status=$?
46143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46144 (exit $ac_status); }; then
46145 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46146 else
46147 pkg_failed=yes
46148 fi
46149 fi
46150 else
46151 pkg_failed=untried
46152 fi
46153 if test -n "$PKG_CONFIG"; then
46154 if test -n "$GST_LIBS"; then
46155 pkg_cv_GST_LIBS="$GST_LIBS"
46156 else
46157 if test -n "$PKG_CONFIG" && \
46158 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46159 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46160 ac_status=$?
46161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46162 (exit $ac_status); }; then
46163 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46164 else
46165 pkg_failed=yes
46166 fi
46167 fi
46168 else
46169 pkg_failed=untried
46170 fi
46171
46172
46173
46174 if test $pkg_failed = yes; then
46175
46176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46177 _pkg_short_errors_supported=yes
46178 else
46179 _pkg_short_errors_supported=no
46180 fi
46181 if test $_pkg_short_errors_supported = yes; then
46182 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46183 else
46184 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46185 fi
46186 # Put the nasty error message in config.log where it belongs
46187 echo "$GST_PKG_ERRORS" >&5
46188
46189
46190 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46191 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46192
46193 elif test $pkg_failed = untried; then
46194
46195 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46196 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46197
46198 else
46199 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46200 GST_LIBS=$pkg_cv_GST_LIBS
46201 { echo "$as_me:$LINENO: result: yes" >&5
46202 echo "${ECHO_T}yes" >&6; }
46203 wxUSE_GSTREAMER="yes"
46204 fi
46205 fi
46206
46207
46208 if test "$wxUSE_GSTREAMER" = "yes"; then
46209 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46210 EXTRALIBS_MEDIA="$GST_LIBS"
46211
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_GSTREAMER 1
46214 _ACEOF
46215
46216 else
46217 USE_MEDIA=0
46218 fi
46219 fi
46220
46221 if test $USE_MEDIA = 1; then
46222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46223 cat >>confdefs.h <<\_ACEOF
46224 #define wxUSE_MEDIACTRL 1
46225 _ACEOF
46226
46227 fi
46228 fi
46229
46230
46231 if test "$cross_compiling" = "yes"; then
46232 OSINFO="\"$host\""
46233 else
46234 OSINFO=`uname -s -r -m`
46235 OSINFO="\"$OSINFO\""
46236 fi
46237
46238 cat >>confdefs.h <<_ACEOF
46239 #define WXWIN_OS_DESCRIPTION $OSINFO
46240 _ACEOF
46241
46242
46243
46244 if test "x$prefix" != "xNONE"; then
46245 wxPREFIX=$prefix
46246 else
46247 wxPREFIX=$ac_default_prefix
46248 fi
46249
46250 cat >>confdefs.h <<_ACEOF
46251 #define wxINSTALL_PREFIX "$wxPREFIX"
46252 _ACEOF
46253
46254
46255
46256
46257 STD_BASE_LIBS="base"
46258 STD_GUI_LIBS=""
46259 BUILT_WX_LIBS="base"
46260 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46261
46262 if test "$wxUSE_SOCKETS" = "yes" ; then
46263 STD_BASE_LIBS="net $STD_BASE_LIBS"
46264 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46265 fi
46266 if test "$wxUSE_XML" = "yes" ; then
46267 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46268 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46269 fi
46270
46271 if test "$wxUSE_GUI" = "yes"; then
46272 STD_GUI_LIBS="adv core"
46273 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46274
46275 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46276 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46277 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46278 fi
46279 if test "$wxUSE_HTML" = "yes" ; then
46280 STD_GUI_LIBS="html $STD_GUI_LIBS"
46281 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46282 fi
46283 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46284 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46285 fi
46286 if test "$wxUSE_OPENGL" = "yes" ; then
46287 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46288 fi
46289 if test "$wxUSE_AUI" = "yes" ; then
46290 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46291 fi
46292 if test "$wxUSE_STC" = "yes" ; then
46293 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46294 fi
46295 if test "$wxUSE_XRC" = "yes" ; then
46296 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46297 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46298 fi
46299 fi
46300
46301
46302
46303
46304
46305
46306
46307
46308 if test "$wxUSE_MAC" = 1 ; then
46309 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46310 if test "$USE_DARWIN" = 1; then
46311 LDFLAGS="$LDFLAGS -framework QuickTime"
46312 else
46313 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46314 fi
46315 fi
46316 if test "$USE_DARWIN" = 1; then
46317 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46318 else
46319 LDFLAGS="$LDFLAGS -lCarbonLib"
46320 fi
46321 fi
46322 if test "$wxUSE_COCOA" = 1 ; then
46323 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46324 if test "$wxUSE_MEDIACTRL" = "yes"; then
46325 LDFLAGS="$LDFLAGS -framework QuickTime"
46326 fi
46327 fi
46328 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46329 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46330 fi
46331
46332 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46333
46334 if test "$wxUSE_GUI" = "yes"; then
46335
46336
46337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46338 erase event exec font image minimal mobile \
46339 mobile/wxedit mobile/styles render \
46340 shaped svg taborder vscroll widgets"
46341
46342 if test "$wxUSE_MONOLITHIC" != "yes"; then
46343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46344 fi
46345 if test "$TOOLKIT" = "MSW"; then
46346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46347 if test "$wxUSE_UNIVERSAL" != "yes"; then
46348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46349 fi
46350 fi
46351 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46353 fi
46354 else
46355 SAMPLES_SUBDIRS="console"
46356 if test "$wxUSE_SOCKETS" = "yes" ; then
46357 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46358 fi
46359 fi
46360
46361
46362 if test "x$INTELCC" = "xyes" ; then
46363 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46364 elif test "$GCC" = yes ; then
46365 CWARNINGS="-Wall -Wundef"
46366 fi
46367
46368 if test "x$INTELCXX" = "xyes" ; then
46369 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46370 elif test "$GXX" = yes ; then
46371 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46372 fi
46373
46374
46375 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46376 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46377
46378
46379 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46380 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46381 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46382 $CPPFLAGS `
46383
46384 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46385 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46386 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46387
46388 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46389
46390
46391 if test "x$MWCC" = "xyes"; then
46392
46393 CC="$CC -cwd source -I-"
46394 CXX="$CXX -cwd source -I-"
46395 fi
46396
46397
46398 LIBS=`echo $LIBS`
46399 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46400 EXTRALIBS_XML="$EXPAT_LINK"
46401 EXTRALIBS_HTML="$MSPACK_LINK"
46402 EXTRALIBS_MEDIA="$GST_LIBS"
46403 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46404 if test "$wxUSE_GUI" = "yes"; then
46405 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46406 fi
46407 if test "$wxUSE_OPENGL" = "yes"; then
46408 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46409 fi
46410
46411 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46412
46413 WXCONFIG_LIBS="$LIBS"
46414
46415 if test "$wxUSE_REGEX" = "builtin" ; then
46416 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46417 fi
46418 if test "$wxUSE_EXPAT" = "builtin" ; then
46419 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46420 fi
46421 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46422 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46423 fi
46424 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46425 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46426 fi
46427 if test "$wxUSE_LIBPNG" = "builtin" ; then
46428 wxconfig_3rdparty="png $wxconfig_3rdparty"
46429 fi
46430 if test "$wxUSE_ZLIB" = "builtin" ; then
46431 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46432 fi
46433
46434 for i in $wxconfig_3rdparty ; do
46435 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46436 done
46437
46438
46439 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46440 WXUNIV=1
46441
46442 case "$wxUNIV_THEMES" in
46443 ''|all)
46444 cat >>confdefs.h <<\_ACEOF
46445 #define wxUSE_ALL_THEMES 1
46446 _ACEOF
46447
46448 ;;
46449
46450 *)
46451 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46452 cat >>confdefs.h <<_ACEOF
46453 #define wxUSE_THEME_$t 1
46454 _ACEOF
46455
46456 done
46457 esac
46458 else
46459 WXUNIV=0
46460 fi
46461
46462
46463
46464
46465
46466
46467
46468
46469 if test $wxUSE_MONOLITHIC = "yes" ; then
46470 MONOLITHIC=1
46471 else
46472 MONOLITHIC=0
46473 fi
46474
46475 if test $wxUSE_PLUGINS = "yes" ; then
46476 USE_PLUGINS=1
46477 else
46478 USE_PLUGINS=0
46479 fi
46480
46481 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46482 USE_QA=1
46483 else
46484 USE_QA=0
46485 fi
46486
46487 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46488 OFFICIAL_BUILD=1
46489 else
46490 OFFICIAL_BUILD=0
46491 fi
46492
46493
46494
46495
46496
46497
46498
46499
46500
46501
46502
46503
46504
46505
46506
46507
46508
46509
46510
46511
46512
46513
46514
46515
46516
46517
46518
46519 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46520
46521
46522
46523
46524
46525
46526
46527
46528 case "$TOOLKIT" in
46529 GTK)
46530 TOOLKIT_DESC="GTK+"
46531 if test "$WXGTK2" = 1; then
46532 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46533 if test "$wxUSE_GTKPRINT" = "yes" ; then
46534 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46535 fi
46536 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46537 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46538 fi
46539 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46540 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46541 fi
46542 if test "$wxUSE_LIBHILDON" = "yes"; then
46543 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46544 fi
46545
46546 if test "$TOOLKIT_EXTRA" != ""; then
46547 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46548 fi
46549 fi
46550 ;;
46551
46552 ?*)
46553 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46554 ;;
46555
46556 *)
46557 TOOLKIT_DESC="base only"
46558 ;;
46559 esac
46560
46561 if test "$wxUSE_WINE" = "yes"; then
46562 BAKEFILE_FORCE_PLATFORM=win32
46563 fi
46564
46565 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46566 then
46567 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46568 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46569 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46570 echo $ECHO_N "(cached) $ECHO_C" >&6
46571 else
46572
46573 echo '#include <stdio.h>
46574 const wchar_t test_var[] = L"awidetest";' > conftest.h
46575
46576 echo '#include "conftest.h"
46577 int main()
46578 {
46579 printf("%ls", test_var);
46580 return 0;
46581 }' > conftest.cpp
46582
46583 wx_cv_gcc_pch_bug="pch not supported"
46584
46585 if $CXX conftest.h >/dev/null 2>&1
46586 then
46587 wx_cv_gcc_pch_bug=
46588
46589 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46590 then
46591 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46592 grep awidetest >/dev/null
46593 then
46594 wx_cv_gcc_pch_bug=no
46595 else
46596 wx_cv_gcc_pch_bug=yes
46597 fi
46598 fi
46599 fi
46600
46601 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46602
46603 fi
46604 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46605 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46606
46607 if test "$wx_cv_gcc_pch_bug" = yes; then
46608 bk_use_pch=no
46609 fi
46610 fi
46611
46612
46613
46614
46615 if test "x$BAKEFILE_HOST" = "x"; then
46616 if test "x${host}" = "x" ; then
46617 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46618 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46619 { (exit 1); exit 1; }; }
46620 fi
46621
46622 BAKEFILE_HOST="${host}"
46623 fi
46624
46625 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46626
46627 if test -n "$ac_tool_prefix"; then
46628 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46632 if test "${ac_cv_prog_RANLIB+set}" = set; then
46633 echo $ECHO_N "(cached) $ECHO_C" >&6
46634 else
46635 if test -n "$RANLIB"; then
46636 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46637 else
46638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46639 for as_dir in $PATH
46640 do
46641 IFS=$as_save_IFS
46642 test -z "$as_dir" && as_dir=.
46643 for ac_exec_ext in '' $ac_executable_extensions; do
46644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46645 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46647 break 2
46648 fi
46649 done
46650 done
46651 IFS=$as_save_IFS
46652
46653 fi
46654 fi
46655 RANLIB=$ac_cv_prog_RANLIB
46656 if test -n "$RANLIB"; then
46657 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46658 echo "${ECHO_T}$RANLIB" >&6; }
46659 else
46660 { echo "$as_me:$LINENO: result: no" >&5
46661 echo "${ECHO_T}no" >&6; }
46662 fi
46663
46664
46665 fi
46666 if test -z "$ac_cv_prog_RANLIB"; then
46667 ac_ct_RANLIB=$RANLIB
46668 # Extract the first word of "ranlib", so it can be a program name with args.
46669 set dummy ranlib; ac_word=$2
46670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46672 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46673 echo $ECHO_N "(cached) $ECHO_C" >&6
46674 else
46675 if test -n "$ac_ct_RANLIB"; then
46676 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46677 else
46678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46679 for as_dir in $PATH
46680 do
46681 IFS=$as_save_IFS
46682 test -z "$as_dir" && as_dir=.
46683 for ac_exec_ext in '' $ac_executable_extensions; do
46684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46685 ac_cv_prog_ac_ct_RANLIB="ranlib"
46686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46687 break 2
46688 fi
46689 done
46690 done
46691 IFS=$as_save_IFS
46692
46693 fi
46694 fi
46695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46696 if test -n "$ac_ct_RANLIB"; then
46697 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46698 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46699 else
46700 { echo "$as_me:$LINENO: result: no" >&5
46701 echo "${ECHO_T}no" >&6; }
46702 fi
46703
46704 if test "x$ac_ct_RANLIB" = x; then
46705 RANLIB=":"
46706 else
46707 case $cross_compiling:$ac_tool_warned in
46708 yes:)
46709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46710 whose name does not start with the host triplet. If you think this
46711 configuration is useful to you, please write to autoconf@gnu.org." >&5
46712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46713 whose name does not start with the host triplet. If you think this
46714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46715 ac_tool_warned=yes ;;
46716 esac
46717 RANLIB=$ac_ct_RANLIB
46718 fi
46719 else
46720 RANLIB="$ac_cv_prog_RANLIB"
46721 fi
46722
46723 # Find a good install program. We prefer a C program (faster),
46724 # so one script is as good as another. But avoid the broken or
46725 # incompatible versions:
46726 # SysV /etc/install, /usr/sbin/install
46727 # SunOS /usr/etc/install
46728 # IRIX /sbin/install
46729 # AIX /bin/install
46730 # AmigaOS /C/install, which installs bootblocks on floppy discs
46731 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46732 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46733 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46734 # OS/2's system install, which has a completely different semantic
46735 # ./install, which can be erroneously created by make from ./install.sh.
46736 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46737 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46738 if test -z "$INSTALL"; then
46739 if test "${ac_cv_path_install+set}" = set; then
46740 echo $ECHO_N "(cached) $ECHO_C" >&6
46741 else
46742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46743 for as_dir in $PATH
46744 do
46745 IFS=$as_save_IFS
46746 test -z "$as_dir" && as_dir=.
46747 # Account for people who put trailing slashes in PATH elements.
46748 case $as_dir/ in
46749 ./ | .// | /cC/* | \
46750 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46751 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46752 /usr/ucb/* ) ;;
46753 *)
46754 # OSF1 and SCO ODT 3.0 have their own names for install.
46755 # Don't use installbsd from OSF since it installs stuff as root
46756 # by default.
46757 for ac_prog in ginstall scoinst install; do
46758 for ac_exec_ext in '' $ac_executable_extensions; do
46759 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46760 if test $ac_prog = install &&
46761 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46762 # AIX install. It has an incompatible calling convention.
46763 :
46764 elif test $ac_prog = install &&
46765 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46766 # program-specific install script used by HP pwplus--don't use.
46767 :
46768 else
46769 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46770 break 3
46771 fi
46772 fi
46773 done
46774 done
46775 ;;
46776 esac
46777 done
46778 IFS=$as_save_IFS
46779
46780
46781 fi
46782 if test "${ac_cv_path_install+set}" = set; then
46783 INSTALL=$ac_cv_path_install
46784 else
46785 # As a last resort, use the slow shell script. Don't cache a
46786 # value for INSTALL within a source directory, because that will
46787 # break other packages using the cache if that directory is
46788 # removed, or if the value is a relative name.
46789 INSTALL=$ac_install_sh
46790 fi
46791 fi
46792 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46793 echo "${ECHO_T}$INSTALL" >&6; }
46794
46795 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46796 # It thinks the first close brace ends the variable substitution.
46797 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46798
46799 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46800
46801 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46802
46803 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46804 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46805 LN_S=$as_ln_s
46806 if test "$LN_S" = "ln -s"; then
46807 { echo "$as_me:$LINENO: result: yes" >&5
46808 echo "${ECHO_T}yes" >&6; }
46809 else
46810 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46811 echo "${ECHO_T}no, using $LN_S" >&6; }
46812 fi
46813
46814
46815 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46816 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46817 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46818 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46819 echo $ECHO_N "(cached) $ECHO_C" >&6
46820 else
46821 cat >conftest.make <<\_ACEOF
46822 SHELL = /bin/sh
46823 all:
46824 @echo '@@@%%%=$(MAKE)=@@@%%%'
46825 _ACEOF
46826 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46827 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46828 *@@@%%%=?*=@@@%%%*)
46829 eval ac_cv_prog_make_${ac_make}_set=yes;;
46830 *)
46831 eval ac_cv_prog_make_${ac_make}_set=no;;
46832 esac
46833 rm -f conftest.make
46834 fi
46835 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46836 { echo "$as_me:$LINENO: result: yes" >&5
46837 echo "${ECHO_T}yes" >&6; }
46838 SET_MAKE=
46839 else
46840 { echo "$as_me:$LINENO: result: no" >&5
46841 echo "${ECHO_T}no" >&6; }
46842 SET_MAKE="MAKE=${MAKE-make}"
46843 fi
46844
46845
46846
46847 if test "x$SUNCXX" = "xyes"; then
46848 AR=$CXX
46849 AROPTIONS="-xar -o"
46850
46851 elif test "x$SGICC" = "xyes"; then
46852 AR=$CXX
46853 AROPTIONS="-ar -o"
46854
46855 else
46856 if test -n "$ac_tool_prefix"; then
46857 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46858 set dummy ${ac_tool_prefix}ar; ac_word=$2
46859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46861 if test "${ac_cv_prog_AR+set}" = set; then
46862 echo $ECHO_N "(cached) $ECHO_C" >&6
46863 else
46864 if test -n "$AR"; then
46865 ac_cv_prog_AR="$AR" # Let the user override the test.
46866 else
46867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46868 for as_dir in $PATH
46869 do
46870 IFS=$as_save_IFS
46871 test -z "$as_dir" && as_dir=.
46872 for ac_exec_ext in '' $ac_executable_extensions; do
46873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46874 ac_cv_prog_AR="${ac_tool_prefix}ar"
46875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46876 break 2
46877 fi
46878 done
46879 done
46880 IFS=$as_save_IFS
46881
46882 fi
46883 fi
46884 AR=$ac_cv_prog_AR
46885 if test -n "$AR"; then
46886 { echo "$as_me:$LINENO: result: $AR" >&5
46887 echo "${ECHO_T}$AR" >&6; }
46888 else
46889 { echo "$as_me:$LINENO: result: no" >&5
46890 echo "${ECHO_T}no" >&6; }
46891 fi
46892
46893
46894 fi
46895 if test -z "$ac_cv_prog_AR"; then
46896 ac_ct_AR=$AR
46897 # Extract the first word of "ar", so it can be a program name with args.
46898 set dummy ar; ac_word=$2
46899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46901 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46902 echo $ECHO_N "(cached) $ECHO_C" >&6
46903 else
46904 if test -n "$ac_ct_AR"; then
46905 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46906 else
46907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46908 for as_dir in $PATH
46909 do
46910 IFS=$as_save_IFS
46911 test -z "$as_dir" && as_dir=.
46912 for ac_exec_ext in '' $ac_executable_extensions; do
46913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46914 ac_cv_prog_ac_ct_AR="ar"
46915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46916 break 2
46917 fi
46918 done
46919 done
46920 IFS=$as_save_IFS
46921
46922 fi
46923 fi
46924 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46925 if test -n "$ac_ct_AR"; then
46926 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46927 echo "${ECHO_T}$ac_ct_AR" >&6; }
46928 else
46929 { echo "$as_me:$LINENO: result: no" >&5
46930 echo "${ECHO_T}no" >&6; }
46931 fi
46932
46933 if test "x$ac_ct_AR" = x; then
46934 AR="ar"
46935 else
46936 case $cross_compiling:$ac_tool_warned in
46937 yes:)
46938 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46939 whose name does not start with the host triplet. If you think this
46940 configuration is useful to you, please write to autoconf@gnu.org." >&5
46941 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46942 whose name does not start with the host triplet. If you think this
46943 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46944 ac_tool_warned=yes ;;
46945 esac
46946 AR=$ac_ct_AR
46947 fi
46948 else
46949 AR="$ac_cv_prog_AR"
46950 fi
46951
46952 AROPTIONS=rcu
46953 fi
46954
46955
46956 if test -n "$ac_tool_prefix"; then
46957 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46958 set dummy ${ac_tool_prefix}strip; ac_word=$2
46959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46961 if test "${ac_cv_prog_STRIP+set}" = set; then
46962 echo $ECHO_N "(cached) $ECHO_C" >&6
46963 else
46964 if test -n "$STRIP"; then
46965 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46966 else
46967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46968 for as_dir in $PATH
46969 do
46970 IFS=$as_save_IFS
46971 test -z "$as_dir" && as_dir=.
46972 for ac_exec_ext in '' $ac_executable_extensions; do
46973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46974 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46976 break 2
46977 fi
46978 done
46979 done
46980 IFS=$as_save_IFS
46981
46982 fi
46983 fi
46984 STRIP=$ac_cv_prog_STRIP
46985 if test -n "$STRIP"; then
46986 { echo "$as_me:$LINENO: result: $STRIP" >&5
46987 echo "${ECHO_T}$STRIP" >&6; }
46988 else
46989 { echo "$as_me:$LINENO: result: no" >&5
46990 echo "${ECHO_T}no" >&6; }
46991 fi
46992
46993
46994 fi
46995 if test -z "$ac_cv_prog_STRIP"; then
46996 ac_ct_STRIP=$STRIP
46997 # Extract the first word of "strip", so it can be a program name with args.
46998 set dummy strip; ac_word=$2
46999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47001 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47002 echo $ECHO_N "(cached) $ECHO_C" >&6
47003 else
47004 if test -n "$ac_ct_STRIP"; then
47005 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47006 else
47007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47008 for as_dir in $PATH
47009 do
47010 IFS=$as_save_IFS
47011 test -z "$as_dir" && as_dir=.
47012 for ac_exec_ext in '' $ac_executable_extensions; do
47013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47014 ac_cv_prog_ac_ct_STRIP="strip"
47015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47016 break 2
47017 fi
47018 done
47019 done
47020 IFS=$as_save_IFS
47021
47022 fi
47023 fi
47024 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47025 if test -n "$ac_ct_STRIP"; then
47026 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47027 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47028 else
47029 { echo "$as_me:$LINENO: result: no" >&5
47030 echo "${ECHO_T}no" >&6; }
47031 fi
47032
47033 if test "x$ac_ct_STRIP" = x; then
47034 STRIP=":"
47035 else
47036 case $cross_compiling:$ac_tool_warned in
47037 yes:)
47038 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47039 whose name does not start with the host triplet. If you think this
47040 configuration is useful to you, please write to autoconf@gnu.org." >&5
47041 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47042 whose name does not start with the host triplet. If you think this
47043 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47044 ac_tool_warned=yes ;;
47045 esac
47046 STRIP=$ac_ct_STRIP
47047 fi
47048 else
47049 STRIP="$ac_cv_prog_STRIP"
47050 fi
47051
47052 if test -n "$ac_tool_prefix"; then
47053 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47054 set dummy ${ac_tool_prefix}nm; ac_word=$2
47055 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47057 if test "${ac_cv_prog_NM+set}" = set; then
47058 echo $ECHO_N "(cached) $ECHO_C" >&6
47059 else
47060 if test -n "$NM"; then
47061 ac_cv_prog_NM="$NM" # Let the user override the test.
47062 else
47063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47064 for as_dir in $PATH
47065 do
47066 IFS=$as_save_IFS
47067 test -z "$as_dir" && as_dir=.
47068 for ac_exec_ext in '' $ac_executable_extensions; do
47069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47070 ac_cv_prog_NM="${ac_tool_prefix}nm"
47071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47072 break 2
47073 fi
47074 done
47075 done
47076 IFS=$as_save_IFS
47077
47078 fi
47079 fi
47080 NM=$ac_cv_prog_NM
47081 if test -n "$NM"; then
47082 { echo "$as_me:$LINENO: result: $NM" >&5
47083 echo "${ECHO_T}$NM" >&6; }
47084 else
47085 { echo "$as_me:$LINENO: result: no" >&5
47086 echo "${ECHO_T}no" >&6; }
47087 fi
47088
47089
47090 fi
47091 if test -z "$ac_cv_prog_NM"; then
47092 ac_ct_NM=$NM
47093 # Extract the first word of "nm", so it can be a program name with args.
47094 set dummy nm; ac_word=$2
47095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47097 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47098 echo $ECHO_N "(cached) $ECHO_C" >&6
47099 else
47100 if test -n "$ac_ct_NM"; then
47101 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47102 else
47103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47104 for as_dir in $PATH
47105 do
47106 IFS=$as_save_IFS
47107 test -z "$as_dir" && as_dir=.
47108 for ac_exec_ext in '' $ac_executable_extensions; do
47109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47110 ac_cv_prog_ac_ct_NM="nm"
47111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47112 break 2
47113 fi
47114 done
47115 done
47116 IFS=$as_save_IFS
47117
47118 fi
47119 fi
47120 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47121 if test -n "$ac_ct_NM"; then
47122 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47123 echo "${ECHO_T}$ac_ct_NM" >&6; }
47124 else
47125 { echo "$as_me:$LINENO: result: no" >&5
47126 echo "${ECHO_T}no" >&6; }
47127 fi
47128
47129 if test "x$ac_ct_NM" = x; then
47130 NM=":"
47131 else
47132 case $cross_compiling:$ac_tool_warned in
47133 yes:)
47134 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47135 whose name does not start with the host triplet. If you think this
47136 configuration is useful to you, please write to autoconf@gnu.org." >&5
47137 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47138 whose name does not start with the host triplet. If you think this
47139 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47140 ac_tool_warned=yes ;;
47141 esac
47142 NM=$ac_ct_NM
47143 fi
47144 else
47145 NM="$ac_cv_prog_NM"
47146 fi
47147
47148
47149 case ${BAKEFILE_HOST} in
47150 *-hp-hpux* )
47151 INSTALL_DIR="mkdir -p"
47152 ;;
47153 * )
47154 INSTALL_DIR='$(INSTALL) -d'
47155 ;;
47156 esac
47157
47158
47159 LDFLAGS_GUI=
47160 case ${BAKEFILE_HOST} in
47161 *-*-cygwin* | *-*-mingw32* )
47162 LDFLAGS_GUI="-mwindows"
47163 esac
47164
47165
47166 fi
47167
47168 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47169 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47170 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47171 echo $ECHO_N "(cached) $ECHO_C" >&6
47172 else
47173
47174 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47175 egrep -s GNU > /dev/null); then
47176 bakefile_cv_prog_makeisgnu="yes"
47177 else
47178 bakefile_cv_prog_makeisgnu="no"
47179 fi
47180
47181 fi
47182 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47183 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47184
47185 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47186 IF_GNU_MAKE=""
47187 else
47188 IF_GNU_MAKE="#"
47189 fi
47190
47191
47192
47193 PLATFORM_UNIX=0
47194 PLATFORM_WIN32=0
47195 PLATFORM_MSDOS=0
47196 PLATFORM_MAC=0
47197 PLATFORM_MACOS=0
47198 PLATFORM_MACOSX=0
47199 PLATFORM_OS2=0
47200 PLATFORM_BEOS=0
47201
47202 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47203 case "${BAKEFILE_HOST}" in
47204 *-*-mingw32* )
47205 PLATFORM_WIN32=1
47206 ;;
47207 *-pc-msdosdjgpp )
47208 PLATFORM_MSDOS=1
47209 ;;
47210 *-pc-os2_emx | *-pc-os2-emx )
47211 PLATFORM_OS2=1
47212 ;;
47213 *-*-darwin* )
47214 PLATFORM_MAC=1
47215 PLATFORM_MACOSX=1
47216 ;;
47217 *-*-beos* )
47218 PLATFORM_BEOS=1
47219 ;;
47220 powerpc-apple-macos* )
47221 PLATFORM_MAC=1
47222 PLATFORM_MACOS=1
47223 ;;
47224 * )
47225 PLATFORM_UNIX=1
47226 ;;
47227 esac
47228 else
47229 case "$BAKEFILE_FORCE_PLATFORM" in
47230 win32 )
47231 PLATFORM_WIN32=1
47232 ;;
47233 msdos )
47234 PLATFORM_MSDOS=1
47235 ;;
47236 os2 )
47237 PLATFORM_OS2=1
47238 ;;
47239 darwin )
47240 PLATFORM_MAC=1
47241 PLATFORM_MACOSX=1
47242 ;;
47243 unix )
47244 PLATFORM_UNIX=1
47245 ;;
47246 beos )
47247 PLATFORM_BEOS=1
47248 ;;
47249 * )
47250 ;;
47251 esac
47252 fi
47253
47254
47255
47256
47257
47258
47259
47260
47261
47262
47263
47264 # Check whether --enable-omf was given.
47265 if test "${enable_omf+set}" = set; then
47266 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47267 fi
47268
47269
47270 case "${BAKEFILE_HOST}" in
47271 *-*-darwin* )
47272 if test "x$GCC" = "xyes"; then
47273 CFLAGS="$CFLAGS -fno-common"
47274 CXXFLAGS="$CXXFLAGS -fno-common"
47275 fi
47276 if test "x$XLCC" = "xyes"; then
47277 CFLAGS="$CFLAGS -qnocommon"
47278 CXXFLAGS="$CXXFLAGS -qnocommon"
47279 fi
47280 ;;
47281
47282 *-pc-os2_emx | *-pc-os2-emx )
47283 if test "x$bk_os2_use_omf" = "xyes" ; then
47284 AR=emxomfar
47285 RANLIB=:
47286 LDFLAGS="-Zomf $LDFLAGS"
47287 CFLAGS="-Zomf $CFLAGS"
47288 CXXFLAGS="-Zomf $CXXFLAGS"
47289 OS2_LIBEXT="lib"
47290 else
47291 OS2_LIBEXT="a"
47292 fi
47293 ;;
47294
47295 i*86-*-beos* )
47296 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47297 ;;
47298 esac
47299
47300
47301 SO_SUFFIX="so"
47302 SO_SUFFIX_MODULE="so"
47303 EXEEXT=""
47304 LIBPREFIX="lib"
47305 LIBEXT=".a"
47306 DLLPREFIX="lib"
47307 DLLPREFIX_MODULE=""
47308 DLLIMP_SUFFIX=""
47309 dlldir="$libdir"
47310
47311 case "${BAKEFILE_HOST}" in
47312 *-hp-hpux* )
47313 SO_SUFFIX="sl"
47314 SO_SUFFIX_MODULE="sl"
47315 ;;
47316 *-*-aix* )
47317 SO_SUFFIX="a"
47318 SO_SUFFIX_MODULE="a"
47319 ;;
47320 *-*-cygwin* )
47321 SO_SUFFIX="dll"
47322 SO_SUFFIX_MODULE="dll"
47323 DLLIMP_SUFFIX="dll.a"
47324 EXEEXT=".exe"
47325 DLLPREFIX="cyg"
47326 dlldir="$bindir"
47327 ;;
47328 *-*-mingw32* )
47329 SO_SUFFIX="dll"
47330 SO_SUFFIX_MODULE="dll"
47331 DLLIMP_SUFFIX="dll.a"
47332 EXEEXT=".exe"
47333 DLLPREFIX=""
47334 dlldir="$bindir"
47335 ;;
47336 *-pc-msdosdjgpp )
47337 EXEEXT=".exe"
47338 DLLPREFIX=""
47339 dlldir="$bindir"
47340 ;;
47341 *-pc-os2_emx | *-pc-os2-emx )
47342 SO_SUFFIX="dll"
47343 SO_SUFFIX_MODULE="dll"
47344 DLLIMP_SUFFIX=$OS2_LIBEXT
47345 EXEEXT=".exe"
47346 DLLPREFIX=""
47347 LIBPREFIX=""
47348 LIBEXT=".$OS2_LIBEXT"
47349 dlldir="$bindir"
47350 ;;
47351 *-*-darwin* )
47352 SO_SUFFIX="dylib"
47353 SO_SUFFIX_MODULE="bundle"
47354 ;;
47355 esac
47356
47357 if test "x$DLLIMP_SUFFIX" = "x" ; then
47358 DLLIMP_SUFFIX="$SO_SUFFIX"
47359 fi
47360
47361
47362
47363
47364
47365
47366
47367
47368
47369
47370
47371
47372 PIC_FLAG=""
47373 if test "x$GCC" = "xyes"; then
47374 PIC_FLAG="-fPIC"
47375 fi
47376
47377 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47378 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47379 WINDOWS_IMPLIB=0
47380
47381 case "${BAKEFILE_HOST}" in
47382 *-hp-hpux* )
47383 if test "x$GCC" != "xyes"; then
47384 LDFLAGS="$LDFLAGS -L/usr/lib"
47385
47386 SHARED_LD_CC="${CC} -b -o"
47387 SHARED_LD_CXX="${CXX} -b -o"
47388 PIC_FLAG="+Z"
47389 fi
47390 ;;
47391
47392 *-*-linux* )
47393 if test "$INTELCC" = "yes"; then
47394 PIC_FLAG="-KPIC"
47395 elif test "x$SUNCXX" = "xyes"; then
47396 SHARED_LD_CC="${CC} -G -o"
47397 SHARED_LD_CXX="${CXX} -G -o"
47398 PIC_FLAG="-KPIC"
47399 fi
47400 ;;
47401
47402 *-*-solaris2* )
47403 if test "x$SUNCXX" = xyes ; then
47404 SHARED_LD_CC="${CC} -G -o"
47405 SHARED_LD_CXX="${CXX} -G -o"
47406 PIC_FLAG="-KPIC"
47407 fi
47408 ;;
47409
47410 *-*-darwin* )
47411
47412 D='$'
47413 cat <<EOF >shared-ld-sh
47414 #!/bin/sh
47415 #-----------------------------------------------------------------------------
47416 #-- Name: distrib/mac/shared-ld-sh
47417 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47418 #-- Author: Gilles Depeyrot
47419 #-- Copyright: (c) 2002 Gilles Depeyrot
47420 #-- Licence: any use permitted
47421 #-----------------------------------------------------------------------------
47422
47423 verbose=0
47424 args=""
47425 objects=""
47426 linking_flag="-dynamiclib"
47427 ldargs="-r -keep_private_externs -nostdlib"
47428
47429 while test ${D}# -gt 0; do
47430 case ${D}1 in
47431
47432 -v)
47433 verbose=1
47434 ;;
47435
47436 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47437 # collect these options and values
47438 args="${D}{args} ${D}1 ${D}2"
47439 shift
47440 ;;
47441
47442 -s|-Wl,*)
47443 # collect these load args
47444 ldargs="${D}{ldargs} ${D}1"
47445 ;;
47446
47447 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47448 # collect these options
47449 args="${D}{args} ${D}1"
47450 ;;
47451
47452 -dynamiclib|-bundle)
47453 linking_flag="${D}1"
47454 ;;
47455
47456 -*)
47457 echo "shared-ld: unhandled option '${D}1'"
47458 exit 1
47459 ;;
47460
47461 *.o | *.a | *.dylib)
47462 # collect object files
47463 objects="${D}{objects} ${D}1"
47464 ;;
47465
47466 *)
47467 echo "shared-ld: unhandled argument '${D}1'"
47468 exit 1
47469 ;;
47470
47471 esac
47472 shift
47473 done
47474
47475 status=0
47476
47477 #
47478 # Link one module containing all the others
47479 #
47480 if test ${D}{verbose} = 1; then
47481 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47482 fi
47483 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47484 status=${D}?
47485
47486 #
47487 # Link the shared library from the single module created, but only if the
47488 # previous command didn't fail:
47489 #
47490 if test ${D}{status} = 0; then
47491 if test ${D}{verbose} = 1; then
47492 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47493 fi
47494 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47495 status=${D}?
47496 fi
47497
47498 #
47499 # Remove intermediate module
47500 #
47501 rm -f master.${D}${D}.o
47502
47503 exit ${D}status
47504 EOF
47505
47506 chmod +x shared-ld-sh
47507
47508 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47509 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47510
47511
47512 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47513 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47514 if test "${bakefile_cv_gcc31+set}" = set; then
47515 echo $ECHO_N "(cached) $ECHO_C" >&6
47516 else
47517
47518 cat >conftest.$ac_ext <<_ACEOF
47519 /* confdefs.h. */
47520 _ACEOF
47521 cat confdefs.h >>conftest.$ac_ext
47522 cat >>conftest.$ac_ext <<_ACEOF
47523 /* end confdefs.h. */
47524
47525 int
47526 main ()
47527 {
47528
47529 #if (__GNUC__ < 3) || \
47530 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47531 This is old gcc
47532 #endif
47533
47534 ;
47535 return 0;
47536 }
47537 _ACEOF
47538 rm -f conftest.$ac_objext
47539 if { (ac_try="$ac_compile"
47540 case "(($ac_try" in
47541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47542 *) ac_try_echo=$ac_try;;
47543 esac
47544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47545 (eval "$ac_compile") 2>conftest.er1
47546 ac_status=$?
47547 grep -v '^ *+' conftest.er1 >conftest.err
47548 rm -f conftest.er1
47549 cat conftest.err >&5
47550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47551 (exit $ac_status); } && {
47552 test -z "$ac_c_werror_flag" ||
47553 test ! -s conftest.err
47554 } && test -s conftest.$ac_objext; then
47555
47556 bakefile_cv_gcc31=yes
47557
47558 else
47559 echo "$as_me: failed program was:" >&5
47560 sed 's/^/| /' conftest.$ac_ext >&5
47561
47562
47563 bakefile_cv_gcc31=no
47564
47565
47566 fi
47567
47568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47569
47570 fi
47571 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47572 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47573 if test "$bakefile_cv_gcc31" = "no"; then
47574 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47575 SHARED_LD_CXX="$SHARED_LD_CC"
47576 else
47577 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47578 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47579 fi
47580
47581 if test "x$GCC" == "xyes"; then
47582 PIC_FLAG="-dynamic -fPIC"
47583 fi
47584 if test "x$XLCC" = "xyes"; then
47585 PIC_FLAG="-dynamic -DPIC"
47586 fi
47587 ;;
47588
47589 *-*-aix* )
47590 if test "x$GCC" = "xyes"; then
47591 PIC_FLAG=""
47592
47593 case "${BAKEFILE_HOST}" in
47594 *-*-aix5* )
47595 LD_EXPFULL="-Wl,-bexpfull"
47596 ;;
47597 esac
47598
47599 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47600 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47601 else
47602 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47603 set dummy makeC++SharedLib; ac_word=$2
47604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47606 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47607 echo $ECHO_N "(cached) $ECHO_C" >&6
47608 else
47609 if test -n "$AIX_CXX_LD"; then
47610 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47611 else
47612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47613 for as_dir in $PATH
47614 do
47615 IFS=$as_save_IFS
47616 test -z "$as_dir" && as_dir=.
47617 for ac_exec_ext in '' $ac_executable_extensions; do
47618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47619 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47621 break 2
47622 fi
47623 done
47624 done
47625 IFS=$as_save_IFS
47626
47627 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47628 fi
47629 fi
47630 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47631 if test -n "$AIX_CXX_LD"; then
47632 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47633 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47634 else
47635 { echo "$as_me:$LINENO: result: no" >&5
47636 echo "${ECHO_T}no" >&6; }
47637 fi
47638
47639
47640 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47641 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47642 fi
47643 ;;
47644
47645 *-*-beos* )
47646 SHARED_LD_CC="${LD} -nostart -o"
47647 SHARED_LD_CXX="${LD} -nostart -o"
47648 ;;
47649
47650 *-*-irix* )
47651 if test "x$GCC" != "xyes"; then
47652 PIC_FLAG="-KPIC"
47653 fi
47654 ;;
47655
47656 *-*-cygwin* | *-*-mingw32* )
47657 PIC_FLAG=""
47658 SHARED_LD_CC="\$(CC) -shared -o"
47659 SHARED_LD_CXX="\$(CXX) -shared -o"
47660 WINDOWS_IMPLIB=1
47661 ;;
47662
47663 *-pc-os2_emx | *-pc-os2-emx )
47664 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47665 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47666 PIC_FLAG=""
47667
47668 D='$'
47669 cat <<EOF >dllar.sh
47670 #!/bin/sh
47671 #
47672 # dllar - a tool to build both a .dll and an .a file
47673 # from a set of object (.o) files for EMX/OS2.
47674 #
47675 # Written by Andrew Zabolotny, bit@freya.etu.ru
47676 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47677 #
47678 # This script will accept a set of files on the command line.
47679 # All the public symbols from the .o files will be exported into
47680 # a .DEF file, then linker will be run (through gcc) against them to
47681 # build a shared library consisting of all given .o files. All libraries
47682 # (.a) will be first decompressed into component .o files then act as
47683 # described above. You can optionally give a description (-d "description")
47684 # which will be put into .DLL. To see the list of accepted options (as well
47685 # as command-line format) simply run this program without options. The .DLL
47686 # is built to be imported by name (there is no guarantee that new versions
47687 # of the library you build will have same ordinals for same symbols).
47688 #
47689 # dllar is free software; you can redistribute it and/or modify
47690 # it under the terms of the GNU General Public License as published by
47691 # the Free Software Foundation; either version 2, or (at your option)
47692 # any later version.
47693 #
47694 # dllar is distributed in the hope that it will be useful,
47695 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47696 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47697 # GNU General Public License for more details.
47698 #
47699 # You should have received a copy of the GNU General Public License
47700 # along with dllar; see the file COPYING. If not, write to the Free
47701 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47702 # 02111-1307, USA.
47703
47704 # To successfuly run this program you will need:
47705 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47706 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47707 # - gcc
47708 # (used to build the .dll)
47709 # - emxexp
47710 # (used to create .def file from .o files)
47711 # - emximp
47712 # (used to create .a file from .def file)
47713 # - GNU text utilites (cat, sort, uniq)
47714 # used to process emxexp output
47715 # - GNU file utilities (mv, rm)
47716 # - GNU sed
47717 # - lxlite (optional, see flag below)
47718 # (used for general .dll cleanup)
47719 #
47720
47721 flag_USE_LXLITE=1;
47722
47723 #
47724 # helper functions
47725 # basnam, variant of basename, which does _not_ remove the path, _iff_
47726 # second argument (suffix to remove) is given
47727 basnam(){
47728 case ${D}# in
47729 1)
47730 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47731 ;;
47732 2)
47733 echo ${D}1 | sed 's/'${D}2'${D}//'
47734 ;;
47735 *)
47736 echo "error in basnam ${D}*"
47737 exit 8
47738 ;;
47739 esac
47740 }
47741
47742 # Cleanup temporary files and output
47743 CleanUp() {
47744 cd ${D}curDir
47745 for i in ${D}inputFiles ; do
47746 case ${D}i in
47747 *!)
47748 rm -rf \`basnam ${D}i !\`
47749 ;;
47750 *)
47751 ;;
47752 esac
47753 done
47754
47755 # Kill result in case of failure as there is just to many stupid make/nmake
47756 # things out there which doesn't do this.
47757 if [ ${D}# -eq 0 ]; then
47758 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47759 fi
47760 }
47761
47762 # Print usage and exit script with rc=1.
47763 PrintHelp() {
47764 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47765 echo ' [-name-mangler-script script.sh]'
47766 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47767 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47768 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47769 echo ' [*.o] [*.a]'
47770 echo '*> "output_file" should have no extension.'
47771 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47772 echo ' The import library name is derived from this and is set to "name".a,'
47773 echo ' unless overridden by -import'
47774 echo '*> "importlib_name" should have no extension.'
47775 echo ' If it has the .o, or .a extension, it is automatically removed.'
47776 echo ' This name is used as the import library name and may be longer and'
47777 echo ' more descriptive than the DLL name which has to follow the old '
47778 echo ' 8.3 convention of FAT.'
47779 echo '*> "script.sh may be given to override the output_file name by a'
47780 echo ' different name. It is mainly useful if the regular make process'
47781 echo ' of some package does not take into account OS/2 restriction of'
47782 echo ' DLL name lengths. It takes the importlib name as input and is'
47783 echo ' supposed to procude a shorter name as output. The script should'
47784 echo ' expect to get importlib_name without extension and should produce'
47785 echo ' a (max.) 8 letter name without extension.'
47786 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47787 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47788 echo ' These flags will be put at the start of GCC command line.'
47789 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47790 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47791 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47792 echo ' If the last character of a symbol is "*", all symbols beginning'
47793 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47794 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47795 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47796 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47797 echo ' C runtime DLLs.'
47798 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47799 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47800 echo ' unchanged to GCC at the end of command line.'
47801 echo '*> If you create a DLL from a library and you do not specify -o,'
47802 echo ' the basename for DLL and import library will be set to library name,'
47803 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47804 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47805 echo ' library will be renamed into gcc_s.a.'
47806 echo '--------'
47807 echo 'Example:'
47808 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47809 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47810 CleanUp
47811 exit 1
47812 }
47813
47814 # Execute a command.
47815 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47816 # @Uses Whatever CleanUp() uses.
47817 doCommand() {
47818 echo "${D}*"
47819 eval ${D}*
47820 rcCmd=${D}?
47821
47822 if [ ${D}rcCmd -ne 0 ]; then
47823 echo "command failed, exit code="${D}rcCmd
47824 CleanUp
47825 exit ${D}rcCmd
47826 fi
47827 }
47828
47829 # main routine
47830 # setup globals
47831 cmdLine=${D}*
47832 outFile=""
47833 outimpFile=""
47834 inputFiles=""
47835 renameScript=""
47836 description=""
47837 CC=gcc.exe
47838 CFLAGS="-s -Zcrtdll"
47839 EXTRA_CFLAGS=""
47840 EXPORT_BY_ORDINALS=0
47841 exclude_symbols=""
47842 library_flags=""
47843 curDir=\`pwd\`
47844 curDirS=curDir
47845 case ${D}curDirS in
47846 */)
47847 ;;
47848 *)
47849 curDirS=${D}{curDirS}"/"
47850 ;;
47851 esac
47852 # Parse commandline
47853 libsToLink=0
47854 omfLinking=0
47855 while [ ${D}1 ]; do
47856 case ${D}1 in
47857 -ord*)
47858 EXPORT_BY_ORDINALS=1;
47859 ;;
47860 -o*)
47861 shift
47862 outFile=${D}1
47863 ;;
47864 -i*)
47865 shift
47866 outimpFile=${D}1
47867 ;;
47868 -name-mangler-script)
47869 shift
47870 renameScript=${D}1
47871 ;;
47872 -d*)
47873 shift
47874 description=${D}1
47875 ;;
47876 -f*)
47877 shift
47878 CFLAGS=${D}1
47879 ;;
47880 -c*)
47881 shift
47882 CC=${D}1
47883 ;;
47884 -h*)
47885 PrintHelp
47886 ;;
47887 -ex*)
47888 shift
47889 exclude_symbols=${D}{exclude_symbols}${D}1" "
47890 ;;
47891 -libf*)
47892 shift
47893 library_flags=${D}{library_flags}${D}1" "
47894 ;;
47895 -nocrt*)
47896 CFLAGS="-s"
47897 ;;
47898 -nolxl*)
47899 flag_USE_LXLITE=0
47900 ;;
47901 -* | /*)
47902 case ${D}1 in
47903 -L* | -l*)
47904 libsToLink=1
47905 ;;
47906 -Zomf)
47907 omfLinking=1
47908 ;;
47909 *)
47910 ;;
47911 esac
47912 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47913 ;;
47914 *.dll)
47915 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47916 if [ ${D}omfLinking -eq 1 ]; then
47917 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47918 else
47919 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47920 fi
47921 ;;
47922 *)
47923 found=0;
47924 if [ ${D}libsToLink -ne 0 ]; then
47925 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47926 else
47927 for file in ${D}1 ; do
47928 if [ -f ${D}file ]; then
47929 inputFiles="${D}{inputFiles} ${D}file"
47930 found=1
47931 fi
47932 done
47933 if [ ${D}found -eq 0 ]; then
47934 echo "ERROR: No file(s) found: "${D}1
47935 exit 8
47936 fi
47937 fi
47938 ;;
47939 esac
47940 shift
47941 done # iterate cmdline words
47942
47943 #
47944 if [ -z "${D}inputFiles" ]; then
47945 echo "dllar: no input files"
47946 PrintHelp
47947 fi
47948
47949 # Now extract all .o files from .a files
47950 newInputFiles=""
47951 for file in ${D}inputFiles ; do
47952 case ${D}file in
47953 *.a | *.lib)
47954 case ${D}file in
47955 *.a)
47956 suffix=".a"
47957 AR="ar"
47958 ;;
47959 *.lib)
47960 suffix=".lib"
47961 AR="emxomfar"
47962 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47963 ;;
47964 *)
47965 ;;
47966 esac
47967 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47968 mkdir ${D}dirname
47969 if [ ${D}? -ne 0 ]; then
47970 echo "Failed to create subdirectory ./${D}dirname"
47971 CleanUp
47972 exit 8;
47973 fi
47974 # Append '!' to indicate archive
47975 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47976 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47977 cd ${D}curDir
47978 found=0;
47979 for subfile in ${D}dirname/*.o* ; do
47980 if [ -f ${D}subfile ]; then
47981 found=1
47982 if [ -s ${D}subfile ]; then
47983 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47984 newInputFiles="${D}newInputFiles ${D}subfile"
47985 fi
47986 fi
47987 done
47988 if [ ${D}found -eq 0 ]; then
47989 echo "WARNING: there are no files in archive \\'${D}file\\'"
47990 fi
47991 ;;
47992 *)
47993 newInputFiles="${D}{newInputFiles} ${D}file"
47994 ;;
47995 esac
47996 done
47997 inputFiles="${D}newInputFiles"
47998
47999 # Output filename(s).
48000 do_backup=0;
48001 if [ -z ${D}outFile ]; then
48002 do_backup=1;
48003 set outFile ${D}inputFiles; outFile=${D}2
48004 fi
48005
48006 # If it is an archive, remove the '!' and the '_%' suffixes
48007 case ${D}outFile in
48008 *_%!)
48009 outFile=\`basnam ${D}outFile _%!\`
48010 ;;
48011 *)
48012 ;;
48013 esac
48014 case ${D}outFile in
48015 *.dll)
48016 outFile=\`basnam ${D}outFile .dll\`
48017 ;;
48018 *.DLL)
48019 outFile=\`basnam ${D}outFile .DLL\`
48020 ;;
48021 *.o)
48022 outFile=\`basnam ${D}outFile .o\`
48023 ;;
48024 *.obj)
48025 outFile=\`basnam ${D}outFile .obj\`
48026 ;;
48027 *.a)
48028 outFile=\`basnam ${D}outFile .a\`
48029 ;;
48030 *.lib)
48031 outFile=\`basnam ${D}outFile .lib\`
48032 ;;
48033 *)
48034 ;;
48035 esac
48036 case ${D}outimpFile in
48037 *.a)
48038 outimpFile=\`basnam ${D}outimpFile .a\`
48039 ;;
48040 *.lib)
48041 outimpFile=\`basnam ${D}outimpFile .lib\`
48042 ;;
48043 *)
48044 ;;
48045 esac
48046 if [ -z ${D}outimpFile ]; then
48047 outimpFile=${D}outFile
48048 fi
48049 defFile="${D}{outFile}.def"
48050 arcFile="${D}{outimpFile}.a"
48051 arcFile2="${D}{outimpFile}.lib"
48052
48053 #create ${D}dllFile as something matching 8.3 restrictions,
48054 if [ -z ${D}renameScript ] ; then
48055 dllFile="${D}outFile"
48056 else
48057 dllFile=\`${D}renameScript ${D}outimpFile\`
48058 fi
48059
48060 if [ ${D}do_backup -ne 0 ] ; then
48061 if [ -f ${D}arcFile ] ; then
48062 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48063 fi
48064 if [ -f ${D}arcFile2 ] ; then
48065 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48066 fi
48067 fi
48068
48069 # Extract public symbols from all the object files.
48070 tmpdefFile=${D}{defFile}_%
48071 rm -f ${D}tmpdefFile
48072 for file in ${D}inputFiles ; do
48073 case ${D}file in
48074 *!)
48075 ;;
48076 *)
48077 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48078 ;;
48079 esac
48080 done
48081
48082 # Create the def file.
48083 rm -f ${D}defFile
48084 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48085 dllFile="${D}{dllFile}.dll"
48086 if [ ! -z ${D}description ]; then
48087 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48088 fi
48089 echo "EXPORTS" >> ${D}defFile
48090
48091 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48092 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48093
48094 # Checks if the export is ok or not.
48095 for word in ${D}exclude_symbols; do
48096 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48097 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48098 done
48099
48100
48101 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48102 sed "=" < ${D}tmpdefFile | \\
48103 sed '
48104 N
48105 : loop
48106 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48107 t loop
48108 ' > ${D}{tmpdefFile}%
48109 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48110 else
48111 rm -f ${D}{tmpdefFile}%
48112 fi
48113 cat ${D}tmpdefFile >> ${D}defFile
48114 rm -f ${D}tmpdefFile
48115
48116 # Do linking, create implib, and apply lxlite.
48117 gccCmdl="";
48118 for file in ${D}inputFiles ; do
48119 case ${D}file in
48120 *!)
48121 ;;
48122 *)
48123 gccCmdl="${D}gccCmdl ${D}file"
48124 ;;
48125 esac
48126 done
48127 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48128 touch "${D}{outFile}.dll"
48129
48130 doCommand "emximp -o ${D}arcFile ${D}defFile"
48131 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48132 add_flags="";
48133 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48134 add_flags="-ynd"
48135 fi
48136 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48137 fi
48138 doCommand "emxomf -s -l ${D}arcFile"
48139
48140 # Successful exit.
48141 CleanUp 1
48142 exit 0
48143 EOF
48144
48145 chmod +x dllar.sh
48146 ;;
48147
48148 powerpc-apple-macos* | \
48149 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48150 *-*-mirbsd* | \
48151 *-*-sunos4* | \
48152 *-*-osf* | \
48153 *-*-dgux5* | \
48154 *-*-sysv5* | \
48155 *-pc-msdosdjgpp )
48156 ;;
48157
48158 *)
48159 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48160 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48161 { (exit 1); exit 1; }; }
48162 esac
48163
48164 if test "x$PIC_FLAG" != "x" ; then
48165 PIC_FLAG="$PIC_FLAG -DPIC"
48166 fi
48167
48168 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48169 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48170 fi
48171 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48172 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48173 fi
48174
48175
48176
48177
48178
48179
48180
48181
48182
48183 USE_SOVERSION=0
48184 USE_SOVERLINUX=0
48185 USE_SOVERSOLARIS=0
48186 USE_SOVERCYGWIN=0
48187 USE_SOSYMLINKS=0
48188 USE_MACVERSION=0
48189 SONAME_FLAG=
48190
48191 case "${BAKEFILE_HOST}" in
48192 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48193 if test "x$SUNCXX" = "xyes"; then
48194 SONAME_FLAG="-h "
48195 else
48196 SONAME_FLAG="-Wl,-soname,"
48197 fi
48198 USE_SOVERSION=1
48199 USE_SOVERLINUX=1
48200 USE_SOSYMLINKS=1
48201 ;;
48202
48203 *-*-solaris2* )
48204 SONAME_FLAG="-h "
48205 USE_SOVERSION=1
48206 USE_SOVERSOLARIS=1
48207 USE_SOSYMLINKS=1
48208 ;;
48209
48210 *-*-darwin* )
48211 USE_MACVERSION=1
48212 USE_SOVERSION=1
48213 USE_SOSYMLINKS=1
48214 ;;
48215
48216 *-*-cygwin* )
48217 USE_SOVERSION=1
48218 USE_SOVERCYGWIN=1
48219 ;;
48220 esac
48221
48222
48223
48224
48225
48226
48227
48228
48229
48230
48231 # Check whether --enable-dependency-tracking was given.
48232 if test "${enable_dependency_tracking+set}" = set; then
48233 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48234 fi
48235
48236
48237 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48238 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48239
48240 BK_DEPS=""
48241 if test "x$bk_use_trackdeps" = "xno" ; then
48242 DEPS_TRACKING=0
48243 { echo "$as_me:$LINENO: result: disabled" >&5
48244 echo "${ECHO_T}disabled" >&6; }
48245 else
48246 DEPS_TRACKING=1
48247
48248 if test "x$GCC" = "xyes"; then
48249 DEPSMODE=gcc
48250 case "${BAKEFILE_HOST}" in
48251 *-*-darwin* )
48252 DEPSFLAG="-no-cpp-precomp -MMD"
48253 ;;
48254 * )
48255 DEPSFLAG="-MMD"
48256 ;;
48257 esac
48258 { echo "$as_me:$LINENO: result: gcc" >&5
48259 echo "${ECHO_T}gcc" >&6; }
48260 elif test "x$MWCC" = "xyes"; then
48261 DEPSMODE=mwcc
48262 DEPSFLAG="-MM"
48263 { echo "$as_me:$LINENO: result: mwcc" >&5
48264 echo "${ECHO_T}mwcc" >&6; }
48265 elif test "x$SUNCC" = "xyes"; then
48266 DEPSMODE=unixcc
48267 DEPSFLAG="-xM1"
48268 { echo "$as_me:$LINENO: result: Sun cc" >&5
48269 echo "${ECHO_T}Sun cc" >&6; }
48270 elif test "x$SGICC" = "xyes"; then
48271 DEPSMODE=unixcc
48272 DEPSFLAG="-M"
48273 { echo "$as_me:$LINENO: result: SGI cc" >&5
48274 echo "${ECHO_T}SGI cc" >&6; }
48275 elif test "x$HPCC" = "xyes"; then
48276 DEPSMODE=unixcc
48277 DEPSFLAG="+make"
48278 { echo "$as_me:$LINENO: result: HP cc" >&5
48279 echo "${ECHO_T}HP cc" >&6; }
48280 elif test "x$COMPAQCC" = "xyes"; then
48281 DEPSMODE=gcc
48282 DEPSFLAG="-MD"
48283 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48284 echo "${ECHO_T}Compaq cc" >&6; }
48285 else
48286 DEPS_TRACKING=0
48287 { echo "$as_me:$LINENO: result: none" >&5
48288 echo "${ECHO_T}none" >&6; }
48289 fi
48290
48291 if test $DEPS_TRACKING = 1 ; then
48292
48293 D='$'
48294 cat <<EOF >bk-deps
48295 #!/bin/sh
48296
48297 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48298 # script. It is used to track C/C++ files dependencies in portable way.
48299 #
48300 # Permission is given to use this file in any way.
48301
48302 DEPSMODE=${DEPSMODE}
48303 DEPSDIR=.deps
48304 DEPSFLAG="${DEPSFLAG}"
48305
48306 mkdir -p ${D}DEPSDIR
48307
48308 if test ${D}DEPSMODE = gcc ; then
48309 ${D}* ${D}{DEPSFLAG}
48310 status=${D}?
48311 if test ${D}{status} != 0 ; then
48312 exit ${D}{status}
48313 fi
48314 # move created file to the location we want it in:
48315 while test ${D}# -gt 0; do
48316 case "${D}1" in
48317 -o )
48318 shift
48319 objfile=${D}1
48320 ;;
48321 -* )
48322 ;;
48323 * )
48324 srcfile=${D}1
48325 ;;
48326 esac
48327 shift
48328 done
48329 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48330 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48331 if test -f ${D}depfile ; then
48332 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48333 rm -f ${D}depfile
48334 else
48335 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48336 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48337 if test ! -f ${D}depfile ; then
48338 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48339 depfile="${D}objfile.d"
48340 fi
48341 if test -f ${D}depfile ; then
48342 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48343 rm -f ${D}depfile
48344 fi
48345 fi
48346 exit 0
48347 elif test ${D}DEPSMODE = mwcc ; then
48348 ${D}* || exit ${D}?
48349 # Run mwcc again with -MM and redirect into the dep file we want
48350 # NOTE: We can't use shift here because we need ${D}* to be valid
48351 prevarg=
48352 for arg in ${D}* ; do
48353 if test "${D}prevarg" = "-o"; then
48354 objfile=${D}arg
48355 else
48356 case "${D}arg" in
48357 -* )
48358 ;;
48359 * )
48360 srcfile=${D}arg
48361 ;;
48362 esac
48363 fi
48364 prevarg="${D}arg"
48365 done
48366 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48367 exit 0
48368 elif test ${D}DEPSMODE = unixcc; then
48369 ${D}* || exit ${D}?
48370 # Run compiler again with deps flag and redirect into the dep file.
48371 # It doesn't work if the '-o FILE' option is used, but without it the
48372 # dependency file will contain the wrong name for the object. So it is
48373 # removed from the command line, and the dep file is fixed with sed.
48374 cmd=""
48375 while test ${D}# -gt 0; do
48376 case "${D}1" in
48377 -o )
48378 shift
48379 objfile=${D}1
48380 ;;
48381 * )
48382 eval arg${D}#=\\${D}1
48383 cmd="${D}cmd \\${D}arg${D}#"
48384 ;;
48385 esac
48386 shift
48387 done
48388 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48389 exit 0
48390 else
48391 ${D}*
48392 exit ${D}?
48393 fi
48394 EOF
48395
48396 chmod +x bk-deps
48397 BK_DEPS="`pwd`/bk-deps"
48398 fi
48399 fi
48400
48401
48402
48403
48404
48405 case ${BAKEFILE_HOST} in
48406 *-*-cygwin* | *-*-mingw32* )
48407 if test -n "$ac_tool_prefix"; then
48408 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48409 set dummy ${ac_tool_prefix}windres; ac_word=$2
48410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48412 if test "${ac_cv_prog_WINDRES+set}" = set; then
48413 echo $ECHO_N "(cached) $ECHO_C" >&6
48414 else
48415 if test -n "$WINDRES"; then
48416 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48417 else
48418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48419 for as_dir in $PATH
48420 do
48421 IFS=$as_save_IFS
48422 test -z "$as_dir" && as_dir=.
48423 for ac_exec_ext in '' $ac_executable_extensions; do
48424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48425 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48427 break 2
48428 fi
48429 done
48430 done
48431 IFS=$as_save_IFS
48432
48433 fi
48434 fi
48435 WINDRES=$ac_cv_prog_WINDRES
48436 if test -n "$WINDRES"; then
48437 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48438 echo "${ECHO_T}$WINDRES" >&6; }
48439 else
48440 { echo "$as_me:$LINENO: result: no" >&5
48441 echo "${ECHO_T}no" >&6; }
48442 fi
48443
48444
48445 fi
48446 if test -z "$ac_cv_prog_WINDRES"; then
48447 ac_ct_WINDRES=$WINDRES
48448 # Extract the first word of "windres", so it can be a program name with args.
48449 set dummy windres; ac_word=$2
48450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48452 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48453 echo $ECHO_N "(cached) $ECHO_C" >&6
48454 else
48455 if test -n "$ac_ct_WINDRES"; then
48456 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48457 else
48458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48459 for as_dir in $PATH
48460 do
48461 IFS=$as_save_IFS
48462 test -z "$as_dir" && as_dir=.
48463 for ac_exec_ext in '' $ac_executable_extensions; do
48464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48465 ac_cv_prog_ac_ct_WINDRES="windres"
48466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48467 break 2
48468 fi
48469 done
48470 done
48471 IFS=$as_save_IFS
48472
48473 fi
48474 fi
48475 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48476 if test -n "$ac_ct_WINDRES"; then
48477 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48478 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48479 else
48480 { echo "$as_me:$LINENO: result: no" >&5
48481 echo "${ECHO_T}no" >&6; }
48482 fi
48483
48484 if test "x$ac_ct_WINDRES" = x; then
48485 WINDRES=""
48486 else
48487 case $cross_compiling:$ac_tool_warned in
48488 yes:)
48489 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48490 whose name does not start with the host triplet. If you think this
48491 configuration is useful to you, please write to autoconf@gnu.org." >&5
48492 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48493 whose name does not start with the host triplet. If you think this
48494 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48495 ac_tool_warned=yes ;;
48496 esac
48497 WINDRES=$ac_ct_WINDRES
48498 fi
48499 else
48500 WINDRES="$ac_cv_prog_WINDRES"
48501 fi
48502
48503 ;;
48504
48505 *-*-darwin* | powerpc-apple-macos* )
48506 # Extract the first word of "Rez", so it can be a program name with args.
48507 set dummy Rez; ac_word=$2
48508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48510 if test "${ac_cv_prog_REZ+set}" = set; then
48511 echo $ECHO_N "(cached) $ECHO_C" >&6
48512 else
48513 if test -n "$REZ"; then
48514 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48515 else
48516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48517 for as_dir in $PATH
48518 do
48519 IFS=$as_save_IFS
48520 test -z "$as_dir" && as_dir=.
48521 for ac_exec_ext in '' $ac_executable_extensions; do
48522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48523 ac_cv_prog_REZ="Rez"
48524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48525 break 2
48526 fi
48527 done
48528 done
48529 IFS=$as_save_IFS
48530
48531 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48532 fi
48533 fi
48534 REZ=$ac_cv_prog_REZ
48535 if test -n "$REZ"; then
48536 { echo "$as_me:$LINENO: result: $REZ" >&5
48537 echo "${ECHO_T}$REZ" >&6; }
48538 else
48539 { echo "$as_me:$LINENO: result: no" >&5
48540 echo "${ECHO_T}no" >&6; }
48541 fi
48542
48543
48544 # Extract the first word of "SetFile", so it can be a program name with args.
48545 set dummy SetFile; ac_word=$2
48546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48548 if test "${ac_cv_prog_SETFILE+set}" = set; then
48549 echo $ECHO_N "(cached) $ECHO_C" >&6
48550 else
48551 if test -n "$SETFILE"; then
48552 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48553 else
48554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48555 for as_dir in $PATH
48556 do
48557 IFS=$as_save_IFS
48558 test -z "$as_dir" && as_dir=.
48559 for ac_exec_ext in '' $ac_executable_extensions; do
48560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48561 ac_cv_prog_SETFILE="SetFile"
48562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48563 break 2
48564 fi
48565 done
48566 done
48567 IFS=$as_save_IFS
48568
48569 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48570 fi
48571 fi
48572 SETFILE=$ac_cv_prog_SETFILE
48573 if test -n "$SETFILE"; then
48574 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48575 echo "${ECHO_T}$SETFILE" >&6; }
48576 else
48577 { echo "$as_me:$LINENO: result: no" >&5
48578 echo "${ECHO_T}no" >&6; }
48579 fi
48580
48581
48582 ;;
48583 esac
48584
48585
48586
48587
48588
48589
48590 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48591
48592
48593 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48594
48595
48596
48597 # Check whether --enable-precomp-headers was given.
48598 if test "${enable_precomp_headers+set}" = set; then
48599 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48600 fi
48601
48602
48603 GCC_PCH=0
48604 ICC_PCH=0
48605 USE_PCH=0
48606 BK_MAKE_PCH=""
48607
48608 case ${BAKEFILE_HOST} in
48609 *-*-cygwin* )
48610 bk_use_pch="no"
48611 ;;
48612 esac
48613
48614 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48615 if test "x$GCC" = "xyes"; then
48616 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48617 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48618 cat >conftest.$ac_ext <<_ACEOF
48619 /* confdefs.h. */
48620 _ACEOF
48621 cat confdefs.h >>conftest.$ac_ext
48622 cat >>conftest.$ac_ext <<_ACEOF
48623 /* end confdefs.h. */
48624
48625 int
48626 main ()
48627 {
48628
48629 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48630 There is no PCH support
48631 #endif
48632 #if (__GNUC__ < 3)
48633 There is no PCH support
48634 #endif
48635 #if (__GNUC__ == 3) && \
48636 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48637 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48638 ( defined(__INTEL_COMPILER) )
48639 There is no PCH support
48640 #endif
48641
48642 ;
48643 return 0;
48644 }
48645 _ACEOF
48646 rm -f conftest.$ac_objext
48647 if { (ac_try="$ac_compile"
48648 case "(($ac_try" in
48649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48650 *) ac_try_echo=$ac_try;;
48651 esac
48652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48653 (eval "$ac_compile") 2>conftest.er1
48654 ac_status=$?
48655 grep -v '^ *+' conftest.er1 >conftest.err
48656 rm -f conftest.er1
48657 cat conftest.err >&5
48658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48659 (exit $ac_status); } && {
48660 test -z "$ac_c_werror_flag" ||
48661 test ! -s conftest.err
48662 } && test -s conftest.$ac_objext; then
48663
48664 { echo "$as_me:$LINENO: result: yes" >&5
48665 echo "${ECHO_T}yes" >&6; }
48666 GCC_PCH=1
48667
48668 else
48669 echo "$as_me: failed program was:" >&5
48670 sed 's/^/| /' conftest.$ac_ext >&5
48671
48672
48673 cat >conftest.$ac_ext <<_ACEOF
48674 /* confdefs.h. */
48675 _ACEOF
48676 cat confdefs.h >>conftest.$ac_ext
48677 cat >>conftest.$ac_ext <<_ACEOF
48678 /* end confdefs.h. */
48679
48680 int
48681 main ()
48682 {
48683
48684 #if !defined(__INTEL_COMPILER) || \
48685 (__INTEL_COMPILER < 800)
48686 There is no PCH support
48687 #endif
48688
48689 ;
48690 return 0;
48691 }
48692 _ACEOF
48693 rm -f conftest.$ac_objext
48694 if { (ac_try="$ac_compile"
48695 case "(($ac_try" in
48696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48697 *) ac_try_echo=$ac_try;;
48698 esac
48699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48700 (eval "$ac_compile") 2>conftest.er1
48701 ac_status=$?
48702 grep -v '^ *+' conftest.er1 >conftest.err
48703 rm -f conftest.er1
48704 cat conftest.err >&5
48705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48706 (exit $ac_status); } && {
48707 test -z "$ac_c_werror_flag" ||
48708 test ! -s conftest.err
48709 } && test -s conftest.$ac_objext; then
48710
48711 { echo "$as_me:$LINENO: result: yes" >&5
48712 echo "${ECHO_T}yes" >&6; }
48713 ICC_PCH=1
48714
48715 else
48716 echo "$as_me: failed program was:" >&5
48717 sed 's/^/| /' conftest.$ac_ext >&5
48718
48719
48720 { echo "$as_me:$LINENO: result: no" >&5
48721 echo "${ECHO_T}no" >&6; }
48722
48723 fi
48724
48725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48726
48727 fi
48728
48729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48730 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48731 USE_PCH=1
48732
48733 D='$'
48734 cat <<EOF >bk-make-pch
48735 #!/bin/sh
48736
48737 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48738 # script. It is used to generated precompiled headers.
48739 #
48740 # Permission is given to use this file in any way.
48741
48742 outfile="${D}{1}"
48743 header="${D}{2}"
48744 shift
48745 shift
48746
48747 compiler=""
48748 headerfile=""
48749
48750 while test ${D}{#} -gt 0; do
48751 add_to_cmdline=1
48752 case "${D}{1}" in
48753 -I* )
48754 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48755 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48756 headerfile="${D}{incdir}/${D}{header}"
48757 fi
48758 ;;
48759 -use-pch|-use_pch )
48760 shift
48761 add_to_cmdline=0
48762 ;;
48763 esac
48764 if test ${D}add_to_cmdline = 1 ; then
48765 compiler="${D}{compiler} ${D}{1}"
48766 fi
48767 shift
48768 done
48769
48770 if test "x${D}{headerfile}" = "x" ; then
48771 echo "error: can't find header ${D}{header} in include paths" >&2
48772 else
48773 if test -f ${D}{outfile} ; then
48774 rm -f ${D}{outfile}
48775 else
48776 mkdir -p \`dirname ${D}{outfile}\`
48777 fi
48778 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48779 mkdir -p .deps
48780 if test "x${GCC_PCH}" = "x1" ; then
48781 # can do this because gcc is >= 3.4:
48782 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48783 elif test "x${ICC_PCH}" = "x1" ; then
48784 filename=pch_gen-${D}${D}
48785 file=${D}{filename}.c
48786 dfile=${D}{filename}.d
48787 cat > ${D}file <<EOT
48788 #include "${D}header"
48789 EOT
48790 # using -MF icc complains about differing command lines in creation/use
48791 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48792 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48793 rm -f ${D}file ${D}dfile ${D}{filename}.o
48794 fi
48795 exit ${D}{?}
48796 fi
48797 EOF
48798
48799 chmod +x bk-make-pch
48800 BK_MAKE_PCH="`pwd`/bk-make-pch"
48801 fi
48802 fi
48803 fi
48804
48805
48806
48807
48808
48809 COND_BUILD_DEBUG="#"
48810 if test "x$BUILD" = "xdebug" ; then
48811 COND_BUILD_DEBUG=""
48812 fi
48813
48814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48815 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48816 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48817 fi
48818
48819 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48820 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48822 fi
48823
48824 COND_BUILD_DEBUG_UNICODE_0="#"
48825 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48826 COND_BUILD_DEBUG_UNICODE_0=""
48827 fi
48828
48829 COND_BUILD_DEBUG_UNICODE_1="#"
48830 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48831 COND_BUILD_DEBUG_UNICODE_1=""
48832 fi
48833
48834 COND_BUILD_RELEASE="#"
48835 if test "x$BUILD" = "xrelease" ; then
48836 COND_BUILD_RELEASE=""
48837 fi
48838
48839 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48840 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48841 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48842 fi
48843
48844 COND_BUILD_RELEASE_UNICODE_0="#"
48845 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48846 COND_BUILD_RELEASE_UNICODE_0=""
48847 fi
48848
48849 COND_BUILD_RELEASE_UNICODE_1="#"
48850 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48851 COND_BUILD_RELEASE_UNICODE_1=""
48852 fi
48853
48854 COND_DEBUG_FLAG_1="#"
48855 if test "x$DEBUG_FLAG" = "x1" ; then
48856 COND_DEBUG_FLAG_1=""
48857 fi
48858
48859 COND_DEBUG_INFO_0="#"
48860 if test "x$DEBUG_INFO" = "x0" ; then
48861 COND_DEBUG_INFO_0=""
48862 fi
48863
48864 COND_DEBUG_INFO_1="#"
48865 if test "x$DEBUG_INFO" = "x1" ; then
48866 COND_DEBUG_INFO_1=""
48867 fi
48868
48869 COND_DEPS_TRACKING_0="#"
48870 if test "x$DEPS_TRACKING" = "x0" ; then
48871 COND_DEPS_TRACKING_0=""
48872 fi
48873
48874 COND_DEPS_TRACKING_1="#"
48875 if test "x$DEPS_TRACKING" = "x1" ; then
48876 COND_DEPS_TRACKING_1=""
48877 fi
48878
48879 COND_GCC_PCH_1="#"
48880 if test "x$GCC_PCH" = "x1" ; then
48881 COND_GCC_PCH_1=""
48882 fi
48883
48884 COND_ICC_PCH_1="#"
48885 if test "x$ICC_PCH" = "x1" ; then
48886 COND_ICC_PCH_1=""
48887 fi
48888
48889 COND_MONOLITHIC_0="#"
48890 if test "x$MONOLITHIC" = "x0" ; then
48891 COND_MONOLITHIC_0=""
48892 fi
48893
48894 COND_MONOLITHIC_0_SHARED_0="#"
48895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48896 COND_MONOLITHIC_0_SHARED_0=""
48897 fi
48898
48899 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48901 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48902 fi
48903
48904 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48906 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48907 fi
48908
48909 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48911 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48912 fi
48913
48914 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48915 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48916 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48917 fi
48918
48919 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48920 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48921 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48922 fi
48923
48924 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48925 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48926 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48927 fi
48928
48929 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48930 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48931 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48932 fi
48933
48934 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48935 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48936 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48937 fi
48938
48939 COND_MONOLITHIC_0_SHARED_1="#"
48940 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48941 COND_MONOLITHIC_0_SHARED_1=""
48942 fi
48943
48944 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48945 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48946 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48947 fi
48948
48949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48950 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48952 fi
48953
48954 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48955 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48956 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48957 fi
48958
48959 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48960 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48961 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48962 fi
48963
48964 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48965 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48966 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48967 fi
48968
48969 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48970 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48971 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48972 fi
48973
48974 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48975 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48976 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48977 fi
48978
48979 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48980 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48981 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48982 fi
48983
48984 COND_MONOLITHIC_0_USE_AUI_1="#"
48985 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48986 COND_MONOLITHIC_0_USE_AUI_1=""
48987 fi
48988
48989 COND_MONOLITHIC_0_USE_GUI_1="#"
48990 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48991 COND_MONOLITHIC_0_USE_GUI_1=""
48992 fi
48993
48994 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48995 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48996 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48997 fi
48998
48999 COND_MONOLITHIC_0_USE_HTML_1="#"
49000 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49001 COND_MONOLITHIC_0_USE_HTML_1=""
49002 fi
49003
49004 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49005 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49006 COND_MONOLITHIC_0_USE_MEDIA_1=""
49007 fi
49008
49009 COND_MONOLITHIC_0_USE_QA_1="#"
49010 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49011 COND_MONOLITHIC_0_USE_QA_1=""
49012 fi
49013
49014 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49015 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49016 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49017 fi
49018
49019 COND_MONOLITHIC_0_USE_STC_1="#"
49020 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49021 COND_MONOLITHIC_0_USE_STC_1=""
49022 fi
49023
49024 COND_MONOLITHIC_0_USE_XRC_1="#"
49025 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49026 COND_MONOLITHIC_0_USE_XRC_1=""
49027 fi
49028
49029 COND_MONOLITHIC_1="#"
49030 if test "x$MONOLITHIC" = "x1" ; then
49031 COND_MONOLITHIC_1=""
49032 fi
49033
49034 COND_MONOLITHIC_1_SHARED_0="#"
49035 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49036 COND_MONOLITHIC_1_SHARED_0=""
49037 fi
49038
49039 COND_MONOLITHIC_1_SHARED_1="#"
49040 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49041 COND_MONOLITHIC_1_SHARED_1=""
49042 fi
49043
49044 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49045 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49046 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49047 fi
49048
49049 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49050 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49051 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49052 fi
49053
49054 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49055 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49056 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49057 fi
49058
49059 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49060 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49061 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49062 fi
49063
49064 COND_PLATFORM_MACOSX_1="#"
49065 if test "x$PLATFORM_MACOSX" = "x1" ; then
49066 COND_PLATFORM_MACOSX_1=""
49067 fi
49068
49069 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49070 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49071 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49072 fi
49073
49074 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49075 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49076 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49077 fi
49078
49079 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49080 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49081 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49082 fi
49083
49084 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49085 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49086 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49087 fi
49088
49089 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49090 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49091 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49092 fi
49093
49094 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49095 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49096 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49097 fi
49098
49099 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49100 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49101 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49102 fi
49103
49104 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49105 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49106 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49107 fi
49108
49109 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49110 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49111 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49112 fi
49113
49114 COND_PLATFORM_MACOS_1="#"
49115 if test "x$PLATFORM_MACOS" = "x1" ; then
49116 COND_PLATFORM_MACOS_1=""
49117 fi
49118
49119 COND_PLATFORM_MAC_1="#"
49120 if test "x$PLATFORM_MAC" = "x1" ; then
49121 COND_PLATFORM_MAC_1=""
49122 fi
49123
49124 COND_PLATFORM_MSDOS_0="#"
49125 if test "x$PLATFORM_MSDOS" = "x0" ; then
49126 COND_PLATFORM_MSDOS_0=""
49127 fi
49128
49129 COND_PLATFORM_MSDOS_1="#"
49130 if test "x$PLATFORM_MSDOS" = "x1" ; then
49131 COND_PLATFORM_MSDOS_1=""
49132 fi
49133
49134 COND_PLATFORM_OS2_1="#"
49135 if test "x$PLATFORM_OS2" = "x1" ; then
49136 COND_PLATFORM_OS2_1=""
49137 fi
49138
49139 COND_PLATFORM_UNIX_0="#"
49140 if test "x$PLATFORM_UNIX" = "x0" ; then
49141 COND_PLATFORM_UNIX_0=""
49142 fi
49143
49144 COND_PLATFORM_UNIX_1="#"
49145 if test "x$PLATFORM_UNIX" = "x1" ; then
49146 COND_PLATFORM_UNIX_1=""
49147 fi
49148
49149 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49150 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49151 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49152 fi
49153
49154 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49155 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49156 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49157 fi
49158
49159 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49160 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49161 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49162 fi
49163
49164 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49165 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49166 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49167 fi
49168
49169 COND_PLATFORM_WIN32_0="#"
49170 if test "x$PLATFORM_WIN32" = "x0" ; then
49171 COND_PLATFORM_WIN32_0=""
49172 fi
49173
49174 COND_PLATFORM_WIN32_1="#"
49175 if test "x$PLATFORM_WIN32" = "x1" ; then
49176 COND_PLATFORM_WIN32_1=""
49177 fi
49178
49179 COND_SHARED_0="#"
49180 if test "x$SHARED" = "x0" ; then
49181 COND_SHARED_0=""
49182 fi
49183
49184 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49185 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49186 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49187 fi
49188
49189 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49190 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49191 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49192 fi
49193
49194 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49195 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49196 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49197 fi
49198
49199 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49200 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49201 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49202 fi
49203
49204 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49205 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49206 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49207 fi
49208
49209 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49210 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49211 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49212 fi
49213
49214 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49215 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49216 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49217 fi
49218
49219 COND_SHARED_0_USE_STC_1="#"
49220 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49221 COND_SHARED_0_USE_STC_1=""
49222 fi
49223
49224 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49225 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49226 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49227 fi
49228
49229 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49230 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49231 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49232 fi
49233
49234 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49235 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49236 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49237 fi
49238
49239 COND_SHARED_1="#"
49240 if test "x$SHARED" = "x1" ; then
49241 COND_SHARED_1=""
49242 fi
49243
49244 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49245 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49246 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49247 fi
49248
49249 COND_TOOLKIT_="#"
49250 if test "x$TOOLKIT" = "x" ; then
49251 COND_TOOLKIT_=""
49252 fi
49253
49254 COND_TOOLKIT_COCOA="#"
49255 if test "x$TOOLKIT" = "xCOCOA" ; then
49256 COND_TOOLKIT_COCOA=""
49257 fi
49258
49259 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49260 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49261 COND_TOOLKIT_COCOA_USE_GUI_1=""
49262 fi
49263
49264 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49265 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49266 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49267 fi
49268
49269 COND_TOOLKIT_DFB="#"
49270 if test "x$TOOLKIT" = "xDFB" ; then
49271 COND_TOOLKIT_DFB=""
49272 fi
49273
49274 COND_TOOLKIT_DFB_USE_GUI_1="#"
49275 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49276 COND_TOOLKIT_DFB_USE_GUI_1=""
49277 fi
49278
49279 COND_TOOLKIT_GTK="#"
49280 if test "x$TOOLKIT" = "xGTK" ; then
49281 COND_TOOLKIT_GTK=""
49282 fi
49283
49284 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49285 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49286 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49287 fi
49288
49289 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49290 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49291 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49292 fi
49293
49294 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49295 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49296 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49297 fi
49298
49299 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49300 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49301 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49302 fi
49303
49304 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49305 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49306 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49307 fi
49308
49309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49310 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49311 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49312 fi
49313
49314 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49315 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49316 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49317 fi
49318
49319 COND_TOOLKIT_GTK_USE_GUI_1="#"
49320 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49321 COND_TOOLKIT_GTK_USE_GUI_1=""
49322 fi
49323
49324 COND_TOOLKIT_MAC="#"
49325 if test "x$TOOLKIT" = "xMAC" ; then
49326 COND_TOOLKIT_MAC=""
49327 fi
49328
49329 COND_TOOLKIT_MAC_USE_GUI_1="#"
49330 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49331 COND_TOOLKIT_MAC_USE_GUI_1=""
49332 fi
49333
49334 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49335 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49336 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49337 fi
49338
49339 COND_TOOLKIT_MGL="#"
49340 if test "x$TOOLKIT" = "xMGL" ; then
49341 COND_TOOLKIT_MGL=""
49342 fi
49343
49344 COND_TOOLKIT_MGL_USE_GUI_1="#"
49345 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49346 COND_TOOLKIT_MGL_USE_GUI_1=""
49347 fi
49348
49349 COND_TOOLKIT_MOTIF="#"
49350 if test "x$TOOLKIT" = "xMOTIF" ; then
49351 COND_TOOLKIT_MOTIF=""
49352 fi
49353
49354 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49355 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49356 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49357 fi
49358
49359 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49360 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49361 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49362 fi
49363
49364 COND_TOOLKIT_MSW="#"
49365 if test "x$TOOLKIT" = "xMSW" ; then
49366 COND_TOOLKIT_MSW=""
49367 fi
49368
49369 COND_TOOLKIT_MSW_USE_GUI_1="#"
49370 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49371 COND_TOOLKIT_MSW_USE_GUI_1=""
49372 fi
49373
49374 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49375 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49376 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49377 fi
49378
49379 COND_TOOLKIT_MSW_WXUNIV_0="#"
49380 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49381 COND_TOOLKIT_MSW_WXUNIV_0=""
49382 fi
49383
49384 COND_TOOLKIT_PM="#"
49385 if test "x$TOOLKIT" = "xPM" ; then
49386 COND_TOOLKIT_PM=""
49387 fi
49388
49389 COND_TOOLKIT_PM_USE_GUI_1="#"
49390 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49391 COND_TOOLKIT_PM_USE_GUI_1=""
49392 fi
49393
49394 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49395 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49396 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49397 fi
49398
49399 COND_TOOLKIT_WINCE="#"
49400 if test "x$TOOLKIT" = "xWINCE" ; then
49401 COND_TOOLKIT_WINCE=""
49402 fi
49403
49404 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49405 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49406 COND_TOOLKIT_WINCE_USE_GUI_1=""
49407 fi
49408
49409 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49410 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49411 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49412 fi
49413
49414 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49415 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49416 COND_TOOLKIT_WINCE_WXUNIV_0=""
49417 fi
49418
49419 COND_TOOLKIT_X11="#"
49420 if test "x$TOOLKIT" = "xX11" ; then
49421 COND_TOOLKIT_X11=""
49422 fi
49423
49424 COND_TOOLKIT_X11_USE_GUI_1="#"
49425 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49426 COND_TOOLKIT_X11_USE_GUI_1=""
49427 fi
49428
49429 COND_UNICODE_1="#"
49430 if test "x$UNICODE" = "x1" ; then
49431 COND_UNICODE_1=""
49432 fi
49433
49434 COND_USE_EXCEPTIONS_0="#"
49435 if test "x$USE_EXCEPTIONS" = "x0" ; then
49436 COND_USE_EXCEPTIONS_0=""
49437 fi
49438
49439 COND_USE_EXCEPTIONS_1="#"
49440 if test "x$USE_EXCEPTIONS" = "x1" ; then
49441 COND_USE_EXCEPTIONS_1=""
49442 fi
49443
49444 COND_USE_GUI_0="#"
49445 if test "x$USE_GUI" = "x0" ; then
49446 COND_USE_GUI_0=""
49447 fi
49448
49449 COND_USE_GUI_1="#"
49450 if test "x$USE_GUI" = "x1" ; then
49451 COND_USE_GUI_1=""
49452 fi
49453
49454 COND_USE_GUI_1_USE_OPENGL_1="#"
49455 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49456 COND_USE_GUI_1_USE_OPENGL_1=""
49457 fi
49458
49459 COND_USE_GUI_1_WXUNIV_0="#"
49460 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49461 COND_USE_GUI_1_WXUNIV_0=""
49462 fi
49463
49464 COND_USE_GUI_1_WXUNIV_1="#"
49465 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49466 COND_USE_GUI_1_WXUNIV_1=""
49467 fi
49468
49469 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49470 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49471 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49472 fi
49473
49474 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49475 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49476 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49477 fi
49478
49479 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49480 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49481 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49482 fi
49483
49484 COND_USE_OPENGL_1="#"
49485 if test "x$USE_OPENGL" = "x1" ; then
49486 COND_USE_OPENGL_1=""
49487 fi
49488
49489 COND_USE_PCH_1="#"
49490 if test "x$USE_PCH" = "x1" ; then
49491 COND_USE_PCH_1=""
49492 fi
49493
49494 COND_USE_PLUGINS_0="#"
49495 if test "x$USE_PLUGINS" = "x0" ; then
49496 COND_USE_PLUGINS_0=""
49497 fi
49498
49499 COND_USE_RTTI_0="#"
49500 if test "x$USE_RTTI" = "x0" ; then
49501 COND_USE_RTTI_0=""
49502 fi
49503
49504 COND_USE_RTTI_1="#"
49505 if test "x$USE_RTTI" = "x1" ; then
49506 COND_USE_RTTI_1=""
49507 fi
49508
49509 COND_USE_SOSYMLINKS_1="#"
49510 if test "x$USE_SOSYMLINKS" = "x1" ; then
49511 COND_USE_SOSYMLINKS_1=""
49512 fi
49513
49514 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49515 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49516 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49517 fi
49518
49519 COND_USE_SOVERLINUX_1="#"
49520 if test "x$USE_SOVERLINUX" = "x1" ; then
49521 COND_USE_SOVERLINUX_1=""
49522 fi
49523
49524 COND_USE_SOVERSION_0="#"
49525 if test "x$USE_SOVERSION" = "x0" ; then
49526 COND_USE_SOVERSION_0=""
49527 fi
49528
49529 COND_USE_SOVERSOLARIS_1="#"
49530 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49531 COND_USE_SOVERSOLARIS_1=""
49532 fi
49533
49534 COND_USE_STC_1="#"
49535 if test "x$USE_STC" = "x1" ; then
49536 COND_USE_STC_1=""
49537 fi
49538
49539 COND_USE_THREADS_0="#"
49540 if test "x$USE_THREADS" = "x0" ; then
49541 COND_USE_THREADS_0=""
49542 fi
49543
49544 COND_USE_THREADS_1="#"
49545 if test "x$USE_THREADS" = "x1" ; then
49546 COND_USE_THREADS_1=""
49547 fi
49548
49549 COND_USE_XRC_1="#"
49550 if test "x$USE_XRC" = "x1" ; then
49551 COND_USE_XRC_1=""
49552 fi
49553
49554 COND_WINDOWS_IMPLIB_1="#"
49555 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49556 COND_WINDOWS_IMPLIB_1=""
49557 fi
49558
49559 COND_WITH_PLUGIN_SDL_1="#"
49560 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49561 COND_WITH_PLUGIN_SDL_1=""
49562 fi
49563
49564 COND_WXUNIV_0="#"
49565 if test "x$WXUNIV" = "x0" ; then
49566 COND_WXUNIV_0=""
49567 fi
49568
49569 COND_WXUNIV_1="#"
49570 if test "x$WXUNIV" = "x1" ; then
49571 COND_WXUNIV_1=""
49572 fi
49573
49574 COND_WXUSE_EXPAT_BUILTIN="#"
49575 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49576 COND_WXUSE_EXPAT_BUILTIN=""
49577 fi
49578
49579 COND_WXUSE_LIBJPEG_BUILTIN="#"
49580 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49581 COND_WXUSE_LIBJPEG_BUILTIN=""
49582 fi
49583
49584 COND_WXUSE_LIBPNG_BUILTIN="#"
49585 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49586 COND_WXUSE_LIBPNG_BUILTIN=""
49587 fi
49588
49589 COND_WXUSE_LIBTIFF_BUILTIN="#"
49590 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49591 COND_WXUSE_LIBTIFF_BUILTIN=""
49592 fi
49593
49594 COND_WXUSE_REGEX_BUILTIN="#"
49595 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49596 COND_WXUSE_REGEX_BUILTIN=""
49597 fi
49598
49599 COND_WXUSE_ZLIB_BUILTIN="#"
49600 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49601 COND_WXUSE_ZLIB_BUILTIN=""
49602 fi
49603
49604
49605
49606 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49607 { { 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
49608 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;}
49609 { (exit 1); exit 1; }; }
49610 fi
49611
49612 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49613 { { 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
49614 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;}
49615 { (exit 1); exit 1; }; }
49616 fi
49617
49618
49619 case ${INSTALL} in
49620 /* ) # Absolute
49621 ;;
49622 ?:* ) # Drive letter, considered as absolute.
49623 ;;
49624 *)
49625 INSTALL=`pwd`/${INSTALL} ;;
49626 esac
49627
49628 if test "$wxUSE_GUI" = "yes"; then
49629
49630 if test "$wxUSE_MSW" = 1 ; then
49631 if test "x$WINDRES" = "x"; then
49632 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49633 echo "$as_me: error: Required windres program not found" >&2;}
49634 { (exit 1); exit 1; }; }
49635 fi
49636
49637 RESCOMP="$WINDRES"
49638 fi
49639
49640 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49641 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49642 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49643
49644 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49645
49646 # Extract the first word of "DeRez", so it can be a program name with args.
49647 set dummy DeRez; ac_word=$2
49648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49650 if test "${ac_cv_prog_DEREZ+set}" = set; then
49651 echo $ECHO_N "(cached) $ECHO_C" >&6
49652 else
49653 if test -n "$DEREZ"; then
49654 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49655 else
49656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49657 for as_dir in $PATH
49658 do
49659 IFS=$as_save_IFS
49660 test -z "$as_dir" && as_dir=.
49661 for ac_exec_ext in '' $ac_executable_extensions; do
49662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49663 ac_cv_prog_DEREZ="DeRez"
49664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49665 break 2
49666 fi
49667 done
49668 done
49669 IFS=$as_save_IFS
49670
49671 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49672 fi
49673 fi
49674 DEREZ=$ac_cv_prog_DEREZ
49675 if test -n "$DEREZ"; then
49676 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49677 echo "${ECHO_T}$DEREZ" >&6; }
49678 else
49679 { echo "$as_me:$LINENO: result: no" >&5
49680 echo "${ECHO_T}no" >&6; }
49681 fi
49682
49683
49684
49685 MACSETFILE="\$(SETFILE)"
49686
49687 if test "$wxUSE_MAC" = 1; then
49688 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49689 RESCOMP="$REZ"
49690 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49691 else
49692 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49693 RESCOMP="cat /dev/null \| $REZ"
49694 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49695 fi
49696
49697 else
49698 MACSETFILE="@true"
49699
49700 if test "$wxUSE_PM" = 1; then
49701 RESCOMP="emxbind"
49702 WXCONFIG_RESFLAGS="-ep"
49703
49704 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49705 else
49706 POSTLINK_COMMAND="@true"
49707 fi
49708 fi
49709
49710 fi
49711
49712
49713 if test $GCC_PCH = 1
49714 then
49715 if test "$wx_cv_gcc_pch_bug" = yes; then
49716 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49717 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49718 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49719 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49720 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49721 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49722 fi
49723
49724 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49725 fi
49726
49727
49728 if test "$wxUSE_MAC" = 1 ; then
49729 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49730 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49731 mv temp bk-deps
49732 chmod +x bk-deps
49733 fi
49734 fi
49735
49736 if test "$wxUSE_SHARED" = "yes"; then
49737 case "${host}" in
49738 *-pc-os2_emx | *-pc-os2-emx )
49739 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49740 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49741 cp -p ${srcdir}/src/os2/dllnames.sh .
49742 cp -p ${srcdir}/src/os2/dllar.sh .
49743 ;;
49744 esac
49745 fi
49746 if test "$wxUSE_OMF" = "yes"; then
49747 case "${host}" in
49748 *-pc-os2_emx | *-pc-os2-emx )
49749 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49750 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49751 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49752 ;;
49753 esac
49754 fi
49755
49756 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49757
49758
49759 case "${host}" in
49760 *-*-solaris2* )
49761 if test "$GCC" = yes; then
49762 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49763 LIBS=`echo $LIBS | sed 's/-mt//'`
49764 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49765 fi
49766 ;;
49767
49768 *-*-linux* )
49769 if test "x$SUNCXX" = xyes; then
49770 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49771 LIBS=`echo $LIBS | sed 's/-pthread//'`
49772 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49773 fi
49774 ;;
49775 esac
49776
49777 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49778 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49779
49780 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49781
49782
49783
49784
49785
49786
49787
49788
49789
49790
49791
49792
49793
49794
49795
49796
49797
49798
49799
49800
49801
49802
49803
49804
49805
49806
49807
49808
49809
49810
49811
49812
49813
49814
49815
49816
49817
49818
49819
49820
49821
49822
49823
49824
49825
49826
49827
49828
49829
49830
49831
49832
49833
49834
49835
49836
49837
49838
49839
49840
49841 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49842 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49843 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49844 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49845 echo $ECHO_N "(cached) $ECHO_C" >&6
49846 else
49847 cat >conftest.make <<\_ACEOF
49848 SHELL = /bin/sh
49849 all:
49850 @echo '@@@%%%=$(MAKE)=@@@%%%'
49851 _ACEOF
49852 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49853 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49854 *@@@%%%=?*=@@@%%%*)
49855 eval ac_cv_prog_make_${ac_make}_set=yes;;
49856 *)
49857 eval ac_cv_prog_make_${ac_make}_set=no;;
49858 esac
49859 rm -f conftest.make
49860 fi
49861 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49862 { echo "$as_me:$LINENO: result: yes" >&5
49863 echo "${ECHO_T}yes" >&6; }
49864 SET_MAKE=
49865 else
49866 { echo "$as_me:$LINENO: result: no" >&5
49867 echo "${ECHO_T}no" >&6; }
49868 SET_MAKE="MAKE=${MAKE-make}"
49869 fi
49870
49871
49872
49873 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49874
49875
49876 if test "$USE_WIN32" = 1; then
49877 ac_config_commands="$ac_config_commands
49878 rcdefs.h
49879 "
49880
49881 fi
49882
49883 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49884
49885
49886 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49887
49888
49889 if test "$wx_cv_version_script" = "yes"; then
49890 ac_config_files="$ac_config_files version-script"
49891
49892 fi
49893 ac_config_files="$ac_config_files Makefile"
49894
49895
49896 ac_config_commands="$ac_config_commands wx-config"
49897
49898
49899
49900 if test "$wxWITH_SUBDIRS" != "no"; then
49901 if test "$wxUSE_GUI" = "yes"; then
49902 SUBDIRS="samples demos utils"
49903 else
49904 SUBDIRS="samples utils"
49905 fi
49906
49907
49908
49909 # Check whether --with-cppunit-prefix was given.
49910 if test "${with_cppunit_prefix+set}" = set; then
49911 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49912 else
49913 cppunit_config_prefix=""
49914 fi
49915
49916
49917 # Check whether --with-cppunit-exec-prefix was given.
49918 if test "${with_cppunit_exec_prefix+set}" = set; then
49919 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49920 else
49921 cppunit_config_exec_prefix=""
49922 fi
49923
49924
49925 if test x$cppunit_config_exec_prefix != x ; then
49926 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49927 if test x${CPPUNIT_CONFIG+set} != xset ; then
49928 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49929 fi
49930 fi
49931 if test x$cppunit_config_prefix != x ; then
49932 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49933 if test x${CPPUNIT_CONFIG+set} != xset ; then
49934 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49935 fi
49936 fi
49937
49938 # Extract the first word of "cppunit-config", so it can be a program name with args.
49939 set dummy cppunit-config; ac_word=$2
49940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49942 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49943 echo $ECHO_N "(cached) $ECHO_C" >&6
49944 else
49945 case $CPPUNIT_CONFIG in
49946 [\\/]* | ?:[\\/]*)
49947 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49948 ;;
49949 *)
49950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49951 for as_dir in $PATH
49952 do
49953 IFS=$as_save_IFS
49954 test -z "$as_dir" && as_dir=.
49955 for ac_exec_ext in '' $ac_executable_extensions; do
49956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49957 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49959 break 2
49960 fi
49961 done
49962 done
49963 IFS=$as_save_IFS
49964
49965 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49966 ;;
49967 esac
49968 fi
49969 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49970 if test -n "$CPPUNIT_CONFIG"; then
49971 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49972 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49973 else
49974 { echo "$as_me:$LINENO: result: no" >&5
49975 echo "${ECHO_T}no" >&6; }
49976 fi
49977
49978
49979 cppunit_version_min=1.8.0
49980
49981 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49982 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49983 no_cppunit=""
49984 if test "$CPPUNIT_CONFIG" = "no" ; then
49985 { echo "$as_me:$LINENO: result: no" >&5
49986 echo "${ECHO_T}no" >&6; }
49987 no_cppunit=yes
49988 else
49989 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49990 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49991 cppunit_version=`$CPPUNIT_CONFIG --version`
49992
49993 cppunit_major_version=`echo $cppunit_version | \
49994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49995 cppunit_minor_version=`echo $cppunit_version | \
49996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49997 cppunit_micro_version=`echo $cppunit_version | \
49998 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49999
50000 cppunit_major_min=`echo $cppunit_version_min | \
50001 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50002 cppunit_minor_min=`echo $cppunit_version_min | \
50003 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50004 cppunit_micro_min=`echo $cppunit_version_min | \
50005 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50006
50007 cppunit_version_proper=`expr \
50008 $cppunit_major_version \> $cppunit_major_min \| \
50009 $cppunit_major_version \= $cppunit_major_min \& \
50010 $cppunit_minor_version \> $cppunit_minor_min \| \
50011 $cppunit_major_version \= $cppunit_major_min \& \
50012 $cppunit_minor_version \= $cppunit_minor_min \& \
50013 $cppunit_micro_version \>= $cppunit_micro_min `
50014
50015 if test "$cppunit_version_proper" = "1" ; then
50016 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50017 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50018 else
50019 { echo "$as_me:$LINENO: result: no" >&5
50020 echo "${ECHO_T}no" >&6; }
50021 no_cppunit=yes
50022 fi
50023 fi
50024
50025 if test "x$no_cppunit" = x ; then
50026 SUBDIRS="$SUBDIRS tests"
50027 else
50028 CPPUNIT_CFLAGS=""
50029 CPPUNIT_LIBS=""
50030 :
50031 fi
50032
50033
50034
50035
50036
50037 for subdir in $SUBDIRS; do
50038 if test -d ${srcdir}/${subdir} ; then
50039 if test "$wxUSE_GUI" = "yes"; then
50040 if test ${subdir} = "samples"; then
50041 makefiles="samples/Makefile.in $makefiles"
50042 for sample in $SAMPLES_SUBDIRS; do
50043 if test -d $srcdir/samples/$sample; then
50044 makefiles="samples/$sample/Makefile.in $makefiles"
50045 fi
50046 done
50047 else
50048 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50049 eval "disabled=\$$disabled_var"
50050 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50051 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50052 fi
50053 else
50054 if test ${subdir} = "samples"; then
50055 makefiles="samples/Makefile.in $makefiles"
50056 for sample in `echo $SAMPLES_SUBDIRS`; do
50057 if test -d $srcdir/samples/$sample; then
50058 makefiles="samples/$sample/Makefile.in $makefiles"
50059 fi
50060 done
50061 elif test ${subdir} = "utils"; then
50062 makefiles=""
50063 for util in HelpGen tex2rtf ; do
50064 if test -d $srcdir/utils/$util ; then
50065 makefiles="utils/$util/Makefile.in \
50066 utils/$util/src/Makefile.in \
50067 $makefiles"
50068 fi
50069 done
50070 else
50071 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50072 fi
50073 fi
50074
50075 for mkin in $makefiles ; do
50076 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50077 ac_config_files="$ac_config_files $mk"
50078
50079 done
50080 fi
50081 done
50082 fi
50083 cat >confcache <<\_ACEOF
50084 # This file is a shell script that caches the results of configure
50085 # tests run on this system so they can be shared between configure
50086 # scripts and configure runs, see configure's option --config-cache.
50087 # It is not useful on other systems. If it contains results you don't
50088 # want to keep, you may remove or edit it.
50089 #
50090 # config.status only pays attention to the cache file if you give it
50091 # the --recheck option to rerun configure.
50092 #
50093 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50094 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50095 # following values.
50096
50097 _ACEOF
50098
50099 # The following way of writing the cache mishandles newlines in values,
50100 # but we know of no workaround that is simple, portable, and efficient.
50101 # So, we kill variables containing newlines.
50102 # Ultrix sh set writes to stderr and can't be redirected directly,
50103 # and sets the high bit in the cache file unless we assign to the vars.
50104 (
50105 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50106 eval ac_val=\$$ac_var
50107 case $ac_val in #(
50108 *${as_nl}*)
50109 case $ac_var in #(
50110 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50111 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50112 esac
50113 case $ac_var in #(
50114 _ | IFS | as_nl) ;; #(
50115 *) $as_unset $ac_var ;;
50116 esac ;;
50117 esac
50118 done
50119
50120 (set) 2>&1 |
50121 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50122 *${as_nl}ac_space=\ *)
50123 # `set' does not quote correctly, so add quotes (double-quote
50124 # substitution turns \\\\ into \\, and sed turns \\ into \).
50125 sed -n \
50126 "s/'/'\\\\''/g;
50127 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50128 ;; #(
50129 *)
50130 # `set' quotes correctly as required by POSIX, so do not add quotes.
50131 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50132 ;;
50133 esac |
50134 sort
50135 ) |
50136 sed '
50137 /^ac_cv_env_/b end
50138 t clear
50139 :clear
50140 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50141 t end
50142 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50143 :end' >>confcache
50144 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50145 if test -w "$cache_file"; then
50146 test "x$cache_file" != "x/dev/null" &&
50147 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50148 echo "$as_me: updating cache $cache_file" >&6;}
50149 cat confcache >$cache_file
50150 else
50151 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50152 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50153 fi
50154 fi
50155 rm -f confcache
50156
50157 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50158 # Let make expand exec_prefix.
50159 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50160
50161 DEFS=-DHAVE_CONFIG_H
50162
50163 ac_libobjs=
50164 ac_ltlibobjs=
50165 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50166 # 1. Remove the extension, and $U if already installed.
50167 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50168 ac_i=`echo "$ac_i" | sed "$ac_script"`
50169 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50170 # will be set to the directory where LIBOBJS objects are built.
50171 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50172 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50173 done
50174 LIBOBJS=$ac_libobjs
50175
50176 LTLIBOBJS=$ac_ltlibobjs
50177
50178
50179
50180 : ${CONFIG_STATUS=./config.status}
50181 ac_clean_files_save=$ac_clean_files
50182 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50183 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50184 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50185 cat >$CONFIG_STATUS <<_ACEOF
50186 #! $SHELL
50187 # Generated by $as_me.
50188 # Run this file to recreate the current configuration.
50189 # Compiler output produced by configure, useful for debugging
50190 # configure, is in config.log if it exists.
50191
50192 debug=false
50193 ac_cs_recheck=false
50194 ac_cs_silent=false
50195 SHELL=\${CONFIG_SHELL-$SHELL}
50196 _ACEOF
50197
50198 cat >>$CONFIG_STATUS <<\_ACEOF
50199 ## --------------------- ##
50200 ## M4sh Initialization. ##
50201 ## --------------------- ##
50202
50203 # Be more Bourne compatible
50204 DUALCASE=1; export DUALCASE # for MKS sh
50205 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50206 emulate sh
50207 NULLCMD=:
50208 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50209 # is contrary to our usage. Disable this feature.
50210 alias -g '${1+"$@"}'='"$@"'
50211 setopt NO_GLOB_SUBST
50212 else
50213 case `(set -o) 2>/dev/null` in
50214 *posix*) set -o posix ;;
50215 esac
50216
50217 fi
50218
50219
50220
50221
50222 # PATH needs CR
50223 # Avoid depending upon Character Ranges.
50224 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50225 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50226 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50227 as_cr_digits='0123456789'
50228 as_cr_alnum=$as_cr_Letters$as_cr_digits
50229
50230 # The user is always right.
50231 if test "${PATH_SEPARATOR+set}" != set; then
50232 echo "#! /bin/sh" >conf$$.sh
50233 echo "exit 0" >>conf$$.sh
50234 chmod +x conf$$.sh
50235 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50236 PATH_SEPARATOR=';'
50237 else
50238 PATH_SEPARATOR=:
50239 fi
50240 rm -f conf$$.sh
50241 fi
50242
50243 # Support unset when possible.
50244 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50245 as_unset=unset
50246 else
50247 as_unset=false
50248 fi
50249
50250
50251 # IFS
50252 # We need space, tab and new line, in precisely that order. Quoting is
50253 # there to prevent editors from complaining about space-tab.
50254 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50255 # splitting by setting IFS to empty value.)
50256 as_nl='
50257 '
50258 IFS=" "" $as_nl"
50259
50260 # Find who we are. Look in the path if we contain no directory separator.
50261 case $0 in
50262 *[\\/]* ) as_myself=$0 ;;
50263 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50264 for as_dir in $PATH
50265 do
50266 IFS=$as_save_IFS
50267 test -z "$as_dir" && as_dir=.
50268 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50269 done
50270 IFS=$as_save_IFS
50271
50272 ;;
50273 esac
50274 # We did not find ourselves, most probably we were run as `sh COMMAND'
50275 # in which case we are not to be found in the path.
50276 if test "x$as_myself" = x; then
50277 as_myself=$0
50278 fi
50279 if test ! -f "$as_myself"; then
50280 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50281 { (exit 1); exit 1; }
50282 fi
50283
50284 # Work around bugs in pre-3.0 UWIN ksh.
50285 for as_var in ENV MAIL MAILPATH
50286 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50287 done
50288 PS1='$ '
50289 PS2='> '
50290 PS4='+ '
50291
50292 # NLS nuisances.
50293 for as_var in \
50294 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50295 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50296 LC_TELEPHONE LC_TIME
50297 do
50298 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50299 eval $as_var=C; export $as_var
50300 else
50301 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50302 fi
50303 done
50304
50305 # Required to use basename.
50306 if expr a : '\(a\)' >/dev/null 2>&1 &&
50307 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50308 as_expr=expr
50309 else
50310 as_expr=false
50311 fi
50312
50313 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50314 as_basename=basename
50315 else
50316 as_basename=false
50317 fi
50318
50319
50320 # Name of the executable.
50321 as_me=`$as_basename -- "$0" ||
50322 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50323 X"$0" : 'X\(//\)$' \| \
50324 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50325 echo X/"$0" |
50326 sed '/^.*\/\([^/][^/]*\)\/*$/{
50327 s//\1/
50328 q
50329 }
50330 /^X\/\(\/\/\)$/{
50331 s//\1/
50332 q
50333 }
50334 /^X\/\(\/\).*/{
50335 s//\1/
50336 q
50337 }
50338 s/.*/./; q'`
50339
50340 # CDPATH.
50341 $as_unset CDPATH
50342
50343
50344
50345 as_lineno_1=$LINENO
50346 as_lineno_2=$LINENO
50347 test "x$as_lineno_1" != "x$as_lineno_2" &&
50348 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50349
50350 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50351 # uniformly replaced by the line number. The first 'sed' inserts a
50352 # line-number line after each line using $LINENO; the second 'sed'
50353 # does the real work. The second script uses 'N' to pair each
50354 # line-number line with the line containing $LINENO, and appends
50355 # trailing '-' during substitution so that $LINENO is not a special
50356 # case at line end.
50357 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50358 # scripts with optimization help from Paolo Bonzini. Blame Lee
50359 # E. McMahon (1931-1989) for sed's syntax. :-)
50360 sed -n '
50361 p
50362 /[$]LINENO/=
50363 ' <$as_myself |
50364 sed '
50365 s/[$]LINENO.*/&-/
50366 t lineno
50367 b
50368 :lineno
50369 N
50370 :loop
50371 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50372 t loop
50373 s/-\n.*//
50374 ' >$as_me.lineno &&
50375 chmod +x "$as_me.lineno" ||
50376 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50377 { (exit 1); exit 1; }; }
50378
50379 # Don't try to exec as it changes $[0], causing all sort of problems
50380 # (the dirname of $[0] is not the place where we might find the
50381 # original and so on. Autoconf is especially sensitive to this).
50382 . "./$as_me.lineno"
50383 # Exit status is that of the last command.
50384 exit
50385 }
50386
50387
50388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50389 as_dirname=dirname
50390 else
50391 as_dirname=false
50392 fi
50393
50394 ECHO_C= ECHO_N= ECHO_T=
50395 case `echo -n x` in
50396 -n*)
50397 case `echo 'x\c'` in
50398 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50399 *) ECHO_C='\c';;
50400 esac;;
50401 *)
50402 ECHO_N='-n';;
50403 esac
50404
50405 if expr a : '\(a\)' >/dev/null 2>&1 &&
50406 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50407 as_expr=expr
50408 else
50409 as_expr=false
50410 fi
50411
50412 rm -f conf$$ conf$$.exe conf$$.file
50413 if test -d conf$$.dir; then
50414 rm -f conf$$.dir/conf$$.file
50415 else
50416 rm -f conf$$.dir
50417 mkdir conf$$.dir
50418 fi
50419 echo >conf$$.file
50420 if ln -s conf$$.file conf$$ 2>/dev/null; then
50421 as_ln_s='ln -s'
50422 # ... but there are two gotchas:
50423 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50424 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50425 # In both cases, we have to default to `cp -p'.
50426 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50427 as_ln_s='cp -p'
50428 elif ln conf$$.file conf$$ 2>/dev/null; then
50429 as_ln_s=ln
50430 else
50431 as_ln_s='cp -p'
50432 fi
50433 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50434 rmdir conf$$.dir 2>/dev/null
50435
50436 if mkdir -p . 2>/dev/null; then
50437 as_mkdir_p=:
50438 else
50439 test -d ./-p && rmdir ./-p
50440 as_mkdir_p=false
50441 fi
50442
50443 if test -x / >/dev/null 2>&1; then
50444 as_test_x='test -x'
50445 else
50446 if ls -dL / >/dev/null 2>&1; then
50447 as_ls_L_option=L
50448 else
50449 as_ls_L_option=
50450 fi
50451 as_test_x='
50452 eval sh -c '\''
50453 if test -d "$1"; then
50454 test -d "$1/.";
50455 else
50456 case $1 in
50457 -*)set "./$1";;
50458 esac;
50459 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50460 ???[sx]*):;;*)false;;esac;fi
50461 '\'' sh
50462 '
50463 fi
50464 as_executable_p=$as_test_x
50465
50466 # Sed expression to map a string onto a valid CPP name.
50467 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50468
50469 # Sed expression to map a string onto a valid variable name.
50470 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50471
50472
50473 exec 6>&1
50474
50475 # Save the log message, to keep $[0] and so on meaningful, and to
50476 # report actual input values of CONFIG_FILES etc. instead of their
50477 # values after options handling.
50478 ac_log="
50479 This file was extended by wxWidgets $as_me 2.9.0, which was
50480 generated by GNU Autoconf 2.61. Invocation command line was
50481
50482 CONFIG_FILES = $CONFIG_FILES
50483 CONFIG_HEADERS = $CONFIG_HEADERS
50484 CONFIG_LINKS = $CONFIG_LINKS
50485 CONFIG_COMMANDS = $CONFIG_COMMANDS
50486 $ $0 $@
50487
50488 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50489 "
50490
50491 _ACEOF
50492
50493 cat >>$CONFIG_STATUS <<_ACEOF
50494 # Files that config.status was made for.
50495 config_files="$ac_config_files"
50496 config_headers="$ac_config_headers"
50497 config_commands="$ac_config_commands"
50498
50499 _ACEOF
50500
50501 cat >>$CONFIG_STATUS <<\_ACEOF
50502 ac_cs_usage="\
50503 \`$as_me' instantiates files from templates according to the
50504 current configuration.
50505
50506 Usage: $0 [OPTIONS] [FILE]...
50507
50508 -h, --help print this help, then exit
50509 -V, --version print version number and configuration settings, then exit
50510 -q, --quiet do not print progress messages
50511 -d, --debug don't remove temporary files
50512 --recheck update $as_me by reconfiguring in the same conditions
50513 --file=FILE[:TEMPLATE]
50514 instantiate the configuration file FILE
50515 --header=FILE[:TEMPLATE]
50516 instantiate the configuration header FILE
50517
50518 Configuration files:
50519 $config_files
50520
50521 Configuration headers:
50522 $config_headers
50523
50524 Configuration commands:
50525 $config_commands
50526
50527 Report bugs to <bug-autoconf@gnu.org>."
50528
50529 _ACEOF
50530 cat >>$CONFIG_STATUS <<_ACEOF
50531 ac_cs_version="\\
50532 wxWidgets config.status 2.9.0
50533 configured by $0, generated by GNU Autoconf 2.61,
50534 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50535
50536 Copyright (C) 2006 Free Software Foundation, Inc.
50537 This config.status script is free software; the Free Software Foundation
50538 gives unlimited permission to copy, distribute and modify it."
50539
50540 ac_pwd='$ac_pwd'
50541 srcdir='$srcdir'
50542 INSTALL='$INSTALL'
50543 _ACEOF
50544
50545 cat >>$CONFIG_STATUS <<\_ACEOF
50546 # If no file are specified by the user, then we need to provide default
50547 # value. By we need to know if files were specified by the user.
50548 ac_need_defaults=:
50549 while test $# != 0
50550 do
50551 case $1 in
50552 --*=*)
50553 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50554 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50555 ac_shift=:
50556 ;;
50557 *)
50558 ac_option=$1
50559 ac_optarg=$2
50560 ac_shift=shift
50561 ;;
50562 esac
50563
50564 case $ac_option in
50565 # Handling of the options.
50566 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50567 ac_cs_recheck=: ;;
50568 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50569 echo "$ac_cs_version"; exit ;;
50570 --debug | --debu | --deb | --de | --d | -d )
50571 debug=: ;;
50572 --file | --fil | --fi | --f )
50573 $ac_shift
50574 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50575 ac_need_defaults=false;;
50576 --header | --heade | --head | --hea )
50577 $ac_shift
50578 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50579 ac_need_defaults=false;;
50580 --he | --h)
50581 # Conflict between --help and --header
50582 { echo "$as_me: error: ambiguous option: $1
50583 Try \`$0 --help' for more information." >&2
50584 { (exit 1); exit 1; }; };;
50585 --help | --hel | -h )
50586 echo "$ac_cs_usage"; exit ;;
50587 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50588 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50589 ac_cs_silent=: ;;
50590
50591 # This is an error.
50592 -*) { echo "$as_me: error: unrecognized option: $1
50593 Try \`$0 --help' for more information." >&2
50594 { (exit 1); exit 1; }; } ;;
50595
50596 *) ac_config_targets="$ac_config_targets $1"
50597 ac_need_defaults=false ;;
50598
50599 esac
50600 shift
50601 done
50602
50603 ac_configure_extra_args=
50604
50605 if $ac_cs_silent; then
50606 exec 6>/dev/null
50607 ac_configure_extra_args="$ac_configure_extra_args --silent"
50608 fi
50609
50610 _ACEOF
50611 cat >>$CONFIG_STATUS <<_ACEOF
50612 if \$ac_cs_recheck; then
50613 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50614 CONFIG_SHELL=$SHELL
50615 export CONFIG_SHELL
50616 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50617 fi
50618
50619 _ACEOF
50620 cat >>$CONFIG_STATUS <<\_ACEOF
50621 exec 5>>config.log
50622 {
50623 echo
50624 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50625 ## Running $as_me. ##
50626 _ASBOX
50627 echo "$ac_log"
50628 } >&5
50629
50630 _ACEOF
50631 cat >>$CONFIG_STATUS <<_ACEOF
50632 #
50633 # INIT-COMMANDS
50634 #
50635
50636 CPP="$CPP"
50637 infile="$srcdir/include/wx/msw/genrcdefs.h"
50638 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50639
50640
50641 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50642 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50643 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50644 LN_S="${LN_S}"
50645
50646
50647 _ACEOF
50648
50649 cat >>$CONFIG_STATUS <<\_ACEOF
50650
50651 # Handling of arguments.
50652 for ac_config_target in $ac_config_targets
50653 do
50654 case $ac_config_target in
50655 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50656 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50657 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50658 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50659 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50660 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50661 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50662 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50663
50664 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50665 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50666 { (exit 1); exit 1; }; };;
50667 esac
50668 done
50669
50670
50671 # If the user did not use the arguments to specify the items to instantiate,
50672 # then the envvar interface is used. Set only those that are not.
50673 # We use the long form for the default assignment because of an extremely
50674 # bizarre bug on SunOS 4.1.3.
50675 if $ac_need_defaults; then
50676 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50677 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50678 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50679 fi
50680
50681 # Have a temporary directory for convenience. Make it in the build tree
50682 # simply because there is no reason against having it here, and in addition,
50683 # creating and moving files from /tmp can sometimes cause problems.
50684 # Hook for its removal unless debugging.
50685 # Note that there is a small window in which the directory will not be cleaned:
50686 # after its creation but before its name has been assigned to `$tmp'.
50687 $debug ||
50688 {
50689 tmp=
50690 trap 'exit_status=$?
50691 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50692 ' 0
50693 trap '{ (exit 1); exit 1; }' 1 2 13 15
50694 }
50695 # Create a (secure) tmp directory for tmp files.
50696
50697 {
50698 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50699 test -n "$tmp" && test -d "$tmp"
50700 } ||
50701 {
50702 tmp=./conf$$-$RANDOM
50703 (umask 077 && mkdir "$tmp")
50704 } ||
50705 {
50706 echo "$me: cannot create a temporary directory in ." >&2
50707 { (exit 1); exit 1; }
50708 }
50709
50710 #
50711 # Set up the sed scripts for CONFIG_FILES section.
50712 #
50713
50714 # No need to generate the scripts if there are no CONFIG_FILES.
50715 # This happens for instance when ./config.status config.h
50716 if test -n "$CONFIG_FILES"; then
50717
50718 _ACEOF
50719
50720
50721
50722 ac_delim='%!_!# '
50723 for ac_last_try in false false false false false :; do
50724 cat >conf$$subs.sed <<_ACEOF
50725 SHELL!$SHELL$ac_delim
50726 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50727 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50728 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50729 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50730 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50731 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50732 exec_prefix!$exec_prefix$ac_delim
50733 prefix!$prefix$ac_delim
50734 program_transform_name!$program_transform_name$ac_delim
50735 bindir!$bindir$ac_delim
50736 sbindir!$sbindir$ac_delim
50737 libexecdir!$libexecdir$ac_delim
50738 datarootdir!$datarootdir$ac_delim
50739 datadir!$datadir$ac_delim
50740 sysconfdir!$sysconfdir$ac_delim
50741 sharedstatedir!$sharedstatedir$ac_delim
50742 localstatedir!$localstatedir$ac_delim
50743 includedir!$includedir$ac_delim
50744 oldincludedir!$oldincludedir$ac_delim
50745 docdir!$docdir$ac_delim
50746 infodir!$infodir$ac_delim
50747 htmldir!$htmldir$ac_delim
50748 dvidir!$dvidir$ac_delim
50749 pdfdir!$pdfdir$ac_delim
50750 psdir!$psdir$ac_delim
50751 libdir!$libdir$ac_delim
50752 localedir!$localedir$ac_delim
50753 mandir!$mandir$ac_delim
50754 DEFS!$DEFS$ac_delim
50755 ECHO_C!$ECHO_C$ac_delim
50756 ECHO_N!$ECHO_N$ac_delim
50757 ECHO_T!$ECHO_T$ac_delim
50758 LIBS!$LIBS$ac_delim
50759 build_alias!$build_alias$ac_delim
50760 host_alias!$host_alias$ac_delim
50761 target_alias!$target_alias$ac_delim
50762 build!$build$ac_delim
50763 build_cpu!$build_cpu$ac_delim
50764 build_vendor!$build_vendor$ac_delim
50765 build_os!$build_os$ac_delim
50766 host!$host$ac_delim
50767 host_cpu!$host_cpu$ac_delim
50768 host_vendor!$host_vendor$ac_delim
50769 host_os!$host_os$ac_delim
50770 target!$target$ac_delim
50771 target_cpu!$target_cpu$ac_delim
50772 target_vendor!$target_vendor$ac_delim
50773 target_os!$target_os$ac_delim
50774 wx_top_builddir!$wx_top_builddir$ac_delim
50775 CC!$CC$ac_delim
50776 CFLAGS!$CFLAGS$ac_delim
50777 LDFLAGS!$LDFLAGS$ac_delim
50778 CPPFLAGS!$CPPFLAGS$ac_delim
50779 ac_ct_CC!$ac_ct_CC$ac_delim
50780 EXEEXT!$EXEEXT$ac_delim
50781 OBJEXT!$OBJEXT$ac_delim
50782 CPP!$CPP$ac_delim
50783 GREP!$GREP$ac_delim
50784 EGREP!$EGREP$ac_delim
50785 CXX!$CXX$ac_delim
50786 CXXFLAGS!$CXXFLAGS$ac_delim
50787 ac_ct_CXX!$ac_ct_CXX$ac_delim
50788 AR!$AR$ac_delim
50789 subdirs!$subdirs$ac_delim
50790 PKG_CONFIG!$PKG_CONFIG$ac_delim
50791 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50792 GTK_LIBS!$GTK_LIBS$ac_delim
50793 GTK_CONFIG!$GTK_CONFIG$ac_delim
50794 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50795 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50796 XMKMF!$XMKMF$ac_delim
50797 X_CFLAGS!$X_CFLAGS$ac_delim
50798 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50799 X_LIBS!$X_LIBS$ac_delim
50800 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50801 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50802 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50803 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50804 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50805 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50806 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50807 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50808 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50809 LIBICONV!$LIBICONV$ac_delim
50810 SDL_CONFIG!$SDL_CONFIG$ac_delim
50811 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50812 SDL_LIBS!$SDL_LIBS$ac_delim
50813 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50814 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50815 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50816 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50817 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50818 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50819 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50820 HILDON_LIBS!$HILDON_LIBS$ac_delim
50821 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50822 _ACEOF
50823
50824 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50825 break
50826 elif $ac_last_try; then
50827 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50828 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50829 { (exit 1); exit 1; }; }
50830 else
50831 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50832 fi
50833 done
50834
50835 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50836 if test -n "$ac_eof"; then
50837 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50838 ac_eof=`expr $ac_eof + 1`
50839 fi
50840
50841 cat >>$CONFIG_STATUS <<_ACEOF
50842 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50843 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50844 _ACEOF
50845 sed '
50846 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50847 s/^/s,@/; s/!/@,|#_!!_#|/
50848 :n
50849 t n
50850 s/'"$ac_delim"'$/,g/; t
50851 s/$/\\/; p
50852 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50853 ' >>$CONFIG_STATUS <conf$$subs.sed
50854 rm -f conf$$subs.sed
50855 cat >>$CONFIG_STATUS <<_ACEOF
50856 CEOF$ac_eof
50857 _ACEOF
50858
50859
50860 ac_delim='%!_!# '
50861 for ac_last_try in false false false false false :; do
50862 cat >conf$$subs.sed <<_ACEOF
50863 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50864 GST_CFLAGS!$GST_CFLAGS$ac_delim
50865 GST_LIBS!$GST_LIBS$ac_delim
50866 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50867 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50868 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50869 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50870 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50871 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50872 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50873 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50874 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50875 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50876 VENDOR!$VENDOR$ac_delim
50877 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50878 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50879 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50880 WXUNIV!$WXUNIV$ac_delim
50881 MONOLITHIC!$MONOLITHIC$ac_delim
50882 USE_PLUGINS!$USE_PLUGINS$ac_delim
50883 CXXWARNINGS!$CXXWARNINGS$ac_delim
50884 EXTRALIBS!$EXTRALIBS$ac_delim
50885 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50886 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50887 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50888 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50889 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50890 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50891 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50892 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50893 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50894 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50895 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50896 UNICODE!$UNICODE$ac_delim
50897 BUILD!$BUILD$ac_delim
50898 DEBUG_INFO!$DEBUG_INFO$ac_delim
50899 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50900 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50901 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50902 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50903 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50904 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50905 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50906 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50907 RANLIB!$RANLIB$ac_delim
50908 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50909 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50910 INSTALL_DATA!$INSTALL_DATA$ac_delim
50911 LN_S!$LN_S$ac_delim
50912 SET_MAKE!$SET_MAKE$ac_delim
50913 MAKE_SET!$MAKE_SET$ac_delim
50914 AROPTIONS!$AROPTIONS$ac_delim
50915 STRIP!$STRIP$ac_delim
50916 NM!$NM$ac_delim
50917 INSTALL_DIR!$INSTALL_DIR$ac_delim
50918 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50919 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50920 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50921 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50922 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50923 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50924 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50925 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50926 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50927 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50928 SO_SUFFIX!$SO_SUFFIX$ac_delim
50929 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50930 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50931 LIBPREFIX!$LIBPREFIX$ac_delim
50932 LIBEXT!$LIBEXT$ac_delim
50933 DLLPREFIX!$DLLPREFIX$ac_delim
50934 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50935 dlldir!$dlldir$ac_delim
50936 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50937 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50938 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50939 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50940 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50941 PIC_FLAG!$PIC_FLAG$ac_delim
50942 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50943 USE_SOVERSION!$USE_SOVERSION$ac_delim
50944 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50945 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50946 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50947 USE_MACVERSION!$USE_MACVERSION$ac_delim
50948 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50949 SONAME_FLAG!$SONAME_FLAG$ac_delim
50950 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50951 BK_DEPS!$BK_DEPS$ac_delim
50952 WINDRES!$WINDRES$ac_delim
50953 REZ!$REZ$ac_delim
50954 SETFILE!$SETFILE$ac_delim
50955 GCC_PCH!$GCC_PCH$ac_delim
50956 ICC_PCH!$ICC_PCH$ac_delim
50957 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50958 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50959 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50960 _ACEOF
50961
50962 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50963 break
50964 elif $ac_last_try; then
50965 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50966 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50967 { (exit 1); exit 1; }; }
50968 else
50969 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50970 fi
50971 done
50972
50973 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50974 if test -n "$ac_eof"; then
50975 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50976 ac_eof=`expr $ac_eof + 1`
50977 fi
50978
50979 cat >>$CONFIG_STATUS <<_ACEOF
50980 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50981 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50982 _ACEOF
50983 sed '
50984 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50985 s/^/s,@/; s/!/@,|#_!!_#|/
50986 :n
50987 t n
50988 s/'"$ac_delim"'$/,g/; t
50989 s/$/\\/; p
50990 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50991 ' >>$CONFIG_STATUS <conf$$subs.sed
50992 rm -f conf$$subs.sed
50993 cat >>$CONFIG_STATUS <<_ACEOF
50994 CEOF$ac_eof
50995 _ACEOF
50996
50997
50998 ac_delim='%!_!# '
50999 for ac_last_try in false false false false false :; do
51000 cat >conf$$subs.sed <<_ACEOF
51001 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51002 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51003 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51004 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51005 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51006 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51007 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51008 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51009 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51010 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51011 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51012 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51013 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51014 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51015 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51016 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51017 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51018 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51019 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51020 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51021 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51022 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51023 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51024 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51025 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51026 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51027 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51028 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51029 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51030 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51031 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51032 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51033 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51034 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51035 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51036 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51037 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51038 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51039 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51040 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51041 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51042 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51043 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51044 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51045 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51046 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51047 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51048 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51049 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51050 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51051 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51052 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51053 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51054 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51055 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51056 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51057 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51058 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51059 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51060 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51061 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51062 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51063 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51064 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51065 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51066 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51067 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51068 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51069 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51070 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51071 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51072 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51073 COND_SHARED_0!$COND_SHARED_0$ac_delim
51074 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51075 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51076 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51077 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51078 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51079 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51080 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51081 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51082 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51083 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51084 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51085 COND_SHARED_1!$COND_SHARED_1$ac_delim
51086 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51087 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51088 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51089 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51090 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51091 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51092 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51093 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51094 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51095 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51096 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51097 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51098 _ACEOF
51099
51100 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51101 break
51102 elif $ac_last_try; then
51103 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51104 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51105 { (exit 1); exit 1; }; }
51106 else
51107 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51108 fi
51109 done
51110
51111 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51112 if test -n "$ac_eof"; then
51113 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51114 ac_eof=`expr $ac_eof + 1`
51115 fi
51116
51117 cat >>$CONFIG_STATUS <<_ACEOF
51118 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51119 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51120 _ACEOF
51121 sed '
51122 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51123 s/^/s,@/; s/!/@,|#_!!_#|/
51124 :n
51125 t n
51126 s/'"$ac_delim"'$/,g/; t
51127 s/$/\\/; p
51128 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51129 ' >>$CONFIG_STATUS <conf$$subs.sed
51130 rm -f conf$$subs.sed
51131 cat >>$CONFIG_STATUS <<_ACEOF
51132 CEOF$ac_eof
51133 _ACEOF
51134
51135
51136 ac_delim='%!_!# '
51137 for ac_last_try in false false false false false :; do
51138 cat >conf$$subs.sed <<_ACEOF
51139 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51140 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51141 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51142 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51143 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51144 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51145 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51146 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51147 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51148 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51149 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51150 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51151 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51152 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51153 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51154 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51155 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51156 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51157 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51158 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51159 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51160 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51161 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51162 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51163 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51164 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51165 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51166 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51167 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51168 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51169 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51170 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51171 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51172 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51173 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51174 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51175 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51176 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51177 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51178 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51179 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51180 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51181 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51182 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51183 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51184 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51185 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51186 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51187 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51188 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51189 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51190 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51191 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51192 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51193 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51194 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51195 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51196 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51197 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51198 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51199 DEREZ!$DEREZ$ac_delim
51200 SHARED!$SHARED$ac_delim
51201 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51202 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51203 USE_GUI!$USE_GUI$ac_delim
51204 AFMINSTALL!$AFMINSTALL$ac_delim
51205 WIN32INSTALL!$WIN32INSTALL$ac_delim
51206 TOOLKIT!$TOOLKIT$ac_delim
51207 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51208 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51209 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51210 cross_compiling!$cross_compiling$ac_delim
51211 WIDGET_SET!$WIDGET_SET$ac_delim
51212 WX_RELEASE!$WX_RELEASE$ac_delim
51213 WX_VERSION!$WX_VERSION$ac_delim
51214 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51215 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51216 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51217 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51218 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51219 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51220 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51221 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51222 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51223 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51224 GUIDIST!$GUIDIST$ac_delim
51225 DISTDIR!$DISTDIR$ac_delim
51226 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51227 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51228 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51229 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51230 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51231 RESCOMP!$RESCOMP$ac_delim
51232 RESFLAGS!$RESFLAGS$ac_delim
51233 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51234 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51235 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51236 _ACEOF
51237
51238 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51239 break
51240 elif $ac_last_try; then
51241 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51242 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51243 { (exit 1); exit 1; }; }
51244 else
51245 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51246 fi
51247 done
51248
51249 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51250 if test -n "$ac_eof"; then
51251 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51252 ac_eof=`expr $ac_eof + 1`
51253 fi
51254
51255 cat >>$CONFIG_STATUS <<_ACEOF
51256 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51257 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51258 _ACEOF
51259 sed '
51260 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51261 s/^/s,@/; s/!/@,|#_!!_#|/
51262 :n
51263 t n
51264 s/'"$ac_delim"'$/,g/; t
51265 s/$/\\/; p
51266 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51267 ' >>$CONFIG_STATUS <conf$$subs.sed
51268 rm -f conf$$subs.sed
51269 cat >>$CONFIG_STATUS <<_ACEOF
51270 CEOF$ac_eof
51271 _ACEOF
51272
51273
51274 ac_delim='%!_!# '
51275 for ac_last_try in false false false false false :; do
51276 cat >conf$$subs.sed <<_ACEOF
51277 LIBWXMACRES!$LIBWXMACRES$ac_delim
51278 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51279 MACSETFILE!$MACSETFILE$ac_delim
51280 GCC!$GCC$ac_delim
51281 DLLTOOL!$DLLTOOL$ac_delim
51282 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51283 LIBOBJS!$LIBOBJS$ac_delim
51284 LTLIBOBJS!$LTLIBOBJS$ac_delim
51285 _ACEOF
51286
51287 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 8; then
51288 break
51289 elif $ac_last_try; then
51290 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51291 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51292 { (exit 1); exit 1; }; }
51293 else
51294 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51295 fi
51296 done
51297
51298 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51299 if test -n "$ac_eof"; then
51300 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51301 ac_eof=`expr $ac_eof + 1`
51302 fi
51303
51304 cat >>$CONFIG_STATUS <<_ACEOF
51305 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51306 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51307 _ACEOF
51308 sed '
51309 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51310 s/^/s,@/; s/!/@,|#_!!_#|/
51311 :n
51312 t n
51313 s/'"$ac_delim"'$/,g/; t
51314 s/$/\\/; p
51315 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51316 ' >>$CONFIG_STATUS <conf$$subs.sed
51317 rm -f conf$$subs.sed
51318 cat >>$CONFIG_STATUS <<_ACEOF
51319 :end
51320 s/|#_!!_#|//g
51321 CEOF$ac_eof
51322 _ACEOF
51323
51324
51325 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51326 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51327 # trailing colons and then remove the whole line if VPATH becomes empty
51328 # (actually we leave an empty line to preserve line numbers).
51329 if test "x$srcdir" = x.; then
51330 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51331 s/:*\$(srcdir):*/:/
51332 s/:*\${srcdir}:*/:/
51333 s/:*@srcdir@:*/:/
51334 s/^\([^=]*=[ ]*\):*/\1/
51335 s/:*$//
51336 s/^[^=]*=[ ]*$//
51337 }'
51338 fi
51339
51340 cat >>$CONFIG_STATUS <<\_ACEOF
51341 fi # test -n "$CONFIG_FILES"
51342
51343
51344 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51345 do
51346 case $ac_tag in
51347 :[FHLC]) ac_mode=$ac_tag; continue;;
51348 esac
51349 case $ac_mode$ac_tag in
51350 :[FHL]*:*);;
51351 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51352 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51353 { (exit 1); exit 1; }; };;
51354 :[FH]-) ac_tag=-:-;;
51355 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51356 esac
51357 ac_save_IFS=$IFS
51358 IFS=:
51359 set x $ac_tag
51360 IFS=$ac_save_IFS
51361 shift
51362 ac_file=$1
51363 shift
51364
51365 case $ac_mode in
51366 :L) ac_source=$1;;
51367 :[FH])
51368 ac_file_inputs=
51369 for ac_f
51370 do
51371 case $ac_f in
51372 -) ac_f="$tmp/stdin";;
51373 *) # Look for the file first in the build tree, then in the source tree
51374 # (if the path is not absolute). The absolute path cannot be DOS-style,
51375 # because $ac_f cannot contain `:'.
51376 test -f "$ac_f" ||
51377 case $ac_f in
51378 [\\/$]*) false;;
51379 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51380 esac ||
51381 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51382 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51383 { (exit 1); exit 1; }; };;
51384 esac
51385 ac_file_inputs="$ac_file_inputs $ac_f"
51386 done
51387
51388 # Let's still pretend it is `configure' which instantiates (i.e., don't
51389 # use $as_me), people would be surprised to read:
51390 # /* config.h. Generated by config.status. */
51391 configure_input="Generated from "`IFS=:
51392 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51393 if test x"$ac_file" != x-; then
51394 configure_input="$ac_file. $configure_input"
51395 { echo "$as_me:$LINENO: creating $ac_file" >&5
51396 echo "$as_me: creating $ac_file" >&6;}
51397 fi
51398
51399 case $ac_tag in
51400 *:-:* | *:-) cat >"$tmp/stdin";;
51401 esac
51402 ;;
51403 esac
51404
51405 ac_dir=`$as_dirname -- "$ac_file" ||
51406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51407 X"$ac_file" : 'X\(//\)[^/]' \| \
51408 X"$ac_file" : 'X\(//\)$' \| \
51409 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51410 echo X"$ac_file" |
51411 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51412 s//\1/
51413 q
51414 }
51415 /^X\(\/\/\)[^/].*/{
51416 s//\1/
51417 q
51418 }
51419 /^X\(\/\/\)$/{
51420 s//\1/
51421 q
51422 }
51423 /^X\(\/\).*/{
51424 s//\1/
51425 q
51426 }
51427 s/.*/./; q'`
51428 { as_dir="$ac_dir"
51429 case $as_dir in #(
51430 -*) as_dir=./$as_dir;;
51431 esac
51432 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51433 as_dirs=
51434 while :; do
51435 case $as_dir in #(
51436 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51437 *) as_qdir=$as_dir;;
51438 esac
51439 as_dirs="'$as_qdir' $as_dirs"
51440 as_dir=`$as_dirname -- "$as_dir" ||
51441 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51442 X"$as_dir" : 'X\(//\)[^/]' \| \
51443 X"$as_dir" : 'X\(//\)$' \| \
51444 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51445 echo X"$as_dir" |
51446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51447 s//\1/
51448 q
51449 }
51450 /^X\(\/\/\)[^/].*/{
51451 s//\1/
51452 q
51453 }
51454 /^X\(\/\/\)$/{
51455 s//\1/
51456 q
51457 }
51458 /^X\(\/\).*/{
51459 s//\1/
51460 q
51461 }
51462 s/.*/./; q'`
51463 test -d "$as_dir" && break
51464 done
51465 test -z "$as_dirs" || eval "mkdir $as_dirs"
51466 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51467 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51468 { (exit 1); exit 1; }; }; }
51469 ac_builddir=.
51470
51471 case "$ac_dir" in
51472 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51473 *)
51474 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51475 # A ".." for each directory in $ac_dir_suffix.
51476 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51477 case $ac_top_builddir_sub in
51478 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51479 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51480 esac ;;
51481 esac
51482 ac_abs_top_builddir=$ac_pwd
51483 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51484 # for backward compatibility:
51485 ac_top_builddir=$ac_top_build_prefix
51486
51487 case $srcdir in
51488 .) # We are building in place.
51489 ac_srcdir=.
51490 ac_top_srcdir=$ac_top_builddir_sub
51491 ac_abs_top_srcdir=$ac_pwd ;;
51492 [\\/]* | ?:[\\/]* ) # Absolute name.
51493 ac_srcdir=$srcdir$ac_dir_suffix;
51494 ac_top_srcdir=$srcdir
51495 ac_abs_top_srcdir=$srcdir ;;
51496 *) # Relative name.
51497 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51498 ac_top_srcdir=$ac_top_build_prefix$srcdir
51499 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51500 esac
51501 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51502
51503
51504 case $ac_mode in
51505 :F)
51506 #
51507 # CONFIG_FILE
51508 #
51509
51510 case $INSTALL in
51511 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51512 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51513 esac
51514 _ACEOF
51515
51516 cat >>$CONFIG_STATUS <<\_ACEOF
51517 # If the template does not know about datarootdir, expand it.
51518 # FIXME: This hack should be removed a few years after 2.60.
51519 ac_datarootdir_hack=; ac_datarootdir_seen=
51520
51521 case `sed -n '/datarootdir/ {
51522 p
51523 q
51524 }
51525 /@datadir@/p
51526 /@docdir@/p
51527 /@infodir@/p
51528 /@localedir@/p
51529 /@mandir@/p
51530 ' $ac_file_inputs` in
51531 *datarootdir*) ac_datarootdir_seen=yes;;
51532 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51533 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51534 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51535 _ACEOF
51536 cat >>$CONFIG_STATUS <<_ACEOF
51537 ac_datarootdir_hack='
51538 s&@datadir@&$datadir&g
51539 s&@docdir@&$docdir&g
51540 s&@infodir@&$infodir&g
51541 s&@localedir@&$localedir&g
51542 s&@mandir@&$mandir&g
51543 s&\\\${datarootdir}&$datarootdir&g' ;;
51544 esac
51545 _ACEOF
51546
51547 # Neutralize VPATH when `$srcdir' = `.'.
51548 # Shell code in configure.ac might set extrasub.
51549 # FIXME: do we really want to maintain this feature?
51550 cat >>$CONFIG_STATUS <<_ACEOF
51551 sed "$ac_vpsub
51552 $extrasub
51553 _ACEOF
51554 cat >>$CONFIG_STATUS <<\_ACEOF
51555 :t
51556 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51557 s&@configure_input@&$configure_input&;t t
51558 s&@top_builddir@&$ac_top_builddir_sub&;t t
51559 s&@srcdir@&$ac_srcdir&;t t
51560 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51561 s&@top_srcdir@&$ac_top_srcdir&;t t
51562 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51563 s&@builddir@&$ac_builddir&;t t
51564 s&@abs_builddir@&$ac_abs_builddir&;t t
51565 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51566 s&@INSTALL@&$ac_INSTALL&;t t
51567 $ac_datarootdir_hack
51568 " $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
51569
51570 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51571 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51572 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51573 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51574 which seems to be undefined. Please make sure it is defined." >&5
51575 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51576 which seems to be undefined. Please make sure it is defined." >&2;}
51577
51578 rm -f "$tmp/stdin"
51579 case $ac_file in
51580 -) cat "$tmp/out"; rm -f "$tmp/out";;
51581 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51582 esac
51583 ;;
51584 :H)
51585 #
51586 # CONFIG_HEADER
51587 #
51588 _ACEOF
51589
51590 # Transform confdefs.h into a sed script `conftest.defines', that
51591 # substitutes the proper values into config.h.in to produce config.h.
51592 rm -f conftest.defines conftest.tail
51593 # First, append a space to every undef/define line, to ease matching.
51594 echo 's/$/ /' >conftest.defines
51595 # Then, protect against being on the right side of a sed subst, or in
51596 # an unquoted here document, in config.status. If some macros were
51597 # called several times there might be several #defines for the same
51598 # symbol, which is useless. But do not sort them, since the last
51599 # AC_DEFINE must be honored.
51600 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51601 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51602 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51603 # PARAMS is the parameter list in the macro definition--in most cases, it's
51604 # just an empty string.
51605 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51606 ac_dB='\\)[ (].*,\\1define\\2'
51607 ac_dC=' '
51608 ac_dD=' ,'
51609
51610 uniq confdefs.h |
51611 sed -n '
51612 t rset
51613 :rset
51614 s/^[ ]*#[ ]*define[ ][ ]*//
51615 t ok
51616 d
51617 :ok
51618 s/[\\&,]/\\&/g
51619 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51620 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51621 ' >>conftest.defines
51622
51623 # Remove the space that was appended to ease matching.
51624 # Then replace #undef with comments. This is necessary, for
51625 # example, in the case of _POSIX_SOURCE, which is predefined and required
51626 # on some systems where configure will not decide to define it.
51627 # (The regexp can be short, since the line contains either #define or #undef.)
51628 echo 's/ $//
51629 s,^[ #]*u.*,/* & */,' >>conftest.defines
51630
51631 # Break up conftest.defines:
51632 ac_max_sed_lines=50
51633
51634 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51635 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51636 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51637 # et cetera.
51638 ac_in='$ac_file_inputs'
51639 ac_out='"$tmp/out1"'
51640 ac_nxt='"$tmp/out2"'
51641
51642 while :
51643 do
51644 # Write a here document:
51645 cat >>$CONFIG_STATUS <<_ACEOF
51646 # First, check the format of the line:
51647 cat >"\$tmp/defines.sed" <<\\CEOF
51648 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51649 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51650 b
51651 :def
51652 _ACEOF
51653 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51654 echo 'CEOF
51655 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51656 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51657 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51658 grep . conftest.tail >/dev/null || break
51659 rm -f conftest.defines
51660 mv conftest.tail conftest.defines
51661 done
51662 rm -f conftest.defines conftest.tail
51663
51664 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51665 cat >>$CONFIG_STATUS <<\_ACEOF
51666 if test x"$ac_file" != x-; then
51667 echo "/* $configure_input */" >"$tmp/config.h"
51668 cat "$ac_result" >>"$tmp/config.h"
51669 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51670 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51671 echo "$as_me: $ac_file is unchanged" >&6;}
51672 else
51673 rm -f $ac_file
51674 mv "$tmp/config.h" $ac_file
51675 fi
51676 else
51677 echo "/* $configure_input */"
51678 cat "$ac_result"
51679 fi
51680 rm -f "$tmp/out12"
51681 ;;
51682
51683 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51684 echo "$as_me: executing $ac_file commands" >&6;}
51685 ;;
51686 esac
51687
51688
51689 case $ac_file$ac_mode in
51690 "rcdefs.h":C)
51691 mkdir -p $outdir &&
51692 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51693 ;;
51694 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51695 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51696 "wx-config":C) rm -f wx-config
51697 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51698 ;;
51699
51700 esac
51701 done # for ac_tag
51702
51703
51704 { (exit 0); exit 0; }
51705 _ACEOF
51706 chmod +x $CONFIG_STATUS
51707 ac_clean_files=$ac_clean_files_save
51708
51709
51710 # configure is writing to config.log, and then calls config.status.
51711 # config.status does its own redirection, appending to config.log.
51712 # Unfortunately, on DOS this fails, as config.log is still kept open
51713 # by configure, so config.status won't be able to write to it; its
51714 # output is simply discarded. So we exec the FD to /dev/null,
51715 # effectively closing config.log, so it can be properly (re)opened and
51716 # appended to by config.status. When coming back to configure, we
51717 # need to make the FD available again.
51718 if test "$no_create" != yes; then
51719 ac_cs_success=:
51720 ac_config_status_args=
51721 test "$silent" = yes &&
51722 ac_config_status_args="$ac_config_status_args --quiet"
51723 exec 5>/dev/null
51724 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51725 exec 5>>config.log
51726 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51727 # would make configure fail if this is the last instruction.
51728 $ac_cs_success || { (exit 1); exit 1; }
51729 fi
51730
51731 #
51732 # CONFIG_SUBDIRS section.
51733 #
51734 if test "$no_recursion" != yes; then
51735
51736 # Remove --cache-file and --srcdir arguments so they do not pile up.
51737 ac_sub_configure_args=
51738 ac_prev=
51739 eval "set x $ac_configure_args"
51740 shift
51741 for ac_arg
51742 do
51743 if test -n "$ac_prev"; then
51744 ac_prev=
51745 continue
51746 fi
51747 case $ac_arg in
51748 -cache-file | --cache-file | --cache-fil | --cache-fi \
51749 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51750 ac_prev=cache_file ;;
51751 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51752 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51753 | --c=*)
51754 ;;
51755 --config-cache | -C)
51756 ;;
51757 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51758 ac_prev=srcdir ;;
51759 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51760 ;;
51761 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51762 ac_prev=prefix ;;
51763 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51764 ;;
51765 *)
51766 case $ac_arg in
51767 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51768 esac
51769 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51770 esac
51771 done
51772
51773 # Always prepend --prefix to ensure using the same prefix
51774 # in subdir configurations.
51775 ac_arg="--prefix=$prefix"
51776 case $ac_arg in
51777 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51778 esac
51779 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51780
51781 # Pass --silent
51782 if test "$silent" = yes; then
51783 ac_sub_configure_args="--silent $ac_sub_configure_args"
51784 fi
51785
51786 ac_popdir=`pwd`
51787 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51788
51789 # Do not complain, so a configure script can configure whichever
51790 # parts of a large source tree are present.
51791 test -d "$srcdir/$ac_dir" || continue
51792
51793 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51794 echo "$as_me:$LINENO: $ac_msg" >&5
51795 echo "$ac_msg" >&6
51796 { as_dir="$ac_dir"
51797 case $as_dir in #(
51798 -*) as_dir=./$as_dir;;
51799 esac
51800 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51801 as_dirs=
51802 while :; do
51803 case $as_dir in #(
51804 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51805 *) as_qdir=$as_dir;;
51806 esac
51807 as_dirs="'$as_qdir' $as_dirs"
51808 as_dir=`$as_dirname -- "$as_dir" ||
51809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51810 X"$as_dir" : 'X\(//\)[^/]' \| \
51811 X"$as_dir" : 'X\(//\)$' \| \
51812 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51813 echo X"$as_dir" |
51814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51815 s//\1/
51816 q
51817 }
51818 /^X\(\/\/\)[^/].*/{
51819 s//\1/
51820 q
51821 }
51822 /^X\(\/\/\)$/{
51823 s//\1/
51824 q
51825 }
51826 /^X\(\/\).*/{
51827 s//\1/
51828 q
51829 }
51830 s/.*/./; q'`
51831 test -d "$as_dir" && break
51832 done
51833 test -z "$as_dirs" || eval "mkdir $as_dirs"
51834 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51835 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51836 { (exit 1); exit 1; }; }; }
51837 ac_builddir=.
51838
51839 case "$ac_dir" in
51840 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51841 *)
51842 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51843 # A ".." for each directory in $ac_dir_suffix.
51844 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51845 case $ac_top_builddir_sub in
51846 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51847 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51848 esac ;;
51849 esac
51850 ac_abs_top_builddir=$ac_pwd
51851 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51852 # for backward compatibility:
51853 ac_top_builddir=$ac_top_build_prefix
51854
51855 case $srcdir in
51856 .) # We are building in place.
51857 ac_srcdir=.
51858 ac_top_srcdir=$ac_top_builddir_sub
51859 ac_abs_top_srcdir=$ac_pwd ;;
51860 [\\/]* | ?:[\\/]* ) # Absolute name.
51861 ac_srcdir=$srcdir$ac_dir_suffix;
51862 ac_top_srcdir=$srcdir
51863 ac_abs_top_srcdir=$srcdir ;;
51864 *) # Relative name.
51865 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51866 ac_top_srcdir=$ac_top_build_prefix$srcdir
51867 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51868 esac
51869 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51870
51871
51872 cd "$ac_dir"
51873
51874 # Check for guested configure; otherwise get Cygnus style configure.
51875 if test -f "$ac_srcdir/configure.gnu"; then
51876 ac_sub_configure=$ac_srcdir/configure.gnu
51877 elif test -f "$ac_srcdir/configure"; then
51878 ac_sub_configure=$ac_srcdir/configure
51879 elif test -f "$ac_srcdir/configure.in"; then
51880 # This should be Cygnus configure.
51881 ac_sub_configure=$ac_aux_dir/configure
51882 else
51883 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51884 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51885 ac_sub_configure=
51886 fi
51887
51888 # The recursion is here.
51889 if test -n "$ac_sub_configure"; then
51890 # Make the cache file name correct relative to the subdirectory.
51891 case $cache_file in
51892 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51893 *) # Relative name.
51894 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51895 esac
51896
51897 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51898 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51899 # The eval makes quoting arguments work.
51900 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51901 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51902 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51903 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51904 { (exit 1); exit 1; }; }
51905 fi
51906
51907 cd "$ac_popdir"
51908 done
51909 fi
51910
51911
51912 echo
51913 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51914 echo ""
51915 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51916 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51917
51918 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51919 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51920 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51921 if test "$wxUSE_UNICODE" = "yes"; then
51922 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51923 echo " (using UTF-8)"
51924 else
51925 echo " (using wchar_t)"
51926 fi
51927 else
51928 echo
51929 fi
51930
51931 echo " What level of wxWidgets compatibility should be enabled?"
51932 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51933 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51934
51935 echo " Which libraries should wxWidgets use?"
51936 echo " STL ${wxUSE_STL}"
51937 echo " jpeg ${wxUSE_LIBJPEG-none}"
51938 echo " png ${wxUSE_LIBPNG-none}"
51939 echo " regex ${wxUSE_REGEX}"
51940 echo " tiff ${wxUSE_LIBTIFF-none}"
51941 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51942 echo " xpm ${wxUSE_LIBXPM-none}"
51943 fi
51944 echo " zlib ${wxUSE_ZLIB}"
51945 echo " expat ${wxUSE_EXPAT}"
51946 echo " libmspack ${wxUSE_LIBMSPACK}"
51947 echo " sdl ${wxUSE_LIBSDL}"
51948
51949 echo ""
51950