]> git.saurik.com Git - wxWidgets.git/blob - configure
277c06438a67c50cd462e5f68a86a90a146c7517
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 60555 2009-05-08 23:12:57Z 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 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 PYTHON
713 COND_PYTHON
714 CAIRO_CFLAGS
715 CAIRO_LIBS
716 GST_CFLAGS
717 GST_LIBS
718 ALL_WX_LIBS
719 BUILT_WX_LIBS
720 STD_BASE_LIBS
721 STD_GUI_LIBS
722 wxUSE_ZLIB
723 wxUSE_REGEX
724 wxUSE_EXPAT
725 wxUSE_LIBJPEG
726 wxUSE_LIBPNG
727 wxUSE_LIBTIFF
728 VENDOR
729 OFFICIAL_BUILD
730 WX_FLAVOUR
731 WX_LIB_FLAVOUR
732 WXUNIV
733 MONOLITHIC
734 USE_PLUGINS
735 CXXWARNINGS
736 EXTRALIBS
737 EXTRALIBS_XML
738 EXTRALIBS_HTML
739 EXTRALIBS_MEDIA
740 EXTRALIBS_GUI
741 EXTRALIBS_OPENGL
742 EXTRALIBS_SDL
743 EXTRALIBS_STC
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 DYLIB_RPATH_INSTALL
756 DYLIB_RPATH_POSTLINK
757 SAMPLES_RPATH_FLAG
758 HEADER_PAD_OPTION
759 HOST_SUFFIX
760 CPPUNIT_CFLAGS
761 CPPUNIT_LIBS
762 RANLIB
763 INSTALL_PROGRAM
764 INSTALL_SCRIPT
765 INSTALL_DATA
766 LN_S
767 SET_MAKE
768 MAKE_SET
769 AROPTIONS
770 STRIP
771 NM
772 INSTALL_DIR
773 LDFLAGS_GUI
774 IF_GNU_MAKE
775 PLATFORM_UNIX
776 PLATFORM_WIN32
777 PLATFORM_MSDOS
778 PLATFORM_MAC
779 PLATFORM_MACOS
780 PLATFORM_MACOSX
781 PLATFORM_OS2
782 PLATFORM_BEOS
783 SO_SUFFIX
784 SO_SUFFIX_MODULE
785 DLLIMP_SUFFIX
786 LIBPREFIX
787 LIBEXT
788 DLLPREFIX
789 DLLPREFIX_MODULE
790 dlldir
791 AIX_CXX_LD
792 SHARED_LD_CC
793 SHARED_LD_CXX
794 SHARED_LD_MODULE_CC
795 SHARED_LD_MODULE_CXX
796 PIC_FLAG
797 WINDOWS_IMPLIB
798 USE_SOVERSION
799 USE_SOVERLINUX
800 USE_SOVERSOLARIS
801 USE_SOVERCYGWIN
802 USE_MACVERSION
803 USE_SOSYMLINKS
804 SONAME_FLAG
805 DEPS_TRACKING
806 BK_DEPS
807 WINDRES
808 REZ
809 SETFILE
810 OBJCXXFLAGS
811 GCC_PCH
812 ICC_PCH
813 ICC_PCH_CREATE_SWITCH
814 ICC_PCH_USE_SWITCH
815 BK_MAKE_PCH
816 COND_BUILD_DEBUG
817 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
818 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
819 COND_BUILD_DEBUG_UNICODE_0
820 COND_BUILD_DEBUG_UNICODE_1
821 COND_BUILD_RELEASE
822 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
823 COND_BUILD_RELEASE_UNICODE_0
824 COND_BUILD_RELEASE_UNICODE_1
825 COND_BUILD_debug
826 COND_BUILD_debug_DEBUG_FLAG_default
827 COND_BUILD_debug_DEBUG_INFO_default
828 COND_BUILD_debug_UNICODE_0
829 COND_BUILD_debug_UNICODE_1
830 COND_BUILD_release
831 COND_BUILD_release_DEBUG_INFO_default
832 COND_BUILD_release_UNICODE_0
833 COND_BUILD_release_UNICODE_1
834 COND_DEBUG_FLAG_1
835 COND_DEBUG_INFO_0
836 COND_DEBUG_INFO_1
837 COND_DEPS_TRACKING_0
838 COND_DEPS_TRACKING_1
839 COND_GCC_PCH_1
840 COND_ICC_PCH_1
841 COND_MONOLITHIC_0
842 COND_MONOLITHIC_0_SHARED_0
843 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
848 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
850 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
851 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
852 COND_MONOLITHIC_0_SHARED_1
853 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
858 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
860 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
861 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
862 COND_MONOLITHIC_0_USE_AUI_1
863 COND_MONOLITHIC_0_USE_GUI_1
864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_USE_HTML_1
866 COND_MONOLITHIC_0_USE_MEDIA_1
867 COND_MONOLITHIC_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_USE_QA_1
869 COND_MONOLITHIC_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_USE_STC_1
871 COND_MONOLITHIC_0_USE_XRC_1
872 COND_MONOLITHIC_1
873 COND_MONOLITHIC_1_SHARED_0
874 COND_MONOLITHIC_1_SHARED_1
875 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
876 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
879 COND_PLATFORM_MACOSX_1
880 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
884 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
885 COND_PLATFORM_MACOSX_1_USE_GUI_1
886 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
887 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
888 COND_PLATFORM_MACOS_1
889 COND_PLATFORM_MAC_0
890 COND_PLATFORM_MAC_1
891 COND_PLATFORM_MSDOS_0
892 COND_PLATFORM_MSDOS_1
893 COND_PLATFORM_OS2_1
894 COND_PLATFORM_UNIX_0
895 COND_PLATFORM_UNIX_1
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
897 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_GUI_1
899 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
900 COND_PLATFORM_WIN32_0
901 COND_PLATFORM_WIN32_1
902 COND_SHARED_0
903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
905 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
906 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
909 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
910 COND_SHARED_0_USE_STC_1
911 COND_SHARED_0_wxUSE_EXPAT_builtin
912 COND_SHARED_0_wxUSE_REGEX_builtin
913 COND_SHARED_0_wxUSE_ZLIB_builtin
914 COND_SHARED_1
915 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
916 COND_TOOLKIT_
917 COND_TOOLKIT_COCOA
918 COND_TOOLKIT_COCOA_USE_GUI_1
919 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_DFB
921 COND_TOOLKIT_DFB_USE_GUI_1
922 COND_TOOLKIT_GTK
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
928 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_GTK_USE_GUI_1
930 COND_TOOLKIT_MAC
931 COND_TOOLKIT_MGL
932 COND_TOOLKIT_MGL_USE_GUI_1
933 COND_TOOLKIT_MOTIF
934 COND_TOOLKIT_MOTIF_USE_GUI_1
935 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW
937 COND_TOOLKIT_MSW_USE_GUI_1
938 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
939 COND_TOOLKIT_MSW_WXUNIV_0
940 COND_TOOLKIT_OSX_CARBON
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA
943 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
944 COND_TOOLKIT_OSX_IPHONE
945 COND_TOOLKIT_PM
946 COND_TOOLKIT_PM_USE_GUI_1
947 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
948 COND_TOOLKIT_WINCE
949 COND_TOOLKIT_WINCE_USE_GUI_1
950 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_WINCE_WXUNIV_0
952 COND_TOOLKIT_X11
953 COND_TOOLKIT_X11_USE_GUI_1
954 COND_UNICODE_1
955 COND_USE_EXCEPTIONS_0
956 COND_USE_EXCEPTIONS_1
957 COND_USE_GUI_0
958 COND_USE_GUI_1
959 COND_USE_GUI_1_USE_OPENGL_1
960 COND_USE_GUI_1_WXUNIV_0
961 COND_USE_GUI_1_WXUNIV_1
962 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
964 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
965 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
966 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
967 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
968 COND_USE_OPENGL_1
969 COND_USE_PCH_1
970 COND_USE_PLUGINS_0
971 COND_USE_RTTI_0
972 COND_USE_RTTI_1
973 COND_USE_SOSYMLINKS_1
974 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
975 COND_USE_SOVERLINUX_1
976 COND_USE_SOVERSION_0
977 COND_USE_SOVERSOLARIS_1
978 COND_USE_STC_1
979 COND_USE_THREADS_0
980 COND_USE_THREADS_1
981 COND_USE_XRC_1
982 COND_WINDOWS_IMPLIB_1
983 COND_WITH_PLUGIN_SDL_1
984 COND_WXUNIV_0
985 COND_WXUNIV_1
986 COND_WXUSE_EXPAT_BUILTIN
987 COND_WXUSE_LIBJPEG_BUILTIN
988 COND_WXUSE_LIBPNG_BUILTIN
989 COND_WXUSE_LIBTIFF_BUILTIN
990 COND_WXUSE_REGEX_BUILTIN
991 COND_WXUSE_ZLIB_BUILTIN
992 COND_wxUSE_EXPAT_builtin
993 COND_wxUSE_LIBJPEG_builtin
994 COND_wxUSE_LIBPNG_builtin
995 COND_wxUSE_LIBTIFF_builtin
996 COND_wxUSE_REGEX_builtin
997 COND_wxUSE_ZLIB_builtin
998 DEREZ
999 SHARED
1000 WX_LIBRARY_BASENAME_NOGUI
1001 WX_LIBRARY_BASENAME_GUI
1002 USE_GUI
1003 AFMINSTALL
1004 WIN32INSTALL
1005 TOOLKIT
1006 TOOLKIT_DIR
1007 TOOLCHAIN_NAME
1008 TOOLCHAIN_FULLNAME
1009 cross_compiling
1010 WIDGET_SET
1011 WX_RELEASE
1012 WX_VERSION
1013 WX_SUBVERSION
1014 WX_CHARTYPE
1015 WX_DEBUGTYPE
1016 WXCONFIG_CPPFLAGS
1017 WXCONFIG_CFLAGS
1018 WXCONFIG_CXXFLAGS
1019 WXCONFIG_LIBS
1020 WXCONFIG_RPATH
1021 WXCONFIG_LDFLAGS_GUI
1022 WXCONFIG_RESFLAGS
1023 GUIDIST
1024 DISTDIR
1025 SAMPLES_SUBDIRS
1026 LDFLAGS_GL
1027 OPENGL_LIBS
1028 DMALLOC_LIBS
1029 WX_VERSION_TAG
1030 RESCOMP
1031 RESFLAGS
1032 RESPROGRAMOBJ
1033 WX_RESOURCES_MACOSX_ASCII
1034 WX_RESOURCES_MACOSX_DATA
1035 LIBWXMACRES
1036 POSTLINK_COMMAND
1037 MACSETFILE
1038 GCC
1039 DLLTOOL
1040 CPPUNIT_CONFIG
1041 LIBOBJS
1042 LTLIBOBJS'
1043 ac_subst_files=''
1044 ac_precious_vars='build_alias
1045 host_alias
1046 target_alias
1047 CC
1048 CFLAGS
1049 LDFLAGS
1050 LIBS
1051 CPPFLAGS
1052 CPP
1053 CXX
1054 CXXFLAGS
1055 CCC
1056 PKG_CONFIG
1057 DIRECTFB_CFLAGS
1058 DIRECTFB_LIBS
1059 XMKMF
1060 PANGOX_CFLAGS
1061 PANGOX_LIBS
1062 PANGOFT2_CFLAGS
1063 PANGOFT2_LIBS
1064 PANGOXFT_CFLAGS
1065 PANGOXFT_LIBS
1066 GTKPRINT_CFLAGS
1067 GTKPRINT_LIBS
1068 LIBGNOMEPRINTUI_CFLAGS
1069 LIBGNOMEPRINTUI_LIBS
1070 GNOMEVFS_CFLAGS
1071 GNOMEVFS_LIBS
1072 HILDON_CFLAGS
1073 HILDON_LIBS
1074 CAIRO_CFLAGS
1075 CAIRO_LIBS
1076 GST_CFLAGS
1077 GST_LIBS'
1078 ac_subdirs_all='src/tiff
1079 src/expat'
1080
1081 # Initialize some variables set by options.
1082 ac_init_help=
1083 ac_init_version=false
1084 # The variables have the same names as the options, with
1085 # dashes changed to underlines.
1086 cache_file=/dev/null
1087 exec_prefix=NONE
1088 no_create=
1089 no_recursion=
1090 prefix=NONE
1091 program_prefix=NONE
1092 program_suffix=NONE
1093 program_transform_name=s,x,x,
1094 silent=
1095 site=
1096 srcdir=
1097 verbose=
1098 x_includes=NONE
1099 x_libraries=NONE
1100
1101 # Installation directory options.
1102 # These are left unexpanded so users can "make install exec_prefix=/foo"
1103 # and all the variables that are supposed to be based on exec_prefix
1104 # by default will actually change.
1105 # Use braces instead of parens because sh, perl, etc. also accept them.
1106 # (The list follows the same order as the GNU Coding Standards.)
1107 bindir='${exec_prefix}/bin'
1108 sbindir='${exec_prefix}/sbin'
1109 libexecdir='${exec_prefix}/libexec'
1110 datarootdir='${prefix}/share'
1111 datadir='${datarootdir}'
1112 sysconfdir='${prefix}/etc'
1113 sharedstatedir='${prefix}/com'
1114 localstatedir='${prefix}/var'
1115 includedir='${prefix}/include'
1116 oldincludedir='/usr/include'
1117 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1118 infodir='${datarootdir}/info'
1119 htmldir='${docdir}'
1120 dvidir='${docdir}'
1121 pdfdir='${docdir}'
1122 psdir='${docdir}'
1123 libdir='${exec_prefix}/lib'
1124 localedir='${datarootdir}/locale'
1125 mandir='${datarootdir}/man'
1126
1127 ac_prev=
1128 ac_dashdash=
1129 for ac_option
1130 do
1131 # If the previous option needs an argument, assign it.
1132 if test -n "$ac_prev"; then
1133 eval $ac_prev=\$ac_option
1134 ac_prev=
1135 continue
1136 fi
1137
1138 case $ac_option in
1139 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1140 *) ac_optarg=yes ;;
1141 esac
1142
1143 # Accept the important Cygnus configure options, so we can diagnose typos.
1144
1145 case $ac_dashdash$ac_option in
1146 --)
1147 ac_dashdash=yes ;;
1148
1149 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1150 ac_prev=bindir ;;
1151 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1152 bindir=$ac_optarg ;;
1153
1154 -build | --build | --buil | --bui | --bu)
1155 ac_prev=build_alias ;;
1156 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1157 build_alias=$ac_optarg ;;
1158
1159 -cache-file | --cache-file | --cache-fil | --cache-fi \
1160 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1161 ac_prev=cache_file ;;
1162 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1163 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1164 cache_file=$ac_optarg ;;
1165
1166 --config-cache | -C)
1167 cache_file=config.cache ;;
1168
1169 -datadir | --datadir | --datadi | --datad)
1170 ac_prev=datadir ;;
1171 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1172 datadir=$ac_optarg ;;
1173
1174 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1175 | --dataroo | --dataro | --datar)
1176 ac_prev=datarootdir ;;
1177 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1178 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1179 datarootdir=$ac_optarg ;;
1180
1181 -disable-* | --disable-*)
1182 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1186 { (exit 1); exit 1; }; }
1187 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1188 eval enable_$ac_feature=no ;;
1189
1190 -docdir | --docdir | --docdi | --doc | --do)
1191 ac_prev=docdir ;;
1192 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1193 docdir=$ac_optarg ;;
1194
1195 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1196 ac_prev=dvidir ;;
1197 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1198 dvidir=$ac_optarg ;;
1199
1200 -enable-* | --enable-*)
1201 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1204 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1207 eval enable_$ac_feature=\$ac_optarg ;;
1208
1209 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1210 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211 | --exec | --exe | --ex)
1212 ac_prev=exec_prefix ;;
1213 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1214 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1215 | --exec=* | --exe=* | --ex=*)
1216 exec_prefix=$ac_optarg ;;
1217
1218 -gas | --gas | --ga | --g)
1219 # Obsolete; use --with-gas.
1220 with_gas=yes ;;
1221
1222 -help | --help | --hel | --he | -h)
1223 ac_init_help=long ;;
1224 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1225 ac_init_help=recursive ;;
1226 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1227 ac_init_help=short ;;
1228
1229 -host | --host | --hos | --ho)
1230 ac_prev=host_alias ;;
1231 -host=* | --host=* | --hos=* | --ho=*)
1232 host_alias=$ac_optarg ;;
1233
1234 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1235 ac_prev=htmldir ;;
1236 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1237 | --ht=*)
1238 htmldir=$ac_optarg ;;
1239
1240 -includedir | --includedir | --includedi | --included | --include \
1241 | --includ | --inclu | --incl | --inc)
1242 ac_prev=includedir ;;
1243 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1244 | --includ=* | --inclu=* | --incl=* | --inc=*)
1245 includedir=$ac_optarg ;;
1246
1247 -infodir | --infodir | --infodi | --infod | --info | --inf)
1248 ac_prev=infodir ;;
1249 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1250 infodir=$ac_optarg ;;
1251
1252 -libdir | --libdir | --libdi | --libd)
1253 ac_prev=libdir ;;
1254 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1255 libdir=$ac_optarg ;;
1256
1257 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1258 | --libexe | --libex | --libe)
1259 ac_prev=libexecdir ;;
1260 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1261 | --libexe=* | --libex=* | --libe=*)
1262 libexecdir=$ac_optarg ;;
1263
1264 -localedir | --localedir | --localedi | --localed | --locale)
1265 ac_prev=localedir ;;
1266 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1267 localedir=$ac_optarg ;;
1268
1269 -localstatedir | --localstatedir | --localstatedi | --localstated \
1270 | --localstate | --localstat | --localsta | --localst | --locals)
1271 ac_prev=localstatedir ;;
1272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1273 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1274 localstatedir=$ac_optarg ;;
1275
1276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1277 ac_prev=mandir ;;
1278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1279 mandir=$ac_optarg ;;
1280
1281 -nfp | --nfp | --nf)
1282 # Obsolete; use --without-fp.
1283 with_fp=no ;;
1284
1285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1286 | --no-cr | --no-c | -n)
1287 no_create=yes ;;
1288
1289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1291 no_recursion=yes ;;
1292
1293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1295 | --oldin | --oldi | --old | --ol | --o)
1296 ac_prev=oldincludedir ;;
1297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1300 oldincludedir=$ac_optarg ;;
1301
1302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1303 ac_prev=prefix ;;
1304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1305 prefix=$ac_optarg ;;
1306
1307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1308 | --program-pre | --program-pr | --program-p)
1309 ac_prev=program_prefix ;;
1310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1312 program_prefix=$ac_optarg ;;
1313
1314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1315 | --program-suf | --program-su | --program-s)
1316 ac_prev=program_suffix ;;
1317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1319 program_suffix=$ac_optarg ;;
1320
1321 -program-transform-name | --program-transform-name \
1322 | --program-transform-nam | --program-transform-na \
1323 | --program-transform-n | --program-transform- \
1324 | --program-transform | --program-transfor \
1325 | --program-transfo | --program-transf \
1326 | --program-trans | --program-tran \
1327 | --progr-tra | --program-tr | --program-t)
1328 ac_prev=program_transform_name ;;
1329 -program-transform-name=* | --program-transform-name=* \
1330 | --program-transform-nam=* | --program-transform-na=* \
1331 | --program-transform-n=* | --program-transform-=* \
1332 | --program-transform=* | --program-transfor=* \
1333 | --program-transfo=* | --program-transf=* \
1334 | --program-trans=* | --program-tran=* \
1335 | --progr-tra=* | --program-tr=* | --program-t=*)
1336 program_transform_name=$ac_optarg ;;
1337
1338 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1339 ac_prev=pdfdir ;;
1340 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1341 pdfdir=$ac_optarg ;;
1342
1343 -psdir | --psdir | --psdi | --psd | --ps)
1344 ac_prev=psdir ;;
1345 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1346 psdir=$ac_optarg ;;
1347
1348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349 | -silent | --silent | --silen | --sile | --sil)
1350 silent=yes ;;
1351
1352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1353 ac_prev=sbindir ;;
1354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1355 | --sbi=* | --sb=*)
1356 sbindir=$ac_optarg ;;
1357
1358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1360 | --sharedst | --shareds | --shared | --share | --shar \
1361 | --sha | --sh)
1362 ac_prev=sharedstatedir ;;
1363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1366 | --sha=* | --sh=*)
1367 sharedstatedir=$ac_optarg ;;
1368
1369 -site | --site | --sit)
1370 ac_prev=site ;;
1371 -site=* | --site=* | --sit=*)
1372 site=$ac_optarg ;;
1373
1374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1375 ac_prev=srcdir ;;
1376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1377 srcdir=$ac_optarg ;;
1378
1379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1380 | --syscon | --sysco | --sysc | --sys | --sy)
1381 ac_prev=sysconfdir ;;
1382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1384 sysconfdir=$ac_optarg ;;
1385
1386 -target | --target | --targe | --targ | --tar | --ta | --t)
1387 ac_prev=target_alias ;;
1388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1389 target_alias=$ac_optarg ;;
1390
1391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1392 verbose=yes ;;
1393
1394 -version | --version | --versio | --versi | --vers | -V)
1395 ac_init_version=: ;;
1396
1397 -with-* | --with-*)
1398 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1399 # Reject names that are not valid shell variable names.
1400 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1401 { echo "$as_me: error: invalid package name: $ac_package" >&2
1402 { (exit 1); exit 1; }; }
1403 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1404 eval with_$ac_package=\$ac_optarg ;;
1405
1406 -without-* | --without-*)
1407 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1410 { echo "$as_me: error: invalid package name: $ac_package" >&2
1411 { (exit 1); exit 1; }; }
1412 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1413 eval with_$ac_package=no ;;
1414
1415 --x)
1416 # Obsolete; use --with-x.
1417 with_x=yes ;;
1418
1419 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1420 | --x-incl | --x-inc | --x-in | --x-i)
1421 ac_prev=x_includes ;;
1422 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1423 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1424 x_includes=$ac_optarg ;;
1425
1426 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1427 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1428 ac_prev=x_libraries ;;
1429 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1430 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1431 x_libraries=$ac_optarg ;;
1432
1433 -*) { echo "$as_me: error: unrecognized option: $ac_option
1434 Try \`$0 --help' for more information." >&2
1435 { (exit 1); exit 1; }; }
1436 ;;
1437
1438 *=*)
1439 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1442 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1443 { (exit 1); exit 1; }; }
1444 eval $ac_envvar=\$ac_optarg
1445 export $ac_envvar ;;
1446
1447 *)
1448 # FIXME: should be removed in autoconf 3.0.
1449 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1450 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1451 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1452 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1453 ;;
1454
1455 esac
1456 done
1457
1458 if test -n "$ac_prev"; then
1459 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1460 { echo "$as_me: error: missing argument to $ac_option" >&2
1461 { (exit 1); exit 1; }; }
1462 fi
1463
1464 # Be sure to have absolute directory names.
1465 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1466 datadir sysconfdir sharedstatedir localstatedir includedir \
1467 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1468 libdir localedir mandir
1469 do
1470 eval ac_val=\$$ac_var
1471 case $ac_val in
1472 [\\/$]* | ?:[\\/]* ) continue;;
1473 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1474 esac
1475 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1476 { (exit 1); exit 1; }; }
1477 done
1478
1479 # There might be people who depend on the old broken behavior: `$host'
1480 # used to hold the argument of --host etc.
1481 # FIXME: To remove some day.
1482 build=$build_alias
1483 host=$host_alias
1484 target=$target_alias
1485
1486 # FIXME: To remove some day.
1487 if test "x$host_alias" != x; then
1488 if test "x$build_alias" = x; then
1489 cross_compiling=maybe
1490 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1491 If a cross compiler is detected then cross compile mode will be used." >&2
1492 elif test "x$build_alias" != "x$host_alias"; then
1493 cross_compiling=yes
1494 fi
1495 fi
1496
1497 ac_tool_prefix=
1498 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1499
1500 test "$silent" = yes && exec 6>/dev/null
1501
1502
1503 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1504 ac_ls_di=`ls -di .` &&
1505 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1506 { echo "$as_me: error: Working directory cannot be determined" >&2
1507 { (exit 1); exit 1; }; }
1508 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1509 { echo "$as_me: error: pwd does not report name of working directory" >&2
1510 { (exit 1); exit 1; }; }
1511
1512
1513 # Find the source files, if location was not specified.
1514 if test -z "$srcdir"; then
1515 ac_srcdir_defaulted=yes
1516 # Try the directory containing this script, then the parent directory.
1517 ac_confdir=`$as_dirname -- "$0" ||
1518 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1519 X"$0" : 'X\(//\)[^/]' \| \
1520 X"$0" : 'X\(//\)$' \| \
1521 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1522 echo X"$0" |
1523 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1524 s//\1/
1525 q
1526 }
1527 /^X\(\/\/\)[^/].*/{
1528 s//\1/
1529 q
1530 }
1531 /^X\(\/\/\)$/{
1532 s//\1/
1533 q
1534 }
1535 /^X\(\/\).*/{
1536 s//\1/
1537 q
1538 }
1539 s/.*/./; q'`
1540 srcdir=$ac_confdir
1541 if test ! -r "$srcdir/$ac_unique_file"; then
1542 srcdir=..
1543 fi
1544 else
1545 ac_srcdir_defaulted=no
1546 fi
1547 if test ! -r "$srcdir/$ac_unique_file"; then
1548 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1549 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1550 { (exit 1); exit 1; }; }
1551 fi
1552 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1553 ac_abs_confdir=`(
1554 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1555 { (exit 1); exit 1; }; }
1556 pwd)`
1557 # When building in place, set srcdir=.
1558 if test "$ac_abs_confdir" = "$ac_pwd"; then
1559 srcdir=.
1560 fi
1561 # Remove unnecessary trailing slashes from srcdir.
1562 # Double slashes in file names in object file debugging info
1563 # mess up M-x gdb in Emacs.
1564 case $srcdir in
1565 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1566 esac
1567 for ac_var in $ac_precious_vars; do
1568 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1569 eval ac_env_${ac_var}_value=\$${ac_var}
1570 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1571 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1572 done
1573
1574 #
1575 # Report the --help message.
1576 #
1577 if test "$ac_init_help" = "long"; then
1578 # Omit some internal or obsolete options to make the list less imposing.
1579 # This message is too long to be a string in the A/UX 3.1 sh.
1580 cat <<_ACEOF
1581 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1582
1583 Usage: $0 [OPTION]... [VAR=VALUE]...
1584
1585 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1586 VAR=VALUE. See below for descriptions of some of the useful variables.
1587
1588 Defaults for the options are specified in brackets.
1589
1590 Configuration:
1591 -h, --help display this help and exit
1592 --help=short display options specific to this package
1593 --help=recursive display the short help of all the included packages
1594 -V, --version display version information and exit
1595 -q, --quiet, --silent do not print \`checking...' messages
1596 --cache-file=FILE cache test results in FILE [disabled]
1597 -C, --config-cache alias for \`--cache-file=config.cache'
1598 -n, --no-create do not create output files
1599 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600
1601 Installation directories:
1602 --prefix=PREFIX install architecture-independent files in PREFIX
1603 [$ac_default_prefix]
1604 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1605 [PREFIX]
1606
1607 By default, \`make install' will install all the files in
1608 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1609 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1610 for instance \`--prefix=\$HOME'.
1611
1612 For better control, use the options below.
1613
1614 Fine tuning of the installation directories:
1615 --bindir=DIR user executables [EPREFIX/bin]
1616 --sbindir=DIR system admin executables [EPREFIX/sbin]
1617 --libexecdir=DIR program executables [EPREFIX/libexec]
1618 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1619 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1620 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1621 --libdir=DIR object code libraries [EPREFIX/lib]
1622 --includedir=DIR C header files [PREFIX/include]
1623 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1624 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1625 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1626 --infodir=DIR info documentation [DATAROOTDIR/info]
1627 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1628 --mandir=DIR man documentation [DATAROOTDIR/man]
1629 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1630 --htmldir=DIR html documentation [DOCDIR]
1631 --dvidir=DIR dvi documentation [DOCDIR]
1632 --pdfdir=DIR pdf documentation [DOCDIR]
1633 --psdir=DIR ps documentation [DOCDIR]
1634 _ACEOF
1635
1636 cat <<\_ACEOF
1637
1638 X features:
1639 --x-includes=DIR X include files are in DIR
1640 --x-libraries=DIR X library files are in DIR
1641
1642 System types:
1643 --build=BUILD configure for building on BUILD [guessed]
1644 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1645 _ACEOF
1646 fi
1647
1648 if test -n "$ac_init_help"; then
1649 case $ac_init_help in
1650 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1651 esac
1652 cat <<\_ACEOF
1653
1654 Optional Features:
1655 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1656 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1657 --disable-gui don't build GUI parts of the library
1658 --enable-monolithic build wxWidgets as single library
1659 --enable-plugins build parts of wxWidgets as loadable components
1660 --enable-official_build official build of wxWidgets (win32 DLL only)
1661 --enable-vendor=VENDOR vendor name (win32 DLL only)
1662 --disable-all-features disable all optional features to build minimal library
1663 --enable-universal use wxWidgets GUI controls instead of native ones
1664 --enable-nanox use NanoX
1665 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1666 --enable-gpe use GNOME PDA Environment features if possible
1667 --disable-shared create static library instead of shared
1668 --enable-debug same as debug_flag and debug_info
1669 --enable-stl use STL for containers
1670 --enable-std_iostreams use standard C++ stream classes
1671 --enable-std_string use standard C++ string classes
1672 --disable-unicode compile without Unicode support
1673 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1674 --enable-utf8 use UTF-8 representation for strings (Unix only)
1675 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1676 --enable-extended_rtti use extended RTTI (XTI)
1677 --enable-omf use OMF object format
1678 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1679 --enable-debug_info create code with debugging information
1680 --disable-optimise compile without optimisations
1681 --enable-debug_gdb create code with extra GDB debugging information
1682 --enable-debug_cntxt use wxDebugContext
1683 --enable-mem_tracing create code with memory tracing
1684 --enable-profile create code with profiling information
1685 --enable-no_rtti create code without RTTI information
1686 --enable-no_exceptions create code without C++ exceptions handling
1687 --enable-permissive compile code disregarding strict ANSI
1688 --enable-no_deps create code without dependency information
1689 --disable-vararg_macros don't use vararg macros, even if they are supported
1690 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1691 --enable-compat26 enable wxWidgets 2.6 compatibility
1692 --disable-compat28 disable wxWidgets 2.8 compatibility
1693 --disable-rpath disable use of rpath for uninstalled builds
1694 --enable-objc_uniquifying enable Objective-C class name uniquifying
1695 --disable-visibility disable use of ELF symbols visibility even if supported
1696 --disable-tls disable use of compiler TLS support
1697 --enable-intl use internationalization system
1698 --enable-xlocale use x-locale support (requires wxLocale)
1699 --enable-config use wxConfig (and derived) classes
1700 --enable-protocols use wxProtocol and derived classes
1701 --enable-ftp use wxFTP (requires wxProtocol
1702 --enable-http use wxHTTP (requires wxProtocol
1703 --enable-fileproto use wxFileProto class (requires wxProtocol
1704 --enable-sockets use socket/network classes
1705 --enable-ipv6 enable IPv6 support in wxSocket
1706 --enable-ole use OLE classes (Win32 only)
1707 --enable-dataobj use data object classes
1708 --enable-ipc use interprocess communication (wxSocket etc.)
1709 --enable-baseevtloop use event loop in console programs too
1710 --enable-epollloop use wxEpollDispatcher class (Linux only)
1711 --enable-selectloop use wxSelectDispatcher class
1712 --enable-apple_ieee use the Apple IEEE codec
1713 --enable-arcstream use wxArchive streams
1714 --enable-base64 use base64 encoding/decoding functions
1715 --enable-backtrace use wxStackWalker class for getting backtraces
1716 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1717 --enable-cmdline use wxCmdLineParser class
1718 --enable-datetime use wxDateTime class
1719 --enable-debugreport use wxDebugReport class
1720 --enable-dialupman use dialup network classes
1721 --enable-dynlib use wxLibrary class for DLL loading
1722 --enable-dynamicloader use (new) wxDynamicLibrary class
1723 --enable-exceptions build exception-safe library
1724 --enable-ffile use wxFFile class
1725 --enable-file use wxFile class
1726 --enable-filesystem use virtual file systems classes
1727 --enable-fontenum use wxFontEnumerator class
1728 --enable-fontmap use font encodings conversion classes
1729 --enable-fs_archive use virtual archive filesystems
1730 --enable-fs_inet use virtual HTTP/FTP filesystems
1731 --enable-fs_zip now replaced by fs_archive
1732 --enable-geometry use geometry class
1733 --enable-log use logging system
1734 --enable-longlong use wxLongLong class
1735 --enable-mimetype use wxMimeTypesManager
1736 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1737 --enable-snglinst use wxSingleInstanceChecker class
1738 --enable-sound use wxSound class
1739 --enable-stdpaths use wxStandardPaths class
1740 --enable-stopwatch use wxStopWatch class
1741 --enable-streams use wxStream etc classes
1742 --enable-sysoptions use wxSystemOptions
1743 --enable-tarstream use wxTar streams
1744 --enable-textbuf use wxTextBuffer class
1745 --enable-textfile use wxTextFile class
1746 --enable-timer use wxTimer class
1747 --enable-variant use wxVariant class
1748 --enable-zipstream use wxZip streams
1749 --enable-url use wxURL class
1750 --enable-protocol use wxProtocol class
1751 --enable-protocol-http HTTP support in wxProtocol
1752 --enable-protocol-ftp FTP support in wxProtocol
1753 --enable-protocol-file FILE support in wxProtocol
1754 --enable-threads use threads
1755 --enable-iniconf use wxIniConfig (Win32 only)
1756 --enable-regkey use wxRegKey class (Win32 only)
1757 --enable-docview use document view architecture
1758 --enable-help use help subsystem
1759 --enable-mshtmlhelp use MS HTML Help (win32)
1760 --enable-html use wxHTML sub-library
1761 --enable-htmlhelp use wxHTML-based help
1762 --enable-xrc use XRC resources sub-library
1763 --enable-aui use AUI docking library
1764 --enable-propgrid use wxPropertyGrid library
1765 --enable-stc use wxStyledTextCtrl library
1766 --enable-constraints use layout-constraints system
1767 --enable-loggui use standard GUI logger
1768 --enable-logwin use wxLogWindow
1769 --enable-logdialog use wxLogDialog
1770 --enable-mdi use multiple document interface architecture
1771 --enable-mdidoc use docview architecture with MDI
1772 --enable-mediactrl use wxMediaCtrl class
1773 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1774 --enable-webkit use wxWebKitCtrl (Mac)
1775 --enable-richtext use wxRichTextCtrl
1776 --enable-graphics_ctx use graphics context 2D drawing API
1777 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1778 --enable-printarch use printing architecture
1779 --enable-svg use wxSVGFileDC device context
1780 --enable-clipboard use wxClipboard class
1781 --enable-dnd use Drag'n'Drop classes
1782 --enable-metafile use win32 metafiles
1783 --disable-controls disable compilation of all standard controls
1784 --enable-accel use accelerators
1785 --enable-animatectrl use wxAnimationCtrl class
1786 --enable-bmpbutton use wxBitmapButton class
1787 --enable-bmpcombobox use wxBitmapComboBox class
1788 --enable-button use wxButton class
1789 --enable-calendar use wxCalendarCtrl class
1790 --enable-caret use wxCaret class
1791 --enable-checkbox use wxCheckBox class
1792 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1793 --enable-choice use wxChoice class
1794 --enable-choicebook use wxChoicebook class
1795 --enable-collpane use wxCollapsiblePane class
1796 --enable-colourpicker use wxColourPickerCtrl class
1797 --enable-combobox use wxComboBox class
1798 --enable-comboctrl use wxComboCtrl class
1799 --enable-dataviewctrl use wxDataViewCtrl class
1800 --enable-datepick use wxDatePickerCtrl class
1801 --enable-detect_sm use code to detect X11 session manager
1802 --enable-dirpicker use wxDirPickerCtrl class
1803 --enable-display use wxDisplay class
1804 --enable-editablebox use wxEditableListBox class
1805 --enable-filectrl use wxFileCtrl class
1806 --enable-filepicker use wxFilePickerCtrl class
1807 --enable-fontpicker use wxFontPickerCtrl class
1808 --enable-gauge use wxGauge class
1809 --enable-grid use wxGrid class
1810 --enable-headerctrl use wxHeaderCtrl class
1811 --enable-hyperlink use wxHyperlinkCtrl class
1812 --enable-imaglist use wxImageList class
1813 --enable-listbook use wxListbook class
1814 --enable-listbox use wxListBox class
1815 --enable-listctrl use wxListCtrl class
1816 --enable-notebook use wxNotebook class
1817 --enable-notifmsg use wxNotificationMessage class
1818 --enable-odcombobox use wxOwnerDrawnComboBox class
1819 --enable-popupwin use wxPopUpWindow class
1820 --enable-radiobox use wxRadioBox class
1821 --enable-radiobtn use wxRadioButton class
1822 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1823 --enable-sash use wxSashWindow class
1824 --enable-scrollbar use wxScrollBar class and scrollable windows
1825 --enable-searchctrl use wxSearchCtrl class
1826 --enable-slider use wxSlider class
1827 --enable-spinbtn use wxSpinButton class
1828 --enable-spinctrl use wxSpinCtrl class
1829 --enable-splitter use wxSplitterWindow class
1830 --enable-statbmp use wxStaticBitmap class
1831 --enable-statbox use wxStaticBox class
1832 --enable-statline use wxStaticLine class
1833 --enable-stattext use wxStaticText class
1834 --enable-statusbar use wxStatusBar class
1835 --enable-taskbaricon use wxTaskBarIcon class
1836 --enable-tbarnative use native wxToolBar class
1837 --enable-textctrl use wxTextCtrl class
1838 --enable-tipwindow use wxTipWindow class
1839 --enable-togglebtn use wxToggleButton class
1840 --enable-toolbar use wxToolBar class
1841 --enable-toolbook use wxToolbook class
1842 --enable-treebook use wxTreebook class
1843 --enable-treectrl use wxTreeCtrl class
1844 --enable-commondlg use all common dialogs
1845 --enable-aboutdlg use wxAboutBox
1846 --enable-choicedlg use wxChoiceDialog
1847 --enable-coldlg use wxColourDialog
1848 --enable-filedlg use wxFileDialog
1849 --enable-finddlg use wxFindReplaceDialog
1850 --enable-fontdlg use wxFontDialog
1851 --enable-dirdlg use wxDirDialog
1852 --enable-msgdlg use wxMessageDialog
1853 --enable-numberdlg use wxNumberEntryDialog
1854 --enable-splash use wxSplashScreen
1855 --enable-textdlg use wxTextDialog
1856 --enable-tipdlg use startup tips
1857 --enable-progressdlg use wxProgressDialog
1858 --enable-wizarddlg use wxWizard
1859 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1860 --enable-miniframe use wxMiniFrame class
1861 --enable-tooltips use wxToolTip class
1862 --enable-splines use spline drawing code
1863 --enable-mousewheel use mousewheel
1864 --enable-validators use wxValidator and derived classes
1865 --enable-busyinfo use wxBusyInfo
1866 --enable-joystick use wxJoystick
1867 --enable-metafiles use wxMetaFile (Win32 only)
1868 --enable-dragimage use wxDragImage
1869 --enable-accessibility enable accessibility support
1870 --enable-palette use wxPalette class
1871 --enable-image use wxImage class
1872 --enable-gif use gif images (GIF file format)
1873 --enable-pcx use pcx images (PCX file format)
1874 --enable-tga use tga images (TGA file format)
1875 --enable-iff use iff images (IFF file format)
1876 --enable-pnm use pnm images (PNM file format)
1877 --enable-xpm use xpm images (XPM file format)
1878 --enable-ico_cur use Windows ICO and CUR formats
1879 --enable-dccache cache temporary wxDC objects (Win32 only)
1880 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1881 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1882 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1883 --enable-wxdib use wxDIB class (Win32 only)
1884 --enable-autoidman use automatic ids management
1885 --disable-largefile omit support for large files
1886 --disable-gtktest do not try to compile and run a test GTK+ program
1887 --disable-gtktest Do not try to compile and run a test GTK program
1888 --disable-sdltest Do not try to compile and run a test SDL program
1889 --enable-omf use OMF object format (OS/2)
1890 --disable-dependency-tracking
1891 don't use dependency tracking even if the compiler
1892 can
1893 --disable-precomp-headers
1894 don't use precompiled headers even if compiler can
1895
1896 Optional Packages:
1897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1899 --without-subdirs don't generate makefiles for samples/demos/...
1900 --with-flavour=NAME specify a name to identify this build
1901 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1902 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1903 --with-motif use Motif/Lesstif
1904 --with-osx_carbon use Mac OS X (Carbon)
1905 --with-osx_cocoa use Mac OS X (Cocoa)
1906 --with-mac use Mac OS X (Default)
1907 --with-cocoa use Cocoa
1908 --with-wine use Wine
1909 --with-msw use MS-Windows
1910 --with-pm use OS/2 Presentation Manager
1911 --with-mgl use SciTech MGL
1912 --with-directfb use DirectFB
1913 --with-microwin use MicroWindows
1914 --with-x11 use X11
1915 --with-libpng use libpng (PNG image format)
1916 --with-libjpeg use libjpeg (JPEG file format)
1917 --with-libtiff use libtiff (TIFF file format)
1918 --with-libxpm use libxpm (XPM file format)
1919 --with-libiconv use libiconv (character conversion)
1920 --with-libmspack use libmspack (CHM help files loading)
1921 --without-gtkprint don't use GTK printing support
1922 --without-gnomeprint don't use GNOME printing libraries
1923 --with-gnomevfs use GNOME VFS for associating MIME types
1924 --with-hildon use Hildon framework for Nokia 770
1925 --with-opengl use OpenGL (or Mesa)
1926 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1927 --with-sdl use SDL for audio on Unix
1928 --with-regex enable support for wxRegEx class
1929 --with-zlib use zlib for LZW compression
1930 --with-expat enable XML support using expat parser
1931 --with-macosx-sdk=PATH use an OS X SDK at PATH
1932 --with-macosx-version-min=VER build binaries which require at least this OS X version
1933 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1934 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1935 --with-x use the X Window System
1936 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1937 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1938 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1939 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1940 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1941
1942 Some influential environment variables:
1943 CC C compiler command
1944 CFLAGS C compiler flags
1945 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1946 nonstandard directory <lib dir>
1947 LIBS libraries to pass to the linker, e.g. -l<library>
1948 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1949 you have headers in a nonstandard directory <include dir>
1950 CPP C preprocessor
1951 CXX C++ compiler command
1952 CXXFLAGS C++ compiler flags
1953 PKG_CONFIG path to pkg-config utility
1954 DIRECTFB_CFLAGS
1955 C compiler flags for DIRECTFB, overriding pkg-config
1956 DIRECTFB_LIBS
1957 linker flags for DIRECTFB, overriding pkg-config
1958 XMKMF Path to xmkmf, Makefile generator for X Window System
1959 PANGOX_CFLAGS
1960 C compiler flags for PANGOX, overriding pkg-config
1961 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1962 PANGOFT2_CFLAGS
1963 C compiler flags for PANGOFT2, overriding pkg-config
1964 PANGOFT2_LIBS
1965 linker flags for PANGOFT2, overriding pkg-config
1966 PANGOXFT_CFLAGS
1967 C compiler flags for PANGOXFT, overriding pkg-config
1968 PANGOXFT_LIBS
1969 linker flags for PANGOXFT, overriding pkg-config
1970 GTKPRINT_CFLAGS
1971 C compiler flags for GTKPRINT, overriding pkg-config
1972 GTKPRINT_LIBS
1973 linker flags for GTKPRINT, overriding pkg-config
1974 LIBGNOMEPRINTUI_CFLAGS
1975 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 LIBGNOMEPRINTUI_LIBS
1977 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1978 GNOMEVFS_CFLAGS
1979 C compiler flags for GNOMEVFS, overriding pkg-config
1980 GNOMEVFS_LIBS
1981 linker flags for GNOMEVFS, overriding pkg-config
1982 HILDON_CFLAGS
1983 C compiler flags for HILDON, overriding pkg-config
1984 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1985 CAIRO_CFLAGS
1986 C compiler flags for CAIRO, overriding pkg-config
1987 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1988 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1989 GST_LIBS linker flags for GST, overriding pkg-config
1990
1991 Use these variables to override the choices made by `configure' or to help
1992 it to find libraries and programs with nonstandard names/locations.
1993
1994 Report bugs to <wx-dev@lists.wxwidgets.org>.
1995 _ACEOF
1996 ac_status=$?
1997 fi
1998
1999 if test "$ac_init_help" = "recursive"; then
2000 # If there are subdirs, report their specific --help.
2001 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2002 test -d "$ac_dir" || continue
2003 ac_builddir=.
2004
2005 case "$ac_dir" in
2006 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2007 *)
2008 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2009 # A ".." for each directory in $ac_dir_suffix.
2010 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2011 case $ac_top_builddir_sub in
2012 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2013 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2014 esac ;;
2015 esac
2016 ac_abs_top_builddir=$ac_pwd
2017 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2018 # for backward compatibility:
2019 ac_top_builddir=$ac_top_build_prefix
2020
2021 case $srcdir in
2022 .) # We are building in place.
2023 ac_srcdir=.
2024 ac_top_srcdir=$ac_top_builddir_sub
2025 ac_abs_top_srcdir=$ac_pwd ;;
2026 [\\/]* | ?:[\\/]* ) # Absolute name.
2027 ac_srcdir=$srcdir$ac_dir_suffix;
2028 ac_top_srcdir=$srcdir
2029 ac_abs_top_srcdir=$srcdir ;;
2030 *) # Relative name.
2031 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2032 ac_top_srcdir=$ac_top_build_prefix$srcdir
2033 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2034 esac
2035 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2036
2037 cd "$ac_dir" || { ac_status=$?; continue; }
2038 # Check for guested configure.
2039 if test -f "$ac_srcdir/configure.gnu"; then
2040 echo &&
2041 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2042 elif test -f "$ac_srcdir/configure"; then
2043 echo &&
2044 $SHELL "$ac_srcdir/configure" --help=recursive
2045 else
2046 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2047 fi || ac_status=$?
2048 cd "$ac_pwd" || { ac_status=$?; break; }
2049 done
2050 fi
2051
2052 test -n "$ac_init_help" && exit $ac_status
2053 if $ac_init_version; then
2054 cat <<\_ACEOF
2055 wxWidgets configure 2.9.0
2056 generated by GNU Autoconf 2.61
2057
2058 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2059 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2060 This configure script is free software; the Free Software Foundation
2061 gives unlimited permission to copy, distribute and modify it.
2062 _ACEOF
2063 exit
2064 fi
2065 cat >config.log <<_ACEOF
2066 This file contains any messages produced by compilers while
2067 running configure, to aid debugging if configure makes a mistake.
2068
2069 It was created by wxWidgets $as_me 2.9.0, which was
2070 generated by GNU Autoconf 2.61. Invocation command line was
2071
2072 $ $0 $@
2073
2074 _ACEOF
2075 exec 5>>config.log
2076 {
2077 cat <<_ASUNAME
2078 ## --------- ##
2079 ## Platform. ##
2080 ## --------- ##
2081
2082 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2083 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2084 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2085 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2086 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2087
2088 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2089 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2090
2091 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2092 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2093 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2094 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2095 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2096 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2097 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2098
2099 _ASUNAME
2100
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 echo "PATH: $as_dir"
2107 done
2108 IFS=$as_save_IFS
2109
2110 } >&5
2111
2112 cat >&5 <<_ACEOF
2113
2114
2115 ## ----------- ##
2116 ## Core tests. ##
2117 ## ----------- ##
2118
2119 _ACEOF
2120
2121
2122 # Keep a trace of the command line.
2123 # Strip out --no-create and --no-recursion so they do not pile up.
2124 # Strip out --silent because we don't want to record it for future runs.
2125 # Also quote any args containing shell meta-characters.
2126 # Make two passes to allow for proper duplicate-argument suppression.
2127 ac_configure_args=
2128 ac_configure_args0=
2129 ac_configure_args1=
2130 ac_must_keep_next=false
2131 for ac_pass in 1 2
2132 do
2133 for ac_arg
2134 do
2135 case $ac_arg in
2136 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2137 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2138 | -silent | --silent | --silen | --sile | --sil)
2139 continue ;;
2140 *\'*)
2141 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2142 esac
2143 case $ac_pass in
2144 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2145 2)
2146 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2147 if test $ac_must_keep_next = true; then
2148 ac_must_keep_next=false # Got value, back to normal.
2149 else
2150 case $ac_arg in
2151 *=* | --config-cache | -C | -disable-* | --disable-* \
2152 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2153 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2154 | -with-* | --with-* | -without-* | --without-* | --x)
2155 case "$ac_configure_args0 " in
2156 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2157 esac
2158 ;;
2159 -* ) ac_must_keep_next=true ;;
2160 esac
2161 fi
2162 ac_configure_args="$ac_configure_args '$ac_arg'"
2163 ;;
2164 esac
2165 done
2166 done
2167 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2168 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2169
2170 # When interrupted or exit'd, cleanup temporary files, and complete
2171 # config.log. We remove comments because anyway the quotes in there
2172 # would cause problems or look ugly.
2173 # WARNING: Use '\'' to represent an apostrophe within the trap.
2174 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2175 trap 'exit_status=$?
2176 # Save into config.log some information that might help in debugging.
2177 {
2178 echo
2179
2180 cat <<\_ASBOX
2181 ## ---------------- ##
2182 ## Cache variables. ##
2183 ## ---------------- ##
2184 _ASBOX
2185 echo
2186 # The following way of writing the cache mishandles newlines in values,
2187 (
2188 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2189 eval ac_val=\$$ac_var
2190 case $ac_val in #(
2191 *${as_nl}*)
2192 case $ac_var in #(
2193 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2194 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2195 esac
2196 case $ac_var in #(
2197 _ | IFS | as_nl) ;; #(
2198 *) $as_unset $ac_var ;;
2199 esac ;;
2200 esac
2201 done
2202 (set) 2>&1 |
2203 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2204 *${as_nl}ac_space=\ *)
2205 sed -n \
2206 "s/'\''/'\''\\\\'\'''\''/g;
2207 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2208 ;; #(
2209 *)
2210 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2211 ;;
2212 esac |
2213 sort
2214 )
2215 echo
2216
2217 cat <<\_ASBOX
2218 ## ----------------- ##
2219 ## Output variables. ##
2220 ## ----------------- ##
2221 _ASBOX
2222 echo
2223 for ac_var in $ac_subst_vars
2224 do
2225 eval ac_val=\$$ac_var
2226 case $ac_val in
2227 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2228 esac
2229 echo "$ac_var='\''$ac_val'\''"
2230 done | sort
2231 echo
2232
2233 if test -n "$ac_subst_files"; then
2234 cat <<\_ASBOX
2235 ## ------------------- ##
2236 ## File substitutions. ##
2237 ## ------------------- ##
2238 _ASBOX
2239 echo
2240 for ac_var in $ac_subst_files
2241 do
2242 eval ac_val=\$$ac_var
2243 case $ac_val in
2244 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2245 esac
2246 echo "$ac_var='\''$ac_val'\''"
2247 done | sort
2248 echo
2249 fi
2250
2251 if test -s confdefs.h; then
2252 cat <<\_ASBOX
2253 ## ----------- ##
2254 ## confdefs.h. ##
2255 ## ----------- ##
2256 _ASBOX
2257 echo
2258 cat confdefs.h
2259 echo
2260 fi
2261 test "$ac_signal" != 0 &&
2262 echo "$as_me: caught signal $ac_signal"
2263 echo "$as_me: exit $exit_status"
2264 } >&5
2265 rm -f core *.core core.conftest.* &&
2266 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2267 exit $exit_status
2268 ' 0
2269 for ac_signal in 1 2 13 15; do
2270 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2271 done
2272 ac_signal=0
2273
2274 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2275 rm -f -r conftest* confdefs.h
2276
2277 # Predefined preprocessor variables.
2278
2279 cat >>confdefs.h <<_ACEOF
2280 #define PACKAGE_NAME "$PACKAGE_NAME"
2281 _ACEOF
2282
2283
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2286 _ACEOF
2287
2288
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2291 _ACEOF
2292
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_STRING "$PACKAGE_STRING"
2296 _ACEOF
2297
2298
2299 cat >>confdefs.h <<_ACEOF
2300 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2301 _ACEOF
2302
2303
2304 # Let the site file select an alternate cache file if it wants to.
2305 # Prefer explicitly selected file to automatically selected ones.
2306 if test -n "$CONFIG_SITE"; then
2307 set x "$CONFIG_SITE"
2308 elif test "x$prefix" != xNONE; then
2309 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2310 else
2311 set x "$ac_default_prefix/share/config.site" \
2312 "$ac_default_prefix/etc/config.site"
2313 fi
2314 shift
2315 for ac_site_file
2316 do
2317 if test -r "$ac_site_file"; then
2318 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2319 echo "$as_me: loading site script $ac_site_file" >&6;}
2320 sed 's/^/| /' "$ac_site_file" >&5
2321 . "$ac_site_file"
2322 fi
2323 done
2324
2325 if test -r "$cache_file"; then
2326 # Some versions of bash will fail to source /dev/null (special
2327 # files actually), so we avoid doing that.
2328 if test -f "$cache_file"; then
2329 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2330 echo "$as_me: loading cache $cache_file" >&6;}
2331 case $cache_file in
2332 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2333 *) . "./$cache_file";;
2334 esac
2335 fi
2336 else
2337 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2338 echo "$as_me: creating cache $cache_file" >&6;}
2339 >$cache_file
2340 fi
2341
2342 # Check that the precious variables saved in the cache have kept the same
2343 # value.
2344 ac_cache_corrupted=false
2345 for ac_var in $ac_precious_vars; do
2346 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2347 eval ac_new_set=\$ac_env_${ac_var}_set
2348 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2349 eval ac_new_val=\$ac_env_${ac_var}_value
2350 case $ac_old_set,$ac_new_set in
2351 set,)
2352 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2353 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2354 ac_cache_corrupted=: ;;
2355 ,set)
2356 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2357 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2358 ac_cache_corrupted=: ;;
2359 ,);;
2360 *)
2361 if test "x$ac_old_val" != "x$ac_new_val"; then
2362 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2363 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2364 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2365 echo "$as_me: former value: $ac_old_val" >&2;}
2366 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2367 echo "$as_me: current value: $ac_new_val" >&2;}
2368 ac_cache_corrupted=:
2369 fi;;
2370 esac
2371 # Pass precious variables to config.status.
2372 if test "$ac_new_set" = set; then
2373 case $ac_new_val in
2374 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2375 *) ac_arg=$ac_var=$ac_new_val ;;
2376 esac
2377 case " $ac_configure_args " in
2378 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2379 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2380 esac
2381 fi
2382 done
2383 if $ac_cache_corrupted; then
2384 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2385 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2386 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2387 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2388 { (exit 1); exit 1; }; }
2389 fi
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415 ac_ext=c
2416 ac_cpp='$CPP $CPPFLAGS'
2417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2420
2421
2422
2423
2424
2425 ac_aux_dir=
2426 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2427 if test -f "$ac_dir/install-sh"; then
2428 ac_aux_dir=$ac_dir
2429 ac_install_sh="$ac_aux_dir/install-sh -c"
2430 break
2431 elif test -f "$ac_dir/install.sh"; then
2432 ac_aux_dir=$ac_dir
2433 ac_install_sh="$ac_aux_dir/install.sh -c"
2434 break
2435 elif test -f "$ac_dir/shtool"; then
2436 ac_aux_dir=$ac_dir
2437 ac_install_sh="$ac_aux_dir/shtool install -c"
2438 break
2439 fi
2440 done
2441 if test -z "$ac_aux_dir"; then
2442 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2443 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2444 { (exit 1); exit 1; }; }
2445 fi
2446
2447 # These three variables are undocumented and unsupported,
2448 # and are intended to be withdrawn in a future Autoconf release.
2449 # They can cause serious problems if a builder's source tree is in a directory
2450 # whose full name contains unusual characters.
2451 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2452 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2453 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2454
2455
2456 # Make sure we can run config.sub.
2457 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2458 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2459 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2460 { (exit 1); exit 1; }; }
2461
2462 { echo "$as_me:$LINENO: checking build system type" >&5
2463 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2464 if test "${ac_cv_build+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2466 else
2467 ac_build_alias=$build_alias
2468 test "x$ac_build_alias" = x &&
2469 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2470 test "x$ac_build_alias" = x &&
2471 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2472 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2473 { (exit 1); exit 1; }; }
2474 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2475 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2477 { (exit 1); exit 1; }; }
2478
2479 fi
2480 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2481 echo "${ECHO_T}$ac_cv_build" >&6; }
2482 case $ac_cv_build in
2483 *-*-*) ;;
2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2485 echo "$as_me: error: invalid value of canonical build" >&2;}
2486 { (exit 1); exit 1; }; };;
2487 esac
2488 build=$ac_cv_build
2489 ac_save_IFS=$IFS; IFS='-'
2490 set x $ac_cv_build
2491 shift
2492 build_cpu=$1
2493 build_vendor=$2
2494 shift; shift
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2497 build_os=$*
2498 IFS=$ac_save_IFS
2499 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500
2501
2502 { echo "$as_me:$LINENO: checking host system type" >&5
2503 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2504 if test "${ac_cv_host+set}" = set; then
2505 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 else
2507 if test "x$host_alias" = x; then
2508 ac_cv_host=$ac_cv_build
2509 else
2510 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2511 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2512 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2513 { (exit 1); exit 1; }; }
2514 fi
2515
2516 fi
2517 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2518 echo "${ECHO_T}$ac_cv_host" >&6; }
2519 case $ac_cv_host in
2520 *-*-*) ;;
2521 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2522 echo "$as_me: error: invalid value of canonical host" >&2;}
2523 { (exit 1); exit 1; }; };;
2524 esac
2525 host=$ac_cv_host
2526 ac_save_IFS=$IFS; IFS='-'
2527 set x $ac_cv_host
2528 shift
2529 host_cpu=$1
2530 host_vendor=$2
2531 shift; shift
2532 # Remember, the first character of IFS is used to create $*,
2533 # except with old shells:
2534 host_os=$*
2535 IFS=$ac_save_IFS
2536 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2537
2538
2539
2540 if test "$cross_compiling" != "no"; then
2541 HOST_PREFIX="${host_alias}-"
2542 HOST_SUFFIX="-$host_alias"
2543 else
2544 HOST_PREFIX=
2545 HOST_SUFFIX=
2546 fi
2547
2548
2549 wx_major_version_number=2
2550 wx_minor_version_number=9
2551 wx_release_number=0
2552 wx_subrelease_number=0
2553
2554 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2555 WX_VERSION=$WX_RELEASE.$wx_release_number
2556 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2557
2558 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2559
2560
2561 wx_top_builddir="`pwd`"
2562
2563
2564
2565
2566 USE_UNIX=1
2567 USE_OS2=0
2568 USE_WIN32=0
2569 USE_DOS=0
2570 USE_BEOS=0
2571 USE_MAC=0
2572
2573 USE_AIX=
2574 USE_BSD= USE_DARWIN= USE_FREEBSD=
2575 USE_GNU= USE_HPUX=
2576 USE_LINUX=
2577 USE_NETBSD=
2578 USE_OPENBSD=
2579 USE_OSF= USE_SGI=
2580 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2581 USE_ULTRIX=
2582 USE_UNIXWARE=
2583
2584 USE_ALPHA=
2585
2586 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2587
2588 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2589
2590 DEFAULT_wxUSE_COCOA=0
2591 DEFAULT_wxUSE_GTK=0
2592 DEFAULT_wxUSE_OSX_CARBON=0
2593 DEFAULT_wxUSE_OSX_COCOA=0
2594 DEFAULT_wxUSE_MGL=0
2595 DEFAULT_wxUSE_MICROWIN=0
2596 DEFAULT_wxUSE_MOTIF=0
2597 DEFAULT_wxUSE_MSW=0
2598 DEFAULT_wxUSE_PM=0
2599 DEFAULT_wxUSE_X11=0
2600 DEFAULT_wxUSE_DFB=0
2601
2602 DEFAULT_DEFAULT_wxUSE_COCOA=0
2603 DEFAULT_DEFAULT_wxUSE_GTK=0
2604 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2605 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=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 SAMPLES_RPATH_FLAG=
2616 DYLIB_RPATH_INSTALL=
2617 DYLIB_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 cat >>confdefs.h <<\_ACEOF
2627 #define __HPUX__ 1
2628 _ACEOF
2629
2630
2631 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2632 ;;
2633 *-*-linux* )
2634 USE_LINUX=1
2635 cat >>confdefs.h <<\_ACEOF
2636 #define __LINUX__ 1
2637 _ACEOF
2638
2639 TMP=`uname -m`
2640 if test "x$TMP" = "xalpha"; then
2641 USE_ALPHA=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __ALPHA__ 1
2644 _ACEOF
2645
2646 fi
2647 DEFAULT_DEFAULT_wxUSE_GTK=1
2648 ;;
2649 *-*-gnu* | *-*-k*bsd*-gnu )
2650 USE_GNU=1
2651 TMP=`uname -m`
2652 if test "x$TMP" = "xalpha"; then
2653 USE_ALPHA=1
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __ALPHA__ 1
2656 _ACEOF
2657
2658 fi
2659 DEFAULT_DEFAULT_wxUSE_GTK=1
2660 ;;
2661 *-*-irix5* | *-*-irix6* )
2662 USE_SGI=1
2663 USE_SVR4=1
2664 cat >>confdefs.h <<\_ACEOF
2665 #define __SGI__ 1
2666 _ACEOF
2667
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SVR4__ 1
2670 _ACEOF
2671
2672 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2673 ;;
2674 *-*-solaris2* )
2675 USE_SUN=1
2676 USE_SOLARIS=1
2677 USE_SVR4=1
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SUN__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __SOLARIS__ 1
2684 _ACEOF
2685
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __SVR4__ 1
2688 _ACEOF
2689
2690 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2691 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2692 ;;
2693 *-*-sunos4* )
2694 USE_SUN=1
2695 USE_SUNOS=1
2696 USE_BSD=1
2697 cat >>confdefs.h <<\_ACEOF
2698 #define __SUN__ 1
2699 _ACEOF
2700
2701 cat >>confdefs.h <<\_ACEOF
2702 #define __SUNOS__ 1
2703 _ACEOF
2704
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __BSD__ 1
2707 _ACEOF
2708
2709 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2710 ;;
2711 *-*-freebsd*)
2712 USE_BSD=1
2713 USE_FREEBSD=1
2714 cat >>confdefs.h <<\_ACEOF
2715 #define __FREEBSD__ 1
2716 _ACEOF
2717
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __BSD__ 1
2720 _ACEOF
2721
2722 DEFAULT_DEFAULT_wxUSE_GTK=1
2723 ;;
2724 *-*-openbsd*|*-*-mirbsd*)
2725 USE_BSD=1
2726 USE_OPENBSD=1
2727 cat >>confdefs.h <<\_ACEOF
2728 #define __OPENBSD__ 1
2729 _ACEOF
2730
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __BSD__ 1
2733 _ACEOF
2734
2735 DEFAULT_DEFAULT_wxUSE_GTK=1
2736 ;;
2737 *-*-netbsd*)
2738 USE_BSD=1
2739 USE_NETBSD=1
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __NETBSD__ 1
2742 _ACEOF
2743
2744 cat >>confdefs.h <<\_ACEOF
2745 #define __BSD__ 1
2746 _ACEOF
2747
2748 DEFAULT_DEFAULT_wxUSE_GTK=1
2749 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2750
2751 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2752 ;;
2753 *-*-osf* )
2754 USE_ALPHA=1
2755 USE_OSF=1
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __ALPHA__ 1
2758 _ACEOF
2759
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __OSF__ 1
2762 _ACEOF
2763
2764 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2765 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2766 ;;
2767 *-*-dgux5* )
2768 USE_ALPHA=1
2769 USE_SVR4=1
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __ALPHA__ 1
2772 _ACEOF
2773
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __SVR4__ 1
2776 _ACEOF
2777
2778 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2779 ;;
2780 *-*-sysv5* )
2781 USE_SYSV=1
2782 USE_SVR4=1
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SYSV__ 1
2785 _ACEOF
2786
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __SVR4__ 1
2789 _ACEOF
2790
2791 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2792 ;;
2793 *-*-aix* )
2794 USE_AIX=1
2795 USE_SYSV=1
2796 USE_SVR4=1
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __AIX__ 1
2799 _ACEOF
2800
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SYSV__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SVR4__ 1
2807 _ACEOF
2808
2809 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2810 ;;
2811
2812 *-*-*UnixWare*)
2813 USE_SYSV=1
2814 USE_SVR4=1
2815 USE_UNIXWARE=1
2816 cat >>confdefs.h <<\_ACEOF
2817 #define __UNIXWARE__ 1
2818 _ACEOF
2819
2820 ;;
2821
2822 *-*-cygwin* | *-*-mingw32* )
2823 PROGRAM_EXT=".exe"
2824 DEFAULT_DEFAULT_wxUSE_MSW=1
2825 ;;
2826
2827 *-pc-msdosdjgpp )
2828 USE_UNIX=0
2829 USE_DOS=1
2830 cat >>confdefs.h <<\_ACEOF
2831 #define __DOS__ 1
2832 _ACEOF
2833
2834 PROGRAM_EXT=".exe"
2835 DEFAULT_DEFAULT_wxUSE_MGL=1
2836 ;;
2837
2838 *-pc-os2_emx | *-pc-os2-emx )
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __EMX__ 1
2841 _ACEOF
2842
2843 USE_OS2=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __OS2__ 1
2846 _ACEOF
2847
2848 PROGRAM_EXT=".exe"
2849 DEFAULT_DEFAULT_wxUSE_PM=1
2850 CXX=gcc
2851 LDFLAGS="$LDFLAGS -Zcrtdll"
2852 ac_executable_extensions=".exe"
2853 export ac_executable_extensions
2854 ac_save_IFS="$IFS"
2855 IFS='\\'
2856 ac_TEMP_PATH=
2857 for ac_dir in $PATH; do
2858 IFS=$ac_save_IFS
2859 if test -z "$ac_TEMP_PATH"; then
2860 ac_TEMP_PATH="$ac_dir"
2861 else
2862 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2863 fi
2864 done
2865 export PATH="$ac_TEMP_PATH"
2866 unset ac_TEMP_PATH
2867 DEFAULT_STD_FLAG=no
2868 ;;
2869
2870 *-*-darwin* )
2871 USE_BSD=1
2872 USE_DARWIN=1
2873 cat >>confdefs.h <<\_ACEOF
2874 #define __BSD__ 1
2875 _ACEOF
2876
2877 cat >>confdefs.h <<\_ACEOF
2878 #define __DARWIN__ 1
2879 _ACEOF
2880
2881 cat >>confdefs.h <<\_ACEOF
2882 #define TARGET_CARBON 1
2883 _ACEOF
2884
2885 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2886 DEFAULT_STD_FLAG=no
2887 ;;
2888 powerpc-apple-macos* )
2889 USE_UNIX=0
2890 ac_cv_c_bigendian=yes
2891 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2892 DEFAULT_STD_FLAG=no
2893 ;;
2894
2895 *-*-beos* )
2896 USE_BEOS=1
2897 cat >>confdefs.h <<\_ACEOF
2898 #define __BEOS__ 1
2899 _ACEOF
2900
2901 ;;
2902
2903 *)
2904 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2905 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2906 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2907 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2908
2909 DEFAULT_DEFAULT_wxUSE_X11=1
2910 DEFAULT_wxUSE_SHARED=no
2911 esac
2912
2913
2914
2915 DEFAULT_wxUSE_ALL_FEATURES=yes
2916
2917 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2918 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2919
2920 DEFAULT_wxUSE_DMALLOC=no
2921 DEFAULT_wxUSE_LIBGNOMEVFS=no
2922 DEFAULT_wxUSE_LIBHILDON=no
2923 DEFAULT_wxUSE_LIBMSPACK=no
2924 DEFAULT_wxUSE_LIBSDL=no
2925
2926 DEFAULT_wxUSE_ACCESSIBILITY=no
2927 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2928 DEFAULT_wxUSE_IPV6=no
2929 DEFAULT_wxUSE_GSTREAMER8=no
2930
2931 DEFAULT_wxUSE_UNICODE_UTF8=auto
2932 DEFAULT_wxUSE_OPENGL=auto
2933 DEFAULT_wxUSE_MEDIACTRL=auto
2934 DEFAULT_wxUSE_COMPILER_TLS=auto
2935
2936 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2937
2938 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2939
2940 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2941
2942 DEFAULT_wxUSE_GTK2=yes
2943
2944 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2945
2946
2947
2948
2949
2950 enablestring=disable
2951 defaultval=
2952 if test -z "$defaultval"; then
2953 if test x"$enablestring" = xdisable; then
2954 defaultval=yes
2955 else
2956 defaultval=no
2957 fi
2958 fi
2959
2960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2961 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2962 # Check whether --enable-gui was given.
2963 if test "${enable_gui+set}" = set; then
2964 enableval=$enable_gui;
2965 if test "$enableval" = yes; then
2966 wx_cv_use_gui='wxUSE_GUI=yes'
2967 else
2968 wx_cv_use_gui='wxUSE_GUI=no'
2969 fi
2970
2971 else
2972
2973 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2974
2975 fi
2976
2977
2978 eval "$wx_cv_use_gui"
2979
2980 if test x"$enablestring" = xdisable; then
2981 if test $wxUSE_GUI = yes; then
2982 result=no
2983 else
2984 result=yes
2985 fi
2986 else
2987 result=$wxUSE_GUI
2988 fi
2989
2990 { echo "$as_me:$LINENO: result: $result" >&5
2991 echo "${ECHO_T}$result" >&6; }
2992
2993
2994 enablestring=
2995 defaultval=
2996 if test -z "$defaultval"; then
2997 if test x"$enablestring" = xdisable; then
2998 defaultval=yes
2999 else
3000 defaultval=no
3001 fi
3002 fi
3003
3004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3005 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3006 # Check whether --enable-monolithic was given.
3007 if test "${enable_monolithic+set}" = set; then
3008 enableval=$enable_monolithic;
3009 if test "$enableval" = yes; then
3010 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3011 else
3012 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3013 fi
3014
3015 else
3016
3017 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3018
3019 fi
3020
3021
3022 eval "$wx_cv_use_monolithic"
3023
3024 if test x"$enablestring" = xdisable; then
3025 if test $wxUSE_MONOLITHIC = yes; then
3026 result=no
3027 else
3028 result=yes
3029 fi
3030 else
3031 result=$wxUSE_MONOLITHIC
3032 fi
3033
3034 { echo "$as_me:$LINENO: result: $result" >&5
3035 echo "${ECHO_T}$result" >&6; }
3036
3037
3038 enablestring=
3039 defaultval=
3040 if test -z "$defaultval"; then
3041 if test x"$enablestring" = xdisable; then
3042 defaultval=yes
3043 else
3044 defaultval=no
3045 fi
3046 fi
3047
3048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3049 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3050 # Check whether --enable-plugins was given.
3051 if test "${enable_plugins+set}" = set; then
3052 enableval=$enable_plugins;
3053 if test "$enableval" = yes; then
3054 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3055 else
3056 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3057 fi
3058
3059 else
3060
3061 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3062
3063 fi
3064
3065
3066 eval "$wx_cv_use_plugins"
3067
3068 if test x"$enablestring" = xdisable; then
3069 if test $wxUSE_PLUGINS = yes; then
3070 result=no
3071 else
3072 result=yes
3073 fi
3074 else
3075 result=$wxUSE_PLUGINS
3076 fi
3077
3078 { echo "$as_me:$LINENO: result: $result" >&5
3079 echo "${ECHO_T}$result" >&6; }
3080
3081
3082 withstring=without
3083 defaultval=$wxUSE_ALL_FEATURES
3084 if test -z "$defaultval"; then
3085 if test x"$withstring" = xwithout; then
3086 defaultval=yes
3087 else
3088 defaultval=no
3089 fi
3090 fi
3091 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3092 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3093
3094 # Check whether --with-subdirs was given.
3095 if test "${with_subdirs+set}" = set; then
3096 withval=$with_subdirs;
3097 if test "$withval" = yes; then
3098 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3099 else
3100 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3101 fi
3102
3103 else
3104
3105 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3106
3107 fi
3108
3109
3110 eval "$wx_cv_use_subdirs"
3111
3112 if test x"$withstring" = xwithout; then
3113 if test $wxWITH_SUBDIRS = yes; then
3114 result=no
3115 else
3116 result=yes
3117 fi
3118 else
3119 result=$wxWITH_SUBDIRS
3120 fi
3121
3122 { echo "$as_me:$LINENO: result: $result" >&5
3123 echo "${ECHO_T}$result" >&6; }
3124
3125
3126 # Check whether --with-flavour was given.
3127 if test "${with_flavour+set}" = set; then
3128 withval=$with_flavour; WX_FLAVOUR="$withval"
3129 fi
3130
3131
3132 enablestring=
3133 defaultval=
3134 if test -z "$defaultval"; then
3135 if test x"$enablestring" = xdisable; then
3136 defaultval=yes
3137 else
3138 defaultval=no
3139 fi
3140 fi
3141
3142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3143 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3144 # Check whether --enable-official_build was given.
3145 if test "${enable_official_build+set}" = set; then
3146 enableval=$enable_official_build;
3147 if test "$enableval" = yes; then
3148 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3149 else
3150 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3151 fi
3152
3153 else
3154
3155 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3156
3157 fi
3158
3159
3160 eval "$wx_cv_use_official_build"
3161
3162 if test x"$enablestring" = xdisable; then
3163 if test $wxUSE_OFFICIAL_BUILD = yes; then
3164 result=no
3165 else
3166 result=yes
3167 fi
3168 else
3169 result=$wxUSE_OFFICIAL_BUILD
3170 fi
3171
3172 { echo "$as_me:$LINENO: result: $result" >&5
3173 echo "${ECHO_T}$result" >&6; }
3174
3175 # Check whether --enable-vendor was given.
3176 if test "${enable_vendor+set}" = set; then
3177 enableval=$enable_vendor; VENDOR="$enableval"
3178 fi
3179
3180 if test "x$VENDOR" = "x"; then
3181 VENDOR="custom"
3182 fi
3183
3184
3185 enablestring=disable
3186 defaultval=
3187 if test -z "$defaultval"; then
3188 if test x"$enablestring" = xdisable; then
3189 defaultval=yes
3190 else
3191 defaultval=no
3192 fi
3193 fi
3194
3195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3196 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3197 # Check whether --enable-all-features was given.
3198 if test "${enable_all_features+set}" = set; then
3199 enableval=$enable_all_features;
3200 if test "$enableval" = yes; then
3201 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3202 else
3203 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3204 fi
3205
3206 else
3207
3208 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3209
3210 fi
3211
3212
3213 eval "$wx_cv_use_all_features"
3214
3215 if test x"$enablestring" = xdisable; then
3216 if test $wxUSE_ALL_FEATURES = yes; then
3217 result=no
3218 else
3219 result=yes
3220 fi
3221 else
3222 result=$wxUSE_ALL_FEATURES
3223 fi
3224
3225 { echo "$as_me:$LINENO: result: $result" >&5
3226 echo "${ECHO_T}$result" >&6; }
3227
3228
3229 if test "$wxUSE_ALL_FEATURES" = "no"; then
3230 DEFAULT_wxUSE_MEDIACTRL=no
3231 fi
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-osx_carbon was given.
3303 if test "${with_osx_carbon+set}" = set; then
3304 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3305 fi
3306
3307
3308 # Check whether --with-osx_cocoa was given.
3309 if test "${with_osx_cocoa+set}" = set; then
3310 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3311 fi
3312
3313
3314 # Check whether --with-mac was given.
3315 if test "${with_mac+set}" = set; then
3316 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3317 fi
3318
3319
3320 # Check whether --with-cocoa was given.
3321 if test "${with_cocoa+set}" = set; then
3322 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3323 fi
3324
3325
3326 # Check whether --with-wine was given.
3327 if test "${with_wine+set}" = set; then
3328 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3329 fi
3330
3331
3332 # Check whether --with-msw was given.
3333 if test "${with_msw+set}" = set; then
3334 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3335 fi
3336
3337
3338 # Check whether --with-pm was given.
3339 if test "${with_pm+set}" = set; then
3340 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3341 fi
3342
3343
3344 # Check whether --with-mgl was given.
3345 if test "${with_mgl+set}" = set; then
3346 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-directfb was given.
3351 if test "${with_directfb+set}" = set; then
3352 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 # Check whether --with-microwin was given.
3357 if test "${with_microwin+set}" = set; then
3358 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3359 fi
3360
3361
3362 # Check whether --with-x11 was given.
3363 if test "${with_x11+set}" = set; then
3364 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3365 fi
3366
3367
3368 enablestring=
3369 defaultval=
3370 if test -z "$defaultval"; then
3371 if test x"$enablestring" = xdisable; then
3372 defaultval=yes
3373 else
3374 defaultval=no
3375 fi
3376 fi
3377
3378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3379 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3380 # Check whether --enable-nanox was given.
3381 if test "${enable_nanox+set}" = set; then
3382 enableval=$enable_nanox;
3383 if test "$enableval" = yes; then
3384 wx_cv_use_nanox='wxUSE_NANOX=yes'
3385 else
3386 wx_cv_use_nanox='wxUSE_NANOX=no'
3387 fi
3388
3389 else
3390
3391 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3392
3393 fi
3394
3395
3396 eval "$wx_cv_use_nanox"
3397
3398 if test x"$enablestring" = xdisable; then
3399 if test $wxUSE_NANOX = yes; then
3400 result=no
3401 else
3402 result=yes
3403 fi
3404 else
3405 result=$wxUSE_NANOX
3406 fi
3407
3408 { echo "$as_me:$LINENO: result: $result" >&5
3409 echo "${ECHO_T}$result" >&6; }
3410
3411
3412 # Check whether --enable-gtk2 was given.
3413 if test "${enable_gtk2+set}" = set; then
3414 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3415 fi
3416
3417
3418 enablestring=
3419 defaultval=
3420 if test -z "$defaultval"; then
3421 if test x"$enablestring" = xdisable; then
3422 defaultval=yes
3423 else
3424 defaultval=no
3425 fi
3426 fi
3427
3428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3429 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3430 # Check whether --enable-gpe was given.
3431 if test "${enable_gpe+set}" = set; then
3432 enableval=$enable_gpe;
3433 if test "$enableval" = yes; then
3434 wx_cv_use_gpe='wxUSE_GPE=yes'
3435 else
3436 wx_cv_use_gpe='wxUSE_GPE=no'
3437 fi
3438
3439 else
3440
3441 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3442
3443 fi
3444
3445
3446 eval "$wx_cv_use_gpe"
3447
3448 if test x"$enablestring" = xdisable; then
3449 if test $wxUSE_GPE = yes; then
3450 result=no
3451 else
3452 result=yes
3453 fi
3454 else
3455 result=$wxUSE_GPE
3456 fi
3457
3458 { echo "$as_me:$LINENO: result: $result" >&5
3459 echo "${ECHO_T}$result" >&6; }
3460
3461
3462
3463 { echo "$as_me:$LINENO: checking for toolkit" >&5
3464 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3465
3466
3467
3468 # In Wine, we need to default to MSW, not GTK or MOTIF
3469 if test "$wxUSE_WINE" = "yes"; then
3470 DEFAULT_DEFAULT_wxUSE_GTK=0
3471 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3472 DEFAULT_DEFAULT_wxUSE_MSW=1
3473 wxUSE_SHARED=no
3474 CC=${CC:-winegcc}
3475 CXX=${CXX:-wineg++}
3476 fi
3477
3478
3479 if test "$wxUSE_GUI" = "yes"; then
3480
3481 if test "$USE_BEOS" = 1; then
3482 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3483 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3484 { (exit 1); exit 1; }; }
3485 fi
3486
3487 if test "$TOOLKIT_GIVEN" = 1; then
3488 for toolkit in $ALL_TOOLKITS; do
3489 var=wxUSE_$toolkit
3490 eval "value=\$${var}"
3491 if test "x$value" = "xno"; then
3492 eval "$var=0"
3493 elif test "x$value" != "x"; then
3494 eval "$var=1"
3495 fi
3496
3497 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3498 eval "wx${toolkit}_VERSION=$value"
3499 fi
3500 done
3501 else
3502 for toolkit in $ALL_TOOLKITS; do
3503 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3504 eval "wxUSE_$toolkit=\$${var}"
3505 done
3506 fi
3507
3508 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3509 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3510 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3511
3512 case "${host}" in
3513 *-pc-os2_emx | *-pc-os2-emx )
3514 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3515 esac
3516
3517 case "$NUM_TOOLKITS" in
3518 1)
3519 ;;
3520 0)
3521 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3522 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3523 { (exit 1); exit 1; }; }
3524 ;;
3525 *)
3526 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3527 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3528 { (exit 1); exit 1; }; }
3529 esac
3530
3531 # to be removed when --disable-gtk2 isn't needed
3532 if test "x$wxUSE_GTK2" = "xyes"; then
3533 wxGTK_VERSION=2
3534 elif test "x$wxUSE_GTK2" = "xno"; then
3535 wxGTK_VERSION=1
3536 fi
3537
3538 for toolkit in $ALL_TOOLKITS; do
3539 var=wxUSE_$toolkit
3540 eval "value=\$${var}"
3541 if test "$value" = 1; then
3542 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3543 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3544 echo "${ECHO_T}$toolkit_echo" >&6; }
3545 fi
3546 done
3547 else
3548 if test "x$host_alias" != "x"; then
3549 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3550 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3551 else
3552 { echo "$as_me:$LINENO: result: base only" >&5
3553 echo "${ECHO_T}base only" >&6; }
3554 fi
3555 fi
3556
3557 wxUSE_MAC=0
3558 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3559 wxUSE_MAC=1
3560 fi
3561
3562
3563
3564 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3565 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3566
3567 # Check whether --with-libpng was given.
3568 if test "${with_libpng+set}" = set; then
3569 withval=$with_libpng;
3570 if test "$withval" = yes; then
3571 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3572 elif test "$withval" = no; then
3573 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3574 elif test "$withval" = sys; then
3575 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3576 elif test "$withval" = builtin; then
3577 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3578 else
3579 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3580 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3581 { (exit 1); exit 1; }; }
3582 fi
3583
3584 else
3585
3586 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3587
3588 fi
3589
3590
3591 eval "$wx_cv_use_libpng"
3592
3593 if test "$wxUSE_LIBPNG" = yes; then
3594 { echo "$as_me:$LINENO: result: yes" >&5
3595 echo "${ECHO_T}yes" >&6; }
3596 elif test "$wxUSE_LIBPNG" = no; then
3597 { echo "$as_me:$LINENO: result: no" >&5
3598 echo "${ECHO_T}no" >&6; }
3599 elif test "$wxUSE_LIBPNG" = sys; then
3600 { echo "$as_me:$LINENO: result: system version" >&5
3601 echo "${ECHO_T}system version" >&6; }
3602 elif test "$wxUSE_LIBPNG" = builtin; then
3603 { echo "$as_me:$LINENO: result: builtin version" >&5
3604 echo "${ECHO_T}builtin version" >&6; }
3605 else
3606 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3607 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3608 { (exit 1); exit 1; }; }
3609 fi
3610
3611
3612 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3613 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3614
3615 # Check whether --with-libjpeg was given.
3616 if test "${with_libjpeg+set}" = set; then
3617 withval=$with_libjpeg;
3618 if test "$withval" = yes; then
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3620 elif test "$withval" = no; then
3621 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3622 elif test "$withval" = sys; then
3623 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3624 elif test "$withval" = builtin; then
3625 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3626 else
3627 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3628 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3629 { (exit 1); exit 1; }; }
3630 fi
3631
3632 else
3633
3634 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3635
3636 fi
3637
3638
3639 eval "$wx_cv_use_libjpeg"
3640
3641 if test "$wxUSE_LIBJPEG" = yes; then
3642 { echo "$as_me:$LINENO: result: yes" >&5
3643 echo "${ECHO_T}yes" >&6; }
3644 elif test "$wxUSE_LIBJPEG" = no; then
3645 { echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6; }
3647 elif test "$wxUSE_LIBJPEG" = sys; then
3648 { echo "$as_me:$LINENO: result: system version" >&5
3649 echo "${ECHO_T}system version" >&6; }
3650 elif test "$wxUSE_LIBJPEG" = builtin; then
3651 { echo "$as_me:$LINENO: result: builtin version" >&5
3652 echo "${ECHO_T}builtin version" >&6; }
3653 else
3654 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3655 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3656 { (exit 1); exit 1; }; }
3657 fi
3658
3659
3660 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3661 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3662
3663 # Check whether --with-libtiff was given.
3664 if test "${with_libtiff+set}" = set; then
3665 withval=$with_libtiff;
3666 if test "$withval" = yes; then
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3668 elif test "$withval" = no; then
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3670 elif test "$withval" = sys; then
3671 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3672 elif test "$withval" = builtin; then
3673 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3674 else
3675 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3676 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3677 { (exit 1); exit 1; }; }
3678 fi
3679
3680 else
3681
3682 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3683
3684 fi
3685
3686
3687 eval "$wx_cv_use_libtiff"
3688
3689 if test "$wxUSE_LIBTIFF" = yes; then
3690 { echo "$as_me:$LINENO: result: yes" >&5
3691 echo "${ECHO_T}yes" >&6; }
3692 elif test "$wxUSE_LIBTIFF" = no; then
3693 { echo "$as_me:$LINENO: result: no" >&5
3694 echo "${ECHO_T}no" >&6; }
3695 elif test "$wxUSE_LIBTIFF" = sys; then
3696 { echo "$as_me:$LINENO: result: system version" >&5
3697 echo "${ECHO_T}system version" >&6; }
3698 elif test "$wxUSE_LIBTIFF" = builtin; then
3699 { echo "$as_me:$LINENO: result: builtin version" >&5
3700 echo "${ECHO_T}builtin version" >&6; }
3701 else
3702 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3703 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3704 { (exit 1); exit 1; }; }
3705 fi
3706
3707
3708 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3709 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3710
3711 # Check whether --with-libxpm was given.
3712 if test "${with_libxpm+set}" = set; then
3713 withval=$with_libxpm;
3714 if test "$withval" = yes; then
3715 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3716 elif test "$withval" = no; then
3717 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3718 elif test "$withval" = sys; then
3719 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3720 elif test "$withval" = builtin; then
3721 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3722 else
3723 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3724 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3725 { (exit 1); exit 1; }; }
3726 fi
3727
3728 else
3729
3730 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3731
3732 fi
3733
3734
3735 eval "$wx_cv_use_libxpm"
3736
3737 if test "$wxUSE_LIBXPM" = yes; then
3738 { echo "$as_me:$LINENO: result: yes" >&5
3739 echo "${ECHO_T}yes" >&6; }
3740 elif test "$wxUSE_LIBXPM" = no; then
3741 { echo "$as_me:$LINENO: result: no" >&5
3742 echo "${ECHO_T}no" >&6; }
3743 elif test "$wxUSE_LIBXPM" = sys; then
3744 { echo "$as_me:$LINENO: result: system version" >&5
3745 echo "${ECHO_T}system version" >&6; }
3746 elif test "$wxUSE_LIBXPM" = builtin; then
3747 { echo "$as_me:$LINENO: result: builtin version" >&5
3748 echo "${ECHO_T}builtin version" >&6; }
3749 else
3750 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3751 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3752 { (exit 1); exit 1; }; }
3753 fi
3754
3755
3756 withstring=
3757 defaultval=$wxUSE_ALL_FEATURES
3758 if test -z "$defaultval"; then
3759 if test x"$withstring" = xwithout; then
3760 defaultval=yes
3761 else
3762 defaultval=no
3763 fi
3764 fi
3765 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3766 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3767
3768 # Check whether --with-libiconv was given.
3769 if test "${with_libiconv+set}" = set; then
3770 withval=$with_libiconv;
3771 if test "$withval" = yes; then
3772 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3773 else
3774 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3775 fi
3776
3777 else
3778
3779 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3780
3781 fi
3782
3783
3784 eval "$wx_cv_use_libiconv"
3785
3786 if test x"$withstring" = xwithout; then
3787 if test $wxUSE_LIBICONV = yes; then
3788 result=no
3789 else
3790 result=yes
3791 fi
3792 else
3793 result=$wxUSE_LIBICONV
3794 fi
3795
3796 { echo "$as_me:$LINENO: result: $result" >&5
3797 echo "${ECHO_T}$result" >&6; }
3798
3799
3800 withstring=
3801 defaultval=$wxUSE_ALL_FEATURES
3802 if test -z "$defaultval"; then
3803 if test x"$withstring" = xwithout; then
3804 defaultval=yes
3805 else
3806 defaultval=no
3807 fi
3808 fi
3809 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3810 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3811
3812 # Check whether --with-libmspack was given.
3813 if test "${with_libmspack+set}" = set; then
3814 withval=$with_libmspack;
3815 if test "$withval" = yes; then
3816 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3817 else
3818 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3819 fi
3820
3821 else
3822
3823 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3824
3825 fi
3826
3827
3828 eval "$wx_cv_use_libmspack"
3829
3830 if test x"$withstring" = xwithout; then
3831 if test $wxUSE_LIBMSPACK = yes; then
3832 result=no
3833 else
3834 result=yes
3835 fi
3836 else
3837 result=$wxUSE_LIBMSPACK
3838 fi
3839
3840 { echo "$as_me:$LINENO: result: $result" >&5
3841 echo "${ECHO_T}$result" >&6; }
3842
3843
3844 withstring=without
3845 defaultval=$wxUSE_ALL_FEATURES
3846 if test -z "$defaultval"; then
3847 if test x"$withstring" = xwithout; then
3848 defaultval=yes
3849 else
3850 defaultval=no
3851 fi
3852 fi
3853 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3854 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3855
3856 # Check whether --with-gtkprint was given.
3857 if test "${with_gtkprint+set}" = set; then
3858 withval=$with_gtkprint;
3859 if test "$withval" = yes; then
3860 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3861 else
3862 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3863 fi
3864
3865 else
3866
3867 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3868
3869 fi
3870
3871
3872 eval "$wx_cv_use_gtkprint"
3873
3874 if test x"$withstring" = xwithout; then
3875 if test $wxUSE_GTKPRINT = yes; then
3876 result=no
3877 else
3878 result=yes
3879 fi
3880 else
3881 result=$wxUSE_GTKPRINT
3882 fi
3883
3884 { echo "$as_me:$LINENO: result: $result" >&5
3885 echo "${ECHO_T}$result" >&6; }
3886
3887
3888 withstring=without
3889 defaultval=$wxUSE_ALL_FEATURES
3890 if test -z "$defaultval"; then
3891 if test x"$withstring" = xwithout; then
3892 defaultval=yes
3893 else
3894 defaultval=no
3895 fi
3896 fi
3897 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3898 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3899
3900 # Check whether --with-gnomeprint was given.
3901 if test "${with_gnomeprint+set}" = set; then
3902 withval=$with_gnomeprint;
3903 if test "$withval" = yes; then
3904 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3905 else
3906 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3907 fi
3908
3909 else
3910
3911 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3912
3913 fi
3914
3915
3916 eval "$wx_cv_use_gnomeprint"
3917
3918 if test x"$withstring" = xwithout; then
3919 if test $wxUSE_LIBGNOMEPRINT = yes; then
3920 result=no
3921 else
3922 result=yes
3923 fi
3924 else
3925 result=$wxUSE_LIBGNOMEPRINT
3926 fi
3927
3928 { echo "$as_me:$LINENO: result: $result" >&5
3929 echo "${ECHO_T}$result" >&6; }
3930
3931
3932 withstring=
3933 defaultval=$wxUSE_ALL_FEATURES
3934 if test -z "$defaultval"; then
3935 if test x"$withstring" = xwithout; then
3936 defaultval=yes
3937 else
3938 defaultval=no
3939 fi
3940 fi
3941 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3942 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3943
3944 # Check whether --with-gnomevfs was given.
3945 if test "${with_gnomevfs+set}" = set; then
3946 withval=$with_gnomevfs;
3947 if test "$withval" = yes; then
3948 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3949 else
3950 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3951 fi
3952
3953 else
3954
3955 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3956
3957 fi
3958
3959
3960 eval "$wx_cv_use_gnomevfs"
3961
3962 if test x"$withstring" = xwithout; then
3963 if test $wxUSE_LIBGNOMEVFS = yes; then
3964 result=no
3965 else
3966 result=yes
3967 fi
3968 else
3969 result=$wxUSE_LIBGNOMEVFS
3970 fi
3971
3972 { echo "$as_me:$LINENO: result: $result" >&5
3973 echo "${ECHO_T}$result" >&6; }
3974
3975
3976 withstring=
3977 defaultval=$wxUSE_ALL_FEATURES
3978 if test -z "$defaultval"; then
3979 if test x"$withstring" = xwithout; then
3980 defaultval=yes
3981 else
3982 defaultval=no
3983 fi
3984 fi
3985 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3986 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3987
3988 # Check whether --with-hildon was given.
3989 if test "${with_hildon+set}" = set; then
3990 withval=$with_hildon;
3991 if test "$withval" = yes; then
3992 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3993 else
3994 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3995 fi
3996
3997 else
3998
3999 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4000
4001 fi
4002
4003
4004 eval "$wx_cv_use_hildon"
4005
4006 if test x"$withstring" = xwithout; then
4007 if test $wxUSE_LIBHILDON = yes; then
4008 result=no
4009 else
4010 result=yes
4011 fi
4012 else
4013 result=$wxUSE_LIBHILDON
4014 fi
4015
4016 { echo "$as_me:$LINENO: result: $result" >&5
4017 echo "${ECHO_T}$result" >&6; }
4018
4019
4020 withstring=
4021 defaultval=$wxUSE_ALL_FEATURES
4022 if test -z "$defaultval"; then
4023 if test x"$withstring" = xwithout; then
4024 defaultval=yes
4025 else
4026 defaultval=no
4027 fi
4028 fi
4029 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4030 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4031
4032 # Check whether --with-opengl was given.
4033 if test "${with_opengl+set}" = set; then
4034 withval=$with_opengl;
4035 if test "$withval" = yes; then
4036 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4037 else
4038 wx_cv_use_opengl='wxUSE_OPENGL=no'
4039 fi
4040
4041 else
4042
4043 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4044
4045 fi
4046
4047
4048 eval "$wx_cv_use_opengl"
4049
4050 if test x"$withstring" = xwithout; then
4051 if test $wxUSE_OPENGL = yes; then
4052 result=no
4053 else
4054 result=yes
4055 fi
4056 else
4057 result=$wxUSE_OPENGL
4058 fi
4059
4060 { echo "$as_me:$LINENO: result: $result" >&5
4061 echo "${ECHO_T}$result" >&6; }
4062
4063
4064 fi
4065
4066
4067 withstring=
4068 defaultval=$wxUSE_ALL_FEATURES
4069 if test -z "$defaultval"; then
4070 if test x"$withstring" = xwithout; then
4071 defaultval=yes
4072 else
4073 defaultval=no
4074 fi
4075 fi
4076 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4077 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4078
4079 # Check whether --with-dmalloc was given.
4080 if test "${with_dmalloc+set}" = set; then
4081 withval=$with_dmalloc;
4082 if test "$withval" = yes; then
4083 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4084 else
4085 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4086 fi
4087
4088 else
4089
4090 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4091
4092 fi
4093
4094
4095 eval "$wx_cv_use_dmalloc"
4096
4097 if test x"$withstring" = xwithout; then
4098 if test $wxUSE_DMALLOC = yes; then
4099 result=no
4100 else
4101 result=yes
4102 fi
4103 else
4104 result=$wxUSE_DMALLOC
4105 fi
4106
4107 { echo "$as_me:$LINENO: result: $result" >&5
4108 echo "${ECHO_T}$result" >&6; }
4109
4110
4111 withstring=
4112 defaultval=$wxUSE_ALL_FEATURES
4113 if test -z "$defaultval"; then
4114 if test x"$withstring" = xwithout; then
4115 defaultval=yes
4116 else
4117 defaultval=no
4118 fi
4119 fi
4120 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4121 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4122
4123 # Check whether --with-sdl was given.
4124 if test "${with_sdl+set}" = set; then
4125 withval=$with_sdl;
4126 if test "$withval" = yes; then
4127 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4128 else
4129 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4130 fi
4131
4132 else
4133
4134 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4135
4136 fi
4137
4138
4139 eval "$wx_cv_use_sdl"
4140
4141 if test x"$withstring" = xwithout; then
4142 if test $wxUSE_LIBSDL = yes; then
4143 result=no
4144 else
4145 result=yes
4146 fi
4147 else
4148 result=$wxUSE_LIBSDL
4149 fi
4150
4151 { echo "$as_me:$LINENO: result: $result" >&5
4152 echo "${ECHO_T}$result" >&6; }
4153
4154
4155 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4156 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4157
4158 # Check whether --with-regex was given.
4159 if test "${with_regex+set}" = set; then
4160 withval=$with_regex;
4161 if test "$withval" = yes; then
4162 wx_cv_use_regex='wxUSE_REGEX=yes'
4163 elif test "$withval" = no; then
4164 wx_cv_use_regex='wxUSE_REGEX=no'
4165 elif test "$withval" = sys; then
4166 wx_cv_use_regex='wxUSE_REGEX=sys'
4167 elif test "$withval" = builtin; then
4168 wx_cv_use_regex='wxUSE_REGEX=builtin'
4169 else
4170 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4171 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4172 { (exit 1); exit 1; }; }
4173 fi
4174
4175 else
4176
4177 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4178
4179 fi
4180
4181
4182 eval "$wx_cv_use_regex"
4183
4184 if test "$wxUSE_REGEX" = yes; then
4185 { echo "$as_me:$LINENO: result: yes" >&5
4186 echo "${ECHO_T}yes" >&6; }
4187 elif test "$wxUSE_REGEX" = no; then
4188 { echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6; }
4190 elif test "$wxUSE_REGEX" = sys; then
4191 { echo "$as_me:$LINENO: result: system version" >&5
4192 echo "${ECHO_T}system version" >&6; }
4193 elif test "$wxUSE_REGEX" = builtin; then
4194 { echo "$as_me:$LINENO: result: builtin version" >&5
4195 echo "${ECHO_T}builtin version" >&6; }
4196 else
4197 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4198 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4199 { (exit 1); exit 1; }; }
4200 fi
4201
4202
4203 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4204 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4205
4206 # Check whether --with-zlib was given.
4207 if test "${with_zlib+set}" = set; then
4208 withval=$with_zlib;
4209 if test "$withval" = yes; then
4210 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4211 elif test "$withval" = no; then
4212 wx_cv_use_zlib='wxUSE_ZLIB=no'
4213 elif test "$withval" = sys; then
4214 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4215 elif test "$withval" = builtin; then
4216 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4217 else
4218 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4219 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4220 { (exit 1); exit 1; }; }
4221 fi
4222
4223 else
4224
4225 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4226
4227 fi
4228
4229
4230 eval "$wx_cv_use_zlib"
4231
4232 if test "$wxUSE_ZLIB" = yes; then
4233 { echo "$as_me:$LINENO: result: yes" >&5
4234 echo "${ECHO_T}yes" >&6; }
4235 elif test "$wxUSE_ZLIB" = no; then
4236 { echo "$as_me:$LINENO: result: no" >&5
4237 echo "${ECHO_T}no" >&6; }
4238 elif test "$wxUSE_ZLIB" = sys; then
4239 { echo "$as_me:$LINENO: result: system version" >&5
4240 echo "${ECHO_T}system version" >&6; }
4241 elif test "$wxUSE_ZLIB" = builtin; then
4242 { echo "$as_me:$LINENO: result: builtin version" >&5
4243 echo "${ECHO_T}builtin version" >&6; }
4244 else
4245 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4246 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4247 { (exit 1); exit 1; }; }
4248 fi
4249
4250
4251 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4252 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4253
4254 # Check whether --with-expat was given.
4255 if test "${with_expat+set}" = set; then
4256 withval=$with_expat;
4257 if test "$withval" = yes; then
4258 wx_cv_use_expat='wxUSE_EXPAT=yes'
4259 elif test "$withval" = no; then
4260 wx_cv_use_expat='wxUSE_EXPAT=no'
4261 elif test "$withval" = sys; then
4262 wx_cv_use_expat='wxUSE_EXPAT=sys'
4263 elif test "$withval" = builtin; then
4264 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4265 else
4266 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4267 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4268 { (exit 1); exit 1; }; }
4269 fi
4270
4271 else
4272
4273 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4274
4275 fi
4276
4277
4278 eval "$wx_cv_use_expat"
4279
4280 if test "$wxUSE_EXPAT" = yes; then
4281 { echo "$as_me:$LINENO: result: yes" >&5
4282 echo "${ECHO_T}yes" >&6; }
4283 elif test "$wxUSE_EXPAT" = no; then
4284 { echo "$as_me:$LINENO: result: no" >&5
4285 echo "${ECHO_T}no" >&6; }
4286 elif test "$wxUSE_EXPAT" = sys; then
4287 { echo "$as_me:$LINENO: result: system version" >&5
4288 echo "${ECHO_T}system version" >&6; }
4289 elif test "$wxUSE_EXPAT" = builtin; then
4290 { echo "$as_me:$LINENO: result: builtin version" >&5
4291 echo "${ECHO_T}builtin version" >&6; }
4292 else
4293 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4294 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4295 { (exit 1); exit 1; }; }
4296 fi
4297
4298
4299 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4300 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4301
4302 # Check whether --with-macosx-sdk was given.
4303 if test "${with_macosx_sdk+set}" = set; then
4304 withval=$with_macosx_sdk;
4305 wxUSE_MACOSX_SDK=$withval
4306 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4307
4308 fi
4309
4310 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4311 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4312
4313 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4314 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4315
4316 # Check whether --with-macosx-version-min was given.
4317 if test "${with_macosx_version_min+set}" = set; then
4318 withval=$with_macosx_version_min;
4319 wxUSE_MACOSX_VERSION_MIN=$withval
4320 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4321
4322 fi
4323
4324 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4325 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4326
4327
4328
4329 enablestring=disable
4330 defaultval=
4331 if test -z "$defaultval"; then
4332 if test x"$enablestring" = xdisable; then
4333 defaultval=yes
4334 else
4335 defaultval=no
4336 fi
4337 fi
4338
4339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4340 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4341 # Check whether --enable-shared was given.
4342 if test "${enable_shared+set}" = set; then
4343 enableval=$enable_shared;
4344 if test "$enableval" = yes; then
4345 wx_cv_use_shared='wxUSE_SHARED=yes'
4346 else
4347 wx_cv_use_shared='wxUSE_SHARED=no'
4348 fi
4349
4350 else
4351
4352 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4353
4354 fi
4355
4356
4357 eval "$wx_cv_use_shared"
4358
4359 if test x"$enablestring" = xdisable; then
4360 if test $wxUSE_SHARED = yes; then
4361 result=no
4362 else
4363 result=yes
4364 fi
4365 else
4366 result=$wxUSE_SHARED
4367 fi
4368
4369 { echo "$as_me:$LINENO: result: $result" >&5
4370 echo "${ECHO_T}$result" >&6; }
4371
4372
4373 enablestring=
4374 defaultval=
4375 if test -z "$defaultval"; then
4376 if test x"$enablestring" = xdisable; then
4377 defaultval=yes
4378 else
4379 defaultval=no
4380 fi
4381 fi
4382
4383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4384 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4385 # Check whether --enable-debug was given.
4386 if test "${enable_debug+set}" = set; then
4387 enableval=$enable_debug;
4388 if test "$enableval" = yes; then
4389 wx_cv_use_debug='wxUSE_DEBUG=yes'
4390 else
4391 wx_cv_use_debug='wxUSE_DEBUG=no'
4392 fi
4393
4394 else
4395
4396 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4397
4398 fi
4399
4400
4401 eval "$wx_cv_use_debug"
4402
4403 if test x"$enablestring" = xdisable; then
4404 if test $wxUSE_DEBUG = yes; then
4405 result=no
4406 else
4407 result=yes
4408 fi
4409 else
4410 result=$wxUSE_DEBUG
4411 fi
4412
4413 { echo "$as_me:$LINENO: result: $result" >&5
4414 echo "${ECHO_T}$result" >&6; }
4415
4416
4417 enablestring=
4418 defaultval=
4419 if test -z "$defaultval"; then
4420 if test x"$enablestring" = xdisable; then
4421 defaultval=yes
4422 else
4423 defaultval=no
4424 fi
4425 fi
4426
4427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4428 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4429 # Check whether --enable-stl was given.
4430 if test "${enable_stl+set}" = set; then
4431 enableval=$enable_stl;
4432 if test "$enableval" = yes; then
4433 wx_cv_use_stl='wxUSE_STL=yes'
4434 else
4435 wx_cv_use_stl='wxUSE_STL=no'
4436 fi
4437
4438 else
4439
4440 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4441
4442 fi
4443
4444
4445 eval "$wx_cv_use_stl"
4446
4447 if test x"$enablestring" = xdisable; then
4448 if test $wxUSE_STL = yes; then
4449 result=no
4450 else
4451 result=yes
4452 fi
4453 else
4454 result=$wxUSE_STL
4455 fi
4456
4457 { echo "$as_me:$LINENO: result: $result" >&5
4458 echo "${ECHO_T}$result" >&6; }
4459
4460
4461 enablestring=
4462 defaultval=
4463 if test -z "$defaultval"; then
4464 if test x"$enablestring" = xdisable; then
4465 defaultval=yes
4466 else
4467 defaultval=no
4468 fi
4469 fi
4470
4471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4472 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4473 # Check whether --enable-std_iostreams was given.
4474 if test "${enable_std_iostreams+set}" = set; then
4475 enableval=$enable_std_iostreams;
4476 if test "$enableval" = yes; then
4477 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4478 else
4479 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4480 fi
4481
4482 else
4483
4484 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4485
4486 fi
4487
4488
4489 eval "$wx_cv_use_std_iostreams"
4490
4491 if test x"$enablestring" = xdisable; then
4492 if test $wxUSE_STD_IOSTREAM = yes; then
4493 result=no
4494 else
4495 result=yes
4496 fi
4497 else
4498 result=$wxUSE_STD_IOSTREAM
4499 fi
4500
4501 { echo "$as_me:$LINENO: result: $result" >&5
4502 echo "${ECHO_T}$result" >&6; }
4503
4504
4505 enablestring=
4506 defaultval=
4507 if test -z "$defaultval"; then
4508 if test x"$enablestring" = xdisable; then
4509 defaultval=yes
4510 else
4511 defaultval=no
4512 fi
4513 fi
4514
4515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4516 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4517 # Check whether --enable-std_string was given.
4518 if test "${enable_std_string+set}" = set; then
4519 enableval=$enable_std_string;
4520 if test "$enableval" = yes; then
4521 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4522 else
4523 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4524 fi
4525
4526 else
4527
4528 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4529
4530 fi
4531
4532
4533 eval "$wx_cv_use_std_string"
4534
4535 if test x"$enablestring" = xdisable; then
4536 if test $wxUSE_STD_STRING = yes; then
4537 result=no
4538 else
4539 result=yes
4540 fi
4541 else
4542 result=$wxUSE_STD_STRING
4543 fi
4544
4545 { echo "$as_me:$LINENO: result: $result" >&5
4546 echo "${ECHO_T}$result" >&6; }
4547
4548
4549 enablestring=disable
4550 defaultval=
4551 if test -z "$defaultval"; then
4552 if test x"$enablestring" = xdisable; then
4553 defaultval=yes
4554 else
4555 defaultval=no
4556 fi
4557 fi
4558
4559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4560 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4561 # Check whether --enable-unicode was given.
4562 if test "${enable_unicode+set}" = set; then
4563 enableval=$enable_unicode;
4564 if test "$enableval" = yes; then
4565 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4566 else
4567 wx_cv_use_unicode='wxUSE_UNICODE=no'
4568 fi
4569
4570 else
4571
4572 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4573
4574 fi
4575
4576
4577 eval "$wx_cv_use_unicode"
4578
4579 if test x"$enablestring" = xdisable; then
4580 if test $wxUSE_UNICODE = yes; then
4581 result=no
4582 else
4583 result=yes
4584 fi
4585 else
4586 result=$wxUSE_UNICODE
4587 fi
4588
4589 { echo "$as_me:$LINENO: result: $result" >&5
4590 echo "${ECHO_T}$result" >&6; }
4591
4592
4593 enablestring=
4594 defaultval=
4595 if test -z "$defaultval"; then
4596 if test x"$enablestring" = xdisable; then
4597 defaultval=yes
4598 else
4599 defaultval=no
4600 fi
4601 fi
4602
4603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4604 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4605 # Check whether --enable-mslu was given.
4606 if test "${enable_mslu+set}" = set; then
4607 enableval=$enable_mslu;
4608 if test "$enableval" = yes; then
4609 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4610 else
4611 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4612 fi
4613
4614 else
4615
4616 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4617
4618 fi
4619
4620
4621 eval "$wx_cv_use_mslu"
4622
4623 if test x"$enablestring" = xdisable; then
4624 if test $wxUSE_UNICODE_MSLU = yes; then
4625 result=no
4626 else
4627 result=yes
4628 fi
4629 else
4630 result=$wxUSE_UNICODE_MSLU
4631 fi
4632
4633 { echo "$as_me:$LINENO: result: $result" >&5
4634 echo "${ECHO_T}$result" >&6; }
4635
4636
4637 enablestring=
4638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4640 # Check whether --enable-utf8 was given.
4641 if test "${enable_utf8+set}" = set; then
4642 enableval=$enable_utf8;
4643 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4644
4645 else
4646
4647 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4648
4649 fi
4650
4651
4652 eval "$wx_cv_use_utf8"
4653
4654 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4655 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4656
4657
4658 enablestring=
4659 defaultval=
4660 if test -z "$defaultval"; then
4661 if test x"$enablestring" = xdisable; then
4662 defaultval=yes
4663 else
4664 defaultval=no
4665 fi
4666 fi
4667
4668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4669 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4670 # Check whether --enable-utf8only was given.
4671 if test "${enable_utf8only+set}" = set; then
4672 enableval=$enable_utf8only;
4673 if test "$enableval" = yes; then
4674 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4675 else
4676 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4677 fi
4678
4679 else
4680
4681 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4682
4683 fi
4684
4685
4686 eval "$wx_cv_use_utf8only"
4687
4688 if test x"$enablestring" = xdisable; then
4689 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4690 result=no
4691 else
4692 result=yes
4693 fi
4694 else
4695 result=$wxUSE_UNICODE_UTF8_LOCALE
4696 fi
4697
4698 { echo "$as_me:$LINENO: result: $result" >&5
4699 echo "${ECHO_T}$result" >&6; }
4700
4701
4702 enablestring=
4703 defaultval=
4704 if test -z "$defaultval"; then
4705 if test x"$enablestring" = xdisable; then
4706 defaultval=yes
4707 else
4708 defaultval=no
4709 fi
4710 fi
4711
4712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4713 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4714 # Check whether --enable-extended_rtti was given.
4715 if test "${enable_extended_rtti+set}" = set; then
4716 enableval=$enable_extended_rtti;
4717 if test "$enableval" = yes; then
4718 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4719 else
4720 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4721 fi
4722
4723 else
4724
4725 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4726
4727 fi
4728
4729
4730 eval "$wx_cv_use_extended_rtti"
4731
4732 if test x"$enablestring" = xdisable; then
4733 if test $wxUSE_EXTENDED_RTTI = yes; then
4734 result=no
4735 else
4736 result=yes
4737 fi
4738 else
4739 result=$wxUSE_EXTENDED_RTTI
4740 fi
4741
4742 { echo "$as_me:$LINENO: result: $result" >&5
4743 echo "${ECHO_T}$result" >&6; }
4744
4745 if test "$USE_OS2" = 1; then
4746 DEFAULT_wxUSE_OMF=no
4747
4748 enablestring=
4749 defaultval=
4750 if test -z "$defaultval"; then
4751 if test x"$enablestring" = xdisable; then
4752 defaultval=yes
4753 else
4754 defaultval=no
4755 fi
4756 fi
4757
4758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4759 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4760 # Check whether --enable-omf was given.
4761 if test "${enable_omf+set}" = set; then
4762 enableval=$enable_omf;
4763 if test "$enableval" = yes; then
4764 wx_cv_use_omf='wxUSE_OMF=yes'
4765 else
4766 wx_cv_use_omf='wxUSE_OMF=no'
4767 fi
4768
4769 else
4770
4771 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4772
4773 fi
4774
4775
4776 eval "$wx_cv_use_omf"
4777
4778 if test x"$enablestring" = xdisable; then
4779 if test $wxUSE_OMF = yes; then
4780 result=no
4781 else
4782 result=yes
4783 fi
4784 else
4785 result=$wxUSE_OMF
4786 fi
4787
4788 { echo "$as_me:$LINENO: result: $result" >&5
4789 echo "${ECHO_T}$result" >&6; }
4790
4791 fi
4792
4793 if test "$wxUSE_DEBUG" = "yes"; then
4794 DEFAULT_wxUSE_DEBUG_FLAG=yes
4795 DEFAULT_wxUSE_DEBUG_INFO=yes
4796 BUILD=debug
4797 elif test "$wxUSE_DEBUG" = "no"; then
4798 DEFAULT_wxUSE_DEBUG_FLAG=no
4799 DEFAULT_wxUSE_DEBUG_INFO=no
4800 BUILD=release
4801 fi
4802
4803
4804 enablestring=
4805 defaultval=
4806 if test -z "$defaultval"; then
4807 if test x"$enablestring" = xdisable; then
4808 defaultval=yes
4809 else
4810 defaultval=no
4811 fi
4812 fi
4813
4814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4815 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4816 # Check whether --enable-debug_flag was given.
4817 if test "${enable_debug_flag+set}" = set; then
4818 enableval=$enable_debug_flag;
4819 if test "$enableval" = yes; then
4820 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4821 else
4822 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4823 fi
4824
4825 else
4826
4827 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4828
4829 fi
4830
4831
4832 eval "$wx_cv_use_debug_flag"
4833
4834 if test x"$enablestring" = xdisable; then
4835 if test $wxUSE_DEBUG_FLAG = yes; then
4836 result=no
4837 else
4838 result=yes
4839 fi
4840 else
4841 result=$wxUSE_DEBUG_FLAG
4842 fi
4843
4844 { echo "$as_me:$LINENO: result: $result" >&5
4845 echo "${ECHO_T}$result" >&6; }
4846
4847
4848 enablestring=
4849 defaultval=
4850 if test -z "$defaultval"; then
4851 if test x"$enablestring" = xdisable; then
4852 defaultval=yes
4853 else
4854 defaultval=no
4855 fi
4856 fi
4857
4858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4860 # Check whether --enable-debug_info was given.
4861 if test "${enable_debug_info+set}" = set; then
4862 enableval=$enable_debug_info;
4863 if test "$enableval" = yes; then
4864 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4865 else
4866 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4867 fi
4868
4869 else
4870
4871 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4872
4873 fi
4874
4875
4876 eval "$wx_cv_use_debug_info"
4877
4878 if test x"$enablestring" = xdisable; then
4879 if test $wxUSE_DEBUG_INFO = yes; then
4880 result=no
4881 else
4882 result=yes
4883 fi
4884 else
4885 result=$wxUSE_DEBUG_INFO
4886 fi
4887
4888 { echo "$as_me:$LINENO: result: $result" >&5
4889 echo "${ECHO_T}$result" >&6; }
4890
4891
4892 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4893 wxUSE_DEBUG=yes
4894 BUILD=debug
4895 fi
4896
4897 if test "$wxUSE_DEBUG" = "yes"; then
4898 DEFAULT_wxUSE_OPTIMISE=no
4899 fi
4900
4901
4902 enablestring=disable
4903 defaultval=
4904 if test -z "$defaultval"; then
4905 if test x"$enablestring" = xdisable; then
4906 defaultval=yes
4907 else
4908 defaultval=no
4909 fi
4910 fi
4911
4912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4913 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4914 # Check whether --enable-optimise was given.
4915 if test "${enable_optimise+set}" = set; then
4916 enableval=$enable_optimise;
4917 if test "$enableval" = yes; then
4918 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4919 else
4920 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4921 fi
4922
4923 else
4924
4925 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4926
4927 fi
4928
4929
4930 eval "$wx_cv_use_optimise"
4931
4932 if test x"$enablestring" = xdisable; then
4933 if test $wxUSE_OPTIMISE = yes; then
4934 result=no
4935 else
4936 result=yes
4937 fi
4938 else
4939 result=$wxUSE_OPTIMISE
4940 fi
4941
4942 { echo "$as_me:$LINENO: result: $result" >&5
4943 echo "${ECHO_T}$result" >&6; }
4944
4945
4946
4947 enablestring=
4948 defaultval=
4949 if test -z "$defaultval"; then
4950 if test x"$enablestring" = xdisable; then
4951 defaultval=yes
4952 else
4953 defaultval=no
4954 fi
4955 fi
4956
4957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4958 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4959 # Check whether --enable-debug_gdb was given.
4960 if test "${enable_debug_gdb+set}" = set; then
4961 enableval=$enable_debug_gdb;
4962 if test "$enableval" = yes; then
4963 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4964 else
4965 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4966 fi
4967
4968 else
4969
4970 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4971
4972 fi
4973
4974
4975 eval "$wx_cv_use_debug_gdb"
4976
4977 if test x"$enablestring" = xdisable; then
4978 if test $wxUSE_DEBUG_GDB = yes; then
4979 result=no
4980 else
4981 result=yes
4982 fi
4983 else
4984 result=$wxUSE_DEBUG_GDB
4985 fi
4986
4987 { echo "$as_me:$LINENO: result: $result" >&5
4988 echo "${ECHO_T}$result" >&6; }
4989
4990
4991 enablestring=
4992 defaultval=
4993 if test -z "$defaultval"; then
4994 if test x"$enablestring" = xdisable; then
4995 defaultval=yes
4996 else
4997 defaultval=no
4998 fi
4999 fi
5000
5001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5002 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5003 # Check whether --enable-debug_cntxt was given.
5004 if test "${enable_debug_cntxt+set}" = set; then
5005 enableval=$enable_debug_cntxt;
5006 if test "$enableval" = yes; then
5007 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5008 else
5009 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5010 fi
5011
5012 else
5013
5014 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5015
5016 fi
5017
5018
5019 eval "$wx_cv_use_debug_cntxt"
5020
5021 if test x"$enablestring" = xdisable; then
5022 if test $wxUSE_DEBUG_CONTEXT = yes; then
5023 result=no
5024 else
5025 result=yes
5026 fi
5027 else
5028 result=$wxUSE_DEBUG_CONTEXT
5029 fi
5030
5031 { echo "$as_me:$LINENO: result: $result" >&5
5032 echo "${ECHO_T}$result" >&6; }
5033
5034
5035 enablestring=
5036 defaultval=
5037 if test -z "$defaultval"; then
5038 if test x"$enablestring" = xdisable; then
5039 defaultval=yes
5040 else
5041 defaultval=no
5042 fi
5043 fi
5044
5045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5046 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5047 # Check whether --enable-mem_tracing was given.
5048 if test "${enable_mem_tracing+set}" = set; then
5049 enableval=$enable_mem_tracing;
5050 if test "$enableval" = yes; then
5051 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5052 else
5053 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5054 fi
5055
5056 else
5057
5058 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5059
5060 fi
5061
5062
5063 eval "$wx_cv_use_mem_tracing"
5064
5065 if test x"$enablestring" = xdisable; then
5066 if test $wxUSE_MEM_TRACING = yes; then
5067 result=no
5068 else
5069 result=yes
5070 fi
5071 else
5072 result=$wxUSE_MEM_TRACING
5073 fi
5074
5075 { echo "$as_me:$LINENO: result: $result" >&5
5076 echo "${ECHO_T}$result" >&6; }
5077
5078
5079 enablestring=
5080 defaultval=
5081 if test -z "$defaultval"; then
5082 if test x"$enablestring" = xdisable; then
5083 defaultval=yes
5084 else
5085 defaultval=no
5086 fi
5087 fi
5088
5089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5090 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5091 # Check whether --enable-profile was given.
5092 if test "${enable_profile+set}" = set; then
5093 enableval=$enable_profile;
5094 if test "$enableval" = yes; then
5095 wx_cv_use_profile='wxUSE_PROFILE=yes'
5096 else
5097 wx_cv_use_profile='wxUSE_PROFILE=no'
5098 fi
5099
5100 else
5101
5102 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5103
5104 fi
5105
5106
5107 eval "$wx_cv_use_profile"
5108
5109 if test x"$enablestring" = xdisable; then
5110 if test $wxUSE_PROFILE = yes; then
5111 result=no
5112 else
5113 result=yes
5114 fi
5115 else
5116 result=$wxUSE_PROFILE
5117 fi
5118
5119 { echo "$as_me:$LINENO: result: $result" >&5
5120 echo "${ECHO_T}$result" >&6; }
5121
5122
5123 enablestring=
5124 defaultval=
5125 if test -z "$defaultval"; then
5126 if test x"$enablestring" = xdisable; then
5127 defaultval=yes
5128 else
5129 defaultval=no
5130 fi
5131 fi
5132
5133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5135 # Check whether --enable-no_rtti was given.
5136 if test "${enable_no_rtti+set}" = set; then
5137 enableval=$enable_no_rtti;
5138 if test "$enableval" = yes; then
5139 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5140 else
5141 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5142 fi
5143
5144 else
5145
5146 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5147
5148 fi
5149
5150
5151 eval "$wx_cv_use_no_rtti"
5152
5153 if test x"$enablestring" = xdisable; then
5154 if test $wxUSE_NO_RTTI = yes; then
5155 result=no
5156 else
5157 result=yes
5158 fi
5159 else
5160 result=$wxUSE_NO_RTTI
5161 fi
5162
5163 { echo "$as_me:$LINENO: result: $result" >&5
5164 echo "${ECHO_T}$result" >&6; }
5165
5166
5167 enablestring=
5168 defaultval=
5169 if test -z "$defaultval"; then
5170 if test x"$enablestring" = xdisable; then
5171 defaultval=yes
5172 else
5173 defaultval=no
5174 fi
5175 fi
5176
5177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5178 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5179 # Check whether --enable-no_exceptions was given.
5180 if test "${enable_no_exceptions+set}" = set; then
5181 enableval=$enable_no_exceptions;
5182 if test "$enableval" = yes; then
5183 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5184 else
5185 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5186 fi
5187
5188 else
5189
5190 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5191
5192 fi
5193
5194
5195 eval "$wx_cv_use_no_exceptions"
5196
5197 if test x"$enablestring" = xdisable; then
5198 if test $wxUSE_NO_EXCEPTIONS = yes; then
5199 result=no
5200 else
5201 result=yes
5202 fi
5203 else
5204 result=$wxUSE_NO_EXCEPTIONS
5205 fi
5206
5207 { echo "$as_me:$LINENO: result: $result" >&5
5208 echo "${ECHO_T}$result" >&6; }
5209
5210
5211 enablestring=
5212 defaultval=
5213 if test -z "$defaultval"; then
5214 if test x"$enablestring" = xdisable; then
5215 defaultval=yes
5216 else
5217 defaultval=no
5218 fi
5219 fi
5220
5221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5222 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5223 # Check whether --enable-permissive was given.
5224 if test "${enable_permissive+set}" = set; then
5225 enableval=$enable_permissive;
5226 if test "$enableval" = yes; then
5227 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5228 else
5229 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5230 fi
5231
5232 else
5233
5234 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5235
5236 fi
5237
5238
5239 eval "$wx_cv_use_permissive"
5240
5241 if test x"$enablestring" = xdisable; then
5242 if test $wxUSE_PERMISSIVE = yes; then
5243 result=no
5244 else
5245 result=yes
5246 fi
5247 else
5248 result=$wxUSE_PERMISSIVE
5249 fi
5250
5251 { echo "$as_me:$LINENO: result: $result" >&5
5252 echo "${ECHO_T}$result" >&6; }
5253
5254
5255 enablestring=
5256 defaultval=
5257 if test -z "$defaultval"; then
5258 if test x"$enablestring" = xdisable; then
5259 defaultval=yes
5260 else
5261 defaultval=no
5262 fi
5263 fi
5264
5265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5266 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5267 # Check whether --enable-no_deps was given.
5268 if test "${enable_no_deps+set}" = set; then
5269 enableval=$enable_no_deps;
5270 if test "$enableval" = yes; then
5271 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5272 else
5273 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5274 fi
5275
5276 else
5277
5278 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5279
5280 fi
5281
5282
5283 eval "$wx_cv_use_no_deps"
5284
5285 if test x"$enablestring" = xdisable; then
5286 if test $wxUSE_NO_DEPS = yes; then
5287 result=no
5288 else
5289 result=yes
5290 fi
5291 else
5292 result=$wxUSE_NO_DEPS
5293 fi
5294
5295 { echo "$as_me:$LINENO: result: $result" >&5
5296 echo "${ECHO_T}$result" >&6; }
5297
5298
5299 enablestring=disable
5300 defaultval=
5301 if test -z "$defaultval"; then
5302 if test x"$enablestring" = xdisable; then
5303 defaultval=yes
5304 else
5305 defaultval=no
5306 fi
5307 fi
5308
5309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5310 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5311 # Check whether --enable-vararg_macros was given.
5312 if test "${enable_vararg_macros+set}" = set; then
5313 enableval=$enable_vararg_macros;
5314 if test "$enableval" = yes; then
5315 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5316 else
5317 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5318 fi
5319
5320 else
5321
5322 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5323
5324 fi
5325
5326
5327 eval "$wx_cv_use_vararg_macros"
5328
5329 if test x"$enablestring" = xdisable; then
5330 if test $wxUSE_VARARG_MACROS = yes; then
5331 result=no
5332 else
5333 result=yes
5334 fi
5335 else
5336 result=$wxUSE_VARARG_MACROS
5337 fi
5338
5339 { echo "$as_me:$LINENO: result: $result" >&5
5340 echo "${ECHO_T}$result" >&6; }
5341
5342
5343 enablestring=
5344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5345 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5346 # Check whether --enable-universal_binary was given.
5347 if test "${enable_universal_binary+set}" = set; then
5348 enableval=$enable_universal_binary;
5349 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5350
5351 else
5352
5353 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5354
5355 fi
5356
5357
5358 eval "$wx_cv_use_universal_binary"
5359
5360 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5361 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5362
5363
5364
5365 enablestring=
5366 defaultval=
5367 if test -z "$defaultval"; then
5368 if test x"$enablestring" = xdisable; then
5369 defaultval=yes
5370 else
5371 defaultval=no
5372 fi
5373 fi
5374
5375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5377 # Check whether --enable-compat26 was given.
5378 if test "${enable_compat26+set}" = set; then
5379 enableval=$enable_compat26;
5380 if test "$enableval" = yes; then
5381 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5382 else
5383 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5384 fi
5385
5386 else
5387
5388 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5389
5390 fi
5391
5392
5393 eval "$wx_cv_use_compat26"
5394
5395 if test x"$enablestring" = xdisable; then
5396 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5397 result=no
5398 else
5399 result=yes
5400 fi
5401 else
5402 result=$WXWIN_COMPATIBILITY_2_6
5403 fi
5404
5405 { echo "$as_me:$LINENO: result: $result" >&5
5406 echo "${ECHO_T}$result" >&6; }
5407
5408
5409 enablestring=disable
5410 defaultval=
5411 if test -z "$defaultval"; then
5412 if test x"$enablestring" = xdisable; then
5413 defaultval=yes
5414 else
5415 defaultval=no
5416 fi
5417 fi
5418
5419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5421 # Check whether --enable-compat28 was given.
5422 if test "${enable_compat28+set}" = set; then
5423 enableval=$enable_compat28;
5424 if test "$enableval" = yes; then
5425 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5426 else
5427 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5428 fi
5429
5430 else
5431
5432 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5433
5434 fi
5435
5436
5437 eval "$wx_cv_use_compat28"
5438
5439 if test x"$enablestring" = xdisable; then
5440 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5441 result=no
5442 else
5443 result=yes
5444 fi
5445 else
5446 result=$WXWIN_COMPATIBILITY_2_8
5447 fi
5448
5449 { echo "$as_me:$LINENO: result: $result" >&5
5450 echo "${ECHO_T}$result" >&6; }
5451
5452
5453
5454 enablestring=disable
5455 defaultval=
5456 if test -z "$defaultval"; then
5457 if test x"$enablestring" = xdisable; then
5458 defaultval=yes
5459 else
5460 defaultval=no
5461 fi
5462 fi
5463
5464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5465 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5466 # Check whether --enable-rpath was given.
5467 if test "${enable_rpath+set}" = set; then
5468 enableval=$enable_rpath;
5469 if test "$enableval" = yes; then
5470 wx_cv_use_rpath='wxUSE_RPATH=yes'
5471 else
5472 wx_cv_use_rpath='wxUSE_RPATH=no'
5473 fi
5474
5475 else
5476
5477 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5478
5479 fi
5480
5481
5482 eval "$wx_cv_use_rpath"
5483
5484 if test x"$enablestring" = xdisable; then
5485 if test $wxUSE_RPATH = yes; then
5486 result=no
5487 else
5488 result=yes
5489 fi
5490 else
5491 result=$wxUSE_RPATH
5492 fi
5493
5494 { echo "$as_me:$LINENO: result: $result" >&5
5495 echo "${ECHO_T}$result" >&6; }
5496
5497
5498
5499 enablestring=
5500 defaultval=
5501 if test -z "$defaultval"; then
5502 if test x"$enablestring" = xdisable; then
5503 defaultval=yes
5504 else
5505 defaultval=no
5506 fi
5507 fi
5508
5509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5510 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5511 # Check whether --enable-objc_uniquifying was given.
5512 if test "${enable_objc_uniquifying+set}" = set; then
5513 enableval=$enable_objc_uniquifying;
5514 if test "$enableval" = yes; then
5515 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5516 else
5517 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5518 fi
5519
5520 else
5521
5522 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5523
5524 fi
5525
5526
5527 eval "$wx_cv_use_objc_uniquifying"
5528
5529 if test x"$enablestring" = xdisable; then
5530 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5531 result=no
5532 else
5533 result=yes
5534 fi
5535 else
5536 result=$wxUSE_OBJC_UNIQUIFYING
5537 fi
5538
5539 { echo "$as_me:$LINENO: result: $result" >&5
5540 echo "${ECHO_T}$result" >&6; }
5541
5542
5543
5544 enablestring=disable
5545 defaultval=
5546 if test -z "$defaultval"; then
5547 if test x"$enablestring" = xdisable; then
5548 defaultval=yes
5549 else
5550 defaultval=no
5551 fi
5552 fi
5553
5554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5555 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5556 # Check whether --enable-visibility was given.
5557 if test "${enable_visibility+set}" = set; then
5558 enableval=$enable_visibility;
5559 if test "$enableval" = yes; then
5560 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5561 else
5562 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5563 fi
5564
5565 else
5566
5567 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5568
5569 fi
5570
5571
5572 eval "$wx_cv_use_visibility"
5573
5574 if test x"$enablestring" = xdisable; then
5575 if test $wxUSE_VISIBILITY = yes; then
5576 result=no
5577 else
5578 result=yes
5579 fi
5580 else
5581 result=$wxUSE_VISIBILITY
5582 fi
5583
5584 { echo "$as_me:$LINENO: result: $result" >&5
5585 echo "${ECHO_T}$result" >&6; }
5586
5587
5588 enablestring=disable
5589 defaultval=
5590 if test -z "$defaultval"; then
5591 if test x"$enablestring" = xdisable; then
5592 defaultval=yes
5593 else
5594 defaultval=no
5595 fi
5596 fi
5597
5598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5599 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5600 # Check whether --enable-tls was given.
5601 if test "${enable_tls+set}" = set; then
5602 enableval=$enable_tls;
5603 if test "$enableval" = yes; then
5604 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5605 else
5606 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5607 fi
5608
5609 else
5610
5611 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5612
5613 fi
5614
5615
5616 eval "$wx_cv_use_tls"
5617
5618 if test x"$enablestring" = xdisable; then
5619 if test $wxUSE_COMPILER_TLS = yes; then
5620 result=no
5621 else
5622 result=yes
5623 fi
5624 else
5625 result=$wxUSE_COMPILER_TLS
5626 fi
5627
5628 { echo "$as_me:$LINENO: result: $result" >&5
5629 echo "${ECHO_T}$result" >&6; }
5630
5631
5632
5633
5634 enablestring=
5635 defaultval=$wxUSE_ALL_FEATURES
5636 if test -z "$defaultval"; then
5637 if test x"$enablestring" = xdisable; then
5638 defaultval=yes
5639 else
5640 defaultval=no
5641 fi
5642 fi
5643
5644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5645 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5646 # Check whether --enable-intl was given.
5647 if test "${enable_intl+set}" = set; then
5648 enableval=$enable_intl;
5649 if test "$enableval" = yes; then
5650 wx_cv_use_intl='wxUSE_INTL=yes'
5651 else
5652 wx_cv_use_intl='wxUSE_INTL=no'
5653 fi
5654
5655 else
5656
5657 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5658
5659 fi
5660
5661
5662 eval "$wx_cv_use_intl"
5663
5664 if test x"$enablestring" = xdisable; then
5665 if test $wxUSE_INTL = yes; then
5666 result=no
5667 else
5668 result=yes
5669 fi
5670 else
5671 result=$wxUSE_INTL
5672 fi
5673
5674 { echo "$as_me:$LINENO: result: $result" >&5
5675 echo "${ECHO_T}$result" >&6; }
5676
5677
5678 enablestring=
5679 defaultval=$wxUSE_ALL_FEATURES
5680 if test -z "$defaultval"; then
5681 if test x"$enablestring" = xdisable; then
5682 defaultval=yes
5683 else
5684 defaultval=no
5685 fi
5686 fi
5687
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5690 # Check whether --enable-xlocale was given.
5691 if test "${enable_xlocale+set}" = set; then
5692 enableval=$enable_xlocale;
5693 if test "$enableval" = yes; then
5694 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5695 else
5696 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5697 fi
5698
5699 else
5700
5701 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5702
5703 fi
5704
5705
5706 eval "$wx_cv_use_xlocale"
5707
5708 if test x"$enablestring" = xdisable; then
5709 if test $wxUSE_XLOCALE = yes; then
5710 result=no
5711 else
5712 result=yes
5713 fi
5714 else
5715 result=$wxUSE_XLOCALE
5716 fi
5717
5718 { echo "$as_me:$LINENO: result: $result" >&5
5719 echo "${ECHO_T}$result" >&6; }
5720
5721
5722 enablestring=
5723 defaultval=$wxUSE_ALL_FEATURES
5724 if test -z "$defaultval"; then
5725 if test x"$enablestring" = xdisable; then
5726 defaultval=yes
5727 else
5728 defaultval=no
5729 fi
5730 fi
5731
5732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5733 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5734 # Check whether --enable-config was given.
5735 if test "${enable_config+set}" = set; then
5736 enableval=$enable_config;
5737 if test "$enableval" = yes; then
5738 wx_cv_use_config='wxUSE_CONFIG=yes'
5739 else
5740 wx_cv_use_config='wxUSE_CONFIG=no'
5741 fi
5742
5743 else
5744
5745 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5746
5747 fi
5748
5749
5750 eval "$wx_cv_use_config"
5751
5752 if test x"$enablestring" = xdisable; then
5753 if test $wxUSE_CONFIG = yes; then
5754 result=no
5755 else
5756 result=yes
5757 fi
5758 else
5759 result=$wxUSE_CONFIG
5760 fi
5761
5762 { echo "$as_me:$LINENO: result: $result" >&5
5763 echo "${ECHO_T}$result" >&6; }
5764
5765
5766
5767 enablestring=
5768 defaultval=$wxUSE_ALL_FEATURES
5769 if test -z "$defaultval"; then
5770 if test x"$enablestring" = xdisable; then
5771 defaultval=yes
5772 else
5773 defaultval=no
5774 fi
5775 fi
5776
5777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5778 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5779 # Check whether --enable-protocols was given.
5780 if test "${enable_protocols+set}" = set; then
5781 enableval=$enable_protocols;
5782 if test "$enableval" = yes; then
5783 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5784 else
5785 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5786 fi
5787
5788 else
5789
5790 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5791
5792 fi
5793
5794
5795 eval "$wx_cv_use_protocols"
5796
5797 if test x"$enablestring" = xdisable; then
5798 if test $wxUSE_PROTOCOL = yes; then
5799 result=no
5800 else
5801 result=yes
5802 fi
5803 else
5804 result=$wxUSE_PROTOCOL
5805 fi
5806
5807 { echo "$as_me:$LINENO: result: $result" >&5
5808 echo "${ECHO_T}$result" >&6; }
5809
5810
5811 enablestring=
5812 defaultval=$wxUSE_ALL_FEATURES
5813 if test -z "$defaultval"; then
5814 if test x"$enablestring" = xdisable; then
5815 defaultval=yes
5816 else
5817 defaultval=no
5818 fi
5819 fi
5820
5821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5822 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5823 # Check whether --enable-ftp was given.
5824 if test "${enable_ftp+set}" = set; then
5825 enableval=$enable_ftp;
5826 if test "$enableval" = yes; then
5827 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5828 else
5829 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5830 fi
5831
5832 else
5833
5834 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5835
5836 fi
5837
5838
5839 eval "$wx_cv_use_ftp"
5840
5841 if test x"$enablestring" = xdisable; then
5842 if test $wxUSE_PROTOCOL_FTP = yes; then
5843 result=no
5844 else
5845 result=yes
5846 fi
5847 else
5848 result=$wxUSE_PROTOCOL_FTP
5849 fi
5850
5851 { echo "$as_me:$LINENO: result: $result" >&5
5852 echo "${ECHO_T}$result" >&6; }
5853
5854
5855 enablestring=
5856 defaultval=$wxUSE_ALL_FEATURES
5857 if test -z "$defaultval"; then
5858 if test x"$enablestring" = xdisable; then
5859 defaultval=yes
5860 else
5861 defaultval=no
5862 fi
5863 fi
5864
5865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5866 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5867 # Check whether --enable-http was given.
5868 if test "${enable_http+set}" = set; then
5869 enableval=$enable_http;
5870 if test "$enableval" = yes; then
5871 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5872 else
5873 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5874 fi
5875
5876 else
5877
5878 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5879
5880 fi
5881
5882
5883 eval "$wx_cv_use_http"
5884
5885 if test x"$enablestring" = xdisable; then
5886 if test $wxUSE_PROTOCOL_HTTP = yes; then
5887 result=no
5888 else
5889 result=yes
5890 fi
5891 else
5892 result=$wxUSE_PROTOCOL_HTTP
5893 fi
5894
5895 { echo "$as_me:$LINENO: result: $result" >&5
5896 echo "${ECHO_T}$result" >&6; }
5897
5898
5899 enablestring=
5900 defaultval=$wxUSE_ALL_FEATURES
5901 if test -z "$defaultval"; then
5902 if test x"$enablestring" = xdisable; then
5903 defaultval=yes
5904 else
5905 defaultval=no
5906 fi
5907 fi
5908
5909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5911 # Check whether --enable-fileproto was given.
5912 if test "${enable_fileproto+set}" = set; then
5913 enableval=$enable_fileproto;
5914 if test "$enableval" = yes; then
5915 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5916 else
5917 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5918 fi
5919
5920 else
5921
5922 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5923
5924 fi
5925
5926
5927 eval "$wx_cv_use_fileproto"
5928
5929 if test x"$enablestring" = xdisable; then
5930 if test $wxUSE_PROTOCOL_FILE = yes; then
5931 result=no
5932 else
5933 result=yes
5934 fi
5935 else
5936 result=$wxUSE_PROTOCOL_FILE
5937 fi
5938
5939 { echo "$as_me:$LINENO: result: $result" >&5
5940 echo "${ECHO_T}$result" >&6; }
5941
5942
5943 enablestring=
5944 defaultval=$wxUSE_ALL_FEATURES
5945 if test -z "$defaultval"; then
5946 if test x"$enablestring" = xdisable; then
5947 defaultval=yes
5948 else
5949 defaultval=no
5950 fi
5951 fi
5952
5953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5954 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5955 # Check whether --enable-sockets was given.
5956 if test "${enable_sockets+set}" = set; then
5957 enableval=$enable_sockets;
5958 if test "$enableval" = yes; then
5959 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5960 else
5961 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5962 fi
5963
5964 else
5965
5966 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5967
5968 fi
5969
5970
5971 eval "$wx_cv_use_sockets"
5972
5973 if test x"$enablestring" = xdisable; then
5974 if test $wxUSE_SOCKETS = yes; then
5975 result=no
5976 else
5977 result=yes
5978 fi
5979 else
5980 result=$wxUSE_SOCKETS
5981 fi
5982
5983 { echo "$as_me:$LINENO: result: $result" >&5
5984 echo "${ECHO_T}$result" >&6; }
5985
5986
5987 enablestring=
5988 defaultval=$wxUSE_ALL_FEATURES
5989 if test -z "$defaultval"; then
5990 if test x"$enablestring" = xdisable; then
5991 defaultval=yes
5992 else
5993 defaultval=no
5994 fi
5995 fi
5996
5997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5998 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5999 # Check whether --enable-ipv6 was given.
6000 if test "${enable_ipv6+set}" = set; then
6001 enableval=$enable_ipv6;
6002 if test "$enableval" = yes; then
6003 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6004 else
6005 wx_cv_use_ipv6='wxUSE_IPV6=no'
6006 fi
6007
6008 else
6009
6010 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6011
6012 fi
6013
6014
6015 eval "$wx_cv_use_ipv6"
6016
6017 if test x"$enablestring" = xdisable; then
6018 if test $wxUSE_IPV6 = yes; then
6019 result=no
6020 else
6021 result=yes
6022 fi
6023 else
6024 result=$wxUSE_IPV6
6025 fi
6026
6027 { echo "$as_me:$LINENO: result: $result" >&5
6028 echo "${ECHO_T}$result" >&6; }
6029
6030
6031 enablestring=
6032 defaultval=$wxUSE_ALL_FEATURES
6033 if test -z "$defaultval"; then
6034 if test x"$enablestring" = xdisable; then
6035 defaultval=yes
6036 else
6037 defaultval=no
6038 fi
6039 fi
6040
6041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6042 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6043 # Check whether --enable-ole was given.
6044 if test "${enable_ole+set}" = set; then
6045 enableval=$enable_ole;
6046 if test "$enableval" = yes; then
6047 wx_cv_use_ole='wxUSE_OLE=yes'
6048 else
6049 wx_cv_use_ole='wxUSE_OLE=no'
6050 fi
6051
6052 else
6053
6054 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6055
6056 fi
6057
6058
6059 eval "$wx_cv_use_ole"
6060
6061 if test x"$enablestring" = xdisable; then
6062 if test $wxUSE_OLE = yes; then
6063 result=no
6064 else
6065 result=yes
6066 fi
6067 else
6068 result=$wxUSE_OLE
6069 fi
6070
6071 { echo "$as_me:$LINENO: result: $result" >&5
6072 echo "${ECHO_T}$result" >&6; }
6073
6074
6075 enablestring=
6076 defaultval=$wxUSE_ALL_FEATURES
6077 if test -z "$defaultval"; then
6078 if test x"$enablestring" = xdisable; then
6079 defaultval=yes
6080 else
6081 defaultval=no
6082 fi
6083 fi
6084
6085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6086 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6087 # Check whether --enable-dataobj was given.
6088 if test "${enable_dataobj+set}" = set; then
6089 enableval=$enable_dataobj;
6090 if test "$enableval" = yes; then
6091 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6092 else
6093 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6094 fi
6095
6096 else
6097
6098 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6099
6100 fi
6101
6102
6103 eval "$wx_cv_use_dataobj"
6104
6105 if test x"$enablestring" = xdisable; then
6106 if test $wxUSE_DATAOBJ = yes; then
6107 result=no
6108 else
6109 result=yes
6110 fi
6111 else
6112 result=$wxUSE_DATAOBJ
6113 fi
6114
6115 { echo "$as_me:$LINENO: result: $result" >&5
6116 echo "${ECHO_T}$result" >&6; }
6117
6118
6119
6120 enablestring=
6121 defaultval=$wxUSE_ALL_FEATURES
6122 if test -z "$defaultval"; then
6123 if test x"$enablestring" = xdisable; then
6124 defaultval=yes
6125 else
6126 defaultval=no
6127 fi
6128 fi
6129
6130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6131 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6132 # Check whether --enable-ipc was given.
6133 if test "${enable_ipc+set}" = set; then
6134 enableval=$enable_ipc;
6135 if test "$enableval" = yes; then
6136 wx_cv_use_ipc='wxUSE_IPC=yes'
6137 else
6138 wx_cv_use_ipc='wxUSE_IPC=no'
6139 fi
6140
6141 else
6142
6143 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6144
6145 fi
6146
6147
6148 eval "$wx_cv_use_ipc"
6149
6150 if test x"$enablestring" = xdisable; then
6151 if test $wxUSE_IPC = yes; then
6152 result=no
6153 else
6154 result=yes
6155 fi
6156 else
6157 result=$wxUSE_IPC
6158 fi
6159
6160 { echo "$as_me:$LINENO: result: $result" >&5
6161 echo "${ECHO_T}$result" >&6; }
6162
6163
6164
6165 enablestring=
6166 defaultval=$wxUSE_ALL_FEATURES
6167 if test -z "$defaultval"; then
6168 if test x"$enablestring" = xdisable; then
6169 defaultval=yes
6170 else
6171 defaultval=no
6172 fi
6173 fi
6174
6175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6176 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6177 # Check whether --enable-baseevtloop was given.
6178 if test "${enable_baseevtloop+set}" = set; then
6179 enableval=$enable_baseevtloop;
6180 if test "$enableval" = yes; then
6181 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6182 else
6183 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6184 fi
6185
6186 else
6187
6188 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6189
6190 fi
6191
6192
6193 eval "$wx_cv_use_baseevtloop"
6194
6195 if test x"$enablestring" = xdisable; then
6196 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6197 result=no
6198 else
6199 result=yes
6200 fi
6201 else
6202 result=$wxUSE_CONSOLE_EVENTLOOP
6203 fi
6204
6205 { echo "$as_me:$LINENO: result: $result" >&5
6206 echo "${ECHO_T}$result" >&6; }
6207
6208
6209 enablestring=
6210 defaultval=$wxUSE_ALL_FEATURES
6211 if test -z "$defaultval"; then
6212 if test x"$enablestring" = xdisable; then
6213 defaultval=yes
6214 else
6215 defaultval=no
6216 fi
6217 fi
6218
6219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6220 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6221 # Check whether --enable-epollloop was given.
6222 if test "${enable_epollloop+set}" = set; then
6223 enableval=$enable_epollloop;
6224 if test "$enableval" = yes; then
6225 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6226 else
6227 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6228 fi
6229
6230 else
6231
6232 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6233
6234 fi
6235
6236
6237 eval "$wx_cv_use_epollloop"
6238
6239 if test x"$enablestring" = xdisable; then
6240 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6241 result=no
6242 else
6243 result=yes
6244 fi
6245 else
6246 result=$wxUSE_EPOLL_DISPATCHER
6247 fi
6248
6249 { echo "$as_me:$LINENO: result: $result" >&5
6250 echo "${ECHO_T}$result" >&6; }
6251
6252
6253 enablestring=
6254 defaultval=$wxUSE_ALL_FEATURES
6255 if test -z "$defaultval"; then
6256 if test x"$enablestring" = xdisable; then
6257 defaultval=yes
6258 else
6259 defaultval=no
6260 fi
6261 fi
6262
6263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6264 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6265 # Check whether --enable-selectloop was given.
6266 if test "${enable_selectloop+set}" = set; then
6267 enableval=$enable_selectloop;
6268 if test "$enableval" = yes; then
6269 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6270 else
6271 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6272 fi
6273
6274 else
6275
6276 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6277
6278 fi
6279
6280
6281 eval "$wx_cv_use_selectloop"
6282
6283 if test x"$enablestring" = xdisable; then
6284 if test $wxUSE_SELECT_DISPATCHER = yes; then
6285 result=no
6286 else
6287 result=yes
6288 fi
6289 else
6290 result=$wxUSE_SELECT_DISPATCHER
6291 fi
6292
6293 { echo "$as_me:$LINENO: result: $result" >&5
6294 echo "${ECHO_T}$result" >&6; }
6295
6296
6297
6298 enablestring=
6299 defaultval=$wxUSE_ALL_FEATURES
6300 if test -z "$defaultval"; then
6301 if test x"$enablestring" = xdisable; then
6302 defaultval=yes
6303 else
6304 defaultval=no
6305 fi
6306 fi
6307
6308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6309 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6310 # Check whether --enable-apple_ieee was given.
6311 if test "${enable_apple_ieee+set}" = set; then
6312 enableval=$enable_apple_ieee;
6313 if test "$enableval" = yes; then
6314 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6315 else
6316 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6317 fi
6318
6319 else
6320
6321 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6322
6323 fi
6324
6325
6326 eval "$wx_cv_use_apple_ieee"
6327
6328 if test x"$enablestring" = xdisable; then
6329 if test $wxUSE_APPLE_IEEE = yes; then
6330 result=no
6331 else
6332 result=yes
6333 fi
6334 else
6335 result=$wxUSE_APPLE_IEEE
6336 fi
6337
6338 { echo "$as_me:$LINENO: result: $result" >&5
6339 echo "${ECHO_T}$result" >&6; }
6340
6341
6342 enablestring=
6343 defaultval=$wxUSE_ALL_FEATURES
6344 if test -z "$defaultval"; then
6345 if test x"$enablestring" = xdisable; then
6346 defaultval=yes
6347 else
6348 defaultval=no
6349 fi
6350 fi
6351
6352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6353 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6354 # Check whether --enable-arcstream was given.
6355 if test "${enable_arcstream+set}" = set; then
6356 enableval=$enable_arcstream;
6357 if test "$enableval" = yes; then
6358 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6359 else
6360 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6361 fi
6362
6363 else
6364
6365 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6366
6367 fi
6368
6369
6370 eval "$wx_cv_use_arcstream"
6371
6372 if test x"$enablestring" = xdisable; then
6373 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6374 result=no
6375 else
6376 result=yes
6377 fi
6378 else
6379 result=$wxUSE_ARCHIVE_STREAMS
6380 fi
6381
6382 { echo "$as_me:$LINENO: result: $result" >&5
6383 echo "${ECHO_T}$result" >&6; }
6384
6385
6386 enablestring=
6387 defaultval=$wxUSE_ALL_FEATURES
6388 if test -z "$defaultval"; then
6389 if test x"$enablestring" = xdisable; then
6390 defaultval=yes
6391 else
6392 defaultval=no
6393 fi
6394 fi
6395
6396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6397 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6398 # Check whether --enable-base64 was given.
6399 if test "${enable_base64+set}" = set; then
6400 enableval=$enable_base64;
6401 if test "$enableval" = yes; then
6402 wx_cv_use_base64='wxUSE_BASE64=yes'
6403 else
6404 wx_cv_use_base64='wxUSE_BASE64=no'
6405 fi
6406
6407 else
6408
6409 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6410
6411 fi
6412
6413
6414 eval "$wx_cv_use_base64"
6415
6416 if test x"$enablestring" = xdisable; then
6417 if test $wxUSE_BASE64 = yes; then
6418 result=no
6419 else
6420 result=yes
6421 fi
6422 else
6423 result=$wxUSE_BASE64
6424 fi
6425
6426 { echo "$as_me:$LINENO: result: $result" >&5
6427 echo "${ECHO_T}$result" >&6; }
6428
6429
6430 enablestring=
6431 defaultval=$wxUSE_ALL_FEATURES
6432 if test -z "$defaultval"; then
6433 if test x"$enablestring" = xdisable; then
6434 defaultval=yes
6435 else
6436 defaultval=no
6437 fi
6438 fi
6439
6440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6441 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6442 # Check whether --enable-backtrace was given.
6443 if test "${enable_backtrace+set}" = set; then
6444 enableval=$enable_backtrace;
6445 if test "$enableval" = yes; then
6446 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6447 else
6448 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6449 fi
6450
6451 else
6452
6453 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6454
6455 fi
6456
6457
6458 eval "$wx_cv_use_backtrace"
6459
6460 if test x"$enablestring" = xdisable; then
6461 if test $wxUSE_STACKWALKER = yes; then
6462 result=no
6463 else
6464 result=yes
6465 fi
6466 else
6467 result=$wxUSE_STACKWALKER
6468 fi
6469
6470 { echo "$as_me:$LINENO: result: $result" >&5
6471 echo "${ECHO_T}$result" >&6; }
6472
6473
6474 enablestring=
6475 defaultval=$wxUSE_ALL_FEATURES
6476 if test -z "$defaultval"; then
6477 if test x"$enablestring" = xdisable; then
6478 defaultval=yes
6479 else
6480 defaultval=no
6481 fi
6482 fi
6483
6484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6485 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6486 # Check whether --enable-catch_segvs was given.
6487 if test "${enable_catch_segvs+set}" = set; then
6488 enableval=$enable_catch_segvs;
6489 if test "$enableval" = yes; then
6490 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6491 else
6492 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6493 fi
6494
6495 else
6496
6497 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6498
6499 fi
6500
6501
6502 eval "$wx_cv_use_catch_segvs"
6503
6504 if test x"$enablestring" = xdisable; then
6505 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6506 result=no
6507 else
6508 result=yes
6509 fi
6510 else
6511 result=$wxUSE_ON_FATAL_EXCEPTION
6512 fi
6513
6514 { echo "$as_me:$LINENO: result: $result" >&5
6515 echo "${ECHO_T}$result" >&6; }
6516
6517
6518 enablestring=
6519 defaultval=$wxUSE_ALL_FEATURES
6520 if test -z "$defaultval"; then
6521 if test x"$enablestring" = xdisable; then
6522 defaultval=yes
6523 else
6524 defaultval=no
6525 fi
6526 fi
6527
6528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6529 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6530 # Check whether --enable-cmdline was given.
6531 if test "${enable_cmdline+set}" = set; then
6532 enableval=$enable_cmdline;
6533 if test "$enableval" = yes; then
6534 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6535 else
6536 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6537 fi
6538
6539 else
6540
6541 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6542
6543 fi
6544
6545
6546 eval "$wx_cv_use_cmdline"
6547
6548 if test x"$enablestring" = xdisable; then
6549 if test $wxUSE_CMDLINE_PARSER = yes; then
6550 result=no
6551 else
6552 result=yes
6553 fi
6554 else
6555 result=$wxUSE_CMDLINE_PARSER
6556 fi
6557
6558 { echo "$as_me:$LINENO: result: $result" >&5
6559 echo "${ECHO_T}$result" >&6; }
6560
6561
6562 enablestring=
6563 defaultval=$wxUSE_ALL_FEATURES
6564 if test -z "$defaultval"; then
6565 if test x"$enablestring" = xdisable; then
6566 defaultval=yes
6567 else
6568 defaultval=no
6569 fi
6570 fi
6571
6572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6573 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6574 # Check whether --enable-datetime was given.
6575 if test "${enable_datetime+set}" = set; then
6576 enableval=$enable_datetime;
6577 if test "$enableval" = yes; then
6578 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6579 else
6580 wx_cv_use_datetime='wxUSE_DATETIME=no'
6581 fi
6582
6583 else
6584
6585 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6586
6587 fi
6588
6589
6590 eval "$wx_cv_use_datetime"
6591
6592 if test x"$enablestring" = xdisable; then
6593 if test $wxUSE_DATETIME = yes; then
6594 result=no
6595 else
6596 result=yes
6597 fi
6598 else
6599 result=$wxUSE_DATETIME
6600 fi
6601
6602 { echo "$as_me:$LINENO: result: $result" >&5
6603 echo "${ECHO_T}$result" >&6; }
6604
6605
6606 enablestring=
6607 defaultval=$wxUSE_ALL_FEATURES
6608 if test -z "$defaultval"; then
6609 if test x"$enablestring" = xdisable; then
6610 defaultval=yes
6611 else
6612 defaultval=no
6613 fi
6614 fi
6615
6616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6617 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6618 # Check whether --enable-debugreport was given.
6619 if test "${enable_debugreport+set}" = set; then
6620 enableval=$enable_debugreport;
6621 if test "$enableval" = yes; then
6622 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6623 else
6624 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6625 fi
6626
6627 else
6628
6629 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6630
6631 fi
6632
6633
6634 eval "$wx_cv_use_debugreport"
6635
6636 if test x"$enablestring" = xdisable; then
6637 if test $wxUSE_DEBUGREPORT = yes; then
6638 result=no
6639 else
6640 result=yes
6641 fi
6642 else
6643 result=$wxUSE_DEBUGREPORT
6644 fi
6645
6646 { echo "$as_me:$LINENO: result: $result" >&5
6647 echo "${ECHO_T}$result" >&6; }
6648
6649
6650 enablestring=
6651 defaultval=$wxUSE_ALL_FEATURES
6652 if test -z "$defaultval"; then
6653 if test x"$enablestring" = xdisable; then
6654 defaultval=yes
6655 else
6656 defaultval=no
6657 fi
6658 fi
6659
6660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6661 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6662 # Check whether --enable-dialupman was given.
6663 if test "${enable_dialupman+set}" = set; then
6664 enableval=$enable_dialupman;
6665 if test "$enableval" = yes; then
6666 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6667 else
6668 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6669 fi
6670
6671 else
6672
6673 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6674
6675 fi
6676
6677
6678 eval "$wx_cv_use_dialupman"
6679
6680 if test x"$enablestring" = xdisable; then
6681 if test $wxUSE_DIALUP_MANAGER = yes; then
6682 result=no
6683 else
6684 result=yes
6685 fi
6686 else
6687 result=$wxUSE_DIALUP_MANAGER
6688 fi
6689
6690 { echo "$as_me:$LINENO: result: $result" >&5
6691 echo "${ECHO_T}$result" >&6; }
6692
6693
6694 enablestring=
6695 defaultval=$wxUSE_ALL_FEATURES
6696 if test -z "$defaultval"; then
6697 if test x"$enablestring" = xdisable; then
6698 defaultval=yes
6699 else
6700 defaultval=no
6701 fi
6702 fi
6703
6704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6705 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6706 # Check whether --enable-dynlib was given.
6707 if test "${enable_dynlib+set}" = set; then
6708 enableval=$enable_dynlib;
6709 if test "$enableval" = yes; then
6710 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6711 else
6712 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6713 fi
6714
6715 else
6716
6717 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6718
6719 fi
6720
6721
6722 eval "$wx_cv_use_dynlib"
6723
6724 if test x"$enablestring" = xdisable; then
6725 if test $wxUSE_DYNLIB_CLASS = yes; then
6726 result=no
6727 else
6728 result=yes
6729 fi
6730 else
6731 result=$wxUSE_DYNLIB_CLASS
6732 fi
6733
6734 { echo "$as_me:$LINENO: result: $result" >&5
6735 echo "${ECHO_T}$result" >&6; }
6736
6737
6738 enablestring=
6739 defaultval=$wxUSE_ALL_FEATURES
6740 if test -z "$defaultval"; then
6741 if test x"$enablestring" = xdisable; then
6742 defaultval=yes
6743 else
6744 defaultval=no
6745 fi
6746 fi
6747
6748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6749 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6750 # Check whether --enable-dynamicloader was given.
6751 if test "${enable_dynamicloader+set}" = set; then
6752 enableval=$enable_dynamicloader;
6753 if test "$enableval" = yes; then
6754 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6755 else
6756 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6757 fi
6758
6759 else
6760
6761 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6762
6763 fi
6764
6765
6766 eval "$wx_cv_use_dynamicloader"
6767
6768 if test x"$enablestring" = xdisable; then
6769 if test $wxUSE_DYNAMIC_LOADER = yes; then
6770 result=no
6771 else
6772 result=yes
6773 fi
6774 else
6775 result=$wxUSE_DYNAMIC_LOADER
6776 fi
6777
6778 { echo "$as_me:$LINENO: result: $result" >&5
6779 echo "${ECHO_T}$result" >&6; }
6780
6781
6782 enablestring=
6783 defaultval=$wxUSE_ALL_FEATURES
6784 if test -z "$defaultval"; then
6785 if test x"$enablestring" = xdisable; then
6786 defaultval=yes
6787 else
6788 defaultval=no
6789 fi
6790 fi
6791
6792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6793 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6794 # Check whether --enable-exceptions was given.
6795 if test "${enable_exceptions+set}" = set; then
6796 enableval=$enable_exceptions;
6797 if test "$enableval" = yes; then
6798 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6799 else
6800 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6801 fi
6802
6803 else
6804
6805 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6806
6807 fi
6808
6809
6810 eval "$wx_cv_use_exceptions"
6811
6812 if test x"$enablestring" = xdisable; then
6813 if test $wxUSE_EXCEPTIONS = yes; then
6814 result=no
6815 else
6816 result=yes
6817 fi
6818 else
6819 result=$wxUSE_EXCEPTIONS
6820 fi
6821
6822 { echo "$as_me:$LINENO: result: $result" >&5
6823 echo "${ECHO_T}$result" >&6; }
6824
6825
6826 enablestring=
6827 defaultval=$wxUSE_ALL_FEATURES
6828 if test -z "$defaultval"; then
6829 if test x"$enablestring" = xdisable; then
6830 defaultval=yes
6831 else
6832 defaultval=no
6833 fi
6834 fi
6835
6836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6838 # Check whether --enable-ffile was given.
6839 if test "${enable_ffile+set}" = set; then
6840 enableval=$enable_ffile;
6841 if test "$enableval" = yes; then
6842 wx_cv_use_ffile='wxUSE_FFILE=yes'
6843 else
6844 wx_cv_use_ffile='wxUSE_FFILE=no'
6845 fi
6846
6847 else
6848
6849 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6850
6851 fi
6852
6853
6854 eval "$wx_cv_use_ffile"
6855
6856 if test x"$enablestring" = xdisable; then
6857 if test $wxUSE_FFILE = yes; then
6858 result=no
6859 else
6860 result=yes
6861 fi
6862 else
6863 result=$wxUSE_FFILE
6864 fi
6865
6866 { echo "$as_me:$LINENO: result: $result" >&5
6867 echo "${ECHO_T}$result" >&6; }
6868
6869
6870 enablestring=
6871 defaultval=$wxUSE_ALL_FEATURES
6872 if test -z "$defaultval"; then
6873 if test x"$enablestring" = xdisable; then
6874 defaultval=yes
6875 else
6876 defaultval=no
6877 fi
6878 fi
6879
6880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6881 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6882 # Check whether --enable-file was given.
6883 if test "${enable_file+set}" = set; then
6884 enableval=$enable_file;
6885 if test "$enableval" = yes; then
6886 wx_cv_use_file='wxUSE_FILE=yes'
6887 else
6888 wx_cv_use_file='wxUSE_FILE=no'
6889 fi
6890
6891 else
6892
6893 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6894
6895 fi
6896
6897
6898 eval "$wx_cv_use_file"
6899
6900 if test x"$enablestring" = xdisable; then
6901 if test $wxUSE_FILE = yes; then
6902 result=no
6903 else
6904 result=yes
6905 fi
6906 else
6907 result=$wxUSE_FILE
6908 fi
6909
6910 { echo "$as_me:$LINENO: result: $result" >&5
6911 echo "${ECHO_T}$result" >&6; }
6912
6913
6914 enablestring=
6915 defaultval=$wxUSE_ALL_FEATURES
6916 if test -z "$defaultval"; then
6917 if test x"$enablestring" = xdisable; then
6918 defaultval=yes
6919 else
6920 defaultval=no
6921 fi
6922 fi
6923
6924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6925 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6926 # Check whether --enable-filesystem was given.
6927 if test "${enable_filesystem+set}" = set; then
6928 enableval=$enable_filesystem;
6929 if test "$enableval" = yes; then
6930 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6931 else
6932 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6933 fi
6934
6935 else
6936
6937 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6938
6939 fi
6940
6941
6942 eval "$wx_cv_use_filesystem"
6943
6944 if test x"$enablestring" = xdisable; then
6945 if test $wxUSE_FILESYSTEM = yes; then
6946 result=no
6947 else
6948 result=yes
6949 fi
6950 else
6951 result=$wxUSE_FILESYSTEM
6952 fi
6953
6954 { echo "$as_me:$LINENO: result: $result" >&5
6955 echo "${ECHO_T}$result" >&6; }
6956
6957
6958 enablestring=
6959 defaultval=$wxUSE_ALL_FEATURES
6960 if test -z "$defaultval"; then
6961 if test x"$enablestring" = xdisable; then
6962 defaultval=yes
6963 else
6964 defaultval=no
6965 fi
6966 fi
6967
6968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6969 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6970 # Check whether --enable-fontenum was given.
6971 if test "${enable_fontenum+set}" = set; then
6972 enableval=$enable_fontenum;
6973 if test "$enableval" = yes; then
6974 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6975 else
6976 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6977 fi
6978
6979 else
6980
6981 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6982
6983 fi
6984
6985
6986 eval "$wx_cv_use_fontenum"
6987
6988 if test x"$enablestring" = xdisable; then
6989 if test $wxUSE_FONTENUM = yes; then
6990 result=no
6991 else
6992 result=yes
6993 fi
6994 else
6995 result=$wxUSE_FONTENUM
6996 fi
6997
6998 { echo "$as_me:$LINENO: result: $result" >&5
6999 echo "${ECHO_T}$result" >&6; }
7000
7001
7002 enablestring=
7003 defaultval=$wxUSE_ALL_FEATURES
7004 if test -z "$defaultval"; then
7005 if test x"$enablestring" = xdisable; then
7006 defaultval=yes
7007 else
7008 defaultval=no
7009 fi
7010 fi
7011
7012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7014 # Check whether --enable-fontmap was given.
7015 if test "${enable_fontmap+set}" = set; then
7016 enableval=$enable_fontmap;
7017 if test "$enableval" = yes; then
7018 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7019 else
7020 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7021 fi
7022
7023 else
7024
7025 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7026
7027 fi
7028
7029
7030 eval "$wx_cv_use_fontmap"
7031
7032 if test x"$enablestring" = xdisable; then
7033 if test $wxUSE_FONTMAP = yes; then
7034 result=no
7035 else
7036 result=yes
7037 fi
7038 else
7039 result=$wxUSE_FONTMAP
7040 fi
7041
7042 { echo "$as_me:$LINENO: result: $result" >&5
7043 echo "${ECHO_T}$result" >&6; }
7044
7045
7046 enablestring=
7047 defaultval=$wxUSE_ALL_FEATURES
7048 if test -z "$defaultval"; then
7049 if test x"$enablestring" = xdisable; then
7050 defaultval=yes
7051 else
7052 defaultval=no
7053 fi
7054 fi
7055
7056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7057 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7058 # Check whether --enable-fs_archive was given.
7059 if test "${enable_fs_archive+set}" = set; then
7060 enableval=$enable_fs_archive;
7061 if test "$enableval" = yes; then
7062 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7063 else
7064 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7065 fi
7066
7067 else
7068
7069 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7070
7071 fi
7072
7073
7074 eval "$wx_cv_use_fs_archive"
7075
7076 if test x"$enablestring" = xdisable; then
7077 if test $wxUSE_FS_ARCHIVE = yes; then
7078 result=no
7079 else
7080 result=yes
7081 fi
7082 else
7083 result=$wxUSE_FS_ARCHIVE
7084 fi
7085
7086 { echo "$as_me:$LINENO: result: $result" >&5
7087 echo "${ECHO_T}$result" >&6; }
7088
7089
7090 enablestring=
7091 defaultval=$wxUSE_ALL_FEATURES
7092 if test -z "$defaultval"; then
7093 if test x"$enablestring" = xdisable; then
7094 defaultval=yes
7095 else
7096 defaultval=no
7097 fi
7098 fi
7099
7100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7101 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7102 # Check whether --enable-fs_inet was given.
7103 if test "${enable_fs_inet+set}" = set; then
7104 enableval=$enable_fs_inet;
7105 if test "$enableval" = yes; then
7106 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7107 else
7108 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7109 fi
7110
7111 else
7112
7113 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7114
7115 fi
7116
7117
7118 eval "$wx_cv_use_fs_inet"
7119
7120 if test x"$enablestring" = xdisable; then
7121 if test $wxUSE_FS_INET = yes; then
7122 result=no
7123 else
7124 result=yes
7125 fi
7126 else
7127 result=$wxUSE_FS_INET
7128 fi
7129
7130 { echo "$as_me:$LINENO: result: $result" >&5
7131 echo "${ECHO_T}$result" >&6; }
7132
7133
7134 enablestring=
7135 defaultval=$wxUSE_ALL_FEATURES
7136 if test -z "$defaultval"; then
7137 if test x"$enablestring" = xdisable; then
7138 defaultval=yes
7139 else
7140 defaultval=no
7141 fi
7142 fi
7143
7144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7146 # Check whether --enable-fs_zip was given.
7147 if test "${enable_fs_zip+set}" = set; then
7148 enableval=$enable_fs_zip;
7149 if test "$enableval" = yes; then
7150 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7151 else
7152 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7153 fi
7154
7155 else
7156
7157 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7158
7159 fi
7160
7161
7162 eval "$wx_cv_use_fs_zip"
7163
7164 if test x"$enablestring" = xdisable; then
7165 if test $wxUSE_FS_ZIP = yes; then
7166 result=no
7167 else
7168 result=yes
7169 fi
7170 else
7171 result=$wxUSE_FS_ZIP
7172 fi
7173
7174 { echo "$as_me:$LINENO: result: $result" >&5
7175 echo "${ECHO_T}$result" >&6; }
7176
7177
7178 enablestring=
7179 defaultval=$wxUSE_ALL_FEATURES
7180 if test -z "$defaultval"; then
7181 if test x"$enablestring" = xdisable; then
7182 defaultval=yes
7183 else
7184 defaultval=no
7185 fi
7186 fi
7187
7188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7189 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7190 # Check whether --enable-geometry was given.
7191 if test "${enable_geometry+set}" = set; then
7192 enableval=$enable_geometry;
7193 if test "$enableval" = yes; then
7194 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7195 else
7196 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7197 fi
7198
7199 else
7200
7201 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7202
7203 fi
7204
7205
7206 eval "$wx_cv_use_geometry"
7207
7208 if test x"$enablestring" = xdisable; then
7209 if test $wxUSE_GEOMETRY = yes; then
7210 result=no
7211 else
7212 result=yes
7213 fi
7214 else
7215 result=$wxUSE_GEOMETRY
7216 fi
7217
7218 { echo "$as_me:$LINENO: result: $result" >&5
7219 echo "${ECHO_T}$result" >&6; }
7220
7221
7222 enablestring=
7223 defaultval=$wxUSE_ALL_FEATURES
7224 if test -z "$defaultval"; then
7225 if test x"$enablestring" = xdisable; then
7226 defaultval=yes
7227 else
7228 defaultval=no
7229 fi
7230 fi
7231
7232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7233 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7234 # Check whether --enable-log was given.
7235 if test "${enable_log+set}" = set; then
7236 enableval=$enable_log;
7237 if test "$enableval" = yes; then
7238 wx_cv_use_log='wxUSE_LOG=yes'
7239 else
7240 wx_cv_use_log='wxUSE_LOG=no'
7241 fi
7242
7243 else
7244
7245 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7246
7247 fi
7248
7249
7250 eval "$wx_cv_use_log"
7251
7252 if test x"$enablestring" = xdisable; then
7253 if test $wxUSE_LOG = yes; then
7254 result=no
7255 else
7256 result=yes
7257 fi
7258 else
7259 result=$wxUSE_LOG
7260 fi
7261
7262 { echo "$as_me:$LINENO: result: $result" >&5
7263 echo "${ECHO_T}$result" >&6; }
7264
7265
7266 enablestring=
7267 defaultval=$wxUSE_ALL_FEATURES
7268 if test -z "$defaultval"; then
7269 if test x"$enablestring" = xdisable; then
7270 defaultval=yes
7271 else
7272 defaultval=no
7273 fi
7274 fi
7275
7276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7277 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7278 # Check whether --enable-longlong was given.
7279 if test "${enable_longlong+set}" = set; then
7280 enableval=$enable_longlong;
7281 if test "$enableval" = yes; then
7282 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7283 else
7284 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7285 fi
7286
7287 else
7288
7289 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7290
7291 fi
7292
7293
7294 eval "$wx_cv_use_longlong"
7295
7296 if test x"$enablestring" = xdisable; then
7297 if test $wxUSE_LONGLONG = yes; then
7298 result=no
7299 else
7300 result=yes
7301 fi
7302 else
7303 result=$wxUSE_LONGLONG
7304 fi
7305
7306 { echo "$as_me:$LINENO: result: $result" >&5
7307 echo "${ECHO_T}$result" >&6; }
7308
7309
7310 enablestring=
7311 defaultval=$wxUSE_ALL_FEATURES
7312 if test -z "$defaultval"; then
7313 if test x"$enablestring" = xdisable; then
7314 defaultval=yes
7315 else
7316 defaultval=no
7317 fi
7318 fi
7319
7320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7321 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7322 # Check whether --enable-mimetype was given.
7323 if test "${enable_mimetype+set}" = set; then
7324 enableval=$enable_mimetype;
7325 if test "$enableval" = yes; then
7326 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7327 else
7328 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7329 fi
7330
7331 else
7332
7333 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7334
7335 fi
7336
7337
7338 eval "$wx_cv_use_mimetype"
7339
7340 if test x"$enablestring" = xdisable; then
7341 if test $wxUSE_MIMETYPE = yes; then
7342 result=no
7343 else
7344 result=yes
7345 fi
7346 else
7347 result=$wxUSE_MIMETYPE
7348 fi
7349
7350 { echo "$as_me:$LINENO: result: $result" >&5
7351 echo "${ECHO_T}$result" >&6; }
7352
7353
7354 enablestring=
7355 defaultval=$wxUSE_ALL_FEATURES
7356 if test -z "$defaultval"; then
7357 if test x"$enablestring" = xdisable; then
7358 defaultval=yes
7359 else
7360 defaultval=no
7361 fi
7362 fi
7363
7364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7365 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7366 # Check whether --enable-printfposparam was given.
7367 if test "${enable_printfposparam+set}" = set; then
7368 enableval=$enable_printfposparam;
7369 if test "$enableval" = yes; then
7370 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7371 else
7372 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7373 fi
7374
7375 else
7376
7377 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7378
7379 fi
7380
7381
7382 eval "$wx_cv_use_printfposparam"
7383
7384 if test x"$enablestring" = xdisable; then
7385 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7386 result=no
7387 else
7388 result=yes
7389 fi
7390 else
7391 result=$wxUSE_PRINTF_POS_PARAMS
7392 fi
7393
7394 { echo "$as_me:$LINENO: result: $result" >&5
7395 echo "${ECHO_T}$result" >&6; }
7396
7397
7398 enablestring=
7399 defaultval=$wxUSE_ALL_FEATURES
7400 if test -z "$defaultval"; then
7401 if test x"$enablestring" = xdisable; then
7402 defaultval=yes
7403 else
7404 defaultval=no
7405 fi
7406 fi
7407
7408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7409 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7410 # Check whether --enable-snglinst was given.
7411 if test "${enable_snglinst+set}" = set; then
7412 enableval=$enable_snglinst;
7413 if test "$enableval" = yes; then
7414 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7415 else
7416 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7417 fi
7418
7419 else
7420
7421 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7422
7423 fi
7424
7425
7426 eval "$wx_cv_use_snglinst"
7427
7428 if test x"$enablestring" = xdisable; then
7429 if test $wxUSE_SNGLINST_CHECKER = yes; then
7430 result=no
7431 else
7432 result=yes
7433 fi
7434 else
7435 result=$wxUSE_SNGLINST_CHECKER
7436 fi
7437
7438 { echo "$as_me:$LINENO: result: $result" >&5
7439 echo "${ECHO_T}$result" >&6; }
7440
7441
7442 enablestring=
7443 defaultval=$wxUSE_ALL_FEATURES
7444 if test -z "$defaultval"; then
7445 if test x"$enablestring" = xdisable; then
7446 defaultval=yes
7447 else
7448 defaultval=no
7449 fi
7450 fi
7451
7452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7453 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7454 # Check whether --enable-sound was given.
7455 if test "${enable_sound+set}" = set; then
7456 enableval=$enable_sound;
7457 if test "$enableval" = yes; then
7458 wx_cv_use_sound='wxUSE_SOUND=yes'
7459 else
7460 wx_cv_use_sound='wxUSE_SOUND=no'
7461 fi
7462
7463 else
7464
7465 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7466
7467 fi
7468
7469
7470 eval "$wx_cv_use_sound"
7471
7472 if test x"$enablestring" = xdisable; then
7473 if test $wxUSE_SOUND = yes; then
7474 result=no
7475 else
7476 result=yes
7477 fi
7478 else
7479 result=$wxUSE_SOUND
7480 fi
7481
7482 { echo "$as_me:$LINENO: result: $result" >&5
7483 echo "${ECHO_T}$result" >&6; }
7484
7485
7486 enablestring=
7487 defaultval=$wxUSE_ALL_FEATURES
7488 if test -z "$defaultval"; then
7489 if test x"$enablestring" = xdisable; then
7490 defaultval=yes
7491 else
7492 defaultval=no
7493 fi
7494 fi
7495
7496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7498 # Check whether --enable-stdpaths was given.
7499 if test "${enable_stdpaths+set}" = set; then
7500 enableval=$enable_stdpaths;
7501 if test "$enableval" = yes; then
7502 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7503 else
7504 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7505 fi
7506
7507 else
7508
7509 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7510
7511 fi
7512
7513
7514 eval "$wx_cv_use_stdpaths"
7515
7516 if test x"$enablestring" = xdisable; then
7517 if test $wxUSE_STDPATHS = yes; then
7518 result=no
7519 else
7520 result=yes
7521 fi
7522 else
7523 result=$wxUSE_STDPATHS
7524 fi
7525
7526 { echo "$as_me:$LINENO: result: $result" >&5
7527 echo "${ECHO_T}$result" >&6; }
7528
7529
7530 enablestring=
7531 defaultval=$wxUSE_ALL_FEATURES
7532 if test -z "$defaultval"; then
7533 if test x"$enablestring" = xdisable; then
7534 defaultval=yes
7535 else
7536 defaultval=no
7537 fi
7538 fi
7539
7540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7542 # Check whether --enable-stopwatch was given.
7543 if test "${enable_stopwatch+set}" = set; then
7544 enableval=$enable_stopwatch;
7545 if test "$enableval" = yes; then
7546 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7547 else
7548 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7549 fi
7550
7551 else
7552
7553 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7554
7555 fi
7556
7557
7558 eval "$wx_cv_use_stopwatch"
7559
7560 if test x"$enablestring" = xdisable; then
7561 if test $wxUSE_STOPWATCH = yes; then
7562 result=no
7563 else
7564 result=yes
7565 fi
7566 else
7567 result=$wxUSE_STOPWATCH
7568 fi
7569
7570 { echo "$as_me:$LINENO: result: $result" >&5
7571 echo "${ECHO_T}$result" >&6; }
7572
7573
7574 enablestring=
7575 defaultval=$wxUSE_ALL_FEATURES
7576 if test -z "$defaultval"; then
7577 if test x"$enablestring" = xdisable; then
7578 defaultval=yes
7579 else
7580 defaultval=no
7581 fi
7582 fi
7583
7584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7585 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7586 # Check whether --enable-streams was given.
7587 if test "${enable_streams+set}" = set; then
7588 enableval=$enable_streams;
7589 if test "$enableval" = yes; then
7590 wx_cv_use_streams='wxUSE_STREAMS=yes'
7591 else
7592 wx_cv_use_streams='wxUSE_STREAMS=no'
7593 fi
7594
7595 else
7596
7597 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7598
7599 fi
7600
7601
7602 eval "$wx_cv_use_streams"
7603
7604 if test x"$enablestring" = xdisable; then
7605 if test $wxUSE_STREAMS = yes; then
7606 result=no
7607 else
7608 result=yes
7609 fi
7610 else
7611 result=$wxUSE_STREAMS
7612 fi
7613
7614 { echo "$as_me:$LINENO: result: $result" >&5
7615 echo "${ECHO_T}$result" >&6; }
7616
7617
7618 enablestring=
7619 defaultval=$wxUSE_ALL_FEATURES
7620 if test -z "$defaultval"; then
7621 if test x"$enablestring" = xdisable; then
7622 defaultval=yes
7623 else
7624 defaultval=no
7625 fi
7626 fi
7627
7628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7630 # Check whether --enable-system_options was given.
7631 if test "${enable_system_options+set}" = set; then
7632 enableval=$enable_system_options;
7633 if test "$enableval" = yes; then
7634 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7635 else
7636 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7637 fi
7638
7639 else
7640
7641 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7642
7643 fi
7644
7645
7646 eval "$wx_cv_use_system_options"
7647
7648 if test x"$enablestring" = xdisable; then
7649 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7650 result=no
7651 else
7652 result=yes
7653 fi
7654 else
7655 result=$wxUSE_SYSTEM_OPTIONS
7656 fi
7657
7658 { echo "$as_me:$LINENO: result: $result" >&5
7659 echo "${ECHO_T}$result" >&6; }
7660
7661
7662 enablestring=
7663 defaultval=$wxUSE_ALL_FEATURES
7664 if test -z "$defaultval"; then
7665 if test x"$enablestring" = xdisable; then
7666 defaultval=yes
7667 else
7668 defaultval=no
7669 fi
7670 fi
7671
7672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7674 # Check whether --enable-tarstream was given.
7675 if test "${enable_tarstream+set}" = set; then
7676 enableval=$enable_tarstream;
7677 if test "$enableval" = yes; then
7678 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7679 else
7680 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7681 fi
7682
7683 else
7684
7685 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7686
7687 fi
7688
7689
7690 eval "$wx_cv_use_tarstream"
7691
7692 if test x"$enablestring" = xdisable; then
7693 if test $wxUSE_TARSTREAM = yes; then
7694 result=no
7695 else
7696 result=yes
7697 fi
7698 else
7699 result=$wxUSE_TARSTREAM
7700 fi
7701
7702 { echo "$as_me:$LINENO: result: $result" >&5
7703 echo "${ECHO_T}$result" >&6; }
7704
7705
7706 enablestring=
7707 defaultval=$wxUSE_ALL_FEATURES
7708 if test -z "$defaultval"; then
7709 if test x"$enablestring" = xdisable; then
7710 defaultval=yes
7711 else
7712 defaultval=no
7713 fi
7714 fi
7715
7716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7717 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7718 # Check whether --enable-textbuf was given.
7719 if test "${enable_textbuf+set}" = set; then
7720 enableval=$enable_textbuf;
7721 if test "$enableval" = yes; then
7722 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7723 else
7724 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7725 fi
7726
7727 else
7728
7729 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7730
7731 fi
7732
7733
7734 eval "$wx_cv_use_textbuf"
7735
7736 if test x"$enablestring" = xdisable; then
7737 if test $wxUSE_TEXTBUFFER = yes; then
7738 result=no
7739 else
7740 result=yes
7741 fi
7742 else
7743 result=$wxUSE_TEXTBUFFER
7744 fi
7745
7746 { echo "$as_me:$LINENO: result: $result" >&5
7747 echo "${ECHO_T}$result" >&6; }
7748
7749
7750 enablestring=
7751 defaultval=$wxUSE_ALL_FEATURES
7752 if test -z "$defaultval"; then
7753 if test x"$enablestring" = xdisable; then
7754 defaultval=yes
7755 else
7756 defaultval=no
7757 fi
7758 fi
7759
7760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7761 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7762 # Check whether --enable-textfile was given.
7763 if test "${enable_textfile+set}" = set; then
7764 enableval=$enable_textfile;
7765 if test "$enableval" = yes; then
7766 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7767 else
7768 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7769 fi
7770
7771 else
7772
7773 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7774
7775 fi
7776
7777
7778 eval "$wx_cv_use_textfile"
7779
7780 if test x"$enablestring" = xdisable; then
7781 if test $wxUSE_TEXTFILE = yes; then
7782 result=no
7783 else
7784 result=yes
7785 fi
7786 else
7787 result=$wxUSE_TEXTFILE
7788 fi
7789
7790 { echo "$as_me:$LINENO: result: $result" >&5
7791 echo "${ECHO_T}$result" >&6; }
7792
7793
7794 enablestring=
7795 defaultval=$wxUSE_ALL_FEATURES
7796 if test -z "$defaultval"; then
7797 if test x"$enablestring" = xdisable; then
7798 defaultval=yes
7799 else
7800 defaultval=no
7801 fi
7802 fi
7803
7804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7805 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7806 # Check whether --enable-timer was given.
7807 if test "${enable_timer+set}" = set; then
7808 enableval=$enable_timer;
7809 if test "$enableval" = yes; then
7810 wx_cv_use_timer='wxUSE_TIMER=yes'
7811 else
7812 wx_cv_use_timer='wxUSE_TIMER=no'
7813 fi
7814
7815 else
7816
7817 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7818
7819 fi
7820
7821
7822 eval "$wx_cv_use_timer"
7823
7824 if test x"$enablestring" = xdisable; then
7825 if test $wxUSE_TIMER = yes; then
7826 result=no
7827 else
7828 result=yes
7829 fi
7830 else
7831 result=$wxUSE_TIMER
7832 fi
7833
7834 { echo "$as_me:$LINENO: result: $result" >&5
7835 echo "${ECHO_T}$result" >&6; }
7836
7837
7838 enablestring=
7839 defaultval=$wxUSE_ALL_FEATURES
7840 if test -z "$defaultval"; then
7841 if test x"$enablestring" = xdisable; then
7842 defaultval=yes
7843 else
7844 defaultval=no
7845 fi
7846 fi
7847
7848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7849 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7850 # Check whether --enable-variant was given.
7851 if test "${enable_variant+set}" = set; then
7852 enableval=$enable_variant;
7853 if test "$enableval" = yes; then
7854 wx_cv_use_variant='wxUSE_VARIANT=yes'
7855 else
7856 wx_cv_use_variant='wxUSE_VARIANT=no'
7857 fi
7858
7859 else
7860
7861 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7862
7863 fi
7864
7865
7866 eval "$wx_cv_use_variant"
7867
7868 if test x"$enablestring" = xdisable; then
7869 if test $wxUSE_VARIANT = yes; then
7870 result=no
7871 else
7872 result=yes
7873 fi
7874 else
7875 result=$wxUSE_VARIANT
7876 fi
7877
7878 { echo "$as_me:$LINENO: result: $result" >&5
7879 echo "${ECHO_T}$result" >&6; }
7880
7881
7882 enablestring=
7883 defaultval=$wxUSE_ALL_FEATURES
7884 if test -z "$defaultval"; then
7885 if test x"$enablestring" = xdisable; then
7886 defaultval=yes
7887 else
7888 defaultval=no
7889 fi
7890 fi
7891
7892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7893 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7894 # Check whether --enable-zipstream was given.
7895 if test "${enable_zipstream+set}" = set; then
7896 enableval=$enable_zipstream;
7897 if test "$enableval" = yes; then
7898 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7899 else
7900 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7901 fi
7902
7903 else
7904
7905 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7906
7907 fi
7908
7909
7910 eval "$wx_cv_use_zipstream"
7911
7912 if test x"$enablestring" = xdisable; then
7913 if test $wxUSE_ZIPSTREAM = yes; then
7914 result=no
7915 else
7916 result=yes
7917 fi
7918 else
7919 result=$wxUSE_ZIPSTREAM
7920 fi
7921
7922 { echo "$as_me:$LINENO: result: $result" >&5
7923 echo "${ECHO_T}$result" >&6; }
7924
7925
7926
7927 enablestring=
7928 defaultval=$wxUSE_ALL_FEATURES
7929 if test -z "$defaultval"; then
7930 if test x"$enablestring" = xdisable; then
7931 defaultval=yes
7932 else
7933 defaultval=no
7934 fi
7935 fi
7936
7937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7938 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7939 # Check whether --enable-url was given.
7940 if test "${enable_url+set}" = set; then
7941 enableval=$enable_url;
7942 if test "$enableval" = yes; then
7943 wx_cv_use_url='wxUSE_URL=yes'
7944 else
7945 wx_cv_use_url='wxUSE_URL=no'
7946 fi
7947
7948 else
7949
7950 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7951
7952 fi
7953
7954
7955 eval "$wx_cv_use_url"
7956
7957 if test x"$enablestring" = xdisable; then
7958 if test $wxUSE_URL = yes; then
7959 result=no
7960 else
7961 result=yes
7962 fi
7963 else
7964 result=$wxUSE_URL
7965 fi
7966
7967 { echo "$as_me:$LINENO: result: $result" >&5
7968 echo "${ECHO_T}$result" >&6; }
7969
7970
7971 enablestring=
7972 defaultval=$wxUSE_ALL_FEATURES
7973 if test -z "$defaultval"; then
7974 if test x"$enablestring" = xdisable; then
7975 defaultval=yes
7976 else
7977 defaultval=no
7978 fi
7979 fi
7980
7981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7982 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7983 # Check whether --enable-protocol was given.
7984 if test "${enable_protocol+set}" = set; then
7985 enableval=$enable_protocol;
7986 if test "$enableval" = yes; then
7987 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7988 else
7989 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7990 fi
7991
7992 else
7993
7994 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7995
7996 fi
7997
7998
7999 eval "$wx_cv_use_protocol"
8000
8001 if test x"$enablestring" = xdisable; then
8002 if test $wxUSE_PROTOCOL = yes; then
8003 result=no
8004 else
8005 result=yes
8006 fi
8007 else
8008 result=$wxUSE_PROTOCOL
8009 fi
8010
8011 { echo "$as_me:$LINENO: result: $result" >&5
8012 echo "${ECHO_T}$result" >&6; }
8013
8014
8015 enablestring=
8016 defaultval=$wxUSE_ALL_FEATURES
8017 if test -z "$defaultval"; then
8018 if test x"$enablestring" = xdisable; then
8019 defaultval=yes
8020 else
8021 defaultval=no
8022 fi
8023 fi
8024
8025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8026 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8027 # Check whether --enable-protocol_http was given.
8028 if test "${enable_protocol_http+set}" = set; then
8029 enableval=$enable_protocol_http;
8030 if test "$enableval" = yes; then
8031 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8032 else
8033 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8034 fi
8035
8036 else
8037
8038 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8039
8040 fi
8041
8042
8043 eval "$wx_cv_use_protocol_http"
8044
8045 if test x"$enablestring" = xdisable; then
8046 if test $wxUSE_PROTOCOL_HTTP = yes; then
8047 result=no
8048 else
8049 result=yes
8050 fi
8051 else
8052 result=$wxUSE_PROTOCOL_HTTP
8053 fi
8054
8055 { echo "$as_me:$LINENO: result: $result" >&5
8056 echo "${ECHO_T}$result" >&6; }
8057
8058
8059 enablestring=
8060 defaultval=$wxUSE_ALL_FEATURES
8061 if test -z "$defaultval"; then
8062 if test x"$enablestring" = xdisable; then
8063 defaultval=yes
8064 else
8065 defaultval=no
8066 fi
8067 fi
8068
8069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8070 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8071 # Check whether --enable-protocol_ftp was given.
8072 if test "${enable_protocol_ftp+set}" = set; then
8073 enableval=$enable_protocol_ftp;
8074 if test "$enableval" = yes; then
8075 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8076 else
8077 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8078 fi
8079
8080 else
8081
8082 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8083
8084 fi
8085
8086
8087 eval "$wx_cv_use_protocol_ftp"
8088
8089 if test x"$enablestring" = xdisable; then
8090 if test $wxUSE_PROTOCOL_FTP = yes; then
8091 result=no
8092 else
8093 result=yes
8094 fi
8095 else
8096 result=$wxUSE_PROTOCOL_FTP
8097 fi
8098
8099 { echo "$as_me:$LINENO: result: $result" >&5
8100 echo "${ECHO_T}$result" >&6; }
8101
8102
8103 enablestring=
8104 defaultval=$wxUSE_ALL_FEATURES
8105 if test -z "$defaultval"; then
8106 if test x"$enablestring" = xdisable; then
8107 defaultval=yes
8108 else
8109 defaultval=no
8110 fi
8111 fi
8112
8113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8114 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8115 # Check whether --enable-protocol_file was given.
8116 if test "${enable_protocol_file+set}" = set; then
8117 enableval=$enable_protocol_file;
8118 if test "$enableval" = yes; then
8119 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8120 else
8121 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8122 fi
8123
8124 else
8125
8126 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8127
8128 fi
8129
8130
8131 eval "$wx_cv_use_protocol_file"
8132
8133 if test x"$enablestring" = xdisable; then
8134 if test $wxUSE_PROTOCOL_FILE = yes; then
8135 result=no
8136 else
8137 result=yes
8138 fi
8139 else
8140 result=$wxUSE_PROTOCOL_FILE
8141 fi
8142
8143 { echo "$as_me:$LINENO: result: $result" >&5
8144 echo "${ECHO_T}$result" >&6; }
8145
8146
8147
8148 enablestring=
8149 defaultval=$wxUSE_ALL_FEATURES
8150 if test -z "$defaultval"; then
8151 if test x"$enablestring" = xdisable; then
8152 defaultval=yes
8153 else
8154 defaultval=no
8155 fi
8156 fi
8157
8158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8160 # Check whether --enable-threads was given.
8161 if test "${enable_threads+set}" = set; then
8162 enableval=$enable_threads;
8163 if test "$enableval" = yes; then
8164 wx_cv_use_threads='wxUSE_THREADS=yes'
8165 else
8166 wx_cv_use_threads='wxUSE_THREADS=no'
8167 fi
8168
8169 else
8170
8171 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8172
8173 fi
8174
8175
8176 eval "$wx_cv_use_threads"
8177
8178 if test x"$enablestring" = xdisable; then
8179 if test $wxUSE_THREADS = yes; then
8180 result=no
8181 else
8182 result=yes
8183 fi
8184 else
8185 result=$wxUSE_THREADS
8186 fi
8187
8188 { echo "$as_me:$LINENO: result: $result" >&5
8189 echo "${ECHO_T}$result" >&6; }
8190
8191
8192
8193 enablestring=
8194 defaultval=
8195 if test -z "$defaultval"; then
8196 if test x"$enablestring" = xdisable; then
8197 defaultval=yes
8198 else
8199 defaultval=no
8200 fi
8201 fi
8202
8203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8204 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8205 # Check whether --enable-iniconf was given.
8206 if test "${enable_iniconf+set}" = set; then
8207 enableval=$enable_iniconf;
8208 if test "$enableval" = yes; then
8209 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8210 else
8211 wx_cv_use_iniconf='wxUSE_INICONF=no'
8212 fi
8213
8214 else
8215
8216 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8217
8218 fi
8219
8220
8221 eval "$wx_cv_use_iniconf"
8222
8223 if test x"$enablestring" = xdisable; then
8224 if test $wxUSE_INICONF = yes; then
8225 result=no
8226 else
8227 result=yes
8228 fi
8229 else
8230 result=$wxUSE_INICONF
8231 fi
8232
8233 { echo "$as_me:$LINENO: result: $result" >&5
8234 echo "${ECHO_T}$result" >&6; }
8235
8236
8237 enablestring=
8238 defaultval=$wxUSE_ALL_FEATURES
8239 if test -z "$defaultval"; then
8240 if test x"$enablestring" = xdisable; then
8241 defaultval=yes
8242 else
8243 defaultval=no
8244 fi
8245 fi
8246
8247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8248 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8249 # Check whether --enable-regkey was given.
8250 if test "${enable_regkey+set}" = set; then
8251 enableval=$enable_regkey;
8252 if test "$enableval" = yes; then
8253 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8254 else
8255 wx_cv_use_regkey='wxUSE_REGKEY=no'
8256 fi
8257
8258 else
8259
8260 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8261
8262 fi
8263
8264
8265 eval "$wx_cv_use_regkey"
8266
8267 if test x"$enablestring" = xdisable; then
8268 if test $wxUSE_REGKEY = yes; then
8269 result=no
8270 else
8271 result=yes
8272 fi
8273 else
8274 result=$wxUSE_REGKEY
8275 fi
8276
8277 { echo "$as_me:$LINENO: result: $result" >&5
8278 echo "${ECHO_T}$result" >&6; }
8279
8280
8281 if test "$wxUSE_GUI" = "yes"; then
8282
8283
8284
8285 enablestring=
8286 defaultval=$wxUSE_ALL_FEATURES
8287 if test -z "$defaultval"; then
8288 if test x"$enablestring" = xdisable; then
8289 defaultval=yes
8290 else
8291 defaultval=no
8292 fi
8293 fi
8294
8295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8296 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8297 # Check whether --enable-docview was given.
8298 if test "${enable_docview+set}" = set; then
8299 enableval=$enable_docview;
8300 if test "$enableval" = yes; then
8301 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8302 else
8303 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8304 fi
8305
8306 else
8307
8308 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8309
8310 fi
8311
8312
8313 eval "$wx_cv_use_docview"
8314
8315 if test x"$enablestring" = xdisable; then
8316 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8317 result=no
8318 else
8319 result=yes
8320 fi
8321 else
8322 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8323 fi
8324
8325 { echo "$as_me:$LINENO: result: $result" >&5
8326 echo "${ECHO_T}$result" >&6; }
8327
8328
8329 enablestring=
8330 defaultval=$wxUSE_ALL_FEATURES
8331 if test -z "$defaultval"; then
8332 if test x"$enablestring" = xdisable; then
8333 defaultval=yes
8334 else
8335 defaultval=no
8336 fi
8337 fi
8338
8339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8340 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8341 # Check whether --enable-help was given.
8342 if test "${enable_help+set}" = set; then
8343 enableval=$enable_help;
8344 if test "$enableval" = yes; then
8345 wx_cv_use_help='wxUSE_HELP=yes'
8346 else
8347 wx_cv_use_help='wxUSE_HELP=no'
8348 fi
8349
8350 else
8351
8352 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8353
8354 fi
8355
8356
8357 eval "$wx_cv_use_help"
8358
8359 if test x"$enablestring" = xdisable; then
8360 if test $wxUSE_HELP = yes; then
8361 result=no
8362 else
8363 result=yes
8364 fi
8365 else
8366 result=$wxUSE_HELP
8367 fi
8368
8369 { echo "$as_me:$LINENO: result: $result" >&5
8370 echo "${ECHO_T}$result" >&6; }
8371
8372
8373 enablestring=
8374 defaultval=$wxUSE_ALL_FEATURES
8375 if test -z "$defaultval"; then
8376 if test x"$enablestring" = xdisable; then
8377 defaultval=yes
8378 else
8379 defaultval=no
8380 fi
8381 fi
8382
8383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8384 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8385 # Check whether --enable-mshtmlhelp was given.
8386 if test "${enable_mshtmlhelp+set}" = set; then
8387 enableval=$enable_mshtmlhelp;
8388 if test "$enableval" = yes; then
8389 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8390 else
8391 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8392 fi
8393
8394 else
8395
8396 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8397
8398 fi
8399
8400
8401 eval "$wx_cv_use_mshtmlhelp"
8402
8403 if test x"$enablestring" = xdisable; then
8404 if test $wxUSE_MS_HTML_HELP = yes; then
8405 result=no
8406 else
8407 result=yes
8408 fi
8409 else
8410 result=$wxUSE_MS_HTML_HELP
8411 fi
8412
8413 { echo "$as_me:$LINENO: result: $result" >&5
8414 echo "${ECHO_T}$result" >&6; }
8415
8416
8417 enablestring=
8418 defaultval=$wxUSE_ALL_FEATURES
8419 if test -z "$defaultval"; then
8420 if test x"$enablestring" = xdisable; then
8421 defaultval=yes
8422 else
8423 defaultval=no
8424 fi
8425 fi
8426
8427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8429 # Check whether --enable-html was given.
8430 if test "${enable_html+set}" = set; then
8431 enableval=$enable_html;
8432 if test "$enableval" = yes; then
8433 wx_cv_use_html='wxUSE_HTML=yes'
8434 else
8435 wx_cv_use_html='wxUSE_HTML=no'
8436 fi
8437
8438 else
8439
8440 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8441
8442 fi
8443
8444
8445 eval "$wx_cv_use_html"
8446
8447 if test x"$enablestring" = xdisable; then
8448 if test $wxUSE_HTML = yes; then
8449 result=no
8450 else
8451 result=yes
8452 fi
8453 else
8454 result=$wxUSE_HTML
8455 fi
8456
8457 { echo "$as_me:$LINENO: result: $result" >&5
8458 echo "${ECHO_T}$result" >&6; }
8459
8460
8461 enablestring=
8462 defaultval=$wxUSE_ALL_FEATURES
8463 if test -z "$defaultval"; then
8464 if test x"$enablestring" = xdisable; then
8465 defaultval=yes
8466 else
8467 defaultval=no
8468 fi
8469 fi
8470
8471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8472 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8473 # Check whether --enable-htmlhelp was given.
8474 if test "${enable_htmlhelp+set}" = set; then
8475 enableval=$enable_htmlhelp;
8476 if test "$enableval" = yes; then
8477 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8478 else
8479 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8480 fi
8481
8482 else
8483
8484 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8485
8486 fi
8487
8488
8489 eval "$wx_cv_use_htmlhelp"
8490
8491 if test x"$enablestring" = xdisable; then
8492 if test $wxUSE_WXHTML_HELP = yes; then
8493 result=no
8494 else
8495 result=yes
8496 fi
8497 else
8498 result=$wxUSE_WXHTML_HELP
8499 fi
8500
8501 { echo "$as_me:$LINENO: result: $result" >&5
8502 echo "${ECHO_T}$result" >&6; }
8503
8504
8505 enablestring=
8506 defaultval=$wxUSE_ALL_FEATURES
8507 if test -z "$defaultval"; then
8508 if test x"$enablestring" = xdisable; then
8509 defaultval=yes
8510 else
8511 defaultval=no
8512 fi
8513 fi
8514
8515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8516 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8517 # Check whether --enable-xrc was given.
8518 if test "${enable_xrc+set}" = set; then
8519 enableval=$enable_xrc;
8520 if test "$enableval" = yes; then
8521 wx_cv_use_xrc='wxUSE_XRC=yes'
8522 else
8523 wx_cv_use_xrc='wxUSE_XRC=no'
8524 fi
8525
8526 else
8527
8528 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8529
8530 fi
8531
8532
8533 eval "$wx_cv_use_xrc"
8534
8535 if test x"$enablestring" = xdisable; then
8536 if test $wxUSE_XRC = yes; then
8537 result=no
8538 else
8539 result=yes
8540 fi
8541 else
8542 result=$wxUSE_XRC
8543 fi
8544
8545 { echo "$as_me:$LINENO: result: $result" >&5
8546 echo "${ECHO_T}$result" >&6; }
8547
8548
8549 enablestring=
8550 defaultval=$wxUSE_ALL_FEATURES
8551 if test -z "$defaultval"; then
8552 if test x"$enablestring" = xdisable; then
8553 defaultval=yes
8554 else
8555 defaultval=no
8556 fi
8557 fi
8558
8559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8560 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8561 # Check whether --enable-aui was given.
8562 if test "${enable_aui+set}" = set; then
8563 enableval=$enable_aui;
8564 if test "$enableval" = yes; then
8565 wx_cv_use_aui='wxUSE_AUI=yes'
8566 else
8567 wx_cv_use_aui='wxUSE_AUI=no'
8568 fi
8569
8570 else
8571
8572 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8573
8574 fi
8575
8576
8577 eval "$wx_cv_use_aui"
8578
8579 if test x"$enablestring" = xdisable; then
8580 if test $wxUSE_AUI = yes; then
8581 result=no
8582 else
8583 result=yes
8584 fi
8585 else
8586 result=$wxUSE_AUI
8587 fi
8588
8589 { echo "$as_me:$LINENO: result: $result" >&5
8590 echo "${ECHO_T}$result" >&6; }
8591
8592
8593 enablestring=
8594 defaultval=$wxUSE_ALL_FEATURES
8595 if test -z "$defaultval"; then
8596 if test x"$enablestring" = xdisable; then
8597 defaultval=yes
8598 else
8599 defaultval=no
8600 fi
8601 fi
8602
8603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8604 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8605 # Check whether --enable-propgrid was given.
8606 if test "${enable_propgrid+set}" = set; then
8607 enableval=$enable_propgrid;
8608 if test "$enableval" = yes; then
8609 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8610 else
8611 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8612 fi
8613
8614 else
8615
8616 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8617
8618 fi
8619
8620
8621 eval "$wx_cv_use_propgrid"
8622
8623 if test x"$enablestring" = xdisable; then
8624 if test $wxUSE_PROPGRID = yes; then
8625 result=no
8626 else
8627 result=yes
8628 fi
8629 else
8630 result=$wxUSE_PROPGRID
8631 fi
8632
8633 { echo "$as_me:$LINENO: result: $result" >&5
8634 echo "${ECHO_T}$result" >&6; }
8635
8636
8637 enablestring=
8638 defaultval=$wxUSE_ALL_FEATURES
8639 if test -z "$defaultval"; then
8640 if test x"$enablestring" = xdisable; then
8641 defaultval=yes
8642 else
8643 defaultval=no
8644 fi
8645 fi
8646
8647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8648 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8649 # Check whether --enable-stc was given.
8650 if test "${enable_stc+set}" = set; then
8651 enableval=$enable_stc;
8652 if test "$enableval" = yes; then
8653 wx_cv_use_stc='wxUSE_STC=yes'
8654 else
8655 wx_cv_use_stc='wxUSE_STC=no'
8656 fi
8657
8658 else
8659
8660 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8661
8662 fi
8663
8664
8665 eval "$wx_cv_use_stc"
8666
8667 if test x"$enablestring" = xdisable; then
8668 if test $wxUSE_STC = yes; then
8669 result=no
8670 else
8671 result=yes
8672 fi
8673 else
8674 result=$wxUSE_STC
8675 fi
8676
8677 { echo "$as_me:$LINENO: result: $result" >&5
8678 echo "${ECHO_T}$result" >&6; }
8679
8680
8681 enablestring=
8682 defaultval=$wxUSE_ALL_FEATURES
8683 if test -z "$defaultval"; then
8684 if test x"$enablestring" = xdisable; then
8685 defaultval=yes
8686 else
8687 defaultval=no
8688 fi
8689 fi
8690
8691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8693 # Check whether --enable-constraints was given.
8694 if test "${enable_constraints+set}" = set; then
8695 enableval=$enable_constraints;
8696 if test "$enableval" = yes; then
8697 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8698 else
8699 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8700 fi
8701
8702 else
8703
8704 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8705
8706 fi
8707
8708
8709 eval "$wx_cv_use_constraints"
8710
8711 if test x"$enablestring" = xdisable; then
8712 if test $wxUSE_CONSTRAINTS = yes; then
8713 result=no
8714 else
8715 result=yes
8716 fi
8717 else
8718 result=$wxUSE_CONSTRAINTS
8719 fi
8720
8721 { echo "$as_me:$LINENO: result: $result" >&5
8722 echo "${ECHO_T}$result" >&6; }
8723
8724
8725 enablestring=
8726 defaultval=$wxUSE_ALL_FEATURES
8727 if test -z "$defaultval"; then
8728 if test x"$enablestring" = xdisable; then
8729 defaultval=yes
8730 else
8731 defaultval=no
8732 fi
8733 fi
8734
8735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8736 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8737 # Check whether --enable-loggui was given.
8738 if test "${enable_loggui+set}" = set; then
8739 enableval=$enable_loggui;
8740 if test "$enableval" = yes; then
8741 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8742 else
8743 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8744 fi
8745
8746 else
8747
8748 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8749
8750 fi
8751
8752
8753 eval "$wx_cv_use_loggui"
8754
8755 if test x"$enablestring" = xdisable; then
8756 if test $wxUSE_LOGGUI = yes; then
8757 result=no
8758 else
8759 result=yes
8760 fi
8761 else
8762 result=$wxUSE_LOGGUI
8763 fi
8764
8765 { echo "$as_me:$LINENO: result: $result" >&5
8766 echo "${ECHO_T}$result" >&6; }
8767
8768
8769 enablestring=
8770 defaultval=$wxUSE_ALL_FEATURES
8771 if test -z "$defaultval"; then
8772 if test x"$enablestring" = xdisable; then
8773 defaultval=yes
8774 else
8775 defaultval=no
8776 fi
8777 fi
8778
8779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8781 # Check whether --enable-logwin was given.
8782 if test "${enable_logwin+set}" = set; then
8783 enableval=$enable_logwin;
8784 if test "$enableval" = yes; then
8785 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8786 else
8787 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8788 fi
8789
8790 else
8791
8792 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8793
8794 fi
8795
8796
8797 eval "$wx_cv_use_logwin"
8798
8799 if test x"$enablestring" = xdisable; then
8800 if test $wxUSE_LOGWINDOW = yes; then
8801 result=no
8802 else
8803 result=yes
8804 fi
8805 else
8806 result=$wxUSE_LOGWINDOW
8807 fi
8808
8809 { echo "$as_me:$LINENO: result: $result" >&5
8810 echo "${ECHO_T}$result" >&6; }
8811
8812
8813 enablestring=
8814 defaultval=$wxUSE_ALL_FEATURES
8815 if test -z "$defaultval"; then
8816 if test x"$enablestring" = xdisable; then
8817 defaultval=yes
8818 else
8819 defaultval=no
8820 fi
8821 fi
8822
8823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8824 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8825 # Check whether --enable-logdialog was given.
8826 if test "${enable_logdialog+set}" = set; then
8827 enableval=$enable_logdialog;
8828 if test "$enableval" = yes; then
8829 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8830 else
8831 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8832 fi
8833
8834 else
8835
8836 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8837
8838 fi
8839
8840
8841 eval "$wx_cv_use_logdialog"
8842
8843 if test x"$enablestring" = xdisable; then
8844 if test $wxUSE_LOGDIALOG = yes; then
8845 result=no
8846 else
8847 result=yes
8848 fi
8849 else
8850 result=$wxUSE_LOGDIALOG
8851 fi
8852
8853 { echo "$as_me:$LINENO: result: $result" >&5
8854 echo "${ECHO_T}$result" >&6; }
8855
8856
8857 enablestring=
8858 defaultval=$wxUSE_ALL_FEATURES
8859 if test -z "$defaultval"; then
8860 if test x"$enablestring" = xdisable; then
8861 defaultval=yes
8862 else
8863 defaultval=no
8864 fi
8865 fi
8866
8867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8868 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8869 # Check whether --enable-mdi was given.
8870 if test "${enable_mdi+set}" = set; then
8871 enableval=$enable_mdi;
8872 if test "$enableval" = yes; then
8873 wx_cv_use_mdi='wxUSE_MDI=yes'
8874 else
8875 wx_cv_use_mdi='wxUSE_MDI=no'
8876 fi
8877
8878 else
8879
8880 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8881
8882 fi
8883
8884
8885 eval "$wx_cv_use_mdi"
8886
8887 if test x"$enablestring" = xdisable; then
8888 if test $wxUSE_MDI = yes; then
8889 result=no
8890 else
8891 result=yes
8892 fi
8893 else
8894 result=$wxUSE_MDI
8895 fi
8896
8897 { echo "$as_me:$LINENO: result: $result" >&5
8898 echo "${ECHO_T}$result" >&6; }
8899
8900
8901 enablestring=
8902 defaultval=$wxUSE_ALL_FEATURES
8903 if test -z "$defaultval"; then
8904 if test x"$enablestring" = xdisable; then
8905 defaultval=yes
8906 else
8907 defaultval=no
8908 fi
8909 fi
8910
8911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8912 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8913 # Check whether --enable-mdidoc was given.
8914 if test "${enable_mdidoc+set}" = set; then
8915 enableval=$enable_mdidoc;
8916 if test "$enableval" = yes; then
8917 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8918 else
8919 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8920 fi
8921
8922 else
8923
8924 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8925
8926 fi
8927
8928
8929 eval "$wx_cv_use_mdidoc"
8930
8931 if test x"$enablestring" = xdisable; then
8932 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8933 result=no
8934 else
8935 result=yes
8936 fi
8937 else
8938 result=$wxUSE_MDI_ARCHITECTURE
8939 fi
8940
8941 { echo "$as_me:$LINENO: result: $result" >&5
8942 echo "${ECHO_T}$result" >&6; }
8943
8944
8945 enablestring=
8946 defaultval=$wxUSE_ALL_FEATURES
8947 if test -z "$defaultval"; then
8948 if test x"$enablestring" = xdisable; then
8949 defaultval=yes
8950 else
8951 defaultval=no
8952 fi
8953 fi
8954
8955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8956 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8957 # Check whether --enable-mediactrl was given.
8958 if test "${enable_mediactrl+set}" = set; then
8959 enableval=$enable_mediactrl;
8960 if test "$enableval" = yes; then
8961 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8962 else
8963 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8964 fi
8965
8966 else
8967
8968 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8969
8970 fi
8971
8972
8973 eval "$wx_cv_use_mediactrl"
8974
8975 if test x"$enablestring" = xdisable; then
8976 if test $wxUSE_MEDIACTRL = yes; then
8977 result=no
8978 else
8979 result=yes
8980 fi
8981 else
8982 result=$wxUSE_MEDIACTRL
8983 fi
8984
8985 { echo "$as_me:$LINENO: result: $result" >&5
8986 echo "${ECHO_T}$result" >&6; }
8987
8988
8989 enablestring=
8990 defaultval=$wxUSE_ALL_FEATURES
8991 if test -z "$defaultval"; then
8992 if test x"$enablestring" = xdisable; then
8993 defaultval=yes
8994 else
8995 defaultval=no
8996 fi
8997 fi
8998
8999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9000 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9001 # Check whether --enable-gstreamer8 was given.
9002 if test "${enable_gstreamer8+set}" = set; then
9003 enableval=$enable_gstreamer8;
9004 if test "$enableval" = yes; then
9005 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9006 else
9007 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9008 fi
9009
9010 else
9011
9012 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9013
9014 fi
9015
9016
9017 eval "$wx_cv_use_gstreamer8"
9018
9019 if test x"$enablestring" = xdisable; then
9020 if test $wxUSE_GSTREAMER8 = yes; then
9021 result=no
9022 else
9023 result=yes
9024 fi
9025 else
9026 result=$wxUSE_GSTREAMER8
9027 fi
9028
9029 { echo "$as_me:$LINENO: result: $result" >&5
9030 echo "${ECHO_T}$result" >&6; }
9031
9032
9033 enablestring=
9034 defaultval=$wxUSE_ALL_FEATURES
9035 if test -z "$defaultval"; then
9036 if test x"$enablestring" = xdisable; then
9037 defaultval=yes
9038 else
9039 defaultval=no
9040 fi
9041 fi
9042
9043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9044 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9045 # Check whether --enable-webkit was given.
9046 if test "${enable_webkit+set}" = set; then
9047 enableval=$enable_webkit;
9048 if test "$enableval" = yes; then
9049 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9050 else
9051 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9052 fi
9053
9054 else
9055
9056 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9057
9058 fi
9059
9060
9061 eval "$wx_cv_use_webkit"
9062
9063 if test x"$enablestring" = xdisable; then
9064 if test $wxUSE_WEBKIT = yes; then
9065 result=no
9066 else
9067 result=yes
9068 fi
9069 else
9070 result=$wxUSE_WEBKIT
9071 fi
9072
9073 { echo "$as_me:$LINENO: result: $result" >&5
9074 echo "${ECHO_T}$result" >&6; }
9075
9076
9077 enablestring=
9078 defaultval=$wxUSE_ALL_FEATURES
9079 if test -z "$defaultval"; then
9080 if test x"$enablestring" = xdisable; then
9081 defaultval=yes
9082 else
9083 defaultval=no
9084 fi
9085 fi
9086
9087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9088 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9089 # Check whether --enable-richtext was given.
9090 if test "${enable_richtext+set}" = set; then
9091 enableval=$enable_richtext;
9092 if test "$enableval" = yes; then
9093 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9094 else
9095 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9096 fi
9097
9098 else
9099
9100 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9101
9102 fi
9103
9104
9105 eval "$wx_cv_use_richtext"
9106
9107 if test x"$enablestring" = xdisable; then
9108 if test $wxUSE_RICHTEXT = yes; then
9109 result=no
9110 else
9111 result=yes
9112 fi
9113 else
9114 result=$wxUSE_RICHTEXT
9115 fi
9116
9117 { echo "$as_me:$LINENO: result: $result" >&5
9118 echo "${ECHO_T}$result" >&6; }
9119
9120
9121 enablestring=
9122 defaultval=$wxUSE_ALL_FEATURES
9123 if test -z "$defaultval"; then
9124 if test x"$enablestring" = xdisable; then
9125 defaultval=yes
9126 else
9127 defaultval=no
9128 fi
9129 fi
9130
9131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9132 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9133 # Check whether --enable-graphics_ctx was given.
9134 if test "${enable_graphics_ctx+set}" = set; then
9135 enableval=$enable_graphics_ctx;
9136 if test "$enableval" = yes; then
9137 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9138 else
9139 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9140 fi
9141
9142 else
9143
9144 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9145
9146 fi
9147
9148
9149 eval "$wx_cv_use_graphics_ctx"
9150
9151 if test x"$enablestring" = xdisable; then
9152 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9153 result=no
9154 else
9155 result=yes
9156 fi
9157 else
9158 result=$wxUSE_GRAPHICS_CONTEXT
9159 fi
9160
9161 { echo "$as_me:$LINENO: result: $result" >&5
9162 echo "${ECHO_T}$result" >&6; }
9163
9164
9165 enablestring=
9166 defaultval=$wxUSE_ALL_FEATURES
9167 if test -z "$defaultval"; then
9168 if test x"$enablestring" = xdisable; then
9169 defaultval=yes
9170 else
9171 defaultval=no
9172 fi
9173 fi
9174
9175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9176 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9177 # Check whether --enable-postscript was given.
9178 if test "${enable_postscript+set}" = set; then
9179 enableval=$enable_postscript;
9180 if test "$enableval" = yes; then
9181 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9182 else
9183 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9184 fi
9185
9186 else
9187
9188 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9189
9190 fi
9191
9192
9193 eval "$wx_cv_use_postscript"
9194
9195 if test x"$enablestring" = xdisable; then
9196 if test $wxUSE_POSTSCRIPT = yes; then
9197 result=no
9198 else
9199 result=yes
9200 fi
9201 else
9202 result=$wxUSE_POSTSCRIPT
9203 fi
9204
9205 { echo "$as_me:$LINENO: result: $result" >&5
9206 echo "${ECHO_T}$result" >&6; }
9207
9208
9209 enablestring=
9210 defaultval=$wxUSE_ALL_FEATURES
9211 if test -z "$defaultval"; then
9212 if test x"$enablestring" = xdisable; then
9213 defaultval=yes
9214 else
9215 defaultval=no
9216 fi
9217 fi
9218
9219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9221 # Check whether --enable-printarch was given.
9222 if test "${enable_printarch+set}" = set; then
9223 enableval=$enable_printarch;
9224 if test "$enableval" = yes; then
9225 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9226 else
9227 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9228 fi
9229
9230 else
9231
9232 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9233
9234 fi
9235
9236
9237 eval "$wx_cv_use_printarch"
9238
9239 if test x"$enablestring" = xdisable; then
9240 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9241 result=no
9242 else
9243 result=yes
9244 fi
9245 else
9246 result=$wxUSE_PRINTING_ARCHITECTURE
9247 fi
9248
9249 { echo "$as_me:$LINENO: result: $result" >&5
9250 echo "${ECHO_T}$result" >&6; }
9251
9252
9253 enablestring=
9254 defaultval=$wxUSE_ALL_FEATURES
9255 if test -z "$defaultval"; then
9256 if test x"$enablestring" = xdisable; then
9257 defaultval=yes
9258 else
9259 defaultval=no
9260 fi
9261 fi
9262
9263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9264 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9265 # Check whether --enable-svg was given.
9266 if test "${enable_svg+set}" = set; then
9267 enableval=$enable_svg;
9268 if test "$enableval" = yes; then
9269 wx_cv_use_svg='wxUSE_SVG=yes'
9270 else
9271 wx_cv_use_svg='wxUSE_SVG=no'
9272 fi
9273
9274 else
9275
9276 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9277
9278 fi
9279
9280
9281 eval "$wx_cv_use_svg"
9282
9283 if test x"$enablestring" = xdisable; then
9284 if test $wxUSE_SVG = yes; then
9285 result=no
9286 else
9287 result=yes
9288 fi
9289 else
9290 result=$wxUSE_SVG
9291 fi
9292
9293 { echo "$as_me:$LINENO: result: $result" >&5
9294 echo "${ECHO_T}$result" >&6; }
9295
9296
9297
9298
9299 enablestring=
9300 defaultval=$wxUSE_ALL_FEATURES
9301 if test -z "$defaultval"; then
9302 if test x"$enablestring" = xdisable; then
9303 defaultval=yes
9304 else
9305 defaultval=no
9306 fi
9307 fi
9308
9309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9310 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9311 # Check whether --enable-clipboard was given.
9312 if test "${enable_clipboard+set}" = set; then
9313 enableval=$enable_clipboard;
9314 if test "$enableval" = yes; then
9315 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9316 else
9317 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9318 fi
9319
9320 else
9321
9322 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9323
9324 fi
9325
9326
9327 eval "$wx_cv_use_clipboard"
9328
9329 if test x"$enablestring" = xdisable; then
9330 if test $wxUSE_CLIPBOARD = yes; then
9331 result=no
9332 else
9333 result=yes
9334 fi
9335 else
9336 result=$wxUSE_CLIPBOARD
9337 fi
9338
9339 { echo "$as_me:$LINENO: result: $result" >&5
9340 echo "${ECHO_T}$result" >&6; }
9341
9342
9343 enablestring=
9344 defaultval=$wxUSE_ALL_FEATURES
9345 if test -z "$defaultval"; then
9346 if test x"$enablestring" = xdisable; then
9347 defaultval=yes
9348 else
9349 defaultval=no
9350 fi
9351 fi
9352
9353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9355 # Check whether --enable-dnd was given.
9356 if test "${enable_dnd+set}" = set; then
9357 enableval=$enable_dnd;
9358 if test "$enableval" = yes; then
9359 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9360 else
9361 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9362 fi
9363
9364 else
9365
9366 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9367
9368 fi
9369
9370
9371 eval "$wx_cv_use_dnd"
9372
9373 if test x"$enablestring" = xdisable; then
9374 if test $wxUSE_DRAG_AND_DROP = yes; then
9375 result=no
9376 else
9377 result=yes
9378 fi
9379 else
9380 result=$wxUSE_DRAG_AND_DROP
9381 fi
9382
9383 { echo "$as_me:$LINENO: result: $result" >&5
9384 echo "${ECHO_T}$result" >&6; }
9385
9386
9387 enablestring=
9388 defaultval=$wxUSE_ALL_FEATURES
9389 if test -z "$defaultval"; then
9390 if test x"$enablestring" = xdisable; then
9391 defaultval=yes
9392 else
9393 defaultval=no
9394 fi
9395 fi
9396
9397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9398 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9399 # Check whether --enable-metafile was given.
9400 if test "${enable_metafile+set}" = set; then
9401 enableval=$enable_metafile;
9402 if test "$enableval" = yes; then
9403 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9404 else
9405 wx_cv_use_metafile='wxUSE_METAFILE=no'
9406 fi
9407
9408 else
9409
9410 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9411
9412 fi
9413
9414
9415 eval "$wx_cv_use_metafile"
9416
9417 if test x"$enablestring" = xdisable; then
9418 if test $wxUSE_METAFILE = yes; then
9419 result=no
9420 else
9421 result=yes
9422 fi
9423 else
9424 result=$wxUSE_METAFILE
9425 fi
9426
9427 { echo "$as_me:$LINENO: result: $result" >&5
9428 echo "${ECHO_T}$result" >&6; }
9429
9430
9431
9432 DEFAULT_wxUSE_CONTROLS=none
9433
9434 enablestring=disable
9435 defaultval=
9436 if test -z "$defaultval"; then
9437 if test x"$enablestring" = xdisable; then
9438 defaultval=yes
9439 else
9440 defaultval=no
9441 fi
9442 fi
9443
9444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9445 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9446 # Check whether --enable-controls was given.
9447 if test "${enable_controls+set}" = set; then
9448 enableval=$enable_controls;
9449 if test "$enableval" = yes; then
9450 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9451 else
9452 wx_cv_use_controls='wxUSE_CONTROLS=no'
9453 fi
9454
9455 else
9456
9457 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9458
9459 fi
9460
9461
9462 eval "$wx_cv_use_controls"
9463
9464 if test x"$enablestring" = xdisable; then
9465 if test $wxUSE_CONTROLS = yes; then
9466 result=no
9467 else
9468 result=yes
9469 fi
9470 else
9471 result=$wxUSE_CONTROLS
9472 fi
9473
9474 { echo "$as_me:$LINENO: result: $result" >&5
9475 echo "${ECHO_T}$result" >&6; }
9476
9477
9478 if test "$wxUSE_CONTROLS" = "no"; then
9479 DEFAULT_wxUSE_ACCEL=no
9480 DEFAULT_wxUSE_ANIMATIONCTRL=no
9481 DEFAULT_wxUSE_BMPBUTTON=no
9482 DEFAULT_wxUSE_BUTTON=no
9483 DEFAULT_wxUSE_CALCTRL=no
9484 DEFAULT_wxUSE_CARET=no
9485 DEFAULT_wxUSE_CHECKBOX=no
9486 DEFAULT_wxUSE_CHECKLISTBOX=no
9487 DEFAULT_wxUSE_CHOICE=no
9488 DEFAULT_wxUSE_CHOICEBOOK=no
9489 DEFAULT_wxUSE_COLLPANE=no
9490 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9491 DEFAULT_wxUSE_COMBOBOX=no
9492 DEFAULT_wxUSE_COMBOBOX=no
9493 DEFAULT_wxUSE_DATAVIEWCTRL=no
9494 DEFAULT_wxUSE_DATEPICKCTRL=no
9495 DEFAULT_wxUSE_DETECT_SM=no
9496 DEFAULT_wxUSE_DIRPICKERCTRL=no
9497 DEFAULT_wxUSE_DISPLAY=no
9498 DEFAULT_wxUSE_FILECTRL=no
9499 DEFAULT_wxUSE_FILEPICKERCTRL=no
9500 DEFAULT_wxUSE_FONTPICKERCTRL=no
9501 DEFAULT_wxUSE_GAUGE=no
9502 DEFAULT_wxUSE_GRID=no
9503 DEFAULT_wxUSE_HEADERCTRL=no
9504 DEFAULT_wxUSE_HYPERLINKCTRL=no
9505 DEFAULT_wxUSE_IMAGLIST=no
9506 DEFAULT_wxUSE_LISTBOOK=no
9507 DEFAULT_wxUSE_LISTBOX=no
9508 DEFAULT_wxUSE_LISTCTRL=no
9509 DEFAULT_wxUSE_NOTEBOOK=no
9510 DEFAULT_wxUSE_POPUPWIN=no
9511 DEFAULT_wxUSE_RADIOBOX=no
9512 DEFAULT_wxUSE_RADIOBTN=no
9513 DEFAULT_wxUSE_REARRANGECTRL=no
9514 DEFAULT_wxUSE_SASH=no
9515 DEFAULT_wxUSE_SCROLLBAR=no
9516 DEFAULT_wxUSE_SEARCHCTRL=no
9517 DEFAULT_wxUSE_SLIDER=no
9518 DEFAULT_wxUSE_SPINBTN=no
9519 DEFAULT_wxUSE_SPINCTRL=no
9520 DEFAULT_wxUSE_SPLITTER=no
9521 DEFAULT_wxUSE_STATBMP=no
9522 DEFAULT_wxUSE_STATBOX=no
9523 DEFAULT_wxUSE_STATLINE=no
9524 DEFAULT_wxUSE_STATUSBAR=no
9525 DEFAULT_wxUSE_TIPWINDOW=no
9526 DEFAULT_wxUSE_TOGGLEBTN=no
9527 DEFAULT_wxUSE_TOOLBAR=no
9528 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9529 DEFAULT_wxUSE_TOOLBOOK=no
9530 DEFAULT_wxUSE_TOOLTIPS=no
9531 DEFAULT_wxUSE_TREEBOOK=no
9532 DEFAULT_wxUSE_TREECTRL=no
9533 fi
9534
9535
9536 enablestring=
9537 defaultval=$wxUSE_ALL_FEATURES
9538 if test -z "$defaultval"; then
9539 if test x"$enablestring" = xdisable; then
9540 defaultval=yes
9541 else
9542 defaultval=no
9543 fi
9544 fi
9545
9546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9547 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9548 # Check whether --enable-accel was given.
9549 if test "${enable_accel+set}" = set; then
9550 enableval=$enable_accel;
9551 if test "$enableval" = yes; then
9552 wx_cv_use_accel='wxUSE_ACCEL=yes'
9553 else
9554 wx_cv_use_accel='wxUSE_ACCEL=no'
9555 fi
9556
9557 else
9558
9559 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9560
9561 fi
9562
9563
9564 eval "$wx_cv_use_accel"
9565
9566 if test x"$enablestring" = xdisable; then
9567 if test $wxUSE_ACCEL = yes; then
9568 result=no
9569 else
9570 result=yes
9571 fi
9572 else
9573 result=$wxUSE_ACCEL
9574 fi
9575
9576 { echo "$as_me:$LINENO: result: $result" >&5
9577 echo "${ECHO_T}$result" >&6; }
9578
9579
9580 enablestring=
9581 defaultval=$wxUSE_ALL_FEATURES
9582 if test -z "$defaultval"; then
9583 if test x"$enablestring" = xdisable; then
9584 defaultval=yes
9585 else
9586 defaultval=no
9587 fi
9588 fi
9589
9590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9591 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9592 # Check whether --enable-animatectrl was given.
9593 if test "${enable_animatectrl+set}" = set; then
9594 enableval=$enable_animatectrl;
9595 if test "$enableval" = yes; then
9596 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9597 else
9598 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9599 fi
9600
9601 else
9602
9603 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9604
9605 fi
9606
9607
9608 eval "$wx_cv_use_animatectrl"
9609
9610 if test x"$enablestring" = xdisable; then
9611 if test $wxUSE_ANIMATIONCTRL = yes; then
9612 result=no
9613 else
9614 result=yes
9615 fi
9616 else
9617 result=$wxUSE_ANIMATIONCTRL
9618 fi
9619
9620 { echo "$as_me:$LINENO: result: $result" >&5
9621 echo "${ECHO_T}$result" >&6; }
9622
9623
9624 enablestring=
9625 defaultval=$wxUSE_ALL_FEATURES
9626 if test -z "$defaultval"; then
9627 if test x"$enablestring" = xdisable; then
9628 defaultval=yes
9629 else
9630 defaultval=no
9631 fi
9632 fi
9633
9634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9636 # Check whether --enable-bmpbutton was given.
9637 if test "${enable_bmpbutton+set}" = set; then
9638 enableval=$enable_bmpbutton;
9639 if test "$enableval" = yes; then
9640 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9641 else
9642 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9643 fi
9644
9645 else
9646
9647 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9648
9649 fi
9650
9651
9652 eval "$wx_cv_use_bmpbutton"
9653
9654 if test x"$enablestring" = xdisable; then
9655 if test $wxUSE_BMPBUTTON = yes; then
9656 result=no
9657 else
9658 result=yes
9659 fi
9660 else
9661 result=$wxUSE_BMPBUTTON
9662 fi
9663
9664 { echo "$as_me:$LINENO: result: $result" >&5
9665 echo "${ECHO_T}$result" >&6; }
9666
9667
9668 enablestring=
9669 defaultval=$wxUSE_ALL_FEATURES
9670 if test -z "$defaultval"; then
9671 if test x"$enablestring" = xdisable; then
9672 defaultval=yes
9673 else
9674 defaultval=no
9675 fi
9676 fi
9677
9678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9679 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9680 # Check whether --enable-bmpcombobox was given.
9681 if test "${enable_bmpcombobox+set}" = set; then
9682 enableval=$enable_bmpcombobox;
9683 if test "$enableval" = yes; then
9684 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9685 else
9686 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9687 fi
9688
9689 else
9690
9691 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9692
9693 fi
9694
9695
9696 eval "$wx_cv_use_bmpcombobox"
9697
9698 if test x"$enablestring" = xdisable; then
9699 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9700 result=no
9701 else
9702 result=yes
9703 fi
9704 else
9705 result=$wxUSE_BITMAPCOMBOBOX
9706 fi
9707
9708 { echo "$as_me:$LINENO: result: $result" >&5
9709 echo "${ECHO_T}$result" >&6; }
9710
9711
9712 enablestring=
9713 defaultval=$wxUSE_ALL_FEATURES
9714 if test -z "$defaultval"; then
9715 if test x"$enablestring" = xdisable; then
9716 defaultval=yes
9717 else
9718 defaultval=no
9719 fi
9720 fi
9721
9722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9724 # Check whether --enable-button was given.
9725 if test "${enable_button+set}" = set; then
9726 enableval=$enable_button;
9727 if test "$enableval" = yes; then
9728 wx_cv_use_button='wxUSE_BUTTON=yes'
9729 else
9730 wx_cv_use_button='wxUSE_BUTTON=no'
9731 fi
9732
9733 else
9734
9735 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9736
9737 fi
9738
9739
9740 eval "$wx_cv_use_button"
9741
9742 if test x"$enablestring" = xdisable; then
9743 if test $wxUSE_BUTTON = yes; then
9744 result=no
9745 else
9746 result=yes
9747 fi
9748 else
9749 result=$wxUSE_BUTTON
9750 fi
9751
9752 { echo "$as_me:$LINENO: result: $result" >&5
9753 echo "${ECHO_T}$result" >&6; }
9754
9755
9756 enablestring=
9757 defaultval=$wxUSE_ALL_FEATURES
9758 if test -z "$defaultval"; then
9759 if test x"$enablestring" = xdisable; then
9760 defaultval=yes
9761 else
9762 defaultval=no
9763 fi
9764 fi
9765
9766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9767 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9768 # Check whether --enable-calendar was given.
9769 if test "${enable_calendar+set}" = set; then
9770 enableval=$enable_calendar;
9771 if test "$enableval" = yes; then
9772 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9773 else
9774 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9775 fi
9776
9777 else
9778
9779 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9780
9781 fi
9782
9783
9784 eval "$wx_cv_use_calendar"
9785
9786 if test x"$enablestring" = xdisable; then
9787 if test $wxUSE_CALCTRL = yes; then
9788 result=no
9789 else
9790 result=yes
9791 fi
9792 else
9793 result=$wxUSE_CALCTRL
9794 fi
9795
9796 { echo "$as_me:$LINENO: result: $result" >&5
9797 echo "${ECHO_T}$result" >&6; }
9798
9799
9800 enablestring=
9801 defaultval=$wxUSE_ALL_FEATURES
9802 if test -z "$defaultval"; then
9803 if test x"$enablestring" = xdisable; then
9804 defaultval=yes
9805 else
9806 defaultval=no
9807 fi
9808 fi
9809
9810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9811 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9812 # Check whether --enable-caret was given.
9813 if test "${enable_caret+set}" = set; then
9814 enableval=$enable_caret;
9815 if test "$enableval" = yes; then
9816 wx_cv_use_caret='wxUSE_CARET=yes'
9817 else
9818 wx_cv_use_caret='wxUSE_CARET=no'
9819 fi
9820
9821 else
9822
9823 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9824
9825 fi
9826
9827
9828 eval "$wx_cv_use_caret"
9829
9830 if test x"$enablestring" = xdisable; then
9831 if test $wxUSE_CARET = yes; then
9832 result=no
9833 else
9834 result=yes
9835 fi
9836 else
9837 result=$wxUSE_CARET
9838 fi
9839
9840 { echo "$as_me:$LINENO: result: $result" >&5
9841 echo "${ECHO_T}$result" >&6; }
9842
9843
9844 enablestring=
9845 defaultval=$wxUSE_ALL_FEATURES
9846 if test -z "$defaultval"; then
9847 if test x"$enablestring" = xdisable; then
9848 defaultval=yes
9849 else
9850 defaultval=no
9851 fi
9852 fi
9853
9854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9855 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9856 # Check whether --enable-checkbox was given.
9857 if test "${enable_checkbox+set}" = set; then
9858 enableval=$enable_checkbox;
9859 if test "$enableval" = yes; then
9860 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9861 else
9862 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9863 fi
9864
9865 else
9866
9867 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9868
9869 fi
9870
9871
9872 eval "$wx_cv_use_checkbox"
9873
9874 if test x"$enablestring" = xdisable; then
9875 if test $wxUSE_CHECKBOX = yes; then
9876 result=no
9877 else
9878 result=yes
9879 fi
9880 else
9881 result=$wxUSE_CHECKBOX
9882 fi
9883
9884 { echo "$as_me:$LINENO: result: $result" >&5
9885 echo "${ECHO_T}$result" >&6; }
9886
9887
9888 enablestring=
9889 defaultval=$wxUSE_ALL_FEATURES
9890 if test -z "$defaultval"; then
9891 if test x"$enablestring" = xdisable; then
9892 defaultval=yes
9893 else
9894 defaultval=no
9895 fi
9896 fi
9897
9898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9899 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9900 # Check whether --enable-checklst was given.
9901 if test "${enable_checklst+set}" = set; then
9902 enableval=$enable_checklst;
9903 if test "$enableval" = yes; then
9904 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9905 else
9906 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9907 fi
9908
9909 else
9910
9911 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9912
9913 fi
9914
9915
9916 eval "$wx_cv_use_checklst"
9917
9918 if test x"$enablestring" = xdisable; then
9919 if test $wxUSE_CHECKLST = yes; then
9920 result=no
9921 else
9922 result=yes
9923 fi
9924 else
9925 result=$wxUSE_CHECKLST
9926 fi
9927
9928 { echo "$as_me:$LINENO: result: $result" >&5
9929 echo "${ECHO_T}$result" >&6; }
9930
9931
9932 enablestring=
9933 defaultval=$wxUSE_ALL_FEATURES
9934 if test -z "$defaultval"; then
9935 if test x"$enablestring" = xdisable; then
9936 defaultval=yes
9937 else
9938 defaultval=no
9939 fi
9940 fi
9941
9942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9944 # Check whether --enable-choice was given.
9945 if test "${enable_choice+set}" = set; then
9946 enableval=$enable_choice;
9947 if test "$enableval" = yes; then
9948 wx_cv_use_choice='wxUSE_CHOICE=yes'
9949 else
9950 wx_cv_use_choice='wxUSE_CHOICE=no'
9951 fi
9952
9953 else
9954
9955 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9956
9957 fi
9958
9959
9960 eval "$wx_cv_use_choice"
9961
9962 if test x"$enablestring" = xdisable; then
9963 if test $wxUSE_CHOICE = yes; then
9964 result=no
9965 else
9966 result=yes
9967 fi
9968 else
9969 result=$wxUSE_CHOICE
9970 fi
9971
9972 { echo "$as_me:$LINENO: result: $result" >&5
9973 echo "${ECHO_T}$result" >&6; }
9974
9975
9976 enablestring=
9977 defaultval=$wxUSE_ALL_FEATURES
9978 if test -z "$defaultval"; then
9979 if test x"$enablestring" = xdisable; then
9980 defaultval=yes
9981 else
9982 defaultval=no
9983 fi
9984 fi
9985
9986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9987 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9988 # Check whether --enable-choicebook was given.
9989 if test "${enable_choicebook+set}" = set; then
9990 enableval=$enable_choicebook;
9991 if test "$enableval" = yes; then
9992 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9993 else
9994 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9995 fi
9996
9997 else
9998
9999 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10000
10001 fi
10002
10003
10004 eval "$wx_cv_use_choicebook"
10005
10006 if test x"$enablestring" = xdisable; then
10007 if test $wxUSE_CHOICEBOOK = yes; then
10008 result=no
10009 else
10010 result=yes
10011 fi
10012 else
10013 result=$wxUSE_CHOICEBOOK
10014 fi
10015
10016 { echo "$as_me:$LINENO: result: $result" >&5
10017 echo "${ECHO_T}$result" >&6; }
10018
10019
10020 enablestring=
10021 defaultval=$wxUSE_ALL_FEATURES
10022 if test -z "$defaultval"; then
10023 if test x"$enablestring" = xdisable; then
10024 defaultval=yes
10025 else
10026 defaultval=no
10027 fi
10028 fi
10029
10030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10031 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10032 # Check whether --enable-collpane was given.
10033 if test "${enable_collpane+set}" = set; then
10034 enableval=$enable_collpane;
10035 if test "$enableval" = yes; then
10036 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10037 else
10038 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10039 fi
10040
10041 else
10042
10043 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10044
10045 fi
10046
10047
10048 eval "$wx_cv_use_collpane"
10049
10050 if test x"$enablestring" = xdisable; then
10051 if test $wxUSE_COLLPANE = yes; then
10052 result=no
10053 else
10054 result=yes
10055 fi
10056 else
10057 result=$wxUSE_COLLPANE
10058 fi
10059
10060 { echo "$as_me:$LINENO: result: $result" >&5
10061 echo "${ECHO_T}$result" >&6; }
10062
10063
10064 enablestring=
10065 defaultval=$wxUSE_ALL_FEATURES
10066 if test -z "$defaultval"; then
10067 if test x"$enablestring" = xdisable; then
10068 defaultval=yes
10069 else
10070 defaultval=no
10071 fi
10072 fi
10073
10074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10075 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10076 # Check whether --enable-colourpicker was given.
10077 if test "${enable_colourpicker+set}" = set; then
10078 enableval=$enable_colourpicker;
10079 if test "$enableval" = yes; then
10080 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10081 else
10082 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10083 fi
10084
10085 else
10086
10087 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10088
10089 fi
10090
10091
10092 eval "$wx_cv_use_colourpicker"
10093
10094 if test x"$enablestring" = xdisable; then
10095 if test $wxUSE_COLOURPICKERCTRL = yes; then
10096 result=no
10097 else
10098 result=yes
10099 fi
10100 else
10101 result=$wxUSE_COLOURPICKERCTRL
10102 fi
10103
10104 { echo "$as_me:$LINENO: result: $result" >&5
10105 echo "${ECHO_T}$result" >&6; }
10106
10107
10108 enablestring=
10109 defaultval=$wxUSE_ALL_FEATURES
10110 if test -z "$defaultval"; then
10111 if test x"$enablestring" = xdisable; then
10112 defaultval=yes
10113 else
10114 defaultval=no
10115 fi
10116 fi
10117
10118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10119 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10120 # Check whether --enable-combobox was given.
10121 if test "${enable_combobox+set}" = set; then
10122 enableval=$enable_combobox;
10123 if test "$enableval" = yes; then
10124 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10125 else
10126 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10127 fi
10128
10129 else
10130
10131 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10132
10133 fi
10134
10135
10136 eval "$wx_cv_use_combobox"
10137
10138 if test x"$enablestring" = xdisable; then
10139 if test $wxUSE_COMBOBOX = yes; then
10140 result=no
10141 else
10142 result=yes
10143 fi
10144 else
10145 result=$wxUSE_COMBOBOX
10146 fi
10147
10148 { echo "$as_me:$LINENO: result: $result" >&5
10149 echo "${ECHO_T}$result" >&6; }
10150
10151
10152 enablestring=
10153 defaultval=$wxUSE_ALL_FEATURES
10154 if test -z "$defaultval"; then
10155 if test x"$enablestring" = xdisable; then
10156 defaultval=yes
10157 else
10158 defaultval=no
10159 fi
10160 fi
10161
10162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10164 # Check whether --enable-comboctrl was given.
10165 if test "${enable_comboctrl+set}" = set; then
10166 enableval=$enable_comboctrl;
10167 if test "$enableval" = yes; then
10168 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10169 else
10170 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10171 fi
10172
10173 else
10174
10175 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10176
10177 fi
10178
10179
10180 eval "$wx_cv_use_comboctrl"
10181
10182 if test x"$enablestring" = xdisable; then
10183 if test $wxUSE_COMBOCTRL = yes; then
10184 result=no
10185 else
10186 result=yes
10187 fi
10188 else
10189 result=$wxUSE_COMBOCTRL
10190 fi
10191
10192 { echo "$as_me:$LINENO: result: $result" >&5
10193 echo "${ECHO_T}$result" >&6; }
10194
10195
10196 enablestring=
10197 defaultval=$wxUSE_ALL_FEATURES
10198 if test -z "$defaultval"; then
10199 if test x"$enablestring" = xdisable; then
10200 defaultval=yes
10201 else
10202 defaultval=no
10203 fi
10204 fi
10205
10206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10207 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10208 # Check whether --enable-dataviewctrl was given.
10209 if test "${enable_dataviewctrl+set}" = set; then
10210 enableval=$enable_dataviewctrl;
10211 if test "$enableval" = yes; then
10212 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10213 else
10214 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10215 fi
10216
10217 else
10218
10219 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10220
10221 fi
10222
10223
10224 eval "$wx_cv_use_dataviewctrl"
10225
10226 if test x"$enablestring" = xdisable; then
10227 if test $wxUSE_DATAVIEWCTRL = yes; then
10228 result=no
10229 else
10230 result=yes
10231 fi
10232 else
10233 result=$wxUSE_DATAVIEWCTRL
10234 fi
10235
10236 { echo "$as_me:$LINENO: result: $result" >&5
10237 echo "${ECHO_T}$result" >&6; }
10238
10239
10240 enablestring=
10241 defaultval=$wxUSE_ALL_FEATURES
10242 if test -z "$defaultval"; then
10243 if test x"$enablestring" = xdisable; then
10244 defaultval=yes
10245 else
10246 defaultval=no
10247 fi
10248 fi
10249
10250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10251 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10252 # Check whether --enable-datepick was given.
10253 if test "${enable_datepick+set}" = set; then
10254 enableval=$enable_datepick;
10255 if test "$enableval" = yes; then
10256 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10257 else
10258 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10259 fi
10260
10261 else
10262
10263 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10264
10265 fi
10266
10267
10268 eval "$wx_cv_use_datepick"
10269
10270 if test x"$enablestring" = xdisable; then
10271 if test $wxUSE_DATEPICKCTRL = yes; then
10272 result=no
10273 else
10274 result=yes
10275 fi
10276 else
10277 result=$wxUSE_DATEPICKCTRL
10278 fi
10279
10280 { echo "$as_me:$LINENO: result: $result" >&5
10281 echo "${ECHO_T}$result" >&6; }
10282
10283
10284 enablestring=
10285 defaultval=$wxUSE_ALL_FEATURES
10286 if test -z "$defaultval"; then
10287 if test x"$enablestring" = xdisable; then
10288 defaultval=yes
10289 else
10290 defaultval=no
10291 fi
10292 fi
10293
10294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10295 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10296 # Check whether --enable-detect_sm was given.
10297 if test "${enable_detect_sm+set}" = set; then
10298 enableval=$enable_detect_sm;
10299 if test "$enableval" = yes; then
10300 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10301 else
10302 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10303 fi
10304
10305 else
10306
10307 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10308
10309 fi
10310
10311
10312 eval "$wx_cv_use_detect_sm"
10313
10314 if test x"$enablestring" = xdisable; then
10315 if test $wxUSE_DETECT_SM = yes; then
10316 result=no
10317 else
10318 result=yes
10319 fi
10320 else
10321 result=$wxUSE_DETECT_SM
10322 fi
10323
10324 { echo "$as_me:$LINENO: result: $result" >&5
10325 echo "${ECHO_T}$result" >&6; }
10326
10327
10328 enablestring=
10329 defaultval=$wxUSE_ALL_FEATURES
10330 if test -z "$defaultval"; then
10331 if test x"$enablestring" = xdisable; then
10332 defaultval=yes
10333 else
10334 defaultval=no
10335 fi
10336 fi
10337
10338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10339 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10340 # Check whether --enable-dirpicker was given.
10341 if test "${enable_dirpicker+set}" = set; then
10342 enableval=$enable_dirpicker;
10343 if test "$enableval" = yes; then
10344 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10345 else
10346 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10347 fi
10348
10349 else
10350
10351 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10352
10353 fi
10354
10355
10356 eval "$wx_cv_use_dirpicker"
10357
10358 if test x"$enablestring" = xdisable; then
10359 if test $wxUSE_DIRPICKERCTRL = yes; then
10360 result=no
10361 else
10362 result=yes
10363 fi
10364 else
10365 result=$wxUSE_DIRPICKERCTRL
10366 fi
10367
10368 { echo "$as_me:$LINENO: result: $result" >&5
10369 echo "${ECHO_T}$result" >&6; }
10370
10371
10372 enablestring=
10373 defaultval=$wxUSE_ALL_FEATURES
10374 if test -z "$defaultval"; then
10375 if test x"$enablestring" = xdisable; then
10376 defaultval=yes
10377 else
10378 defaultval=no
10379 fi
10380 fi
10381
10382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10384 # Check whether --enable-display was given.
10385 if test "${enable_display+set}" = set; then
10386 enableval=$enable_display;
10387 if test "$enableval" = yes; then
10388 wx_cv_use_display='wxUSE_DISPLAY=yes'
10389 else
10390 wx_cv_use_display='wxUSE_DISPLAY=no'
10391 fi
10392
10393 else
10394
10395 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10396
10397 fi
10398
10399
10400 eval "$wx_cv_use_display"
10401
10402 if test x"$enablestring" = xdisable; then
10403 if test $wxUSE_DISPLAY = yes; then
10404 result=no
10405 else
10406 result=yes
10407 fi
10408 else
10409 result=$wxUSE_DISPLAY
10410 fi
10411
10412 { echo "$as_me:$LINENO: result: $result" >&5
10413 echo "${ECHO_T}$result" >&6; }
10414
10415
10416 enablestring=
10417 defaultval=$wxUSE_ALL_FEATURES
10418 if test -z "$defaultval"; then
10419 if test x"$enablestring" = xdisable; then
10420 defaultval=yes
10421 else
10422 defaultval=no
10423 fi
10424 fi
10425
10426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10427 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10428 # Check whether --enable-editablebox was given.
10429 if test "${enable_editablebox+set}" = set; then
10430 enableval=$enable_editablebox;
10431 if test "$enableval" = yes; then
10432 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10433 else
10434 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10435 fi
10436
10437 else
10438
10439 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10440
10441 fi
10442
10443
10444 eval "$wx_cv_use_editablebox"
10445
10446 if test x"$enablestring" = xdisable; then
10447 if test $wxUSE_EDITABLELISTBOX = yes; then
10448 result=no
10449 else
10450 result=yes
10451 fi
10452 else
10453 result=$wxUSE_EDITABLELISTBOX
10454 fi
10455
10456 { echo "$as_me:$LINENO: result: $result" >&5
10457 echo "${ECHO_T}$result" >&6; }
10458
10459
10460 enablestring=
10461 defaultval=$wxUSE_ALL_FEATURES
10462 if test -z "$defaultval"; then
10463 if test x"$enablestring" = xdisable; then
10464 defaultval=yes
10465 else
10466 defaultval=no
10467 fi
10468 fi
10469
10470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10471 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10472 # Check whether --enable-filectrl was given.
10473 if test "${enable_filectrl+set}" = set; then
10474 enableval=$enable_filectrl;
10475 if test "$enableval" = yes; then
10476 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10477 else
10478 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10479 fi
10480
10481 else
10482
10483 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10484
10485 fi
10486
10487
10488 eval "$wx_cv_use_filectrl"
10489
10490 if test x"$enablestring" = xdisable; then
10491 if test $wxUSE_FILECTRL = yes; then
10492 result=no
10493 else
10494 result=yes
10495 fi
10496 else
10497 result=$wxUSE_FILECTRL
10498 fi
10499
10500 { echo "$as_me:$LINENO: result: $result" >&5
10501 echo "${ECHO_T}$result" >&6; }
10502
10503
10504 enablestring=
10505 defaultval=$wxUSE_ALL_FEATURES
10506 if test -z "$defaultval"; then
10507 if test x"$enablestring" = xdisable; then
10508 defaultval=yes
10509 else
10510 defaultval=no
10511 fi
10512 fi
10513
10514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10515 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10516 # Check whether --enable-filepicker was given.
10517 if test "${enable_filepicker+set}" = set; then
10518 enableval=$enable_filepicker;
10519 if test "$enableval" = yes; then
10520 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10521 else
10522 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10523 fi
10524
10525 else
10526
10527 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10528
10529 fi
10530
10531
10532 eval "$wx_cv_use_filepicker"
10533
10534 if test x"$enablestring" = xdisable; then
10535 if test $wxUSE_FILEPICKERCTRL = yes; then
10536 result=no
10537 else
10538 result=yes
10539 fi
10540 else
10541 result=$wxUSE_FILEPICKERCTRL
10542 fi
10543
10544 { echo "$as_me:$LINENO: result: $result" >&5
10545 echo "${ECHO_T}$result" >&6; }
10546
10547
10548 enablestring=
10549 defaultval=$wxUSE_ALL_FEATURES
10550 if test -z "$defaultval"; then
10551 if test x"$enablestring" = xdisable; then
10552 defaultval=yes
10553 else
10554 defaultval=no
10555 fi
10556 fi
10557
10558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10559 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10560 # Check whether --enable-fontpicker was given.
10561 if test "${enable_fontpicker+set}" = set; then
10562 enableval=$enable_fontpicker;
10563 if test "$enableval" = yes; then
10564 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10565 else
10566 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10567 fi
10568
10569 else
10570
10571 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10572
10573 fi
10574
10575
10576 eval "$wx_cv_use_fontpicker"
10577
10578 if test x"$enablestring" = xdisable; then
10579 if test $wxUSE_FONTPICKERCTRL = yes; then
10580 result=no
10581 else
10582 result=yes
10583 fi
10584 else
10585 result=$wxUSE_FONTPICKERCTRL
10586 fi
10587
10588 { echo "$as_me:$LINENO: result: $result" >&5
10589 echo "${ECHO_T}$result" >&6; }
10590
10591
10592 enablestring=
10593 defaultval=$wxUSE_ALL_FEATURES
10594 if test -z "$defaultval"; then
10595 if test x"$enablestring" = xdisable; then
10596 defaultval=yes
10597 else
10598 defaultval=no
10599 fi
10600 fi
10601
10602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10603 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10604 # Check whether --enable-gauge was given.
10605 if test "${enable_gauge+set}" = set; then
10606 enableval=$enable_gauge;
10607 if test "$enableval" = yes; then
10608 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10609 else
10610 wx_cv_use_gauge='wxUSE_GAUGE=no'
10611 fi
10612
10613 else
10614
10615 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10616
10617 fi
10618
10619
10620 eval "$wx_cv_use_gauge"
10621
10622 if test x"$enablestring" = xdisable; then
10623 if test $wxUSE_GAUGE = yes; then
10624 result=no
10625 else
10626 result=yes
10627 fi
10628 else
10629 result=$wxUSE_GAUGE
10630 fi
10631
10632 { echo "$as_me:$LINENO: result: $result" >&5
10633 echo "${ECHO_T}$result" >&6; }
10634
10635
10636 enablestring=
10637 defaultval=$wxUSE_ALL_FEATURES
10638 if test -z "$defaultval"; then
10639 if test x"$enablestring" = xdisable; then
10640 defaultval=yes
10641 else
10642 defaultval=no
10643 fi
10644 fi
10645
10646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10647 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10648 # Check whether --enable-grid was given.
10649 if test "${enable_grid+set}" = set; then
10650 enableval=$enable_grid;
10651 if test "$enableval" = yes; then
10652 wx_cv_use_grid='wxUSE_GRID=yes'
10653 else
10654 wx_cv_use_grid='wxUSE_GRID=no'
10655 fi
10656
10657 else
10658
10659 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10660
10661 fi
10662
10663
10664 eval "$wx_cv_use_grid"
10665
10666 if test x"$enablestring" = xdisable; then
10667 if test $wxUSE_GRID = yes; then
10668 result=no
10669 else
10670 result=yes
10671 fi
10672 else
10673 result=$wxUSE_GRID
10674 fi
10675
10676 { echo "$as_me:$LINENO: result: $result" >&5
10677 echo "${ECHO_T}$result" >&6; }
10678
10679
10680 enablestring=
10681 defaultval=$wxUSE_ALL_FEATURES
10682 if test -z "$defaultval"; then
10683 if test x"$enablestring" = xdisable; then
10684 defaultval=yes
10685 else
10686 defaultval=no
10687 fi
10688 fi
10689
10690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10691 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10692 # Check whether --enable-headerctrl was given.
10693 if test "${enable_headerctrl+set}" = set; then
10694 enableval=$enable_headerctrl;
10695 if test "$enableval" = yes; then
10696 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10697 else
10698 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10699 fi
10700
10701 else
10702
10703 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10704
10705 fi
10706
10707
10708 eval "$wx_cv_use_headerctrl"
10709
10710 if test x"$enablestring" = xdisable; then
10711 if test $wxUSE_HEADERCTRL = yes; then
10712 result=no
10713 else
10714 result=yes
10715 fi
10716 else
10717 result=$wxUSE_HEADERCTRL
10718 fi
10719
10720 { echo "$as_me:$LINENO: result: $result" >&5
10721 echo "${ECHO_T}$result" >&6; }
10722
10723
10724 enablestring=
10725 defaultval=$wxUSE_ALL_FEATURES
10726 if test -z "$defaultval"; then
10727 if test x"$enablestring" = xdisable; then
10728 defaultval=yes
10729 else
10730 defaultval=no
10731 fi
10732 fi
10733
10734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10735 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10736 # Check whether --enable-hyperlink was given.
10737 if test "${enable_hyperlink+set}" = set; then
10738 enableval=$enable_hyperlink;
10739 if test "$enableval" = yes; then
10740 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10741 else
10742 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10743 fi
10744
10745 else
10746
10747 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10748
10749 fi
10750
10751
10752 eval "$wx_cv_use_hyperlink"
10753
10754 if test x"$enablestring" = xdisable; then
10755 if test $wxUSE_HYPERLINKCTRL = yes; then
10756 result=no
10757 else
10758 result=yes
10759 fi
10760 else
10761 result=$wxUSE_HYPERLINKCTRL
10762 fi
10763
10764 { echo "$as_me:$LINENO: result: $result" >&5
10765 echo "${ECHO_T}$result" >&6; }
10766
10767
10768 enablestring=
10769 defaultval=$wxUSE_ALL_FEATURES
10770 if test -z "$defaultval"; then
10771 if test x"$enablestring" = xdisable; then
10772 defaultval=yes
10773 else
10774 defaultval=no
10775 fi
10776 fi
10777
10778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10779 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10780 # Check whether --enable-imaglist was given.
10781 if test "${enable_imaglist+set}" = set; then
10782 enableval=$enable_imaglist;
10783 if test "$enableval" = yes; then
10784 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10785 else
10786 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10787 fi
10788
10789 else
10790
10791 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10792
10793 fi
10794
10795
10796 eval "$wx_cv_use_imaglist"
10797
10798 if test x"$enablestring" = xdisable; then
10799 if test $wxUSE_IMAGLIST = yes; then
10800 result=no
10801 else
10802 result=yes
10803 fi
10804 else
10805 result=$wxUSE_IMAGLIST
10806 fi
10807
10808 { echo "$as_me:$LINENO: result: $result" >&5
10809 echo "${ECHO_T}$result" >&6; }
10810
10811
10812 enablestring=
10813 defaultval=$wxUSE_ALL_FEATURES
10814 if test -z "$defaultval"; then
10815 if test x"$enablestring" = xdisable; then
10816 defaultval=yes
10817 else
10818 defaultval=no
10819 fi
10820 fi
10821
10822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10823 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10824 # Check whether --enable-listbook was given.
10825 if test "${enable_listbook+set}" = set; then
10826 enableval=$enable_listbook;
10827 if test "$enableval" = yes; then
10828 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10829 else
10830 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10831 fi
10832
10833 else
10834
10835 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10836
10837 fi
10838
10839
10840 eval "$wx_cv_use_listbook"
10841
10842 if test x"$enablestring" = xdisable; then
10843 if test $wxUSE_LISTBOOK = yes; then
10844 result=no
10845 else
10846 result=yes
10847 fi
10848 else
10849 result=$wxUSE_LISTBOOK
10850 fi
10851
10852 { echo "$as_me:$LINENO: result: $result" >&5
10853 echo "${ECHO_T}$result" >&6; }
10854
10855
10856 enablestring=
10857 defaultval=$wxUSE_ALL_FEATURES
10858 if test -z "$defaultval"; then
10859 if test x"$enablestring" = xdisable; then
10860 defaultval=yes
10861 else
10862 defaultval=no
10863 fi
10864 fi
10865
10866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10867 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10868 # Check whether --enable-listbox was given.
10869 if test "${enable_listbox+set}" = set; then
10870 enableval=$enable_listbox;
10871 if test "$enableval" = yes; then
10872 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10873 else
10874 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10875 fi
10876
10877 else
10878
10879 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10880
10881 fi
10882
10883
10884 eval "$wx_cv_use_listbox"
10885
10886 if test x"$enablestring" = xdisable; then
10887 if test $wxUSE_LISTBOX = yes; then
10888 result=no
10889 else
10890 result=yes
10891 fi
10892 else
10893 result=$wxUSE_LISTBOX
10894 fi
10895
10896 { echo "$as_me:$LINENO: result: $result" >&5
10897 echo "${ECHO_T}$result" >&6; }
10898
10899
10900 enablestring=
10901 defaultval=$wxUSE_ALL_FEATURES
10902 if test -z "$defaultval"; then
10903 if test x"$enablestring" = xdisable; then
10904 defaultval=yes
10905 else
10906 defaultval=no
10907 fi
10908 fi
10909
10910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10911 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10912 # Check whether --enable-listctrl was given.
10913 if test "${enable_listctrl+set}" = set; then
10914 enableval=$enable_listctrl;
10915 if test "$enableval" = yes; then
10916 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10917 else
10918 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10919 fi
10920
10921 else
10922
10923 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10924
10925 fi
10926
10927
10928 eval "$wx_cv_use_listctrl"
10929
10930 if test x"$enablestring" = xdisable; then
10931 if test $wxUSE_LISTCTRL = yes; then
10932 result=no
10933 else
10934 result=yes
10935 fi
10936 else
10937 result=$wxUSE_LISTCTRL
10938 fi
10939
10940 { echo "$as_me:$LINENO: result: $result" >&5
10941 echo "${ECHO_T}$result" >&6; }
10942
10943
10944 enablestring=
10945 defaultval=$wxUSE_ALL_FEATURES
10946 if test -z "$defaultval"; then
10947 if test x"$enablestring" = xdisable; then
10948 defaultval=yes
10949 else
10950 defaultval=no
10951 fi
10952 fi
10953
10954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10955 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10956 # Check whether --enable-notebook was given.
10957 if test "${enable_notebook+set}" = set; then
10958 enableval=$enable_notebook;
10959 if test "$enableval" = yes; then
10960 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10961 else
10962 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10963 fi
10964
10965 else
10966
10967 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10968
10969 fi
10970
10971
10972 eval "$wx_cv_use_notebook"
10973
10974 if test x"$enablestring" = xdisable; then
10975 if test $wxUSE_NOTEBOOK = yes; then
10976 result=no
10977 else
10978 result=yes
10979 fi
10980 else
10981 result=$wxUSE_NOTEBOOK
10982 fi
10983
10984 { echo "$as_me:$LINENO: result: $result" >&5
10985 echo "${ECHO_T}$result" >&6; }
10986
10987
10988 enablestring=
10989 defaultval=$wxUSE_ALL_FEATURES
10990 if test -z "$defaultval"; then
10991 if test x"$enablestring" = xdisable; then
10992 defaultval=yes
10993 else
10994 defaultval=no
10995 fi
10996 fi
10997
10998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10999 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11000 # Check whether --enable-notifmsg was given.
11001 if test "${enable_notifmsg+set}" = set; then
11002 enableval=$enable_notifmsg;
11003 if test "$enableval" = yes; then
11004 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11005 else
11006 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11007 fi
11008
11009 else
11010
11011 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11012
11013 fi
11014
11015
11016 eval "$wx_cv_use_notifmsg"
11017
11018 if test x"$enablestring" = xdisable; then
11019 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11020 result=no
11021 else
11022 result=yes
11023 fi
11024 else
11025 result=$wxUSE_NOTIFICATION_MESSAGE
11026 fi
11027
11028 { echo "$as_me:$LINENO: result: $result" >&5
11029 echo "${ECHO_T}$result" >&6; }
11030
11031
11032 enablestring=
11033 defaultval=$wxUSE_ALL_FEATURES
11034 if test -z "$defaultval"; then
11035 if test x"$enablestring" = xdisable; then
11036 defaultval=yes
11037 else
11038 defaultval=no
11039 fi
11040 fi
11041
11042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11043 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11044 # Check whether --enable-odcombobox was given.
11045 if test "${enable_odcombobox+set}" = set; then
11046 enableval=$enable_odcombobox;
11047 if test "$enableval" = yes; then
11048 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11049 else
11050 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11051 fi
11052
11053 else
11054
11055 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11056
11057 fi
11058
11059
11060 eval "$wx_cv_use_odcombobox"
11061
11062 if test x"$enablestring" = xdisable; then
11063 if test $wxUSE_ODCOMBOBOX = yes; then
11064 result=no
11065 else
11066 result=yes
11067 fi
11068 else
11069 result=$wxUSE_ODCOMBOBOX
11070 fi
11071
11072 { echo "$as_me:$LINENO: result: $result" >&5
11073 echo "${ECHO_T}$result" >&6; }
11074
11075
11076 enablestring=
11077 defaultval=$wxUSE_ALL_FEATURES
11078 if test -z "$defaultval"; then
11079 if test x"$enablestring" = xdisable; then
11080 defaultval=yes
11081 else
11082 defaultval=no
11083 fi
11084 fi
11085
11086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11087 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11088 # Check whether --enable-popupwin was given.
11089 if test "${enable_popupwin+set}" = set; then
11090 enableval=$enable_popupwin;
11091 if test "$enableval" = yes; then
11092 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11093 else
11094 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11095 fi
11096
11097 else
11098
11099 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11100
11101 fi
11102
11103
11104 eval "$wx_cv_use_popupwin"
11105
11106 if test x"$enablestring" = xdisable; then
11107 if test $wxUSE_POPUPWIN = yes; then
11108 result=no
11109 else
11110 result=yes
11111 fi
11112 else
11113 result=$wxUSE_POPUPWIN
11114 fi
11115
11116 { echo "$as_me:$LINENO: result: $result" >&5
11117 echo "${ECHO_T}$result" >&6; }
11118
11119
11120 enablestring=
11121 defaultval=$wxUSE_ALL_FEATURES
11122 if test -z "$defaultval"; then
11123 if test x"$enablestring" = xdisable; then
11124 defaultval=yes
11125 else
11126 defaultval=no
11127 fi
11128 fi
11129
11130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11131 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11132 # Check whether --enable-radiobox was given.
11133 if test "${enable_radiobox+set}" = set; then
11134 enableval=$enable_radiobox;
11135 if test "$enableval" = yes; then
11136 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11137 else
11138 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11139 fi
11140
11141 else
11142
11143 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11144
11145 fi
11146
11147
11148 eval "$wx_cv_use_radiobox"
11149
11150 if test x"$enablestring" = xdisable; then
11151 if test $wxUSE_RADIOBOX = yes; then
11152 result=no
11153 else
11154 result=yes
11155 fi
11156 else
11157 result=$wxUSE_RADIOBOX
11158 fi
11159
11160 { echo "$as_me:$LINENO: result: $result" >&5
11161 echo "${ECHO_T}$result" >&6; }
11162
11163
11164 enablestring=
11165 defaultval=$wxUSE_ALL_FEATURES
11166 if test -z "$defaultval"; then
11167 if test x"$enablestring" = xdisable; then
11168 defaultval=yes
11169 else
11170 defaultval=no
11171 fi
11172 fi
11173
11174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11175 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11176 # Check whether --enable-radiobtn was given.
11177 if test "${enable_radiobtn+set}" = set; then
11178 enableval=$enable_radiobtn;
11179 if test "$enableval" = yes; then
11180 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11181 else
11182 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11183 fi
11184
11185 else
11186
11187 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11188
11189 fi
11190
11191
11192 eval "$wx_cv_use_radiobtn"
11193
11194 if test x"$enablestring" = xdisable; then
11195 if test $wxUSE_RADIOBTN = yes; then
11196 result=no
11197 else
11198 result=yes
11199 fi
11200 else
11201 result=$wxUSE_RADIOBTN
11202 fi
11203
11204 { echo "$as_me:$LINENO: result: $result" >&5
11205 echo "${ECHO_T}$result" >&6; }
11206
11207
11208 enablestring=
11209 defaultval=$wxUSE_ALL_FEATURES
11210 if test -z "$defaultval"; then
11211 if test x"$enablestring" = xdisable; then
11212 defaultval=yes
11213 else
11214 defaultval=no
11215 fi
11216 fi
11217
11218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11219 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11220 # Check whether --enable-rearrangectrl was given.
11221 if test "${enable_rearrangectrl+set}" = set; then
11222 enableval=$enable_rearrangectrl;
11223 if test "$enableval" = yes; then
11224 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11225 else
11226 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11227 fi
11228
11229 else
11230
11231 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11232
11233 fi
11234
11235
11236 eval "$wx_cv_use_rearrangectrl"
11237
11238 if test x"$enablestring" = xdisable; then
11239 if test $wxUSE_REARRANGECTRL = yes; then
11240 result=no
11241 else
11242 result=yes
11243 fi
11244 else
11245 result=$wxUSE_REARRANGECTRL
11246 fi
11247
11248 { echo "$as_me:$LINENO: result: $result" >&5
11249 echo "${ECHO_T}$result" >&6; }
11250
11251
11252 enablestring=
11253 defaultval=$wxUSE_ALL_FEATURES
11254 if test -z "$defaultval"; then
11255 if test x"$enablestring" = xdisable; then
11256 defaultval=yes
11257 else
11258 defaultval=no
11259 fi
11260 fi
11261
11262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11263 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11264 # Check whether --enable-sash was given.
11265 if test "${enable_sash+set}" = set; then
11266 enableval=$enable_sash;
11267 if test "$enableval" = yes; then
11268 wx_cv_use_sash='wxUSE_SASH=yes'
11269 else
11270 wx_cv_use_sash='wxUSE_SASH=no'
11271 fi
11272
11273 else
11274
11275 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11276
11277 fi
11278
11279
11280 eval "$wx_cv_use_sash"
11281
11282 if test x"$enablestring" = xdisable; then
11283 if test $wxUSE_SASH = yes; then
11284 result=no
11285 else
11286 result=yes
11287 fi
11288 else
11289 result=$wxUSE_SASH
11290 fi
11291
11292 { echo "$as_me:$LINENO: result: $result" >&5
11293 echo "${ECHO_T}$result" >&6; }
11294
11295
11296 enablestring=
11297 defaultval=$wxUSE_ALL_FEATURES
11298 if test -z "$defaultval"; then
11299 if test x"$enablestring" = xdisable; then
11300 defaultval=yes
11301 else
11302 defaultval=no
11303 fi
11304 fi
11305
11306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11307 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11308 # Check whether --enable-scrollbar was given.
11309 if test "${enable_scrollbar+set}" = set; then
11310 enableval=$enable_scrollbar;
11311 if test "$enableval" = yes; then
11312 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11313 else
11314 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11315 fi
11316
11317 else
11318
11319 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11320
11321 fi
11322
11323
11324 eval "$wx_cv_use_scrollbar"
11325
11326 if test x"$enablestring" = xdisable; then
11327 if test $wxUSE_SCROLLBAR = yes; then
11328 result=no
11329 else
11330 result=yes
11331 fi
11332 else
11333 result=$wxUSE_SCROLLBAR
11334 fi
11335
11336 { echo "$as_me:$LINENO: result: $result" >&5
11337 echo "${ECHO_T}$result" >&6; }
11338
11339
11340 enablestring=
11341 defaultval=$wxUSE_ALL_FEATURES
11342 if test -z "$defaultval"; then
11343 if test x"$enablestring" = xdisable; then
11344 defaultval=yes
11345 else
11346 defaultval=no
11347 fi
11348 fi
11349
11350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11351 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11352 # Check whether --enable-searchctrl was given.
11353 if test "${enable_searchctrl+set}" = set; then
11354 enableval=$enable_searchctrl;
11355 if test "$enableval" = yes; then
11356 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11357 else
11358 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11359 fi
11360
11361 else
11362
11363 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11364
11365 fi
11366
11367
11368 eval "$wx_cv_use_searchctrl"
11369
11370 if test x"$enablestring" = xdisable; then
11371 if test $wxUSE_SEARCHCTRL = yes; then
11372 result=no
11373 else
11374 result=yes
11375 fi
11376 else
11377 result=$wxUSE_SEARCHCTRL
11378 fi
11379
11380 { echo "$as_me:$LINENO: result: $result" >&5
11381 echo "${ECHO_T}$result" >&6; }
11382
11383
11384 enablestring=
11385 defaultval=$wxUSE_ALL_FEATURES
11386 if test -z "$defaultval"; then
11387 if test x"$enablestring" = xdisable; then
11388 defaultval=yes
11389 else
11390 defaultval=no
11391 fi
11392 fi
11393
11394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11395 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11396 # Check whether --enable-slider was given.
11397 if test "${enable_slider+set}" = set; then
11398 enableval=$enable_slider;
11399 if test "$enableval" = yes; then
11400 wx_cv_use_slider='wxUSE_SLIDER=yes'
11401 else
11402 wx_cv_use_slider='wxUSE_SLIDER=no'
11403 fi
11404
11405 else
11406
11407 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11408
11409 fi
11410
11411
11412 eval "$wx_cv_use_slider"
11413
11414 if test x"$enablestring" = xdisable; then
11415 if test $wxUSE_SLIDER = yes; then
11416 result=no
11417 else
11418 result=yes
11419 fi
11420 else
11421 result=$wxUSE_SLIDER
11422 fi
11423
11424 { echo "$as_me:$LINENO: result: $result" >&5
11425 echo "${ECHO_T}$result" >&6; }
11426
11427
11428 enablestring=
11429 defaultval=$wxUSE_ALL_FEATURES
11430 if test -z "$defaultval"; then
11431 if test x"$enablestring" = xdisable; then
11432 defaultval=yes
11433 else
11434 defaultval=no
11435 fi
11436 fi
11437
11438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11439 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11440 # Check whether --enable-spinbtn was given.
11441 if test "${enable_spinbtn+set}" = set; then
11442 enableval=$enable_spinbtn;
11443 if test "$enableval" = yes; then
11444 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11445 else
11446 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11447 fi
11448
11449 else
11450
11451 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11452
11453 fi
11454
11455
11456 eval "$wx_cv_use_spinbtn"
11457
11458 if test x"$enablestring" = xdisable; then
11459 if test $wxUSE_SPINBTN = yes; then
11460 result=no
11461 else
11462 result=yes
11463 fi
11464 else
11465 result=$wxUSE_SPINBTN
11466 fi
11467
11468 { echo "$as_me:$LINENO: result: $result" >&5
11469 echo "${ECHO_T}$result" >&6; }
11470
11471
11472 enablestring=
11473 defaultval=$wxUSE_ALL_FEATURES
11474 if test -z "$defaultval"; then
11475 if test x"$enablestring" = xdisable; then
11476 defaultval=yes
11477 else
11478 defaultval=no
11479 fi
11480 fi
11481
11482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11483 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11484 # Check whether --enable-spinctrl was given.
11485 if test "${enable_spinctrl+set}" = set; then
11486 enableval=$enable_spinctrl;
11487 if test "$enableval" = yes; then
11488 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11489 else
11490 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11491 fi
11492
11493 else
11494
11495 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11496
11497 fi
11498
11499
11500 eval "$wx_cv_use_spinctrl"
11501
11502 if test x"$enablestring" = xdisable; then
11503 if test $wxUSE_SPINCTRL = yes; then
11504 result=no
11505 else
11506 result=yes
11507 fi
11508 else
11509 result=$wxUSE_SPINCTRL
11510 fi
11511
11512 { echo "$as_me:$LINENO: result: $result" >&5
11513 echo "${ECHO_T}$result" >&6; }
11514
11515
11516 enablestring=
11517 defaultval=$wxUSE_ALL_FEATURES
11518 if test -z "$defaultval"; then
11519 if test x"$enablestring" = xdisable; then
11520 defaultval=yes
11521 else
11522 defaultval=no
11523 fi
11524 fi
11525
11526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11527 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11528 # Check whether --enable-splitter was given.
11529 if test "${enable_splitter+set}" = set; then
11530 enableval=$enable_splitter;
11531 if test "$enableval" = yes; then
11532 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11533 else
11534 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11535 fi
11536
11537 else
11538
11539 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11540
11541 fi
11542
11543
11544 eval "$wx_cv_use_splitter"
11545
11546 if test x"$enablestring" = xdisable; then
11547 if test $wxUSE_SPLITTER = yes; then
11548 result=no
11549 else
11550 result=yes
11551 fi
11552 else
11553 result=$wxUSE_SPLITTER
11554 fi
11555
11556 { echo "$as_me:$LINENO: result: $result" >&5
11557 echo "${ECHO_T}$result" >&6; }
11558
11559
11560 enablestring=
11561 defaultval=$wxUSE_ALL_FEATURES
11562 if test -z "$defaultval"; then
11563 if test x"$enablestring" = xdisable; then
11564 defaultval=yes
11565 else
11566 defaultval=no
11567 fi
11568 fi
11569
11570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11571 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11572 # Check whether --enable-statbmp was given.
11573 if test "${enable_statbmp+set}" = set; then
11574 enableval=$enable_statbmp;
11575 if test "$enableval" = yes; then
11576 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11577 else
11578 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11579 fi
11580
11581 else
11582
11583 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11584
11585 fi
11586
11587
11588 eval "$wx_cv_use_statbmp"
11589
11590 if test x"$enablestring" = xdisable; then
11591 if test $wxUSE_STATBMP = yes; then
11592 result=no
11593 else
11594 result=yes
11595 fi
11596 else
11597 result=$wxUSE_STATBMP
11598 fi
11599
11600 { echo "$as_me:$LINENO: result: $result" >&5
11601 echo "${ECHO_T}$result" >&6; }
11602
11603
11604 enablestring=
11605 defaultval=$wxUSE_ALL_FEATURES
11606 if test -z "$defaultval"; then
11607 if test x"$enablestring" = xdisable; then
11608 defaultval=yes
11609 else
11610 defaultval=no
11611 fi
11612 fi
11613
11614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11615 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11616 # Check whether --enable-statbox was given.
11617 if test "${enable_statbox+set}" = set; then
11618 enableval=$enable_statbox;
11619 if test "$enableval" = yes; then
11620 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11621 else
11622 wx_cv_use_statbox='wxUSE_STATBOX=no'
11623 fi
11624
11625 else
11626
11627 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11628
11629 fi
11630
11631
11632 eval "$wx_cv_use_statbox"
11633
11634 if test x"$enablestring" = xdisable; then
11635 if test $wxUSE_STATBOX = yes; then
11636 result=no
11637 else
11638 result=yes
11639 fi
11640 else
11641 result=$wxUSE_STATBOX
11642 fi
11643
11644 { echo "$as_me:$LINENO: result: $result" >&5
11645 echo "${ECHO_T}$result" >&6; }
11646
11647
11648 enablestring=
11649 defaultval=$wxUSE_ALL_FEATURES
11650 if test -z "$defaultval"; then
11651 if test x"$enablestring" = xdisable; then
11652 defaultval=yes
11653 else
11654 defaultval=no
11655 fi
11656 fi
11657
11658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11659 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11660 # Check whether --enable-statline was given.
11661 if test "${enable_statline+set}" = set; then
11662 enableval=$enable_statline;
11663 if test "$enableval" = yes; then
11664 wx_cv_use_statline='wxUSE_STATLINE=yes'
11665 else
11666 wx_cv_use_statline='wxUSE_STATLINE=no'
11667 fi
11668
11669 else
11670
11671 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11672
11673 fi
11674
11675
11676 eval "$wx_cv_use_statline"
11677
11678 if test x"$enablestring" = xdisable; then
11679 if test $wxUSE_STATLINE = yes; then
11680 result=no
11681 else
11682 result=yes
11683 fi
11684 else
11685 result=$wxUSE_STATLINE
11686 fi
11687
11688 { echo "$as_me:$LINENO: result: $result" >&5
11689 echo "${ECHO_T}$result" >&6; }
11690
11691
11692 enablestring=
11693 defaultval=$wxUSE_ALL_FEATURES
11694 if test -z "$defaultval"; then
11695 if test x"$enablestring" = xdisable; then
11696 defaultval=yes
11697 else
11698 defaultval=no
11699 fi
11700 fi
11701
11702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11703 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11704 # Check whether --enable-stattext was given.
11705 if test "${enable_stattext+set}" = set; then
11706 enableval=$enable_stattext;
11707 if test "$enableval" = yes; then
11708 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11709 else
11710 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11711 fi
11712
11713 else
11714
11715 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11716
11717 fi
11718
11719
11720 eval "$wx_cv_use_stattext"
11721
11722 if test x"$enablestring" = xdisable; then
11723 if test $wxUSE_STATTEXT = yes; then
11724 result=no
11725 else
11726 result=yes
11727 fi
11728 else
11729 result=$wxUSE_STATTEXT
11730 fi
11731
11732 { echo "$as_me:$LINENO: result: $result" >&5
11733 echo "${ECHO_T}$result" >&6; }
11734
11735
11736 enablestring=
11737 defaultval=$wxUSE_ALL_FEATURES
11738 if test -z "$defaultval"; then
11739 if test x"$enablestring" = xdisable; then
11740 defaultval=yes
11741 else
11742 defaultval=no
11743 fi
11744 fi
11745
11746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11747 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11748 # Check whether --enable-statusbar was given.
11749 if test "${enable_statusbar+set}" = set; then
11750 enableval=$enable_statusbar;
11751 if test "$enableval" = yes; then
11752 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11753 else
11754 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11755 fi
11756
11757 else
11758
11759 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11760
11761 fi
11762
11763
11764 eval "$wx_cv_use_statusbar"
11765
11766 if test x"$enablestring" = xdisable; then
11767 if test $wxUSE_STATUSBAR = yes; then
11768 result=no
11769 else
11770 result=yes
11771 fi
11772 else
11773 result=$wxUSE_STATUSBAR
11774 fi
11775
11776 { echo "$as_me:$LINENO: result: $result" >&5
11777 echo "${ECHO_T}$result" >&6; }
11778
11779
11780 enablestring=
11781 defaultval=$wxUSE_ALL_FEATURES
11782 if test -z "$defaultval"; then
11783 if test x"$enablestring" = xdisable; then
11784 defaultval=yes
11785 else
11786 defaultval=no
11787 fi
11788 fi
11789
11790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11791 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11792 # Check whether --enable-taskbaricon was given.
11793 if test "${enable_taskbaricon+set}" = set; then
11794 enableval=$enable_taskbaricon;
11795 if test "$enableval" = yes; then
11796 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11797 else
11798 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11799 fi
11800
11801 else
11802
11803 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11804
11805 fi
11806
11807
11808 eval "$wx_cv_use_taskbaricon"
11809
11810 if test x"$enablestring" = xdisable; then
11811 if test $wxUSE_TASKBARICON = yes; then
11812 result=no
11813 else
11814 result=yes
11815 fi
11816 else
11817 result=$wxUSE_TASKBARICON
11818 fi
11819
11820 { echo "$as_me:$LINENO: result: $result" >&5
11821 echo "${ECHO_T}$result" >&6; }
11822
11823
11824 enablestring=
11825 defaultval=$wxUSE_ALL_FEATURES
11826 if test -z "$defaultval"; then
11827 if test x"$enablestring" = xdisable; then
11828 defaultval=yes
11829 else
11830 defaultval=no
11831 fi
11832 fi
11833
11834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11835 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11836 # Check whether --enable-tbarnative was given.
11837 if test "${enable_tbarnative+set}" = set; then
11838 enableval=$enable_tbarnative;
11839 if test "$enableval" = yes; then
11840 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11841 else
11842 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11843 fi
11844
11845 else
11846
11847 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11848
11849 fi
11850
11851
11852 eval "$wx_cv_use_tbarnative"
11853
11854 if test x"$enablestring" = xdisable; then
11855 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11856 result=no
11857 else
11858 result=yes
11859 fi
11860 else
11861 result=$wxUSE_TOOLBAR_NATIVE
11862 fi
11863
11864 { echo "$as_me:$LINENO: result: $result" >&5
11865 echo "${ECHO_T}$result" >&6; }
11866
11867
11868 enablestring=
11869 defaultval=$wxUSE_ALL_FEATURES
11870 if test -z "$defaultval"; then
11871 if test x"$enablestring" = xdisable; then
11872 defaultval=yes
11873 else
11874 defaultval=no
11875 fi
11876 fi
11877
11878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11879 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11880 # Check whether --enable-textctrl was given.
11881 if test "${enable_textctrl+set}" = set; then
11882 enableval=$enable_textctrl;
11883 if test "$enableval" = yes; then
11884 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11885 else
11886 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11887 fi
11888
11889 else
11890
11891 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11892
11893 fi
11894
11895
11896 eval "$wx_cv_use_textctrl"
11897
11898 if test x"$enablestring" = xdisable; then
11899 if test $wxUSE_TEXTCTRL = yes; then
11900 result=no
11901 else
11902 result=yes
11903 fi
11904 else
11905 result=$wxUSE_TEXTCTRL
11906 fi
11907
11908 { echo "$as_me:$LINENO: result: $result" >&5
11909 echo "${ECHO_T}$result" >&6; }
11910
11911
11912 enablestring=
11913 defaultval=$wxUSE_ALL_FEATURES
11914 if test -z "$defaultval"; then
11915 if test x"$enablestring" = xdisable; then
11916 defaultval=yes
11917 else
11918 defaultval=no
11919 fi
11920 fi
11921
11922 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11923 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11924 # Check whether --enable-tipwindow was given.
11925 if test "${enable_tipwindow+set}" = set; then
11926 enableval=$enable_tipwindow;
11927 if test "$enableval" = yes; then
11928 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11929 else
11930 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11931 fi
11932
11933 else
11934
11935 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11936
11937 fi
11938
11939
11940 eval "$wx_cv_use_tipwindow"
11941
11942 if test x"$enablestring" = xdisable; then
11943 if test $wxUSE_TIPWINDOW = yes; then
11944 result=no
11945 else
11946 result=yes
11947 fi
11948 else
11949 result=$wxUSE_TIPWINDOW
11950 fi
11951
11952 { echo "$as_me:$LINENO: result: $result" >&5
11953 echo "${ECHO_T}$result" >&6; }
11954
11955
11956 enablestring=
11957 defaultval=$wxUSE_ALL_FEATURES
11958 if test -z "$defaultval"; then
11959 if test x"$enablestring" = xdisable; then
11960 defaultval=yes
11961 else
11962 defaultval=no
11963 fi
11964 fi
11965
11966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11967 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11968 # Check whether --enable-togglebtn was given.
11969 if test "${enable_togglebtn+set}" = set; then
11970 enableval=$enable_togglebtn;
11971 if test "$enableval" = yes; then
11972 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11973 else
11974 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11975 fi
11976
11977 else
11978
11979 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11980
11981 fi
11982
11983
11984 eval "$wx_cv_use_togglebtn"
11985
11986 if test x"$enablestring" = xdisable; then
11987 if test $wxUSE_TOGGLEBTN = yes; then
11988 result=no
11989 else
11990 result=yes
11991 fi
11992 else
11993 result=$wxUSE_TOGGLEBTN
11994 fi
11995
11996 { echo "$as_me:$LINENO: result: $result" >&5
11997 echo "${ECHO_T}$result" >&6; }
11998
11999
12000 enablestring=
12001 defaultval=$wxUSE_ALL_FEATURES
12002 if test -z "$defaultval"; then
12003 if test x"$enablestring" = xdisable; then
12004 defaultval=yes
12005 else
12006 defaultval=no
12007 fi
12008 fi
12009
12010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12011 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12012 # Check whether --enable-toolbar was given.
12013 if test "${enable_toolbar+set}" = set; then
12014 enableval=$enable_toolbar;
12015 if test "$enableval" = yes; then
12016 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12017 else
12018 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12019 fi
12020
12021 else
12022
12023 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12024
12025 fi
12026
12027
12028 eval "$wx_cv_use_toolbar"
12029
12030 if test x"$enablestring" = xdisable; then
12031 if test $wxUSE_TOOLBAR = yes; then
12032 result=no
12033 else
12034 result=yes
12035 fi
12036 else
12037 result=$wxUSE_TOOLBAR
12038 fi
12039
12040 { echo "$as_me:$LINENO: result: $result" >&5
12041 echo "${ECHO_T}$result" >&6; }
12042
12043
12044 enablestring=
12045 defaultval=$wxUSE_ALL_FEATURES
12046 if test -z "$defaultval"; then
12047 if test x"$enablestring" = xdisable; then
12048 defaultval=yes
12049 else
12050 defaultval=no
12051 fi
12052 fi
12053
12054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12055 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12056 # Check whether --enable-toolbook was given.
12057 if test "${enable_toolbook+set}" = set; then
12058 enableval=$enable_toolbook;
12059 if test "$enableval" = yes; then
12060 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12061 else
12062 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12063 fi
12064
12065 else
12066
12067 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12068
12069 fi
12070
12071
12072 eval "$wx_cv_use_toolbook"
12073
12074 if test x"$enablestring" = xdisable; then
12075 if test $wxUSE_TOOLBOOK = yes; then
12076 result=no
12077 else
12078 result=yes
12079 fi
12080 else
12081 result=$wxUSE_TOOLBOOK
12082 fi
12083
12084 { echo "$as_me:$LINENO: result: $result" >&5
12085 echo "${ECHO_T}$result" >&6; }
12086
12087
12088 enablestring=
12089 defaultval=$wxUSE_ALL_FEATURES
12090 if test -z "$defaultval"; then
12091 if test x"$enablestring" = xdisable; then
12092 defaultval=yes
12093 else
12094 defaultval=no
12095 fi
12096 fi
12097
12098 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12099 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12100 # Check whether --enable-treebook was given.
12101 if test "${enable_treebook+set}" = set; then
12102 enableval=$enable_treebook;
12103 if test "$enableval" = yes; then
12104 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12105 else
12106 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12107 fi
12108
12109 else
12110
12111 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12112
12113 fi
12114
12115
12116 eval "$wx_cv_use_treebook"
12117
12118 if test x"$enablestring" = xdisable; then
12119 if test $wxUSE_TREEBOOK = yes; then
12120 result=no
12121 else
12122 result=yes
12123 fi
12124 else
12125 result=$wxUSE_TREEBOOK
12126 fi
12127
12128 { echo "$as_me:$LINENO: result: $result" >&5
12129 echo "${ECHO_T}$result" >&6; }
12130
12131
12132 enablestring=
12133 defaultval=$wxUSE_ALL_FEATURES
12134 if test -z "$defaultval"; then
12135 if test x"$enablestring" = xdisable; then
12136 defaultval=yes
12137 else
12138 defaultval=no
12139 fi
12140 fi
12141
12142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12143 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12144 # Check whether --enable-treectrl was given.
12145 if test "${enable_treectrl+set}" = set; then
12146 enableval=$enable_treectrl;
12147 if test "$enableval" = yes; then
12148 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12149 else
12150 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12151 fi
12152
12153 else
12154
12155 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12156
12157 fi
12158
12159
12160 eval "$wx_cv_use_treectrl"
12161
12162 if test x"$enablestring" = xdisable; then
12163 if test $wxUSE_TREECTRL = yes; then
12164 result=no
12165 else
12166 result=yes
12167 fi
12168 else
12169 result=$wxUSE_TREECTRL
12170 fi
12171
12172 { echo "$as_me:$LINENO: result: $result" >&5
12173 echo "${ECHO_T}$result" >&6; }
12174
12175
12176
12177
12178 enablestring=
12179 defaultval=$wxUSE_ALL_FEATURES
12180 if test -z "$defaultval"; then
12181 if test x"$enablestring" = xdisable; then
12182 defaultval=yes
12183 else
12184 defaultval=no
12185 fi
12186 fi
12187
12188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12189 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12190 # Check whether --enable-commondlg was given.
12191 if test "${enable_commondlg+set}" = set; then
12192 enableval=$enable_commondlg;
12193 if test "$enableval" = yes; then
12194 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12195 else
12196 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12197 fi
12198
12199 else
12200
12201 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12202
12203 fi
12204
12205
12206 eval "$wx_cv_use_commondlg"
12207
12208 if test x"$enablestring" = xdisable; then
12209 if test $wxUSE_COMMONDLGS = yes; then
12210 result=no
12211 else
12212 result=yes
12213 fi
12214 else
12215 result=$wxUSE_COMMONDLGS
12216 fi
12217
12218 { echo "$as_me:$LINENO: result: $result" >&5
12219 echo "${ECHO_T}$result" >&6; }
12220
12221
12222 enablestring=
12223 defaultval=$wxUSE_ALL_FEATURES
12224 if test -z "$defaultval"; then
12225 if test x"$enablestring" = xdisable; then
12226 defaultval=yes
12227 else
12228 defaultval=no
12229 fi
12230 fi
12231
12232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12233 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12234 # Check whether --enable-aboutdlg was given.
12235 if test "${enable_aboutdlg+set}" = set; then
12236 enableval=$enable_aboutdlg;
12237 if test "$enableval" = yes; then
12238 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12239 else
12240 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12241 fi
12242
12243 else
12244
12245 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12246
12247 fi
12248
12249
12250 eval "$wx_cv_use_aboutdlg"
12251
12252 if test x"$enablestring" = xdisable; then
12253 if test $wxUSE_ABOUTDLG = yes; then
12254 result=no
12255 else
12256 result=yes
12257 fi
12258 else
12259 result=$wxUSE_ABOUTDLG
12260 fi
12261
12262 { echo "$as_me:$LINENO: result: $result" >&5
12263 echo "${ECHO_T}$result" >&6; }
12264
12265
12266 enablestring=
12267 defaultval=$wxUSE_ALL_FEATURES
12268 if test -z "$defaultval"; then
12269 if test x"$enablestring" = xdisable; then
12270 defaultval=yes
12271 else
12272 defaultval=no
12273 fi
12274 fi
12275
12276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12277 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12278 # Check whether --enable-choicedlg was given.
12279 if test "${enable_choicedlg+set}" = set; then
12280 enableval=$enable_choicedlg;
12281 if test "$enableval" = yes; then
12282 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12283 else
12284 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12285 fi
12286
12287 else
12288
12289 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12290
12291 fi
12292
12293
12294 eval "$wx_cv_use_choicedlg"
12295
12296 if test x"$enablestring" = xdisable; then
12297 if test $wxUSE_CHOICEDLG = yes; then
12298 result=no
12299 else
12300 result=yes
12301 fi
12302 else
12303 result=$wxUSE_CHOICEDLG
12304 fi
12305
12306 { echo "$as_me:$LINENO: result: $result" >&5
12307 echo "${ECHO_T}$result" >&6; }
12308
12309
12310 enablestring=
12311 defaultval=$wxUSE_ALL_FEATURES
12312 if test -z "$defaultval"; then
12313 if test x"$enablestring" = xdisable; then
12314 defaultval=yes
12315 else
12316 defaultval=no
12317 fi
12318 fi
12319
12320 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12321 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12322 # Check whether --enable-coldlg was given.
12323 if test "${enable_coldlg+set}" = set; then
12324 enableval=$enable_coldlg;
12325 if test "$enableval" = yes; then
12326 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12327 else
12328 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12329 fi
12330
12331 else
12332
12333 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12334
12335 fi
12336
12337
12338 eval "$wx_cv_use_coldlg"
12339
12340 if test x"$enablestring" = xdisable; then
12341 if test $wxUSE_COLOURDLG = yes; then
12342 result=no
12343 else
12344 result=yes
12345 fi
12346 else
12347 result=$wxUSE_COLOURDLG
12348 fi
12349
12350 { echo "$as_me:$LINENO: result: $result" >&5
12351 echo "${ECHO_T}$result" >&6; }
12352
12353
12354 enablestring=
12355 defaultval=$wxUSE_ALL_FEATURES
12356 if test -z "$defaultval"; then
12357 if test x"$enablestring" = xdisable; then
12358 defaultval=yes
12359 else
12360 defaultval=no
12361 fi
12362 fi
12363
12364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12365 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12366 # Check whether --enable-filedlg was given.
12367 if test "${enable_filedlg+set}" = set; then
12368 enableval=$enable_filedlg;
12369 if test "$enableval" = yes; then
12370 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12371 else
12372 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12373 fi
12374
12375 else
12376
12377 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12378
12379 fi
12380
12381
12382 eval "$wx_cv_use_filedlg"
12383
12384 if test x"$enablestring" = xdisable; then
12385 if test $wxUSE_FILEDLG = yes; then
12386 result=no
12387 else
12388 result=yes
12389 fi
12390 else
12391 result=$wxUSE_FILEDLG
12392 fi
12393
12394 { echo "$as_me:$LINENO: result: $result" >&5
12395 echo "${ECHO_T}$result" >&6; }
12396
12397
12398 enablestring=
12399 defaultval=$wxUSE_ALL_FEATURES
12400 if test -z "$defaultval"; then
12401 if test x"$enablestring" = xdisable; then
12402 defaultval=yes
12403 else
12404 defaultval=no
12405 fi
12406 fi
12407
12408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12409 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12410 # Check whether --enable-finddlg was given.
12411 if test "${enable_finddlg+set}" = set; then
12412 enableval=$enable_finddlg;
12413 if test "$enableval" = yes; then
12414 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12415 else
12416 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12417 fi
12418
12419 else
12420
12421 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12422
12423 fi
12424
12425
12426 eval "$wx_cv_use_finddlg"
12427
12428 if test x"$enablestring" = xdisable; then
12429 if test $wxUSE_FINDREPLDLG = yes; then
12430 result=no
12431 else
12432 result=yes
12433 fi
12434 else
12435 result=$wxUSE_FINDREPLDLG
12436 fi
12437
12438 { echo "$as_me:$LINENO: result: $result" >&5
12439 echo "${ECHO_T}$result" >&6; }
12440
12441
12442 enablestring=
12443 defaultval=$wxUSE_ALL_FEATURES
12444 if test -z "$defaultval"; then
12445 if test x"$enablestring" = xdisable; then
12446 defaultval=yes
12447 else
12448 defaultval=no
12449 fi
12450 fi
12451
12452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12453 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12454 # Check whether --enable-fontdlg was given.
12455 if test "${enable_fontdlg+set}" = set; then
12456 enableval=$enable_fontdlg;
12457 if test "$enableval" = yes; then
12458 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12459 else
12460 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12461 fi
12462
12463 else
12464
12465 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12466
12467 fi
12468
12469
12470 eval "$wx_cv_use_fontdlg"
12471
12472 if test x"$enablestring" = xdisable; then
12473 if test $wxUSE_FONTDLG = yes; then
12474 result=no
12475 else
12476 result=yes
12477 fi
12478 else
12479 result=$wxUSE_FONTDLG
12480 fi
12481
12482 { echo "$as_me:$LINENO: result: $result" >&5
12483 echo "${ECHO_T}$result" >&6; }
12484
12485
12486 enablestring=
12487 defaultval=$wxUSE_ALL_FEATURES
12488 if test -z "$defaultval"; then
12489 if test x"$enablestring" = xdisable; then
12490 defaultval=yes
12491 else
12492 defaultval=no
12493 fi
12494 fi
12495
12496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12497 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12498 # Check whether --enable-dirdlg was given.
12499 if test "${enable_dirdlg+set}" = set; then
12500 enableval=$enable_dirdlg;
12501 if test "$enableval" = yes; then
12502 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12503 else
12504 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12505 fi
12506
12507 else
12508
12509 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12510
12511 fi
12512
12513
12514 eval "$wx_cv_use_dirdlg"
12515
12516 if test x"$enablestring" = xdisable; then
12517 if test $wxUSE_DIRDLG = yes; then
12518 result=no
12519 else
12520 result=yes
12521 fi
12522 else
12523 result=$wxUSE_DIRDLG
12524 fi
12525
12526 { echo "$as_me:$LINENO: result: $result" >&5
12527 echo "${ECHO_T}$result" >&6; }
12528
12529
12530 enablestring=
12531 defaultval=$wxUSE_ALL_FEATURES
12532 if test -z "$defaultval"; then
12533 if test x"$enablestring" = xdisable; then
12534 defaultval=yes
12535 else
12536 defaultval=no
12537 fi
12538 fi
12539
12540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12541 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12542 # Check whether --enable-msgdlg was given.
12543 if test "${enable_msgdlg+set}" = set; then
12544 enableval=$enable_msgdlg;
12545 if test "$enableval" = yes; then
12546 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12547 else
12548 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12549 fi
12550
12551 else
12552
12553 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12554
12555 fi
12556
12557
12558 eval "$wx_cv_use_msgdlg"
12559
12560 if test x"$enablestring" = xdisable; then
12561 if test $wxUSE_MSGDLG = yes; then
12562 result=no
12563 else
12564 result=yes
12565 fi
12566 else
12567 result=$wxUSE_MSGDLG
12568 fi
12569
12570 { echo "$as_me:$LINENO: result: $result" >&5
12571 echo "${ECHO_T}$result" >&6; }
12572
12573
12574 enablestring=
12575 defaultval=$wxUSE_ALL_FEATURES
12576 if test -z "$defaultval"; then
12577 if test x"$enablestring" = xdisable; then
12578 defaultval=yes
12579 else
12580 defaultval=no
12581 fi
12582 fi
12583
12584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12585 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12586 # Check whether --enable-numberdlg was given.
12587 if test "${enable_numberdlg+set}" = set; then
12588 enableval=$enable_numberdlg;
12589 if test "$enableval" = yes; then
12590 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12591 else
12592 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12593 fi
12594
12595 else
12596
12597 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12598
12599 fi
12600
12601
12602 eval "$wx_cv_use_numberdlg"
12603
12604 if test x"$enablestring" = xdisable; then
12605 if test $wxUSE_NUMBERDLG = yes; then
12606 result=no
12607 else
12608 result=yes
12609 fi
12610 else
12611 result=$wxUSE_NUMBERDLG
12612 fi
12613
12614 { echo "$as_me:$LINENO: result: $result" >&5
12615 echo "${ECHO_T}$result" >&6; }
12616
12617
12618 enablestring=
12619 defaultval=$wxUSE_ALL_FEATURES
12620 if test -z "$defaultval"; then
12621 if test x"$enablestring" = xdisable; then
12622 defaultval=yes
12623 else
12624 defaultval=no
12625 fi
12626 fi
12627
12628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12629 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12630 # Check whether --enable-splash was given.
12631 if test "${enable_splash+set}" = set; then
12632 enableval=$enable_splash;
12633 if test "$enableval" = yes; then
12634 wx_cv_use_splash='wxUSE_SPLASH=yes'
12635 else
12636 wx_cv_use_splash='wxUSE_SPLASH=no'
12637 fi
12638
12639 else
12640
12641 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12642
12643 fi
12644
12645
12646 eval "$wx_cv_use_splash"
12647
12648 if test x"$enablestring" = xdisable; then
12649 if test $wxUSE_SPLASH = yes; then
12650 result=no
12651 else
12652 result=yes
12653 fi
12654 else
12655 result=$wxUSE_SPLASH
12656 fi
12657
12658 { echo "$as_me:$LINENO: result: $result" >&5
12659 echo "${ECHO_T}$result" >&6; }
12660
12661
12662 enablestring=
12663 defaultval=$wxUSE_ALL_FEATURES
12664 if test -z "$defaultval"; then
12665 if test x"$enablestring" = xdisable; then
12666 defaultval=yes
12667 else
12668 defaultval=no
12669 fi
12670 fi
12671
12672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12673 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12674 # Check whether --enable-textdlg was given.
12675 if test "${enable_textdlg+set}" = set; then
12676 enableval=$enable_textdlg;
12677 if test "$enableval" = yes; then
12678 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12679 else
12680 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12681 fi
12682
12683 else
12684
12685 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12686
12687 fi
12688
12689
12690 eval "$wx_cv_use_textdlg"
12691
12692 if test x"$enablestring" = xdisable; then
12693 if test $wxUSE_TEXTDLG = yes; then
12694 result=no
12695 else
12696 result=yes
12697 fi
12698 else
12699 result=$wxUSE_TEXTDLG
12700 fi
12701
12702 { echo "$as_me:$LINENO: result: $result" >&5
12703 echo "${ECHO_T}$result" >&6; }
12704
12705
12706 enablestring=
12707 defaultval=$wxUSE_ALL_FEATURES
12708 if test -z "$defaultval"; then
12709 if test x"$enablestring" = xdisable; then
12710 defaultval=yes
12711 else
12712 defaultval=no
12713 fi
12714 fi
12715
12716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12717 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12718 # Check whether --enable-tipdlg was given.
12719 if test "${enable_tipdlg+set}" = set; then
12720 enableval=$enable_tipdlg;
12721 if test "$enableval" = yes; then
12722 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12723 else
12724 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12725 fi
12726
12727 else
12728
12729 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12730
12731 fi
12732
12733
12734 eval "$wx_cv_use_tipdlg"
12735
12736 if test x"$enablestring" = xdisable; then
12737 if test $wxUSE_STARTUP_TIPS = yes; then
12738 result=no
12739 else
12740 result=yes
12741 fi
12742 else
12743 result=$wxUSE_STARTUP_TIPS
12744 fi
12745
12746 { echo "$as_me:$LINENO: result: $result" >&5
12747 echo "${ECHO_T}$result" >&6; }
12748
12749
12750 enablestring=
12751 defaultval=$wxUSE_ALL_FEATURES
12752 if test -z "$defaultval"; then
12753 if test x"$enablestring" = xdisable; then
12754 defaultval=yes
12755 else
12756 defaultval=no
12757 fi
12758 fi
12759
12760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12761 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12762 # Check whether --enable-progressdlg was given.
12763 if test "${enable_progressdlg+set}" = set; then
12764 enableval=$enable_progressdlg;
12765 if test "$enableval" = yes; then
12766 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12767 else
12768 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12769 fi
12770
12771 else
12772
12773 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12774
12775 fi
12776
12777
12778 eval "$wx_cv_use_progressdlg"
12779
12780 if test x"$enablestring" = xdisable; then
12781 if test $wxUSE_PROGRESSDLG = yes; then
12782 result=no
12783 else
12784 result=yes
12785 fi
12786 else
12787 result=$wxUSE_PROGRESSDLG
12788 fi
12789
12790 { echo "$as_me:$LINENO: result: $result" >&5
12791 echo "${ECHO_T}$result" >&6; }
12792
12793
12794 enablestring=
12795 defaultval=$wxUSE_ALL_FEATURES
12796 if test -z "$defaultval"; then
12797 if test x"$enablestring" = xdisable; then
12798 defaultval=yes
12799 else
12800 defaultval=no
12801 fi
12802 fi
12803
12804 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12805 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12806 # Check whether --enable-wizarddlg was given.
12807 if test "${enable_wizarddlg+set}" = set; then
12808 enableval=$enable_wizarddlg;
12809 if test "$enableval" = yes; then
12810 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12811 else
12812 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12813 fi
12814
12815 else
12816
12817 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12818
12819 fi
12820
12821
12822 eval "$wx_cv_use_wizarddlg"
12823
12824 if test x"$enablestring" = xdisable; then
12825 if test $wxUSE_WIZARDDLG = yes; then
12826 result=no
12827 else
12828 result=yes
12829 fi
12830 else
12831 result=$wxUSE_WIZARDDLG
12832 fi
12833
12834 { echo "$as_me:$LINENO: result: $result" >&5
12835 echo "${ECHO_T}$result" >&6; }
12836
12837
12838
12839
12840 enablestring=
12841 defaultval=$wxUSE_ALL_FEATURES
12842 if test -z "$defaultval"; then
12843 if test x"$enablestring" = xdisable; then
12844 defaultval=yes
12845 else
12846 defaultval=no
12847 fi
12848 fi
12849
12850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12851 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12852 # Check whether --enable-menus was given.
12853 if test "${enable_menus+set}" = set; then
12854 enableval=$enable_menus;
12855 if test "$enableval" = yes; then
12856 wx_cv_use_menus='wxUSE_MENUS=yes'
12857 else
12858 wx_cv_use_menus='wxUSE_MENUS=no'
12859 fi
12860
12861 else
12862
12863 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12864
12865 fi
12866
12867
12868 eval "$wx_cv_use_menus"
12869
12870 if test x"$enablestring" = xdisable; then
12871 if test $wxUSE_MENUS = yes; then
12872 result=no
12873 else
12874 result=yes
12875 fi
12876 else
12877 result=$wxUSE_MENUS
12878 fi
12879
12880 { echo "$as_me:$LINENO: result: $result" >&5
12881 echo "${ECHO_T}$result" >&6; }
12882
12883
12884 enablestring=
12885 defaultval=$wxUSE_ALL_FEATURES
12886 if test -z "$defaultval"; then
12887 if test x"$enablestring" = xdisable; then
12888 defaultval=yes
12889 else
12890 defaultval=no
12891 fi
12892 fi
12893
12894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12895 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12896 # Check whether --enable-miniframe was given.
12897 if test "${enable_miniframe+set}" = set; then
12898 enableval=$enable_miniframe;
12899 if test "$enableval" = yes; then
12900 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12901 else
12902 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12903 fi
12904
12905 else
12906
12907 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12908
12909 fi
12910
12911
12912 eval "$wx_cv_use_miniframe"
12913
12914 if test x"$enablestring" = xdisable; then
12915 if test $wxUSE_MINIFRAME = yes; then
12916 result=no
12917 else
12918 result=yes
12919 fi
12920 else
12921 result=$wxUSE_MINIFRAME
12922 fi
12923
12924 { echo "$as_me:$LINENO: result: $result" >&5
12925 echo "${ECHO_T}$result" >&6; }
12926
12927
12928 enablestring=
12929 defaultval=$wxUSE_ALL_FEATURES
12930 if test -z "$defaultval"; then
12931 if test x"$enablestring" = xdisable; then
12932 defaultval=yes
12933 else
12934 defaultval=no
12935 fi
12936 fi
12937
12938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12939 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12940 # Check whether --enable-tooltips was given.
12941 if test "${enable_tooltips+set}" = set; then
12942 enableval=$enable_tooltips;
12943 if test "$enableval" = yes; then
12944 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12945 else
12946 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12947 fi
12948
12949 else
12950
12951 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12952
12953 fi
12954
12955
12956 eval "$wx_cv_use_tooltips"
12957
12958 if test x"$enablestring" = xdisable; then
12959 if test $wxUSE_TOOLTIPS = yes; then
12960 result=no
12961 else
12962 result=yes
12963 fi
12964 else
12965 result=$wxUSE_TOOLTIPS
12966 fi
12967
12968 { echo "$as_me:$LINENO: result: $result" >&5
12969 echo "${ECHO_T}$result" >&6; }
12970
12971
12972 enablestring=
12973 defaultval=$wxUSE_ALL_FEATURES
12974 if test -z "$defaultval"; then
12975 if test x"$enablestring" = xdisable; then
12976 defaultval=yes
12977 else
12978 defaultval=no
12979 fi
12980 fi
12981
12982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12983 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12984 # Check whether --enable-splines was given.
12985 if test "${enable_splines+set}" = set; then
12986 enableval=$enable_splines;
12987 if test "$enableval" = yes; then
12988 wx_cv_use_splines='wxUSE_SPLINES=yes'
12989 else
12990 wx_cv_use_splines='wxUSE_SPLINES=no'
12991 fi
12992
12993 else
12994
12995 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12996
12997 fi
12998
12999
13000 eval "$wx_cv_use_splines"
13001
13002 if test x"$enablestring" = xdisable; then
13003 if test $wxUSE_SPLINES = yes; then
13004 result=no
13005 else
13006 result=yes
13007 fi
13008 else
13009 result=$wxUSE_SPLINES
13010 fi
13011
13012 { echo "$as_me:$LINENO: result: $result" >&5
13013 echo "${ECHO_T}$result" >&6; }
13014
13015
13016 enablestring=
13017 defaultval=$wxUSE_ALL_FEATURES
13018 if test -z "$defaultval"; then
13019 if test x"$enablestring" = xdisable; then
13020 defaultval=yes
13021 else
13022 defaultval=no
13023 fi
13024 fi
13025
13026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13027 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13028 # Check whether --enable-mousewheel was given.
13029 if test "${enable_mousewheel+set}" = set; then
13030 enableval=$enable_mousewheel;
13031 if test "$enableval" = yes; then
13032 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13033 else
13034 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13035 fi
13036
13037 else
13038
13039 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13040
13041 fi
13042
13043
13044 eval "$wx_cv_use_mousewheel"
13045
13046 if test x"$enablestring" = xdisable; then
13047 if test $wxUSE_MOUSEWHEEL = yes; then
13048 result=no
13049 else
13050 result=yes
13051 fi
13052 else
13053 result=$wxUSE_MOUSEWHEEL
13054 fi
13055
13056 { echo "$as_me:$LINENO: result: $result" >&5
13057 echo "${ECHO_T}$result" >&6; }
13058
13059
13060 enablestring=
13061 defaultval=$wxUSE_ALL_FEATURES
13062 if test -z "$defaultval"; then
13063 if test x"$enablestring" = xdisable; then
13064 defaultval=yes
13065 else
13066 defaultval=no
13067 fi
13068 fi
13069
13070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13071 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13072 # Check whether --enable-validators was given.
13073 if test "${enable_validators+set}" = set; then
13074 enableval=$enable_validators;
13075 if test "$enableval" = yes; then
13076 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13077 else
13078 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13079 fi
13080
13081 else
13082
13083 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13084
13085 fi
13086
13087
13088 eval "$wx_cv_use_validators"
13089
13090 if test x"$enablestring" = xdisable; then
13091 if test $wxUSE_VALIDATORS = yes; then
13092 result=no
13093 else
13094 result=yes
13095 fi
13096 else
13097 result=$wxUSE_VALIDATORS
13098 fi
13099
13100 { echo "$as_me:$LINENO: result: $result" >&5
13101 echo "${ECHO_T}$result" >&6; }
13102
13103
13104 enablestring=
13105 defaultval=$wxUSE_ALL_FEATURES
13106 if test -z "$defaultval"; then
13107 if test x"$enablestring" = xdisable; then
13108 defaultval=yes
13109 else
13110 defaultval=no
13111 fi
13112 fi
13113
13114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13115 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13116 # Check whether --enable-busyinfo was given.
13117 if test "${enable_busyinfo+set}" = set; then
13118 enableval=$enable_busyinfo;
13119 if test "$enableval" = yes; then
13120 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13121 else
13122 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13123 fi
13124
13125 else
13126
13127 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13128
13129 fi
13130
13131
13132 eval "$wx_cv_use_busyinfo"
13133
13134 if test x"$enablestring" = xdisable; then
13135 if test $wxUSE_BUSYINFO = yes; then
13136 result=no
13137 else
13138 result=yes
13139 fi
13140 else
13141 result=$wxUSE_BUSYINFO
13142 fi
13143
13144 { echo "$as_me:$LINENO: result: $result" >&5
13145 echo "${ECHO_T}$result" >&6; }
13146
13147
13148 enablestring=
13149 defaultval=$wxUSE_ALL_FEATURES
13150 if test -z "$defaultval"; then
13151 if test x"$enablestring" = xdisable; then
13152 defaultval=yes
13153 else
13154 defaultval=no
13155 fi
13156 fi
13157
13158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13159 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13160 # Check whether --enable-joystick was given.
13161 if test "${enable_joystick+set}" = set; then
13162 enableval=$enable_joystick;
13163 if test "$enableval" = yes; then
13164 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13165 else
13166 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13167 fi
13168
13169 else
13170
13171 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13172
13173 fi
13174
13175
13176 eval "$wx_cv_use_joystick"
13177
13178 if test x"$enablestring" = xdisable; then
13179 if test $wxUSE_JOYSTICK = yes; then
13180 result=no
13181 else
13182 result=yes
13183 fi
13184 else
13185 result=$wxUSE_JOYSTICK
13186 fi
13187
13188 { echo "$as_me:$LINENO: result: $result" >&5
13189 echo "${ECHO_T}$result" >&6; }
13190
13191
13192 enablestring=
13193 defaultval=$wxUSE_ALL_FEATURES
13194 if test -z "$defaultval"; then
13195 if test x"$enablestring" = xdisable; then
13196 defaultval=yes
13197 else
13198 defaultval=no
13199 fi
13200 fi
13201
13202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13203 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13204 # Check whether --enable-metafile was given.
13205 if test "${enable_metafile+set}" = set; then
13206 enableval=$enable_metafile;
13207 if test "$enableval" = yes; then
13208 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13209 else
13210 wx_cv_use_metafile='wxUSE_METAFILE=no'
13211 fi
13212
13213 else
13214
13215 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13216
13217 fi
13218
13219
13220 eval "$wx_cv_use_metafile"
13221
13222 if test x"$enablestring" = xdisable; then
13223 if test $wxUSE_METAFILE = yes; then
13224 result=no
13225 else
13226 result=yes
13227 fi
13228 else
13229 result=$wxUSE_METAFILE
13230 fi
13231
13232 { echo "$as_me:$LINENO: result: $result" >&5
13233 echo "${ECHO_T}$result" >&6; }
13234
13235
13236 enablestring=
13237 defaultval=$wxUSE_ALL_FEATURES
13238 if test -z "$defaultval"; then
13239 if test x"$enablestring" = xdisable; then
13240 defaultval=yes
13241 else
13242 defaultval=no
13243 fi
13244 fi
13245
13246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13247 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13248 # Check whether --enable-dragimage was given.
13249 if test "${enable_dragimage+set}" = set; then
13250 enableval=$enable_dragimage;
13251 if test "$enableval" = yes; then
13252 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13253 else
13254 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13255 fi
13256
13257 else
13258
13259 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13260
13261 fi
13262
13263
13264 eval "$wx_cv_use_dragimage"
13265
13266 if test x"$enablestring" = xdisable; then
13267 if test $wxUSE_DRAGIMAGE = yes; then
13268 result=no
13269 else
13270 result=yes
13271 fi
13272 else
13273 result=$wxUSE_DRAGIMAGE
13274 fi
13275
13276 { echo "$as_me:$LINENO: result: $result" >&5
13277 echo "${ECHO_T}$result" >&6; }
13278
13279
13280 enablestring=
13281 defaultval=$wxUSE_ALL_FEATURES
13282 if test -z "$defaultval"; then
13283 if test x"$enablestring" = xdisable; then
13284 defaultval=yes
13285 else
13286 defaultval=no
13287 fi
13288 fi
13289
13290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13291 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13292 # Check whether --enable-accessibility was given.
13293 if test "${enable_accessibility+set}" = set; then
13294 enableval=$enable_accessibility;
13295 if test "$enableval" = yes; then
13296 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13297 else
13298 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13299 fi
13300
13301 else
13302
13303 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13304
13305 fi
13306
13307
13308 eval "$wx_cv_use_accessibility"
13309
13310 if test x"$enablestring" = xdisable; then
13311 if test $wxUSE_ACCESSIBILITY = yes; then
13312 result=no
13313 else
13314 result=yes
13315 fi
13316 else
13317 result=$wxUSE_ACCESSIBILITY
13318 fi
13319
13320 { echo "$as_me:$LINENO: result: $result" >&5
13321 echo "${ECHO_T}$result" >&6; }
13322
13323
13324
13325
13326 enablestring=
13327 defaultval=$wxUSE_ALL_FEATURES
13328 if test -z "$defaultval"; then
13329 if test x"$enablestring" = xdisable; then
13330 defaultval=yes
13331 else
13332 defaultval=no
13333 fi
13334 fi
13335
13336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13337 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13338 # Check whether --enable-palette was given.
13339 if test "${enable_palette+set}" = set; then
13340 enableval=$enable_palette;
13341 if test "$enableval" = yes; then
13342 wx_cv_use_palette='wxUSE_PALETTE=yes'
13343 else
13344 wx_cv_use_palette='wxUSE_PALETTE=no'
13345 fi
13346
13347 else
13348
13349 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13350
13351 fi
13352
13353
13354 eval "$wx_cv_use_palette"
13355
13356 if test x"$enablestring" = xdisable; then
13357 if test $wxUSE_PALETTE = yes; then
13358 result=no
13359 else
13360 result=yes
13361 fi
13362 else
13363 result=$wxUSE_PALETTE
13364 fi
13365
13366 { echo "$as_me:$LINENO: result: $result" >&5
13367 echo "${ECHO_T}$result" >&6; }
13368
13369
13370 enablestring=
13371 defaultval=$wxUSE_ALL_FEATURES
13372 if test -z "$defaultval"; then
13373 if test x"$enablestring" = xdisable; then
13374 defaultval=yes
13375 else
13376 defaultval=no
13377 fi
13378 fi
13379
13380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13381 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13382 # Check whether --enable-image was given.
13383 if test "${enable_image+set}" = set; then
13384 enableval=$enable_image;
13385 if test "$enableval" = yes; then
13386 wx_cv_use_image='wxUSE_IMAGE=yes'
13387 else
13388 wx_cv_use_image='wxUSE_IMAGE=no'
13389 fi
13390
13391 else
13392
13393 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13394
13395 fi
13396
13397
13398 eval "$wx_cv_use_image"
13399
13400 if test x"$enablestring" = xdisable; then
13401 if test $wxUSE_IMAGE = yes; then
13402 result=no
13403 else
13404 result=yes
13405 fi
13406 else
13407 result=$wxUSE_IMAGE
13408 fi
13409
13410 { echo "$as_me:$LINENO: result: $result" >&5
13411 echo "${ECHO_T}$result" >&6; }
13412
13413
13414 enablestring=
13415 defaultval=$wxUSE_ALL_FEATURES
13416 if test -z "$defaultval"; then
13417 if test x"$enablestring" = xdisable; then
13418 defaultval=yes
13419 else
13420 defaultval=no
13421 fi
13422 fi
13423
13424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13425 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13426 # Check whether --enable-gif was given.
13427 if test "${enable_gif+set}" = set; then
13428 enableval=$enable_gif;
13429 if test "$enableval" = yes; then
13430 wx_cv_use_gif='wxUSE_GIF=yes'
13431 else
13432 wx_cv_use_gif='wxUSE_GIF=no'
13433 fi
13434
13435 else
13436
13437 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13438
13439 fi
13440
13441
13442 eval "$wx_cv_use_gif"
13443
13444 if test x"$enablestring" = xdisable; then
13445 if test $wxUSE_GIF = yes; then
13446 result=no
13447 else
13448 result=yes
13449 fi
13450 else
13451 result=$wxUSE_GIF
13452 fi
13453
13454 { echo "$as_me:$LINENO: result: $result" >&5
13455 echo "${ECHO_T}$result" >&6; }
13456
13457
13458 enablestring=
13459 defaultval=$wxUSE_ALL_FEATURES
13460 if test -z "$defaultval"; then
13461 if test x"$enablestring" = xdisable; then
13462 defaultval=yes
13463 else
13464 defaultval=no
13465 fi
13466 fi
13467
13468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13469 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13470 # Check whether --enable-pcx was given.
13471 if test "${enable_pcx+set}" = set; then
13472 enableval=$enable_pcx;
13473 if test "$enableval" = yes; then
13474 wx_cv_use_pcx='wxUSE_PCX=yes'
13475 else
13476 wx_cv_use_pcx='wxUSE_PCX=no'
13477 fi
13478
13479 else
13480
13481 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13482
13483 fi
13484
13485
13486 eval "$wx_cv_use_pcx"
13487
13488 if test x"$enablestring" = xdisable; then
13489 if test $wxUSE_PCX = yes; then
13490 result=no
13491 else
13492 result=yes
13493 fi
13494 else
13495 result=$wxUSE_PCX
13496 fi
13497
13498 { echo "$as_me:$LINENO: result: $result" >&5
13499 echo "${ECHO_T}$result" >&6; }
13500
13501
13502 enablestring=
13503 defaultval=$wxUSE_ALL_FEATURES
13504 if test -z "$defaultval"; then
13505 if test x"$enablestring" = xdisable; then
13506 defaultval=yes
13507 else
13508 defaultval=no
13509 fi
13510 fi
13511
13512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13513 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13514 # Check whether --enable-tga was given.
13515 if test "${enable_tga+set}" = set; then
13516 enableval=$enable_tga;
13517 if test "$enableval" = yes; then
13518 wx_cv_use_tga='wxUSE_TGA=yes'
13519 else
13520 wx_cv_use_tga='wxUSE_TGA=no'
13521 fi
13522
13523 else
13524
13525 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13526
13527 fi
13528
13529
13530 eval "$wx_cv_use_tga"
13531
13532 if test x"$enablestring" = xdisable; then
13533 if test $wxUSE_TGA = yes; then
13534 result=no
13535 else
13536 result=yes
13537 fi
13538 else
13539 result=$wxUSE_TGA
13540 fi
13541
13542 { echo "$as_me:$LINENO: result: $result" >&5
13543 echo "${ECHO_T}$result" >&6; }
13544
13545
13546 enablestring=
13547 defaultval=$wxUSE_ALL_FEATURES
13548 if test -z "$defaultval"; then
13549 if test x"$enablestring" = xdisable; then
13550 defaultval=yes
13551 else
13552 defaultval=no
13553 fi
13554 fi
13555
13556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13557 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13558 # Check whether --enable-iff was given.
13559 if test "${enable_iff+set}" = set; then
13560 enableval=$enable_iff;
13561 if test "$enableval" = yes; then
13562 wx_cv_use_iff='wxUSE_IFF=yes'
13563 else
13564 wx_cv_use_iff='wxUSE_IFF=no'
13565 fi
13566
13567 else
13568
13569 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13570
13571 fi
13572
13573
13574 eval "$wx_cv_use_iff"
13575
13576 if test x"$enablestring" = xdisable; then
13577 if test $wxUSE_IFF = yes; then
13578 result=no
13579 else
13580 result=yes
13581 fi
13582 else
13583 result=$wxUSE_IFF
13584 fi
13585
13586 { echo "$as_me:$LINENO: result: $result" >&5
13587 echo "${ECHO_T}$result" >&6; }
13588
13589
13590 enablestring=
13591 defaultval=$wxUSE_ALL_FEATURES
13592 if test -z "$defaultval"; then
13593 if test x"$enablestring" = xdisable; then
13594 defaultval=yes
13595 else
13596 defaultval=no
13597 fi
13598 fi
13599
13600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13601 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13602 # Check whether --enable-pnm was given.
13603 if test "${enable_pnm+set}" = set; then
13604 enableval=$enable_pnm;
13605 if test "$enableval" = yes; then
13606 wx_cv_use_pnm='wxUSE_PNM=yes'
13607 else
13608 wx_cv_use_pnm='wxUSE_PNM=no'
13609 fi
13610
13611 else
13612
13613 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13614
13615 fi
13616
13617
13618 eval "$wx_cv_use_pnm"
13619
13620 if test x"$enablestring" = xdisable; then
13621 if test $wxUSE_PNM = yes; then
13622 result=no
13623 else
13624 result=yes
13625 fi
13626 else
13627 result=$wxUSE_PNM
13628 fi
13629
13630 { echo "$as_me:$LINENO: result: $result" >&5
13631 echo "${ECHO_T}$result" >&6; }
13632
13633
13634 enablestring=
13635 defaultval=$wxUSE_ALL_FEATURES
13636 if test -z "$defaultval"; then
13637 if test x"$enablestring" = xdisable; then
13638 defaultval=yes
13639 else
13640 defaultval=no
13641 fi
13642 fi
13643
13644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13645 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13646 # Check whether --enable-xpm was given.
13647 if test "${enable_xpm+set}" = set; then
13648 enableval=$enable_xpm;
13649 if test "$enableval" = yes; then
13650 wx_cv_use_xpm='wxUSE_XPM=yes'
13651 else
13652 wx_cv_use_xpm='wxUSE_XPM=no'
13653 fi
13654
13655 else
13656
13657 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13658
13659 fi
13660
13661
13662 eval "$wx_cv_use_xpm"
13663
13664 if test x"$enablestring" = xdisable; then
13665 if test $wxUSE_XPM = yes; then
13666 result=no
13667 else
13668 result=yes
13669 fi
13670 else
13671 result=$wxUSE_XPM
13672 fi
13673
13674 { echo "$as_me:$LINENO: result: $result" >&5
13675 echo "${ECHO_T}$result" >&6; }
13676
13677
13678 enablestring=
13679 defaultval=$wxUSE_ALL_FEATURES
13680 if test -z "$defaultval"; then
13681 if test x"$enablestring" = xdisable; then
13682 defaultval=yes
13683 else
13684 defaultval=no
13685 fi
13686 fi
13687
13688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13689 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13690 # Check whether --enable-ico_cur was given.
13691 if test "${enable_ico_cur+set}" = set; then
13692 enableval=$enable_ico_cur;
13693 if test "$enableval" = yes; then
13694 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13695 else
13696 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13697 fi
13698
13699 else
13700
13701 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13702
13703 fi
13704
13705
13706 eval "$wx_cv_use_ico_cur"
13707
13708 if test x"$enablestring" = xdisable; then
13709 if test $wxUSE_ICO_CUR = yes; then
13710 result=no
13711 else
13712 result=yes
13713 fi
13714 else
13715 result=$wxUSE_ICO_CUR
13716 fi
13717
13718 { echo "$as_me:$LINENO: result: $result" >&5
13719 echo "${ECHO_T}$result" >&6; }
13720
13721
13722
13723
13724 enablestring=
13725 defaultval=$wxUSE_ALL_FEATURES
13726 if test -z "$defaultval"; then
13727 if test x"$enablestring" = xdisable; then
13728 defaultval=yes
13729 else
13730 defaultval=no
13731 fi
13732 fi
13733
13734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13735 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13736 # Check whether --enable-dccache was given.
13737 if test "${enable_dccache+set}" = set; then
13738 enableval=$enable_dccache;
13739 if test "$enableval" = yes; then
13740 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13741 else
13742 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13743 fi
13744
13745 else
13746
13747 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13748
13749 fi
13750
13751
13752 eval "$wx_cv_use_dccache"
13753
13754 if test x"$enablestring" = xdisable; then
13755 if test $wxUSE_DC_CACHEING = yes; then
13756 result=no
13757 else
13758 result=yes
13759 fi
13760 else
13761 result=$wxUSE_DC_CACHEING
13762 fi
13763
13764 { echo "$as_me:$LINENO: result: $result" >&5
13765 echo "${ECHO_T}$result" >&6; }
13766
13767
13768 enablestring=
13769 defaultval=$wxUSE_ALL_FEATURES
13770 if test -z "$defaultval"; then
13771 if test x"$enablestring" = xdisable; then
13772 defaultval=yes
13773 else
13774 defaultval=no
13775 fi
13776 fi
13777
13778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13779 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13780 # Check whether --enable-ps-in-msw was given.
13781 if test "${enable_ps_in_msw+set}" = set; then
13782 enableval=$enable_ps_in_msw;
13783 if test "$enableval" = yes; then
13784 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13785 else
13786 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13787 fi
13788
13789 else
13790
13791 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13792
13793 fi
13794
13795
13796 eval "$wx_cv_use_ps_in_msw"
13797
13798 if test x"$enablestring" = xdisable; then
13799 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13800 result=no
13801 else
13802 result=yes
13803 fi
13804 else
13805 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13806 fi
13807
13808 { echo "$as_me:$LINENO: result: $result" >&5
13809 echo "${ECHO_T}$result" >&6; }
13810
13811
13812 enablestring=
13813 defaultval=$wxUSE_ALL_FEATURES
13814 if test -z "$defaultval"; then
13815 if test x"$enablestring" = xdisable; then
13816 defaultval=yes
13817 else
13818 defaultval=no
13819 fi
13820 fi
13821
13822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13823 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13824 # Check whether --enable-ownerdrawn was given.
13825 if test "${enable_ownerdrawn+set}" = set; then
13826 enableval=$enable_ownerdrawn;
13827 if test "$enableval" = yes; then
13828 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13829 else
13830 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13831 fi
13832
13833 else
13834
13835 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13836
13837 fi
13838
13839
13840 eval "$wx_cv_use_ownerdrawn"
13841
13842 if test x"$enablestring" = xdisable; then
13843 if test $wxUSE_OWNER_DRAWN = yes; then
13844 result=no
13845 else
13846 result=yes
13847 fi
13848 else
13849 result=$wxUSE_OWNER_DRAWN
13850 fi
13851
13852 { echo "$as_me:$LINENO: result: $result" >&5
13853 echo "${ECHO_T}$result" >&6; }
13854
13855
13856 enablestring=
13857 defaultval=$wxUSE_ALL_FEATURES
13858 if test -z "$defaultval"; then
13859 if test x"$enablestring" = xdisable; then
13860 defaultval=yes
13861 else
13862 defaultval=no
13863 fi
13864 fi
13865
13866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13867 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13868 # Check whether --enable-uxtheme was given.
13869 if test "${enable_uxtheme+set}" = set; then
13870 enableval=$enable_uxtheme;
13871 if test "$enableval" = yes; then
13872 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13873 else
13874 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13875 fi
13876
13877 else
13878
13879 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13880
13881 fi
13882
13883
13884 eval "$wx_cv_use_uxtheme"
13885
13886 if test x"$enablestring" = xdisable; then
13887 if test $wxUSE_UXTHEME = yes; then
13888 result=no
13889 else
13890 result=yes
13891 fi
13892 else
13893 result=$wxUSE_UXTHEME
13894 fi
13895
13896 { echo "$as_me:$LINENO: result: $result" >&5
13897 echo "${ECHO_T}$result" >&6; }
13898
13899
13900 enablestring=
13901 defaultval=$wxUSE_ALL_FEATURES
13902 if test -z "$defaultval"; then
13903 if test x"$enablestring" = xdisable; then
13904 defaultval=yes
13905 else
13906 defaultval=no
13907 fi
13908 fi
13909
13910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13911 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13912 # Check whether --enable-wxdib was given.
13913 if test "${enable_wxdib+set}" = set; then
13914 enableval=$enable_wxdib;
13915 if test "$enableval" = yes; then
13916 wx_cv_use_wxdib='wxUSE_DIB=yes'
13917 else
13918 wx_cv_use_wxdib='wxUSE_DIB=no'
13919 fi
13920
13921 else
13922
13923 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13924
13925 fi
13926
13927
13928 eval "$wx_cv_use_wxdib"
13929
13930 if test x"$enablestring" = xdisable; then
13931 if test $wxUSE_DIB = yes; then
13932 result=no
13933 else
13934 result=yes
13935 fi
13936 else
13937 result=$wxUSE_DIB
13938 fi
13939
13940 { echo "$as_me:$LINENO: result: $result" >&5
13941 echo "${ECHO_T}$result" >&6; }
13942
13943
13944 if test "$wxUSE_MSW" != 1; then
13945 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13946 fi
13947
13948
13949 enablestring=
13950 defaultval=$wxUSE_ALL_FEATURES
13951 if test -z "$defaultval"; then
13952 if test x"$enablestring" = xdisable; then
13953 defaultval=yes
13954 else
13955 defaultval=no
13956 fi
13957 fi
13958
13959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13960 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13961 # Check whether --enable-autoidman was given.
13962 if test "${enable_autoidman+set}" = set; then
13963 enableval=$enable_autoidman;
13964 if test "$enableval" = yes; then
13965 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13966 else
13967 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13968 fi
13969
13970 else
13971
13972 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13973
13974 fi
13975
13976
13977 eval "$wx_cv_use_autoidman"
13978
13979 if test x"$enablestring" = xdisable; then
13980 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13981 result=no
13982 else
13983 result=yes
13984 fi
13985 else
13986 result=$wxUSE_AUTOID_MANAGEMENT
13987 fi
13988
13989 { echo "$as_me:$LINENO: result: $result" >&5
13990 echo "${ECHO_T}$result" >&6; }
13991
13992
13993 fi
13994
13995
13996 cat >confcache <<\_ACEOF
13997 # This file is a shell script that caches the results of configure
13998 # tests run on this system so they can be shared between configure
13999 # scripts and configure runs, see configure's option --config-cache.
14000 # It is not useful on other systems. If it contains results you don't
14001 # want to keep, you may remove or edit it.
14002 #
14003 # config.status only pays attention to the cache file if you give it
14004 # the --recheck option to rerun configure.
14005 #
14006 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14007 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14008 # following values.
14009
14010 _ACEOF
14011
14012 # The following way of writing the cache mishandles newlines in values,
14013 # but we know of no workaround that is simple, portable, and efficient.
14014 # So, we kill variables containing newlines.
14015 # Ultrix sh set writes to stderr and can't be redirected directly,
14016 # and sets the high bit in the cache file unless we assign to the vars.
14017 (
14018 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14019 eval ac_val=\$$ac_var
14020 case $ac_val in #(
14021 *${as_nl}*)
14022 case $ac_var in #(
14023 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14024 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14025 esac
14026 case $ac_var in #(
14027 _ | IFS | as_nl) ;; #(
14028 *) $as_unset $ac_var ;;
14029 esac ;;
14030 esac
14031 done
14032
14033 (set) 2>&1 |
14034 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14035 *${as_nl}ac_space=\ *)
14036 # `set' does not quote correctly, so add quotes (double-quote
14037 # substitution turns \\\\ into \\, and sed turns \\ into \).
14038 sed -n \
14039 "s/'/'\\\\''/g;
14040 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14041 ;; #(
14042 *)
14043 # `set' quotes correctly as required by POSIX, so do not add quotes.
14044 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14045 ;;
14046 esac |
14047 sort
14048 ) |
14049 sed '
14050 /^ac_cv_env_/b end
14051 t clear
14052 :clear
14053 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14054 t end
14055 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14056 :end' >>confcache
14057 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14058 if test -w "$cache_file"; then
14059 test "x$cache_file" != "x/dev/null" &&
14060 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14061 echo "$as_me: updating cache $cache_file" >&6;}
14062 cat confcache >$cache_file
14063 else
14064 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14065 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14066 fi
14067 fi
14068 rm -f confcache
14069
14070 CFLAGS=${CFLAGS:=}
14071
14072
14073
14074 ac_ext=c
14075 ac_cpp='$CPP $CPPFLAGS'
14076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14079 if test -n "$ac_tool_prefix"; then
14080 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14081 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14084 if test "${ac_cv_prog_CC+set}" = set; then
14085 echo $ECHO_N "(cached) $ECHO_C" >&6
14086 else
14087 if test -n "$CC"; then
14088 ac_cv_prog_CC="$CC" # Let the user override the test.
14089 else
14090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14091 for as_dir in $PATH
14092 do
14093 IFS=$as_save_IFS
14094 test -z "$as_dir" && as_dir=.
14095 for ac_exec_ext in '' $ac_executable_extensions; do
14096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14097 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14099 break 2
14100 fi
14101 done
14102 done
14103 IFS=$as_save_IFS
14104
14105 fi
14106 fi
14107 CC=$ac_cv_prog_CC
14108 if test -n "$CC"; then
14109 { echo "$as_me:$LINENO: result: $CC" >&5
14110 echo "${ECHO_T}$CC" >&6; }
14111 else
14112 { echo "$as_me:$LINENO: result: no" >&5
14113 echo "${ECHO_T}no" >&6; }
14114 fi
14115
14116
14117 fi
14118 if test -z "$ac_cv_prog_CC"; then
14119 ac_ct_CC=$CC
14120 # Extract the first word of "gcc", so it can be a program name with args.
14121 set dummy gcc; ac_word=$2
14122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14124 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14125 echo $ECHO_N "(cached) $ECHO_C" >&6
14126 else
14127 if test -n "$ac_ct_CC"; then
14128 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14129 else
14130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14131 for as_dir in $PATH
14132 do
14133 IFS=$as_save_IFS
14134 test -z "$as_dir" && as_dir=.
14135 for ac_exec_ext in '' $ac_executable_extensions; do
14136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14137 ac_cv_prog_ac_ct_CC="gcc"
14138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14139 break 2
14140 fi
14141 done
14142 done
14143 IFS=$as_save_IFS
14144
14145 fi
14146 fi
14147 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14148 if test -n "$ac_ct_CC"; then
14149 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14150 echo "${ECHO_T}$ac_ct_CC" >&6; }
14151 else
14152 { echo "$as_me:$LINENO: result: no" >&5
14153 echo "${ECHO_T}no" >&6; }
14154 fi
14155
14156 if test "x$ac_ct_CC" = x; then
14157 CC=""
14158 else
14159 case $cross_compiling:$ac_tool_warned in
14160 yes:)
14161 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14162 whose name does not start with the host triplet. If you think this
14163 configuration is useful to you, please write to autoconf@gnu.org." >&5
14164 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14165 whose name does not start with the host triplet. If you think this
14166 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14167 ac_tool_warned=yes ;;
14168 esac
14169 CC=$ac_ct_CC
14170 fi
14171 else
14172 CC="$ac_cv_prog_CC"
14173 fi
14174
14175 if test -z "$CC"; then
14176 if test -n "$ac_tool_prefix"; then
14177 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14178 set dummy ${ac_tool_prefix}cc; ac_word=$2
14179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14181 if test "${ac_cv_prog_CC+set}" = set; then
14182 echo $ECHO_N "(cached) $ECHO_C" >&6
14183 else
14184 if test -n "$CC"; then
14185 ac_cv_prog_CC="$CC" # Let the user override the test.
14186 else
14187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14188 for as_dir in $PATH
14189 do
14190 IFS=$as_save_IFS
14191 test -z "$as_dir" && as_dir=.
14192 for ac_exec_ext in '' $ac_executable_extensions; do
14193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14194 ac_cv_prog_CC="${ac_tool_prefix}cc"
14195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14196 break 2
14197 fi
14198 done
14199 done
14200 IFS=$as_save_IFS
14201
14202 fi
14203 fi
14204 CC=$ac_cv_prog_CC
14205 if test -n "$CC"; then
14206 { echo "$as_me:$LINENO: result: $CC" >&5
14207 echo "${ECHO_T}$CC" >&6; }
14208 else
14209 { echo "$as_me:$LINENO: result: no" >&5
14210 echo "${ECHO_T}no" >&6; }
14211 fi
14212
14213
14214 fi
14215 fi
14216 if test -z "$CC"; then
14217 # Extract the first word of "cc", so it can be a program name with args.
14218 set dummy cc; ac_word=$2
14219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14221 if test "${ac_cv_prog_CC+set}" = set; then
14222 echo $ECHO_N "(cached) $ECHO_C" >&6
14223 else
14224 if test -n "$CC"; then
14225 ac_cv_prog_CC="$CC" # Let the user override the test.
14226 else
14227 ac_prog_rejected=no
14228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14229 for as_dir in $PATH
14230 do
14231 IFS=$as_save_IFS
14232 test -z "$as_dir" && as_dir=.
14233 for ac_exec_ext in '' $ac_executable_extensions; do
14234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14235 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14236 ac_prog_rejected=yes
14237 continue
14238 fi
14239 ac_cv_prog_CC="cc"
14240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14241 break 2
14242 fi
14243 done
14244 done
14245 IFS=$as_save_IFS
14246
14247 if test $ac_prog_rejected = yes; then
14248 # We found a bogon in the path, so make sure we never use it.
14249 set dummy $ac_cv_prog_CC
14250 shift
14251 if test $# != 0; then
14252 # We chose a different compiler from the bogus one.
14253 # However, it has the same basename, so the bogon will be chosen
14254 # first if we set CC to just the basename; use the full file name.
14255 shift
14256 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14257 fi
14258 fi
14259 fi
14260 fi
14261 CC=$ac_cv_prog_CC
14262 if test -n "$CC"; then
14263 { echo "$as_me:$LINENO: result: $CC" >&5
14264 echo "${ECHO_T}$CC" >&6; }
14265 else
14266 { echo "$as_me:$LINENO: result: no" >&5
14267 echo "${ECHO_T}no" >&6; }
14268 fi
14269
14270
14271 fi
14272 if test -z "$CC"; then
14273 if test -n "$ac_tool_prefix"; then
14274 for ac_prog in cl.exe
14275 do
14276 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14277 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14280 if test "${ac_cv_prog_CC+set}" = set; then
14281 echo $ECHO_N "(cached) $ECHO_C" >&6
14282 else
14283 if test -n "$CC"; then
14284 ac_cv_prog_CC="$CC" # Let the user override the test.
14285 else
14286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14287 for as_dir in $PATH
14288 do
14289 IFS=$as_save_IFS
14290 test -z "$as_dir" && as_dir=.
14291 for ac_exec_ext in '' $ac_executable_extensions; do
14292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14293 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14295 break 2
14296 fi
14297 done
14298 done
14299 IFS=$as_save_IFS
14300
14301 fi
14302 fi
14303 CC=$ac_cv_prog_CC
14304 if test -n "$CC"; then
14305 { echo "$as_me:$LINENO: result: $CC" >&5
14306 echo "${ECHO_T}$CC" >&6; }
14307 else
14308 { echo "$as_me:$LINENO: result: no" >&5
14309 echo "${ECHO_T}no" >&6; }
14310 fi
14311
14312
14313 test -n "$CC" && break
14314 done
14315 fi
14316 if test -z "$CC"; then
14317 ac_ct_CC=$CC
14318 for ac_prog in cl.exe
14319 do
14320 # Extract the first word of "$ac_prog", so it can be a program name with args.
14321 set dummy $ac_prog; ac_word=$2
14322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14324 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14325 echo $ECHO_N "(cached) $ECHO_C" >&6
14326 else
14327 if test -n "$ac_ct_CC"; then
14328 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14329 else
14330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14331 for as_dir in $PATH
14332 do
14333 IFS=$as_save_IFS
14334 test -z "$as_dir" && as_dir=.
14335 for ac_exec_ext in '' $ac_executable_extensions; do
14336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14337 ac_cv_prog_ac_ct_CC="$ac_prog"
14338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14339 break 2
14340 fi
14341 done
14342 done
14343 IFS=$as_save_IFS
14344
14345 fi
14346 fi
14347 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14348 if test -n "$ac_ct_CC"; then
14349 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14350 echo "${ECHO_T}$ac_ct_CC" >&6; }
14351 else
14352 { echo "$as_me:$LINENO: result: no" >&5
14353 echo "${ECHO_T}no" >&6; }
14354 fi
14355
14356
14357 test -n "$ac_ct_CC" && break
14358 done
14359
14360 if test "x$ac_ct_CC" = x; then
14361 CC=""
14362 else
14363 case $cross_compiling:$ac_tool_warned in
14364 yes:)
14365 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14366 whose name does not start with the host triplet. If you think this
14367 configuration is useful to you, please write to autoconf@gnu.org." >&5
14368 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14369 whose name does not start with the host triplet. If you think this
14370 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14371 ac_tool_warned=yes ;;
14372 esac
14373 CC=$ac_ct_CC
14374 fi
14375 fi
14376
14377 fi
14378
14379
14380 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14381 See \`config.log' for more details." >&5
14382 echo "$as_me: error: no acceptable C compiler found in \$PATH
14383 See \`config.log' for more details." >&2;}
14384 { (exit 1); exit 1; }; }
14385
14386 # Provide some information about the compiler.
14387 echo "$as_me:$LINENO: checking for C compiler version" >&5
14388 ac_compiler=`set X $ac_compile; echo $2`
14389 { (ac_try="$ac_compiler --version >&5"
14390 case "(($ac_try" in
14391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14392 *) ac_try_echo=$ac_try;;
14393 esac
14394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14395 (eval "$ac_compiler --version >&5") 2>&5
14396 ac_status=$?
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); }
14399 { (ac_try="$ac_compiler -v >&5"
14400 case "(($ac_try" in
14401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14402 *) ac_try_echo=$ac_try;;
14403 esac
14404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14405 (eval "$ac_compiler -v >&5") 2>&5
14406 ac_status=$?
14407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14408 (exit $ac_status); }
14409 { (ac_try="$ac_compiler -V >&5"
14410 case "(($ac_try" in
14411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14412 *) ac_try_echo=$ac_try;;
14413 esac
14414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14415 (eval "$ac_compiler -V >&5") 2>&5
14416 ac_status=$?
14417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14418 (exit $ac_status); }
14419
14420 cat >conftest.$ac_ext <<_ACEOF
14421 /* confdefs.h. */
14422 _ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14426
14427 int
14428 main ()
14429 {
14430
14431 ;
14432 return 0;
14433 }
14434 _ACEOF
14435 ac_clean_files_save=$ac_clean_files
14436 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14437 # Try to create an executable without -o first, disregard a.out.
14438 # It will help us diagnose broken compilers, and finding out an intuition
14439 # of exeext.
14440 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14441 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14442 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14443 #
14444 # List of possible output files, starting from the most likely.
14445 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14446 # only as a last resort. b.out is created by i960 compilers.
14447 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14448 #
14449 # The IRIX 6 linker writes into existing files which may not be
14450 # executable, retaining their permissions. Remove them first so a
14451 # subsequent execution test works.
14452 ac_rmfiles=
14453 for ac_file in $ac_files
14454 do
14455 case $ac_file in
14456 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14457 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14458 esac
14459 done
14460 rm -f $ac_rmfiles
14461
14462 if { (ac_try="$ac_link_default"
14463 case "(($ac_try" in
14464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14465 *) ac_try_echo=$ac_try;;
14466 esac
14467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14468 (eval "$ac_link_default") 2>&5
14469 ac_status=$?
14470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14471 (exit $ac_status); }; then
14472 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14473 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14474 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14475 # so that the user can short-circuit this test for compilers unknown to
14476 # Autoconf.
14477 for ac_file in $ac_files ''
14478 do
14479 test -f "$ac_file" || continue
14480 case $ac_file in
14481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14482 ;;
14483 [ab].out )
14484 # We found the default executable, but exeext='' is most
14485 # certainly right.
14486 break;;
14487 *.* )
14488 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14489 then :; else
14490 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14491 fi
14492 # We set ac_cv_exeext here because the later test for it is not
14493 # safe: cross compilers may not add the suffix if given an `-o'
14494 # argument, so we may need to know it at that point already.
14495 # Even if this section looks crufty: it has the advantage of
14496 # actually working.
14497 break;;
14498 * )
14499 break;;
14500 esac
14501 done
14502 test "$ac_cv_exeext" = no && ac_cv_exeext=
14503
14504 else
14505 ac_file=''
14506 fi
14507
14508 { echo "$as_me:$LINENO: result: $ac_file" >&5
14509 echo "${ECHO_T}$ac_file" >&6; }
14510 if test -z "$ac_file"; then
14511 echo "$as_me: failed program was:" >&5
14512 sed 's/^/| /' conftest.$ac_ext >&5
14513
14514 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14515 See \`config.log' for more details." >&5
14516 echo "$as_me: error: C compiler cannot create executables
14517 See \`config.log' for more details." >&2;}
14518 { (exit 77); exit 77; }; }
14519 fi
14520
14521 ac_exeext=$ac_cv_exeext
14522
14523 # Check that the compiler produces executables we can run. If not, either
14524 # the compiler is broken, or we cross compile.
14525 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14526 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14527 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14528 # If not cross compiling, check that we can run a simple program.
14529 if test "$cross_compiling" != yes; then
14530 if { ac_try='./$ac_file'
14531 { (case "(($ac_try" in
14532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14533 *) ac_try_echo=$ac_try;;
14534 esac
14535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14536 (eval "$ac_try") 2>&5
14537 ac_status=$?
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; }; then
14540 cross_compiling=no
14541 else
14542 if test "$cross_compiling" = maybe; then
14543 cross_compiling=yes
14544 else
14545 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14546 If you meant to cross compile, use \`--host'.
14547 See \`config.log' for more details." >&5
14548 echo "$as_me: error: cannot run C compiled programs.
14549 If you meant to cross compile, use \`--host'.
14550 See \`config.log' for more details." >&2;}
14551 { (exit 1); exit 1; }; }
14552 fi
14553 fi
14554 fi
14555 { echo "$as_me:$LINENO: result: yes" >&5
14556 echo "${ECHO_T}yes" >&6; }
14557
14558 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14559 ac_clean_files=$ac_clean_files_save
14560 # Check that the compiler produces executables we can run. If not, either
14561 # the compiler is broken, or we cross compile.
14562 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14563 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14564 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14565 echo "${ECHO_T}$cross_compiling" >&6; }
14566
14567 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14568 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14569 if { (ac_try="$ac_link"
14570 case "(($ac_try" in
14571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14572 *) ac_try_echo=$ac_try;;
14573 esac
14574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14575 (eval "$ac_link") 2>&5
14576 ac_status=$?
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; then
14579 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14580 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14581 # work properly (i.e., refer to `conftest.exe'), while it won't with
14582 # `rm'.
14583 for ac_file in conftest.exe conftest conftest.*; do
14584 test -f "$ac_file" || continue
14585 case $ac_file in
14586 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14587 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14588 break;;
14589 * ) break;;
14590 esac
14591 done
14592 else
14593 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14594 See \`config.log' for more details." >&5
14595 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14596 See \`config.log' for more details." >&2;}
14597 { (exit 1); exit 1; }; }
14598 fi
14599
14600 rm -f conftest$ac_cv_exeext
14601 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14602 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14603
14604 rm -f conftest.$ac_ext
14605 EXEEXT=$ac_cv_exeext
14606 ac_exeext=$EXEEXT
14607 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14608 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14609 if test "${ac_cv_objext+set}" = set; then
14610 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 else
14612 cat >conftest.$ac_ext <<_ACEOF
14613 /* confdefs.h. */
14614 _ACEOF
14615 cat confdefs.h >>conftest.$ac_ext
14616 cat >>conftest.$ac_ext <<_ACEOF
14617 /* end confdefs.h. */
14618
14619 int
14620 main ()
14621 {
14622
14623 ;
14624 return 0;
14625 }
14626 _ACEOF
14627 rm -f conftest.o conftest.obj
14628 if { (ac_try="$ac_compile"
14629 case "(($ac_try" in
14630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14631 *) ac_try_echo=$ac_try;;
14632 esac
14633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14634 (eval "$ac_compile") 2>&5
14635 ac_status=$?
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); }; then
14638 for ac_file in conftest.o conftest.obj conftest.*; do
14639 test -f "$ac_file" || continue;
14640 case $ac_file in
14641 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14642 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14643 break;;
14644 esac
14645 done
14646 else
14647 echo "$as_me: failed program was:" >&5
14648 sed 's/^/| /' conftest.$ac_ext >&5
14649
14650 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14651 See \`config.log' for more details." >&5
14652 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14653 See \`config.log' for more details." >&2;}
14654 { (exit 1); exit 1; }; }
14655 fi
14656
14657 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14658 fi
14659 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14660 echo "${ECHO_T}$ac_cv_objext" >&6; }
14661 OBJEXT=$ac_cv_objext
14662 ac_objext=$OBJEXT
14663 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14664 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14665 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14666 echo $ECHO_N "(cached) $ECHO_C" >&6
14667 else
14668 cat >conftest.$ac_ext <<_ACEOF
14669 /* confdefs.h. */
14670 _ACEOF
14671 cat confdefs.h >>conftest.$ac_ext
14672 cat >>conftest.$ac_ext <<_ACEOF
14673 /* end confdefs.h. */
14674
14675 int
14676 main ()
14677 {
14678 #ifndef __GNUC__
14679 choke me
14680 #endif
14681
14682 ;
14683 return 0;
14684 }
14685 _ACEOF
14686 rm -f conftest.$ac_objext
14687 if { (ac_try="$ac_compile"
14688 case "(($ac_try" in
14689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14690 *) ac_try_echo=$ac_try;;
14691 esac
14692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14693 (eval "$ac_compile") 2>conftest.er1
14694 ac_status=$?
14695 grep -v '^ *+' conftest.er1 >conftest.err
14696 rm -f conftest.er1
14697 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } && {
14700 test -z "$ac_c_werror_flag" ||
14701 test ! -s conftest.err
14702 } && test -s conftest.$ac_objext; then
14703 ac_compiler_gnu=yes
14704 else
14705 echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.$ac_ext >&5
14707
14708 ac_compiler_gnu=no
14709 fi
14710
14711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14712 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14713
14714 fi
14715 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14716 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14717 GCC=`test $ac_compiler_gnu = yes && echo yes`
14718 ac_test_CFLAGS=${CFLAGS+set}
14719 ac_save_CFLAGS=$CFLAGS
14720 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14721 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14722 if test "${ac_cv_prog_cc_g+set}" = set; then
14723 echo $ECHO_N "(cached) $ECHO_C" >&6
14724 else
14725 ac_save_c_werror_flag=$ac_c_werror_flag
14726 ac_c_werror_flag=yes
14727 ac_cv_prog_cc_g=no
14728 CFLAGS="-g"
14729 cat >conftest.$ac_ext <<_ACEOF
14730 /* confdefs.h. */
14731 _ACEOF
14732 cat confdefs.h >>conftest.$ac_ext
14733 cat >>conftest.$ac_ext <<_ACEOF
14734 /* end confdefs.h. */
14735
14736 int
14737 main ()
14738 {
14739
14740 ;
14741 return 0;
14742 }
14743 _ACEOF
14744 rm -f conftest.$ac_objext
14745 if { (ac_try="$ac_compile"
14746 case "(($ac_try" in
14747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14748 *) ac_try_echo=$ac_try;;
14749 esac
14750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14751 (eval "$ac_compile") 2>conftest.er1
14752 ac_status=$?
14753 grep -v '^ *+' conftest.er1 >conftest.err
14754 rm -f conftest.er1
14755 cat conftest.err >&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); } && {
14758 test -z "$ac_c_werror_flag" ||
14759 test ! -s conftest.err
14760 } && test -s conftest.$ac_objext; then
14761 ac_cv_prog_cc_g=yes
14762 else
14763 echo "$as_me: failed program was:" >&5
14764 sed 's/^/| /' conftest.$ac_ext >&5
14765
14766 CFLAGS=""
14767 cat >conftest.$ac_ext <<_ACEOF
14768 /* confdefs.h. */
14769 _ACEOF
14770 cat confdefs.h >>conftest.$ac_ext
14771 cat >>conftest.$ac_ext <<_ACEOF
14772 /* end confdefs.h. */
14773
14774 int
14775 main ()
14776 {
14777
14778 ;
14779 return 0;
14780 }
14781 _ACEOF
14782 rm -f conftest.$ac_objext
14783 if { (ac_try="$ac_compile"
14784 case "(($ac_try" in
14785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14786 *) ac_try_echo=$ac_try;;
14787 esac
14788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14789 (eval "$ac_compile") 2>conftest.er1
14790 ac_status=$?
14791 grep -v '^ *+' conftest.er1 >conftest.err
14792 rm -f conftest.er1
14793 cat conftest.err >&5
14794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14795 (exit $ac_status); } && {
14796 test -z "$ac_c_werror_flag" ||
14797 test ! -s conftest.err
14798 } && test -s conftest.$ac_objext; then
14799 :
14800 else
14801 echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.$ac_ext >&5
14803
14804 ac_c_werror_flag=$ac_save_c_werror_flag
14805 CFLAGS="-g"
14806 cat >conftest.$ac_ext <<_ACEOF
14807 /* confdefs.h. */
14808 _ACEOF
14809 cat confdefs.h >>conftest.$ac_ext
14810 cat >>conftest.$ac_ext <<_ACEOF
14811 /* end confdefs.h. */
14812
14813 int
14814 main ()
14815 {
14816
14817 ;
14818 return 0;
14819 }
14820 _ACEOF
14821 rm -f conftest.$ac_objext
14822 if { (ac_try="$ac_compile"
14823 case "(($ac_try" in
14824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14825 *) ac_try_echo=$ac_try;;
14826 esac
14827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14828 (eval "$ac_compile") 2>conftest.er1
14829 ac_status=$?
14830 grep -v '^ *+' conftest.er1 >conftest.err
14831 rm -f conftest.er1
14832 cat conftest.err >&5
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); } && {
14835 test -z "$ac_c_werror_flag" ||
14836 test ! -s conftest.err
14837 } && test -s conftest.$ac_objext; then
14838 ac_cv_prog_cc_g=yes
14839 else
14840 echo "$as_me: failed program was:" >&5
14841 sed 's/^/| /' conftest.$ac_ext >&5
14842
14843
14844 fi
14845
14846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14847 fi
14848
14849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14850 fi
14851
14852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14853 ac_c_werror_flag=$ac_save_c_werror_flag
14854 fi
14855 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14856 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14857 if test "$ac_test_CFLAGS" = set; then
14858 CFLAGS=$ac_save_CFLAGS
14859 elif test $ac_cv_prog_cc_g = yes; then
14860 if test "$GCC" = yes; then
14861 CFLAGS="-g -O2"
14862 else
14863 CFLAGS="-g"
14864 fi
14865 else
14866 if test "$GCC" = yes; then
14867 CFLAGS="-O2"
14868 else
14869 CFLAGS=
14870 fi
14871 fi
14872 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14873 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14874 if test "${ac_cv_prog_cc_c89+set}" = set; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14876 else
14877 ac_cv_prog_cc_c89=no
14878 ac_save_CC=$CC
14879 cat >conftest.$ac_ext <<_ACEOF
14880 /* confdefs.h. */
14881 _ACEOF
14882 cat confdefs.h >>conftest.$ac_ext
14883 cat >>conftest.$ac_ext <<_ACEOF
14884 /* end confdefs.h. */
14885 #include <stdarg.h>
14886 #include <stdio.h>
14887 #include <sys/types.h>
14888 #include <sys/stat.h>
14889 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14890 struct buf { int x; };
14891 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14892 static char *e (p, i)
14893 char **p;
14894 int i;
14895 {
14896 return p[i];
14897 }
14898 static char *f (char * (*g) (char **, int), char **p, ...)
14899 {
14900 char *s;
14901 va_list v;
14902 va_start (v,p);
14903 s = g (p, va_arg (v,int));
14904 va_end (v);
14905 return s;
14906 }
14907
14908 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14909 function prototypes and stuff, but not '\xHH' hex character constants.
14910 These don't provoke an error unfortunately, instead are silently treated
14911 as 'x'. The following induces an error, until -std is added to get
14912 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14913 array size at least. It's necessary to write '\x00'==0 to get something
14914 that's true only with -std. */
14915 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14916
14917 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14918 inside strings and character constants. */
14919 #define FOO(x) 'x'
14920 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14921
14922 int test (int i, double x);
14923 struct s1 {int (*f) (int a);};
14924 struct s2 {int (*f) (double a);};
14925 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14926 int argc;
14927 char **argv;
14928 int
14929 main ()
14930 {
14931 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14932 ;
14933 return 0;
14934 }
14935 _ACEOF
14936 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14937 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14938 do
14939 CC="$ac_save_CC $ac_arg"
14940 rm -f conftest.$ac_objext
14941 if { (ac_try="$ac_compile"
14942 case "(($ac_try" in
14943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14944 *) ac_try_echo=$ac_try;;
14945 esac
14946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14947 (eval "$ac_compile") 2>conftest.er1
14948 ac_status=$?
14949 grep -v '^ *+' conftest.er1 >conftest.err
14950 rm -f conftest.er1
14951 cat conftest.err >&5
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); } && {
14954 test -z "$ac_c_werror_flag" ||
14955 test ! -s conftest.err
14956 } && test -s conftest.$ac_objext; then
14957 ac_cv_prog_cc_c89=$ac_arg
14958 else
14959 echo "$as_me: failed program was:" >&5
14960 sed 's/^/| /' conftest.$ac_ext >&5
14961
14962
14963 fi
14964
14965 rm -f core conftest.err conftest.$ac_objext
14966 test "x$ac_cv_prog_cc_c89" != "xno" && break
14967 done
14968 rm -f conftest.$ac_ext
14969 CC=$ac_save_CC
14970
14971 fi
14972 # AC_CACHE_VAL
14973 case "x$ac_cv_prog_cc_c89" in
14974 x)
14975 { echo "$as_me:$LINENO: result: none needed" >&5
14976 echo "${ECHO_T}none needed" >&6; } ;;
14977 xno)
14978 { echo "$as_me:$LINENO: result: unsupported" >&5
14979 echo "${ECHO_T}unsupported" >&6; } ;;
14980 *)
14981 CC="$CC $ac_cv_prog_cc_c89"
14982 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14983 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14984 esac
14985
14986
14987 ac_ext=c
14988 ac_cpp='$CPP $CPPFLAGS'
14989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14992
14993
14994
14995
14996 ac_ext=c
14997 ac_cpp='$CPP $CPPFLAGS'
14998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15001
15002 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15003 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
15004 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15005 echo $ECHO_N "(cached) $ECHO_C" >&6
15006 else
15007 cat >conftest.$ac_ext <<_ACEOF
15008 /* confdefs.h. */
15009 _ACEOF
15010 cat confdefs.h >>conftest.$ac_ext
15011 cat >>conftest.$ac_ext <<_ACEOF
15012 /* end confdefs.h. */
15013
15014 int
15015 main ()
15016 {
15017
15018 #ifndef __INTEL_COMPILER
15019 choke me
15020 #endif
15021
15022 ;
15023 return 0;
15024 }
15025 _ACEOF
15026 rm -f conftest.$ac_objext
15027 if { (ac_try="$ac_compile"
15028 case "(($ac_try" in
15029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15030 *) ac_try_echo=$ac_try;;
15031 esac
15032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15033 (eval "$ac_compile") 2>conftest.er1
15034 ac_status=$?
15035 grep -v '^ *+' conftest.er1 >conftest.err
15036 rm -f conftest.er1
15037 cat conftest.err >&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); } && {
15040 test -z "$ac_c_werror_flag" ||
15041 test ! -s conftest.err
15042 } && test -s conftest.$ac_objext; then
15043 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15044 else
15045 echo "$as_me: failed program was:" >&5
15046 sed 's/^/| /' conftest.$ac_ext >&5
15047
15048 bakefile_cv_c_compiler___INTEL_COMPILER=no
15049
15050 fi
15051
15052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15053
15054
15055 fi
15056 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15057 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15058 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15059 :; INTELCC=yes
15060 else
15061 :;
15062 fi
15063 ac_ext=c
15064 ac_cpp='$CPP $CPPFLAGS'
15065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15068
15069
15070
15071
15072 if test "$INTELCC" = "yes"; then
15073
15074
15075 ac_ext=c
15076 ac_cpp='$CPP $CPPFLAGS'
15077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15080
15081 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15082 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15083 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15084 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 else
15086 cat >conftest.$ac_ext <<_ACEOF
15087 /* confdefs.h. */
15088 _ACEOF
15089 cat confdefs.h >>conftest.$ac_ext
15090 cat >>conftest.$ac_ext <<_ACEOF
15091 /* end confdefs.h. */
15092
15093 int
15094 main ()
15095 {
15096
15097 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15098 choke me
15099 #endif
15100
15101 ;
15102 return 0;
15103 }
15104 _ACEOF
15105 rm -f conftest.$ac_objext
15106 if { (ac_try="$ac_compile"
15107 case "(($ac_try" in
15108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15109 *) ac_try_echo=$ac_try;;
15110 esac
15111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15112 (eval "$ac_compile") 2>conftest.er1
15113 ac_status=$?
15114 grep -v '^ *+' conftest.er1 >conftest.err
15115 rm -f conftest.er1
15116 cat conftest.err >&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } && {
15119 test -z "$ac_c_werror_flag" ||
15120 test ! -s conftest.err
15121 } && test -s conftest.$ac_objext; then
15122 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15123 else
15124 echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.$ac_ext >&5
15126
15127 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15128
15129 fi
15130
15131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15132
15133
15134 fi
15135 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15136 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15137 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15138 :; INTELCC8=yes
15139 else
15140 :;
15141 fi
15142 ac_ext=c
15143 ac_cpp='$CPP $CPPFLAGS'
15144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15147
15148
15149
15150
15151
15152 ac_ext=c
15153 ac_cpp='$CPP $CPPFLAGS'
15154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15157
15158 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15159 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15160 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 else
15163 cat >conftest.$ac_ext <<_ACEOF
15164 /* confdefs.h. */
15165 _ACEOF
15166 cat confdefs.h >>conftest.$ac_ext
15167 cat >>conftest.$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169
15170 int
15171 main ()
15172 {
15173
15174 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15175 choke me
15176 #endif
15177
15178 ;
15179 return 0;
15180 }
15181 _ACEOF
15182 rm -f conftest.$ac_objext
15183 if { (ac_try="$ac_compile"
15184 case "(($ac_try" in
15185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15186 *) ac_try_echo=$ac_try;;
15187 esac
15188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15189 (eval "$ac_compile") 2>conftest.er1
15190 ac_status=$?
15191 grep -v '^ *+' conftest.er1 >conftest.err
15192 rm -f conftest.er1
15193 cat conftest.err >&5
15194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15195 (exit $ac_status); } && {
15196 test -z "$ac_c_werror_flag" ||
15197 test ! -s conftest.err
15198 } && test -s conftest.$ac_objext; then
15199 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15200 else
15201 echo "$as_me: failed program was:" >&5
15202 sed 's/^/| /' conftest.$ac_ext >&5
15203
15204 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15205
15206 fi
15207
15208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15209
15210
15211 fi
15212 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15213 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15214 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15215 :; INTELCC10=yes
15216 else
15217 :;
15218 fi
15219 ac_ext=c
15220 ac_cpp='$CPP $CPPFLAGS'
15221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15224
15225
15226
15227 fi
15228
15229 if test "x$GCC" != "xyes"; then
15230 if test "xCC" = "xC"; then
15231 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15232 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15233 if test "${bakefile_cv_c_exto+set}" = set; then
15234 echo $ECHO_N "(cached) $ECHO_C" >&6
15235 else
15236 cat >conftest.$ac_ext <<_ACEOF
15237 /* confdefs.h. */
15238 _ACEOF
15239 cat confdefs.h >>conftest.$ac_ext
15240 cat >>conftest.$ac_ext <<_ACEOF
15241 /* end confdefs.h. */
15242
15243 int
15244 main ()
15245 {
15246
15247 ;
15248 return 0;
15249 }
15250 _ACEOF
15251 rm -f conftest.$ac_objext conftest.$ac_ext.o
15252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15253 (eval $ac_compile) 2>&5
15254 ac_status=$?
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; then
15257 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15258 case $ac_file in
15259 conftest.$ac_ext.o)
15260 bakefile_cv_c_exto="-ext o"
15261 ;;
15262 *)
15263 ;;
15264 esac
15265 done
15266 else
15267 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15268 See \`config.log' for more details." >&5
15269 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15270 See \`config.log' for more details." >&2;}
15271 { (exit 1); exit 1; }; }
15272
15273 fi
15274
15275 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15276
15277 fi
15278 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15279 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15280 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15281 if test "c" = "c"; then
15282 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15283 fi
15284 if test "c" = "cxx"; then
15285 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15286 fi
15287 fi
15288
15289 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15290 unset ac_cv_prog_cc_g
15291 ac_test_CFLAGS=${CFLAGS+set}
15292 ac_save_CFLAGS=$CFLAGS
15293 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15294 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15295 if test "${ac_cv_prog_cc_g+set}" = set; then
15296 echo $ECHO_N "(cached) $ECHO_C" >&6
15297 else
15298 ac_save_c_werror_flag=$ac_c_werror_flag
15299 ac_c_werror_flag=yes
15300 ac_cv_prog_cc_g=no
15301 CFLAGS="-g"
15302 cat >conftest.$ac_ext <<_ACEOF
15303 /* confdefs.h. */
15304 _ACEOF
15305 cat confdefs.h >>conftest.$ac_ext
15306 cat >>conftest.$ac_ext <<_ACEOF
15307 /* end confdefs.h. */
15308
15309 int
15310 main ()
15311 {
15312
15313 ;
15314 return 0;
15315 }
15316 _ACEOF
15317 rm -f conftest.$ac_objext
15318 if { (ac_try="$ac_compile"
15319 case "(($ac_try" in
15320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15321 *) ac_try_echo=$ac_try;;
15322 esac
15323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15324 (eval "$ac_compile") 2>conftest.er1
15325 ac_status=$?
15326 grep -v '^ *+' conftest.er1 >conftest.err
15327 rm -f conftest.er1
15328 cat conftest.err >&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } && {
15331 test -z "$ac_c_werror_flag" ||
15332 test ! -s conftest.err
15333 } && test -s conftest.$ac_objext; then
15334 ac_cv_prog_cc_g=yes
15335 else
15336 echo "$as_me: failed program was:" >&5
15337 sed 's/^/| /' conftest.$ac_ext >&5
15338
15339 CFLAGS=""
15340 cat >conftest.$ac_ext <<_ACEOF
15341 /* confdefs.h. */
15342 _ACEOF
15343 cat confdefs.h >>conftest.$ac_ext
15344 cat >>conftest.$ac_ext <<_ACEOF
15345 /* end confdefs.h. */
15346
15347 int
15348 main ()
15349 {
15350
15351 ;
15352 return 0;
15353 }
15354 _ACEOF
15355 rm -f conftest.$ac_objext
15356 if { (ac_try="$ac_compile"
15357 case "(($ac_try" in
15358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15359 *) ac_try_echo=$ac_try;;
15360 esac
15361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15362 (eval "$ac_compile") 2>conftest.er1
15363 ac_status=$?
15364 grep -v '^ *+' conftest.er1 >conftest.err
15365 rm -f conftest.er1
15366 cat conftest.err >&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); } && {
15369 test -z "$ac_c_werror_flag" ||
15370 test ! -s conftest.err
15371 } && test -s conftest.$ac_objext; then
15372 :
15373 else
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.$ac_ext >&5
15376
15377 ac_c_werror_flag=$ac_save_c_werror_flag
15378 CFLAGS="-g"
15379 cat >conftest.$ac_ext <<_ACEOF
15380 /* confdefs.h. */
15381 _ACEOF
15382 cat confdefs.h >>conftest.$ac_ext
15383 cat >>conftest.$ac_ext <<_ACEOF
15384 /* end confdefs.h. */
15385
15386 int
15387 main ()
15388 {
15389
15390 ;
15391 return 0;
15392 }
15393 _ACEOF
15394 rm -f conftest.$ac_objext
15395 if { (ac_try="$ac_compile"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15399 esac
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_compile") 2>conftest.er1
15402 ac_status=$?
15403 grep -v '^ *+' conftest.er1 >conftest.err
15404 rm -f conftest.er1
15405 cat conftest.err >&5
15406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && {
15408 test -z "$ac_c_werror_flag" ||
15409 test ! -s conftest.err
15410 } && test -s conftest.$ac_objext; then
15411 ac_cv_prog_cc_g=yes
15412 else
15413 echo "$as_me: failed program was:" >&5
15414 sed 's/^/| /' conftest.$ac_ext >&5
15415
15416
15417 fi
15418
15419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15420 fi
15421
15422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15423 fi
15424
15425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15426 ac_c_werror_flag=$ac_save_c_werror_flag
15427 fi
15428 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15429 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15430 if test "$ac_test_CFLAGS" = set; then
15431 CFLAGS=$ac_save_CFLAGS
15432 elif test $ac_cv_prog_cc_g = yes; then
15433 if test "$GCC" = yes; then
15434 CFLAGS="-g -O2"
15435 else
15436 CFLAGS="-g"
15437 fi
15438 else
15439 if test "$GCC" = yes; then
15440 CFLAGS="-O2"
15441 else
15442 CFLAGS=
15443 fi
15444 fi
15445 fi
15446 fi
15447
15448 case `uname -s` in
15449 AIX*)
15450
15451
15452 ac_ext=c
15453 ac_cpp='$CPP $CPPFLAGS'
15454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15457
15458 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15459 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15460 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 else
15463 cat >conftest.$ac_ext <<_ACEOF
15464 /* confdefs.h. */
15465 _ACEOF
15466 cat confdefs.h >>conftest.$ac_ext
15467 cat >>conftest.$ac_ext <<_ACEOF
15468 /* end confdefs.h. */
15469
15470 int
15471 main ()
15472 {
15473
15474 #ifndef __xlC__
15475 choke me
15476 #endif
15477
15478 ;
15479 return 0;
15480 }
15481 _ACEOF
15482 rm -f conftest.$ac_objext
15483 if { (ac_try="$ac_compile"
15484 case "(($ac_try" in
15485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15486 *) ac_try_echo=$ac_try;;
15487 esac
15488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15489 (eval "$ac_compile") 2>conftest.er1
15490 ac_status=$?
15491 grep -v '^ *+' conftest.er1 >conftest.err
15492 rm -f conftest.er1
15493 cat conftest.err >&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } && {
15496 test -z "$ac_c_werror_flag" ||
15497 test ! -s conftest.err
15498 } && test -s conftest.$ac_objext; then
15499 bakefile_cv_c_compiler___xlC__=yes
15500 else
15501 echo "$as_me: failed program was:" >&5
15502 sed 's/^/| /' conftest.$ac_ext >&5
15503
15504 bakefile_cv_c_compiler___xlC__=no
15505
15506 fi
15507
15508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15509
15510
15511 fi
15512 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15513 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15514 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15515 :; XLCC=yes
15516 else
15517 :;
15518 fi
15519 ac_ext=c
15520 ac_cpp='$CPP $CPPFLAGS'
15521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15524
15525
15526
15527 ;;
15528
15529 Darwin)
15530
15531
15532 ac_ext=c
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15537
15538 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15539 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15540 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15541 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 else
15543 cat >conftest.$ac_ext <<_ACEOF
15544 /* confdefs.h. */
15545 _ACEOF
15546 cat confdefs.h >>conftest.$ac_ext
15547 cat >>conftest.$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15549
15550 int
15551 main ()
15552 {
15553
15554 #ifndef __MWERKS__
15555 choke me
15556 #endif
15557
15558 ;
15559 return 0;
15560 }
15561 _ACEOF
15562 rm -f conftest.$ac_objext
15563 if { (ac_try="$ac_compile"
15564 case "(($ac_try" in
15565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15566 *) ac_try_echo=$ac_try;;
15567 esac
15568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15569 (eval "$ac_compile") 2>conftest.er1
15570 ac_status=$?
15571 grep -v '^ *+' conftest.er1 >conftest.err
15572 rm -f conftest.er1
15573 cat conftest.err >&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); } && {
15576 test -z "$ac_c_werror_flag" ||
15577 test ! -s conftest.err
15578 } && test -s conftest.$ac_objext; then
15579 bakefile_cv_c_compiler___MWERKS__=yes
15580 else
15581 echo "$as_me: failed program was:" >&5
15582 sed 's/^/| /' conftest.$ac_ext >&5
15583
15584 bakefile_cv_c_compiler___MWERKS__=no
15585
15586 fi
15587
15588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15589
15590
15591 fi
15592 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15593 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15594 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15595 :; MWCC=yes
15596 else
15597 :;
15598 fi
15599 ac_ext=c
15600 ac_cpp='$CPP $CPPFLAGS'
15601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15604
15605
15606
15607 if test "$MWCC" != "yes"; then
15608
15609
15610 ac_ext=c
15611 ac_cpp='$CPP $CPPFLAGS'
15612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15615
15616 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15617 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15618 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 else
15621 cat >conftest.$ac_ext <<_ACEOF
15622 /* confdefs.h. */
15623 _ACEOF
15624 cat confdefs.h >>conftest.$ac_ext
15625 cat >>conftest.$ac_ext <<_ACEOF
15626 /* end confdefs.h. */
15627
15628 int
15629 main ()
15630 {
15631
15632 #ifndef __xlC__
15633 choke me
15634 #endif
15635
15636 ;
15637 return 0;
15638 }
15639 _ACEOF
15640 rm -f conftest.$ac_objext
15641 if { (ac_try="$ac_compile"
15642 case "(($ac_try" in
15643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15644 *) ac_try_echo=$ac_try;;
15645 esac
15646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15647 (eval "$ac_compile") 2>conftest.er1
15648 ac_status=$?
15649 grep -v '^ *+' conftest.er1 >conftest.err
15650 rm -f conftest.er1
15651 cat conftest.err >&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); } && {
15654 test -z "$ac_c_werror_flag" ||
15655 test ! -s conftest.err
15656 } && test -s conftest.$ac_objext; then
15657 bakefile_cv_c_compiler___xlC__=yes
15658 else
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.$ac_ext >&5
15661
15662 bakefile_cv_c_compiler___xlC__=no
15663
15664 fi
15665
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15667
15668
15669 fi
15670 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15671 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15672 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15673 :; XLCC=yes
15674 else
15675 :;
15676 fi
15677 ac_ext=c
15678 ac_cpp='$CPP $CPPFLAGS'
15679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15682
15683
15684
15685 fi
15686 ;;
15687
15688 IRIX*)
15689
15690
15691 ac_ext=c
15692 ac_cpp='$CPP $CPPFLAGS'
15693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15696
15697 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15698 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15699 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15700 echo $ECHO_N "(cached) $ECHO_C" >&6
15701 else
15702 cat >conftest.$ac_ext <<_ACEOF
15703 /* confdefs.h. */
15704 _ACEOF
15705 cat confdefs.h >>conftest.$ac_ext
15706 cat >>conftest.$ac_ext <<_ACEOF
15707 /* end confdefs.h. */
15708
15709 int
15710 main ()
15711 {
15712
15713 #ifndef _SGI_COMPILER_VERSION
15714 choke me
15715 #endif
15716
15717 ;
15718 return 0;
15719 }
15720 _ACEOF
15721 rm -f conftest.$ac_objext
15722 if { (ac_try="$ac_compile"
15723 case "(($ac_try" in
15724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15725 *) ac_try_echo=$ac_try;;
15726 esac
15727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15728 (eval "$ac_compile") 2>conftest.er1
15729 ac_status=$?
15730 grep -v '^ *+' conftest.er1 >conftest.err
15731 rm -f conftest.er1
15732 cat conftest.err >&5
15733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15734 (exit $ac_status); } && {
15735 test -z "$ac_c_werror_flag" ||
15736 test ! -s conftest.err
15737 } && test -s conftest.$ac_objext; then
15738 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15739 else
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15742
15743 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15744
15745 fi
15746
15747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15748
15749
15750 fi
15751 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15752 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15753 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15754 :; SGICC=yes
15755 else
15756 :;
15757 fi
15758 ac_ext=c
15759 ac_cpp='$CPP $CPPFLAGS'
15760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15763
15764
15765
15766 ;;
15767
15768 Linux*)
15769 if test "$INTELCC" != "yes"; then
15770
15771
15772 ac_ext=c
15773 ac_cpp='$CPP $CPPFLAGS'
15774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15777
15778 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15779 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15780 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 else
15783 cat >conftest.$ac_ext <<_ACEOF
15784 /* confdefs.h. */
15785 _ACEOF
15786 cat confdefs.h >>conftest.$ac_ext
15787 cat >>conftest.$ac_ext <<_ACEOF
15788 /* end confdefs.h. */
15789
15790 int
15791 main ()
15792 {
15793
15794 #ifndef __SUNPRO_C
15795 choke me
15796 #endif
15797
15798 ;
15799 return 0;
15800 }
15801 _ACEOF
15802 rm -f conftest.$ac_objext
15803 if { (ac_try="$ac_compile"
15804 case "(($ac_try" in
15805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15806 *) ac_try_echo=$ac_try;;
15807 esac
15808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15809 (eval "$ac_compile") 2>conftest.er1
15810 ac_status=$?
15811 grep -v '^ *+' conftest.er1 >conftest.err
15812 rm -f conftest.er1
15813 cat conftest.err >&5
15814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15815 (exit $ac_status); } && {
15816 test -z "$ac_c_werror_flag" ||
15817 test ! -s conftest.err
15818 } && test -s conftest.$ac_objext; then
15819 bakefile_cv_c_compiler___SUNPRO_C=yes
15820 else
15821 echo "$as_me: failed program was:" >&5
15822 sed 's/^/| /' conftest.$ac_ext >&5
15823
15824 bakefile_cv_c_compiler___SUNPRO_C=no
15825
15826 fi
15827
15828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15829
15830
15831 fi
15832 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15833 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15834 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15835 :; SUNCC=yes
15836 else
15837 :;
15838 fi
15839 ac_ext=c
15840 ac_cpp='$CPP $CPPFLAGS'
15841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15844
15845
15846
15847 fi
15848 ;;
15849
15850 HP-UX*)
15851
15852
15853 ac_ext=c
15854 ac_cpp='$CPP $CPPFLAGS'
15855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15858
15859 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15860 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15861 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15862 echo $ECHO_N "(cached) $ECHO_C" >&6
15863 else
15864 cat >conftest.$ac_ext <<_ACEOF
15865 /* confdefs.h. */
15866 _ACEOF
15867 cat confdefs.h >>conftest.$ac_ext
15868 cat >>conftest.$ac_ext <<_ACEOF
15869 /* end confdefs.h. */
15870
15871 int
15872 main ()
15873 {
15874
15875 #ifndef __HP_cc
15876 choke me
15877 #endif
15878
15879 ;
15880 return 0;
15881 }
15882 _ACEOF
15883 rm -f conftest.$ac_objext
15884 if { (ac_try="$ac_compile"
15885 case "(($ac_try" in
15886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15887 *) ac_try_echo=$ac_try;;
15888 esac
15889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15890 (eval "$ac_compile") 2>conftest.er1
15891 ac_status=$?
15892 grep -v '^ *+' conftest.er1 >conftest.err
15893 rm -f conftest.er1
15894 cat conftest.err >&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } && {
15897 test -z "$ac_c_werror_flag" ||
15898 test ! -s conftest.err
15899 } && test -s conftest.$ac_objext; then
15900 bakefile_cv_c_compiler___HP_cc=yes
15901 else
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.$ac_ext >&5
15904
15905 bakefile_cv_c_compiler___HP_cc=no
15906
15907 fi
15908
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910
15911
15912 fi
15913 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15914 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15915 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15916 :; HPCC=yes
15917 else
15918 :;
15919 fi
15920 ac_ext=c
15921 ac_cpp='$CPP $CPPFLAGS'
15922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15925
15926
15927
15928 ;;
15929
15930 OSF1)
15931
15932
15933 ac_ext=c
15934 ac_cpp='$CPP $CPPFLAGS'
15935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15938
15939 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15940 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15941 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15942 echo $ECHO_N "(cached) $ECHO_C" >&6
15943 else
15944 cat >conftest.$ac_ext <<_ACEOF
15945 /* confdefs.h. */
15946 _ACEOF
15947 cat confdefs.h >>conftest.$ac_ext
15948 cat >>conftest.$ac_ext <<_ACEOF
15949 /* end confdefs.h. */
15950
15951 int
15952 main ()
15953 {
15954
15955 #ifndef __DECC
15956 choke me
15957 #endif
15958
15959 ;
15960 return 0;
15961 }
15962 _ACEOF
15963 rm -f conftest.$ac_objext
15964 if { (ac_try="$ac_compile"
15965 case "(($ac_try" in
15966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15967 *) ac_try_echo=$ac_try;;
15968 esac
15969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15970 (eval "$ac_compile") 2>conftest.er1
15971 ac_status=$?
15972 grep -v '^ *+' conftest.er1 >conftest.err
15973 rm -f conftest.er1
15974 cat conftest.err >&5
15975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15976 (exit $ac_status); } && {
15977 test -z "$ac_c_werror_flag" ||
15978 test ! -s conftest.err
15979 } && test -s conftest.$ac_objext; then
15980 bakefile_cv_c_compiler___DECC=yes
15981 else
15982 echo "$as_me: failed program was:" >&5
15983 sed 's/^/| /' conftest.$ac_ext >&5
15984
15985 bakefile_cv_c_compiler___DECC=no
15986
15987 fi
15988
15989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15990
15991
15992 fi
15993 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15994 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15995 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15996 :; COMPAQCC=yes
15997 else
15998 :;
15999 fi
16000 ac_ext=c
16001 ac_cpp='$CPP $CPPFLAGS'
16002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16005
16006
16007
16008 ;;
16009
16010 SunOS)
16011
16012
16013 ac_ext=c
16014 ac_cpp='$CPP $CPPFLAGS'
16015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16018
16019 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16020 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16021 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16022 echo $ECHO_N "(cached) $ECHO_C" >&6
16023 else
16024 cat >conftest.$ac_ext <<_ACEOF
16025 /* confdefs.h. */
16026 _ACEOF
16027 cat confdefs.h >>conftest.$ac_ext
16028 cat >>conftest.$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16030
16031 int
16032 main ()
16033 {
16034
16035 #ifndef __SUNPRO_C
16036 choke me
16037 #endif
16038
16039 ;
16040 return 0;
16041 }
16042 _ACEOF
16043 rm -f conftest.$ac_objext
16044 if { (ac_try="$ac_compile"
16045 case "(($ac_try" in
16046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16047 *) ac_try_echo=$ac_try;;
16048 esac
16049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16050 (eval "$ac_compile") 2>conftest.er1
16051 ac_status=$?
16052 grep -v '^ *+' conftest.er1 >conftest.err
16053 rm -f conftest.er1
16054 cat conftest.err >&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); } && {
16057 test -z "$ac_c_werror_flag" ||
16058 test ! -s conftest.err
16059 } && test -s conftest.$ac_objext; then
16060 bakefile_cv_c_compiler___SUNPRO_C=yes
16061 else
16062 echo "$as_me: failed program was:" >&5
16063 sed 's/^/| /' conftest.$ac_ext >&5
16064
16065 bakefile_cv_c_compiler___SUNPRO_C=no
16066
16067 fi
16068
16069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16070
16071
16072 fi
16073 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16074 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16075 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16076 :; SUNCC=yes
16077 else
16078 :;
16079 fi
16080 ac_ext=c
16081 ac_cpp='$CPP $CPPFLAGS'
16082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16085
16086
16087
16088 ;;
16089 esac
16090 fi
16091
16092
16093
16094 ac_ext=c
16095 ac_cpp='$CPP $CPPFLAGS'
16096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16099 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16100 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16101 # On Suns, sometimes $CPP names a directory.
16102 if test -n "$CPP" && test -d "$CPP"; then
16103 CPP=
16104 fi
16105 if test -z "$CPP"; then
16106 if test "${ac_cv_prog_CPP+set}" = set; then
16107 echo $ECHO_N "(cached) $ECHO_C" >&6
16108 else
16109 # Double quotes because CPP needs to be expanded
16110 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16111 do
16112 ac_preproc_ok=false
16113 for ac_c_preproc_warn_flag in '' yes
16114 do
16115 # Use a header file that comes with gcc, so configuring glibc
16116 # with a fresh cross-compiler works.
16117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16118 # <limits.h> exists even on freestanding compilers.
16119 # On the NeXT, cc -E runs the code through the compiler's parser,
16120 # not just through cpp. "Syntax error" is here to catch this case.
16121 cat >conftest.$ac_ext <<_ACEOF
16122 /* confdefs.h. */
16123 _ACEOF
16124 cat confdefs.h >>conftest.$ac_ext
16125 cat >>conftest.$ac_ext <<_ACEOF
16126 /* end confdefs.h. */
16127 #ifdef __STDC__
16128 # include <limits.h>
16129 #else
16130 # include <assert.h>
16131 #endif
16132 Syntax error
16133 _ACEOF
16134 if { (ac_try="$ac_cpp conftest.$ac_ext"
16135 case "(($ac_try" in
16136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16137 *) ac_try_echo=$ac_try;;
16138 esac
16139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16141 ac_status=$?
16142 grep -v '^ *+' conftest.er1 >conftest.err
16143 rm -f conftest.er1
16144 cat conftest.err >&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } >/dev/null && {
16147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16148 test ! -s conftest.err
16149 }; then
16150 :
16151 else
16152 echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.$ac_ext >&5
16154
16155 # Broken: fails on valid input.
16156 continue
16157 fi
16158
16159 rm -f conftest.err conftest.$ac_ext
16160
16161 # OK, works on sane cases. Now check whether nonexistent headers
16162 # can be detected and how.
16163 cat >conftest.$ac_ext <<_ACEOF
16164 /* confdefs.h. */
16165 _ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 #include <ac_nonexistent.h>
16170 _ACEOF
16171 if { (ac_try="$ac_cpp conftest.$ac_ext"
16172 case "(($ac_try" in
16173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16174 *) ac_try_echo=$ac_try;;
16175 esac
16176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16177 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16178 ac_status=$?
16179 grep -v '^ *+' conftest.er1 >conftest.err
16180 rm -f conftest.er1
16181 cat conftest.err >&5
16182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16183 (exit $ac_status); } >/dev/null && {
16184 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16185 test ! -s conftest.err
16186 }; then
16187 # Broken: success on invalid input.
16188 continue
16189 else
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.$ac_ext >&5
16192
16193 # Passes both tests.
16194 ac_preproc_ok=:
16195 break
16196 fi
16197
16198 rm -f conftest.err conftest.$ac_ext
16199
16200 done
16201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16202 rm -f conftest.err conftest.$ac_ext
16203 if $ac_preproc_ok; then
16204 break
16205 fi
16206
16207 done
16208 ac_cv_prog_CPP=$CPP
16209
16210 fi
16211 CPP=$ac_cv_prog_CPP
16212 else
16213 ac_cv_prog_CPP=$CPP
16214 fi
16215 { echo "$as_me:$LINENO: result: $CPP" >&5
16216 echo "${ECHO_T}$CPP" >&6; }
16217 ac_preproc_ok=false
16218 for ac_c_preproc_warn_flag in '' yes
16219 do
16220 # Use a header file that comes with gcc, so configuring glibc
16221 # with a fresh cross-compiler works.
16222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16223 # <limits.h> exists even on freestanding compilers.
16224 # On the NeXT, cc -E runs the code through the compiler's parser,
16225 # not just through cpp. "Syntax error" is here to catch this case.
16226 cat >conftest.$ac_ext <<_ACEOF
16227 /* confdefs.h. */
16228 _ACEOF
16229 cat confdefs.h >>conftest.$ac_ext
16230 cat >>conftest.$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16232 #ifdef __STDC__
16233 # include <limits.h>
16234 #else
16235 # include <assert.h>
16236 #endif
16237 Syntax error
16238 _ACEOF
16239 if { (ac_try="$ac_cpp conftest.$ac_ext"
16240 case "(($ac_try" in
16241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16242 *) ac_try_echo=$ac_try;;
16243 esac
16244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16245 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16246 ac_status=$?
16247 grep -v '^ *+' conftest.er1 >conftest.err
16248 rm -f conftest.er1
16249 cat conftest.err >&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } >/dev/null && {
16252 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16253 test ! -s conftest.err
16254 }; then
16255 :
16256 else
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16259
16260 # Broken: fails on valid input.
16261 continue
16262 fi
16263
16264 rm -f conftest.err conftest.$ac_ext
16265
16266 # OK, works on sane cases. Now check whether nonexistent headers
16267 # can be detected and how.
16268 cat >conftest.$ac_ext <<_ACEOF
16269 /* confdefs.h. */
16270 _ACEOF
16271 cat confdefs.h >>conftest.$ac_ext
16272 cat >>conftest.$ac_ext <<_ACEOF
16273 /* end confdefs.h. */
16274 #include <ac_nonexistent.h>
16275 _ACEOF
16276 if { (ac_try="$ac_cpp conftest.$ac_ext"
16277 case "(($ac_try" in
16278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16279 *) ac_try_echo=$ac_try;;
16280 esac
16281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16282 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16283 ac_status=$?
16284 grep -v '^ *+' conftest.er1 >conftest.err
16285 rm -f conftest.er1
16286 cat conftest.err >&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } >/dev/null && {
16289 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16290 test ! -s conftest.err
16291 }; then
16292 # Broken: success on invalid input.
16293 continue
16294 else
16295 echo "$as_me: failed program was:" >&5
16296 sed 's/^/| /' conftest.$ac_ext >&5
16297
16298 # Passes both tests.
16299 ac_preproc_ok=:
16300 break
16301 fi
16302
16303 rm -f conftest.err conftest.$ac_ext
16304
16305 done
16306 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16307 rm -f conftest.err conftest.$ac_ext
16308 if $ac_preproc_ok; then
16309 :
16310 else
16311 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16312 See \`config.log' for more details." >&5
16313 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16314 See \`config.log' for more details." >&2;}
16315 { (exit 1); exit 1; }; }
16316 fi
16317
16318 ac_ext=c
16319 ac_cpp='$CPP $CPPFLAGS'
16320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16323
16324
16325 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16326 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16327 if test "${ac_cv_path_GREP+set}" = set; then
16328 echo $ECHO_N "(cached) $ECHO_C" >&6
16329 else
16330 # Extract the first word of "grep ggrep" to use in msg output
16331 if test -z "$GREP"; then
16332 set dummy grep ggrep; ac_prog_name=$2
16333 if test "${ac_cv_path_GREP+set}" = set; then
16334 echo $ECHO_N "(cached) $ECHO_C" >&6
16335 else
16336 ac_path_GREP_found=false
16337 # Loop through the user's path and test for each of PROGNAME-LIST
16338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16339 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16340 do
16341 IFS=$as_save_IFS
16342 test -z "$as_dir" && as_dir=.
16343 for ac_prog in grep ggrep; do
16344 for ac_exec_ext in '' $ac_executable_extensions; do
16345 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16346 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16347 # Check for GNU ac_path_GREP and select it if it is found.
16348 # Check for GNU $ac_path_GREP
16349 case `"$ac_path_GREP" --version 2>&1` in
16350 *GNU*)
16351 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16352 *)
16353 ac_count=0
16354 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16355 while :
16356 do
16357 cat "conftest.in" "conftest.in" >"conftest.tmp"
16358 mv "conftest.tmp" "conftest.in"
16359 cp "conftest.in" "conftest.nl"
16360 echo 'GREP' >> "conftest.nl"
16361 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16362 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16363 ac_count=`expr $ac_count + 1`
16364 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16365 # Best one so far, save it but keep looking for a better one
16366 ac_cv_path_GREP="$ac_path_GREP"
16367 ac_path_GREP_max=$ac_count
16368 fi
16369 # 10*(2^10) chars as input seems more than enough
16370 test $ac_count -gt 10 && break
16371 done
16372 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16373 esac
16374
16375
16376 $ac_path_GREP_found && break 3
16377 done
16378 done
16379
16380 done
16381 IFS=$as_save_IFS
16382
16383
16384 fi
16385
16386 GREP="$ac_cv_path_GREP"
16387 if test -z "$GREP"; then
16388 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16389 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16390 { (exit 1); exit 1; }; }
16391 fi
16392
16393 else
16394 ac_cv_path_GREP=$GREP
16395 fi
16396
16397
16398 fi
16399 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16400 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16401 GREP="$ac_cv_path_GREP"
16402
16403
16404 { echo "$as_me:$LINENO: checking for egrep" >&5
16405 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16406 if test "${ac_cv_path_EGREP+set}" = set; then
16407 echo $ECHO_N "(cached) $ECHO_C" >&6
16408 else
16409 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16410 then ac_cv_path_EGREP="$GREP -E"
16411 else
16412 # Extract the first word of "egrep" to use in msg output
16413 if test -z "$EGREP"; then
16414 set dummy egrep; ac_prog_name=$2
16415 if test "${ac_cv_path_EGREP+set}" = set; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16417 else
16418 ac_path_EGREP_found=false
16419 # Loop through the user's path and test for each of PROGNAME-LIST
16420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16421 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16422 do
16423 IFS=$as_save_IFS
16424 test -z "$as_dir" && as_dir=.
16425 for ac_prog in egrep; do
16426 for ac_exec_ext in '' $ac_executable_extensions; do
16427 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16428 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16429 # Check for GNU ac_path_EGREP and select it if it is found.
16430 # Check for GNU $ac_path_EGREP
16431 case `"$ac_path_EGREP" --version 2>&1` in
16432 *GNU*)
16433 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16434 *)
16435 ac_count=0
16436 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16437 while :
16438 do
16439 cat "conftest.in" "conftest.in" >"conftest.tmp"
16440 mv "conftest.tmp" "conftest.in"
16441 cp "conftest.in" "conftest.nl"
16442 echo 'EGREP' >> "conftest.nl"
16443 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16444 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16445 ac_count=`expr $ac_count + 1`
16446 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16447 # Best one so far, save it but keep looking for a better one
16448 ac_cv_path_EGREP="$ac_path_EGREP"
16449 ac_path_EGREP_max=$ac_count
16450 fi
16451 # 10*(2^10) chars as input seems more than enough
16452 test $ac_count -gt 10 && break
16453 done
16454 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16455 esac
16456
16457
16458 $ac_path_EGREP_found && break 3
16459 done
16460 done
16461
16462 done
16463 IFS=$as_save_IFS
16464
16465
16466 fi
16467
16468 EGREP="$ac_cv_path_EGREP"
16469 if test -z "$EGREP"; then
16470 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16471 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16472 { (exit 1); exit 1; }; }
16473 fi
16474
16475 else
16476 ac_cv_path_EGREP=$EGREP
16477 fi
16478
16479
16480 fi
16481 fi
16482 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16483 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16484 EGREP="$ac_cv_path_EGREP"
16485
16486
16487 if test $ac_cv_c_compiler_gnu = yes; then
16488 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16489 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16490 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16491 echo $ECHO_N "(cached) $ECHO_C" >&6
16492 else
16493 ac_pattern="Autoconf.*'x'"
16494 cat >conftest.$ac_ext <<_ACEOF
16495 /* confdefs.h. */
16496 _ACEOF
16497 cat confdefs.h >>conftest.$ac_ext
16498 cat >>conftest.$ac_ext <<_ACEOF
16499 /* end confdefs.h. */
16500 #include <sgtty.h>
16501 Autoconf TIOCGETP
16502 _ACEOF
16503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16504 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16505 ac_cv_prog_gcc_traditional=yes
16506 else
16507 ac_cv_prog_gcc_traditional=no
16508 fi
16509 rm -f conftest*
16510
16511
16512 if test $ac_cv_prog_gcc_traditional = no; then
16513 cat >conftest.$ac_ext <<_ACEOF
16514 /* confdefs.h. */
16515 _ACEOF
16516 cat confdefs.h >>conftest.$ac_ext
16517 cat >>conftest.$ac_ext <<_ACEOF
16518 /* end confdefs.h. */
16519 #include <termio.h>
16520 Autoconf TCGETA
16521 _ACEOF
16522 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16523 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16524 ac_cv_prog_gcc_traditional=yes
16525 fi
16526 rm -f conftest*
16527
16528 fi
16529 fi
16530 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16531 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16532 if test $ac_cv_prog_gcc_traditional = yes; then
16533 CC="$CC -traditional"
16534 fi
16535 fi
16536
16537
16538 CXXFLAGS=${CXXFLAGS:=}
16539
16540
16541
16542 ac_ext=cpp
16543 ac_cpp='$CXXCPP $CPPFLAGS'
16544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16547 if test -z "$CXX"; then
16548 if test -n "$CCC"; then
16549 CXX=$CCC
16550 else
16551 if test -n "$ac_tool_prefix"; then
16552 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16553 do
16554 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16555 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16558 if test "${ac_cv_prog_CXX+set}" = set; then
16559 echo $ECHO_N "(cached) $ECHO_C" >&6
16560 else
16561 if test -n "$CXX"; then
16562 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16563 else
16564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16565 for as_dir in $PATH
16566 do
16567 IFS=$as_save_IFS
16568 test -z "$as_dir" && as_dir=.
16569 for ac_exec_ext in '' $ac_executable_extensions; do
16570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16571 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16573 break 2
16574 fi
16575 done
16576 done
16577 IFS=$as_save_IFS
16578
16579 fi
16580 fi
16581 CXX=$ac_cv_prog_CXX
16582 if test -n "$CXX"; then
16583 { echo "$as_me:$LINENO: result: $CXX" >&5
16584 echo "${ECHO_T}$CXX" >&6; }
16585 else
16586 { echo "$as_me:$LINENO: result: no" >&5
16587 echo "${ECHO_T}no" >&6; }
16588 fi
16589
16590
16591 test -n "$CXX" && break
16592 done
16593 fi
16594 if test -z "$CXX"; then
16595 ac_ct_CXX=$CXX
16596 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16597 do
16598 # Extract the first word of "$ac_prog", so it can be a program name with args.
16599 set dummy $ac_prog; ac_word=$2
16600 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16602 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16603 echo $ECHO_N "(cached) $ECHO_C" >&6
16604 else
16605 if test -n "$ac_ct_CXX"; then
16606 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16607 else
16608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16609 for as_dir in $PATH
16610 do
16611 IFS=$as_save_IFS
16612 test -z "$as_dir" && as_dir=.
16613 for ac_exec_ext in '' $ac_executable_extensions; do
16614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16615 ac_cv_prog_ac_ct_CXX="$ac_prog"
16616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16617 break 2
16618 fi
16619 done
16620 done
16621 IFS=$as_save_IFS
16622
16623 fi
16624 fi
16625 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16626 if test -n "$ac_ct_CXX"; then
16627 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16628 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16629 else
16630 { echo "$as_me:$LINENO: result: no" >&5
16631 echo "${ECHO_T}no" >&6; }
16632 fi
16633
16634
16635 test -n "$ac_ct_CXX" && break
16636 done
16637
16638 if test "x$ac_ct_CXX" = x; then
16639 CXX="g++"
16640 else
16641 case $cross_compiling:$ac_tool_warned in
16642 yes:)
16643 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16644 whose name does not start with the host triplet. If you think this
16645 configuration is useful to you, please write to autoconf@gnu.org." >&5
16646 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16647 whose name does not start with the host triplet. If you think this
16648 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16649 ac_tool_warned=yes ;;
16650 esac
16651 CXX=$ac_ct_CXX
16652 fi
16653 fi
16654
16655 fi
16656 fi
16657 # Provide some information about the compiler.
16658 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16659 ac_compiler=`set X $ac_compile; echo $2`
16660 { (ac_try="$ac_compiler --version >&5"
16661 case "(($ac_try" in
16662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16663 *) ac_try_echo=$ac_try;;
16664 esac
16665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16666 (eval "$ac_compiler --version >&5") 2>&5
16667 ac_status=$?
16668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669 (exit $ac_status); }
16670 { (ac_try="$ac_compiler -v >&5"
16671 case "(($ac_try" in
16672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16673 *) ac_try_echo=$ac_try;;
16674 esac
16675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16676 (eval "$ac_compiler -v >&5") 2>&5
16677 ac_status=$?
16678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16679 (exit $ac_status); }
16680 { (ac_try="$ac_compiler -V >&5"
16681 case "(($ac_try" in
16682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16683 *) ac_try_echo=$ac_try;;
16684 esac
16685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16686 (eval "$ac_compiler -V >&5") 2>&5
16687 ac_status=$?
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }
16690
16691 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16692 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16693 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16695 else
16696 cat >conftest.$ac_ext <<_ACEOF
16697 /* confdefs.h. */
16698 _ACEOF
16699 cat confdefs.h >>conftest.$ac_ext
16700 cat >>conftest.$ac_ext <<_ACEOF
16701 /* end confdefs.h. */
16702
16703 int
16704 main ()
16705 {
16706 #ifndef __GNUC__
16707 choke me
16708 #endif
16709
16710 ;
16711 return 0;
16712 }
16713 _ACEOF
16714 rm -f conftest.$ac_objext
16715 if { (ac_try="$ac_compile"
16716 case "(($ac_try" in
16717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16718 *) ac_try_echo=$ac_try;;
16719 esac
16720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16721 (eval "$ac_compile") 2>conftest.er1
16722 ac_status=$?
16723 grep -v '^ *+' conftest.er1 >conftest.err
16724 rm -f conftest.er1
16725 cat conftest.err >&5
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); } && {
16728 test -z "$ac_cxx_werror_flag" ||
16729 test ! -s conftest.err
16730 } && test -s conftest.$ac_objext; then
16731 ac_compiler_gnu=yes
16732 else
16733 echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.$ac_ext >&5
16735
16736 ac_compiler_gnu=no
16737 fi
16738
16739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16740 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16741
16742 fi
16743 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16744 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16745 GXX=`test $ac_compiler_gnu = yes && echo yes`
16746 ac_test_CXXFLAGS=${CXXFLAGS+set}
16747 ac_save_CXXFLAGS=$CXXFLAGS
16748 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16749 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16750 if test "${ac_cv_prog_cxx_g+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 else
16753 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16754 ac_cxx_werror_flag=yes
16755 ac_cv_prog_cxx_g=no
16756 CXXFLAGS="-g"
16757 cat >conftest.$ac_ext <<_ACEOF
16758 /* confdefs.h. */
16759 _ACEOF
16760 cat confdefs.h >>conftest.$ac_ext
16761 cat >>conftest.$ac_ext <<_ACEOF
16762 /* end confdefs.h. */
16763
16764 int
16765 main ()
16766 {
16767
16768 ;
16769 return 0;
16770 }
16771 _ACEOF
16772 rm -f conftest.$ac_objext
16773 if { (ac_try="$ac_compile"
16774 case "(($ac_try" in
16775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16776 *) ac_try_echo=$ac_try;;
16777 esac
16778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16779 (eval "$ac_compile") 2>conftest.er1
16780 ac_status=$?
16781 grep -v '^ *+' conftest.er1 >conftest.err
16782 rm -f conftest.er1
16783 cat conftest.err >&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); } && {
16786 test -z "$ac_cxx_werror_flag" ||
16787 test ! -s conftest.err
16788 } && test -s conftest.$ac_objext; then
16789 ac_cv_prog_cxx_g=yes
16790 else
16791 echo "$as_me: failed program was:" >&5
16792 sed 's/^/| /' conftest.$ac_ext >&5
16793
16794 CXXFLAGS=""
16795 cat >conftest.$ac_ext <<_ACEOF
16796 /* confdefs.h. */
16797 _ACEOF
16798 cat confdefs.h >>conftest.$ac_ext
16799 cat >>conftest.$ac_ext <<_ACEOF
16800 /* end confdefs.h. */
16801
16802 int
16803 main ()
16804 {
16805
16806 ;
16807 return 0;
16808 }
16809 _ACEOF
16810 rm -f conftest.$ac_objext
16811 if { (ac_try="$ac_compile"
16812 case "(($ac_try" in
16813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16814 *) ac_try_echo=$ac_try;;
16815 esac
16816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16817 (eval "$ac_compile") 2>conftest.er1
16818 ac_status=$?
16819 grep -v '^ *+' conftest.er1 >conftest.err
16820 rm -f conftest.er1
16821 cat conftest.err >&5
16822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16823 (exit $ac_status); } && {
16824 test -z "$ac_cxx_werror_flag" ||
16825 test ! -s conftest.err
16826 } && test -s conftest.$ac_objext; then
16827 :
16828 else
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.$ac_ext >&5
16831
16832 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16833 CXXFLAGS="-g"
16834 cat >conftest.$ac_ext <<_ACEOF
16835 /* confdefs.h. */
16836 _ACEOF
16837 cat confdefs.h >>conftest.$ac_ext
16838 cat >>conftest.$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16840
16841 int
16842 main ()
16843 {
16844
16845 ;
16846 return 0;
16847 }
16848 _ACEOF
16849 rm -f conftest.$ac_objext
16850 if { (ac_try="$ac_compile"
16851 case "(($ac_try" in
16852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16853 *) ac_try_echo=$ac_try;;
16854 esac
16855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16856 (eval "$ac_compile") 2>conftest.er1
16857 ac_status=$?
16858 grep -v '^ *+' conftest.er1 >conftest.err
16859 rm -f conftest.er1
16860 cat conftest.err >&5
16861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16862 (exit $ac_status); } && {
16863 test -z "$ac_cxx_werror_flag" ||
16864 test ! -s conftest.err
16865 } && test -s conftest.$ac_objext; then
16866 ac_cv_prog_cxx_g=yes
16867 else
16868 echo "$as_me: failed program was:" >&5
16869 sed 's/^/| /' conftest.$ac_ext >&5
16870
16871
16872 fi
16873
16874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16875 fi
16876
16877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16878 fi
16879
16880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16881 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16882 fi
16883 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16884 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16885 if test "$ac_test_CXXFLAGS" = set; then
16886 CXXFLAGS=$ac_save_CXXFLAGS
16887 elif test $ac_cv_prog_cxx_g = yes; then
16888 if test "$GXX" = yes; then
16889 CXXFLAGS="-g -O2"
16890 else
16891 CXXFLAGS="-g"
16892 fi
16893 else
16894 if test "$GXX" = yes; then
16895 CXXFLAGS="-O2"
16896 else
16897 CXXFLAGS=
16898 fi
16899 fi
16900 ac_ext=c
16901 ac_cpp='$CPP $CPPFLAGS'
16902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16905
16906
16907
16908
16909 ac_ext=cpp
16910 ac_cpp='$CXXCPP $CPPFLAGS'
16911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16914
16915 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16916 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16917 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16918 echo $ECHO_N "(cached) $ECHO_C" >&6
16919 else
16920 cat >conftest.$ac_ext <<_ACEOF
16921 /* confdefs.h. */
16922 _ACEOF
16923 cat confdefs.h >>conftest.$ac_ext
16924 cat >>conftest.$ac_ext <<_ACEOF
16925 /* end confdefs.h. */
16926
16927 int
16928 main ()
16929 {
16930
16931 #ifndef __INTEL_COMPILER
16932 choke me
16933 #endif
16934
16935 ;
16936 return 0;
16937 }
16938 _ACEOF
16939 rm -f conftest.$ac_objext
16940 if { (ac_try="$ac_compile"
16941 case "(($ac_try" in
16942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16943 *) ac_try_echo=$ac_try;;
16944 esac
16945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16946 (eval "$ac_compile") 2>conftest.er1
16947 ac_status=$?
16948 grep -v '^ *+' conftest.er1 >conftest.err
16949 rm -f conftest.er1
16950 cat conftest.err >&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); } && {
16953 test -z "$ac_cxx_werror_flag" ||
16954 test ! -s conftest.err
16955 } && test -s conftest.$ac_objext; then
16956 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16957 else
16958 echo "$as_me: failed program was:" >&5
16959 sed 's/^/| /' conftest.$ac_ext >&5
16960
16961 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16962
16963 fi
16964
16965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16966
16967
16968 fi
16969 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16970 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16971 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16972 :; INTELCXX=yes
16973 else
16974 :;
16975 fi
16976 ac_ext=c
16977 ac_cpp='$CPP $CPPFLAGS'
16978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16981
16982
16983
16984
16985 if test "$INTELCXX" = "yes"; then
16986
16987
16988 ac_ext=cpp
16989 ac_cpp='$CXXCPP $CPPFLAGS'
16990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16993
16994 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16995 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16996 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16997 echo $ECHO_N "(cached) $ECHO_C" >&6
16998 else
16999 cat >conftest.$ac_ext <<_ACEOF
17000 /* confdefs.h. */
17001 _ACEOF
17002 cat confdefs.h >>conftest.$ac_ext
17003 cat >>conftest.$ac_ext <<_ACEOF
17004 /* end confdefs.h. */
17005
17006 int
17007 main ()
17008 {
17009
17010 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17011 choke me
17012 #endif
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 rm -f conftest.$ac_objext
17019 if { (ac_try="$ac_compile"
17020 case "(($ac_try" in
17021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17022 *) ac_try_echo=$ac_try;;
17023 esac
17024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17025 (eval "$ac_compile") 2>conftest.er1
17026 ac_status=$?
17027 grep -v '^ *+' conftest.er1 >conftest.err
17028 rm -f conftest.er1
17029 cat conftest.err >&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } && {
17032 test -z "$ac_cxx_werror_flag" ||
17033 test ! -s conftest.err
17034 } && test -s conftest.$ac_objext; then
17035 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17036 else
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.$ac_ext >&5
17039
17040 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17041
17042 fi
17043
17044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17045
17046
17047 fi
17048 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17049 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17050 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17051 :; INTELCXX8=yes
17052 else
17053 :;
17054 fi
17055 ac_ext=c
17056 ac_cpp='$CPP $CPPFLAGS'
17057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17060
17061
17062
17063
17064
17065 ac_ext=cpp
17066 ac_cpp='$CXXCPP $CPPFLAGS'
17067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17070
17071 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17072 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17073 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17075 else
17076 cat >conftest.$ac_ext <<_ACEOF
17077 /* confdefs.h. */
17078 _ACEOF
17079 cat confdefs.h >>conftest.$ac_ext
17080 cat >>conftest.$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17082
17083 int
17084 main ()
17085 {
17086
17087 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17088 choke me
17089 #endif
17090
17091 ;
17092 return 0;
17093 }
17094 _ACEOF
17095 rm -f conftest.$ac_objext
17096 if { (ac_try="$ac_compile"
17097 case "(($ac_try" in
17098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17099 *) ac_try_echo=$ac_try;;
17100 esac
17101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17102 (eval "$ac_compile") 2>conftest.er1
17103 ac_status=$?
17104 grep -v '^ *+' conftest.er1 >conftest.err
17105 rm -f conftest.er1
17106 cat conftest.err >&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); } && {
17109 test -z "$ac_cxx_werror_flag" ||
17110 test ! -s conftest.err
17111 } && test -s conftest.$ac_objext; then
17112 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17113 else
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.$ac_ext >&5
17116
17117 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17118
17119 fi
17120
17121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17122
17123
17124 fi
17125 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17126 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17127 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17128 :; INTELCXX10=yes
17129 else
17130 :;
17131 fi
17132 ac_ext=c
17133 ac_cpp='$CPP $CPPFLAGS'
17134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17137
17138
17139
17140 fi
17141
17142 if test "x$GCXX" != "xyes"; then
17143 if test "xCXX" = "xC"; then
17144 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17145 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17146 if test "${bakefile_cv_c_exto+set}" = set; then
17147 echo $ECHO_N "(cached) $ECHO_C" >&6
17148 else
17149 cat >conftest.$ac_ext <<_ACEOF
17150 /* confdefs.h. */
17151 _ACEOF
17152 cat confdefs.h >>conftest.$ac_ext
17153 cat >>conftest.$ac_ext <<_ACEOF
17154 /* end confdefs.h. */
17155
17156 int
17157 main ()
17158 {
17159
17160 ;
17161 return 0;
17162 }
17163 _ACEOF
17164 rm -f conftest.$ac_objext conftest.$ac_ext.o
17165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17166 (eval $ac_compile) 2>&5
17167 ac_status=$?
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; then
17170 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17171 case $ac_file in
17172 conftest.$ac_ext.o)
17173 bakefile_cv_c_exto="-ext o"
17174 ;;
17175 *)
17176 ;;
17177 esac
17178 done
17179 else
17180 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17181 See \`config.log' for more details." >&5
17182 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17183 See \`config.log' for more details." >&2;}
17184 { (exit 1); exit 1; }; }
17185
17186 fi
17187
17188 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17189
17190 fi
17191 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17192 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17193 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17194 if test "c" = "c"; then
17195 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17196 fi
17197 if test "c" = "cxx"; then
17198 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17199 fi
17200 fi
17201
17202 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17203 unset ac_cv_prog_cc_g
17204 ac_test_CFLAGS=${CFLAGS+set}
17205 ac_save_CFLAGS=$CFLAGS
17206 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17207 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17208 if test "${ac_cv_prog_cc_g+set}" = set; then
17209 echo $ECHO_N "(cached) $ECHO_C" >&6
17210 else
17211 ac_save_c_werror_flag=$ac_c_werror_flag
17212 ac_c_werror_flag=yes
17213 ac_cv_prog_cc_g=no
17214 CFLAGS="-g"
17215 cat >conftest.$ac_ext <<_ACEOF
17216 /* confdefs.h. */
17217 _ACEOF
17218 cat confdefs.h >>conftest.$ac_ext
17219 cat >>conftest.$ac_ext <<_ACEOF
17220 /* end confdefs.h. */
17221
17222 int
17223 main ()
17224 {
17225
17226 ;
17227 return 0;
17228 }
17229 _ACEOF
17230 rm -f conftest.$ac_objext
17231 if { (ac_try="$ac_compile"
17232 case "(($ac_try" in
17233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17234 *) ac_try_echo=$ac_try;;
17235 esac
17236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17237 (eval "$ac_compile") 2>conftest.er1
17238 ac_status=$?
17239 grep -v '^ *+' conftest.er1 >conftest.err
17240 rm -f conftest.er1
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } && {
17244 test -z "$ac_c_werror_flag" ||
17245 test ! -s conftest.err
17246 } && test -s conftest.$ac_objext; then
17247 ac_cv_prog_cc_g=yes
17248 else
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17251
17252 CFLAGS=""
17253 cat >conftest.$ac_ext <<_ACEOF
17254 /* confdefs.h. */
17255 _ACEOF
17256 cat confdefs.h >>conftest.$ac_ext
17257 cat >>conftest.$ac_ext <<_ACEOF
17258 /* end confdefs.h. */
17259
17260 int
17261 main ()
17262 {
17263
17264 ;
17265 return 0;
17266 }
17267 _ACEOF
17268 rm -f conftest.$ac_objext
17269 if { (ac_try="$ac_compile"
17270 case "(($ac_try" in
17271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17272 *) ac_try_echo=$ac_try;;
17273 esac
17274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17275 (eval "$ac_compile") 2>conftest.er1
17276 ac_status=$?
17277 grep -v '^ *+' conftest.er1 >conftest.err
17278 rm -f conftest.er1
17279 cat conftest.err >&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); } && {
17282 test -z "$ac_c_werror_flag" ||
17283 test ! -s conftest.err
17284 } && test -s conftest.$ac_objext; then
17285 :
17286 else
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.$ac_ext >&5
17289
17290 ac_c_werror_flag=$ac_save_c_werror_flag
17291 CFLAGS="-g"
17292 cat >conftest.$ac_ext <<_ACEOF
17293 /* confdefs.h. */
17294 _ACEOF
17295 cat confdefs.h >>conftest.$ac_ext
17296 cat >>conftest.$ac_ext <<_ACEOF
17297 /* end confdefs.h. */
17298
17299 int
17300 main ()
17301 {
17302
17303 ;
17304 return 0;
17305 }
17306 _ACEOF
17307 rm -f conftest.$ac_objext
17308 if { (ac_try="$ac_compile"
17309 case "(($ac_try" in
17310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17311 *) ac_try_echo=$ac_try;;
17312 esac
17313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17314 (eval "$ac_compile") 2>conftest.er1
17315 ac_status=$?
17316 grep -v '^ *+' conftest.er1 >conftest.err
17317 rm -f conftest.er1
17318 cat conftest.err >&5
17319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17320 (exit $ac_status); } && {
17321 test -z "$ac_c_werror_flag" ||
17322 test ! -s conftest.err
17323 } && test -s conftest.$ac_objext; then
17324 ac_cv_prog_cc_g=yes
17325 else
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.$ac_ext >&5
17328
17329
17330 fi
17331
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 fi
17334
17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17336 fi
17337
17338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17339 ac_c_werror_flag=$ac_save_c_werror_flag
17340 fi
17341 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17342 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17343 if test "$ac_test_CFLAGS" = set; then
17344 CFLAGS=$ac_save_CFLAGS
17345 elif test $ac_cv_prog_cc_g = yes; then
17346 if test "$GCC" = yes; then
17347 CFLAGS="-g -O2"
17348 else
17349 CFLAGS="-g"
17350 fi
17351 else
17352 if test "$GCC" = yes; then
17353 CFLAGS="-O2"
17354 else
17355 CFLAGS=
17356 fi
17357 fi
17358 fi
17359 fi
17360
17361 case `uname -s` in
17362 AIX*)
17363
17364
17365 ac_ext=cpp
17366 ac_cpp='$CXXCPP $CPPFLAGS'
17367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17370
17371 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17372 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17373 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17374 echo $ECHO_N "(cached) $ECHO_C" >&6
17375 else
17376 cat >conftest.$ac_ext <<_ACEOF
17377 /* confdefs.h. */
17378 _ACEOF
17379 cat confdefs.h >>conftest.$ac_ext
17380 cat >>conftest.$ac_ext <<_ACEOF
17381 /* end confdefs.h. */
17382
17383 int
17384 main ()
17385 {
17386
17387 #ifndef __xlC__
17388 choke me
17389 #endif
17390
17391 ;
17392 return 0;
17393 }
17394 _ACEOF
17395 rm -f conftest.$ac_objext
17396 if { (ac_try="$ac_compile"
17397 case "(($ac_try" in
17398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17399 *) ac_try_echo=$ac_try;;
17400 esac
17401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17402 (eval "$ac_compile") 2>conftest.er1
17403 ac_status=$?
17404 grep -v '^ *+' conftest.er1 >conftest.err
17405 rm -f conftest.er1
17406 cat conftest.err >&5
17407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408 (exit $ac_status); } && {
17409 test -z "$ac_cxx_werror_flag" ||
17410 test ! -s conftest.err
17411 } && test -s conftest.$ac_objext; then
17412 bakefile_cv_cxx_compiler___xlC__=yes
17413 else
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.$ac_ext >&5
17416
17417 bakefile_cv_cxx_compiler___xlC__=no
17418
17419 fi
17420
17421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17422
17423
17424 fi
17425 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17426 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17427 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17428 :; XLCXX=yes
17429 else
17430 :;
17431 fi
17432 ac_ext=c
17433 ac_cpp='$CPP $CPPFLAGS'
17434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17437
17438
17439
17440 ;;
17441
17442 Darwin)
17443
17444
17445 ac_ext=cpp
17446 ac_cpp='$CXXCPP $CPPFLAGS'
17447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17450
17451 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17452 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17453 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17454 echo $ECHO_N "(cached) $ECHO_C" >&6
17455 else
17456 cat >conftest.$ac_ext <<_ACEOF
17457 /* confdefs.h. */
17458 _ACEOF
17459 cat confdefs.h >>conftest.$ac_ext
17460 cat >>conftest.$ac_ext <<_ACEOF
17461 /* end confdefs.h. */
17462
17463 int
17464 main ()
17465 {
17466
17467 #ifndef __MWERKS__
17468 choke me
17469 #endif
17470
17471 ;
17472 return 0;
17473 }
17474 _ACEOF
17475 rm -f conftest.$ac_objext
17476 if { (ac_try="$ac_compile"
17477 case "(($ac_try" in
17478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17479 *) ac_try_echo=$ac_try;;
17480 esac
17481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17482 (eval "$ac_compile") 2>conftest.er1
17483 ac_status=$?
17484 grep -v '^ *+' conftest.er1 >conftest.err
17485 rm -f conftest.er1
17486 cat conftest.err >&5
17487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17488 (exit $ac_status); } && {
17489 test -z "$ac_cxx_werror_flag" ||
17490 test ! -s conftest.err
17491 } && test -s conftest.$ac_objext; then
17492 bakefile_cv_cxx_compiler___MWERKS__=yes
17493 else
17494 echo "$as_me: failed program was:" >&5
17495 sed 's/^/| /' conftest.$ac_ext >&5
17496
17497 bakefile_cv_cxx_compiler___MWERKS__=no
17498
17499 fi
17500
17501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17502
17503
17504 fi
17505 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17506 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17507 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17508 :; MWCXX=yes
17509 else
17510 :;
17511 fi
17512 ac_ext=c
17513 ac_cpp='$CPP $CPPFLAGS'
17514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17517
17518
17519
17520 if test "$MWCXX" != "yes"; then
17521
17522
17523 ac_ext=cpp
17524 ac_cpp='$CXXCPP $CPPFLAGS'
17525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17528
17529 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17530 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17531 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17532 echo $ECHO_N "(cached) $ECHO_C" >&6
17533 else
17534 cat >conftest.$ac_ext <<_ACEOF
17535 /* confdefs.h. */
17536 _ACEOF
17537 cat confdefs.h >>conftest.$ac_ext
17538 cat >>conftest.$ac_ext <<_ACEOF
17539 /* end confdefs.h. */
17540
17541 int
17542 main ()
17543 {
17544
17545 #ifndef __xlC__
17546 choke me
17547 #endif
17548
17549 ;
17550 return 0;
17551 }
17552 _ACEOF
17553 rm -f conftest.$ac_objext
17554 if { (ac_try="$ac_compile"
17555 case "(($ac_try" in
17556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17557 *) ac_try_echo=$ac_try;;
17558 esac
17559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17560 (eval "$ac_compile") 2>conftest.er1
17561 ac_status=$?
17562 grep -v '^ *+' conftest.er1 >conftest.err
17563 rm -f conftest.er1
17564 cat conftest.err >&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } && {
17567 test -z "$ac_cxx_werror_flag" ||
17568 test ! -s conftest.err
17569 } && test -s conftest.$ac_objext; then
17570 bakefile_cv_cxx_compiler___xlC__=yes
17571 else
17572 echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.$ac_ext >&5
17574
17575 bakefile_cv_cxx_compiler___xlC__=no
17576
17577 fi
17578
17579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17580
17581
17582 fi
17583 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17584 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17585 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17586 :; XLCXX=yes
17587 else
17588 :;
17589 fi
17590 ac_ext=c
17591 ac_cpp='$CPP $CPPFLAGS'
17592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17595
17596
17597
17598 fi
17599 ;;
17600
17601 IRIX*)
17602
17603
17604 ac_ext=cpp
17605 ac_cpp='$CXXCPP $CPPFLAGS'
17606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17609
17610 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17611 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17612 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17613 echo $ECHO_N "(cached) $ECHO_C" >&6
17614 else
17615 cat >conftest.$ac_ext <<_ACEOF
17616 /* confdefs.h. */
17617 _ACEOF
17618 cat confdefs.h >>conftest.$ac_ext
17619 cat >>conftest.$ac_ext <<_ACEOF
17620 /* end confdefs.h. */
17621
17622 int
17623 main ()
17624 {
17625
17626 #ifndef _SGI_COMPILER_VERSION
17627 choke me
17628 #endif
17629
17630 ;
17631 return 0;
17632 }
17633 _ACEOF
17634 rm -f conftest.$ac_objext
17635 if { (ac_try="$ac_compile"
17636 case "(($ac_try" in
17637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17638 *) ac_try_echo=$ac_try;;
17639 esac
17640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17641 (eval "$ac_compile") 2>conftest.er1
17642 ac_status=$?
17643 grep -v '^ *+' conftest.er1 >conftest.err
17644 rm -f conftest.er1
17645 cat conftest.err >&5
17646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17647 (exit $ac_status); } && {
17648 test -z "$ac_cxx_werror_flag" ||
17649 test ! -s conftest.err
17650 } && test -s conftest.$ac_objext; then
17651 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17652 else
17653 echo "$as_me: failed program was:" >&5
17654 sed 's/^/| /' conftest.$ac_ext >&5
17655
17656 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17657
17658 fi
17659
17660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17661
17662
17663 fi
17664 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17665 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17666 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17667 :; SGICXX=yes
17668 else
17669 :;
17670 fi
17671 ac_ext=c
17672 ac_cpp='$CPP $CPPFLAGS'
17673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17676
17677
17678
17679 ;;
17680
17681 Linux*)
17682 if test "$INTELCXX" != "yes"; then
17683
17684
17685 ac_ext=cpp
17686 ac_cpp='$CXXCPP $CPPFLAGS'
17687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17690
17691 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17692 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17693 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17694 echo $ECHO_N "(cached) $ECHO_C" >&6
17695 else
17696 cat >conftest.$ac_ext <<_ACEOF
17697 /* confdefs.h. */
17698 _ACEOF
17699 cat confdefs.h >>conftest.$ac_ext
17700 cat >>conftest.$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17702
17703 int
17704 main ()
17705 {
17706
17707 #ifndef __SUNPRO_CC
17708 choke me
17709 #endif
17710
17711 ;
17712 return 0;
17713 }
17714 _ACEOF
17715 rm -f conftest.$ac_objext
17716 if { (ac_try="$ac_compile"
17717 case "(($ac_try" in
17718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17719 *) ac_try_echo=$ac_try;;
17720 esac
17721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17722 (eval "$ac_compile") 2>conftest.er1
17723 ac_status=$?
17724 grep -v '^ *+' conftest.er1 >conftest.err
17725 rm -f conftest.er1
17726 cat conftest.err >&5
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); } && {
17729 test -z "$ac_cxx_werror_flag" ||
17730 test ! -s conftest.err
17731 } && test -s conftest.$ac_objext; then
17732 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17733 else
17734 echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5
17736
17737 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17738
17739 fi
17740
17741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17742
17743
17744 fi
17745 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17746 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17747 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17748 :; SUNCXX=yes
17749 else
17750 :;
17751 fi
17752 ac_ext=c
17753 ac_cpp='$CPP $CPPFLAGS'
17754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17757
17758
17759
17760 fi
17761 ;;
17762
17763 HP-UX*)
17764
17765
17766 ac_ext=cpp
17767 ac_cpp='$CXXCPP $CPPFLAGS'
17768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17771
17772 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17773 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17774 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17775 echo $ECHO_N "(cached) $ECHO_C" >&6
17776 else
17777 cat >conftest.$ac_ext <<_ACEOF
17778 /* confdefs.h. */
17779 _ACEOF
17780 cat confdefs.h >>conftest.$ac_ext
17781 cat >>conftest.$ac_ext <<_ACEOF
17782 /* end confdefs.h. */
17783
17784 int
17785 main ()
17786 {
17787
17788 #ifndef __HP_aCC
17789 choke me
17790 #endif
17791
17792 ;
17793 return 0;
17794 }
17795 _ACEOF
17796 rm -f conftest.$ac_objext
17797 if { (ac_try="$ac_compile"
17798 case "(($ac_try" in
17799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17800 *) ac_try_echo=$ac_try;;
17801 esac
17802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17803 (eval "$ac_compile") 2>conftest.er1
17804 ac_status=$?
17805 grep -v '^ *+' conftest.er1 >conftest.err
17806 rm -f conftest.er1
17807 cat conftest.err >&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } && {
17810 test -z "$ac_cxx_werror_flag" ||
17811 test ! -s conftest.err
17812 } && test -s conftest.$ac_objext; then
17813 bakefile_cv_cxx_compiler___HP_aCC=yes
17814 else
17815 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.$ac_ext >&5
17817
17818 bakefile_cv_cxx_compiler___HP_aCC=no
17819
17820 fi
17821
17822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17823
17824
17825 fi
17826 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17827 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17828 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17829 :; HPCXX=yes
17830 else
17831 :;
17832 fi
17833 ac_ext=c
17834 ac_cpp='$CPP $CPPFLAGS'
17835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17838
17839
17840
17841 ;;
17842
17843 OSF1)
17844
17845
17846 ac_ext=cpp
17847 ac_cpp='$CXXCPP $CPPFLAGS'
17848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17851
17852 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17853 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17854 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17855 echo $ECHO_N "(cached) $ECHO_C" >&6
17856 else
17857 cat >conftest.$ac_ext <<_ACEOF
17858 /* confdefs.h. */
17859 _ACEOF
17860 cat confdefs.h >>conftest.$ac_ext
17861 cat >>conftest.$ac_ext <<_ACEOF
17862 /* end confdefs.h. */
17863
17864 int
17865 main ()
17866 {
17867
17868 #ifndef __DECCXX
17869 choke me
17870 #endif
17871
17872 ;
17873 return 0;
17874 }
17875 _ACEOF
17876 rm -f conftest.$ac_objext
17877 if { (ac_try="$ac_compile"
17878 case "(($ac_try" in
17879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17880 *) ac_try_echo=$ac_try;;
17881 esac
17882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17883 (eval "$ac_compile") 2>conftest.er1
17884 ac_status=$?
17885 grep -v '^ *+' conftest.er1 >conftest.err
17886 rm -f conftest.er1
17887 cat conftest.err >&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } && {
17890 test -z "$ac_cxx_werror_flag" ||
17891 test ! -s conftest.err
17892 } && test -s conftest.$ac_objext; then
17893 bakefile_cv_cxx_compiler___DECCXX=yes
17894 else
17895 echo "$as_me: failed program was:" >&5
17896 sed 's/^/| /' conftest.$ac_ext >&5
17897
17898 bakefile_cv_cxx_compiler___DECCXX=no
17899
17900 fi
17901
17902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17903
17904
17905 fi
17906 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17907 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17908 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17909 :; COMPAQCXX=yes
17910 else
17911 :;
17912 fi
17913 ac_ext=c
17914 ac_cpp='$CPP $CPPFLAGS'
17915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17918
17919
17920
17921 ;;
17922
17923 SunOS)
17924
17925
17926 ac_ext=cpp
17927 ac_cpp='$CXXCPP $CPPFLAGS'
17928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17931
17932 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17933 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17934 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17935 echo $ECHO_N "(cached) $ECHO_C" >&6
17936 else
17937 cat >conftest.$ac_ext <<_ACEOF
17938 /* confdefs.h. */
17939 _ACEOF
17940 cat confdefs.h >>conftest.$ac_ext
17941 cat >>conftest.$ac_ext <<_ACEOF
17942 /* end confdefs.h. */
17943
17944 int
17945 main ()
17946 {
17947
17948 #ifndef __SUNPRO_CC
17949 choke me
17950 #endif
17951
17952 ;
17953 return 0;
17954 }
17955 _ACEOF
17956 rm -f conftest.$ac_objext
17957 if { (ac_try="$ac_compile"
17958 case "(($ac_try" in
17959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17960 *) ac_try_echo=$ac_try;;
17961 esac
17962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17963 (eval "$ac_compile") 2>conftest.er1
17964 ac_status=$?
17965 grep -v '^ *+' conftest.er1 >conftest.err
17966 rm -f conftest.er1
17967 cat conftest.err >&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); } && {
17970 test -z "$ac_cxx_werror_flag" ||
17971 test ! -s conftest.err
17972 } && test -s conftest.$ac_objext; then
17973 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17974 else
17975 echo "$as_me: failed program was:" >&5
17976 sed 's/^/| /' conftest.$ac_ext >&5
17977
17978 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17979
17980 fi
17981
17982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17983
17984
17985 fi
17986 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17987 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17988 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17989 :; SUNCXX=yes
17990 else
17991 :;
17992 fi
17993 ac_ext=c
17994 ac_cpp='$CPP $CPPFLAGS'
17995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17998
17999
18000
18001 ;;
18002 esac
18003 fi
18004
18005
18006
18007 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18008 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18009 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18010 { (exit 1); exit 1; }; }
18011 fi
18012
18013 if test "x$SUNCXX" != xyes; then
18014 if test -n "$ac_tool_prefix"; then
18015 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18016 set dummy ${ac_tool_prefix}ar; ac_word=$2
18017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18019 if test "${ac_cv_prog_AR+set}" = set; then
18020 echo $ECHO_N "(cached) $ECHO_C" >&6
18021 else
18022 if test -n "$AR"; then
18023 ac_cv_prog_AR="$AR" # Let the user override the test.
18024 else
18025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18026 for as_dir in $PATH
18027 do
18028 IFS=$as_save_IFS
18029 test -z "$as_dir" && as_dir=.
18030 for ac_exec_ext in '' $ac_executable_extensions; do
18031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18032 ac_cv_prog_AR="${ac_tool_prefix}ar"
18033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18034 break 2
18035 fi
18036 done
18037 done
18038 IFS=$as_save_IFS
18039
18040 fi
18041 fi
18042 AR=$ac_cv_prog_AR
18043 if test -n "$AR"; then
18044 { echo "$as_me:$LINENO: result: $AR" >&5
18045 echo "${ECHO_T}$AR" >&6; }
18046 else
18047 { echo "$as_me:$LINENO: result: no" >&5
18048 echo "${ECHO_T}no" >&6; }
18049 fi
18050
18051
18052 fi
18053 if test -z "$ac_cv_prog_AR"; then
18054 ac_ct_AR=$AR
18055 # Extract the first word of "ar", so it can be a program name with args.
18056 set dummy ar; ac_word=$2
18057 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18059 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18060 echo $ECHO_N "(cached) $ECHO_C" >&6
18061 else
18062 if test -n "$ac_ct_AR"; then
18063 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18064 else
18065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18066 for as_dir in $PATH
18067 do
18068 IFS=$as_save_IFS
18069 test -z "$as_dir" && as_dir=.
18070 for ac_exec_ext in '' $ac_executable_extensions; do
18071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18072 ac_cv_prog_ac_ct_AR="ar"
18073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18074 break 2
18075 fi
18076 done
18077 done
18078 IFS=$as_save_IFS
18079
18080 fi
18081 fi
18082 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18083 if test -n "$ac_ct_AR"; then
18084 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18085 echo "${ECHO_T}$ac_ct_AR" >&6; }
18086 else
18087 { echo "$as_me:$LINENO: result: no" >&5
18088 echo "${ECHO_T}no" >&6; }
18089 fi
18090
18091 if test "x$ac_ct_AR" = x; then
18092 AR=""
18093 else
18094 case $cross_compiling:$ac_tool_warned in
18095 yes:)
18096 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18097 whose name does not start with the host triplet. If you think this
18098 configuration is useful to you, please write to autoconf@gnu.org." >&5
18099 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18100 whose name does not start with the host triplet. If you think this
18101 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18102 ac_tool_warned=yes ;;
18103 esac
18104 AR=$ac_ct_AR
18105 fi
18106 else
18107 AR="$ac_cv_prog_AR"
18108 fi
18109
18110 if test "x$AR" = "x" ; then
18111 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18112 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18113 { (exit 1); exit 1; }; }
18114 fi
18115 fi
18116
18117 retest_macosx_linking=no
18118
18119 #if test "$wxUSE_MAC" = 1; then
18120 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18121 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18122 # Implicitly turn on the new --with-macosx-sdk using the default
18123 # SDK which provides the behavior this option has always had.
18124 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18125 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18126 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18127 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18128 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18129 wxUSE_MACOSX_SDK=yes
18130 fi
18131 else
18132 # Complain to user if he specified an argument to --enable-universal_binary
18133 # and also 1) specified --with-macosx-sdk using the default (yes) or
18134 # 2) specified --with-macosx-sdk using a path or 3) specified
18135 # --without-macosx-sdk (no).
18136 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18137 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18138 See \`config.log' for more details." >&5
18139 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18140 See \`config.log' for more details." >&2;}
18141 { (exit 1); exit 1; }; }
18142 else
18143 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18144 # special-case the empty string because the below test simply
18145 # converts "no" to the empty string anyway.
18146 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18147 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18148 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18149 fi
18150 fi
18151 OSX_UNIV_OPTS="-arch ppc -arch i386"
18152 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18153 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18154 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18155 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18156 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18157 retest_macosx_linking=yes
18158
18159 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18160 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18161 bk_use_pch=no
18162 fi
18163 #fi
18164
18165 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18166 wxUSE_MACOSX_SDK=
18167 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18168 # TODO: Search for most recent SDK and use it.
18169 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18170 fi
18171
18172
18173 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18174 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18175 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18176 if ! test -d "$wxUSE_MACOSX_SDK"; then
18177 { { echo "$as_me:$LINENO: error: not found
18178 See \`config.log' for more details." >&5
18179 echo "$as_me: error: not found
18180 See \`config.log' for more details." >&2;}
18181 { (exit 1); exit 1; }; }
18182 else
18183 { echo "$as_me:$LINENO: result: exists" >&5
18184 echo "${ECHO_T}exists" >&6; }
18185 fi
18186 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18187 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18188 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18189 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18190 retest_macosx_linking=yes
18191 fi
18192
18193 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18194 wxUSE_MACOSX_VERSION_MIN=
18195 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18196 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18197 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18198 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18199
18200 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/'`
18201
18202 # If that failed, try again with the new key
18203 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18204
18205 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/'`
18206
18207 fi
18208
18209 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18210 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18211 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18212 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18213 else
18214 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18215 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18216 wxUSE_MACOSX_VERSION_MIN=
18217 fi
18218 else
18219 wxUSE_MACOSX_VERSION_MIN=
18220 fi
18221 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18222 if test "$wxUSE_MAC" = 1; then
18223 # otherwise configure stops on leopard for universal_binary
18224 wxUSE_MACOSX_VERSION_MIN=10.4
18225 fi
18226 fi
18227
18228 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18229 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18230 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18231 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18232 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18233 retest_macosx_linking=yes
18234 fi
18235
18236 if test "x$retest_macosx_linking" = "xyes"; then
18237 ac_ext=c
18238 ac_cpp='$CPP $CPPFLAGS'
18239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18242
18243 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18244 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18245 cat >conftest.$ac_ext <<_ACEOF
18246 /* confdefs.h. */
18247 _ACEOF
18248 cat confdefs.h >>conftest.$ac_ext
18249 cat >>conftest.$ac_ext <<_ACEOF
18250 /* end confdefs.h. */
18251
18252 int
18253 main ()
18254 {
18255
18256 ;
18257 return 0;
18258 }
18259 _ACEOF
18260 rm -f conftest.$ac_objext conftest$ac_exeext
18261 if { (ac_try="$ac_link"
18262 case "(($ac_try" in
18263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18264 *) ac_try_echo=$ac_try;;
18265 esac
18266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18267 (eval "$ac_link") 2>conftest.er1
18268 ac_status=$?
18269 grep -v '^ *+' conftest.er1 >conftest.err
18270 rm -f conftest.er1
18271 cat conftest.err >&5
18272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18273 (exit $ac_status); } && {
18274 test -z "$ac_c_werror_flag" ||
18275 test ! -s conftest.err
18276 } && test -s conftest$ac_exeext &&
18277 $as_test_x conftest$ac_exeext; then
18278 { echo "$as_me:$LINENO: result: yes" >&5
18279 echo "${ECHO_T}yes" >&6; }
18280 else
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.$ac_ext >&5
18283
18284 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18285 See \`config.log' for more details." >&5
18286 echo "$as_me: error: no. Try a different SDK
18287 See \`config.log' for more details." >&2;}
18288 { (exit 1); exit 1; }; }; exit 1
18289 fi
18290
18291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18292 conftest$ac_exeext conftest.$ac_ext
18293 ac_ext=c
18294 ac_cpp='$CPP $CPPFLAGS'
18295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18298
18299
18300 ac_ext=cpp
18301 ac_cpp='$CXXCPP $CPPFLAGS'
18302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18305
18306 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18307 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18308 cat >conftest.$ac_ext <<_ACEOF
18309 /* confdefs.h. */
18310 _ACEOF
18311 cat confdefs.h >>conftest.$ac_ext
18312 cat >>conftest.$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18314
18315 int
18316 main ()
18317 {
18318
18319 ;
18320 return 0;
18321 }
18322 _ACEOF
18323 rm -f conftest.$ac_objext conftest$ac_exeext
18324 if { (ac_try="$ac_link"
18325 case "(($ac_try" in
18326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18327 *) ac_try_echo=$ac_try;;
18328 esac
18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_link") 2>conftest.er1
18331 ac_status=$?
18332 grep -v '^ *+' conftest.er1 >conftest.err
18333 rm -f conftest.er1
18334 cat conftest.err >&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } && {
18337 test -z "$ac_cxx_werror_flag" ||
18338 test ! -s conftest.err
18339 } && test -s conftest$ac_exeext &&
18340 $as_test_x conftest$ac_exeext; then
18341 { echo "$as_me:$LINENO: result: yes" >&5
18342 echo "${ECHO_T}yes" >&6; }
18343 else
18344 echo "$as_me: failed program was:" >&5
18345 sed 's/^/| /' conftest.$ac_ext >&5
18346
18347 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18348 See \`config.log' for more details." >&5
18349 echo "$as_me: error: no. Try a different SDK
18350 See \`config.log' for more details." >&2;}
18351 { (exit 1); exit 1; }; }; exit 1
18352 fi
18353
18354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18355 conftest$ac_exeext conftest.$ac_ext
18356 ac_ext=c
18357 ac_cpp='$CPP $CPPFLAGS'
18358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18361
18362 fi
18363
18364
18365 case "${host}" in
18366
18367 *-*-darwin* )
18368 INSTALL_PROGRAM="cp -fp"
18369 INSTALL_DATA="cp -fp"
18370 ;;
18371 *)
18372 ;;
18373 esac
18374
18375
18376 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18377 CXXFLAGS="-qunique $CXXFLAGS"
18378 fi
18379
18380 case "${host}" in
18381 powerpc-*-darwin* )
18382 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18383 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18384 cat >conftest.$ac_ext <<_ACEOF
18385 /* confdefs.h. */
18386 _ACEOF
18387 cat confdefs.h >>conftest.$ac_ext
18388 cat >>conftest.$ac_ext <<_ACEOF
18389 /* end confdefs.h. */
18390
18391 int
18392 main ()
18393 {
18394 #ifndef __POWERPC__
18395 choke me for lack of PowerPC
18396 #endif
18397
18398 ;
18399 return 0;
18400 }
18401 _ACEOF
18402 rm -f conftest.$ac_objext
18403 if { (ac_try="$ac_compile"
18404 case "(($ac_try" in
18405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18406 *) ac_try_echo=$ac_try;;
18407 esac
18408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18409 (eval "$ac_compile") 2>conftest.er1
18410 ac_status=$?
18411 grep -v '^ *+' conftest.er1 >conftest.err
18412 rm -f conftest.er1
18413 cat conftest.err >&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } && {
18416 test -z "$ac_c_werror_flag" ||
18417 test ! -s conftest.err
18418 } && test -s conftest.$ac_objext; then
18419 { echo "$as_me:$LINENO: result: yes" >&5
18420 echo "${ECHO_T}yes" >&6; }
18421 else
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.$ac_ext >&5
18424
18425 { echo "$as_me:$LINENO: result: no" >&5
18426 echo "${ECHO_T}no" >&6; }
18427 cat >>confdefs.h <<\_ACEOF
18428 #define __POWERPC__ 1
18429 _ACEOF
18430
18431
18432 fi
18433
18434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18435 ;;
18436 esac
18437
18438 case "${host}" in
18439 *-*-darwin* )
18440 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18441 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18442 cat >conftest.$ac_ext <<_ACEOF
18443 /* confdefs.h. */
18444 _ACEOF
18445 cat confdefs.h >>conftest.$ac_ext
18446 cat >>conftest.$ac_ext <<_ACEOF
18447 /* end confdefs.h. */
18448 #include <CoreFoundation/CFBase.h>
18449
18450 int
18451 main ()
18452 {
18453
18454 ;
18455 return 0;
18456 }
18457 _ACEOF
18458 rm -f conftest.$ac_objext
18459 if { (ac_try="$ac_compile"
18460 case "(($ac_try" in
18461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18462 *) ac_try_echo=$ac_try;;
18463 esac
18464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18465 (eval "$ac_compile") 2>conftest.er1
18466 ac_status=$?
18467 grep -v '^ *+' conftest.er1 >conftest.err
18468 rm -f conftest.er1
18469 cat conftest.err >&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); } && {
18472 test -z "$ac_c_werror_flag" ||
18473 test ! -s conftest.err
18474 } && test -s conftest.$ac_objext; then
18475 { echo "$as_me:$LINENO: result: yes" >&5
18476 echo "${ECHO_T}yes" >&6; }
18477 else
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18480
18481 { echo "$as_me:$LINENO: result: no" >&5
18482 echo "${ECHO_T}no" >&6; }
18483 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18484 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18485 cat >conftest.$ac_ext <<_ACEOF
18486 /* confdefs.h. */
18487 _ACEOF
18488 cat confdefs.h >>conftest.$ac_ext
18489 cat >>conftest.$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18491 #define __CF_USE_FRAMEWORK_INCLUDES__
18492 #include <CoreFoundation/CFBase.h>
18493
18494 int
18495 main ()
18496 {
18497
18498 ;
18499 return 0;
18500 }
18501 _ACEOF
18502 rm -f conftest.$ac_objext
18503 if { (ac_try="$ac_compile"
18504 case "(($ac_try" in
18505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18506 *) ac_try_echo=$ac_try;;
18507 esac
18508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18509 (eval "$ac_compile") 2>conftest.er1
18510 ac_status=$?
18511 grep -v '^ *+' conftest.er1 >conftest.err
18512 rm -f conftest.er1
18513 cat conftest.err >&5
18514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18515 (exit $ac_status); } && {
18516 test -z "$ac_c_werror_flag" ||
18517 test ! -s conftest.err
18518 } && test -s conftest.$ac_objext; then
18519 { echo "$as_me:$LINENO: result: yes" >&5
18520 echo "${ECHO_T}yes" >&6; }
18521 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18522 else
18523 echo "$as_me: failed program was:" >&5
18524 sed 's/^/| /' conftest.$ac_ext >&5
18525
18526 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18527 See \`config.log' for more details." >&5
18528 echo "$as_me: error: no. CoreFoundation not available.
18529 See \`config.log' for more details." >&2;}
18530 { (exit 1); exit 1; }; }
18531
18532 fi
18533
18534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535
18536
18537 fi
18538
18539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18540 ;;
18541 esac
18542
18543 wants_win32=0
18544 doesnt_want_win32=0
18545 case "${host}" in
18546 *-*-cygwin*)
18547 if test "$wxUSE_MSW" = 1 ; then
18548 wants_win32=1
18549 else
18550 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18551 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18552 if test "${wx_cv_nocygwin+set}" = set; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18554 else
18555
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562
18563 int
18564 main ()
18565 {
18566
18567 #ifdef __MINGW32__
18568 choke me
18569 #endif
18570
18571 ;
18572 return 0;
18573 }
18574 _ACEOF
18575 rm -f conftest.$ac_objext
18576 if { (ac_try="$ac_compile"
18577 case "(($ac_try" in
18578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18579 *) ac_try_echo=$ac_try;;
18580 esac
18581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18582 (eval "$ac_compile") 2>conftest.er1
18583 ac_status=$?
18584 grep -v '^ *+' conftest.er1 >conftest.err
18585 rm -f conftest.er1
18586 cat conftest.err >&5
18587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18588 (exit $ac_status); } && {
18589 test -z "$ac_c_werror_flag" ||
18590 test ! -s conftest.err
18591 } && test -s conftest.$ac_objext; then
18592 wx_cv_nocygwin=no
18593 else
18594 echo "$as_me: failed program was:" >&5
18595 sed 's/^/| /' conftest.$ac_ext >&5
18596
18597 wx_cv_nocygwin=yes
18598
18599 fi
18600
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602
18603
18604 fi
18605 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18606 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18607
18608 if test "$wx_cv_nocygwin" = "yes"; then
18609 wants_win32=1
18610 else
18611 doesnt_want_win32=1
18612 fi
18613 fi
18614 if test "$wants_win32" = 1 ; then
18615 BAKEFILE_FORCE_PLATFORM=win32
18616 fi
18617 ;;
18618 *-*-mingw*)
18619 wants_win32=1
18620 ;;
18621 esac
18622
18623 if test "$wxUSE_WINE" = "yes"; then
18624 wants_win32=1
18625 LDFLAGS_GUI="-mwindows"
18626 fi
18627
18628 if test "$wants_win32" = 1 ; then
18629 USE_UNIX=0
18630 USE_WIN32=1
18631 cat >>confdefs.h <<\_ACEOF
18632 #define __WIN32__ 1
18633 _ACEOF
18634
18635 cat >>confdefs.h <<\_ACEOF
18636 #define __WIN95__ 1
18637 _ACEOF
18638
18639 cat >>confdefs.h <<\_ACEOF
18640 #define __WINDOWS__ 1
18641 _ACEOF
18642
18643 cat >>confdefs.h <<\_ACEOF
18644 #define __GNUWIN32__ 1
18645 _ACEOF
18646
18647 cat >>confdefs.h <<\_ACEOF
18648 #define STRICT 1
18649 _ACEOF
18650
18651 fi
18652 if test "$doesnt_want_win32" = 1 ; then
18653 USE_UNIX=1
18654 USE_WIN32=0
18655 fi
18656
18657 if test "$USE_UNIX" = 1 ; then
18658 wxUSE_UNIX=yes
18659 cat >>confdefs.h <<\_ACEOF
18660 #define __UNIX__ 1
18661 _ACEOF
18662
18663 fi
18664
18665 case "${host}" in
18666 *-pc-os2_emx | *-pc-os2-emx )
18667 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18668 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18669 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18670 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18671 echo $ECHO_N "(cached) $ECHO_C" >&6
18672 else
18673 ac_check_lib_save_LIBS=$LIBS
18674 LIBS="-lcExt $LIBS"
18675 cat >conftest.$ac_ext <<_ACEOF
18676 /* confdefs.h. */
18677 _ACEOF
18678 cat confdefs.h >>conftest.$ac_ext
18679 cat >>conftest.$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18681
18682 /* Override any GCC internal prototype to avoid an error.
18683 Use char because int might match the return type of a GCC
18684 builtin and then its argument prototype would still apply. */
18685 #ifdef __cplusplus
18686 extern "C"
18687 #endif
18688 char drand48 ();
18689 int
18690 main ()
18691 {
18692 return drand48 ();
18693 ;
18694 return 0;
18695 }
18696 _ACEOF
18697 rm -f conftest.$ac_objext conftest$ac_exeext
18698 if { (ac_try="$ac_link"
18699 case "(($ac_try" in
18700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18701 *) ac_try_echo=$ac_try;;
18702 esac
18703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18704 (eval "$ac_link") 2>conftest.er1
18705 ac_status=$?
18706 grep -v '^ *+' conftest.er1 >conftest.err
18707 rm -f conftest.er1
18708 cat conftest.err >&5
18709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18710 (exit $ac_status); } && {
18711 test -z "$ac_c_werror_flag" ||
18712 test ! -s conftest.err
18713 } && test -s conftest$ac_exeext &&
18714 $as_test_x conftest$ac_exeext; then
18715 ac_cv_lib_cExt_drand48=yes
18716 else
18717 echo "$as_me: failed program was:" >&5
18718 sed 's/^/| /' conftest.$ac_ext >&5
18719
18720 ac_cv_lib_cExt_drand48=no
18721 fi
18722
18723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18724 conftest$ac_exeext conftest.$ac_ext
18725 LIBS=$ac_check_lib_save_LIBS
18726 fi
18727 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18728 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18729 if test $ac_cv_lib_cExt_drand48 = yes; then
18730 LIBS="$LIBS -lcExt"
18731 fi
18732
18733 else
18734 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18735 fi
18736 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18737 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18738 if test "${wx_cv_gccversion+set}" = set; then
18739 echo $ECHO_N "(cached) $ECHO_C" >&6
18740 else
18741
18742 if test "$cross_compiling" = yes; then
18743 wx_cv_gccversion="EMX2"
18744
18745 else
18746 cat >conftest.$ac_ext <<_ACEOF
18747 /* confdefs.h. */
18748 _ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752
18753 #include <stdio.h>
18754
18755 int main()
18756 {
18757 FILE *f=fopen("conftestval", "w");
18758 if (!f) exit(1);
18759 fprintf(f,
18760 #if (__GNUC__ < 3)
18761 "EMX2"
18762 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18763 "EMX3"
18764 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18765 "Innotek5"
18766 #else
18767 "Innotek6"
18768 #endif
18769 );
18770 exit(0);
18771 }
18772
18773 _ACEOF
18774 rm -f conftest$ac_exeext
18775 if { (ac_try="$ac_link"
18776 case "(($ac_try" in
18777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18778 *) ac_try_echo=$ac_try;;
18779 esac
18780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18781 (eval "$ac_link") 2>&5
18782 ac_status=$?
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18785 { (case "(($ac_try" in
18786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18787 *) ac_try_echo=$ac_try;;
18788 esac
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18790 (eval "$ac_try") 2>&5
18791 ac_status=$?
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; }; then
18794 wx_cv_gccversion=`cat conftestval`
18795 else
18796 echo "$as_me: program exited with status $ac_status" >&5
18797 echo "$as_me: failed program was:" >&5
18798 sed 's/^/| /' conftest.$ac_ext >&5
18799
18800 ( exit $ac_status )
18801 wx_cv_gccversion="EMX2"
18802 fi
18803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18804 fi
18805
18806
18807
18808 fi
18809 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18810 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18811 if test "$wx_cv_gccversion" = "EMX2"; then
18812 LIBS="$LIBS -lstdcpp"
18813 LDFLAGS="$LDFLAGS -Zsysv-signals"
18814 else
18815 if test "$wx_cv_gccversion" = "EMX3"; then
18816 LIBS="$LIBS -lstdcxx -lgcc"
18817 LDFLAGS="$LDFLAGS -Zsysv-signals"
18818 else
18819 LIBS="$LIBS -lstdc++"
18820 fi
18821 fi
18822 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18823 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18824 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18825 wxUSE_OMF=yes
18826 enable_omf=yes
18827 fi
18828 ;;
18829 *)
18830
18831 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18832 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18833 if test "${ac_cv_string_strcasecmp+set}" = set; then
18834 echo $ECHO_N "(cached) $ECHO_C" >&6
18835 else
18836
18837 cat >conftest.$ac_ext <<_ACEOF
18838 /* confdefs.h. */
18839 _ACEOF
18840 cat confdefs.h >>conftest.$ac_ext
18841 cat >>conftest.$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18843
18844 #include <string.h>
18845
18846 int
18847 main ()
18848 {
18849
18850 strcasecmp("foo", "bar");
18851
18852 ;
18853 return 0;
18854 }
18855 _ACEOF
18856 rm -f conftest.$ac_objext conftest$ac_exeext
18857 if { (ac_try="$ac_link"
18858 case "(($ac_try" in
18859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18860 *) ac_try_echo=$ac_try;;
18861 esac
18862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18863 (eval "$ac_link") 2>conftest.er1
18864 ac_status=$?
18865 grep -v '^ *+' conftest.er1 >conftest.err
18866 rm -f conftest.er1
18867 cat conftest.err >&5
18868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869 (exit $ac_status); } && {
18870 test -z "$ac_c_werror_flag" ||
18871 test ! -s conftest.err
18872 } && test -s conftest$ac_exeext &&
18873 $as_test_x conftest$ac_exeext; then
18874 ac_cv_string_strcasecmp=yes
18875 else
18876 echo "$as_me: failed program was:" >&5
18877 sed 's/^/| /' conftest.$ac_ext >&5
18878
18879 ac_cv_string_strcasecmp=no
18880
18881 fi
18882
18883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18884 conftest$ac_exeext conftest.$ac_ext
18885
18886 fi
18887 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18888 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18889
18890 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18891 cat >>confdefs.h <<\_ACEOF
18892 #define HAVE_STRCASECMP_IN_STRING_H 1
18893 _ACEOF
18894
18895 else
18896 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18897 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18898 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901
18902 cat >conftest.$ac_ext <<_ACEOF
18903 /* confdefs.h. */
18904 _ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908
18909 #include <strings.h>
18910
18911 int
18912 main ()
18913 {
18914
18915 strcasecmp("foo", "bar");
18916
18917 ;
18918 return 0;
18919 }
18920 _ACEOF
18921 rm -f conftest.$ac_objext conftest$ac_exeext
18922 if { (ac_try="$ac_link"
18923 case "(($ac_try" in
18924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18925 *) ac_try_echo=$ac_try;;
18926 esac
18927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18928 (eval "$ac_link") 2>conftest.er1
18929 ac_status=$?
18930 grep -v '^ *+' conftest.er1 >conftest.err
18931 rm -f conftest.er1
18932 cat conftest.err >&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); } && {
18935 test -z "$ac_c_werror_flag" ||
18936 test ! -s conftest.err
18937 } && test -s conftest$ac_exeext &&
18938 $as_test_x conftest$ac_exeext; then
18939 ac_cv_strings_strcasecmp=yes
18940 else
18941 echo "$as_me: failed program was:" >&5
18942 sed 's/^/| /' conftest.$ac_ext >&5
18943
18944 ac_cv_strings_strcasecmp=no
18945
18946 fi
18947
18948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18949 conftest$ac_exeext conftest.$ac_ext
18950
18951 fi
18952 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18953 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18954
18955 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18956 cat >>confdefs.h <<\_ACEOF
18957 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18958 _ACEOF
18959
18960 else
18961 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18962 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18963 { (exit 1); exit 1; }; }
18964 fi
18965 fi
18966
18967 ;;
18968 esac
18969
18970
18971 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18972 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18973 if test "${ac_cv_header_stdc+set}" = set; then
18974 echo $ECHO_N "(cached) $ECHO_C" >&6
18975 else
18976 cat >conftest.$ac_ext <<_ACEOF
18977 /* confdefs.h. */
18978 _ACEOF
18979 cat confdefs.h >>conftest.$ac_ext
18980 cat >>conftest.$ac_ext <<_ACEOF
18981 /* end confdefs.h. */
18982 #include <stdlib.h>
18983 #include <stdarg.h>
18984 #include <string.h>
18985 #include <float.h>
18986
18987 int
18988 main ()
18989 {
18990
18991 ;
18992 return 0;
18993 }
18994 _ACEOF
18995 rm -f conftest.$ac_objext
18996 if { (ac_try="$ac_compile"
18997 case "(($ac_try" in
18998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18999 *) ac_try_echo=$ac_try;;
19000 esac
19001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19002 (eval "$ac_compile") 2>conftest.er1
19003 ac_status=$?
19004 grep -v '^ *+' conftest.er1 >conftest.err
19005 rm -f conftest.er1
19006 cat conftest.err >&5
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); } && {
19009 test -z "$ac_c_werror_flag" ||
19010 test ! -s conftest.err
19011 } && test -s conftest.$ac_objext; then
19012 ac_cv_header_stdc=yes
19013 else
19014 echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.$ac_ext >&5
19016
19017 ac_cv_header_stdc=no
19018 fi
19019
19020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19021
19022 if test $ac_cv_header_stdc = yes; then
19023 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19024 cat >conftest.$ac_ext <<_ACEOF
19025 /* confdefs.h. */
19026 _ACEOF
19027 cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19030 #include <string.h>
19031
19032 _ACEOF
19033 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19034 $EGREP "memchr" >/dev/null 2>&1; then
19035 :
19036 else
19037 ac_cv_header_stdc=no
19038 fi
19039 rm -f conftest*
19040
19041 fi
19042
19043 if test $ac_cv_header_stdc = yes; then
19044 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19045 cat >conftest.$ac_ext <<_ACEOF
19046 /* confdefs.h. */
19047 _ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051 #include <stdlib.h>
19052
19053 _ACEOF
19054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19055 $EGREP "free" >/dev/null 2>&1; then
19056 :
19057 else
19058 ac_cv_header_stdc=no
19059 fi
19060 rm -f conftest*
19061
19062 fi
19063
19064 if test $ac_cv_header_stdc = yes; then
19065 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19066 if test "$cross_compiling" = yes; then
19067 :
19068 else
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h. */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075 #include <ctype.h>
19076 #include <stdlib.h>
19077 #if ((' ' & 0x0FF) == 0x020)
19078 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19079 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19080 #else
19081 # define ISLOWER(c) \
19082 (('a' <= (c) && (c) <= 'i') \
19083 || ('j' <= (c) && (c) <= 'r') \
19084 || ('s' <= (c) && (c) <= 'z'))
19085 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19086 #endif
19087
19088 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19089 int
19090 main ()
19091 {
19092 int i;
19093 for (i = 0; i < 256; i++)
19094 if (XOR (islower (i), ISLOWER (i))
19095 || toupper (i) != TOUPPER (i))
19096 return 2;
19097 return 0;
19098 }
19099 _ACEOF
19100 rm -f conftest$ac_exeext
19101 if { (ac_try="$ac_link"
19102 case "(($ac_try" in
19103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19104 *) ac_try_echo=$ac_try;;
19105 esac
19106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_link") 2>&5
19108 ac_status=$?
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19111 { (case "(($ac_try" in
19112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19113 *) ac_try_echo=$ac_try;;
19114 esac
19115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19116 (eval "$ac_try") 2>&5
19117 ac_status=$?
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }; }; then
19120 :
19121 else
19122 echo "$as_me: program exited with status $ac_status" >&5
19123 echo "$as_me: failed program was:" >&5
19124 sed 's/^/| /' conftest.$ac_ext >&5
19125
19126 ( exit $ac_status )
19127 ac_cv_header_stdc=no
19128 fi
19129 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19130 fi
19131
19132
19133 fi
19134 fi
19135 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19136 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19137 if test $ac_cv_header_stdc = yes; then
19138
19139 cat >>confdefs.h <<\_ACEOF
19140 #define STDC_HEADERS 1
19141 _ACEOF
19142
19143 fi
19144
19145 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19156 inttypes.h stdint.h unistd.h
19157 do
19158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19159 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 else
19164 cat >conftest.$ac_ext <<_ACEOF
19165 /* confdefs.h. */
19166 _ACEOF
19167 cat confdefs.h >>conftest.$ac_ext
19168 cat >>conftest.$ac_ext <<_ACEOF
19169 /* end confdefs.h. */
19170 $ac_includes_default
19171
19172 #include <$ac_header>
19173 _ACEOF
19174 rm -f conftest.$ac_objext
19175 if { (ac_try="$ac_compile"
19176 case "(($ac_try" in
19177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19178 *) ac_try_echo=$ac_try;;
19179 esac
19180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19181 (eval "$ac_compile") 2>conftest.er1
19182 ac_status=$?
19183 grep -v '^ *+' conftest.er1 >conftest.err
19184 rm -f conftest.er1
19185 cat conftest.err >&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } && {
19188 test -z "$ac_c_werror_flag" ||
19189 test ! -s conftest.err
19190 } && test -s conftest.$ac_objext; then
19191 eval "$as_ac_Header=yes"
19192 else
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5
19195
19196 eval "$as_ac_Header=no"
19197 fi
19198
19199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19200 fi
19201 ac_res=`eval echo '${'$as_ac_Header'}'`
19202 { echo "$as_me:$LINENO: result: $ac_res" >&5
19203 echo "${ECHO_T}$ac_res" >&6; }
19204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19205 cat >>confdefs.h <<_ACEOF
19206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19207 _ACEOF
19208
19209 fi
19210
19211 done
19212
19213
19214
19215
19216 for ac_header in langinfo.h wchar.h
19217 do
19218 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19219 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19221 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19222 echo $ECHO_N "(cached) $ECHO_C" >&6
19223 else
19224 cat >conftest.$ac_ext <<_ACEOF
19225 /* confdefs.h. */
19226 _ACEOF
19227 cat confdefs.h >>conftest.$ac_ext
19228 cat >>conftest.$ac_ext <<_ACEOF
19229 /* end confdefs.h. */
19230 $ac_includes_default
19231
19232 #include <$ac_header>
19233 _ACEOF
19234 rm -f conftest.$ac_objext
19235 if { (ac_try="$ac_compile"
19236 case "(($ac_try" in
19237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19238 *) ac_try_echo=$ac_try;;
19239 esac
19240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19241 (eval "$ac_compile") 2>conftest.er1
19242 ac_status=$?
19243 grep -v '^ *+' conftest.er1 >conftest.err
19244 rm -f conftest.er1
19245 cat conftest.err >&5
19246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19247 (exit $ac_status); } && {
19248 test -z "$ac_c_werror_flag" ||
19249 test ! -s conftest.err
19250 } && test -s conftest.$ac_objext; then
19251 eval "$as_ac_Header=yes"
19252 else
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19255
19256 eval "$as_ac_Header=no"
19257 fi
19258
19259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19260 fi
19261 ac_res=`eval echo '${'$as_ac_Header'}'`
19262 { echo "$as_me:$LINENO: result: $ac_res" >&5
19263 echo "${ECHO_T}$ac_res" >&6; }
19264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19265 cat >>confdefs.h <<_ACEOF
19266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19267 _ACEOF
19268
19269 fi
19270
19271 done
19272
19273
19274 if test "$ac_cv_header_wchar_h" != "yes"; then
19275
19276 for ac_header in wcstr.h
19277 do
19278 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19279 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19280 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19281 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19282 echo $ECHO_N "(cached) $ECHO_C" >&6
19283 else
19284 cat >conftest.$ac_ext <<_ACEOF
19285 /* confdefs.h. */
19286 _ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290 $ac_includes_default
19291
19292 #include <$ac_header>
19293 _ACEOF
19294 rm -f conftest.$ac_objext
19295 if { (ac_try="$ac_compile"
19296 case "(($ac_try" in
19297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19298 *) ac_try_echo=$ac_try;;
19299 esac
19300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19301 (eval "$ac_compile") 2>conftest.er1
19302 ac_status=$?
19303 grep -v '^ *+' conftest.er1 >conftest.err
19304 rm -f conftest.er1
19305 cat conftest.err >&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); } && {
19308 test -z "$ac_c_werror_flag" ||
19309 test ! -s conftest.err
19310 } && test -s conftest.$ac_objext; then
19311 eval "$as_ac_Header=yes"
19312 else
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19315
19316 eval "$as_ac_Header=no"
19317 fi
19318
19319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19320 fi
19321 ac_res=`eval echo '${'$as_ac_Header'}'`
19322 { echo "$as_me:$LINENO: result: $ac_res" >&5
19323 echo "${ECHO_T}$ac_res" >&6; }
19324 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19325 cat >>confdefs.h <<_ACEOF
19326 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19327 _ACEOF
19328
19329 fi
19330
19331 done
19332
19333 fi
19334
19335 case "${host}" in
19336 *-pc-os2_emx | *-pc-os2-emx )
19337 if test $ac_cv_header_langinfo_h = "yes" \
19338 -a \( "$wx_cv_gccversion" = "EMX2" \
19339 -o "$wx_cv_gccversion" = "EMX3" \
19340 -o "$wx_cv_gccversion" = "Innotek5" \); then
19341 LIBS="$LIBS -lintl"
19342 fi
19343 ;;
19344 esac
19345
19346 if test "$USE_UNIX" = 1 ; then
19347
19348 for ac_header in sys/select.h
19349 do
19350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19354 echo $ECHO_N "(cached) $ECHO_C" >&6
19355 else
19356 cat >conftest.$ac_ext <<_ACEOF
19357 /* confdefs.h. */
19358 _ACEOF
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 $ac_includes_default
19363
19364 #include <$ac_header>
19365 _ACEOF
19366 rm -f conftest.$ac_objext
19367 if { (ac_try="$ac_compile"
19368 case "(($ac_try" in
19369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19370 *) ac_try_echo=$ac_try;;
19371 esac
19372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19373 (eval "$ac_compile") 2>conftest.er1
19374 ac_status=$?
19375 grep -v '^ *+' conftest.er1 >conftest.err
19376 rm -f conftest.er1
19377 cat conftest.err >&5
19378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19379 (exit $ac_status); } && {
19380 test -z "$ac_c_werror_flag" ||
19381 test ! -s conftest.err
19382 } && test -s conftest.$ac_objext; then
19383 eval "$as_ac_Header=yes"
19384 else
19385 echo "$as_me: failed program was:" >&5
19386 sed 's/^/| /' conftest.$ac_ext >&5
19387
19388 eval "$as_ac_Header=no"
19389 fi
19390
19391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19392 fi
19393 ac_res=`eval echo '${'$as_ac_Header'}'`
19394 { echo "$as_me:$LINENO: result: $ac_res" >&5
19395 echo "${ECHO_T}$ac_res" >&6; }
19396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19397 cat >>confdefs.h <<_ACEOF
19398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19399 _ACEOF
19400
19401 fi
19402
19403 done
19404
19405 fi
19406
19407
19408 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19409 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19410 if test "${ac_cv_c_const+set}" = set; then
19411 echo $ECHO_N "(cached) $ECHO_C" >&6
19412 else
19413 cat >conftest.$ac_ext <<_ACEOF
19414 /* confdefs.h. */
19415 _ACEOF
19416 cat confdefs.h >>conftest.$ac_ext
19417 cat >>conftest.$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419
19420 int
19421 main ()
19422 {
19423 /* FIXME: Include the comments suggested by Paul. */
19424 #ifndef __cplusplus
19425 /* Ultrix mips cc rejects this. */
19426 typedef int charset[2];
19427 const charset cs;
19428 /* SunOS 4.1.1 cc rejects this. */
19429 char const *const *pcpcc;
19430 char **ppc;
19431 /* NEC SVR4.0.2 mips cc rejects this. */
19432 struct point {int x, y;};
19433 static struct point const zero = {0,0};
19434 /* AIX XL C 1.02.0.0 rejects this.
19435 It does not let you subtract one const X* pointer from another in
19436 an arm of an if-expression whose if-part is not a constant
19437 expression */
19438 const char *g = "string";
19439 pcpcc = &g + (g ? g-g : 0);
19440 /* HPUX 7.0 cc rejects these. */
19441 ++pcpcc;
19442 ppc = (char**) pcpcc;
19443 pcpcc = (char const *const *) ppc;
19444 { /* SCO 3.2v4 cc rejects this. */
19445 char *t;
19446 char const *s = 0 ? (char *) 0 : (char const *) 0;
19447
19448 *t++ = 0;
19449 if (s) return 0;
19450 }
19451 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19452 int x[] = {25, 17};
19453 const int *foo = &x[0];
19454 ++foo;
19455 }
19456 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19457 typedef const int *iptr;
19458 iptr p = 0;
19459 ++p;
19460 }
19461 { /* AIX XL C 1.02.0.0 rejects this saying
19462 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19463 struct s { int j; const int *ap[3]; };
19464 struct s *b; b->j = 5;
19465 }
19466 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19467 const int foo = 10;
19468 if (!foo) return 0;
19469 }
19470 return !cs[0] && !zero.x;
19471 #endif
19472
19473 ;
19474 return 0;
19475 }
19476 _ACEOF
19477 rm -f conftest.$ac_objext
19478 if { (ac_try="$ac_compile"
19479 case "(($ac_try" in
19480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19481 *) ac_try_echo=$ac_try;;
19482 esac
19483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19484 (eval "$ac_compile") 2>conftest.er1
19485 ac_status=$?
19486 grep -v '^ *+' conftest.er1 >conftest.err
19487 rm -f conftest.er1
19488 cat conftest.err >&5
19489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19490 (exit $ac_status); } && {
19491 test -z "$ac_c_werror_flag" ||
19492 test ! -s conftest.err
19493 } && test -s conftest.$ac_objext; then
19494 ac_cv_c_const=yes
19495 else
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19498
19499 ac_cv_c_const=no
19500 fi
19501
19502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19503 fi
19504 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19505 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19506 if test $ac_cv_c_const = no; then
19507
19508 cat >>confdefs.h <<\_ACEOF
19509 #define const
19510 _ACEOF
19511
19512 fi
19513
19514 { echo "$as_me:$LINENO: checking for inline" >&5
19515 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19516 if test "${ac_cv_c_inline+set}" = set; then
19517 echo $ECHO_N "(cached) $ECHO_C" >&6
19518 else
19519 ac_cv_c_inline=no
19520 for ac_kw in inline __inline__ __inline; do
19521 cat >conftest.$ac_ext <<_ACEOF
19522 /* confdefs.h. */
19523 _ACEOF
19524 cat confdefs.h >>conftest.$ac_ext
19525 cat >>conftest.$ac_ext <<_ACEOF
19526 /* end confdefs.h. */
19527 #ifndef __cplusplus
19528 typedef int foo_t;
19529 static $ac_kw foo_t static_foo () {return 0; }
19530 $ac_kw foo_t foo () {return 0; }
19531 #endif
19532
19533 _ACEOF
19534 rm -f conftest.$ac_objext
19535 if { (ac_try="$ac_compile"
19536 case "(($ac_try" in
19537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19538 *) ac_try_echo=$ac_try;;
19539 esac
19540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19541 (eval "$ac_compile") 2>conftest.er1
19542 ac_status=$?
19543 grep -v '^ *+' conftest.er1 >conftest.err
19544 rm -f conftest.er1
19545 cat conftest.err >&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); } && {
19548 test -z "$ac_c_werror_flag" ||
19549 test ! -s conftest.err
19550 } && test -s conftest.$ac_objext; then
19551 ac_cv_c_inline=$ac_kw
19552 else
19553 echo "$as_me: failed program was:" >&5
19554 sed 's/^/| /' conftest.$ac_ext >&5
19555
19556
19557 fi
19558
19559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19560 test "$ac_cv_c_inline" != no && break
19561 done
19562
19563 fi
19564 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19565 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19566
19567
19568 case $ac_cv_c_inline in
19569 inline | yes) ;;
19570 *)
19571 case $ac_cv_c_inline in
19572 no) ac_val=;;
19573 *) ac_val=$ac_cv_c_inline;;
19574 esac
19575 cat >>confdefs.h <<_ACEOF
19576 #ifndef __cplusplus
19577 #define inline $ac_val
19578 #endif
19579 _ACEOF
19580 ;;
19581 esac
19582
19583
19584 { echo "$as_me:$LINENO: checking for short" >&5
19585 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19586 if test "${ac_cv_type_short+set}" = set; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19588 else
19589 cat >conftest.$ac_ext <<_ACEOF
19590 /* confdefs.h. */
19591 _ACEOF
19592 cat confdefs.h >>conftest.$ac_ext
19593 cat >>conftest.$ac_ext <<_ACEOF
19594 /* end confdefs.h. */
19595 $ac_includes_default
19596 typedef short ac__type_new_;
19597 int
19598 main ()
19599 {
19600 if ((ac__type_new_ *) 0)
19601 return 0;
19602 if (sizeof (ac__type_new_))
19603 return 0;
19604 ;
19605 return 0;
19606 }
19607 _ACEOF
19608 rm -f conftest.$ac_objext
19609 if { (ac_try="$ac_compile"
19610 case "(($ac_try" in
19611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19612 *) ac_try_echo=$ac_try;;
19613 esac
19614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19615 (eval "$ac_compile") 2>conftest.er1
19616 ac_status=$?
19617 grep -v '^ *+' conftest.er1 >conftest.err
19618 rm -f conftest.er1
19619 cat conftest.err >&5
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); } && {
19622 test -z "$ac_c_werror_flag" ||
19623 test ! -s conftest.err
19624 } && test -s conftest.$ac_objext; then
19625 ac_cv_type_short=yes
19626 else
19627 echo "$as_me: failed program was:" >&5
19628 sed 's/^/| /' conftest.$ac_ext >&5
19629
19630 ac_cv_type_short=no
19631 fi
19632
19633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19634 fi
19635 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19636 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19637
19638 # The cast to long int works around a bug in the HP C Compiler
19639 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19640 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19641 # This bug is HP SR number 8606223364.
19642 { echo "$as_me:$LINENO: checking size of short" >&5
19643 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19644 if test "${ac_cv_sizeof_short+set}" = set; then
19645 echo $ECHO_N "(cached) $ECHO_C" >&6
19646 else
19647 if test "$cross_compiling" = yes; then
19648 # Depending upon the size, compute the lo and hi bounds.
19649 cat >conftest.$ac_ext <<_ACEOF
19650 /* confdefs.h. */
19651 _ACEOF
19652 cat confdefs.h >>conftest.$ac_ext
19653 cat >>conftest.$ac_ext <<_ACEOF
19654 /* end confdefs.h. */
19655 $ac_includes_default
19656 typedef short ac__type_sizeof_;
19657 int
19658 main ()
19659 {
19660 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19661 test_array [0] = 0
19662
19663 ;
19664 return 0;
19665 }
19666 _ACEOF
19667 rm -f conftest.$ac_objext
19668 if { (ac_try="$ac_compile"
19669 case "(($ac_try" in
19670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19671 *) ac_try_echo=$ac_try;;
19672 esac
19673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19674 (eval "$ac_compile") 2>conftest.er1
19675 ac_status=$?
19676 grep -v '^ *+' conftest.er1 >conftest.err
19677 rm -f conftest.er1
19678 cat conftest.err >&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); } && {
19681 test -z "$ac_c_werror_flag" ||
19682 test ! -s conftest.err
19683 } && test -s conftest.$ac_objext; then
19684 ac_lo=0 ac_mid=0
19685 while :; do
19686 cat >conftest.$ac_ext <<_ACEOF
19687 /* confdefs.h. */
19688 _ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 $ac_includes_default
19693 typedef short ac__type_sizeof_;
19694 int
19695 main ()
19696 {
19697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19698 test_array [0] = 0
19699
19700 ;
19701 return 0;
19702 }
19703 _ACEOF
19704 rm -f conftest.$ac_objext
19705 if { (ac_try="$ac_compile"
19706 case "(($ac_try" in
19707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19708 *) ac_try_echo=$ac_try;;
19709 esac
19710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19711 (eval "$ac_compile") 2>conftest.er1
19712 ac_status=$?
19713 grep -v '^ *+' conftest.er1 >conftest.err
19714 rm -f conftest.er1
19715 cat conftest.err >&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); } && {
19718 test -z "$ac_c_werror_flag" ||
19719 test ! -s conftest.err
19720 } && test -s conftest.$ac_objext; then
19721 ac_hi=$ac_mid; break
19722 else
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19725
19726 ac_lo=`expr $ac_mid + 1`
19727 if test $ac_lo -le $ac_mid; then
19728 ac_lo= ac_hi=
19729 break
19730 fi
19731 ac_mid=`expr 2 '*' $ac_mid + 1`
19732 fi
19733
19734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19735 done
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19739
19740 cat >conftest.$ac_ext <<_ACEOF
19741 /* confdefs.h. */
19742 _ACEOF
19743 cat confdefs.h >>conftest.$ac_ext
19744 cat >>conftest.$ac_ext <<_ACEOF
19745 /* end confdefs.h. */
19746 $ac_includes_default
19747 typedef short ac__type_sizeof_;
19748 int
19749 main ()
19750 {
19751 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19752 test_array [0] = 0
19753
19754 ;
19755 return 0;
19756 }
19757 _ACEOF
19758 rm -f conftest.$ac_objext
19759 if { (ac_try="$ac_compile"
19760 case "(($ac_try" in
19761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19762 *) ac_try_echo=$ac_try;;
19763 esac
19764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19765 (eval "$ac_compile") 2>conftest.er1
19766 ac_status=$?
19767 grep -v '^ *+' conftest.er1 >conftest.err
19768 rm -f conftest.er1
19769 cat conftest.err >&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } && {
19772 test -z "$ac_c_werror_flag" ||
19773 test ! -s conftest.err
19774 } && test -s conftest.$ac_objext; then
19775 ac_hi=-1 ac_mid=-1
19776 while :; do
19777 cat >conftest.$ac_ext <<_ACEOF
19778 /* confdefs.h. */
19779 _ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19784 typedef short ac__type_sizeof_;
19785 int
19786 main ()
19787 {
19788 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19789 test_array [0] = 0
19790
19791 ;
19792 return 0;
19793 }
19794 _ACEOF
19795 rm -f conftest.$ac_objext
19796 if { (ac_try="$ac_compile"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19800 esac
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_compile") 2>conftest.er1
19803 ac_status=$?
19804 grep -v '^ *+' conftest.er1 >conftest.err
19805 rm -f conftest.er1
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest.$ac_objext; then
19812 ac_lo=$ac_mid; break
19813 else
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19816
19817 ac_hi=`expr '(' $ac_mid ')' - 1`
19818 if test $ac_mid -le $ac_hi; then
19819 ac_lo= ac_hi=
19820 break
19821 fi
19822 ac_mid=`expr 2 '*' $ac_mid`
19823 fi
19824
19825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19826 done
19827 else
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19830
19831 ac_lo= ac_hi=
19832 fi
19833
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19835 fi
19836
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19838 # Binary search between lo and hi bounds.
19839 while test "x$ac_lo" != "x$ac_hi"; do
19840 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19841 cat >conftest.$ac_ext <<_ACEOF
19842 /* confdefs.h. */
19843 _ACEOF
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 $ac_includes_default
19848 typedef short ac__type_sizeof_;
19849 int
19850 main ()
19851 {
19852 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19853 test_array [0] = 0
19854
19855 ;
19856 return 0;
19857 }
19858 _ACEOF
19859 rm -f conftest.$ac_objext
19860 if { (ac_try="$ac_compile"
19861 case "(($ac_try" in
19862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19863 *) ac_try_echo=$ac_try;;
19864 esac
19865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19866 (eval "$ac_compile") 2>conftest.er1
19867 ac_status=$?
19868 grep -v '^ *+' conftest.er1 >conftest.err
19869 rm -f conftest.er1
19870 cat conftest.err >&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); } && {
19873 test -z "$ac_c_werror_flag" ||
19874 test ! -s conftest.err
19875 } && test -s conftest.$ac_objext; then
19876 ac_hi=$ac_mid
19877 else
19878 echo "$as_me: failed program was:" >&5
19879 sed 's/^/| /' conftest.$ac_ext >&5
19880
19881 ac_lo=`expr '(' $ac_mid ')' + 1`
19882 fi
19883
19884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19885 done
19886 case $ac_lo in
19887 ?*) ac_cv_sizeof_short=$ac_lo;;
19888 '') if test "$ac_cv_type_short" = yes; then
19889 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19890 See \`config.log' for more details." >&5
19891 echo "$as_me: error: cannot compute sizeof (short)
19892 See \`config.log' for more details." >&2;}
19893 { (exit 77); exit 77; }; }
19894 else
19895 ac_cv_sizeof_short=0
19896 fi ;;
19897 esac
19898 else
19899 cat >conftest.$ac_ext <<_ACEOF
19900 /* confdefs.h. */
19901 _ACEOF
19902 cat confdefs.h >>conftest.$ac_ext
19903 cat >>conftest.$ac_ext <<_ACEOF
19904 /* end confdefs.h. */
19905 $ac_includes_default
19906 typedef short ac__type_sizeof_;
19907 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19908 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19909 #include <stdio.h>
19910 #include <stdlib.h>
19911 int
19912 main ()
19913 {
19914
19915 FILE *f = fopen ("conftest.val", "w");
19916 if (! f)
19917 return 1;
19918 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19919 {
19920 long int i = longval ();
19921 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19922 return 1;
19923 fprintf (f, "%ld\n", i);
19924 }
19925 else
19926 {
19927 unsigned long int i = ulongval ();
19928 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19929 return 1;
19930 fprintf (f, "%lu\n", i);
19931 }
19932 return ferror (f) || fclose (f) != 0;
19933
19934 ;
19935 return 0;
19936 }
19937 _ACEOF
19938 rm -f conftest$ac_exeext
19939 if { (ac_try="$ac_link"
19940 case "(($ac_try" in
19941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19942 *) ac_try_echo=$ac_try;;
19943 esac
19944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19945 (eval "$ac_link") 2>&5
19946 ac_status=$?
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19949 { (case "(($ac_try" in
19950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19951 *) ac_try_echo=$ac_try;;
19952 esac
19953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19954 (eval "$ac_try") 2>&5
19955 ac_status=$?
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); }; }; then
19958 ac_cv_sizeof_short=`cat conftest.val`
19959 else
19960 echo "$as_me: program exited with status $ac_status" >&5
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19963
19964 ( exit $ac_status )
19965 if test "$ac_cv_type_short" = yes; then
19966 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19967 See \`config.log' for more details." >&5
19968 echo "$as_me: error: cannot compute sizeof (short)
19969 See \`config.log' for more details." >&2;}
19970 { (exit 77); exit 77; }; }
19971 else
19972 ac_cv_sizeof_short=0
19973 fi
19974 fi
19975 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19976 fi
19977 rm -f conftest.val
19978 fi
19979 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19980 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19981
19982
19983
19984 cat >>confdefs.h <<_ACEOF
19985 #define SIZEOF_SHORT $ac_cv_sizeof_short
19986 _ACEOF
19987
19988
19989 { echo "$as_me:$LINENO: checking for void *" >&5
19990 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19991 if test "${ac_cv_type_void_p+set}" = set; then
19992 echo $ECHO_N "(cached) $ECHO_C" >&6
19993 else
19994 cat >conftest.$ac_ext <<_ACEOF
19995 /* confdefs.h. */
19996 _ACEOF
19997 cat confdefs.h >>conftest.$ac_ext
19998 cat >>conftest.$ac_ext <<_ACEOF
19999 /* end confdefs.h. */
20000 $ac_includes_default
20001 typedef void * ac__type_new_;
20002 int
20003 main ()
20004 {
20005 if ((ac__type_new_ *) 0)
20006 return 0;
20007 if (sizeof (ac__type_new_))
20008 return 0;
20009 ;
20010 return 0;
20011 }
20012 _ACEOF
20013 rm -f conftest.$ac_objext
20014 if { (ac_try="$ac_compile"
20015 case "(($ac_try" in
20016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20017 *) ac_try_echo=$ac_try;;
20018 esac
20019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20020 (eval "$ac_compile") 2>conftest.er1
20021 ac_status=$?
20022 grep -v '^ *+' conftest.er1 >conftest.err
20023 rm -f conftest.er1
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } && {
20027 test -z "$ac_c_werror_flag" ||
20028 test ! -s conftest.err
20029 } && test -s conftest.$ac_objext; then
20030 ac_cv_type_void_p=yes
20031 else
20032 echo "$as_me: failed program was:" >&5
20033 sed 's/^/| /' conftest.$ac_ext >&5
20034
20035 ac_cv_type_void_p=no
20036 fi
20037
20038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20039 fi
20040 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20041 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20042
20043 # The cast to long int works around a bug in the HP C Compiler
20044 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20045 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20046 # This bug is HP SR number 8606223364.
20047 { echo "$as_me:$LINENO: checking size of void *" >&5
20048 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20049 if test "${ac_cv_sizeof_void_p+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 else
20052 if test "$cross_compiling" = yes; then
20053 # Depending upon the size, compute the lo and hi bounds.
20054 cat >conftest.$ac_ext <<_ACEOF
20055 /* confdefs.h. */
20056 _ACEOF
20057 cat confdefs.h >>conftest.$ac_ext
20058 cat >>conftest.$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 $ac_includes_default
20061 typedef void * ac__type_sizeof_;
20062 int
20063 main ()
20064 {
20065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20066 test_array [0] = 0
20067
20068 ;
20069 return 0;
20070 }
20071 _ACEOF
20072 rm -f conftest.$ac_objext
20073 if { (ac_try="$ac_compile"
20074 case "(($ac_try" in
20075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20076 *) ac_try_echo=$ac_try;;
20077 esac
20078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20079 (eval "$ac_compile") 2>conftest.er1
20080 ac_status=$?
20081 grep -v '^ *+' conftest.er1 >conftest.err
20082 rm -f conftest.er1
20083 cat conftest.err >&5
20084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20085 (exit $ac_status); } && {
20086 test -z "$ac_c_werror_flag" ||
20087 test ! -s conftest.err
20088 } && test -s conftest.$ac_objext; then
20089 ac_lo=0 ac_mid=0
20090 while :; do
20091 cat >conftest.$ac_ext <<_ACEOF
20092 /* confdefs.h. */
20093 _ACEOF
20094 cat confdefs.h >>conftest.$ac_ext
20095 cat >>conftest.$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 $ac_includes_default
20098 typedef void * ac__type_sizeof_;
20099 int
20100 main ()
20101 {
20102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20103 test_array [0] = 0
20104
20105 ;
20106 return 0;
20107 }
20108 _ACEOF
20109 rm -f conftest.$ac_objext
20110 if { (ac_try="$ac_compile"
20111 case "(($ac_try" in
20112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20113 *) ac_try_echo=$ac_try;;
20114 esac
20115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20116 (eval "$ac_compile") 2>conftest.er1
20117 ac_status=$?
20118 grep -v '^ *+' conftest.er1 >conftest.err
20119 rm -f conftest.er1
20120 cat conftest.err >&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } && {
20123 test -z "$ac_c_werror_flag" ||
20124 test ! -s conftest.err
20125 } && test -s conftest.$ac_objext; then
20126 ac_hi=$ac_mid; break
20127 else
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.$ac_ext >&5
20130
20131 ac_lo=`expr $ac_mid + 1`
20132 if test $ac_lo -le $ac_mid; then
20133 ac_lo= ac_hi=
20134 break
20135 fi
20136 ac_mid=`expr 2 '*' $ac_mid + 1`
20137 fi
20138
20139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20140 done
20141 else
20142 echo "$as_me: failed program was:" >&5
20143 sed 's/^/| /' conftest.$ac_ext >&5
20144
20145 cat >conftest.$ac_ext <<_ACEOF
20146 /* confdefs.h. */
20147 _ACEOF
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h. */
20151 $ac_includes_default
20152 typedef void * ac__type_sizeof_;
20153 int
20154 main ()
20155 {
20156 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20157 test_array [0] = 0
20158
20159 ;
20160 return 0;
20161 }
20162 _ACEOF
20163 rm -f conftest.$ac_objext
20164 if { (ac_try="$ac_compile"
20165 case "(($ac_try" in
20166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20167 *) ac_try_echo=$ac_try;;
20168 esac
20169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20170 (eval "$ac_compile") 2>conftest.er1
20171 ac_status=$?
20172 grep -v '^ *+' conftest.er1 >conftest.err
20173 rm -f conftest.er1
20174 cat conftest.err >&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); } && {
20177 test -z "$ac_c_werror_flag" ||
20178 test ! -s conftest.err
20179 } && test -s conftest.$ac_objext; then
20180 ac_hi=-1 ac_mid=-1
20181 while :; do
20182 cat >conftest.$ac_ext <<_ACEOF
20183 /* confdefs.h. */
20184 _ACEOF
20185 cat confdefs.h >>conftest.$ac_ext
20186 cat >>conftest.$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 $ac_includes_default
20189 typedef void * ac__type_sizeof_;
20190 int
20191 main ()
20192 {
20193 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20194 test_array [0] = 0
20195
20196 ;
20197 return 0;
20198 }
20199 _ACEOF
20200 rm -f conftest.$ac_objext
20201 if { (ac_try="$ac_compile"
20202 case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20205 esac
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_compile") 2>conftest.er1
20208 ac_status=$?
20209 grep -v '^ *+' conftest.er1 >conftest.err
20210 rm -f conftest.er1
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } && {
20214 test -z "$ac_c_werror_flag" ||
20215 test ! -s conftest.err
20216 } && test -s conftest.$ac_objext; then
20217 ac_lo=$ac_mid; break
20218 else
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20221
20222 ac_hi=`expr '(' $ac_mid ')' - 1`
20223 if test $ac_mid -le $ac_hi; then
20224 ac_lo= ac_hi=
20225 break
20226 fi
20227 ac_mid=`expr 2 '*' $ac_mid`
20228 fi
20229
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20231 done
20232 else
20233 echo "$as_me: failed program was:" >&5
20234 sed 's/^/| /' conftest.$ac_ext >&5
20235
20236 ac_lo= ac_hi=
20237 fi
20238
20239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20240 fi
20241
20242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20243 # Binary search between lo and hi bounds.
20244 while test "x$ac_lo" != "x$ac_hi"; do
20245 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20246 cat >conftest.$ac_ext <<_ACEOF
20247 /* confdefs.h. */
20248 _ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 $ac_includes_default
20253 typedef void * ac__type_sizeof_;
20254 int
20255 main ()
20256 {
20257 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20258 test_array [0] = 0
20259
20260 ;
20261 return 0;
20262 }
20263 _ACEOF
20264 rm -f conftest.$ac_objext
20265 if { (ac_try="$ac_compile"
20266 case "(($ac_try" in
20267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20268 *) ac_try_echo=$ac_try;;
20269 esac
20270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20271 (eval "$ac_compile") 2>conftest.er1
20272 ac_status=$?
20273 grep -v '^ *+' conftest.er1 >conftest.err
20274 rm -f conftest.er1
20275 cat conftest.err >&5
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); } && {
20278 test -z "$ac_c_werror_flag" ||
20279 test ! -s conftest.err
20280 } && test -s conftest.$ac_objext; then
20281 ac_hi=$ac_mid
20282 else
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.$ac_ext >&5
20285
20286 ac_lo=`expr '(' $ac_mid ')' + 1`
20287 fi
20288
20289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20290 done
20291 case $ac_lo in
20292 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20293 '') if test "$ac_cv_type_void_p" = yes; then
20294 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20295 See \`config.log' for more details." >&5
20296 echo "$as_me: error: cannot compute sizeof (void *)
20297 See \`config.log' for more details." >&2;}
20298 { (exit 77); exit 77; }; }
20299 else
20300 ac_cv_sizeof_void_p=0
20301 fi ;;
20302 esac
20303 else
20304 cat >conftest.$ac_ext <<_ACEOF
20305 /* confdefs.h. */
20306 _ACEOF
20307 cat confdefs.h >>conftest.$ac_ext
20308 cat >>conftest.$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20310 $ac_includes_default
20311 typedef void * ac__type_sizeof_;
20312 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20313 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20314 #include <stdio.h>
20315 #include <stdlib.h>
20316 int
20317 main ()
20318 {
20319
20320 FILE *f = fopen ("conftest.val", "w");
20321 if (! f)
20322 return 1;
20323 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20324 {
20325 long int i = longval ();
20326 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20327 return 1;
20328 fprintf (f, "%ld\n", i);
20329 }
20330 else
20331 {
20332 unsigned long int i = ulongval ();
20333 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20334 return 1;
20335 fprintf (f, "%lu\n", i);
20336 }
20337 return ferror (f) || fclose (f) != 0;
20338
20339 ;
20340 return 0;
20341 }
20342 _ACEOF
20343 rm -f conftest$ac_exeext
20344 if { (ac_try="$ac_link"
20345 case "(($ac_try" in
20346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20347 *) ac_try_echo=$ac_try;;
20348 esac
20349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20350 (eval "$ac_link") 2>&5
20351 ac_status=$?
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20354 { (case "(($ac_try" in
20355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20356 *) ac_try_echo=$ac_try;;
20357 esac
20358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20359 (eval "$ac_try") 2>&5
20360 ac_status=$?
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; }; then
20363 ac_cv_sizeof_void_p=`cat conftest.val`
20364 else
20365 echo "$as_me: program exited with status $ac_status" >&5
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20368
20369 ( exit $ac_status )
20370 if test "$ac_cv_type_void_p" = yes; then
20371 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20372 See \`config.log' for more details." >&5
20373 echo "$as_me: error: cannot compute sizeof (void *)
20374 See \`config.log' for more details." >&2;}
20375 { (exit 77); exit 77; }; }
20376 else
20377 ac_cv_sizeof_void_p=0
20378 fi
20379 fi
20380 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20381 fi
20382 rm -f conftest.val
20383 fi
20384 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20385 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20386
20387
20388
20389 cat >>confdefs.h <<_ACEOF
20390 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20391 _ACEOF
20392
20393
20394 { echo "$as_me:$LINENO: checking for int" >&5
20395 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20396 if test "${ac_cv_type_int+set}" = set; then
20397 echo $ECHO_N "(cached) $ECHO_C" >&6
20398 else
20399 cat >conftest.$ac_ext <<_ACEOF
20400 /* confdefs.h. */
20401 _ACEOF
20402 cat confdefs.h >>conftest.$ac_ext
20403 cat >>conftest.$ac_ext <<_ACEOF
20404 /* end confdefs.h. */
20405 $ac_includes_default
20406 typedef int ac__type_new_;
20407 int
20408 main ()
20409 {
20410 if ((ac__type_new_ *) 0)
20411 return 0;
20412 if (sizeof (ac__type_new_))
20413 return 0;
20414 ;
20415 return 0;
20416 }
20417 _ACEOF
20418 rm -f conftest.$ac_objext
20419 if { (ac_try="$ac_compile"
20420 case "(($ac_try" in
20421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20422 *) ac_try_echo=$ac_try;;
20423 esac
20424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20425 (eval "$ac_compile") 2>conftest.er1
20426 ac_status=$?
20427 grep -v '^ *+' conftest.er1 >conftest.err
20428 rm -f conftest.er1
20429 cat conftest.err >&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); } && {
20432 test -z "$ac_c_werror_flag" ||
20433 test ! -s conftest.err
20434 } && test -s conftest.$ac_objext; then
20435 ac_cv_type_int=yes
20436 else
20437 echo "$as_me: failed program was:" >&5
20438 sed 's/^/| /' conftest.$ac_ext >&5
20439
20440 ac_cv_type_int=no
20441 fi
20442
20443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20444 fi
20445 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20446 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20447
20448 # The cast to long int works around a bug in the HP C Compiler
20449 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20450 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20451 # This bug is HP SR number 8606223364.
20452 { echo "$as_me:$LINENO: checking size of int" >&5
20453 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20454 if test "${ac_cv_sizeof_int+set}" = set; then
20455 echo $ECHO_N "(cached) $ECHO_C" >&6
20456 else
20457 if test "$cross_compiling" = yes; then
20458 # Depending upon the size, compute the lo and hi bounds.
20459 cat >conftest.$ac_ext <<_ACEOF
20460 /* confdefs.h. */
20461 _ACEOF
20462 cat confdefs.h >>conftest.$ac_ext
20463 cat >>conftest.$ac_ext <<_ACEOF
20464 /* end confdefs.h. */
20465 $ac_includes_default
20466 typedef int ac__type_sizeof_;
20467 int
20468 main ()
20469 {
20470 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20471 test_array [0] = 0
20472
20473 ;
20474 return 0;
20475 }
20476 _ACEOF
20477 rm -f conftest.$ac_objext
20478 if { (ac_try="$ac_compile"
20479 case "(($ac_try" in
20480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20481 *) ac_try_echo=$ac_try;;
20482 esac
20483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20484 (eval "$ac_compile") 2>conftest.er1
20485 ac_status=$?
20486 grep -v '^ *+' conftest.er1 >conftest.err
20487 rm -f conftest.er1
20488 cat conftest.err >&5
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } && {
20491 test -z "$ac_c_werror_flag" ||
20492 test ! -s conftest.err
20493 } && test -s conftest.$ac_objext; then
20494 ac_lo=0 ac_mid=0
20495 while :; do
20496 cat >conftest.$ac_ext <<_ACEOF
20497 /* confdefs.h. */
20498 _ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 $ac_includes_default
20503 typedef int ac__type_sizeof_;
20504 int
20505 main ()
20506 {
20507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20508 test_array [0] = 0
20509
20510 ;
20511 return 0;
20512 }
20513 _ACEOF
20514 rm -f conftest.$ac_objext
20515 if { (ac_try="$ac_compile"
20516 case "(($ac_try" in
20517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20518 *) ac_try_echo=$ac_try;;
20519 esac
20520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20521 (eval "$ac_compile") 2>conftest.er1
20522 ac_status=$?
20523 grep -v '^ *+' conftest.er1 >conftest.err
20524 rm -f conftest.er1
20525 cat conftest.err >&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); } && {
20528 test -z "$ac_c_werror_flag" ||
20529 test ! -s conftest.err
20530 } && test -s conftest.$ac_objext; then
20531 ac_hi=$ac_mid; break
20532 else
20533 echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.$ac_ext >&5
20535
20536 ac_lo=`expr $ac_mid + 1`
20537 if test $ac_lo -le $ac_mid; then
20538 ac_lo= ac_hi=
20539 break
20540 fi
20541 ac_mid=`expr 2 '*' $ac_mid + 1`
20542 fi
20543
20544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20545 done
20546 else
20547 echo "$as_me: failed program was:" >&5
20548 sed 's/^/| /' conftest.$ac_ext >&5
20549
20550 cat >conftest.$ac_ext <<_ACEOF
20551 /* confdefs.h. */
20552 _ACEOF
20553 cat confdefs.h >>conftest.$ac_ext
20554 cat >>conftest.$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20556 $ac_includes_default
20557 typedef int ac__type_sizeof_;
20558 int
20559 main ()
20560 {
20561 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20562 test_array [0] = 0
20563
20564 ;
20565 return 0;
20566 }
20567 _ACEOF
20568 rm -f conftest.$ac_objext
20569 if { (ac_try="$ac_compile"
20570 case "(($ac_try" in
20571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20572 *) ac_try_echo=$ac_try;;
20573 esac
20574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20575 (eval "$ac_compile") 2>conftest.er1
20576 ac_status=$?
20577 grep -v '^ *+' conftest.er1 >conftest.err
20578 rm -f conftest.er1
20579 cat conftest.err >&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } && {
20582 test -z "$ac_c_werror_flag" ||
20583 test ! -s conftest.err
20584 } && test -s conftest.$ac_objext; then
20585 ac_hi=-1 ac_mid=-1
20586 while :; do
20587 cat >conftest.$ac_ext <<_ACEOF
20588 /* confdefs.h. */
20589 _ACEOF
20590 cat confdefs.h >>conftest.$ac_ext
20591 cat >>conftest.$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20593 $ac_includes_default
20594 typedef int ac__type_sizeof_;
20595 int
20596 main ()
20597 {
20598 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20599 test_array [0] = 0
20600
20601 ;
20602 return 0;
20603 }
20604 _ACEOF
20605 rm -f conftest.$ac_objext
20606 if { (ac_try="$ac_compile"
20607 case "(($ac_try" in
20608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20609 *) ac_try_echo=$ac_try;;
20610 esac
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_compile") 2>conftest.er1
20613 ac_status=$?
20614 grep -v '^ *+' conftest.er1 >conftest.err
20615 rm -f conftest.er1
20616 cat conftest.err >&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } && {
20619 test -z "$ac_c_werror_flag" ||
20620 test ! -s conftest.err
20621 } && test -s conftest.$ac_objext; then
20622 ac_lo=$ac_mid; break
20623 else
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20626
20627 ac_hi=`expr '(' $ac_mid ')' - 1`
20628 if test $ac_mid -le $ac_hi; then
20629 ac_lo= ac_hi=
20630 break
20631 fi
20632 ac_mid=`expr 2 '*' $ac_mid`
20633 fi
20634
20635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20636 done
20637 else
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20640
20641 ac_lo= ac_hi=
20642 fi
20643
20644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20645 fi
20646
20647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20648 # Binary search between lo and hi bounds.
20649 while test "x$ac_lo" != "x$ac_hi"; do
20650 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20651 cat >conftest.$ac_ext <<_ACEOF
20652 /* confdefs.h. */
20653 _ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657 $ac_includes_default
20658 typedef int ac__type_sizeof_;
20659 int
20660 main ()
20661 {
20662 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20663 test_array [0] = 0
20664
20665 ;
20666 return 0;
20667 }
20668 _ACEOF
20669 rm -f conftest.$ac_objext
20670 if { (ac_try="$ac_compile"
20671 case "(($ac_try" in
20672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20673 *) ac_try_echo=$ac_try;;
20674 esac
20675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20676 (eval "$ac_compile") 2>conftest.er1
20677 ac_status=$?
20678 grep -v '^ *+' conftest.er1 >conftest.err
20679 rm -f conftest.er1
20680 cat conftest.err >&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } && {
20683 test -z "$ac_c_werror_flag" ||
20684 test ! -s conftest.err
20685 } && test -s conftest.$ac_objext; then
20686 ac_hi=$ac_mid
20687 else
20688 echo "$as_me: failed program was:" >&5
20689 sed 's/^/| /' conftest.$ac_ext >&5
20690
20691 ac_lo=`expr '(' $ac_mid ')' + 1`
20692 fi
20693
20694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20695 done
20696 case $ac_lo in
20697 ?*) ac_cv_sizeof_int=$ac_lo;;
20698 '') if test "$ac_cv_type_int" = yes; then
20699 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20700 See \`config.log' for more details." >&5
20701 echo "$as_me: error: cannot compute sizeof (int)
20702 See \`config.log' for more details." >&2;}
20703 { (exit 77); exit 77; }; }
20704 else
20705 ac_cv_sizeof_int=0
20706 fi ;;
20707 esac
20708 else
20709 cat >conftest.$ac_ext <<_ACEOF
20710 /* confdefs.h. */
20711 _ACEOF
20712 cat confdefs.h >>conftest.$ac_ext
20713 cat >>conftest.$ac_ext <<_ACEOF
20714 /* end confdefs.h. */
20715 $ac_includes_default
20716 typedef int ac__type_sizeof_;
20717 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20718 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20719 #include <stdio.h>
20720 #include <stdlib.h>
20721 int
20722 main ()
20723 {
20724
20725 FILE *f = fopen ("conftest.val", "w");
20726 if (! f)
20727 return 1;
20728 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20729 {
20730 long int i = longval ();
20731 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20732 return 1;
20733 fprintf (f, "%ld\n", i);
20734 }
20735 else
20736 {
20737 unsigned long int i = ulongval ();
20738 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20739 return 1;
20740 fprintf (f, "%lu\n", i);
20741 }
20742 return ferror (f) || fclose (f) != 0;
20743
20744 ;
20745 return 0;
20746 }
20747 _ACEOF
20748 rm -f conftest$ac_exeext
20749 if { (ac_try="$ac_link"
20750 case "(($ac_try" in
20751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20752 *) ac_try_echo=$ac_try;;
20753 esac
20754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20755 (eval "$ac_link") 2>&5
20756 ac_status=$?
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20759 { (case "(($ac_try" in
20760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20761 *) ac_try_echo=$ac_try;;
20762 esac
20763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20764 (eval "$ac_try") 2>&5
20765 ac_status=$?
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 ac_cv_sizeof_int=`cat conftest.val`
20769 else
20770 echo "$as_me: program exited with status $ac_status" >&5
20771 echo "$as_me: failed program was:" >&5
20772 sed 's/^/| /' conftest.$ac_ext >&5
20773
20774 ( exit $ac_status )
20775 if test "$ac_cv_type_int" = yes; then
20776 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20777 See \`config.log' for more details." >&5
20778 echo "$as_me: error: cannot compute sizeof (int)
20779 See \`config.log' for more details." >&2;}
20780 { (exit 77); exit 77; }; }
20781 else
20782 ac_cv_sizeof_int=0
20783 fi
20784 fi
20785 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20786 fi
20787 rm -f conftest.val
20788 fi
20789 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20790 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20791
20792
20793
20794 cat >>confdefs.h <<_ACEOF
20795 #define SIZEOF_INT $ac_cv_sizeof_int
20796 _ACEOF
20797
20798
20799 { echo "$as_me:$LINENO: checking for long" >&5
20800 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20801 if test "${ac_cv_type_long+set}" = set; then
20802 echo $ECHO_N "(cached) $ECHO_C" >&6
20803 else
20804 cat >conftest.$ac_ext <<_ACEOF
20805 /* confdefs.h. */
20806 _ACEOF
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20810 $ac_includes_default
20811 typedef long ac__type_new_;
20812 int
20813 main ()
20814 {
20815 if ((ac__type_new_ *) 0)
20816 return 0;
20817 if (sizeof (ac__type_new_))
20818 return 0;
20819 ;
20820 return 0;
20821 }
20822 _ACEOF
20823 rm -f conftest.$ac_objext
20824 if { (ac_try="$ac_compile"
20825 case "(($ac_try" in
20826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20827 *) ac_try_echo=$ac_try;;
20828 esac
20829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20830 (eval "$ac_compile") 2>conftest.er1
20831 ac_status=$?
20832 grep -v '^ *+' conftest.er1 >conftest.err
20833 rm -f conftest.er1
20834 cat conftest.err >&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } && {
20837 test -z "$ac_c_werror_flag" ||
20838 test ! -s conftest.err
20839 } && test -s conftest.$ac_objext; then
20840 ac_cv_type_long=yes
20841 else
20842 echo "$as_me: failed program was:" >&5
20843 sed 's/^/| /' conftest.$ac_ext >&5
20844
20845 ac_cv_type_long=no
20846 fi
20847
20848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20849 fi
20850 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20851 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20852
20853 # The cast to long int works around a bug in the HP C Compiler
20854 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20855 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20856 # This bug is HP SR number 8606223364.
20857 { echo "$as_me:$LINENO: checking size of long" >&5
20858 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20859 if test "${ac_cv_sizeof_long+set}" = set; then
20860 echo $ECHO_N "(cached) $ECHO_C" >&6
20861 else
20862 if test "$cross_compiling" = yes; then
20863 # Depending upon the size, compute the lo and hi bounds.
20864 cat >conftest.$ac_ext <<_ACEOF
20865 /* confdefs.h. */
20866 _ACEOF
20867 cat confdefs.h >>conftest.$ac_ext
20868 cat >>conftest.$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20870 $ac_includes_default
20871 typedef long ac__type_sizeof_;
20872 int
20873 main ()
20874 {
20875 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20876 test_array [0] = 0
20877
20878 ;
20879 return 0;
20880 }
20881 _ACEOF
20882 rm -f conftest.$ac_objext
20883 if { (ac_try="$ac_compile"
20884 case "(($ac_try" in
20885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20886 *) ac_try_echo=$ac_try;;
20887 esac
20888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20889 (eval "$ac_compile") 2>conftest.er1
20890 ac_status=$?
20891 grep -v '^ *+' conftest.er1 >conftest.err
20892 rm -f conftest.er1
20893 cat conftest.err >&5
20894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20895 (exit $ac_status); } && {
20896 test -z "$ac_c_werror_flag" ||
20897 test ! -s conftest.err
20898 } && test -s conftest.$ac_objext; then
20899 ac_lo=0 ac_mid=0
20900 while :; do
20901 cat >conftest.$ac_ext <<_ACEOF
20902 /* confdefs.h. */
20903 _ACEOF
20904 cat confdefs.h >>conftest.$ac_ext
20905 cat >>conftest.$ac_ext <<_ACEOF
20906 /* end confdefs.h. */
20907 $ac_includes_default
20908 typedef long ac__type_sizeof_;
20909 int
20910 main ()
20911 {
20912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20913 test_array [0] = 0
20914
20915 ;
20916 return 0;
20917 }
20918 _ACEOF
20919 rm -f conftest.$ac_objext
20920 if { (ac_try="$ac_compile"
20921 case "(($ac_try" in
20922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20923 *) ac_try_echo=$ac_try;;
20924 esac
20925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20926 (eval "$ac_compile") 2>conftest.er1
20927 ac_status=$?
20928 grep -v '^ *+' conftest.er1 >conftest.err
20929 rm -f conftest.er1
20930 cat conftest.err >&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } && {
20933 test -z "$ac_c_werror_flag" ||
20934 test ! -s conftest.err
20935 } && test -s conftest.$ac_objext; then
20936 ac_hi=$ac_mid; break
20937 else
20938 echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.$ac_ext >&5
20940
20941 ac_lo=`expr $ac_mid + 1`
20942 if test $ac_lo -le $ac_mid; then
20943 ac_lo= ac_hi=
20944 break
20945 fi
20946 ac_mid=`expr 2 '*' $ac_mid + 1`
20947 fi
20948
20949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20950 done
20951 else
20952 echo "$as_me: failed program was:" >&5
20953 sed 's/^/| /' conftest.$ac_ext >&5
20954
20955 cat >conftest.$ac_ext <<_ACEOF
20956 /* confdefs.h. */
20957 _ACEOF
20958 cat confdefs.h >>conftest.$ac_ext
20959 cat >>conftest.$ac_ext <<_ACEOF
20960 /* end confdefs.h. */
20961 $ac_includes_default
20962 typedef long ac__type_sizeof_;
20963 int
20964 main ()
20965 {
20966 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20967 test_array [0] = 0
20968
20969 ;
20970 return 0;
20971 }
20972 _ACEOF
20973 rm -f conftest.$ac_objext
20974 if { (ac_try="$ac_compile"
20975 case "(($ac_try" in
20976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20977 *) ac_try_echo=$ac_try;;
20978 esac
20979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20980 (eval "$ac_compile") 2>conftest.er1
20981 ac_status=$?
20982 grep -v '^ *+' conftest.er1 >conftest.err
20983 rm -f conftest.er1
20984 cat conftest.err >&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); } && {
20987 test -z "$ac_c_werror_flag" ||
20988 test ! -s conftest.err
20989 } && test -s conftest.$ac_objext; then
20990 ac_hi=-1 ac_mid=-1
20991 while :; do
20992 cat >conftest.$ac_ext <<_ACEOF
20993 /* confdefs.h. */
20994 _ACEOF
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998 $ac_includes_default
20999 typedef long ac__type_sizeof_;
21000 int
21001 main ()
21002 {
21003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21004 test_array [0] = 0
21005
21006 ;
21007 return 0;
21008 }
21009 _ACEOF
21010 rm -f conftest.$ac_objext
21011 if { (ac_try="$ac_compile"
21012 case "(($ac_try" in
21013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21014 *) ac_try_echo=$ac_try;;
21015 esac
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_compile") 2>conftest.er1
21018 ac_status=$?
21019 grep -v '^ *+' conftest.er1 >conftest.err
21020 rm -f conftest.er1
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && {
21024 test -z "$ac_c_werror_flag" ||
21025 test ! -s conftest.err
21026 } && test -s conftest.$ac_objext; then
21027 ac_lo=$ac_mid; break
21028 else
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21031
21032 ac_hi=`expr '(' $ac_mid ')' - 1`
21033 if test $ac_mid -le $ac_hi; then
21034 ac_lo= ac_hi=
21035 break
21036 fi
21037 ac_mid=`expr 2 '*' $ac_mid`
21038 fi
21039
21040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21041 done
21042 else
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21045
21046 ac_lo= ac_hi=
21047 fi
21048
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050 fi
21051
21052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21053 # Binary search between lo and hi bounds.
21054 while test "x$ac_lo" != "x$ac_hi"; do
21055 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21056 cat >conftest.$ac_ext <<_ACEOF
21057 /* confdefs.h. */
21058 _ACEOF
21059 cat confdefs.h >>conftest.$ac_ext
21060 cat >>conftest.$ac_ext <<_ACEOF
21061 /* end confdefs.h. */
21062 $ac_includes_default
21063 typedef long ac__type_sizeof_;
21064 int
21065 main ()
21066 {
21067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21068 test_array [0] = 0
21069
21070 ;
21071 return 0;
21072 }
21073 _ACEOF
21074 rm -f conftest.$ac_objext
21075 if { (ac_try="$ac_compile"
21076 case "(($ac_try" in
21077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21078 *) ac_try_echo=$ac_try;;
21079 esac
21080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21081 (eval "$ac_compile") 2>conftest.er1
21082 ac_status=$?
21083 grep -v '^ *+' conftest.er1 >conftest.err
21084 rm -f conftest.er1
21085 cat conftest.err >&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); } && {
21088 test -z "$ac_c_werror_flag" ||
21089 test ! -s conftest.err
21090 } && test -s conftest.$ac_objext; then
21091 ac_hi=$ac_mid
21092 else
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21095
21096 ac_lo=`expr '(' $ac_mid ')' + 1`
21097 fi
21098
21099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21100 done
21101 case $ac_lo in
21102 ?*) ac_cv_sizeof_long=$ac_lo;;
21103 '') if test "$ac_cv_type_long" = yes; then
21104 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21105 See \`config.log' for more details." >&5
21106 echo "$as_me: error: cannot compute sizeof (long)
21107 See \`config.log' for more details." >&2;}
21108 { (exit 77); exit 77; }; }
21109 else
21110 ac_cv_sizeof_long=0
21111 fi ;;
21112 esac
21113 else
21114 cat >conftest.$ac_ext <<_ACEOF
21115 /* confdefs.h. */
21116 _ACEOF
21117 cat confdefs.h >>conftest.$ac_ext
21118 cat >>conftest.$ac_ext <<_ACEOF
21119 /* end confdefs.h. */
21120 $ac_includes_default
21121 typedef long ac__type_sizeof_;
21122 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21123 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21124 #include <stdio.h>
21125 #include <stdlib.h>
21126 int
21127 main ()
21128 {
21129
21130 FILE *f = fopen ("conftest.val", "w");
21131 if (! f)
21132 return 1;
21133 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21134 {
21135 long int i = longval ();
21136 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21137 return 1;
21138 fprintf (f, "%ld\n", i);
21139 }
21140 else
21141 {
21142 unsigned long int i = ulongval ();
21143 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21144 return 1;
21145 fprintf (f, "%lu\n", i);
21146 }
21147 return ferror (f) || fclose (f) != 0;
21148
21149 ;
21150 return 0;
21151 }
21152 _ACEOF
21153 rm -f conftest$ac_exeext
21154 if { (ac_try="$ac_link"
21155 case "(($ac_try" in
21156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21157 *) ac_try_echo=$ac_try;;
21158 esac
21159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21160 (eval "$ac_link") 2>&5
21161 ac_status=$?
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21164 { (case "(($ac_try" in
21165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21166 *) ac_try_echo=$ac_try;;
21167 esac
21168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21169 (eval "$ac_try") 2>&5
21170 ac_status=$?
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; }; then
21173 ac_cv_sizeof_long=`cat conftest.val`
21174 else
21175 echo "$as_me: program exited with status $ac_status" >&5
21176 echo "$as_me: failed program was:" >&5
21177 sed 's/^/| /' conftest.$ac_ext >&5
21178
21179 ( exit $ac_status )
21180 if test "$ac_cv_type_long" = yes; then
21181 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21182 See \`config.log' for more details." >&5
21183 echo "$as_me: error: cannot compute sizeof (long)
21184 See \`config.log' for more details." >&2;}
21185 { (exit 77); exit 77; }; }
21186 else
21187 ac_cv_sizeof_long=0
21188 fi
21189 fi
21190 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21191 fi
21192 rm -f conftest.val
21193 fi
21194 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21195 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21196
21197
21198
21199 cat >>confdefs.h <<_ACEOF
21200 #define SIZEOF_LONG $ac_cv_sizeof_long
21201 _ACEOF
21202
21203
21204 { echo "$as_me:$LINENO: checking for size_t" >&5
21205 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21206 if test "${ac_cv_type_size_t+set}" = set; then
21207 echo $ECHO_N "(cached) $ECHO_C" >&6
21208 else
21209 cat >conftest.$ac_ext <<_ACEOF
21210 /* confdefs.h. */
21211 _ACEOF
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 $ac_includes_default
21216 typedef size_t ac__type_new_;
21217 int
21218 main ()
21219 {
21220 if ((ac__type_new_ *) 0)
21221 return 0;
21222 if (sizeof (ac__type_new_))
21223 return 0;
21224 ;
21225 return 0;
21226 }
21227 _ACEOF
21228 rm -f conftest.$ac_objext
21229 if { (ac_try="$ac_compile"
21230 case "(($ac_try" in
21231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21232 *) ac_try_echo=$ac_try;;
21233 esac
21234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21235 (eval "$ac_compile") 2>conftest.er1
21236 ac_status=$?
21237 grep -v '^ *+' conftest.er1 >conftest.err
21238 rm -f conftest.er1
21239 cat conftest.err >&5
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); } && {
21242 test -z "$ac_c_werror_flag" ||
21243 test ! -s conftest.err
21244 } && test -s conftest.$ac_objext; then
21245 ac_cv_type_size_t=yes
21246 else
21247 echo "$as_me: failed program was:" >&5
21248 sed 's/^/| /' conftest.$ac_ext >&5
21249
21250 ac_cv_type_size_t=no
21251 fi
21252
21253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21254 fi
21255 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21256 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21257
21258 # The cast to long int works around a bug in the HP C Compiler
21259 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21260 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21261 # This bug is HP SR number 8606223364.
21262 { echo "$as_me:$LINENO: checking size of size_t" >&5
21263 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21264 if test "${ac_cv_sizeof_size_t+set}" = set; then
21265 echo $ECHO_N "(cached) $ECHO_C" >&6
21266 else
21267 if test "$cross_compiling" = yes; then
21268 # Depending upon the size, compute the lo and hi bounds.
21269 cat >conftest.$ac_ext <<_ACEOF
21270 /* confdefs.h. */
21271 _ACEOF
21272 cat confdefs.h >>conftest.$ac_ext
21273 cat >>conftest.$ac_ext <<_ACEOF
21274 /* end confdefs.h. */
21275 $ac_includes_default
21276 typedef size_t ac__type_sizeof_;
21277 int
21278 main ()
21279 {
21280 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21281 test_array [0] = 0
21282
21283 ;
21284 return 0;
21285 }
21286 _ACEOF
21287 rm -f conftest.$ac_objext
21288 if { (ac_try="$ac_compile"
21289 case "(($ac_try" in
21290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21291 *) ac_try_echo=$ac_try;;
21292 esac
21293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21294 (eval "$ac_compile") 2>conftest.er1
21295 ac_status=$?
21296 grep -v '^ *+' conftest.er1 >conftest.err
21297 rm -f conftest.er1
21298 cat conftest.err >&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); } && {
21301 test -z "$ac_c_werror_flag" ||
21302 test ! -s conftest.err
21303 } && test -s conftest.$ac_objext; then
21304 ac_lo=0 ac_mid=0
21305 while :; do
21306 cat >conftest.$ac_ext <<_ACEOF
21307 /* confdefs.h. */
21308 _ACEOF
21309 cat confdefs.h >>conftest.$ac_ext
21310 cat >>conftest.$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21312 $ac_includes_default
21313 typedef size_t ac__type_sizeof_;
21314 int
21315 main ()
21316 {
21317 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21318 test_array [0] = 0
21319
21320 ;
21321 return 0;
21322 }
21323 _ACEOF
21324 rm -f conftest.$ac_objext
21325 if { (ac_try="$ac_compile"
21326 case "(($ac_try" in
21327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21328 *) ac_try_echo=$ac_try;;
21329 esac
21330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21331 (eval "$ac_compile") 2>conftest.er1
21332 ac_status=$?
21333 grep -v '^ *+' conftest.er1 >conftest.err
21334 rm -f conftest.er1
21335 cat conftest.err >&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } && {
21338 test -z "$ac_c_werror_flag" ||
21339 test ! -s conftest.err
21340 } && test -s conftest.$ac_objext; then
21341 ac_hi=$ac_mid; break
21342 else
21343 echo "$as_me: failed program was:" >&5
21344 sed 's/^/| /' conftest.$ac_ext >&5
21345
21346 ac_lo=`expr $ac_mid + 1`
21347 if test $ac_lo -le $ac_mid; then
21348 ac_lo= ac_hi=
21349 break
21350 fi
21351 ac_mid=`expr 2 '*' $ac_mid + 1`
21352 fi
21353
21354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21355 done
21356 else
21357 echo "$as_me: failed program was:" >&5
21358 sed 's/^/| /' conftest.$ac_ext >&5
21359
21360 cat >conftest.$ac_ext <<_ACEOF
21361 /* confdefs.h. */
21362 _ACEOF
21363 cat confdefs.h >>conftest.$ac_ext
21364 cat >>conftest.$ac_ext <<_ACEOF
21365 /* end confdefs.h. */
21366 $ac_includes_default
21367 typedef size_t ac__type_sizeof_;
21368 int
21369 main ()
21370 {
21371 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21372 test_array [0] = 0
21373
21374 ;
21375 return 0;
21376 }
21377 _ACEOF
21378 rm -f conftest.$ac_objext
21379 if { (ac_try="$ac_compile"
21380 case "(($ac_try" in
21381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21382 *) ac_try_echo=$ac_try;;
21383 esac
21384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21385 (eval "$ac_compile") 2>conftest.er1
21386 ac_status=$?
21387 grep -v '^ *+' conftest.er1 >conftest.err
21388 rm -f conftest.er1
21389 cat conftest.err >&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); } && {
21392 test -z "$ac_c_werror_flag" ||
21393 test ! -s conftest.err
21394 } && test -s conftest.$ac_objext; then
21395 ac_hi=-1 ac_mid=-1
21396 while :; do
21397 cat >conftest.$ac_ext <<_ACEOF
21398 /* confdefs.h. */
21399 _ACEOF
21400 cat confdefs.h >>conftest.$ac_ext
21401 cat >>conftest.$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21403 $ac_includes_default
21404 typedef size_t ac__type_sizeof_;
21405 int
21406 main ()
21407 {
21408 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21409 test_array [0] = 0
21410
21411 ;
21412 return 0;
21413 }
21414 _ACEOF
21415 rm -f conftest.$ac_objext
21416 if { (ac_try="$ac_compile"
21417 case "(($ac_try" in
21418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21419 *) ac_try_echo=$ac_try;;
21420 esac
21421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21422 (eval "$ac_compile") 2>conftest.er1
21423 ac_status=$?
21424 grep -v '^ *+' conftest.er1 >conftest.err
21425 rm -f conftest.er1
21426 cat conftest.err >&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } && {
21429 test -z "$ac_c_werror_flag" ||
21430 test ! -s conftest.err
21431 } && test -s conftest.$ac_objext; then
21432 ac_lo=$ac_mid; break
21433 else
21434 echo "$as_me: failed program was:" >&5
21435 sed 's/^/| /' conftest.$ac_ext >&5
21436
21437 ac_hi=`expr '(' $ac_mid ')' - 1`
21438 if test $ac_mid -le $ac_hi; then
21439 ac_lo= ac_hi=
21440 break
21441 fi
21442 ac_mid=`expr 2 '*' $ac_mid`
21443 fi
21444
21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446 done
21447 else
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.$ac_ext >&5
21450
21451 ac_lo= ac_hi=
21452 fi
21453
21454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21455 fi
21456
21457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21458 # Binary search between lo and hi bounds.
21459 while test "x$ac_lo" != "x$ac_hi"; do
21460 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21461 cat >conftest.$ac_ext <<_ACEOF
21462 /* confdefs.h. */
21463 _ACEOF
21464 cat confdefs.h >>conftest.$ac_ext
21465 cat >>conftest.$ac_ext <<_ACEOF
21466 /* end confdefs.h. */
21467 $ac_includes_default
21468 typedef size_t ac__type_sizeof_;
21469 int
21470 main ()
21471 {
21472 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21473 test_array [0] = 0
21474
21475 ;
21476 return 0;
21477 }
21478 _ACEOF
21479 rm -f conftest.$ac_objext
21480 if { (ac_try="$ac_compile"
21481 case "(($ac_try" in
21482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21483 *) ac_try_echo=$ac_try;;
21484 esac
21485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21486 (eval "$ac_compile") 2>conftest.er1
21487 ac_status=$?
21488 grep -v '^ *+' conftest.er1 >conftest.err
21489 rm -f conftest.er1
21490 cat conftest.err >&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } && {
21493 test -z "$ac_c_werror_flag" ||
21494 test ! -s conftest.err
21495 } && test -s conftest.$ac_objext; then
21496 ac_hi=$ac_mid
21497 else
21498 echo "$as_me: failed program was:" >&5
21499 sed 's/^/| /' conftest.$ac_ext >&5
21500
21501 ac_lo=`expr '(' $ac_mid ')' + 1`
21502 fi
21503
21504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21505 done
21506 case $ac_lo in
21507 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21508 '') if test "$ac_cv_type_size_t" = yes; then
21509 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21510 See \`config.log' for more details." >&5
21511 echo "$as_me: error: cannot compute sizeof (size_t)
21512 See \`config.log' for more details." >&2;}
21513 { (exit 77); exit 77; }; }
21514 else
21515 ac_cv_sizeof_size_t=0
21516 fi ;;
21517 esac
21518 else
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h. */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 $ac_includes_default
21526 typedef size_t ac__type_sizeof_;
21527 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21528 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21529 #include <stdio.h>
21530 #include <stdlib.h>
21531 int
21532 main ()
21533 {
21534
21535 FILE *f = fopen ("conftest.val", "w");
21536 if (! f)
21537 return 1;
21538 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21539 {
21540 long int i = longval ();
21541 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21542 return 1;
21543 fprintf (f, "%ld\n", i);
21544 }
21545 else
21546 {
21547 unsigned long int i = ulongval ();
21548 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21549 return 1;
21550 fprintf (f, "%lu\n", i);
21551 }
21552 return ferror (f) || fclose (f) != 0;
21553
21554 ;
21555 return 0;
21556 }
21557 _ACEOF
21558 rm -f conftest$ac_exeext
21559 if { (ac_try="$ac_link"
21560 case "(($ac_try" in
21561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21562 *) ac_try_echo=$ac_try;;
21563 esac
21564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21565 (eval "$ac_link") 2>&5
21566 ac_status=$?
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21569 { (case "(($ac_try" in
21570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21571 *) ac_try_echo=$ac_try;;
21572 esac
21573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21574 (eval "$ac_try") 2>&5
21575 ac_status=$?
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); }; }; then
21578 ac_cv_sizeof_size_t=`cat conftest.val`
21579 else
21580 echo "$as_me: program exited with status $ac_status" >&5
21581 echo "$as_me: failed program was:" >&5
21582 sed 's/^/| /' conftest.$ac_ext >&5
21583
21584 ( exit $ac_status )
21585 if test "$ac_cv_type_size_t" = yes; then
21586 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21587 See \`config.log' for more details." >&5
21588 echo "$as_me: error: cannot compute sizeof (size_t)
21589 See \`config.log' for more details." >&2;}
21590 { (exit 77); exit 77; }; }
21591 else
21592 ac_cv_sizeof_size_t=0
21593 fi
21594 fi
21595 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21596 fi
21597 rm -f conftest.val
21598 fi
21599 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21600 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21601
21602
21603
21604 cat >>confdefs.h <<_ACEOF
21605 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21606 _ACEOF
21607
21608
21609
21610 case "${host}" in
21611 arm-*-linux* )
21612 { echo "$as_me:$LINENO: checking for long long" >&5
21613 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21614 if test "${ac_cv_type_long_long+set}" = set; then
21615 echo $ECHO_N "(cached) $ECHO_C" >&6
21616 else
21617 cat >conftest.$ac_ext <<_ACEOF
21618 /* confdefs.h. */
21619 _ACEOF
21620 cat confdefs.h >>conftest.$ac_ext
21621 cat >>conftest.$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623 $ac_includes_default
21624 typedef long long ac__type_new_;
21625 int
21626 main ()
21627 {
21628 if ((ac__type_new_ *) 0)
21629 return 0;
21630 if (sizeof (ac__type_new_))
21631 return 0;
21632 ;
21633 return 0;
21634 }
21635 _ACEOF
21636 rm -f conftest.$ac_objext
21637 if { (ac_try="$ac_compile"
21638 case "(($ac_try" in
21639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21640 *) ac_try_echo=$ac_try;;
21641 esac
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_compile") 2>conftest.er1
21644 ac_status=$?
21645 grep -v '^ *+' conftest.er1 >conftest.err
21646 rm -f conftest.er1
21647 cat conftest.err >&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } && {
21650 test -z "$ac_c_werror_flag" ||
21651 test ! -s conftest.err
21652 } && test -s conftest.$ac_objext; then
21653 ac_cv_type_long_long=yes
21654 else
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21657
21658 ac_cv_type_long_long=no
21659 fi
21660
21661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21662 fi
21663 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21664 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21665
21666 # The cast to long int works around a bug in the HP C Compiler
21667 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21668 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21669 # This bug is HP SR number 8606223364.
21670 { echo "$as_me:$LINENO: checking size of long long" >&5
21671 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21672 if test "${ac_cv_sizeof_long_long+set}" = set; then
21673 echo $ECHO_N "(cached) $ECHO_C" >&6
21674 else
21675 if test "$cross_compiling" = yes; then
21676 # Depending upon the size, compute the lo and hi bounds.
21677 cat >conftest.$ac_ext <<_ACEOF
21678 /* confdefs.h. */
21679 _ACEOF
21680 cat confdefs.h >>conftest.$ac_ext
21681 cat >>conftest.$ac_ext <<_ACEOF
21682 /* end confdefs.h. */
21683 $ac_includes_default
21684 typedef long long ac__type_sizeof_;
21685 int
21686 main ()
21687 {
21688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21689 test_array [0] = 0
21690
21691 ;
21692 return 0;
21693 }
21694 _ACEOF
21695 rm -f conftest.$ac_objext
21696 if { (ac_try="$ac_compile"
21697 case "(($ac_try" in
21698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21699 *) ac_try_echo=$ac_try;;
21700 esac
21701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21702 (eval "$ac_compile") 2>conftest.er1
21703 ac_status=$?
21704 grep -v '^ *+' conftest.er1 >conftest.err
21705 rm -f conftest.er1
21706 cat conftest.err >&5
21707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21708 (exit $ac_status); } && {
21709 test -z "$ac_c_werror_flag" ||
21710 test ! -s conftest.err
21711 } && test -s conftest.$ac_objext; then
21712 ac_lo=0 ac_mid=0
21713 while :; do
21714 cat >conftest.$ac_ext <<_ACEOF
21715 /* confdefs.h. */
21716 _ACEOF
21717 cat confdefs.h >>conftest.$ac_ext
21718 cat >>conftest.$ac_ext <<_ACEOF
21719 /* end confdefs.h. */
21720 $ac_includes_default
21721 typedef long long ac__type_sizeof_;
21722 int
21723 main ()
21724 {
21725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21726 test_array [0] = 0
21727
21728 ;
21729 return 0;
21730 }
21731 _ACEOF
21732 rm -f conftest.$ac_objext
21733 if { (ac_try="$ac_compile"
21734 case "(($ac_try" in
21735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21736 *) ac_try_echo=$ac_try;;
21737 esac
21738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21739 (eval "$ac_compile") 2>conftest.er1
21740 ac_status=$?
21741 grep -v '^ *+' conftest.er1 >conftest.err
21742 rm -f conftest.er1
21743 cat conftest.err >&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } && {
21746 test -z "$ac_c_werror_flag" ||
21747 test ! -s conftest.err
21748 } && test -s conftest.$ac_objext; then
21749 ac_hi=$ac_mid; break
21750 else
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.$ac_ext >&5
21753
21754 ac_lo=`expr $ac_mid + 1`
21755 if test $ac_lo -le $ac_mid; then
21756 ac_lo= ac_hi=
21757 break
21758 fi
21759 ac_mid=`expr 2 '*' $ac_mid + 1`
21760 fi
21761
21762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21763 done
21764 else
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21767
21768 cat >conftest.$ac_ext <<_ACEOF
21769 /* confdefs.h. */
21770 _ACEOF
21771 cat confdefs.h >>conftest.$ac_ext
21772 cat >>conftest.$ac_ext <<_ACEOF
21773 /* end confdefs.h. */
21774 $ac_includes_default
21775 typedef long long ac__type_sizeof_;
21776 int
21777 main ()
21778 {
21779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21780 test_array [0] = 0
21781
21782 ;
21783 return 0;
21784 }
21785 _ACEOF
21786 rm -f conftest.$ac_objext
21787 if { (ac_try="$ac_compile"
21788 case "(($ac_try" in
21789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21790 *) ac_try_echo=$ac_try;;
21791 esac
21792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21793 (eval "$ac_compile") 2>conftest.er1
21794 ac_status=$?
21795 grep -v '^ *+' conftest.er1 >conftest.err
21796 rm -f conftest.er1
21797 cat conftest.err >&5
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); } && {
21800 test -z "$ac_c_werror_flag" ||
21801 test ! -s conftest.err
21802 } && test -s conftest.$ac_objext; then
21803 ac_hi=-1 ac_mid=-1
21804 while :; do
21805 cat >conftest.$ac_ext <<_ACEOF
21806 /* confdefs.h. */
21807 _ACEOF
21808 cat confdefs.h >>conftest.$ac_ext
21809 cat >>conftest.$ac_ext <<_ACEOF
21810 /* end confdefs.h. */
21811 $ac_includes_default
21812 typedef long long ac__type_sizeof_;
21813 int
21814 main ()
21815 {
21816 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21817 test_array [0] = 0
21818
21819 ;
21820 return 0;
21821 }
21822 _ACEOF
21823 rm -f conftest.$ac_objext
21824 if { (ac_try="$ac_compile"
21825 case "(($ac_try" in
21826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21827 *) ac_try_echo=$ac_try;;
21828 esac
21829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21830 (eval "$ac_compile") 2>conftest.er1
21831 ac_status=$?
21832 grep -v '^ *+' conftest.er1 >conftest.err
21833 rm -f conftest.er1
21834 cat conftest.err >&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); } && {
21837 test -z "$ac_c_werror_flag" ||
21838 test ! -s conftest.err
21839 } && test -s conftest.$ac_objext; then
21840 ac_lo=$ac_mid; break
21841 else
21842 echo "$as_me: failed program was:" >&5
21843 sed 's/^/| /' conftest.$ac_ext >&5
21844
21845 ac_hi=`expr '(' $ac_mid ')' - 1`
21846 if test $ac_mid -le $ac_hi; then
21847 ac_lo= ac_hi=
21848 break
21849 fi
21850 ac_mid=`expr 2 '*' $ac_mid`
21851 fi
21852
21853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21854 done
21855 else
21856 echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21858
21859 ac_lo= ac_hi=
21860 fi
21861
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863 fi
21864
21865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21866 # Binary search between lo and hi bounds.
21867 while test "x$ac_lo" != "x$ac_hi"; do
21868 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21869 cat >conftest.$ac_ext <<_ACEOF
21870 /* confdefs.h. */
21871 _ACEOF
21872 cat confdefs.h >>conftest.$ac_ext
21873 cat >>conftest.$ac_ext <<_ACEOF
21874 /* end confdefs.h. */
21875 $ac_includes_default
21876 typedef long long ac__type_sizeof_;
21877 int
21878 main ()
21879 {
21880 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21881 test_array [0] = 0
21882
21883 ;
21884 return 0;
21885 }
21886 _ACEOF
21887 rm -f conftest.$ac_objext
21888 if { (ac_try="$ac_compile"
21889 case "(($ac_try" in
21890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21891 *) ac_try_echo=$ac_try;;
21892 esac
21893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21894 (eval "$ac_compile") 2>conftest.er1
21895 ac_status=$?
21896 grep -v '^ *+' conftest.er1 >conftest.err
21897 rm -f conftest.er1
21898 cat conftest.err >&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); } && {
21901 test -z "$ac_c_werror_flag" ||
21902 test ! -s conftest.err
21903 } && test -s conftest.$ac_objext; then
21904 ac_hi=$ac_mid
21905 else
21906 echo "$as_me: failed program was:" >&5
21907 sed 's/^/| /' conftest.$ac_ext >&5
21908
21909 ac_lo=`expr '(' $ac_mid ')' + 1`
21910 fi
21911
21912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21913 done
21914 case $ac_lo in
21915 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21916 '') if test "$ac_cv_type_long_long" = yes; then
21917 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21918 See \`config.log' for more details." >&5
21919 echo "$as_me: error: cannot compute sizeof (long long)
21920 See \`config.log' for more details." >&2;}
21921 { (exit 77); exit 77; }; }
21922 else
21923 ac_cv_sizeof_long_long=0
21924 fi ;;
21925 esac
21926 else
21927 cat >conftest.$ac_ext <<_ACEOF
21928 /* confdefs.h. */
21929 _ACEOF
21930 cat confdefs.h >>conftest.$ac_ext
21931 cat >>conftest.$ac_ext <<_ACEOF
21932 /* end confdefs.h. */
21933 $ac_includes_default
21934 typedef long long ac__type_sizeof_;
21935 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21936 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21937 #include <stdio.h>
21938 #include <stdlib.h>
21939 int
21940 main ()
21941 {
21942
21943 FILE *f = fopen ("conftest.val", "w");
21944 if (! f)
21945 return 1;
21946 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21947 {
21948 long int i = longval ();
21949 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21950 return 1;
21951 fprintf (f, "%ld\n", i);
21952 }
21953 else
21954 {
21955 unsigned long int i = ulongval ();
21956 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21957 return 1;
21958 fprintf (f, "%lu\n", i);
21959 }
21960 return ferror (f) || fclose (f) != 0;
21961
21962 ;
21963 return 0;
21964 }
21965 _ACEOF
21966 rm -f conftest$ac_exeext
21967 if { (ac_try="$ac_link"
21968 case "(($ac_try" in
21969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21970 *) ac_try_echo=$ac_try;;
21971 esac
21972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21973 (eval "$ac_link") 2>&5
21974 ac_status=$?
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21977 { (case "(($ac_try" in
21978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21979 *) ac_try_echo=$ac_try;;
21980 esac
21981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21982 (eval "$ac_try") 2>&5
21983 ac_status=$?
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; }; then
21986 ac_cv_sizeof_long_long=`cat conftest.val`
21987 else
21988 echo "$as_me: program exited with status $ac_status" >&5
21989 echo "$as_me: failed program was:" >&5
21990 sed 's/^/| /' conftest.$ac_ext >&5
21991
21992 ( exit $ac_status )
21993 if test "$ac_cv_type_long_long" = yes; then
21994 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21995 See \`config.log' for more details." >&5
21996 echo "$as_me: error: cannot compute sizeof (long long)
21997 See \`config.log' for more details." >&2;}
21998 { (exit 77); exit 77; }; }
21999 else
22000 ac_cv_sizeof_long_long=0
22001 fi
22002 fi
22003 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22004 fi
22005 rm -f conftest.val
22006 fi
22007 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22008 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22009
22010
22011
22012 cat >>confdefs.h <<_ACEOF
22013 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22014 _ACEOF
22015
22016
22017 ;;
22018 *-hp-hpux* )
22019 { echo "$as_me:$LINENO: checking for long long" >&5
22020 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22021 if test "${ac_cv_type_long_long+set}" = set; then
22022 echo $ECHO_N "(cached) $ECHO_C" >&6
22023 else
22024 cat >conftest.$ac_ext <<_ACEOF
22025 /* confdefs.h. */
22026 _ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 $ac_includes_default
22031 typedef long long ac__type_new_;
22032 int
22033 main ()
22034 {
22035 if ((ac__type_new_ *) 0)
22036 return 0;
22037 if (sizeof (ac__type_new_))
22038 return 0;
22039 ;
22040 return 0;
22041 }
22042 _ACEOF
22043 rm -f conftest.$ac_objext
22044 if { (ac_try="$ac_compile"
22045 case "(($ac_try" in
22046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22047 *) ac_try_echo=$ac_try;;
22048 esac
22049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050 (eval "$ac_compile") 2>conftest.er1
22051 ac_status=$?
22052 grep -v '^ *+' conftest.er1 >conftest.err
22053 rm -f conftest.er1
22054 cat conftest.err >&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } && {
22057 test -z "$ac_c_werror_flag" ||
22058 test ! -s conftest.err
22059 } && test -s conftest.$ac_objext; then
22060 ac_cv_type_long_long=yes
22061 else
22062 echo "$as_me: failed program was:" >&5
22063 sed 's/^/| /' conftest.$ac_ext >&5
22064
22065 ac_cv_type_long_long=no
22066 fi
22067
22068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22069 fi
22070 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22071 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22072
22073 # The cast to long int works around a bug in the HP C Compiler
22074 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22075 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22076 # This bug is HP SR number 8606223364.
22077 { echo "$as_me:$LINENO: checking size of long long" >&5
22078 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22079 if test "${ac_cv_sizeof_long_long+set}" = set; then
22080 echo $ECHO_N "(cached) $ECHO_C" >&6
22081 else
22082 if test "$cross_compiling" = yes; then
22083 # Depending upon the size, compute the lo and hi bounds.
22084 cat >conftest.$ac_ext <<_ACEOF
22085 /* confdefs.h. */
22086 _ACEOF
22087 cat confdefs.h >>conftest.$ac_ext
22088 cat >>conftest.$ac_ext <<_ACEOF
22089 /* end confdefs.h. */
22090 $ac_includes_default
22091 typedef long long ac__type_sizeof_;
22092 int
22093 main ()
22094 {
22095 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22096 test_array [0] = 0
22097
22098 ;
22099 return 0;
22100 }
22101 _ACEOF
22102 rm -f conftest.$ac_objext
22103 if { (ac_try="$ac_compile"
22104 case "(($ac_try" in
22105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22106 *) ac_try_echo=$ac_try;;
22107 esac
22108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22109 (eval "$ac_compile") 2>conftest.er1
22110 ac_status=$?
22111 grep -v '^ *+' conftest.er1 >conftest.err
22112 rm -f conftest.er1
22113 cat conftest.err >&5
22114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22115 (exit $ac_status); } && {
22116 test -z "$ac_c_werror_flag" ||
22117 test ! -s conftest.err
22118 } && test -s conftest.$ac_objext; then
22119 ac_lo=0 ac_mid=0
22120 while :; do
22121 cat >conftest.$ac_ext <<_ACEOF
22122 /* confdefs.h. */
22123 _ACEOF
22124 cat confdefs.h >>conftest.$ac_ext
22125 cat >>conftest.$ac_ext <<_ACEOF
22126 /* end confdefs.h. */
22127 $ac_includes_default
22128 typedef long long ac__type_sizeof_;
22129 int
22130 main ()
22131 {
22132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22133 test_array [0] = 0
22134
22135 ;
22136 return 0;
22137 }
22138 _ACEOF
22139 rm -f conftest.$ac_objext
22140 if { (ac_try="$ac_compile"
22141 case "(($ac_try" in
22142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22143 *) ac_try_echo=$ac_try;;
22144 esac
22145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22146 (eval "$ac_compile") 2>conftest.er1
22147 ac_status=$?
22148 grep -v '^ *+' conftest.er1 >conftest.err
22149 rm -f conftest.er1
22150 cat conftest.err >&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); } && {
22153 test -z "$ac_c_werror_flag" ||
22154 test ! -s conftest.err
22155 } && test -s conftest.$ac_objext; then
22156 ac_hi=$ac_mid; break
22157 else
22158 echo "$as_me: failed program was:" >&5
22159 sed 's/^/| /' conftest.$ac_ext >&5
22160
22161 ac_lo=`expr $ac_mid + 1`
22162 if test $ac_lo -le $ac_mid; then
22163 ac_lo= ac_hi=
22164 break
22165 fi
22166 ac_mid=`expr 2 '*' $ac_mid + 1`
22167 fi
22168
22169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22170 done
22171 else
22172 echo "$as_me: failed program was:" >&5
22173 sed 's/^/| /' conftest.$ac_ext >&5
22174
22175 cat >conftest.$ac_ext <<_ACEOF
22176 /* confdefs.h. */
22177 _ACEOF
22178 cat confdefs.h >>conftest.$ac_ext
22179 cat >>conftest.$ac_ext <<_ACEOF
22180 /* end confdefs.h. */
22181 $ac_includes_default
22182 typedef long long ac__type_sizeof_;
22183 int
22184 main ()
22185 {
22186 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22187 test_array [0] = 0
22188
22189 ;
22190 return 0;
22191 }
22192 _ACEOF
22193 rm -f conftest.$ac_objext
22194 if { (ac_try="$ac_compile"
22195 case "(($ac_try" in
22196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22197 *) ac_try_echo=$ac_try;;
22198 esac
22199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22200 (eval "$ac_compile") 2>conftest.er1
22201 ac_status=$?
22202 grep -v '^ *+' conftest.er1 >conftest.err
22203 rm -f conftest.er1
22204 cat conftest.err >&5
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); } && {
22207 test -z "$ac_c_werror_flag" ||
22208 test ! -s conftest.err
22209 } && test -s conftest.$ac_objext; then
22210 ac_hi=-1 ac_mid=-1
22211 while :; do
22212 cat >conftest.$ac_ext <<_ACEOF
22213 /* confdefs.h. */
22214 _ACEOF
22215 cat confdefs.h >>conftest.$ac_ext
22216 cat >>conftest.$ac_ext <<_ACEOF
22217 /* end confdefs.h. */
22218 $ac_includes_default
22219 typedef long long ac__type_sizeof_;
22220 int
22221 main ()
22222 {
22223 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22224 test_array [0] = 0
22225
22226 ;
22227 return 0;
22228 }
22229 _ACEOF
22230 rm -f conftest.$ac_objext
22231 if { (ac_try="$ac_compile"
22232 case "(($ac_try" in
22233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22234 *) ac_try_echo=$ac_try;;
22235 esac
22236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22237 (eval "$ac_compile") 2>conftest.er1
22238 ac_status=$?
22239 grep -v '^ *+' conftest.er1 >conftest.err
22240 rm -f conftest.er1
22241 cat conftest.err >&5
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); } && {
22244 test -z "$ac_c_werror_flag" ||
22245 test ! -s conftest.err
22246 } && test -s conftest.$ac_objext; then
22247 ac_lo=$ac_mid; break
22248 else
22249 echo "$as_me: failed program was:" >&5
22250 sed 's/^/| /' conftest.$ac_ext >&5
22251
22252 ac_hi=`expr '(' $ac_mid ')' - 1`
22253 if test $ac_mid -le $ac_hi; then
22254 ac_lo= ac_hi=
22255 break
22256 fi
22257 ac_mid=`expr 2 '*' $ac_mid`
22258 fi
22259
22260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22261 done
22262 else
22263 echo "$as_me: failed program was:" >&5
22264 sed 's/^/| /' conftest.$ac_ext >&5
22265
22266 ac_lo= ac_hi=
22267 fi
22268
22269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22270 fi
22271
22272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22273 # Binary search between lo and hi bounds.
22274 while test "x$ac_lo" != "x$ac_hi"; do
22275 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22276 cat >conftest.$ac_ext <<_ACEOF
22277 /* confdefs.h. */
22278 _ACEOF
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22282 $ac_includes_default
22283 typedef long long ac__type_sizeof_;
22284 int
22285 main ()
22286 {
22287 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22288 test_array [0] = 0
22289
22290 ;
22291 return 0;
22292 }
22293 _ACEOF
22294 rm -f conftest.$ac_objext
22295 if { (ac_try="$ac_compile"
22296 case "(($ac_try" in
22297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22298 *) ac_try_echo=$ac_try;;
22299 esac
22300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22301 (eval "$ac_compile") 2>conftest.er1
22302 ac_status=$?
22303 grep -v '^ *+' conftest.er1 >conftest.err
22304 rm -f conftest.er1
22305 cat conftest.err >&5
22306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22307 (exit $ac_status); } && {
22308 test -z "$ac_c_werror_flag" ||
22309 test ! -s conftest.err
22310 } && test -s conftest.$ac_objext; then
22311 ac_hi=$ac_mid
22312 else
22313 echo "$as_me: failed program was:" >&5
22314 sed 's/^/| /' conftest.$ac_ext >&5
22315
22316 ac_lo=`expr '(' $ac_mid ')' + 1`
22317 fi
22318
22319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22320 done
22321 case $ac_lo in
22322 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22323 '') if test "$ac_cv_type_long_long" = yes; then
22324 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22325 See \`config.log' for more details." >&5
22326 echo "$as_me: error: cannot compute sizeof (long long)
22327 See \`config.log' for more details." >&2;}
22328 { (exit 77); exit 77; }; }
22329 else
22330 ac_cv_sizeof_long_long=0
22331 fi ;;
22332 esac
22333 else
22334 cat >conftest.$ac_ext <<_ACEOF
22335 /* confdefs.h. */
22336 _ACEOF
22337 cat confdefs.h >>conftest.$ac_ext
22338 cat >>conftest.$ac_ext <<_ACEOF
22339 /* end confdefs.h. */
22340 $ac_includes_default
22341 typedef long long ac__type_sizeof_;
22342 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22343 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22344 #include <stdio.h>
22345 #include <stdlib.h>
22346 int
22347 main ()
22348 {
22349
22350 FILE *f = fopen ("conftest.val", "w");
22351 if (! f)
22352 return 1;
22353 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22354 {
22355 long int i = longval ();
22356 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22357 return 1;
22358 fprintf (f, "%ld\n", i);
22359 }
22360 else
22361 {
22362 unsigned long int i = ulongval ();
22363 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22364 return 1;
22365 fprintf (f, "%lu\n", i);
22366 }
22367 return ferror (f) || fclose (f) != 0;
22368
22369 ;
22370 return 0;
22371 }
22372 _ACEOF
22373 rm -f conftest$ac_exeext
22374 if { (ac_try="$ac_link"
22375 case "(($ac_try" in
22376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22377 *) ac_try_echo=$ac_try;;
22378 esac
22379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22380 (eval "$ac_link") 2>&5
22381 ac_status=$?
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22384 { (case "(($ac_try" in
22385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22386 *) ac_try_echo=$ac_try;;
22387 esac
22388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22389 (eval "$ac_try") 2>&5
22390 ac_status=$?
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); }; }; then
22393 ac_cv_sizeof_long_long=`cat conftest.val`
22394 else
22395 echo "$as_me: program exited with status $ac_status" >&5
22396 echo "$as_me: failed program was:" >&5
22397 sed 's/^/| /' conftest.$ac_ext >&5
22398
22399 ( exit $ac_status )
22400 if test "$ac_cv_type_long_long" = yes; then
22401 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22402 See \`config.log' for more details." >&5
22403 echo "$as_me: error: cannot compute sizeof (long long)
22404 See \`config.log' for more details." >&2;}
22405 { (exit 77); exit 77; }; }
22406 else
22407 ac_cv_sizeof_long_long=0
22408 fi
22409 fi
22410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22411 fi
22412 rm -f conftest.val
22413 fi
22414 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22415 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22416
22417
22418
22419 cat >>confdefs.h <<_ACEOF
22420 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22421 _ACEOF
22422
22423
22424 if test "$ac_cv_sizeof_long_long" != 0; then
22425 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22426 fi
22427 ;;
22428 * )
22429 { echo "$as_me:$LINENO: checking for long long" >&5
22430 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22431 if test "${ac_cv_type_long_long+set}" = set; then
22432 echo $ECHO_N "(cached) $ECHO_C" >&6
22433 else
22434 cat >conftest.$ac_ext <<_ACEOF
22435 /* confdefs.h. */
22436 _ACEOF
22437 cat confdefs.h >>conftest.$ac_ext
22438 cat >>conftest.$ac_ext <<_ACEOF
22439 /* end confdefs.h. */
22440 $ac_includes_default
22441 typedef long long ac__type_new_;
22442 int
22443 main ()
22444 {
22445 if ((ac__type_new_ *) 0)
22446 return 0;
22447 if (sizeof (ac__type_new_))
22448 return 0;
22449 ;
22450 return 0;
22451 }
22452 _ACEOF
22453 rm -f conftest.$ac_objext
22454 if { (ac_try="$ac_compile"
22455 case "(($ac_try" in
22456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22457 *) ac_try_echo=$ac_try;;
22458 esac
22459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22460 (eval "$ac_compile") 2>conftest.er1
22461 ac_status=$?
22462 grep -v '^ *+' conftest.er1 >conftest.err
22463 rm -f conftest.er1
22464 cat conftest.err >&5
22465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466 (exit $ac_status); } && {
22467 test -z "$ac_c_werror_flag" ||
22468 test ! -s conftest.err
22469 } && test -s conftest.$ac_objext; then
22470 ac_cv_type_long_long=yes
22471 else
22472 echo "$as_me: failed program was:" >&5
22473 sed 's/^/| /' conftest.$ac_ext >&5
22474
22475 ac_cv_type_long_long=no
22476 fi
22477
22478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22479 fi
22480 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22481 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22482
22483 # The cast to long int works around a bug in the HP C Compiler
22484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22486 # This bug is HP SR number 8606223364.
22487 { echo "$as_me:$LINENO: checking size of long long" >&5
22488 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22489 if test "${ac_cv_sizeof_long_long+set}" = set; then
22490 echo $ECHO_N "(cached) $ECHO_C" >&6
22491 else
22492 if test "$cross_compiling" = yes; then
22493 # Depending upon the size, compute the lo and hi bounds.
22494 cat >conftest.$ac_ext <<_ACEOF
22495 /* confdefs.h. */
22496 _ACEOF
22497 cat confdefs.h >>conftest.$ac_ext
22498 cat >>conftest.$ac_ext <<_ACEOF
22499 /* end confdefs.h. */
22500 $ac_includes_default
22501 typedef long long ac__type_sizeof_;
22502 int
22503 main ()
22504 {
22505 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22506 test_array [0] = 0
22507
22508 ;
22509 return 0;
22510 }
22511 _ACEOF
22512 rm -f conftest.$ac_objext
22513 if { (ac_try="$ac_compile"
22514 case "(($ac_try" in
22515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22516 *) ac_try_echo=$ac_try;;
22517 esac
22518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22519 (eval "$ac_compile") 2>conftest.er1
22520 ac_status=$?
22521 grep -v '^ *+' conftest.er1 >conftest.err
22522 rm -f conftest.er1
22523 cat conftest.err >&5
22524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22525 (exit $ac_status); } && {
22526 test -z "$ac_c_werror_flag" ||
22527 test ! -s conftest.err
22528 } && test -s conftest.$ac_objext; then
22529 ac_lo=0 ac_mid=0
22530 while :; do
22531 cat >conftest.$ac_ext <<_ACEOF
22532 /* confdefs.h. */
22533 _ACEOF
22534 cat confdefs.h >>conftest.$ac_ext
22535 cat >>conftest.$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537 $ac_includes_default
22538 typedef long long ac__type_sizeof_;
22539 int
22540 main ()
22541 {
22542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22543 test_array [0] = 0
22544
22545 ;
22546 return 0;
22547 }
22548 _ACEOF
22549 rm -f conftest.$ac_objext
22550 if { (ac_try="$ac_compile"
22551 case "(($ac_try" in
22552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22553 *) ac_try_echo=$ac_try;;
22554 esac
22555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22556 (eval "$ac_compile") 2>conftest.er1
22557 ac_status=$?
22558 grep -v '^ *+' conftest.er1 >conftest.err
22559 rm -f conftest.er1
22560 cat conftest.err >&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } && {
22563 test -z "$ac_c_werror_flag" ||
22564 test ! -s conftest.err
22565 } && test -s conftest.$ac_objext; then
22566 ac_hi=$ac_mid; break
22567 else
22568 echo "$as_me: failed program was:" >&5
22569 sed 's/^/| /' conftest.$ac_ext >&5
22570
22571 ac_lo=`expr $ac_mid + 1`
22572 if test $ac_lo -le $ac_mid; then
22573 ac_lo= ac_hi=
22574 break
22575 fi
22576 ac_mid=`expr 2 '*' $ac_mid + 1`
22577 fi
22578
22579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22580 done
22581 else
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22584
22585 cat >conftest.$ac_ext <<_ACEOF
22586 /* confdefs.h. */
22587 _ACEOF
22588 cat confdefs.h >>conftest.$ac_ext
22589 cat >>conftest.$ac_ext <<_ACEOF
22590 /* end confdefs.h. */
22591 $ac_includes_default
22592 typedef long long ac__type_sizeof_;
22593 int
22594 main ()
22595 {
22596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22597 test_array [0] = 0
22598
22599 ;
22600 return 0;
22601 }
22602 _ACEOF
22603 rm -f conftest.$ac_objext
22604 if { (ac_try="$ac_compile"
22605 case "(($ac_try" in
22606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22607 *) ac_try_echo=$ac_try;;
22608 esac
22609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22610 (eval "$ac_compile") 2>conftest.er1
22611 ac_status=$?
22612 grep -v '^ *+' conftest.er1 >conftest.err
22613 rm -f conftest.er1
22614 cat conftest.err >&5
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); } && {
22617 test -z "$ac_c_werror_flag" ||
22618 test ! -s conftest.err
22619 } && test -s conftest.$ac_objext; then
22620 ac_hi=-1 ac_mid=-1
22621 while :; do
22622 cat >conftest.$ac_ext <<_ACEOF
22623 /* confdefs.h. */
22624 _ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22628 $ac_includes_default
22629 typedef long long ac__type_sizeof_;
22630 int
22631 main ()
22632 {
22633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22634 test_array [0] = 0
22635
22636 ;
22637 return 0;
22638 }
22639 _ACEOF
22640 rm -f conftest.$ac_objext
22641 if { (ac_try="$ac_compile"
22642 case "(($ac_try" in
22643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22644 *) ac_try_echo=$ac_try;;
22645 esac
22646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22647 (eval "$ac_compile") 2>conftest.er1
22648 ac_status=$?
22649 grep -v '^ *+' conftest.er1 >conftest.err
22650 rm -f conftest.er1
22651 cat conftest.err >&5
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); } && {
22654 test -z "$ac_c_werror_flag" ||
22655 test ! -s conftest.err
22656 } && test -s conftest.$ac_objext; then
22657 ac_lo=$ac_mid; break
22658 else
22659 echo "$as_me: failed program was:" >&5
22660 sed 's/^/| /' conftest.$ac_ext >&5
22661
22662 ac_hi=`expr '(' $ac_mid ')' - 1`
22663 if test $ac_mid -le $ac_hi; then
22664 ac_lo= ac_hi=
22665 break
22666 fi
22667 ac_mid=`expr 2 '*' $ac_mid`
22668 fi
22669
22670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22671 done
22672 else
22673 echo "$as_me: failed program was:" >&5
22674 sed 's/^/| /' conftest.$ac_ext >&5
22675
22676 ac_lo= ac_hi=
22677 fi
22678
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22680 fi
22681
22682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22683 # Binary search between lo and hi bounds.
22684 while test "x$ac_lo" != "x$ac_hi"; do
22685 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22686 cat >conftest.$ac_ext <<_ACEOF
22687 /* confdefs.h. */
22688 _ACEOF
22689 cat confdefs.h >>conftest.$ac_ext
22690 cat >>conftest.$ac_ext <<_ACEOF
22691 /* end confdefs.h. */
22692 $ac_includes_default
22693 typedef long long ac__type_sizeof_;
22694 int
22695 main ()
22696 {
22697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22698 test_array [0] = 0
22699
22700 ;
22701 return 0;
22702 }
22703 _ACEOF
22704 rm -f conftest.$ac_objext
22705 if { (ac_try="$ac_compile"
22706 case "(($ac_try" in
22707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22708 *) ac_try_echo=$ac_try;;
22709 esac
22710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22711 (eval "$ac_compile") 2>conftest.er1
22712 ac_status=$?
22713 grep -v '^ *+' conftest.er1 >conftest.err
22714 rm -f conftest.er1
22715 cat conftest.err >&5
22716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22717 (exit $ac_status); } && {
22718 test -z "$ac_c_werror_flag" ||
22719 test ! -s conftest.err
22720 } && test -s conftest.$ac_objext; then
22721 ac_hi=$ac_mid
22722 else
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22725
22726 ac_lo=`expr '(' $ac_mid ')' + 1`
22727 fi
22728
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22730 done
22731 case $ac_lo in
22732 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22733 '') if test "$ac_cv_type_long_long" = yes; then
22734 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22735 See \`config.log' for more details." >&5
22736 echo "$as_me: error: cannot compute sizeof (long long)
22737 See \`config.log' for more details." >&2;}
22738 { (exit 77); exit 77; }; }
22739 else
22740 ac_cv_sizeof_long_long=0
22741 fi ;;
22742 esac
22743 else
22744 cat >conftest.$ac_ext <<_ACEOF
22745 /* confdefs.h. */
22746 _ACEOF
22747 cat confdefs.h >>conftest.$ac_ext
22748 cat >>conftest.$ac_ext <<_ACEOF
22749 /* end confdefs.h. */
22750 $ac_includes_default
22751 typedef long long ac__type_sizeof_;
22752 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22753 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22754 #include <stdio.h>
22755 #include <stdlib.h>
22756 int
22757 main ()
22758 {
22759
22760 FILE *f = fopen ("conftest.val", "w");
22761 if (! f)
22762 return 1;
22763 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22764 {
22765 long int i = longval ();
22766 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22767 return 1;
22768 fprintf (f, "%ld\n", i);
22769 }
22770 else
22771 {
22772 unsigned long int i = ulongval ();
22773 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22774 return 1;
22775 fprintf (f, "%lu\n", i);
22776 }
22777 return ferror (f) || fclose (f) != 0;
22778
22779 ;
22780 return 0;
22781 }
22782 _ACEOF
22783 rm -f conftest$ac_exeext
22784 if { (ac_try="$ac_link"
22785 case "(($ac_try" in
22786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22787 *) ac_try_echo=$ac_try;;
22788 esac
22789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22790 (eval "$ac_link") 2>&5
22791 ac_status=$?
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22794 { (case "(($ac_try" in
22795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22796 *) ac_try_echo=$ac_try;;
22797 esac
22798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22799 (eval "$ac_try") 2>&5
22800 ac_status=$?
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 ac_cv_sizeof_long_long=`cat conftest.val`
22804 else
22805 echo "$as_me: program exited with status $ac_status" >&5
22806 echo "$as_me: failed program was:" >&5
22807 sed 's/^/| /' conftest.$ac_ext >&5
22808
22809 ( exit $ac_status )
22810 if test "$ac_cv_type_long_long" = yes; then
22811 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22812 See \`config.log' for more details." >&5
22813 echo "$as_me: error: cannot compute sizeof (long long)
22814 See \`config.log' for more details." >&2;}
22815 { (exit 77); exit 77; }; }
22816 else
22817 ac_cv_sizeof_long_long=0
22818 fi
22819 fi
22820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22821 fi
22822 rm -f conftest.val
22823 fi
22824 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22825 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22826
22827
22828
22829 cat >>confdefs.h <<_ACEOF
22830 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22831 _ACEOF
22832
22833
22834 esac
22835
22836 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22837 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22838 if test "${ac_cv_type_wchar_t+set}" = set; then
22839 echo $ECHO_N "(cached) $ECHO_C" >&6
22840 else
22841 cat >conftest.$ac_ext <<_ACEOF
22842 /* confdefs.h. */
22843 _ACEOF
22844 cat confdefs.h >>conftest.$ac_ext
22845 cat >>conftest.$ac_ext <<_ACEOF
22846 /* end confdefs.h. */
22847
22848 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22849 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22850 # error "fake wchar_t"
22851 #endif
22852 #ifdef HAVE_WCHAR_H
22853 # ifdef __CYGWIN__
22854 # include <stddef.h>
22855 # endif
22856 # include <wchar.h>
22857 #endif
22858 #ifdef HAVE_STDLIB_H
22859 # include <stdlib.h>
22860 #endif
22861 #include <stdio.h>
22862
22863
22864
22865 typedef wchar_t ac__type_new_;
22866 int
22867 main ()
22868 {
22869 if ((ac__type_new_ *) 0)
22870 return 0;
22871 if (sizeof (ac__type_new_))
22872 return 0;
22873 ;
22874 return 0;
22875 }
22876 _ACEOF
22877 rm -f conftest.$ac_objext
22878 if { (ac_try="$ac_compile"
22879 case "(($ac_try" in
22880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22881 *) ac_try_echo=$ac_try;;
22882 esac
22883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22884 (eval "$ac_compile") 2>conftest.er1
22885 ac_status=$?
22886 grep -v '^ *+' conftest.er1 >conftest.err
22887 rm -f conftest.er1
22888 cat conftest.err >&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); } && {
22891 test -z "$ac_c_werror_flag" ||
22892 test ! -s conftest.err
22893 } && test -s conftest.$ac_objext; then
22894 ac_cv_type_wchar_t=yes
22895 else
22896 echo "$as_me: failed program was:" >&5
22897 sed 's/^/| /' conftest.$ac_ext >&5
22898
22899 ac_cv_type_wchar_t=no
22900 fi
22901
22902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22903 fi
22904 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22905 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22906
22907 # The cast to long int works around a bug in the HP C Compiler
22908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22910 # This bug is HP SR number 8606223364.
22911 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22912 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22913 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22914 echo $ECHO_N "(cached) $ECHO_C" >&6
22915 else
22916 if test "$cross_compiling" = yes; then
22917 # Depending upon the size, compute the lo and hi bounds.
22918 cat >conftest.$ac_ext <<_ACEOF
22919 /* confdefs.h. */
22920 _ACEOF
22921 cat confdefs.h >>conftest.$ac_ext
22922 cat >>conftest.$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22924
22925 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22926 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22927 # error "fake wchar_t"
22928 #endif
22929 #ifdef HAVE_WCHAR_H
22930 # ifdef __CYGWIN__
22931 # include <stddef.h>
22932 # endif
22933 # include <wchar.h>
22934 #endif
22935 #ifdef HAVE_STDLIB_H
22936 # include <stdlib.h>
22937 #endif
22938 #include <stdio.h>
22939
22940
22941
22942 typedef wchar_t ac__type_sizeof_;
22943 int
22944 main ()
22945 {
22946 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22947 test_array [0] = 0
22948
22949 ;
22950 return 0;
22951 }
22952 _ACEOF
22953 rm -f conftest.$ac_objext
22954 if { (ac_try="$ac_compile"
22955 case "(($ac_try" in
22956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22957 *) ac_try_echo=$ac_try;;
22958 esac
22959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22960 (eval "$ac_compile") 2>conftest.er1
22961 ac_status=$?
22962 grep -v '^ *+' conftest.er1 >conftest.err
22963 rm -f conftest.er1
22964 cat conftest.err >&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } && {
22967 test -z "$ac_c_werror_flag" ||
22968 test ! -s conftest.err
22969 } && test -s conftest.$ac_objext; then
22970 ac_lo=0 ac_mid=0
22971 while :; do
22972 cat >conftest.$ac_ext <<_ACEOF
22973 /* confdefs.h. */
22974 _ACEOF
22975 cat confdefs.h >>conftest.$ac_ext
22976 cat >>conftest.$ac_ext <<_ACEOF
22977 /* end confdefs.h. */
22978
22979 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22980 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22981 # error "fake wchar_t"
22982 #endif
22983 #ifdef HAVE_WCHAR_H
22984 # ifdef __CYGWIN__
22985 # include <stddef.h>
22986 # endif
22987 # include <wchar.h>
22988 #endif
22989 #ifdef HAVE_STDLIB_H
22990 # include <stdlib.h>
22991 #endif
22992 #include <stdio.h>
22993
22994
22995
22996 typedef wchar_t ac__type_sizeof_;
22997 int
22998 main ()
22999 {
23000 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23001 test_array [0] = 0
23002
23003 ;
23004 return 0;
23005 }
23006 _ACEOF
23007 rm -f conftest.$ac_objext
23008 if { (ac_try="$ac_compile"
23009 case "(($ac_try" in
23010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23011 *) ac_try_echo=$ac_try;;
23012 esac
23013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23014 (eval "$ac_compile") 2>conftest.er1
23015 ac_status=$?
23016 grep -v '^ *+' conftest.er1 >conftest.err
23017 rm -f conftest.er1
23018 cat conftest.err >&5
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); } && {
23021 test -z "$ac_c_werror_flag" ||
23022 test ! -s conftest.err
23023 } && test -s conftest.$ac_objext; then
23024 ac_hi=$ac_mid; break
23025 else
23026 echo "$as_me: failed program was:" >&5
23027 sed 's/^/| /' conftest.$ac_ext >&5
23028
23029 ac_lo=`expr $ac_mid + 1`
23030 if test $ac_lo -le $ac_mid; then
23031 ac_lo= ac_hi=
23032 break
23033 fi
23034 ac_mid=`expr 2 '*' $ac_mid + 1`
23035 fi
23036
23037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23038 done
23039 else
23040 echo "$as_me: failed program was:" >&5
23041 sed 's/^/| /' conftest.$ac_ext >&5
23042
23043 cat >conftest.$ac_ext <<_ACEOF
23044 /* confdefs.h. */
23045 _ACEOF
23046 cat confdefs.h >>conftest.$ac_ext
23047 cat >>conftest.$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23049
23050 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23051 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23052 # error "fake wchar_t"
23053 #endif
23054 #ifdef HAVE_WCHAR_H
23055 # ifdef __CYGWIN__
23056 # include <stddef.h>
23057 # endif
23058 # include <wchar.h>
23059 #endif
23060 #ifdef HAVE_STDLIB_H
23061 # include <stdlib.h>
23062 #endif
23063 #include <stdio.h>
23064
23065
23066
23067 typedef wchar_t ac__type_sizeof_;
23068 int
23069 main ()
23070 {
23071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23072 test_array [0] = 0
23073
23074 ;
23075 return 0;
23076 }
23077 _ACEOF
23078 rm -f conftest.$ac_objext
23079 if { (ac_try="$ac_compile"
23080 case "(($ac_try" in
23081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23082 *) ac_try_echo=$ac_try;;
23083 esac
23084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23085 (eval "$ac_compile") 2>conftest.er1
23086 ac_status=$?
23087 grep -v '^ *+' conftest.er1 >conftest.err
23088 rm -f conftest.er1
23089 cat conftest.err >&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } && {
23092 test -z "$ac_c_werror_flag" ||
23093 test ! -s conftest.err
23094 } && test -s conftest.$ac_objext; then
23095 ac_hi=-1 ac_mid=-1
23096 while :; do
23097 cat >conftest.$ac_ext <<_ACEOF
23098 /* confdefs.h. */
23099 _ACEOF
23100 cat confdefs.h >>conftest.$ac_ext
23101 cat >>conftest.$ac_ext <<_ACEOF
23102 /* end confdefs.h. */
23103
23104 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23105 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23106 # error "fake wchar_t"
23107 #endif
23108 #ifdef HAVE_WCHAR_H
23109 # ifdef __CYGWIN__
23110 # include <stddef.h>
23111 # endif
23112 # include <wchar.h>
23113 #endif
23114 #ifdef HAVE_STDLIB_H
23115 # include <stdlib.h>
23116 #endif
23117 #include <stdio.h>
23118
23119
23120
23121 typedef wchar_t ac__type_sizeof_;
23122 int
23123 main ()
23124 {
23125 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23126 test_array [0] = 0
23127
23128 ;
23129 return 0;
23130 }
23131 _ACEOF
23132 rm -f conftest.$ac_objext
23133 if { (ac_try="$ac_compile"
23134 case "(($ac_try" in
23135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23136 *) ac_try_echo=$ac_try;;
23137 esac
23138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23139 (eval "$ac_compile") 2>conftest.er1
23140 ac_status=$?
23141 grep -v '^ *+' conftest.er1 >conftest.err
23142 rm -f conftest.er1
23143 cat conftest.err >&5
23144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23145 (exit $ac_status); } && {
23146 test -z "$ac_c_werror_flag" ||
23147 test ! -s conftest.err
23148 } && test -s conftest.$ac_objext; then
23149 ac_lo=$ac_mid; break
23150 else
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.$ac_ext >&5
23153
23154 ac_hi=`expr '(' $ac_mid ')' - 1`
23155 if test $ac_mid -le $ac_hi; then
23156 ac_lo= ac_hi=
23157 break
23158 fi
23159 ac_mid=`expr 2 '*' $ac_mid`
23160 fi
23161
23162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23163 done
23164 else
23165 echo "$as_me: failed program was:" >&5
23166 sed 's/^/| /' conftest.$ac_ext >&5
23167
23168 ac_lo= ac_hi=
23169 fi
23170
23171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23172 fi
23173
23174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23175 # Binary search between lo and hi bounds.
23176 while test "x$ac_lo" != "x$ac_hi"; do
23177 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23178 cat >conftest.$ac_ext <<_ACEOF
23179 /* confdefs.h. */
23180 _ACEOF
23181 cat confdefs.h >>conftest.$ac_ext
23182 cat >>conftest.$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23184
23185 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23186 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23187 # error "fake wchar_t"
23188 #endif
23189 #ifdef HAVE_WCHAR_H
23190 # ifdef __CYGWIN__
23191 # include <stddef.h>
23192 # endif
23193 # include <wchar.h>
23194 #endif
23195 #ifdef HAVE_STDLIB_H
23196 # include <stdlib.h>
23197 #endif
23198 #include <stdio.h>
23199
23200
23201
23202 typedef wchar_t ac__type_sizeof_;
23203 int
23204 main ()
23205 {
23206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23207 test_array [0] = 0
23208
23209 ;
23210 return 0;
23211 }
23212 _ACEOF
23213 rm -f conftest.$ac_objext
23214 if { (ac_try="$ac_compile"
23215 case "(($ac_try" in
23216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23217 *) ac_try_echo=$ac_try;;
23218 esac
23219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23220 (eval "$ac_compile") 2>conftest.er1
23221 ac_status=$?
23222 grep -v '^ *+' conftest.er1 >conftest.err
23223 rm -f conftest.er1
23224 cat conftest.err >&5
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); } && {
23227 test -z "$ac_c_werror_flag" ||
23228 test ! -s conftest.err
23229 } && test -s conftest.$ac_objext; then
23230 ac_hi=$ac_mid
23231 else
23232 echo "$as_me: failed program was:" >&5
23233 sed 's/^/| /' conftest.$ac_ext >&5
23234
23235 ac_lo=`expr '(' $ac_mid ')' + 1`
23236 fi
23237
23238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23239 done
23240 case $ac_lo in
23241 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23242 '') if test "$ac_cv_type_wchar_t" = yes; then
23243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23244 See \`config.log' for more details." >&5
23245 echo "$as_me: error: cannot compute sizeof (wchar_t)
23246 See \`config.log' for more details." >&2;}
23247 { (exit 77); exit 77; }; }
23248 else
23249 ac_cv_sizeof_wchar_t=0
23250 fi ;;
23251 esac
23252 else
23253 cat >conftest.$ac_ext <<_ACEOF
23254 /* confdefs.h. */
23255 _ACEOF
23256 cat confdefs.h >>conftest.$ac_ext
23257 cat >>conftest.$ac_ext <<_ACEOF
23258 /* end confdefs.h. */
23259
23260 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23261 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23262 # error "fake wchar_t"
23263 #endif
23264 #ifdef HAVE_WCHAR_H
23265 # ifdef __CYGWIN__
23266 # include <stddef.h>
23267 # endif
23268 # include <wchar.h>
23269 #endif
23270 #ifdef HAVE_STDLIB_H
23271 # include <stdlib.h>
23272 #endif
23273 #include <stdio.h>
23274
23275
23276
23277 typedef wchar_t ac__type_sizeof_;
23278 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23279 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23280 #include <stdio.h>
23281 #include <stdlib.h>
23282 int
23283 main ()
23284 {
23285
23286 FILE *f = fopen ("conftest.val", "w");
23287 if (! f)
23288 return 1;
23289 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23290 {
23291 long int i = longval ();
23292 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23293 return 1;
23294 fprintf (f, "%ld\n", i);
23295 }
23296 else
23297 {
23298 unsigned long int i = ulongval ();
23299 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23300 return 1;
23301 fprintf (f, "%lu\n", i);
23302 }
23303 return ferror (f) || fclose (f) != 0;
23304
23305 ;
23306 return 0;
23307 }
23308 _ACEOF
23309 rm -f conftest$ac_exeext
23310 if { (ac_try="$ac_link"
23311 case "(($ac_try" in
23312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23313 *) ac_try_echo=$ac_try;;
23314 esac
23315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23316 (eval "$ac_link") 2>&5
23317 ac_status=$?
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23320 { (case "(($ac_try" in
23321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23322 *) ac_try_echo=$ac_try;;
23323 esac
23324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23325 (eval "$ac_try") 2>&5
23326 ac_status=$?
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); }; }; then
23329 ac_cv_sizeof_wchar_t=`cat conftest.val`
23330 else
23331 echo "$as_me: program exited with status $ac_status" >&5
23332 echo "$as_me: failed program was:" >&5
23333 sed 's/^/| /' conftest.$ac_ext >&5
23334
23335 ( exit $ac_status )
23336 if test "$ac_cv_type_wchar_t" = yes; then
23337 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23338 See \`config.log' for more details." >&5
23339 echo "$as_me: error: cannot compute sizeof (wchar_t)
23340 See \`config.log' for more details." >&2;}
23341 { (exit 77); exit 77; }; }
23342 else
23343 ac_cv_sizeof_wchar_t=0
23344 fi
23345 fi
23346 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23347 fi
23348 rm -f conftest.val
23349 fi
23350 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23351 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23352
23353
23354
23355 cat >>confdefs.h <<_ACEOF
23356 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23357 _ACEOF
23358
23359
23360 if test "$ac_cv_sizeof_wchar_t" != 0; then
23361 wxUSE_WCHAR_T=yes
23362 else
23363 wxUSE_WCHAR_T=no
23364 fi
23365
23366 { echo "$as_me:$LINENO: checking for va_copy" >&5
23367 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23368 if test "${wx_cv_func_va_copy+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 else
23371
23372 ac_ext=cpp
23373 ac_cpp='$CXXCPP $CPPFLAGS'
23374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23377
23378 cat >conftest.$ac_ext <<_ACEOF
23379
23380 #include <stdarg.h>
23381 void foo(char *f, ...)
23382 {
23383 va_list ap1, ap2;
23384 va_start(ap1, f);
23385 va_copy(ap2, ap1);
23386 va_end(ap2);
23387 va_end(ap1);
23388 }
23389 int main()
23390 {
23391 foo("hi", 17);
23392 return 0;
23393 }
23394 _ACEOF
23395 rm -f conftest.$ac_objext conftest$ac_exeext
23396 if { (ac_try="$ac_link"
23397 case "(($ac_try" in
23398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23399 *) ac_try_echo=$ac_try;;
23400 esac
23401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23402 (eval "$ac_link") 2>conftest.er1
23403 ac_status=$?
23404 grep -v '^ *+' conftest.er1 >conftest.err
23405 rm -f conftest.er1
23406 cat conftest.err >&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } && {
23409 test -z "$ac_cxx_werror_flag" ||
23410 test ! -s conftest.err
23411 } && test -s conftest$ac_exeext &&
23412 $as_test_x conftest$ac_exeext; then
23413 wx_cv_func_va_copy=yes
23414 else
23415 echo "$as_me: failed program was:" >&5
23416 sed 's/^/| /' conftest.$ac_ext >&5
23417
23418 wx_cv_func_va_copy=no
23419
23420 fi
23421
23422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23423 conftest$ac_exeext conftest.$ac_ext
23424 ac_ext=c
23425 ac_cpp='$CPP $CPPFLAGS'
23426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23429
23430
23431
23432 fi
23433 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23434 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23435
23436 if test $wx_cv_func_va_copy = "yes"; then
23437 cat >>confdefs.h <<\_ACEOF
23438 #define HAVE_VA_COPY 1
23439 _ACEOF
23440
23441 else
23442 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23443 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23444 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23445 echo $ECHO_N "(cached) $ECHO_C" >&6
23446 else
23447
23448 if test "$cross_compiling" = yes; then
23449 wx_cv_type_va_list_lvalue=yes
23450
23451 else
23452 cat >conftest.$ac_ext <<_ACEOF
23453
23454 #include <stdarg.h>
23455 int foo(char *f, ...)
23456 {
23457 va_list ap1, ap2;
23458 va_start(ap1, f);
23459 ap2 = ap1;
23460 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23461 return 1;
23462 va_end(ap2);
23463 va_end(ap1);
23464 return 0;
23465 }
23466 int main()
23467 {
23468 return foo("hi", 17);
23469 }
23470 _ACEOF
23471 rm -f conftest$ac_exeext
23472 if { (ac_try="$ac_link"
23473 case "(($ac_try" in
23474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23475 *) ac_try_echo=$ac_try;;
23476 esac
23477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23478 (eval "$ac_link") 2>&5
23479 ac_status=$?
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23482 { (case "(($ac_try" in
23483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23484 *) ac_try_echo=$ac_try;;
23485 esac
23486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23487 (eval "$ac_try") 2>&5
23488 ac_status=$?
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); }; }; then
23491 wx_cv_type_va_list_lvalue=yes
23492 else
23493 echo "$as_me: program exited with status $ac_status" >&5
23494 echo "$as_me: failed program was:" >&5
23495 sed 's/^/| /' conftest.$ac_ext >&5
23496
23497 ( exit $ac_status )
23498 wx_cv_type_va_list_lvalue=no
23499 fi
23500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23501 fi
23502
23503
23504
23505
23506 fi
23507 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23508 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23509
23510 if test $wx_cv_type_va_list_lvalue != "yes"; then
23511 cat >>confdefs.h <<\_ACEOF
23512 #define VA_LIST_IS_ARRAY 1
23513 _ACEOF
23514
23515 fi
23516 fi
23517
23518 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23519
23520 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23521 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23522 if test "${wx_cv_have_variadic_macros+set}" = set; then
23523 echo $ECHO_N "(cached) $ECHO_C" >&6
23524 else
23525
23526 ac_ext=cpp
23527 ac_cpp='$CXXCPP $CPPFLAGS'
23528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23531
23532 cat >conftest.$ac_ext <<_ACEOF
23533 /* confdefs.h. */
23534 _ACEOF
23535 cat confdefs.h >>conftest.$ac_ext
23536 cat >>conftest.$ac_ext <<_ACEOF
23537 /* end confdefs.h. */
23538
23539 #include <stdio.h>
23540 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23541
23542 int
23543 main ()
23544 {
23545
23546 test("%s %d %p", "test", 1, 0);
23547
23548
23549 ;
23550 return 0;
23551 }
23552 _ACEOF
23553 rm -f conftest.$ac_objext
23554 if { (ac_try="$ac_compile"
23555 case "(($ac_try" in
23556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23557 *) ac_try_echo=$ac_try;;
23558 esac
23559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23560 (eval "$ac_compile") 2>conftest.er1
23561 ac_status=$?
23562 grep -v '^ *+' conftest.er1 >conftest.err
23563 rm -f conftest.er1
23564 cat conftest.err >&5
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); } && {
23567 test -z "$ac_cxx_werror_flag" ||
23568 test ! -s conftest.err
23569 } && test -s conftest.$ac_objext; then
23570 wx_cv_have_variadic_macros=yes
23571 else
23572 echo "$as_me: failed program was:" >&5
23573 sed 's/^/| /' conftest.$ac_ext >&5
23574
23575 wx_cv_have_variadic_macros=no
23576
23577 fi
23578
23579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23580 ac_ext=c
23581 ac_cpp='$CPP $CPPFLAGS'
23582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23585
23586
23587
23588 fi
23589 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23590 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23591
23592 if test $wx_cv_have_variadic_macros = "yes"; then
23593 cat >>confdefs.h <<\_ACEOF
23594 #define HAVE_VARIADIC_MACROS 1
23595 _ACEOF
23596
23597 fi
23598
23599 fi
23600
23601 LARGEFILE_CPPFLAGS=
23602 # Check whether --enable-largefile was given.
23603 if test "${enable_largefile+set}" = set; then
23604 enableval=$enable_largefile;
23605 fi
23606
23607 if test "$enable_largefile" != no; then
23608 wx_largefile=no
23609
23610 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23611 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23612 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23613 echo $ECHO_N "(cached) $ECHO_C" >&6
23614 else
23615
23616 cat >conftest.$ac_ext <<_ACEOF
23617 /* confdefs.h. */
23618 _ACEOF
23619 cat confdefs.h >>conftest.$ac_ext
23620 cat >>conftest.$ac_ext <<_ACEOF
23621 /* end confdefs.h. */
23622 #define _FILE_OFFSET_BITS 64
23623 #include <sys/types.h>
23624 int
23625 main ()
23626 {
23627 typedef struct {
23628 unsigned int field: sizeof(off_t) == 8;
23629 } wxlf;
23630
23631 ;
23632 return 0;
23633 }
23634 _ACEOF
23635 rm -f conftest.$ac_objext
23636 if { (ac_try="$ac_compile"
23637 case "(($ac_try" in
23638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23639 *) ac_try_echo=$ac_try;;
23640 esac
23641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23642 (eval "$ac_compile") 2>conftest.er1
23643 ac_status=$?
23644 grep -v '^ *+' conftest.er1 >conftest.err
23645 rm -f conftest.er1
23646 cat conftest.err >&5
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); } && {
23649 test -z "$ac_c_werror_flag" ||
23650 test ! -s conftest.err
23651 } && test -s conftest.$ac_objext; then
23652 ac_cv_sys_file_offset_bits=64
23653 else
23654 echo "$as_me: failed program was:" >&5
23655 sed 's/^/| /' conftest.$ac_ext >&5
23656
23657 ac_cv_sys_file_offset_bits=no
23658 fi
23659
23660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23661
23662
23663 fi
23664 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23665 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23666
23667 if test "$ac_cv_sys_file_offset_bits" != no; then
23668 wx_largefile=yes
23669 cat >>confdefs.h <<_ACEOF
23670 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23671 _ACEOF
23672
23673 fi
23674
23675 if test "x$wx_largefile" != "xyes"; then
23676
23677 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23678 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23679 if test "${ac_cv_sys_large_files+set}" = set; then
23680 echo $ECHO_N "(cached) $ECHO_C" >&6
23681 else
23682
23683 cat >conftest.$ac_ext <<_ACEOF
23684 /* confdefs.h. */
23685 _ACEOF
23686 cat confdefs.h >>conftest.$ac_ext
23687 cat >>conftest.$ac_ext <<_ACEOF
23688 /* end confdefs.h. */
23689 #define _LARGE_FILES 1
23690 #include <sys/types.h>
23691 int
23692 main ()
23693 {
23694 typedef struct {
23695 unsigned int field: sizeof(off_t) == 8;
23696 } wxlf;
23697
23698 ;
23699 return 0;
23700 }
23701 _ACEOF
23702 rm -f conftest.$ac_objext
23703 if { (ac_try="$ac_compile"
23704 case "(($ac_try" in
23705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23706 *) ac_try_echo=$ac_try;;
23707 esac
23708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23709 (eval "$ac_compile") 2>conftest.er1
23710 ac_status=$?
23711 grep -v '^ *+' conftest.er1 >conftest.err
23712 rm -f conftest.er1
23713 cat conftest.err >&5
23714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23715 (exit $ac_status); } && {
23716 test -z "$ac_c_werror_flag" ||
23717 test ! -s conftest.err
23718 } && test -s conftest.$ac_objext; then
23719 ac_cv_sys_large_files=1
23720 else
23721 echo "$as_me: failed program was:" >&5
23722 sed 's/^/| /' conftest.$ac_ext >&5
23723
23724 ac_cv_sys_large_files=no
23725 fi
23726
23727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728
23729
23730 fi
23731 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23732 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23733
23734 if test "$ac_cv_sys_large_files" != no; then
23735 wx_largefile=yes
23736 cat >>confdefs.h <<_ACEOF
23737 #define _LARGE_FILES $ac_cv_sys_large_files
23738 _ACEOF
23739
23740 fi
23741
23742 fi
23743
23744 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23745 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23746 if test "x$wx_largefile" = "xyes"; then
23747 cat >>confdefs.h <<\_ACEOF
23748 #define HAVE_LARGEFILE_SUPPORT 1
23749 _ACEOF
23750
23751 fi
23752 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23753 echo "${ECHO_T}$wx_largefile" >&6; }
23754 fi
23755
23756 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23757 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23758 elif test "$ac_cv_sys_large_files" = 1; then
23759 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23760 fi
23761
23762 if test -n "$LARGEFILE_CPPFLAGS"; then
23763 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23764
23765 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23766 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23767 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23768 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23769 echo $ECHO_N "(cached) $ECHO_C" >&6
23770 else
23771
23772 ac_ext=cpp
23773 ac_cpp='$CXXCPP $CPPFLAGS'
23774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23777
23778 cat >conftest.$ac_ext <<_ACEOF
23779 /* confdefs.h. */
23780 _ACEOF
23781 cat confdefs.h >>conftest.$ac_ext
23782 cat >>conftest.$ac_ext <<_ACEOF
23783 /* end confdefs.h. */
23784
23785 int
23786 main ()
23787 {
23788
23789 #ifndef __STDC_EXT__
23790 choke me
23791 #endif
23792
23793 ;
23794 return 0;
23795 }
23796 _ACEOF
23797 rm -f conftest.$ac_objext
23798 if { (ac_try="$ac_compile"
23799 case "(($ac_try" in
23800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23801 *) ac_try_echo=$ac_try;;
23802 esac
23803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23804 (eval "$ac_compile") 2>conftest.er1
23805 ac_status=$?
23806 grep -v '^ *+' conftest.er1 >conftest.err
23807 rm -f conftest.er1
23808 cat conftest.err >&5
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); } && {
23811 test -z "$ac_cxx_werror_flag" ||
23812 test ! -s conftest.err
23813 } && test -s conftest.$ac_objext; then
23814 wx_cv_STDC_EXT_required=no
23815 else
23816 echo "$as_me: failed program was:" >&5
23817 sed 's/^/| /' conftest.$ac_ext >&5
23818
23819 wx_cv_STDC_EXT_required=yes
23820
23821 fi
23822
23823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23824 ac_ext=c
23825 ac_cpp='$CPP $CPPFLAGS'
23826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23829
23830
23831
23832 fi
23833 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23834 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23835 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23836 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23837 fi
23838 fi
23839 fi
23840
23841 ac_ext=cpp
23842 ac_cpp='$CXXCPP $CPPFLAGS'
23843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23846
23847 old_CPPFLAGS="$CPPFLAGS"
23848 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23849 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23850 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23851 if test "${ac_cv_sys_largefile_source+set}" = set; then
23852 echo $ECHO_N "(cached) $ECHO_C" >&6
23853 else
23854 while :; do
23855 cat >conftest.$ac_ext <<_ACEOF
23856 /* confdefs.h. */
23857 _ACEOF
23858 cat confdefs.h >>conftest.$ac_ext
23859 cat >>conftest.$ac_ext <<_ACEOF
23860 /* end confdefs.h. */
23861 #include <sys/types.h> /* for off_t */
23862 #include <stdio.h>
23863 int
23864 main ()
23865 {
23866 int (*fp) (FILE *, off_t, int) = fseeko;
23867 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23868 ;
23869 return 0;
23870 }
23871 _ACEOF
23872 rm -f conftest.$ac_objext conftest$ac_exeext
23873 if { (ac_try="$ac_link"
23874 case "(($ac_try" in
23875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23876 *) ac_try_echo=$ac_try;;
23877 esac
23878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23879 (eval "$ac_link") 2>conftest.er1
23880 ac_status=$?
23881 grep -v '^ *+' conftest.er1 >conftest.err
23882 rm -f conftest.er1
23883 cat conftest.err >&5
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); } && {
23886 test -z "$ac_cxx_werror_flag" ||
23887 test ! -s conftest.err
23888 } && test -s conftest$ac_exeext &&
23889 $as_test_x conftest$ac_exeext; then
23890 ac_cv_sys_largefile_source=no; break
23891 else
23892 echo "$as_me: failed program was:" >&5
23893 sed 's/^/| /' conftest.$ac_ext >&5
23894
23895
23896 fi
23897
23898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23899 conftest$ac_exeext conftest.$ac_ext
23900 cat >conftest.$ac_ext <<_ACEOF
23901 /* confdefs.h. */
23902 _ACEOF
23903 cat confdefs.h >>conftest.$ac_ext
23904 cat >>conftest.$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906 #define _LARGEFILE_SOURCE 1
23907 #include <sys/types.h> /* for off_t */
23908 #include <stdio.h>
23909 int
23910 main ()
23911 {
23912 int (*fp) (FILE *, off_t, int) = fseeko;
23913 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23914 ;
23915 return 0;
23916 }
23917 _ACEOF
23918 rm -f conftest.$ac_objext conftest$ac_exeext
23919 if { (ac_try="$ac_link"
23920 case "(($ac_try" in
23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23922 *) ac_try_echo=$ac_try;;
23923 esac
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23925 (eval "$ac_link") 2>conftest.er1
23926 ac_status=$?
23927 grep -v '^ *+' conftest.er1 >conftest.err
23928 rm -f conftest.er1
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } && {
23932 test -z "$ac_cxx_werror_flag" ||
23933 test ! -s conftest.err
23934 } && test -s conftest$ac_exeext &&
23935 $as_test_x conftest$ac_exeext; then
23936 ac_cv_sys_largefile_source=1; break
23937 else
23938 echo "$as_me: failed program was:" >&5
23939 sed 's/^/| /' conftest.$ac_ext >&5
23940
23941
23942 fi
23943
23944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23945 conftest$ac_exeext conftest.$ac_ext
23946 ac_cv_sys_largefile_source=unknown
23947 break
23948 done
23949 fi
23950 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23951 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23952 case $ac_cv_sys_largefile_source in #(
23953 no | unknown) ;;
23954 *)
23955 cat >>confdefs.h <<_ACEOF
23956 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23957 _ACEOF
23958 ;;
23959 esac
23960 rm -f conftest*
23961
23962 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23963 # in glibc 2.1.3, but that breaks too many other things.
23964 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23965 if test $ac_cv_sys_largefile_source != unknown; then
23966
23967 cat >>confdefs.h <<\_ACEOF
23968 #define HAVE_FSEEKO 1
23969 _ACEOF
23970
23971 fi
23972
23973 CPPFLAGS="$old_CPPFLAGS"
23974 ac_ext=c
23975 ac_cpp='$CPP $CPPFLAGS'
23976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23979
23980 if test "$ac_cv_sys_largefile_source" != no; then
23981 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23982 fi
23983
23984 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23985 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23986 if test "${ac_cv_c_bigendian+set}" = set; then
23987 echo $ECHO_N "(cached) $ECHO_C" >&6
23988 else
23989 ac_cv_c_bigendian=unknown
23990 # See if sys/param.h defines the BYTE_ORDER macro.
23991 cat >conftest.$ac_ext <<_ACEOF
23992 /* confdefs.h. */
23993 _ACEOF
23994 cat confdefs.h >>conftest.$ac_ext
23995 cat >>conftest.$ac_ext <<_ACEOF
23996 /* end confdefs.h. */
23997 #include <sys/types.h>
23998 #include <sys/param.h>
23999 int
24000 main ()
24001 {
24002
24003 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24004 bogus endian macros
24005 #endif
24006 ;
24007 return 0;
24008 }
24009 _ACEOF
24010 rm -f conftest.$ac_objext
24011 if { (ac_try="$ac_compile"
24012 case "(($ac_try" in
24013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24014 *) ac_try_echo=$ac_try;;
24015 esac
24016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24017 (eval "$ac_compile") 2>conftest.er1
24018 ac_status=$?
24019 grep -v '^ *+' conftest.er1 >conftest.err
24020 rm -f conftest.er1
24021 cat conftest.err >&5
24022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24023 (exit $ac_status); } && {
24024 test -z "$ac_c_werror_flag" ||
24025 test ! -s conftest.err
24026 } && test -s conftest.$ac_objext; then
24027 # It does; now see whether it defined to BIG_ENDIAN or not.
24028 cat >conftest.$ac_ext <<_ACEOF
24029 /* confdefs.h. */
24030 _ACEOF
24031 cat confdefs.h >>conftest.$ac_ext
24032 cat >>conftest.$ac_ext <<_ACEOF
24033 /* end confdefs.h. */
24034 #include <sys/types.h>
24035 #include <sys/param.h>
24036 int
24037 main ()
24038 {
24039
24040 #if BYTE_ORDER != BIG_ENDIAN
24041 not big endian
24042 #endif
24043 ;
24044 return 0;
24045 }
24046 _ACEOF
24047 rm -f conftest.$ac_objext
24048 if { (ac_try="$ac_compile"
24049 case "(($ac_try" in
24050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24051 *) ac_try_echo=$ac_try;;
24052 esac
24053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24054 (eval "$ac_compile") 2>conftest.er1
24055 ac_status=$?
24056 grep -v '^ *+' conftest.er1 >conftest.err
24057 rm -f conftest.er1
24058 cat conftest.err >&5
24059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24060 (exit $ac_status); } && {
24061 test -z "$ac_c_werror_flag" ||
24062 test ! -s conftest.err
24063 } && test -s conftest.$ac_objext; then
24064 ac_cv_c_bigendian=yes
24065 else
24066 echo "$as_me: failed program was:" >&5
24067 sed 's/^/| /' conftest.$ac_ext >&5
24068
24069 ac_cv_c_bigendian=no
24070 fi
24071
24072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24073 else
24074 echo "$as_me: failed program was:" >&5
24075 sed 's/^/| /' conftest.$ac_ext >&5
24076
24077
24078 fi
24079
24080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24081 if test $ac_cv_c_bigendian = unknown; then
24082 if test "$cross_compiling" = yes; then
24083 ac_cv_c_bigendian=unknown
24084 else
24085 cat >conftest.$ac_ext <<_ACEOF
24086 /* confdefs.h. */
24087 _ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24091 main () {
24092 /* Are we little or big endian? From Harbison&Steele. */
24093 union
24094 {
24095 long l;
24096 char c[sizeof (long)];
24097 } u;
24098 u.l = 1;
24099 exit (u.c[sizeof (long) - 1] == 1);
24100 }
24101 _ACEOF
24102 rm -f conftest$ac_exeext
24103 if { (ac_try="$ac_link"
24104 case "(($ac_try" in
24105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24106 *) ac_try_echo=$ac_try;;
24107 esac
24108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24109 (eval "$ac_link") 2>&5
24110 ac_status=$?
24111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24113 { (case "(($ac_try" in
24114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24115 *) ac_try_echo=$ac_try;;
24116 esac
24117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24118 (eval "$ac_try") 2>&5
24119 ac_status=$?
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); }; }; then
24122 ac_cv_c_bigendian=no
24123 else
24124 echo "$as_me: program exited with status $ac_status" >&5
24125 echo "$as_me: failed program was:" >&5
24126 sed 's/^/| /' conftest.$ac_ext >&5
24127
24128 ( exit $ac_status )
24129 ac_cv_c_bigendian=yes
24130 fi
24131 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24132 fi
24133
24134
24135 fi
24136 fi
24137 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24138 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24139 if test $ac_cv_c_bigendian = unknown; then
24140 { 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
24141 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;}
24142 fi
24143 if test $ac_cv_c_bigendian = yes; then
24144 cat >>confdefs.h <<\_ACEOF
24145 #define WORDS_BIGENDIAN 1
24146 _ACEOF
24147
24148 fi
24149
24150
24151
24152
24153 ac_ext=cpp
24154 ac_cpp='$CXXCPP $CPPFLAGS'
24155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24158
24159
24160
24161 for ac_header in iostream
24162 do
24163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24164 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24167 echo $ECHO_N "(cached) $ECHO_C" >&6
24168 else
24169 cat >conftest.$ac_ext <<_ACEOF
24170 /* confdefs.h. */
24171 _ACEOF
24172 cat confdefs.h >>conftest.$ac_ext
24173 cat >>conftest.$ac_ext <<_ACEOF
24174 /* end confdefs.h. */
24175
24176
24177 #include <$ac_header>
24178 _ACEOF
24179 rm -f conftest.$ac_objext
24180 if { (ac_try="$ac_compile"
24181 case "(($ac_try" in
24182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24183 *) ac_try_echo=$ac_try;;
24184 esac
24185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24186 (eval "$ac_compile") 2>conftest.er1
24187 ac_status=$?
24188 grep -v '^ *+' conftest.er1 >conftest.err
24189 rm -f conftest.er1
24190 cat conftest.err >&5
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); } && {
24193 test -z "$ac_cxx_werror_flag" ||
24194 test ! -s conftest.err
24195 } && test -s conftest.$ac_objext; then
24196 eval "$as_ac_Header=yes"
24197 else
24198 echo "$as_me: failed program was:" >&5
24199 sed 's/^/| /' conftest.$ac_ext >&5
24200
24201 eval "$as_ac_Header=no"
24202 fi
24203
24204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24205 fi
24206 ac_res=`eval echo '${'$as_ac_Header'}'`
24207 { echo "$as_me:$LINENO: result: $ac_res" >&5
24208 echo "${ECHO_T}$ac_res" >&6; }
24209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24210 cat >>confdefs.h <<_ACEOF
24211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24212 _ACEOF
24213
24214 fi
24215
24216 done
24217
24218
24219 if test "$ac_cv_header_iostream" = "yes" ; then
24220 :
24221 else
24222 cat >>confdefs.h <<\_ACEOF
24223 #define wxUSE_IOSTREAMH 1
24224 _ACEOF
24225
24226 fi
24227
24228 ac_ext=c
24229 ac_cpp='$CPP $CPPFLAGS'
24230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24233
24234
24235
24236
24237 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24238 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24239 if test "${wx_cv_explicit+set}" = set; then
24240 echo $ECHO_N "(cached) $ECHO_C" >&6
24241 else
24242
24243
24244 ac_ext=cpp
24245 ac_cpp='$CXXCPP $CPPFLAGS'
24246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24249
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 class Foo { public: explicit Foo(int) {} };
24259
24260 int
24261 main ()
24262 {
24263
24264 return 0;
24265
24266 ;
24267 return 0;
24268 }
24269 _ACEOF
24270 rm -f conftest.$ac_objext
24271 if { (ac_try="$ac_compile"
24272 case "(($ac_try" in
24273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24274 *) ac_try_echo=$ac_try;;
24275 esac
24276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24277 (eval "$ac_compile") 2>conftest.er1
24278 ac_status=$?
24279 grep -v '^ *+' conftest.er1 >conftest.err
24280 rm -f conftest.er1
24281 cat conftest.err >&5
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); } && {
24284 test -z "$ac_cxx_werror_flag" ||
24285 test ! -s conftest.err
24286 } && test -s conftest.$ac_objext; then
24287
24288 cat >conftest.$ac_ext <<_ACEOF
24289 /* confdefs.h. */
24290 _ACEOF
24291 cat confdefs.h >>conftest.$ac_ext
24292 cat >>conftest.$ac_ext <<_ACEOF
24293 /* end confdefs.h. */
24294
24295 class Foo { public: explicit Foo(int) {} };
24296 static void TakeFoo(const Foo& foo) { }
24297
24298 int
24299 main ()
24300 {
24301
24302 TakeFoo(17);
24303 return 0;
24304
24305 ;
24306 return 0;
24307 }
24308 _ACEOF
24309 rm -f conftest.$ac_objext
24310 if { (ac_try="$ac_compile"
24311 case "(($ac_try" in
24312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24313 *) ac_try_echo=$ac_try;;
24314 esac
24315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24316 (eval "$ac_compile") 2>conftest.er1
24317 ac_status=$?
24318 grep -v '^ *+' conftest.er1 >conftest.err
24319 rm -f conftest.er1
24320 cat conftest.err >&5
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); } && {
24323 test -z "$ac_cxx_werror_flag" ||
24324 test ! -s conftest.err
24325 } && test -s conftest.$ac_objext; then
24326 wx_cv_explicit=no
24327 else
24328 echo "$as_me: failed program was:" >&5
24329 sed 's/^/| /' conftest.$ac_ext >&5
24330
24331 wx_cv_explicit=yes
24332
24333 fi
24334
24335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24336
24337 else
24338 echo "$as_me: failed program was:" >&5
24339 sed 's/^/| /' conftest.$ac_ext >&5
24340
24341 wx_cv_explicit=no
24342
24343 fi
24344
24345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24346
24347 ac_ext=c
24348 ac_cpp='$CPP $CPPFLAGS'
24349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24352
24353
24354 fi
24355 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24356 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24357
24358 if test "$wx_cv_explicit" = "yes"; then
24359 cat >>confdefs.h <<\_ACEOF
24360 #define HAVE_EXPLICIT 1
24361 _ACEOF
24362
24363 fi
24364
24365
24366 if test "x$SUNCXX" = xyes; then
24367 CXXFLAGS="-features=tmplife $CXXFLAGS"
24368 fi
24369
24370 if test "x$SUNCC" = xyes; then
24371 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24372 fi
24373
24374 if test "x$SGICC" = "xyes"; then
24375 CFLAGS="-woff 3970 $CFLAGS"
24376 fi
24377 if test "x$SGICXX" = "xyes"; then
24378 CXXFLAGS="-woff 3970 $CXXFLAGS"
24379 fi
24380
24381 if test "x$HPCC" = "xyes"; then
24382 CFLAGS="+W 2011,2450 $CFLAGS"
24383 fi
24384 if test "x$HPCXX" = "xyes"; then
24385 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24386 fi
24387
24388 if test "x$COMPAQCXX" = "xyes"; then
24389 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24390 fi
24391
24392 ac_ext=cpp
24393 ac_cpp='$CXXCPP $CPPFLAGS'
24394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24397
24398
24399 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24400 if test "$wxUSE_UNICODE" = "yes"; then
24401 std_string="std::wstring"
24402 char_type="wchar_t"
24403 else
24404 std_string="std::string"
24405 char_type="char"
24406 fi
24407
24408 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24409 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24410 if test "${wx_cv_class_stdstring+set}" = set; then
24411 echo $ECHO_N "(cached) $ECHO_C" >&6
24412 else
24413
24414 cat >conftest.$ac_ext <<_ACEOF
24415 /* confdefs.h. */
24416 _ACEOF
24417 cat confdefs.h >>conftest.$ac_ext
24418 cat >>conftest.$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24420 #include <string>
24421 int
24422 main ()
24423 {
24424 $std_string foo;
24425 ;
24426 return 0;
24427 }
24428 _ACEOF
24429 rm -f conftest.$ac_objext
24430 if { (ac_try="$ac_compile"
24431 case "(($ac_try" in
24432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24433 *) ac_try_echo=$ac_try;;
24434 esac
24435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24436 (eval "$ac_compile") 2>conftest.er1
24437 ac_status=$?
24438 grep -v '^ *+' conftest.er1 >conftest.err
24439 rm -f conftest.er1
24440 cat conftest.err >&5
24441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442 (exit $ac_status); } && {
24443 test -z "$ac_cxx_werror_flag" ||
24444 test ! -s conftest.err
24445 } && test -s conftest.$ac_objext; then
24446 wx_cv_class_stdstring=yes
24447 else
24448 echo "$as_me: failed program was:" >&5
24449 sed 's/^/| /' conftest.$ac_ext >&5
24450
24451 wx_cv_class_stdstring=no
24452
24453 fi
24454
24455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24456
24457
24458 fi
24459 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24460 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24461
24462 if test "$wx_cv_class_stdstring" = yes; then
24463 if test "$wxUSE_UNICODE" = "yes"; then
24464 cat >>confdefs.h <<\_ACEOF
24465 #define HAVE_STD_WSTRING 1
24466 _ACEOF
24467
24468 fi
24469 else
24470 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24471 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24472 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24473 echo $ECHO_N "(cached) $ECHO_C" >&6
24474 else
24475
24476 cat >conftest.$ac_ext <<_ACEOF
24477 /* confdefs.h. */
24478 _ACEOF
24479 cat confdefs.h >>conftest.$ac_ext
24480 cat >>conftest.$ac_ext <<_ACEOF
24481 /* end confdefs.h. */
24482
24483 #ifdef HAVE_WCHAR_H
24484 # ifdef __CYGWIN__
24485 # include <stddef.h>
24486 # endif
24487 # include <wchar.h>
24488 #endif
24489 #ifdef HAVE_STDLIB_H
24490 # include <stdlib.h>
24491 #endif
24492 #include <stdio.h>
24493 #include <string>
24494
24495 int
24496 main ()
24497 {
24498 std::basic_string<$char_type> foo;
24499 const $char_type* dummy = foo.c_str();
24500 ;
24501 return 0;
24502 }
24503 _ACEOF
24504 rm -f conftest.$ac_objext
24505 if { (ac_try="$ac_compile"
24506 case "(($ac_try" in
24507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24508 *) ac_try_echo=$ac_try;;
24509 esac
24510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24511 (eval "$ac_compile") 2>conftest.er1
24512 ac_status=$?
24513 grep -v '^ *+' conftest.er1 >conftest.err
24514 rm -f conftest.er1
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } && {
24518 test -z "$ac_cxx_werror_flag" ||
24519 test ! -s conftest.err
24520 } && test -s conftest.$ac_objext; then
24521 wx_cv_class_stdbasicstring=yes
24522 else
24523 echo "$as_me: failed program was:" >&5
24524 sed 's/^/| /' conftest.$ac_ext >&5
24525
24526 wx_cv_class_stdbasicstring=no
24527
24528 fi
24529
24530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24531
24532
24533 fi
24534 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24535 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24536
24537 if test "$wx_cv_class_stdbasicstring" != yes; then
24538 if test "$wxUSE_STL" = "yes"; then
24539 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24540 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24541 { (exit 1); exit 1; }; }
24542 elif test "$wxUSE_STD_STRING" = "yes"; then
24543 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24544 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24545 { (exit 1); exit 1; }; }
24546 else
24547 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24548 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24549 wxUSE_STD_STRING=no
24550 fi
24551 fi
24552 fi
24553 fi
24554
24555 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24556 { echo "$as_me:$LINENO: checking for std::istream" >&5
24557 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24558 if test "${ac_cv_type_std__istream+set}" = set; then
24559 echo $ECHO_N "(cached) $ECHO_C" >&6
24560 else
24561 cat >conftest.$ac_ext <<_ACEOF
24562 /* confdefs.h. */
24563 _ACEOF
24564 cat confdefs.h >>conftest.$ac_ext
24565 cat >>conftest.$ac_ext <<_ACEOF
24566 /* end confdefs.h. */
24567 #include <iostream>
24568
24569 typedef std::istream ac__type_new_;
24570 int
24571 main ()
24572 {
24573 if ((ac__type_new_ *) 0)
24574 return 0;
24575 if (sizeof (ac__type_new_))
24576 return 0;
24577 ;
24578 return 0;
24579 }
24580 _ACEOF
24581 rm -f conftest.$ac_objext
24582 if { (ac_try="$ac_compile"
24583 case "(($ac_try" in
24584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24585 *) ac_try_echo=$ac_try;;
24586 esac
24587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24588 (eval "$ac_compile") 2>conftest.er1
24589 ac_status=$?
24590 grep -v '^ *+' conftest.er1 >conftest.err
24591 rm -f conftest.er1
24592 cat conftest.err >&5
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); } && {
24595 test -z "$ac_cxx_werror_flag" ||
24596 test ! -s conftest.err
24597 } && test -s conftest.$ac_objext; then
24598 ac_cv_type_std__istream=yes
24599 else
24600 echo "$as_me: failed program was:" >&5
24601 sed 's/^/| /' conftest.$ac_ext >&5
24602
24603 ac_cv_type_std__istream=no
24604 fi
24605
24606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24607 fi
24608 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24609 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24610 if test $ac_cv_type_std__istream = yes; then
24611
24612 cat >>confdefs.h <<_ACEOF
24613 #define HAVE_STD__ISTREAM 1
24614 _ACEOF
24615
24616
24617 else
24618 wxUSE_STD_IOSTREAM=no
24619 fi
24620 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24621 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24622 if test "${ac_cv_type_std__ostream+set}" = set; then
24623 echo $ECHO_N "(cached) $ECHO_C" >&6
24624 else
24625 cat >conftest.$ac_ext <<_ACEOF
24626 /* confdefs.h. */
24627 _ACEOF
24628 cat confdefs.h >>conftest.$ac_ext
24629 cat >>conftest.$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24631 #include <iostream>
24632
24633 typedef std::ostream ac__type_new_;
24634 int
24635 main ()
24636 {
24637 if ((ac__type_new_ *) 0)
24638 return 0;
24639 if (sizeof (ac__type_new_))
24640 return 0;
24641 ;
24642 return 0;
24643 }
24644 _ACEOF
24645 rm -f conftest.$ac_objext
24646 if { (ac_try="$ac_compile"
24647 case "(($ac_try" in
24648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24649 *) ac_try_echo=$ac_try;;
24650 esac
24651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24652 (eval "$ac_compile") 2>conftest.er1
24653 ac_status=$?
24654 grep -v '^ *+' conftest.er1 >conftest.err
24655 rm -f conftest.er1
24656 cat conftest.err >&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); } && {
24659 test -z "$ac_cxx_werror_flag" ||
24660 test ! -s conftest.err
24661 } && test -s conftest.$ac_objext; then
24662 ac_cv_type_std__ostream=yes
24663 else
24664 echo "$as_me: failed program was:" >&5
24665 sed 's/^/| /' conftest.$ac_ext >&5
24666
24667 ac_cv_type_std__ostream=no
24668 fi
24669
24670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24671 fi
24672 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24673 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24674 if test $ac_cv_type_std__ostream = yes; then
24675
24676 cat >>confdefs.h <<_ACEOF
24677 #define HAVE_STD__OSTREAM 1
24678 _ACEOF
24679
24680
24681 else
24682 wxUSE_STD_IOSTREAM=no
24683 fi
24684
24685
24686 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24687 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24688 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24689 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24690 { (exit 1); exit 1; }; }
24691 else
24692 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24693 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24694 fi
24695 fi
24696 fi
24697
24698 if test "$wxUSE_STL" = "yes"; then
24699 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24700 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24701 if test "${wx_cv_lib_stl+set}" = set; then
24702 echo $ECHO_N "(cached) $ECHO_C" >&6
24703 else
24704 cat >conftest.$ac_ext <<_ACEOF
24705 /* confdefs.h. */
24706 _ACEOF
24707 cat confdefs.h >>conftest.$ac_ext
24708 cat >>conftest.$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24710 #include <string>
24711 #include <functional>
24712 #include <algorithm>
24713 #include <vector>
24714 #include <list>
24715 int
24716 main ()
24717 {
24718 std::vector<int> moo;
24719 std::list<int> foo;
24720 std::vector<int>::iterator it =
24721 std::find_if(moo.begin(), moo.end(),
24722 std::bind2nd(std::less<int>(), 3));
24723 ;
24724 return 0;
24725 }
24726 _ACEOF
24727 rm -f conftest.$ac_objext
24728 if { (ac_try="$ac_compile"
24729 case "(($ac_try" in
24730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24731 *) ac_try_echo=$ac_try;;
24732 esac
24733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24734 (eval "$ac_compile") 2>conftest.er1
24735 ac_status=$?
24736 grep -v '^ *+' conftest.er1 >conftest.err
24737 rm -f conftest.er1
24738 cat conftest.err >&5
24739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740 (exit $ac_status); } && {
24741 test -z "$ac_cxx_werror_flag" ||
24742 test ! -s conftest.err
24743 } && test -s conftest.$ac_objext; then
24744 wx_cv_lib_stl=yes
24745 else
24746 echo "$as_me: failed program was:" >&5
24747 sed 's/^/| /' conftest.$ac_ext >&5
24748
24749 wx_cv_lib_stl=no
24750
24751 fi
24752
24753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24754
24755 fi
24756 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24757 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24758
24759 if test "$wx_cv_lib_stl" != yes; then
24760 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24761 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24762 { (exit 1); exit 1; }; }
24763 fi
24764
24765 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24766 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24767 if test "${wx_cv_func_stdstring_compare+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 <string>
24777 int
24778 main ()
24779 {
24780 std::string foo, bar;
24781 foo.compare(bar);
24782 foo.compare(1, 1, bar);
24783 foo.compare(1, 1, bar, 1, 1);
24784 foo.compare("");
24785 foo.compare(1, 1, "");
24786 foo.compare(1, 1, "", 2);
24787 ;
24788 return 0;
24789 }
24790 _ACEOF
24791 rm -f conftest.$ac_objext
24792 if { (ac_try="$ac_compile"
24793 case "(($ac_try" in
24794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24795 *) ac_try_echo=$ac_try;;
24796 esac
24797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24798 (eval "$ac_compile") 2>conftest.er1
24799 ac_status=$?
24800 grep -v '^ *+' conftest.er1 >conftest.err
24801 rm -f conftest.er1
24802 cat conftest.err >&5
24803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24804 (exit $ac_status); } && {
24805 test -z "$ac_cxx_werror_flag" ||
24806 test ! -s conftest.err
24807 } && test -s conftest.$ac_objext; then
24808 wx_cv_func_stdstring_compare=yes
24809 else
24810 echo "$as_me: failed program was:" >&5
24811 sed 's/^/| /' conftest.$ac_ext >&5
24812
24813 wx_cv_func_stdstring_compare=no
24814
24815 fi
24816
24817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24818
24819 fi
24820 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24821 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24822
24823 if test "$wx_cv_func_stdstring_compare" = yes; then
24824 cat >>confdefs.h <<\_ACEOF
24825 #define HAVE_STD_STRING_COMPARE 1
24826 _ACEOF
24827
24828 fi
24829
24830 if test "$wx_cv_class_gnuhashmapset" = yes; then
24831 cat >>confdefs.h <<\_ACEOF
24832 #define HAVE_EXT_HASH_MAP 1
24833 _ACEOF
24834
24835 cat >>confdefs.h <<\_ACEOF
24836 #define HAVE_GNU_CXX_HASH_MAP 1
24837 _ACEOF
24838
24839 fi
24840
24841 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24842 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24843 if test "${ac_cv_header_unordered_map+set}" = set; then
24844 echo $ECHO_N "(cached) $ECHO_C" >&6
24845 else
24846 cat >conftest.$ac_ext <<_ACEOF
24847 /* confdefs.h. */
24848 _ACEOF
24849 cat confdefs.h >>conftest.$ac_ext
24850 cat >>conftest.$ac_ext <<_ACEOF
24851 /* end confdefs.h. */
24852
24853
24854
24855 #include <unordered_map>
24856 _ACEOF
24857 rm -f conftest.$ac_objext
24858 if { (ac_try="$ac_compile"
24859 case "(($ac_try" in
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24861 *) ac_try_echo=$ac_try;;
24862 esac
24863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24864 (eval "$ac_compile") 2>conftest.er1
24865 ac_status=$?
24866 grep -v '^ *+' conftest.er1 >conftest.err
24867 rm -f conftest.er1
24868 cat conftest.err >&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } && {
24871 test -z "$ac_cxx_werror_flag" ||
24872 test ! -s conftest.err
24873 } && test -s conftest.$ac_objext; then
24874 ac_cv_header_unordered_map=yes
24875 else
24876 echo "$as_me: failed program was:" >&5
24877 sed 's/^/| /' conftest.$ac_ext >&5
24878
24879 ac_cv_header_unordered_map=no
24880 fi
24881
24882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24883 fi
24884 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24885 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24886 if test $ac_cv_header_unordered_map = yes; then
24887 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24888 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24889 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24890 echo $ECHO_N "(cached) $ECHO_C" >&6
24891 else
24892 cat >conftest.$ac_ext <<_ACEOF
24893 /* confdefs.h. */
24894 _ACEOF
24895 cat confdefs.h >>conftest.$ac_ext
24896 cat >>conftest.$ac_ext <<_ACEOF
24897 /* end confdefs.h. */
24898 #include <unordered_map>
24899 #include <unordered_set>
24900 int
24901 main ()
24902 {
24903 std::unordered_map<double*, char*> test1;
24904 std::unordered_set<char*> test2;
24905 ;
24906 return 0;
24907 }
24908 _ACEOF
24909 rm -f conftest.$ac_objext
24910 if { (ac_try="$ac_compile"
24911 case "(($ac_try" in
24912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24913 *) ac_try_echo=$ac_try;;
24914 esac
24915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24916 (eval "$ac_compile") 2>conftest.er1
24917 ac_status=$?
24918 grep -v '^ *+' conftest.er1 >conftest.err
24919 rm -f conftest.er1
24920 cat conftest.err >&5
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); } && {
24923 test -z "$ac_cxx_werror_flag" ||
24924 test ! -s conftest.err
24925 } && test -s conftest.$ac_objext; then
24926 wx_cv_class_stdunorderedmapset=yes
24927 else
24928 echo "$as_me: failed program was:" >&5
24929 sed 's/^/| /' conftest.$ac_ext >&5
24930
24931 wx_cv_class_stdunorderedmapset=no
24932 fi
24933
24934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24935
24936
24937 fi
24938 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24939 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24940 fi
24941
24942
24943
24944 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24945 cat >>confdefs.h <<\_ACEOF
24946 #define HAVE_STD_UNORDERED_MAP 1
24947 _ACEOF
24948
24949 cat >>confdefs.h <<\_ACEOF
24950 #define HAVE_STD_UNORDERED_SET 1
24951 _ACEOF
24952
24953 else
24954 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24955 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24956 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24957 echo $ECHO_N "(cached) $ECHO_C" >&6
24958 else
24959 cat >conftest.$ac_ext <<_ACEOF
24960 /* confdefs.h. */
24961 _ACEOF
24962 cat confdefs.h >>conftest.$ac_ext
24963 cat >>conftest.$ac_ext <<_ACEOF
24964 /* end confdefs.h. */
24965
24966
24967
24968 #include <tr1/unordered_map>
24969 _ACEOF
24970 rm -f conftest.$ac_objext
24971 if { (ac_try="$ac_compile"
24972 case "(($ac_try" in
24973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24974 *) ac_try_echo=$ac_try;;
24975 esac
24976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24977 (eval "$ac_compile") 2>conftest.er1
24978 ac_status=$?
24979 grep -v '^ *+' conftest.er1 >conftest.err
24980 rm -f conftest.er1
24981 cat conftest.err >&5
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); } && {
24984 test -z "$ac_cxx_werror_flag" ||
24985 test ! -s conftest.err
24986 } && test -s conftest.$ac_objext; then
24987 ac_cv_header_tr1_unordered_map=yes
24988 else
24989 echo "$as_me: failed program was:" >&5
24990 sed 's/^/| /' conftest.$ac_ext >&5
24991
24992 ac_cv_header_tr1_unordered_map=no
24993 fi
24994
24995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24996 fi
24997 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24998 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24999 if test $ac_cv_header_tr1_unordered_map = yes; then
25000 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
25001 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
25002 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
25003 echo $ECHO_N "(cached) $ECHO_C" >&6
25004 else
25005 cat >conftest.$ac_ext <<_ACEOF
25006 /* confdefs.h. */
25007 _ACEOF
25008 cat confdefs.h >>conftest.$ac_ext
25009 cat >>conftest.$ac_ext <<_ACEOF
25010 /* end confdefs.h. */
25011 #include <tr1/unordered_map>
25012 #include <tr1/unordered_set>
25013 int
25014 main ()
25015 {
25016 std::tr1::unordered_map<double*, char*> test1;
25017 std::tr1::unordered_set<char*> test2;
25018 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25019 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25020 #endif
25021 ;
25022 return 0;
25023 }
25024 _ACEOF
25025 rm -f conftest.$ac_objext
25026 if { (ac_try="$ac_compile"
25027 case "(($ac_try" in
25028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25029 *) ac_try_echo=$ac_try;;
25030 esac
25031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25032 (eval "$ac_compile") 2>conftest.er1
25033 ac_status=$?
25034 grep -v '^ *+' conftest.er1 >conftest.err
25035 rm -f conftest.er1
25036 cat conftest.err >&5
25037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25038 (exit $ac_status); } && {
25039 test -z "$ac_cxx_werror_flag" ||
25040 test ! -s conftest.err
25041 } && test -s conftest.$ac_objext; then
25042 wx_cv_class_tr1unorderedmapset=yes
25043 else
25044 echo "$as_me: failed program was:" >&5
25045 sed 's/^/| /' conftest.$ac_ext >&5
25046
25047 wx_cv_class_tr1unorderedmapset=no
25048 fi
25049
25050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25051
25052
25053 fi
25054 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25055 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25056 fi
25057
25058
25059
25060 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25061 cat >>confdefs.h <<\_ACEOF
25062 #define HAVE_TR1_UNORDERED_MAP 1
25063 _ACEOF
25064
25065 cat >>confdefs.h <<\_ACEOF
25066 #define HAVE_TR1_UNORDERED_SET 1
25067 _ACEOF
25068
25069 else
25070 { echo "$as_me:$LINENO: checking for hash_map" >&5
25071 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25072 if test "${ac_cv_header_hash_map+set}" = set; then
25073 echo $ECHO_N "(cached) $ECHO_C" >&6
25074 else
25075 cat >conftest.$ac_ext <<_ACEOF
25076 /* confdefs.h. */
25077 _ACEOF
25078 cat confdefs.h >>conftest.$ac_ext
25079 cat >>conftest.$ac_ext <<_ACEOF
25080 /* end confdefs.h. */
25081
25082
25083
25084 #include <hash_map>
25085 _ACEOF
25086 rm -f conftest.$ac_objext
25087 if { (ac_try="$ac_compile"
25088 case "(($ac_try" in
25089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25090 *) ac_try_echo=$ac_try;;
25091 esac
25092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25093 (eval "$ac_compile") 2>conftest.er1
25094 ac_status=$?
25095 grep -v '^ *+' conftest.er1 >conftest.err
25096 rm -f conftest.er1
25097 cat conftest.err >&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); } && {
25100 test -z "$ac_cxx_werror_flag" ||
25101 test ! -s conftest.err
25102 } && test -s conftest.$ac_objext; then
25103 ac_cv_header_hash_map=yes
25104 else
25105 echo "$as_me: failed program was:" >&5
25106 sed 's/^/| /' conftest.$ac_ext >&5
25107
25108 ac_cv_header_hash_map=no
25109 fi
25110
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25112 fi
25113 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25114 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25115 if test $ac_cv_header_hash_map = yes; then
25116 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25117 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25118 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25119 echo $ECHO_N "(cached) $ECHO_C" >&6
25120 else
25121 cat >conftest.$ac_ext <<_ACEOF
25122 /* confdefs.h. */
25123 _ACEOF
25124 cat confdefs.h >>conftest.$ac_ext
25125 cat >>conftest.$ac_ext <<_ACEOF
25126 /* end confdefs.h. */
25127 #include <hash_map>
25128 #include <hash_set>
25129 int
25130 main ()
25131 {
25132 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25133 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25134 ;
25135 return 0;
25136 }
25137 _ACEOF
25138 rm -f conftest.$ac_objext
25139 if { (ac_try="$ac_compile"
25140 case "(($ac_try" in
25141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25142 *) ac_try_echo=$ac_try;;
25143 esac
25144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25145 (eval "$ac_compile") 2>conftest.er1
25146 ac_status=$?
25147 grep -v '^ *+' conftest.er1 >conftest.err
25148 rm -f conftest.er1
25149 cat conftest.err >&5
25150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151 (exit $ac_status); } && {
25152 test -z "$ac_cxx_werror_flag" ||
25153 test ! -s conftest.err
25154 } && test -s conftest.$ac_objext; then
25155 wx_cv_class_stdhashmapset=yes
25156 else
25157 echo "$as_me: failed program was:" >&5
25158 sed 's/^/| /' conftest.$ac_ext >&5
25159
25160 wx_cv_class_stdhashmapset=no
25161 fi
25162
25163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25164
25165
25166 fi
25167 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25168 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25169 fi
25170
25171
25172
25173 if test "$wx_cv_class_stdhashmapset" = yes; then
25174 cat >>confdefs.h <<\_ACEOF
25175 #define HAVE_HASH_MAP 1
25176 _ACEOF
25177
25178 cat >>confdefs.h <<\_ACEOF
25179 #define HAVE_STD_HASH_MAP 1
25180 _ACEOF
25181
25182 fi
25183
25184 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25185 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25186 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25187 echo $ECHO_N "(cached) $ECHO_C" >&6
25188 else
25189 cat >conftest.$ac_ext <<_ACEOF
25190 /* confdefs.h. */
25191 _ACEOF
25192 cat confdefs.h >>conftest.$ac_ext
25193 cat >>conftest.$ac_ext <<_ACEOF
25194 /* end confdefs.h. */
25195
25196
25197
25198 #include <ext/hash_map>
25199 _ACEOF
25200 rm -f conftest.$ac_objext
25201 if { (ac_try="$ac_compile"
25202 case "(($ac_try" in
25203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25204 *) ac_try_echo=$ac_try;;
25205 esac
25206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25207 (eval "$ac_compile") 2>conftest.er1
25208 ac_status=$?
25209 grep -v '^ *+' conftest.er1 >conftest.err
25210 rm -f conftest.er1
25211 cat conftest.err >&5
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); } && {
25214 test -z "$ac_cxx_werror_flag" ||
25215 test ! -s conftest.err
25216 } && test -s conftest.$ac_objext; then
25217 ac_cv_header_ext_hash_map=yes
25218 else
25219 echo "$as_me: failed program was:" >&5
25220 sed 's/^/| /' conftest.$ac_ext >&5
25221
25222 ac_cv_header_ext_hash_map=no
25223 fi
25224
25225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25226 fi
25227 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25228 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25229 if test $ac_cv_header_ext_hash_map = yes; then
25230 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25231 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25232 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25233 echo $ECHO_N "(cached) $ECHO_C" >&6
25234 else
25235 cat >conftest.$ac_ext <<_ACEOF
25236 /* confdefs.h. */
25237 _ACEOF
25238 cat confdefs.h >>conftest.$ac_ext
25239 cat >>conftest.$ac_ext <<_ACEOF
25240 /* end confdefs.h. */
25241 #include <ext/hash_map>
25242 #include <ext/hash_set>
25243 int
25244 main ()
25245 {
25246 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25247 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25248 ;
25249 return 0;
25250 }
25251 _ACEOF
25252 rm -f conftest.$ac_objext
25253 if { (ac_try="$ac_compile"
25254 case "(($ac_try" in
25255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25256 *) ac_try_echo=$ac_try;;
25257 esac
25258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25259 (eval "$ac_compile") 2>conftest.er1
25260 ac_status=$?
25261 grep -v '^ *+' conftest.er1 >conftest.err
25262 rm -f conftest.er1
25263 cat conftest.err >&5
25264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25265 (exit $ac_status); } && {
25266 test -z "$ac_cxx_werror_flag" ||
25267 test ! -s conftest.err
25268 } && test -s conftest.$ac_objext; then
25269 wx_cv_class_gnuhashmapset=yes
25270 else
25271 echo "$as_me: failed program was:" >&5
25272 sed 's/^/| /' conftest.$ac_ext >&5
25273
25274 wx_cv_class_gnuhashmapset=no
25275 fi
25276
25277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25278
25279
25280 fi
25281 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25282 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25283 fi
25284
25285
25286
25287 fi
25288 fi
25289 fi
25290
25291
25292
25293 if test -n "$GCC"; then
25294 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25295 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25296 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25297 echo $ECHO_N "(cached) $ECHO_C" >&6
25298 else
25299
25300 cat >conftest.$ac_ext <<_ACEOF
25301 /* confdefs.h. */
25302 _ACEOF
25303 cat confdefs.h >>conftest.$ac_ext
25304 cat >>conftest.$ac_ext <<_ACEOF
25305 /* end confdefs.h. */
25306
25307 int
25308 main ()
25309 {
25310
25311 unsigned int value=0;
25312 /* wxAtomicInc doesn't use return value here */
25313 __sync_fetch_and_add(&value, 2);
25314 __sync_sub_and_fetch(&value, 1);
25315 /* but wxAtomicDec does, so mimic that: */
25316 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25317
25318 ;
25319 return 0;
25320 }
25321 _ACEOF
25322 rm -f conftest.$ac_objext conftest$ac_exeext
25323 if { (ac_try="$ac_link"
25324 case "(($ac_try" in
25325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25326 *) ac_try_echo=$ac_try;;
25327 esac
25328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25329 (eval "$ac_link") 2>conftest.er1
25330 ac_status=$?
25331 grep -v '^ *+' conftest.er1 >conftest.err
25332 rm -f conftest.er1
25333 cat conftest.err >&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); } && {
25336 test -z "$ac_cxx_werror_flag" ||
25337 test ! -s conftest.err
25338 } && test -s conftest$ac_exeext &&
25339 $as_test_x conftest$ac_exeext; then
25340 wx_cv_cc_gcc_atomic_builtins=yes
25341 else
25342 echo "$as_me: failed program was:" >&5
25343 sed 's/^/| /' conftest.$ac_ext >&5
25344
25345 wx_cv_cc_gcc_atomic_builtins=no
25346 fi
25347
25348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25349 conftest$ac_exeext conftest.$ac_ext
25350
25351 fi
25352
25353 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25354 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25355 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25356 cat >>confdefs.h <<\_ACEOF
25357 #define HAVE_GCC_ATOMIC_BUILTINS 1
25358 _ACEOF
25359
25360 fi
25361 fi
25362
25363
25364 ac_ext=c
25365 ac_cpp='$CPP $CPPFLAGS'
25366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25369
25370
25371
25372 SEARCH_INCLUDE="\
25373 /usr/local/include \
25374 /usr/local/X11/include \
25375 /usr/local/include/X11 \
25376 /usr/local/X11R6/include \
25377 /usr/local/include/X11R6 \
25378 \
25379 /usr/Motif-2.1/include \
25380 /usr/Motif-1.2/include \
25381 /usr/include/Motif1.2 \
25382 \
25383 /usr/dt/include \
25384 /usr/openwin/include \
25385 \
25386 /usr/include/Xm \
25387 \
25388 /usr/X11R6/include \
25389 /usr/X11R6.4/include \
25390 \
25391 /usr/include/X11R6 \
25392 \
25393 /usr/X11/include \
25394 /usr/include/X11 \
25395 \
25396 /usr/XFree86/include/X11 \
25397 /usr/pkg/include \
25398 \
25399 /usr/local/X1R5/include \
25400 /usr/local/include/X11R5 \
25401 /usr/X11R5/include \
25402 /usr/include/X11R5 \
25403 \
25404 /usr/local/X11R4/include \
25405 /usr/local/include/X11R4 \
25406 /usr/X11R4/include \
25407 /usr/include/X11R4 \
25408 \
25409 /usr/openwin/share/include"
25410
25411 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25412 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25413
25414 case "${host}" in
25415 *-*-irix6* )
25416 if test "${wx_cv_std_libpath+set}" = set; then
25417 echo $ECHO_N "(cached) $ECHO_C" >&6
25418 else
25419
25420 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25421 for e in a so sl dylib dll.a; do
25422 libc="$d/libc.$e"
25423 if test -f $libc; then
25424 save_LIBS="$LIBS"
25425 LIBS="$libc"
25426 cat >conftest.$ac_ext <<_ACEOF
25427 int main() { return 0; }
25428 _ACEOF
25429 rm -f conftest.$ac_objext conftest$ac_exeext
25430 if { (ac_try="$ac_link"
25431 case "(($ac_try" in
25432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25433 *) ac_try_echo=$ac_try;;
25434 esac
25435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25436 (eval "$ac_link") 2>conftest.er1
25437 ac_status=$?
25438 grep -v '^ *+' conftest.er1 >conftest.err
25439 rm -f conftest.er1
25440 cat conftest.err >&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); } && {
25443 test -z "$ac_c_werror_flag" ||
25444 test ! -s conftest.err
25445 } && test -s conftest$ac_exeext &&
25446 $as_test_x conftest$ac_exeext; then
25447 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25448 else
25449 echo "$as_me: failed program was:" >&5
25450 sed 's/^/| /' conftest.$ac_ext >&5
25451
25452
25453 fi
25454
25455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25456 conftest$ac_exeext conftest.$ac_ext
25457 LIBS="$save_LIBS"
25458 if test "x$wx_cv_std_libpath" != "x"; then
25459 break 2
25460 fi
25461 fi
25462 done
25463 done
25464 if test "x$wx_cv_std_libpath" = "x"; then
25465 wx_cv_std_libpath="lib"
25466 fi
25467
25468
25469 fi
25470
25471 ;;
25472
25473 *-*-solaris2* )
25474 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25475 wx_cv_std_libpath="lib/64"
25476 else
25477 wx_cv_std_libpath="lib"
25478 fi
25479 ;;
25480
25481 *-*-linux* )
25482 if test "$ac_cv_sizeof_void_p" = 8 -a \
25483 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25484 wx_cv_std_libpath="lib64"
25485 else
25486 wx_cv_std_libpath="lib"
25487 fi
25488 ;;
25489
25490 *)
25491 wx_cv_std_libpath="lib";
25492 ;;
25493 esac
25494
25495 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25496 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25497
25498 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25499
25500 if test "$build" != "$host" -a "$GCC" = yes; then
25501 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25502 cross_root=`dirname $cross_root`
25503 cross_root=`dirname $cross_root`
25504
25505 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25506 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25507 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25508
25509 if test -z "$PKG_CONFIG_PATH"; then
25510 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25511 export PKG_CONFIG_PATH
25512 fi
25513
25514 if test -z "$x_includes" -o "$x_includes" = NONE; then
25515
25516 ac_find_includes=
25517 for ac_dir in $SEARCH_INCLUDE /usr/include;
25518 do
25519 if test -f "$ac_dir/X11/Intrinsic.h"; then
25520 ac_find_includes=$ac_dir
25521 break
25522 fi
25523 done
25524
25525 x_includes=$ac_find_includes
25526 fi
25527 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25528
25529 ac_find_libraries=
25530 for ac_dir in $SEARCH_LIB;
25531 do
25532 for ac_extension in a so sl dylib dll.a; do
25533 if test -f "$ac_dir/libXt.$ac_extension"; then
25534 ac_find_libraries=$ac_dir
25535 break 2
25536 fi
25537 done
25538 done
25539
25540 x_libraries=$ac_find_libraries
25541 fi
25542 fi
25543 fi
25544
25545
25546 cat >confcache <<\_ACEOF
25547 # This file is a shell script that caches the results of configure
25548 # tests run on this system so they can be shared between configure
25549 # scripts and configure runs, see configure's option --config-cache.
25550 # It is not useful on other systems. If it contains results you don't
25551 # want to keep, you may remove or edit it.
25552 #
25553 # config.status only pays attention to the cache file if you give it
25554 # the --recheck option to rerun configure.
25555 #
25556 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25557 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25558 # following values.
25559
25560 _ACEOF
25561
25562 # The following way of writing the cache mishandles newlines in values,
25563 # but we know of no workaround that is simple, portable, and efficient.
25564 # So, we kill variables containing newlines.
25565 # Ultrix sh set writes to stderr and can't be redirected directly,
25566 # and sets the high bit in the cache file unless we assign to the vars.
25567 (
25568 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25569 eval ac_val=\$$ac_var
25570 case $ac_val in #(
25571 *${as_nl}*)
25572 case $ac_var in #(
25573 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25574 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25575 esac
25576 case $ac_var in #(
25577 _ | IFS | as_nl) ;; #(
25578 *) $as_unset $ac_var ;;
25579 esac ;;
25580 esac
25581 done
25582
25583 (set) 2>&1 |
25584 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25585 *${as_nl}ac_space=\ *)
25586 # `set' does not quote correctly, so add quotes (double-quote
25587 # substitution turns \\\\ into \\, and sed turns \\ into \).
25588 sed -n \
25589 "s/'/'\\\\''/g;
25590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25591 ;; #(
25592 *)
25593 # `set' quotes correctly as required by POSIX, so do not add quotes.
25594 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25595 ;;
25596 esac |
25597 sort
25598 ) |
25599 sed '
25600 /^ac_cv_env_/b end
25601 t clear
25602 :clear
25603 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25604 t end
25605 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25606 :end' >>confcache
25607 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25608 if test -w "$cache_file"; then
25609 test "x$cache_file" != "x/dev/null" &&
25610 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25611 echo "$as_me: updating cache $cache_file" >&6;}
25612 cat confcache >$cache_file
25613 else
25614 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25615 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25616 fi
25617 fi
25618 rm -f confcache
25619
25620 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25621 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25622 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25623 if test "${wx_cv_lib_glibc21+set}" = set; then
25624 echo $ECHO_N "(cached) $ECHO_C" >&6
25625 else
25626
25627 cat >conftest.$ac_ext <<_ACEOF
25628 /* confdefs.h. */
25629 _ACEOF
25630 cat confdefs.h >>conftest.$ac_ext
25631 cat >>conftest.$ac_ext <<_ACEOF
25632 /* end confdefs.h. */
25633 #include <features.h>
25634 int
25635 main ()
25636 {
25637
25638 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25639 not glibc 2.1
25640 #endif
25641
25642 ;
25643 return 0;
25644 }
25645 _ACEOF
25646 rm -f conftest.$ac_objext
25647 if { (ac_try="$ac_compile"
25648 case "(($ac_try" in
25649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25650 *) ac_try_echo=$ac_try;;
25651 esac
25652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25653 (eval "$ac_compile") 2>conftest.er1
25654 ac_status=$?
25655 grep -v '^ *+' conftest.er1 >conftest.err
25656 rm -f conftest.er1
25657 cat conftest.err >&5
25658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25659 (exit $ac_status); } && {
25660 test -z "$ac_c_werror_flag" ||
25661 test ! -s conftest.err
25662 } && test -s conftest.$ac_objext; then
25663
25664 wx_cv_lib_glibc21=yes
25665
25666 else
25667 echo "$as_me: failed program was:" >&5
25668 sed 's/^/| /' conftest.$ac_ext >&5
25669
25670
25671 wx_cv_lib_glibc21=no
25672
25673
25674 fi
25675
25676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25677
25678 fi
25679 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25680 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25681 if test "$wx_cv_lib_glibc21" = "yes"; then
25682 cat >>confdefs.h <<\_ACEOF
25683 #define wxHAVE_GLIBC2 1
25684 _ACEOF
25685
25686 fi
25687 fi
25688
25689 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25690 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25691 cat >>confdefs.h <<\_ACEOF
25692 #define _GNU_SOURCE 1
25693 _ACEOF
25694
25695 fi
25696 fi
25697
25698 have_cos=0
25699 have_floor=0
25700
25701 for ac_func in cos
25702 do
25703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25704 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25706 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25707 echo $ECHO_N "(cached) $ECHO_C" >&6
25708 else
25709 cat >conftest.$ac_ext <<_ACEOF
25710 /* confdefs.h. */
25711 _ACEOF
25712 cat confdefs.h >>conftest.$ac_ext
25713 cat >>conftest.$ac_ext <<_ACEOF
25714 /* end confdefs.h. */
25715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25717 #define $ac_func innocuous_$ac_func
25718
25719 /* System header to define __stub macros and hopefully few prototypes,
25720 which can conflict with char $ac_func (); below.
25721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25722 <limits.h> exists even on freestanding compilers. */
25723
25724 #ifdef __STDC__
25725 # include <limits.h>
25726 #else
25727 # include <assert.h>
25728 #endif
25729
25730 #undef $ac_func
25731
25732 /* Override any GCC internal prototype to avoid an error.
25733 Use char because int might match the return type of a GCC
25734 builtin and then its argument prototype would still apply. */
25735 #ifdef __cplusplus
25736 extern "C"
25737 #endif
25738 char $ac_func ();
25739 /* The GNU C library defines this for functions which it implements
25740 to always fail with ENOSYS. Some functions are actually named
25741 something starting with __ and the normal name is an alias. */
25742 #if defined __stub_$ac_func || defined __stub___$ac_func
25743 choke me
25744 #endif
25745
25746 int
25747 main ()
25748 {
25749 return $ac_func ();
25750 ;
25751 return 0;
25752 }
25753 _ACEOF
25754 rm -f conftest.$ac_objext conftest$ac_exeext
25755 if { (ac_try="$ac_link"
25756 case "(($ac_try" in
25757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25758 *) ac_try_echo=$ac_try;;
25759 esac
25760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25761 (eval "$ac_link") 2>conftest.er1
25762 ac_status=$?
25763 grep -v '^ *+' conftest.er1 >conftest.err
25764 rm -f conftest.er1
25765 cat conftest.err >&5
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); } && {
25768 test -z "$ac_c_werror_flag" ||
25769 test ! -s conftest.err
25770 } && test -s conftest$ac_exeext &&
25771 $as_test_x conftest$ac_exeext; then
25772 eval "$as_ac_var=yes"
25773 else
25774 echo "$as_me: failed program was:" >&5
25775 sed 's/^/| /' conftest.$ac_ext >&5
25776
25777 eval "$as_ac_var=no"
25778 fi
25779
25780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25781 conftest$ac_exeext conftest.$ac_ext
25782 fi
25783 ac_res=`eval echo '${'$as_ac_var'}'`
25784 { echo "$as_me:$LINENO: result: $ac_res" >&5
25785 echo "${ECHO_T}$ac_res" >&6; }
25786 if test `eval echo '${'$as_ac_var'}'` = yes; then
25787 cat >>confdefs.h <<_ACEOF
25788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25789 _ACEOF
25790 have_cos=1
25791 fi
25792 done
25793
25794
25795 for ac_func in floor
25796 do
25797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25798 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25800 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25801 echo $ECHO_N "(cached) $ECHO_C" >&6
25802 else
25803 cat >conftest.$ac_ext <<_ACEOF
25804 /* confdefs.h. */
25805 _ACEOF
25806 cat confdefs.h >>conftest.$ac_ext
25807 cat >>conftest.$ac_ext <<_ACEOF
25808 /* end confdefs.h. */
25809 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25810 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25811 #define $ac_func innocuous_$ac_func
25812
25813 /* System header to define __stub macros and hopefully few prototypes,
25814 which can conflict with char $ac_func (); below.
25815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25816 <limits.h> exists even on freestanding compilers. */
25817
25818 #ifdef __STDC__
25819 # include <limits.h>
25820 #else
25821 # include <assert.h>
25822 #endif
25823
25824 #undef $ac_func
25825
25826 /* Override any GCC internal prototype to avoid an error.
25827 Use char because int might match the return type of a GCC
25828 builtin and then its argument prototype would still apply. */
25829 #ifdef __cplusplus
25830 extern "C"
25831 #endif
25832 char $ac_func ();
25833 /* The GNU C library defines this for functions which it implements
25834 to always fail with ENOSYS. Some functions are actually named
25835 something starting with __ and the normal name is an alias. */
25836 #if defined __stub_$ac_func || defined __stub___$ac_func
25837 choke me
25838 #endif
25839
25840 int
25841 main ()
25842 {
25843 return $ac_func ();
25844 ;
25845 return 0;
25846 }
25847 _ACEOF
25848 rm -f conftest.$ac_objext conftest$ac_exeext
25849 if { (ac_try="$ac_link"
25850 case "(($ac_try" in
25851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25852 *) ac_try_echo=$ac_try;;
25853 esac
25854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25855 (eval "$ac_link") 2>conftest.er1
25856 ac_status=$?
25857 grep -v '^ *+' conftest.er1 >conftest.err
25858 rm -f conftest.er1
25859 cat conftest.err >&5
25860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25861 (exit $ac_status); } && {
25862 test -z "$ac_c_werror_flag" ||
25863 test ! -s conftest.err
25864 } && test -s conftest$ac_exeext &&
25865 $as_test_x conftest$ac_exeext; then
25866 eval "$as_ac_var=yes"
25867 else
25868 echo "$as_me: failed program was:" >&5
25869 sed 's/^/| /' conftest.$ac_ext >&5
25870
25871 eval "$as_ac_var=no"
25872 fi
25873
25874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25875 conftest$ac_exeext conftest.$ac_ext
25876 fi
25877 ac_res=`eval echo '${'$as_ac_var'}'`
25878 { echo "$as_me:$LINENO: result: $ac_res" >&5
25879 echo "${ECHO_T}$ac_res" >&6; }
25880 if test `eval echo '${'$as_ac_var'}'` = yes; then
25881 cat >>confdefs.h <<_ACEOF
25882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25883 _ACEOF
25884 have_floor=1
25885 fi
25886 done
25887
25888 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25889 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25890 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25891 { echo "$as_me:$LINENO: result: yes" >&5
25892 echo "${ECHO_T}yes" >&6; }
25893 else
25894 { echo "$as_me:$LINENO: result: no" >&5
25895 echo "${ECHO_T}no" >&6; }
25896 LIBS="$LIBS -lm"
25897 # use different functions to avoid configure caching
25898 have_sin=0
25899 have_ceil=0
25900
25901 for ac_func in sin
25902 do
25903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25904 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25906 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25907 echo $ECHO_N "(cached) $ECHO_C" >&6
25908 else
25909 cat >conftest.$ac_ext <<_ACEOF
25910 /* confdefs.h. */
25911 _ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25917 #define $ac_func innocuous_$ac_func
25918
25919 /* System header to define __stub macros and hopefully few prototypes,
25920 which can conflict with char $ac_func (); below.
25921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25922 <limits.h> exists even on freestanding compilers. */
25923
25924 #ifdef __STDC__
25925 # include <limits.h>
25926 #else
25927 # include <assert.h>
25928 #endif
25929
25930 #undef $ac_func
25931
25932 /* Override any GCC internal prototype to avoid an error.
25933 Use char because int might match the return type of a GCC
25934 builtin and then its argument prototype would still apply. */
25935 #ifdef __cplusplus
25936 extern "C"
25937 #endif
25938 char $ac_func ();
25939 /* The GNU C library defines this for functions which it implements
25940 to always fail with ENOSYS. Some functions are actually named
25941 something starting with __ and the normal name is an alias. */
25942 #if defined __stub_$ac_func || defined __stub___$ac_func
25943 choke me
25944 #endif
25945
25946 int
25947 main ()
25948 {
25949 return $ac_func ();
25950 ;
25951 return 0;
25952 }
25953 _ACEOF
25954 rm -f conftest.$ac_objext conftest$ac_exeext
25955 if { (ac_try="$ac_link"
25956 case "(($ac_try" in
25957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25958 *) ac_try_echo=$ac_try;;
25959 esac
25960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25961 (eval "$ac_link") 2>conftest.er1
25962 ac_status=$?
25963 grep -v '^ *+' conftest.er1 >conftest.err
25964 rm -f conftest.er1
25965 cat conftest.err >&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); } && {
25968 test -z "$ac_c_werror_flag" ||
25969 test ! -s conftest.err
25970 } && test -s conftest$ac_exeext &&
25971 $as_test_x conftest$ac_exeext; then
25972 eval "$as_ac_var=yes"
25973 else
25974 echo "$as_me: failed program was:" >&5
25975 sed 's/^/| /' conftest.$ac_ext >&5
25976
25977 eval "$as_ac_var=no"
25978 fi
25979
25980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25981 conftest$ac_exeext conftest.$ac_ext
25982 fi
25983 ac_res=`eval echo '${'$as_ac_var'}'`
25984 { echo "$as_me:$LINENO: result: $ac_res" >&5
25985 echo "${ECHO_T}$ac_res" >&6; }
25986 if test `eval echo '${'$as_ac_var'}'` = yes; then
25987 cat >>confdefs.h <<_ACEOF
25988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25989 _ACEOF
25990 have_sin=1
25991 fi
25992 done
25993
25994
25995 for ac_func in ceil
25996 do
25997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26000 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26002 else
26003 cat >conftest.$ac_ext <<_ACEOF
26004 /* confdefs.h. */
26005 _ACEOF
26006 cat confdefs.h >>conftest.$ac_ext
26007 cat >>conftest.$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26011 #define $ac_func innocuous_$ac_func
26012
26013 /* System header to define __stub macros and hopefully few prototypes,
26014 which can conflict with char $ac_func (); below.
26015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26016 <limits.h> exists even on freestanding compilers. */
26017
26018 #ifdef __STDC__
26019 # include <limits.h>
26020 #else
26021 # include <assert.h>
26022 #endif
26023
26024 #undef $ac_func
26025
26026 /* Override any GCC internal prototype to avoid an error.
26027 Use char because int might match the return type of a GCC
26028 builtin and then its argument prototype would still apply. */
26029 #ifdef __cplusplus
26030 extern "C"
26031 #endif
26032 char $ac_func ();
26033 /* The GNU C library defines this for functions which it implements
26034 to always fail with ENOSYS. Some functions are actually named
26035 something starting with __ and the normal name is an alias. */
26036 #if defined __stub_$ac_func || defined __stub___$ac_func
26037 choke me
26038 #endif
26039
26040 int
26041 main ()
26042 {
26043 return $ac_func ();
26044 ;
26045 return 0;
26046 }
26047 _ACEOF
26048 rm -f conftest.$ac_objext conftest$ac_exeext
26049 if { (ac_try="$ac_link"
26050 case "(($ac_try" in
26051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26052 *) ac_try_echo=$ac_try;;
26053 esac
26054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26055 (eval "$ac_link") 2>conftest.er1
26056 ac_status=$?
26057 grep -v '^ *+' conftest.er1 >conftest.err
26058 rm -f conftest.er1
26059 cat conftest.err >&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); } && {
26062 test -z "$ac_c_werror_flag" ||
26063 test ! -s conftest.err
26064 } && test -s conftest$ac_exeext &&
26065 $as_test_x conftest$ac_exeext; then
26066 eval "$as_ac_var=yes"
26067 else
26068 echo "$as_me: failed program was:" >&5
26069 sed 's/^/| /' conftest.$ac_ext >&5
26070
26071 eval "$as_ac_var=no"
26072 fi
26073
26074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26075 conftest$ac_exeext conftest.$ac_ext
26076 fi
26077 ac_res=`eval echo '${'$as_ac_var'}'`
26078 { echo "$as_me:$LINENO: result: $ac_res" >&5
26079 echo "${ECHO_T}$ac_res" >&6; }
26080 if test `eval echo '${'$as_ac_var'}'` = yes; then
26081 cat >>confdefs.h <<_ACEOF
26082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26083 _ACEOF
26084 have_ceil=1
26085 fi
26086 done
26087
26088 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26089 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26090 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26091 { echo "$as_me:$LINENO: result: yes" >&5
26092 echo "${ECHO_T}yes" >&6; }
26093 else
26094 { echo "$as_me:$LINENO: result: no" >&5
26095 echo "${ECHO_T}no" >&6; }
26096 # not sure we should warn the user, crash, etc.
26097 fi
26098 fi
26099
26100 ac_ext=cpp
26101 ac_cpp='$CXXCPP $CPPFLAGS'
26102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26105
26106 if test "wxUSE_UNICODE" = "yes"; then
26107
26108 for wx_func in wcstoull
26109 do
26110 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26111 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26112 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26113 echo $ECHO_N "(cached) $ECHO_C" >&6
26114 else
26115
26116 cat >conftest.$ac_ext <<_ACEOF
26117
26118 /* confdefs.h. */
26119 _ACEOF
26120 cat confdefs.h >>conftest.$ac_ext
26121 cat >>conftest.$ac_ext <<_ACEOF
26122 /* end confdefs.h. */
26123
26124
26125 $ac_includes_default
26126
26127 int
26128 main ()
26129 {
26130
26131 #ifndef $wx_func
26132 &$wx_func;
26133 #endif
26134
26135
26136 ;
26137 return 0;
26138 }
26139
26140 _ACEOF
26141 rm -f conftest.$ac_objext conftest$ac_exeext
26142 if { (ac_try="$ac_link"
26143 case "(($ac_try" in
26144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26145 *) ac_try_echo=$ac_try;;
26146 esac
26147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26148 (eval "$ac_link") 2>conftest.er1
26149 ac_status=$?
26150 grep -v '^ *+' conftest.er1 >conftest.err
26151 rm -f conftest.er1
26152 cat conftest.err >&5
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); } && {
26155 test -z "$ac_cxx_werror_flag" ||
26156 test ! -s conftest.err
26157 } && test -s conftest$ac_exeext &&
26158 $as_test_x conftest$ac_exeext; then
26159 eval wx_cv_func_$wx_func=yes
26160 else
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.$ac_ext >&5
26163
26164 eval wx_cv_func_$wx_func=no
26165 fi
26166
26167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26168 conftest$ac_exeext conftest.$ac_ext
26169
26170 fi
26171 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26172 { echo "$as_me:$LINENO: result: $ac_res" >&5
26173 echo "${ECHO_T}$ac_res" >&6; }
26174
26175 if eval test \$wx_cv_func_$wx_func = yes
26176 then
26177 cat >>confdefs.h <<_ACEOF
26178 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26179 _ACEOF
26180
26181
26182 else
26183 :
26184
26185 fi
26186 done
26187
26188 else
26189
26190 for wx_func in strtoull
26191 do
26192 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26193 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26194 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26195 echo $ECHO_N "(cached) $ECHO_C" >&6
26196 else
26197
26198 cat >conftest.$ac_ext <<_ACEOF
26199
26200 /* confdefs.h. */
26201 _ACEOF
26202 cat confdefs.h >>conftest.$ac_ext
26203 cat >>conftest.$ac_ext <<_ACEOF
26204 /* end confdefs.h. */
26205
26206
26207 $ac_includes_default
26208
26209 int
26210 main ()
26211 {
26212
26213 #ifndef $wx_func
26214 &$wx_func;
26215 #endif
26216
26217
26218 ;
26219 return 0;
26220 }
26221
26222 _ACEOF
26223 rm -f conftest.$ac_objext conftest$ac_exeext
26224 if { (ac_try="$ac_link"
26225 case "(($ac_try" in
26226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26227 *) ac_try_echo=$ac_try;;
26228 esac
26229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26230 (eval "$ac_link") 2>conftest.er1
26231 ac_status=$?
26232 grep -v '^ *+' conftest.er1 >conftest.err
26233 rm -f conftest.er1
26234 cat conftest.err >&5
26235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26236 (exit $ac_status); } && {
26237 test -z "$ac_cxx_werror_flag" ||
26238 test ! -s conftest.err
26239 } && test -s conftest$ac_exeext &&
26240 $as_test_x conftest$ac_exeext; then
26241 eval wx_cv_func_$wx_func=yes
26242 else
26243 echo "$as_me: failed program was:" >&5
26244 sed 's/^/| /' conftest.$ac_ext >&5
26245
26246 eval wx_cv_func_$wx_func=no
26247 fi
26248
26249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26250 conftest$ac_exeext conftest.$ac_ext
26251
26252 fi
26253 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26254 { echo "$as_me:$LINENO: result: $ac_res" >&5
26255 echo "${ECHO_T}$ac_res" >&6; }
26256
26257 if eval test \$wx_cv_func_$wx_func = yes
26258 then
26259 cat >>confdefs.h <<_ACEOF
26260 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26261 _ACEOF
26262
26263
26264 else
26265 :
26266
26267 fi
26268 done
26269
26270 fi
26271 ac_ext=c
26272 ac_cpp='$CPP $CPPFLAGS'
26273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26276
26277
26278
26279
26280 if test "$wxUSE_REGEX" != "no"; then
26281 cat >>confdefs.h <<\_ACEOF
26282 #define wxUSE_REGEX 1
26283 _ACEOF
26284
26285
26286 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26287 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26288 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26289 wxUSE_REGEX=builtin
26290 fi
26291
26292 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26293 { echo "$as_me:$LINENO: checking for regex.h" >&5
26294 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26295 if test "${ac_cv_header_regex_h+set}" = set; then
26296 echo $ECHO_N "(cached) $ECHO_C" >&6
26297 else
26298 cat >conftest.$ac_ext <<_ACEOF
26299 /* confdefs.h. */
26300 _ACEOF
26301 cat confdefs.h >>conftest.$ac_ext
26302 cat >>conftest.$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304
26305
26306 #include <regex.h>
26307 _ACEOF
26308 rm -f conftest.$ac_objext
26309 if { (ac_try="$ac_compile"
26310 case "(($ac_try" in
26311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26312 *) ac_try_echo=$ac_try;;
26313 esac
26314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26315 (eval "$ac_compile") 2>conftest.er1
26316 ac_status=$?
26317 grep -v '^ *+' conftest.er1 >conftest.err
26318 rm -f conftest.er1
26319 cat conftest.err >&5
26320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26321 (exit $ac_status); } && {
26322 test -z "$ac_c_werror_flag" ||
26323 test ! -s conftest.err
26324 } && test -s conftest.$ac_objext; then
26325 ac_cv_header_regex_h=yes
26326 else
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26329
26330 ac_cv_header_regex_h=no
26331 fi
26332
26333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26334 fi
26335 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26336 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26337 if test $ac_cv_header_regex_h = yes; then
26338
26339
26340 for ac_func in regcomp re_search
26341 do
26342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26343 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26345 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26346 echo $ECHO_N "(cached) $ECHO_C" >&6
26347 else
26348 cat >conftest.$ac_ext <<_ACEOF
26349 /* confdefs.h. */
26350 _ACEOF
26351 cat confdefs.h >>conftest.$ac_ext
26352 cat >>conftest.$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26356 #define $ac_func innocuous_$ac_func
26357
26358 /* System header to define __stub macros and hopefully few prototypes,
26359 which can conflict with char $ac_func (); below.
26360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26361 <limits.h> exists even on freestanding compilers. */
26362
26363 #ifdef __STDC__
26364 # include <limits.h>
26365 #else
26366 # include <assert.h>
26367 #endif
26368
26369 #undef $ac_func
26370
26371 /* Override any GCC internal prototype to avoid an error.
26372 Use char because int might match the return type of a GCC
26373 builtin and then its argument prototype would still apply. */
26374 #ifdef __cplusplus
26375 extern "C"
26376 #endif
26377 char $ac_func ();
26378 /* The GNU C library defines this for functions which it implements
26379 to always fail with ENOSYS. Some functions are actually named
26380 something starting with __ and the normal name is an alias. */
26381 #if defined __stub_$ac_func || defined __stub___$ac_func
26382 choke me
26383 #endif
26384
26385 int
26386 main ()
26387 {
26388 return $ac_func ();
26389 ;
26390 return 0;
26391 }
26392 _ACEOF
26393 rm -f conftest.$ac_objext conftest$ac_exeext
26394 if { (ac_try="$ac_link"
26395 case "(($ac_try" in
26396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26397 *) ac_try_echo=$ac_try;;
26398 esac
26399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26400 (eval "$ac_link") 2>conftest.er1
26401 ac_status=$?
26402 grep -v '^ *+' conftest.er1 >conftest.err
26403 rm -f conftest.er1
26404 cat conftest.err >&5
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); } && {
26407 test -z "$ac_c_werror_flag" ||
26408 test ! -s conftest.err
26409 } && test -s conftest$ac_exeext &&
26410 $as_test_x conftest$ac_exeext; then
26411 eval "$as_ac_var=yes"
26412 else
26413 echo "$as_me: failed program was:" >&5
26414 sed 's/^/| /' conftest.$ac_ext >&5
26415
26416 eval "$as_ac_var=no"
26417 fi
26418
26419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26420 conftest$ac_exeext conftest.$ac_ext
26421 fi
26422 ac_res=`eval echo '${'$as_ac_var'}'`
26423 { echo "$as_me:$LINENO: result: $ac_res" >&5
26424 echo "${ECHO_T}$ac_res" >&6; }
26425 if test `eval echo '${'$as_ac_var'}'` = yes; then
26426 cat >>confdefs.h <<_ACEOF
26427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26428 _ACEOF
26429
26430 fi
26431 done
26432
26433 fi
26434
26435
26436
26437 if test "x$ac_cv_func_regcomp" != "xyes"; then
26438 if test "$wxUSE_REGEX" = "sys" ; then
26439 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26440 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26441 { (exit 1); exit 1; }; }
26442 else
26443 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26444 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26445 wxUSE_REGEX=builtin
26446 fi
26447 else
26448 wxUSE_REGEX=sys
26449 cat >>confdefs.h <<\_ACEOF
26450 #define WX_NO_REGEX_ADVANCED 1
26451 _ACEOF
26452
26453 fi
26454 fi
26455 fi
26456
26457
26458 ZLIB_LINK=
26459 if test "$wxUSE_ZLIB" != "no" ; then
26460 cat >>confdefs.h <<\_ACEOF
26461 #define wxUSE_ZLIB 1
26462 _ACEOF
26463
26464
26465 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26466 if test "$USE_DARWIN" = 1; then
26467 system_zlib_h_ok="yes"
26468 else
26469 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26470 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26471 if test "${ac_cv_header_zlib_h+set}" = set; then
26472 echo $ECHO_N "(cached) $ECHO_C" >&6
26473 else
26474 if test "$cross_compiling" = yes; then
26475 unset ac_cv_header_zlib_h
26476
26477 else
26478 cat >conftest.$ac_ext <<_ACEOF
26479 /* confdefs.h. */
26480 _ACEOF
26481 cat confdefs.h >>conftest.$ac_ext
26482 cat >>conftest.$ac_ext <<_ACEOF
26483 /* end confdefs.h. */
26484
26485 #include <zlib.h>
26486 #include <stdio.h>
26487
26488 int main()
26489 {
26490 FILE *f=fopen("conftestval", "w");
26491 if (!f) exit(1);
26492 fprintf(f, "%s",
26493 ZLIB_VERSION[0] == '1' &&
26494 (ZLIB_VERSION[2] > '1' ||
26495 (ZLIB_VERSION[2] == '1' &&
26496 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26497 exit(0);
26498 }
26499
26500 _ACEOF
26501 rm -f conftest$ac_exeext
26502 if { (ac_try="$ac_link"
26503 case "(($ac_try" in
26504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26505 *) ac_try_echo=$ac_try;;
26506 esac
26507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26508 (eval "$ac_link") 2>&5
26509 ac_status=$?
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26512 { (case "(($ac_try" in
26513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26514 *) ac_try_echo=$ac_try;;
26515 esac
26516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26517 (eval "$ac_try") 2>&5
26518 ac_status=$?
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); }; }; then
26521 ac_cv_header_zlib_h=`cat conftestval`
26522 else
26523 echo "$as_me: program exited with status $ac_status" >&5
26524 echo "$as_me: failed program was:" >&5
26525 sed 's/^/| /' conftest.$ac_ext >&5
26526
26527 ( exit $ac_status )
26528 ac_cv_header_zlib_h=no
26529 fi
26530 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26531 fi
26532
26533
26534
26535 fi
26536 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26537 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26538 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26539 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26540 if test "${ac_cv_header_zlib_h+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26542 else
26543 cat >conftest.$ac_ext <<_ACEOF
26544 /* confdefs.h. */
26545 _ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26549
26550
26551 #include <zlib.h>
26552 _ACEOF
26553 rm -f conftest.$ac_objext
26554 if { (ac_try="$ac_compile"
26555 case "(($ac_try" in
26556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26557 *) ac_try_echo=$ac_try;;
26558 esac
26559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26560 (eval "$ac_compile") 2>conftest.er1
26561 ac_status=$?
26562 grep -v '^ *+' conftest.er1 >conftest.err
26563 rm -f conftest.er1
26564 cat conftest.err >&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); } && {
26567 test -z "$ac_c_werror_flag" ||
26568 test ! -s conftest.err
26569 } && test -s conftest.$ac_objext; then
26570 ac_cv_header_zlib_h=yes
26571 else
26572 echo "$as_me: failed program was:" >&5
26573 sed 's/^/| /' conftest.$ac_ext >&5
26574
26575 ac_cv_header_zlib_h=no
26576 fi
26577
26578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26579 fi
26580 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26581 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26582
26583
26584
26585 system_zlib_h_ok=$ac_cv_header_zlib_h
26586 fi
26587
26588 if test "$system_zlib_h_ok" = "yes"; then
26589 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26590 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26591 if test "${ac_cv_lib_z_deflate+set}" = set; then
26592 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 else
26594 ac_check_lib_save_LIBS=$LIBS
26595 LIBS="-lz $LIBS"
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
26603 /* Override any GCC internal prototype to avoid an error.
26604 Use char because int might match the return type of a GCC
26605 builtin and then its argument prototype would still apply. */
26606 #ifdef __cplusplus
26607 extern "C"
26608 #endif
26609 char deflate ();
26610 int
26611 main ()
26612 {
26613 return deflate ();
26614 ;
26615 return 0;
26616 }
26617 _ACEOF
26618 rm -f conftest.$ac_objext conftest$ac_exeext
26619 if { (ac_try="$ac_link"
26620 case "(($ac_try" in
26621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26622 *) ac_try_echo=$ac_try;;
26623 esac
26624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26625 (eval "$ac_link") 2>conftest.er1
26626 ac_status=$?
26627 grep -v '^ *+' conftest.er1 >conftest.err
26628 rm -f conftest.er1
26629 cat conftest.err >&5
26630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26631 (exit $ac_status); } && {
26632 test -z "$ac_c_werror_flag" ||
26633 test ! -s conftest.err
26634 } && test -s conftest$ac_exeext &&
26635 $as_test_x conftest$ac_exeext; then
26636 ac_cv_lib_z_deflate=yes
26637 else
26638 echo "$as_me: failed program was:" >&5
26639 sed 's/^/| /' conftest.$ac_ext >&5
26640
26641 ac_cv_lib_z_deflate=no
26642 fi
26643
26644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26645 conftest$ac_exeext conftest.$ac_ext
26646 LIBS=$ac_check_lib_save_LIBS
26647 fi
26648 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26649 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26650 if test $ac_cv_lib_z_deflate = yes; then
26651 ZLIB_LINK=" -lz"
26652 fi
26653
26654 fi
26655
26656 if test "x$ZLIB_LINK" = "x" ; then
26657 if test "$wxUSE_ZLIB" = "sys" ; then
26658 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26659 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26660 { (exit 1); exit 1; }; }
26661 else
26662 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26663 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26664 wxUSE_ZLIB=builtin
26665 fi
26666 else
26667 wxUSE_ZLIB=sys
26668 fi
26669 fi
26670 fi
26671
26672
26673 PNG_LINK=
26674 if test "$wxUSE_LIBPNG" != "no" ; then
26675 cat >>confdefs.h <<\_ACEOF
26676 #define wxUSE_LIBPNG 1
26677 _ACEOF
26678
26679
26680 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26681 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26682 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26683 wxUSE_LIBPNG=sys
26684 fi
26685
26686 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26687 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26688 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26689 wxUSE_LIBPNG=builtin
26690 fi
26691
26692 if test "$wxUSE_MGL" != 1 ; then
26693 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26694 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26695 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26696 if test "${ac_cv_header_png_h+set}" = set; then
26697 echo $ECHO_N "(cached) $ECHO_C" >&6
26698 else
26699 if test "$cross_compiling" = yes; then
26700 unset ac_cv_header_png_h
26701
26702 else
26703 cat >conftest.$ac_ext <<_ACEOF
26704 /* confdefs.h. */
26705 _ACEOF
26706 cat confdefs.h >>conftest.$ac_ext
26707 cat >>conftest.$ac_ext <<_ACEOF
26708 /* end confdefs.h. */
26709
26710 #include <png.h>
26711 #include <stdio.h>
26712
26713 int main()
26714 {
26715 FILE *f=fopen("conftestval", "w");
26716 if (!f) exit(1);
26717 fprintf(f, "%s",
26718 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26719 exit(0);
26720 }
26721
26722 _ACEOF
26723 rm -f conftest$ac_exeext
26724 if { (ac_try="$ac_link"
26725 case "(($ac_try" in
26726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26727 *) ac_try_echo=$ac_try;;
26728 esac
26729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26730 (eval "$ac_link") 2>&5
26731 ac_status=$?
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26734 { (case "(($ac_try" in
26735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26736 *) ac_try_echo=$ac_try;;
26737 esac
26738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26739 (eval "$ac_try") 2>&5
26740 ac_status=$?
26741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742 (exit $ac_status); }; }; then
26743 ac_cv_header_png_h=`cat conftestval`
26744 else
26745 echo "$as_me: program exited with status $ac_status" >&5
26746 echo "$as_me: failed program was:" >&5
26747 sed 's/^/| /' conftest.$ac_ext >&5
26748
26749 ( exit $ac_status )
26750 ac_cv_header_png_h=no
26751 fi
26752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26753 fi
26754
26755
26756
26757 fi
26758 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26759 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26760 { echo "$as_me:$LINENO: checking for png.h" >&5
26761 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26762 if test "${ac_cv_header_png_h+set}" = set; then
26763 echo $ECHO_N "(cached) $ECHO_C" >&6
26764 else
26765 cat >conftest.$ac_ext <<_ACEOF
26766 /* confdefs.h. */
26767 _ACEOF
26768 cat confdefs.h >>conftest.$ac_ext
26769 cat >>conftest.$ac_ext <<_ACEOF
26770 /* end confdefs.h. */
26771
26772
26773 #include <png.h>
26774 _ACEOF
26775 rm -f conftest.$ac_objext
26776 if { (ac_try="$ac_compile"
26777 case "(($ac_try" in
26778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26779 *) ac_try_echo=$ac_try;;
26780 esac
26781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26782 (eval "$ac_compile") 2>conftest.er1
26783 ac_status=$?
26784 grep -v '^ *+' conftest.er1 >conftest.err
26785 rm -f conftest.er1
26786 cat conftest.err >&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); } && {
26789 test -z "$ac_c_werror_flag" ||
26790 test ! -s conftest.err
26791 } && test -s conftest.$ac_objext; then
26792 ac_cv_header_png_h=yes
26793 else
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.$ac_ext >&5
26796
26797 ac_cv_header_png_h=no
26798 fi
26799
26800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26801 fi
26802 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26803 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26804
26805
26806
26807 if test "$ac_cv_header_png_h" = "yes"; then
26808 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26809 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26810 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26811 echo $ECHO_N "(cached) $ECHO_C" >&6
26812 else
26813 ac_check_lib_save_LIBS=$LIBS
26814 LIBS="-lpng -lz -lm $LIBS"
26815 cat >conftest.$ac_ext <<_ACEOF
26816 /* confdefs.h. */
26817 _ACEOF
26818 cat confdefs.h >>conftest.$ac_ext
26819 cat >>conftest.$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26821
26822 /* Override any GCC internal prototype to avoid an error.
26823 Use char because int might match the return type of a GCC
26824 builtin and then its argument prototype would still apply. */
26825 #ifdef __cplusplus
26826 extern "C"
26827 #endif
26828 char png_check_sig ();
26829 int
26830 main ()
26831 {
26832 return png_check_sig ();
26833 ;
26834 return 0;
26835 }
26836 _ACEOF
26837 rm -f conftest.$ac_objext conftest$ac_exeext
26838 if { (ac_try="$ac_link"
26839 case "(($ac_try" in
26840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26841 *) ac_try_echo=$ac_try;;
26842 esac
26843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26844 (eval "$ac_link") 2>conftest.er1
26845 ac_status=$?
26846 grep -v '^ *+' conftest.er1 >conftest.err
26847 rm -f conftest.er1
26848 cat conftest.err >&5
26849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26850 (exit $ac_status); } && {
26851 test -z "$ac_c_werror_flag" ||
26852 test ! -s conftest.err
26853 } && test -s conftest$ac_exeext &&
26854 $as_test_x conftest$ac_exeext; then
26855 ac_cv_lib_png_png_check_sig=yes
26856 else
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.$ac_ext >&5
26859
26860 ac_cv_lib_png_png_check_sig=no
26861 fi
26862
26863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26864 conftest$ac_exeext conftest.$ac_ext
26865 LIBS=$ac_check_lib_save_LIBS
26866 fi
26867 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26868 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26869 if test $ac_cv_lib_png_png_check_sig = yes; then
26870 PNG_LINK=" -lpng -lz"
26871 fi
26872
26873 fi
26874
26875 if test "x$PNG_LINK" = "x" ; then
26876 if test "$wxUSE_LIBPNG" = "sys" ; then
26877 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26878 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26879 { (exit 1); exit 1; }; }
26880 else
26881 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26882 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26883 wxUSE_LIBPNG=builtin
26884 fi
26885 else
26886 wxUSE_LIBPNG=sys
26887 fi
26888 fi
26889 fi
26890 fi
26891
26892
26893 JPEG_LINK=
26894 if test "$wxUSE_LIBJPEG" != "no" ; then
26895 cat >>confdefs.h <<\_ACEOF
26896 #define wxUSE_LIBJPEG 1
26897 _ACEOF
26898
26899
26900 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26901 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26902 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26903 wxUSE_LIBJPEG=sys
26904 fi
26905
26906 if test "$wxUSE_MGL" != 1 ; then
26907 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26908 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26909 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26910 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26911 echo $ECHO_N "(cached) $ECHO_C" >&6
26912 else
26913 cat >conftest.$ac_ext <<_ACEOF
26914 /* confdefs.h. */
26915 _ACEOF
26916 cat confdefs.h >>conftest.$ac_ext
26917 cat >>conftest.$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26919
26920 #undef HAVE_STDLIB_H
26921 #include <stdio.h>
26922 #include <jpeglib.h>
26923
26924 int
26925 main ()
26926 {
26927
26928
26929 ;
26930 return 0;
26931 }
26932 _ACEOF
26933 rm -f conftest.$ac_objext
26934 if { (ac_try="$ac_compile"
26935 case "(($ac_try" in
26936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26937 *) ac_try_echo=$ac_try;;
26938 esac
26939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26940 (eval "$ac_compile") 2>conftest.er1
26941 ac_status=$?
26942 grep -v '^ *+' conftest.er1 >conftest.err
26943 rm -f conftest.er1
26944 cat conftest.err >&5
26945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26946 (exit $ac_status); } && {
26947 test -z "$ac_c_werror_flag" ||
26948 test ! -s conftest.err
26949 } && test -s conftest.$ac_objext; then
26950 ac_cv_header_jpeglib_h=yes
26951 else
26952 echo "$as_me: failed program was:" >&5
26953 sed 's/^/| /' conftest.$ac_ext >&5
26954
26955 ac_cv_header_jpeglib_h=no
26956
26957 fi
26958
26959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26960
26961 fi
26962
26963 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26964 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26965
26966 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26967 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26968 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26969 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26970 echo $ECHO_N "(cached) $ECHO_C" >&6
26971 else
26972 ac_check_lib_save_LIBS=$LIBS
26973 LIBS="-ljpeg $LIBS"
26974 cat >conftest.$ac_ext <<_ACEOF
26975 /* confdefs.h. */
26976 _ACEOF
26977 cat confdefs.h >>conftest.$ac_ext
26978 cat >>conftest.$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26980
26981 /* Override any GCC internal prototype to avoid an error.
26982 Use char because int might match the return type of a GCC
26983 builtin and then its argument prototype would still apply. */
26984 #ifdef __cplusplus
26985 extern "C"
26986 #endif
26987 char jpeg_read_header ();
26988 int
26989 main ()
26990 {
26991 return jpeg_read_header ();
26992 ;
26993 return 0;
26994 }
26995 _ACEOF
26996 rm -f conftest.$ac_objext conftest$ac_exeext
26997 if { (ac_try="$ac_link"
26998 case "(($ac_try" in
26999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27000 *) ac_try_echo=$ac_try;;
27001 esac
27002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27003 (eval "$ac_link") 2>conftest.er1
27004 ac_status=$?
27005 grep -v '^ *+' conftest.er1 >conftest.err
27006 rm -f conftest.er1
27007 cat conftest.err >&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); } && {
27010 test -z "$ac_c_werror_flag" ||
27011 test ! -s conftest.err
27012 } && test -s conftest$ac_exeext &&
27013 $as_test_x conftest$ac_exeext; then
27014 ac_cv_lib_jpeg_jpeg_read_header=yes
27015 else
27016 echo "$as_me: failed program was:" >&5
27017 sed 's/^/| /' conftest.$ac_ext >&5
27018
27019 ac_cv_lib_jpeg_jpeg_read_header=no
27020 fi
27021
27022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27023 conftest$ac_exeext conftest.$ac_ext
27024 LIBS=$ac_check_lib_save_LIBS
27025 fi
27026 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27027 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27028 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27029 JPEG_LINK=" -ljpeg"
27030 fi
27031
27032 fi
27033
27034 if test "x$JPEG_LINK" = "x" ; then
27035 if test "$wxUSE_LIBJPEG" = "sys" ; then
27036 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27037 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27038 { (exit 1); exit 1; }; }
27039 else
27040 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27041 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27042 wxUSE_LIBJPEG=builtin
27043 fi
27044 else
27045 wxUSE_LIBJPEG=sys
27046
27047 if test "$wxUSE_MSW" = 1; then
27048 { echo "$as_me:$LINENO: checking for boolean" >&5
27049 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27050 if test "${ac_cv_type_boolean+set}" = set; then
27051 echo $ECHO_N "(cached) $ECHO_C" >&6
27052 else
27053 cat >conftest.$ac_ext <<_ACEOF
27054 /* confdefs.h. */
27055 _ACEOF
27056 cat confdefs.h >>conftest.$ac_ext
27057 cat >>conftest.$ac_ext <<_ACEOF
27058 /* end confdefs.h. */
27059 #include <windows.h>
27060
27061 typedef boolean ac__type_new_;
27062 int
27063 main ()
27064 {
27065 if ((ac__type_new_ *) 0)
27066 return 0;
27067 if (sizeof (ac__type_new_))
27068 return 0;
27069 ;
27070 return 0;
27071 }
27072 _ACEOF
27073 rm -f conftest.$ac_objext
27074 if { (ac_try="$ac_compile"
27075 case "(($ac_try" in
27076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27077 *) ac_try_echo=$ac_try;;
27078 esac
27079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27080 (eval "$ac_compile") 2>conftest.er1
27081 ac_status=$?
27082 grep -v '^ *+' conftest.er1 >conftest.err
27083 rm -f conftest.er1
27084 cat conftest.err >&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); } && {
27087 test -z "$ac_c_werror_flag" ||
27088 test ! -s conftest.err
27089 } && test -s conftest.$ac_objext; then
27090 ac_cv_type_boolean=yes
27091 else
27092 echo "$as_me: failed program was:" >&5
27093 sed 's/^/| /' conftest.$ac_ext >&5
27094
27095 ac_cv_type_boolean=no
27096 fi
27097
27098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27099 fi
27100 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27101 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27102 if test $ac_cv_type_boolean = yes; then
27103
27104 cat >>confdefs.h <<_ACEOF
27105 #define HAVE_BOOLEAN 1
27106 _ACEOF
27107
27108
27109 { echo "$as_me:$LINENO: checking for boolean" >&5
27110 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27111 if test "${ac_cv_type_boolean+set}" = set; then
27112 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 else
27114 cat >conftest.$ac_ext <<_ACEOF
27115 /* confdefs.h. */
27116 _ACEOF
27117 cat confdefs.h >>conftest.$ac_ext
27118 cat >>conftest.$ac_ext <<_ACEOF
27119 /* end confdefs.h. */
27120
27121 #undef HAVE_BOOLEAN
27122 #include <stdio.h>
27123 #include <jpeglib.h>
27124
27125
27126 typedef boolean ac__type_new_;
27127 int
27128 main ()
27129 {
27130 if ((ac__type_new_ *) 0)
27131 return 0;
27132 if (sizeof (ac__type_new_))
27133 return 0;
27134 ;
27135 return 0;
27136 }
27137 _ACEOF
27138 rm -f conftest.$ac_objext
27139 if { (ac_try="$ac_compile"
27140 case "(($ac_try" in
27141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27142 *) ac_try_echo=$ac_try;;
27143 esac
27144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27145 (eval "$ac_compile") 2>conftest.er1
27146 ac_status=$?
27147 grep -v '^ *+' conftest.er1 >conftest.err
27148 rm -f conftest.er1
27149 cat conftest.err >&5
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); } && {
27152 test -z "$ac_c_werror_flag" ||
27153 test ! -s conftest.err
27154 } && test -s conftest.$ac_objext; then
27155 ac_cv_type_boolean=yes
27156 else
27157 echo "$as_me: failed program was:" >&5
27158 sed 's/^/| /' conftest.$ac_ext >&5
27159
27160 ac_cv_type_boolean=no
27161 fi
27162
27163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27164 fi
27165 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27166 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27167
27168 # The cast to long int works around a bug in the HP C Compiler
27169 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27170 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27171 # This bug is HP SR number 8606223364.
27172 { echo "$as_me:$LINENO: checking size of boolean" >&5
27173 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27174 if test "${ac_cv_sizeof_boolean+set}" = set; then
27175 echo $ECHO_N "(cached) $ECHO_C" >&6
27176 else
27177 if test "$cross_compiling" = yes; then
27178 # Depending upon the size, compute the lo and hi bounds.
27179 cat >conftest.$ac_ext <<_ACEOF
27180 /* confdefs.h. */
27181 _ACEOF
27182 cat confdefs.h >>conftest.$ac_ext
27183 cat >>conftest.$ac_ext <<_ACEOF
27184 /* end confdefs.h. */
27185
27186 #undef HAVE_BOOLEAN
27187 #include <stdio.h>
27188 #include <jpeglib.h>
27189
27190
27191 typedef boolean ac__type_sizeof_;
27192 int
27193 main ()
27194 {
27195 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27196 test_array [0] = 0
27197
27198 ;
27199 return 0;
27200 }
27201 _ACEOF
27202 rm -f conftest.$ac_objext
27203 if { (ac_try="$ac_compile"
27204 case "(($ac_try" in
27205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27206 *) ac_try_echo=$ac_try;;
27207 esac
27208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27209 (eval "$ac_compile") 2>conftest.er1
27210 ac_status=$?
27211 grep -v '^ *+' conftest.er1 >conftest.err
27212 rm -f conftest.er1
27213 cat conftest.err >&5
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); } && {
27216 test -z "$ac_c_werror_flag" ||
27217 test ! -s conftest.err
27218 } && test -s conftest.$ac_objext; then
27219 ac_lo=0 ac_mid=0
27220 while :; do
27221 cat >conftest.$ac_ext <<_ACEOF
27222 /* confdefs.h. */
27223 _ACEOF
27224 cat confdefs.h >>conftest.$ac_ext
27225 cat >>conftest.$ac_ext <<_ACEOF
27226 /* end confdefs.h. */
27227
27228 #undef HAVE_BOOLEAN
27229 #include <stdio.h>
27230 #include <jpeglib.h>
27231
27232
27233 typedef boolean ac__type_sizeof_;
27234 int
27235 main ()
27236 {
27237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27238 test_array [0] = 0
27239
27240 ;
27241 return 0;
27242 }
27243 _ACEOF
27244 rm -f conftest.$ac_objext
27245 if { (ac_try="$ac_compile"
27246 case "(($ac_try" in
27247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27248 *) ac_try_echo=$ac_try;;
27249 esac
27250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27251 (eval "$ac_compile") 2>conftest.er1
27252 ac_status=$?
27253 grep -v '^ *+' conftest.er1 >conftest.err
27254 rm -f conftest.er1
27255 cat conftest.err >&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } && {
27258 test -z "$ac_c_werror_flag" ||
27259 test ! -s conftest.err
27260 } && test -s conftest.$ac_objext; then
27261 ac_hi=$ac_mid; break
27262 else
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27265
27266 ac_lo=`expr $ac_mid + 1`
27267 if test $ac_lo -le $ac_mid; then
27268 ac_lo= ac_hi=
27269 break
27270 fi
27271 ac_mid=`expr 2 '*' $ac_mid + 1`
27272 fi
27273
27274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27275 done
27276 else
27277 echo "$as_me: failed program was:" >&5
27278 sed 's/^/| /' conftest.$ac_ext >&5
27279
27280 cat >conftest.$ac_ext <<_ACEOF
27281 /* confdefs.h. */
27282 _ACEOF
27283 cat confdefs.h >>conftest.$ac_ext
27284 cat >>conftest.$ac_ext <<_ACEOF
27285 /* end confdefs.h. */
27286
27287 #undef HAVE_BOOLEAN
27288 #include <stdio.h>
27289 #include <jpeglib.h>
27290
27291
27292 typedef boolean ac__type_sizeof_;
27293 int
27294 main ()
27295 {
27296 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27297 test_array [0] = 0
27298
27299 ;
27300 return 0;
27301 }
27302 _ACEOF
27303 rm -f conftest.$ac_objext
27304 if { (ac_try="$ac_compile"
27305 case "(($ac_try" in
27306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27307 *) ac_try_echo=$ac_try;;
27308 esac
27309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27310 (eval "$ac_compile") 2>conftest.er1
27311 ac_status=$?
27312 grep -v '^ *+' conftest.er1 >conftest.err
27313 rm -f conftest.er1
27314 cat conftest.err >&5
27315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27316 (exit $ac_status); } && {
27317 test -z "$ac_c_werror_flag" ||
27318 test ! -s conftest.err
27319 } && test -s conftest.$ac_objext; then
27320 ac_hi=-1 ac_mid=-1
27321 while :; do
27322 cat >conftest.$ac_ext <<_ACEOF
27323 /* confdefs.h. */
27324 _ACEOF
27325 cat confdefs.h >>conftest.$ac_ext
27326 cat >>conftest.$ac_ext <<_ACEOF
27327 /* end confdefs.h. */
27328
27329 #undef HAVE_BOOLEAN
27330 #include <stdio.h>
27331 #include <jpeglib.h>
27332
27333
27334 typedef boolean ac__type_sizeof_;
27335 int
27336 main ()
27337 {
27338 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27339 test_array [0] = 0
27340
27341 ;
27342 return 0;
27343 }
27344 _ACEOF
27345 rm -f conftest.$ac_objext
27346 if { (ac_try="$ac_compile"
27347 case "(($ac_try" in
27348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27349 *) ac_try_echo=$ac_try;;
27350 esac
27351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27352 (eval "$ac_compile") 2>conftest.er1
27353 ac_status=$?
27354 grep -v '^ *+' conftest.er1 >conftest.err
27355 rm -f conftest.er1
27356 cat conftest.err >&5
27357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27358 (exit $ac_status); } && {
27359 test -z "$ac_c_werror_flag" ||
27360 test ! -s conftest.err
27361 } && test -s conftest.$ac_objext; then
27362 ac_lo=$ac_mid; break
27363 else
27364 echo "$as_me: failed program was:" >&5
27365 sed 's/^/| /' conftest.$ac_ext >&5
27366
27367 ac_hi=`expr '(' $ac_mid ')' - 1`
27368 if test $ac_mid -le $ac_hi; then
27369 ac_lo= ac_hi=
27370 break
27371 fi
27372 ac_mid=`expr 2 '*' $ac_mid`
27373 fi
27374
27375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27376 done
27377 else
27378 echo "$as_me: failed program was:" >&5
27379 sed 's/^/| /' conftest.$ac_ext >&5
27380
27381 ac_lo= ac_hi=
27382 fi
27383
27384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27385 fi
27386
27387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27388 # Binary search between lo and hi bounds.
27389 while test "x$ac_lo" != "x$ac_hi"; do
27390 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27391 cat >conftest.$ac_ext <<_ACEOF
27392 /* confdefs.h. */
27393 _ACEOF
27394 cat confdefs.h >>conftest.$ac_ext
27395 cat >>conftest.$ac_ext <<_ACEOF
27396 /* end confdefs.h. */
27397
27398 #undef HAVE_BOOLEAN
27399 #include <stdio.h>
27400 #include <jpeglib.h>
27401
27402
27403 typedef boolean ac__type_sizeof_;
27404 int
27405 main ()
27406 {
27407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27408 test_array [0] = 0
27409
27410 ;
27411 return 0;
27412 }
27413 _ACEOF
27414 rm -f conftest.$ac_objext
27415 if { (ac_try="$ac_compile"
27416 case "(($ac_try" in
27417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27418 *) ac_try_echo=$ac_try;;
27419 esac
27420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27421 (eval "$ac_compile") 2>conftest.er1
27422 ac_status=$?
27423 grep -v '^ *+' conftest.er1 >conftest.err
27424 rm -f conftest.er1
27425 cat conftest.err >&5
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); } && {
27428 test -z "$ac_c_werror_flag" ||
27429 test ! -s conftest.err
27430 } && test -s conftest.$ac_objext; then
27431 ac_hi=$ac_mid
27432 else
27433 echo "$as_me: failed program was:" >&5
27434 sed 's/^/| /' conftest.$ac_ext >&5
27435
27436 ac_lo=`expr '(' $ac_mid ')' + 1`
27437 fi
27438
27439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27440 done
27441 case $ac_lo in
27442 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27443 '') if test "$ac_cv_type_boolean" = yes; then
27444 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27445 See \`config.log' for more details." >&5
27446 echo "$as_me: error: cannot compute sizeof (boolean)
27447 See \`config.log' for more details." >&2;}
27448 { (exit 77); exit 77; }; }
27449 else
27450 ac_cv_sizeof_boolean=0
27451 fi ;;
27452 esac
27453 else
27454 cat >conftest.$ac_ext <<_ACEOF
27455 /* confdefs.h. */
27456 _ACEOF
27457 cat confdefs.h >>conftest.$ac_ext
27458 cat >>conftest.$ac_ext <<_ACEOF
27459 /* end confdefs.h. */
27460
27461 #undef HAVE_BOOLEAN
27462 #include <stdio.h>
27463 #include <jpeglib.h>
27464
27465
27466 typedef boolean ac__type_sizeof_;
27467 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27468 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27469 #include <stdio.h>
27470 #include <stdlib.h>
27471 int
27472 main ()
27473 {
27474
27475 FILE *f = fopen ("conftest.val", "w");
27476 if (! f)
27477 return 1;
27478 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27479 {
27480 long int i = longval ();
27481 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27482 return 1;
27483 fprintf (f, "%ld\n", i);
27484 }
27485 else
27486 {
27487 unsigned long int i = ulongval ();
27488 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27489 return 1;
27490 fprintf (f, "%lu\n", i);
27491 }
27492 return ferror (f) || fclose (f) != 0;
27493
27494 ;
27495 return 0;
27496 }
27497 _ACEOF
27498 rm -f conftest$ac_exeext
27499 if { (ac_try="$ac_link"
27500 case "(($ac_try" in
27501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27502 *) ac_try_echo=$ac_try;;
27503 esac
27504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27505 (eval "$ac_link") 2>&5
27506 ac_status=$?
27507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27508 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27509 { (case "(($ac_try" in
27510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27511 *) ac_try_echo=$ac_try;;
27512 esac
27513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27514 (eval "$ac_try") 2>&5
27515 ac_status=$?
27516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27517 (exit $ac_status); }; }; then
27518 ac_cv_sizeof_boolean=`cat conftest.val`
27519 else
27520 echo "$as_me: program exited with status $ac_status" >&5
27521 echo "$as_me: failed program was:" >&5
27522 sed 's/^/| /' conftest.$ac_ext >&5
27523
27524 ( exit $ac_status )
27525 if test "$ac_cv_type_boolean" = yes; then
27526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27527 See \`config.log' for more details." >&5
27528 echo "$as_me: error: cannot compute sizeof (boolean)
27529 See \`config.log' for more details." >&2;}
27530 { (exit 77); exit 77; }; }
27531 else
27532 ac_cv_sizeof_boolean=0
27533 fi
27534 fi
27535 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27536 fi
27537 rm -f conftest.val
27538 fi
27539 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27540 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27541
27542
27543
27544 cat >>confdefs.h <<_ACEOF
27545 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27546 _ACEOF
27547
27548
27549 cat >>confdefs.h <<_ACEOF
27550 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27551 _ACEOF
27552
27553
27554 fi
27555
27556 fi
27557 fi
27558 fi
27559 fi
27560 fi
27561
27562
27563 TIFF_LINK=
27564 TIFF_PREREQ_LINKS=-lm
27565 if test "$wxUSE_LIBTIFF" != "no" ; then
27566 cat >>confdefs.h <<\_ACEOF
27567 #define wxUSE_LIBTIFF 1
27568 _ACEOF
27569
27570
27571 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27572 if test "$wxUSE_LIBJPEG" = "sys"; then
27573 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27574 fi
27575 if test "$wxUSE_ZLIB" = "sys"; then
27576 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27577 fi
27578 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27579 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27580 if test "${ac_cv_header_tiffio_h+set}" = set; then
27581 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 else
27583 cat >conftest.$ac_ext <<_ACEOF
27584 /* confdefs.h. */
27585 _ACEOF
27586 cat confdefs.h >>conftest.$ac_ext
27587 cat >>conftest.$ac_ext <<_ACEOF
27588 /* end confdefs.h. */
27589
27590
27591
27592 #include <tiffio.h>
27593 _ACEOF
27594 rm -f conftest.$ac_objext
27595 if { (ac_try="$ac_compile"
27596 case "(($ac_try" in
27597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27598 *) ac_try_echo=$ac_try;;
27599 esac
27600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27601 (eval "$ac_compile") 2>conftest.er1
27602 ac_status=$?
27603 grep -v '^ *+' conftest.er1 >conftest.err
27604 rm -f conftest.er1
27605 cat conftest.err >&5
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); } && {
27608 test -z "$ac_c_werror_flag" ||
27609 test ! -s conftest.err
27610 } && test -s conftest.$ac_objext; then
27611 ac_cv_header_tiffio_h=yes
27612 else
27613 echo "$as_me: failed program was:" >&5
27614 sed 's/^/| /' conftest.$ac_ext >&5
27615
27616 ac_cv_header_tiffio_h=no
27617 fi
27618
27619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27620 fi
27621 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27622 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27623 if test $ac_cv_header_tiffio_h = yes; then
27624
27625 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27626 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27627 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27628 echo $ECHO_N "(cached) $ECHO_C" >&6
27629 else
27630 ac_check_lib_save_LIBS=$LIBS
27631 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27632 cat >conftest.$ac_ext <<_ACEOF
27633 /* confdefs.h. */
27634 _ACEOF
27635 cat confdefs.h >>conftest.$ac_ext
27636 cat >>conftest.$ac_ext <<_ACEOF
27637 /* end confdefs.h. */
27638
27639 /* Override any GCC internal prototype to avoid an error.
27640 Use char because int might match the return type of a GCC
27641 builtin and then its argument prototype would still apply. */
27642 #ifdef __cplusplus
27643 extern "C"
27644 #endif
27645 char TIFFError ();
27646 int
27647 main ()
27648 {
27649 return TIFFError ();
27650 ;
27651 return 0;
27652 }
27653 _ACEOF
27654 rm -f conftest.$ac_objext conftest$ac_exeext
27655 if { (ac_try="$ac_link"
27656 case "(($ac_try" in
27657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27658 *) ac_try_echo=$ac_try;;
27659 esac
27660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27661 (eval "$ac_link") 2>conftest.er1
27662 ac_status=$?
27663 grep -v '^ *+' conftest.er1 >conftest.err
27664 rm -f conftest.er1
27665 cat conftest.err >&5
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); } && {
27668 test -z "$ac_c_werror_flag" ||
27669 test ! -s conftest.err
27670 } && test -s conftest$ac_exeext &&
27671 $as_test_x conftest$ac_exeext; then
27672 ac_cv_lib_tiff_TIFFError=yes
27673 else
27674 echo "$as_me: failed program was:" >&5
27675 sed 's/^/| /' conftest.$ac_ext >&5
27676
27677 ac_cv_lib_tiff_TIFFError=no
27678 fi
27679
27680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27681 conftest$ac_exeext conftest.$ac_ext
27682 LIBS=$ac_check_lib_save_LIBS
27683 fi
27684 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27685 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27686 if test $ac_cv_lib_tiff_TIFFError = yes; then
27687 TIFF_LINK=" -ltiff"
27688 fi
27689
27690
27691 fi
27692
27693
27694
27695 if test "x$TIFF_LINK" = "x" ; then
27696 if test "$wxUSE_LIBTIFF" = "sys" ; then
27697 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27698 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27699 { (exit 1); exit 1; }; }
27700 else
27701 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27702 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27703 wxUSE_LIBTIFF=builtin
27704 fi
27705 else
27706 wxUSE_LIBTIFF=sys
27707 fi
27708 fi
27709 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27710 if test "$wxUSE_LIBJPEG" = "no"; then
27711 ac_configure_args="$ac_configure_args --disable-jpeg"
27712 fi
27713 subdirs="$subdirs src/tiff"
27714
27715 fi
27716 fi
27717
27718
27719 if test "$wxUSE_WCHAR_T" != "yes"; then
27720 if test "$wxUSE_EXPAT" != "no"; then
27721 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27722 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27723 wxUSE_EXPAT=no
27724 fi
27725 if test "$wxUSE_XML" != "no"; then
27726 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27727 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27728 wxUSE_XML=no
27729 fi
27730 fi
27731
27732 if test "$wxUSE_EXPAT" != "no"; then
27733 wxUSE_XML=yes
27734 cat >>confdefs.h <<\_ACEOF
27735 #define wxUSE_EXPAT 1
27736 _ACEOF
27737
27738 cat >>confdefs.h <<\_ACEOF
27739 #define wxUSE_XML 1
27740 _ACEOF
27741
27742
27743 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27744 { echo "$as_me:$LINENO: checking for expat.h" >&5
27745 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27746 if test "${ac_cv_header_expat_h+set}" = set; then
27747 echo $ECHO_N "(cached) $ECHO_C" >&6
27748 else
27749 cat >conftest.$ac_ext <<_ACEOF
27750 /* confdefs.h. */
27751 _ACEOF
27752 cat confdefs.h >>conftest.$ac_ext
27753 cat >>conftest.$ac_ext <<_ACEOF
27754 /* end confdefs.h. */
27755
27756
27757 #include <expat.h>
27758 _ACEOF
27759 rm -f conftest.$ac_objext
27760 if { (ac_try="$ac_compile"
27761 case "(($ac_try" in
27762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27763 *) ac_try_echo=$ac_try;;
27764 esac
27765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27766 (eval "$ac_compile") 2>conftest.er1
27767 ac_status=$?
27768 grep -v '^ *+' conftest.er1 >conftest.err
27769 rm -f conftest.er1
27770 cat conftest.err >&5
27771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27772 (exit $ac_status); } && {
27773 test -z "$ac_c_werror_flag" ||
27774 test ! -s conftest.err
27775 } && test -s conftest.$ac_objext; then
27776 ac_cv_header_expat_h=yes
27777 else
27778 echo "$as_me: failed program was:" >&5
27779 sed 's/^/| /' conftest.$ac_ext >&5
27780
27781 ac_cv_header_expat_h=no
27782 fi
27783
27784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27785 fi
27786 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27787 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27788 if test $ac_cv_header_expat_h = yes; then
27789 found_expat_h=1
27790 fi
27791
27792
27793 if test "x$found_expat_h" = "x1"; then
27794 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27795 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27796 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27797 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 else
27799
27800 ac_ext=cpp
27801 ac_cpp='$CXXCPP $CPPFLAGS'
27802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27805
27806 cat >conftest.$ac_ext <<_ACEOF
27807 /* confdefs.h. */
27808 _ACEOF
27809 cat confdefs.h >>conftest.$ac_ext
27810 cat >>conftest.$ac_ext <<_ACEOF
27811 /* end confdefs.h. */
27812 #include <expat.h>
27813 int
27814 main ()
27815 {
27816
27817 ;
27818 return 0;
27819 }
27820 _ACEOF
27821 rm -f conftest.$ac_objext
27822 if { (ac_try="$ac_compile"
27823 case "(($ac_try" in
27824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27825 *) ac_try_echo=$ac_try;;
27826 esac
27827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27828 (eval "$ac_compile") 2>conftest.er1
27829 ac_status=$?
27830 grep -v '^ *+' conftest.er1 >conftest.err
27831 rm -f conftest.er1
27832 cat conftest.err >&5
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); } && {
27835 test -z "$ac_cxx_werror_flag" ||
27836 test ! -s conftest.err
27837 } && test -s conftest.$ac_objext; then
27838 wx_cv_expat_is_not_broken=yes
27839 else
27840 echo "$as_me: failed program was:" >&5
27841 sed 's/^/| /' conftest.$ac_ext >&5
27842
27843 wx_cv_expat_is_not_broken=no
27844
27845 fi
27846
27847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27848 ac_ext=c
27849 ac_cpp='$CPP $CPPFLAGS'
27850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27853
27854
27855
27856 fi
27857 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27858 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27859 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27860 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27861 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27862 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27863 echo $ECHO_N "(cached) $ECHO_C" >&6
27864 else
27865 ac_check_lib_save_LIBS=$LIBS
27866 LIBS="-lexpat $LIBS"
27867 cat >conftest.$ac_ext <<_ACEOF
27868 /* confdefs.h. */
27869 _ACEOF
27870 cat confdefs.h >>conftest.$ac_ext
27871 cat >>conftest.$ac_ext <<_ACEOF
27872 /* end confdefs.h. */
27873
27874 /* Override any GCC internal prototype to avoid an error.
27875 Use char because int might match the return type of a GCC
27876 builtin and then its argument prototype would still apply. */
27877 #ifdef __cplusplus
27878 extern "C"
27879 #endif
27880 char XML_ParserCreate ();
27881 int
27882 main ()
27883 {
27884 return XML_ParserCreate ();
27885 ;
27886 return 0;
27887 }
27888 _ACEOF
27889 rm -f conftest.$ac_objext conftest$ac_exeext
27890 if { (ac_try="$ac_link"
27891 case "(($ac_try" in
27892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27893 *) ac_try_echo=$ac_try;;
27894 esac
27895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27896 (eval "$ac_link") 2>conftest.er1
27897 ac_status=$?
27898 grep -v '^ *+' conftest.er1 >conftest.err
27899 rm -f conftest.er1
27900 cat conftest.err >&5
27901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27902 (exit $ac_status); } && {
27903 test -z "$ac_c_werror_flag" ||
27904 test ! -s conftest.err
27905 } && test -s conftest$ac_exeext &&
27906 $as_test_x conftest$ac_exeext; then
27907 ac_cv_lib_expat_XML_ParserCreate=yes
27908 else
27909 echo "$as_me: failed program was:" >&5
27910 sed 's/^/| /' conftest.$ac_ext >&5
27911
27912 ac_cv_lib_expat_XML_ParserCreate=no
27913 fi
27914
27915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27916 conftest$ac_exeext conftest.$ac_ext
27917 LIBS=$ac_check_lib_save_LIBS
27918 fi
27919 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27920 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27921 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27922 EXPAT_LINK=" -lexpat"
27923 fi
27924
27925 fi
27926 fi
27927 if test "x$EXPAT_LINK" = "x" ; then
27928 if test "$wxUSE_EXPAT" = "sys" ; then
27929 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27930 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27931 { (exit 1); exit 1; }; }
27932 else
27933 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27934 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27935 wxUSE_EXPAT=builtin
27936 fi
27937 else
27938 wxUSE_EXPAT=sys
27939 fi
27940 fi
27941 if test "$wxUSE_EXPAT" = "builtin" ; then
27942 subdirs="$subdirs src/expat"
27943
27944 fi
27945 fi
27946
27947
27948
27949 if test "$wxUSE_LIBMSPACK" != "no"; then
27950 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27951 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27952 if test "${ac_cv_header_mspack_h+set}" = set; then
27953 echo $ECHO_N "(cached) $ECHO_C" >&6
27954 else
27955 cat >conftest.$ac_ext <<_ACEOF
27956 /* confdefs.h. */
27957 _ACEOF
27958 cat confdefs.h >>conftest.$ac_ext
27959 cat >>conftest.$ac_ext <<_ACEOF
27960 /* end confdefs.h. */
27961
27962
27963 #include <mspack.h>
27964 _ACEOF
27965 rm -f conftest.$ac_objext
27966 if { (ac_try="$ac_compile"
27967 case "(($ac_try" in
27968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27969 *) ac_try_echo=$ac_try;;
27970 esac
27971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27972 (eval "$ac_compile") 2>conftest.er1
27973 ac_status=$?
27974 grep -v '^ *+' conftest.er1 >conftest.err
27975 rm -f conftest.er1
27976 cat conftest.err >&5
27977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978 (exit $ac_status); } && {
27979 test -z "$ac_c_werror_flag" ||
27980 test ! -s conftest.err
27981 } && test -s conftest.$ac_objext; then
27982 ac_cv_header_mspack_h=yes
27983 else
27984 echo "$as_me: failed program was:" >&5
27985 sed 's/^/| /' conftest.$ac_ext >&5
27986
27987 ac_cv_header_mspack_h=no
27988 fi
27989
27990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27991 fi
27992 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27993 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27994 if test $ac_cv_header_mspack_h = yes; then
27995 found_mspack_h=1
27996 fi
27997
27998
27999 if test "x$found_mspack_h" = "x1"; then
28000 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28001 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
28002 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28003 echo $ECHO_N "(cached) $ECHO_C" >&6
28004 else
28005 ac_check_lib_save_LIBS=$LIBS
28006 LIBS="-lmspack $LIBS"
28007 cat >conftest.$ac_ext <<_ACEOF
28008 /* confdefs.h. */
28009 _ACEOF
28010 cat confdefs.h >>conftest.$ac_ext
28011 cat >>conftest.$ac_ext <<_ACEOF
28012 /* end confdefs.h. */
28013
28014 /* Override any GCC internal prototype to avoid an error.
28015 Use char because int might match the return type of a GCC
28016 builtin and then its argument prototype would still apply. */
28017 #ifdef __cplusplus
28018 extern "C"
28019 #endif
28020 char mspack_create_chm_decompressor ();
28021 int
28022 main ()
28023 {
28024 return mspack_create_chm_decompressor ();
28025 ;
28026 return 0;
28027 }
28028 _ACEOF
28029 rm -f conftest.$ac_objext conftest$ac_exeext
28030 if { (ac_try="$ac_link"
28031 case "(($ac_try" in
28032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28033 *) ac_try_echo=$ac_try;;
28034 esac
28035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28036 (eval "$ac_link") 2>conftest.er1
28037 ac_status=$?
28038 grep -v '^ *+' conftest.er1 >conftest.err
28039 rm -f conftest.er1
28040 cat conftest.err >&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); } && {
28043 test -z "$ac_c_werror_flag" ||
28044 test ! -s conftest.err
28045 } && test -s conftest$ac_exeext &&
28046 $as_test_x conftest$ac_exeext; then
28047 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28048 else
28049 echo "$as_me: failed program was:" >&5
28050 sed 's/^/| /' conftest.$ac_ext >&5
28051
28052 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28053 fi
28054
28055 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28056 conftest$ac_exeext conftest.$ac_ext
28057 LIBS=$ac_check_lib_save_LIBS
28058 fi
28059 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28060 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28061 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28062 MSPACK_LINK=" -lmspack"
28063 fi
28064
28065 fi
28066 if test "x$MSPACK_LINK" = "x" ; then
28067 wxUSE_LIBMSPACK=no
28068 fi
28069 fi
28070
28071 if test "$wxUSE_LIBMSPACK" != "no"; then
28072 cat >>confdefs.h <<\_ACEOF
28073 #define wxUSE_LIBMSPACK 1
28074 _ACEOF
28075
28076 fi
28077
28078
28079
28080 AFMINSTALL=
28081 WIN32INSTALL=
28082
28083 TOOLKIT=
28084 TOOLKIT_INCLUDE=
28085 WIDGET_SET=
28086
28087 if test "$USE_WIN32" = 1 ; then
28088
28089 for ac_header in w32api.h
28090 do
28091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28092 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28094 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28095 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 else
28097 cat >conftest.$ac_ext <<_ACEOF
28098 /* confdefs.h. */
28099 _ACEOF
28100 cat confdefs.h >>conftest.$ac_ext
28101 cat >>conftest.$ac_ext <<_ACEOF
28102 /* end confdefs.h. */
28103
28104
28105 #include <$ac_header>
28106 _ACEOF
28107 rm -f conftest.$ac_objext
28108 if { (ac_try="$ac_compile"
28109 case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28111 *) ac_try_echo=$ac_try;;
28112 esac
28113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_compile") 2>conftest.er1
28115 ac_status=$?
28116 grep -v '^ *+' conftest.er1 >conftest.err
28117 rm -f conftest.er1
28118 cat conftest.err >&5
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); } && {
28121 test -z "$ac_c_werror_flag" ||
28122 test ! -s conftest.err
28123 } && test -s conftest.$ac_objext; then
28124 eval "$as_ac_Header=yes"
28125 else
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.$ac_ext >&5
28128
28129 eval "$as_ac_Header=no"
28130 fi
28131
28132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28133 fi
28134 ac_res=`eval echo '${'$as_ac_Header'}'`
28135 { echo "$as_me:$LINENO: result: $ac_res" >&5
28136 echo "${ECHO_T}$ac_res" >&6; }
28137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28138 cat >>confdefs.h <<_ACEOF
28139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28140 _ACEOF
28141
28142 fi
28143
28144 done
28145
28146 { echo "$as_me:$LINENO: checking for windows.h" >&5
28147 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28148 if test "${ac_cv_header_windows_h+set}" = set; then
28149 echo $ECHO_N "(cached) $ECHO_C" >&6
28150 else
28151 cat >conftest.$ac_ext <<_ACEOF
28152 /* confdefs.h. */
28153 _ACEOF
28154 cat confdefs.h >>conftest.$ac_ext
28155 cat >>conftest.$ac_ext <<_ACEOF
28156 /* end confdefs.h. */
28157
28158
28159 #include <windows.h>
28160 _ACEOF
28161 rm -f conftest.$ac_objext
28162 if { (ac_try="$ac_compile"
28163 case "(($ac_try" in
28164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28165 *) ac_try_echo=$ac_try;;
28166 esac
28167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28168 (eval "$ac_compile") 2>conftest.er1
28169 ac_status=$?
28170 grep -v '^ *+' conftest.er1 >conftest.err
28171 rm -f conftest.er1
28172 cat conftest.err >&5
28173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28174 (exit $ac_status); } && {
28175 test -z "$ac_c_werror_flag" ||
28176 test ! -s conftest.err
28177 } && test -s conftest.$ac_objext; then
28178 ac_cv_header_windows_h=yes
28179 else
28180 echo "$as_me: failed program was:" >&5
28181 sed 's/^/| /' conftest.$ac_ext >&5
28182
28183 ac_cv_header_windows_h=no
28184 fi
28185
28186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28187 fi
28188 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28189 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28190 if test $ac_cv_header_windows_h = yes; then
28191 :
28192 else
28193
28194 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28195 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28196 { (exit 1); exit 1; }; }
28197
28198 fi
28199
28200
28201
28202 case "${host}" in
28203 x86_64-*-mingw32* )
28204 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28205 ;;
28206 * )
28207 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28208 ;;
28209 esac
28210 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28211 LIBS="$LIBS -loleacc"
28212 fi
28213
28214 case "${host}" in
28215 *-*-cygwin* )
28216 LIBS="$LIBS -lkernel32 -luser32"
28217 esac
28218
28219 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28220 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28221
28222 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28223
28224 WIN32INSTALL=win32install
28225
28226 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28227 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28228 if test "${ac_cv_header_pbt_h+set}" = set; then
28229 echo $ECHO_N "(cached) $ECHO_C" >&6
28230 else
28231 cat >conftest.$ac_ext <<_ACEOF
28232 /* confdefs.h. */
28233 _ACEOF
28234 cat confdefs.h >>conftest.$ac_ext
28235 cat >>conftest.$ac_ext <<_ACEOF
28236 /* end confdefs.h. */
28237
28238
28239 #include <pbt.h>
28240 _ACEOF
28241 rm -f conftest.$ac_objext
28242 if { (ac_try="$ac_compile"
28243 case "(($ac_try" in
28244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28245 *) ac_try_echo=$ac_try;;
28246 esac
28247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28248 (eval "$ac_compile") 2>conftest.er1
28249 ac_status=$?
28250 grep -v '^ *+' conftest.er1 >conftest.err
28251 rm -f conftest.er1
28252 cat conftest.err >&5
28253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28254 (exit $ac_status); } && {
28255 test -z "$ac_c_werror_flag" ||
28256 test ! -s conftest.err
28257 } && test -s conftest.$ac_objext; then
28258 ac_cv_header_pbt_h=yes
28259 else
28260 echo "$as_me: failed program was:" >&5
28261 sed 's/^/| /' conftest.$ac_ext >&5
28262
28263 ac_cv_header_pbt_h=no
28264 fi
28265
28266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28267 fi
28268 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28269 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28270 if test $ac_cv_header_pbt_h = yes; then
28271 :
28272 else
28273 cat >>confdefs.h <<\_ACEOF
28274 #define NEED_PBT_H 1
28275 _ACEOF
28276
28277 fi
28278
28279
28280 fi
28281
28282 if test "$wxUSE_GUI" = "yes"; then
28283 USE_GUI=1
28284
28285 GUI_TK_LIBRARY=
28286
28287 WXGTK12=
28288 WXGTK127=
28289 WXGTK2=
28290 WXGPE=
28291
28292 if test "$wxUSE_COCOA" = 1 ; then
28293 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28294 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28295 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28296 wxUSE_PRINTING_ARCHITECTURE=no
28297 fi
28298 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28299 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28300 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28301 wxUSE_DRAG_AND_DROP=no
28302 fi
28303 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28304 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28305 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28306 wxUSE_DRAGIMAGE=no
28307 fi
28308 fi
28309
28310 if test "$wxUSE_MSW" = 1 ; then
28311 TOOLKIT=MSW
28312 GUIDIST=MSW_DIST
28313
28314 case "${host}" in
28315 *-*-mingw32* )
28316 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28317 esac
28318 fi
28319
28320 if test "$wxUSE_GTK" = 1; then
28321 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28322 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28323
28324 gtk_version_cached=1
28325 if test "${wx_cv_lib_gtk+set}" = set; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28327 else
28328
28329 gtk_version_cached=0
28330 { echo "$as_me:$LINENO: result: " >&5
28331 echo "${ECHO_T}" >&6; }
28332
28333 GTK_MODULES=
28334 if test "$wxUSE_THREADS" = "yes"; then
28335 GTK_MODULES=gthread
28336 fi
28337
28338 wx_cv_lib_gtk=
28339 if test "x$wxGTK_VERSION" != "x1"
28340 then
28341 case "${host}" in
28342 *-*-solaris2* )
28343 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28344 enable_gtktest=no
28345 fi
28346 esac
28347
28348 # Check whether --enable-gtktest was given.
28349 if test "${enable_gtktest+set}" = set; then
28350 enableval=$enable_gtktest;
28351 else
28352 enable_gtktest=yes
28353 fi
28354
28355
28356 pkg_config_args=gtk+-2.0
28357 for module in . $GTK_MODULES
28358 do
28359 case "$module" in
28360 gthread)
28361 pkg_config_args="$pkg_config_args gthread-2.0"
28362 ;;
28363 esac
28364 done
28365
28366 no_gtk=""
28367
28368 # Extract the first word of "pkg-config", so it can be a program name with args.
28369 set dummy pkg-config; ac_word=$2
28370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28372 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28373 echo $ECHO_N "(cached) $ECHO_C" >&6
28374 else
28375 case $PKG_CONFIG in
28376 [\\/]* | ?:[\\/]*)
28377 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28378 ;;
28379 *)
28380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28381 for as_dir in $PATH
28382 do
28383 IFS=$as_save_IFS
28384 test -z "$as_dir" && as_dir=.
28385 for ac_exec_ext in '' $ac_executable_extensions; do
28386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28387 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28389 break 2
28390 fi
28391 done
28392 done
28393 IFS=$as_save_IFS
28394
28395 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28396 ;;
28397 esac
28398 fi
28399 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28400 if test -n "$PKG_CONFIG"; then
28401 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28402 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28403 else
28404 { echo "$as_me:$LINENO: result: no" >&5
28405 echo "${ECHO_T}no" >&6; }
28406 fi
28407
28408
28409
28410 if test x$PKG_CONFIG != xno ; then
28411 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28412 :
28413 else
28414 echo "*** pkg-config too old; version 0.7 or better required."
28415 no_gtk=yes
28416 PKG_CONFIG=no
28417 fi
28418 else
28419 no_gtk=yes
28420 fi
28421
28422 min_gtk_version=2.4.0
28423 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28424 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28425
28426 if test x$PKG_CONFIG != xno ; then
28427 ## don't try to run the test against uninstalled libtool libs
28428 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28429 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28430 enable_gtktest=no
28431 fi
28432
28433 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28434 :
28435 else
28436 no_gtk=yes
28437 fi
28438 fi
28439
28440 if test x"$no_gtk" = x ; then
28441 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28442 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28443 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28445 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28447 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28449 if test "x$enable_gtktest" = "xyes" ; then
28450 ac_save_CFLAGS="$CFLAGS"
28451 ac_save_LIBS="$LIBS"
28452 CFLAGS="$CFLAGS $GTK_CFLAGS"
28453 LIBS="$GTK_LIBS $LIBS"
28454 rm -f conf.gtktest
28455 if test "$cross_compiling" = yes; then
28456 echo $ac_n "cross compiling; assumed OK... $ac_c"
28457 else
28458 cat >conftest.$ac_ext <<_ACEOF
28459 /* confdefs.h. */
28460 _ACEOF
28461 cat confdefs.h >>conftest.$ac_ext
28462 cat >>conftest.$ac_ext <<_ACEOF
28463 /* end confdefs.h. */
28464
28465 #include <gtk/gtk.h>
28466 #include <stdio.h>
28467 #include <stdlib.h>
28468
28469 int
28470 main ()
28471 {
28472 int major, minor, micro;
28473 char *tmp_version;
28474
28475 system ("touch conf.gtktest");
28476
28477 /* HP/UX 9 (%@#!) writes to sscanf strings */
28478 tmp_version = g_strdup("$min_gtk_version");
28479 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28480 printf("%s, bad version string\n", "$min_gtk_version");
28481 exit(1);
28482 }
28483
28484 if ((gtk_major_version != $gtk_config_major_version) ||
28485 (gtk_minor_version != $gtk_config_minor_version) ||
28486 (gtk_micro_version != $gtk_config_micro_version))
28487 {
28488 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28489 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28490 gtk_major_version, gtk_minor_version, gtk_micro_version);
28491 printf ("*** was found! If pkg-config was correct, then it is best\n");
28492 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28493 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28494 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28495 printf("*** required on your system.\n");
28496 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28497 printf("*** to point to the correct configuration files\n");
28498 }
28499 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28500 (gtk_minor_version != GTK_MINOR_VERSION) ||
28501 (gtk_micro_version != GTK_MICRO_VERSION))
28502 {
28503 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28504 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28505 printf("*** library (version %d.%d.%d)\n",
28506 gtk_major_version, gtk_minor_version, gtk_micro_version);
28507 }
28508 else
28509 {
28510 if ((gtk_major_version > major) ||
28511 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28512 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28513 {
28514 return 0;
28515 }
28516 else
28517 {
28518 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28519 gtk_major_version, gtk_minor_version, gtk_micro_version);
28520 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28521 major, minor, micro);
28522 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28523 printf("***\n");
28524 printf("*** If you have already installed a sufficiently new version, this error\n");
28525 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28526 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28527 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28528 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28529 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28530 printf("*** so that the correct libraries are found at run-time))\n");
28531 }
28532 }
28533 return 1;
28534 }
28535
28536 _ACEOF
28537 rm -f conftest$ac_exeext
28538 if { (ac_try="$ac_link"
28539 case "(($ac_try" in
28540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28541 *) ac_try_echo=$ac_try;;
28542 esac
28543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28544 (eval "$ac_link") 2>&5
28545 ac_status=$?
28546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28547 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28548 { (case "(($ac_try" in
28549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28550 *) ac_try_echo=$ac_try;;
28551 esac
28552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28553 (eval "$ac_try") 2>&5
28554 ac_status=$?
28555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556 (exit $ac_status); }; }; then
28557 :
28558 else
28559 echo "$as_me: program exited with status $ac_status" >&5
28560 echo "$as_me: failed program was:" >&5
28561 sed 's/^/| /' conftest.$ac_ext >&5
28562
28563 ( exit $ac_status )
28564 no_gtk=yes
28565 fi
28566 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28567 fi
28568
28569
28570 CFLAGS="$ac_save_CFLAGS"
28571 LIBS="$ac_save_LIBS"
28572 fi
28573 fi
28574 if test "x$no_gtk" = x ; then
28575 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28576 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28577 wx_cv_lib_gtk=2.0
28578 else
28579 { echo "$as_me:$LINENO: result: no" >&5
28580 echo "${ECHO_T}no" >&6; }
28581 if test "$PKG_CONFIG" = "no" ; then
28582 echo "*** A new enough version of pkg-config was not found."
28583 echo "*** See http://pkgconfig.sourceforge.net"
28584 else
28585 if test -f conf.gtktest ; then
28586 :
28587 else
28588 echo "*** Could not run GTK+ test program, checking why..."
28589 ac_save_CFLAGS="$CFLAGS"
28590 ac_save_LIBS="$LIBS"
28591 CFLAGS="$CFLAGS $GTK_CFLAGS"
28592 LIBS="$LIBS $GTK_LIBS"
28593 cat >conftest.$ac_ext <<_ACEOF
28594 /* confdefs.h. */
28595 _ACEOF
28596 cat confdefs.h >>conftest.$ac_ext
28597 cat >>conftest.$ac_ext <<_ACEOF
28598 /* end confdefs.h. */
28599
28600 #include <gtk/gtk.h>
28601 #include <stdio.h>
28602
28603 int
28604 main ()
28605 {
28606 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28607 ;
28608 return 0;
28609 }
28610 _ACEOF
28611 rm -f conftest.$ac_objext conftest$ac_exeext
28612 if { (ac_try="$ac_link"
28613 case "(($ac_try" in
28614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28615 *) ac_try_echo=$ac_try;;
28616 esac
28617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28618 (eval "$ac_link") 2>conftest.er1
28619 ac_status=$?
28620 grep -v '^ *+' conftest.er1 >conftest.err
28621 rm -f conftest.er1
28622 cat conftest.err >&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); } && {
28625 test -z "$ac_c_werror_flag" ||
28626 test ! -s conftest.err
28627 } && test -s conftest$ac_exeext &&
28628 $as_test_x conftest$ac_exeext; then
28629 echo "*** The test program compiled, but did not run. This usually means"
28630 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28631 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28632 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28633 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28634 echo "*** is required on your system"
28635 echo "***"
28636 echo "*** If you have an old version installed, it is best to remove it, although"
28637 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28638 else
28639 echo "$as_me: failed program was:" >&5
28640 sed 's/^/| /' conftest.$ac_ext >&5
28641
28642 echo "*** The test program failed to compile or link. See the file config.log for the"
28643 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28644 fi
28645
28646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28647 conftest$ac_exeext conftest.$ac_ext
28648 CFLAGS="$ac_save_CFLAGS"
28649 LIBS="$ac_save_LIBS"
28650 fi
28651 fi
28652 GTK_CFLAGS=""
28653 GTK_LIBS=""
28654 :
28655 fi
28656
28657
28658 rm -f conf.gtktest
28659
28660
28661 case "${host}" in
28662 *-*-solaris2* )
28663 if test "$wxUSE_SHARED" != "yes"; then
28664 GTK_LIBS="$GTK_LIBS -lX11"
28665 fi
28666 esac
28667 fi
28668
28669 if test -z "$wx_cv_lib_gtk"; then
28670 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28671
28672 # Check whether --with-gtk-prefix was given.
28673 if test "${with_gtk_prefix+set}" = set; then
28674 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28675 else
28676 gtk_config_prefix=""
28677 fi
28678
28679
28680 # Check whether --with-gtk-exec-prefix was given.
28681 if test "${with_gtk_exec_prefix+set}" = set; then
28682 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28683 else
28684 gtk_config_exec_prefix=""
28685 fi
28686
28687 # Check whether --enable-gtktest was given.
28688 if test "${enable_gtktest+set}" = set; then
28689 enableval=$enable_gtktest;
28690 else
28691 enable_gtktest=yes
28692 fi
28693
28694
28695 for module in . $GTK_MODULES
28696 do
28697 case "$module" in
28698 gthread)
28699 gtk_config_args="$gtk_config_args gthread"
28700 ;;
28701 esac
28702 done
28703
28704 if test x$gtk_config_exec_prefix != x ; then
28705 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28706 if test x${GTK_CONFIG+set} != xset ; then
28707 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28708 fi
28709 fi
28710 if test x$gtk_config_prefix != x ; then
28711 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28712 if test x${GTK_CONFIG+set} != xset ; then
28713 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28714 fi
28715 fi
28716
28717 # Extract the first word of "gtk-config", so it can be a program name with args.
28718 set dummy gtk-config; ac_word=$2
28719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28721 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28722 echo $ECHO_N "(cached) $ECHO_C" >&6
28723 else
28724 case $GTK_CONFIG in
28725 [\\/]* | ?:[\\/]*)
28726 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28727 ;;
28728 *)
28729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28730 for as_dir in $PATH
28731 do
28732 IFS=$as_save_IFS
28733 test -z "$as_dir" && as_dir=.
28734 for ac_exec_ext in '' $ac_executable_extensions; do
28735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28736 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28738 break 2
28739 fi
28740 done
28741 done
28742 IFS=$as_save_IFS
28743
28744 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28745 ;;
28746 esac
28747 fi
28748 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28749 if test -n "$GTK_CONFIG"; then
28750 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28751 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28752 else
28753 { echo "$as_me:$LINENO: result: no" >&5
28754 echo "${ECHO_T}no" >&6; }
28755 fi
28756
28757
28758 min_gtk_version=1.2.7
28759 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28760 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28761 no_gtk=""
28762 if test "$GTK_CONFIG" = "no" ; then
28763 no_gtk=yes
28764 else
28765 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28766 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28767 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28769 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28771 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28773 if test "x$enable_gtktest" = "xyes" ; then
28774 ac_save_CFLAGS="$CFLAGS"
28775 ac_save_LIBS="$LIBS"
28776 CFLAGS="$CFLAGS $GTK_CFLAGS"
28777 LIBS="$GTK_LIBS $LIBS"
28778 rm -f conf.gtktest
28779 if test "$cross_compiling" = yes; then
28780 echo $ac_n "cross compiling; assumed OK... $ac_c"
28781 else
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 #include <stdlib.h>
28792
28793 int
28794 main ()
28795 {
28796 int major, minor, micro;
28797 char *tmp_version;
28798
28799 system ("touch conf.gtktest");
28800
28801 /* HP/UX 9 (%@#!) writes to sscanf strings */
28802 tmp_version = g_strdup("$min_gtk_version");
28803 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28804 printf("%s, bad version string\n", "$min_gtk_version");
28805 exit(1);
28806 }
28807
28808 if ((gtk_major_version != $gtk_config_major_version) ||
28809 (gtk_minor_version != $gtk_config_minor_version) ||
28810 (gtk_micro_version != $gtk_config_micro_version))
28811 {
28812 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28813 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28814 gtk_major_version, gtk_minor_version, gtk_micro_version);
28815 printf ("*** was found! If gtk-config was correct, then it is best\n");
28816 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28817 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28818 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28819 printf("*** required on your system.\n");
28820 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28821 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28822 printf("*** before re-running configure\n");
28823 }
28824 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28825 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28826 (gtk_minor_version != GTK_MINOR_VERSION) ||
28827 (gtk_micro_version != GTK_MICRO_VERSION))
28828 {
28829 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28830 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28831 printf("*** library (version %d.%d.%d)\n",
28832 gtk_major_version, gtk_minor_version, gtk_micro_version);
28833 }
28834 #endif /* defined (GTK_MAJOR_VERSION) ... */
28835 else
28836 {
28837 if ((gtk_major_version > major) ||
28838 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28839 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28840 {
28841 return 0;
28842 }
28843 else
28844 {
28845 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28846 gtk_major_version, gtk_minor_version, gtk_micro_version);
28847 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28848 major, minor, micro);
28849 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28850 printf("***\n");
28851 printf("*** If you have already installed a sufficiently new version, this error\n");
28852 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28853 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28854 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28855 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28856 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28857 printf("*** so that the correct libraries are found at run-time))\n");
28858 }
28859 }
28860 return 1;
28861 }
28862
28863 _ACEOF
28864 rm -f conftest$ac_exeext
28865 if { (ac_try="$ac_link"
28866 case "(($ac_try" in
28867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28868 *) ac_try_echo=$ac_try;;
28869 esac
28870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28871 (eval "$ac_link") 2>&5
28872 ac_status=$?
28873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28875 { (case "(($ac_try" in
28876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28877 *) ac_try_echo=$ac_try;;
28878 esac
28879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28880 (eval "$ac_try") 2>&5
28881 ac_status=$?
28882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28883 (exit $ac_status); }; }; then
28884 :
28885 else
28886 echo "$as_me: program exited with status $ac_status" >&5
28887 echo "$as_me: failed program was:" >&5
28888 sed 's/^/| /' conftest.$ac_ext >&5
28889
28890 ( exit $ac_status )
28891 no_gtk=yes
28892 fi
28893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28894 fi
28895
28896
28897 CFLAGS="$ac_save_CFLAGS"
28898 LIBS="$ac_save_LIBS"
28899 fi
28900 fi
28901 if test "x$no_gtk" = x ; then
28902 { echo "$as_me:$LINENO: result: yes" >&5
28903 echo "${ECHO_T}yes" >&6; }
28904 wx_cv_lib_gtk=1.2.7
28905 else
28906 { echo "$as_me:$LINENO: result: no" >&5
28907 echo "${ECHO_T}no" >&6; }
28908 if test "$GTK_CONFIG" = "no" ; then
28909 echo "*** The gtk-config script installed by GTK could not be found"
28910 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28911 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28912 echo "*** full path to gtk-config."
28913 else
28914 if test -f conf.gtktest ; then
28915 :
28916 else
28917 echo "*** Could not run GTK test program, checking why..."
28918 CFLAGS="$CFLAGS $GTK_CFLAGS"
28919 LIBS="$LIBS $GTK_LIBS"
28920 cat >conftest.$ac_ext <<_ACEOF
28921 /* confdefs.h. */
28922 _ACEOF
28923 cat confdefs.h >>conftest.$ac_ext
28924 cat >>conftest.$ac_ext <<_ACEOF
28925 /* end confdefs.h. */
28926
28927 #include <gtk/gtk.h>
28928 #include <stdio.h>
28929
28930 int
28931 main ()
28932 {
28933 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28934 ;
28935 return 0;
28936 }
28937 _ACEOF
28938 rm -f conftest.$ac_objext conftest$ac_exeext
28939 if { (ac_try="$ac_link"
28940 case "(($ac_try" in
28941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28942 *) ac_try_echo=$ac_try;;
28943 esac
28944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28945 (eval "$ac_link") 2>conftest.er1
28946 ac_status=$?
28947 grep -v '^ *+' conftest.er1 >conftest.err
28948 rm -f conftest.er1
28949 cat conftest.err >&5
28950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28951 (exit $ac_status); } && {
28952 test -z "$ac_c_werror_flag" ||
28953 test ! -s conftest.err
28954 } && test -s conftest$ac_exeext &&
28955 $as_test_x conftest$ac_exeext; then
28956 echo "*** The test program compiled, but did not run. This usually means"
28957 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28958 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28959 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28960 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28961 echo "*** is required on your system"
28962 echo "***"
28963 echo "*** If you have an old version installed, it is best to remove it, although"
28964 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28965 echo "***"
28966 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28967 echo "*** came with the system with the command"
28968 echo "***"
28969 echo "*** rpm --erase --nodeps gtk gtk-devel"
28970 else
28971 echo "$as_me: failed program was:" >&5
28972 sed 's/^/| /' conftest.$ac_ext >&5
28973
28974 echo "*** The test program failed to compile or link. See the file config.log for the"
28975 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28976 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28977 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28978 fi
28979
28980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28981 conftest$ac_exeext conftest.$ac_ext
28982 CFLAGS="$ac_save_CFLAGS"
28983 LIBS="$ac_save_LIBS"
28984 fi
28985 fi
28986 GTK_CFLAGS=""
28987 GTK_LIBS=""
28988 :
28989 fi
28990
28991
28992 rm -f conf.gtktest
28993
28994
28995 if test -z "$wx_cv_lib_gtk"; then
28996
28997 # Check whether --with-gtk-prefix was given.
28998 if test "${with_gtk_prefix+set}" = set; then
28999 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
29000 else
29001 gtk_config_prefix=""
29002 fi
29003
29004
29005 # Check whether --with-gtk-exec-prefix was given.
29006 if test "${with_gtk_exec_prefix+set}" = set; then
29007 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29008 else
29009 gtk_config_exec_prefix=""
29010 fi
29011
29012 # Check whether --enable-gtktest was given.
29013 if test "${enable_gtktest+set}" = set; then
29014 enableval=$enable_gtktest;
29015 else
29016 enable_gtktest=yes
29017 fi
29018
29019
29020 for module in . $GTK_MODULES
29021 do
29022 case "$module" in
29023 gthread)
29024 gtk_config_args="$gtk_config_args gthread"
29025 ;;
29026 esac
29027 done
29028
29029 if test x$gtk_config_exec_prefix != x ; then
29030 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29031 if test x${GTK_CONFIG+set} != xset ; then
29032 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29033 fi
29034 fi
29035 if test x$gtk_config_prefix != x ; then
29036 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29037 if test x${GTK_CONFIG+set} != xset ; then
29038 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29039 fi
29040 fi
29041
29042 # Extract the first word of "gtk-config", so it can be a program name with args.
29043 set dummy gtk-config; ac_word=$2
29044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29046 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29047 echo $ECHO_N "(cached) $ECHO_C" >&6
29048 else
29049 case $GTK_CONFIG in
29050 [\\/]* | ?:[\\/]*)
29051 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29052 ;;
29053 *)
29054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29055 for as_dir in $PATH
29056 do
29057 IFS=$as_save_IFS
29058 test -z "$as_dir" && as_dir=.
29059 for ac_exec_ext in '' $ac_executable_extensions; do
29060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29061 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29063 break 2
29064 fi
29065 done
29066 done
29067 IFS=$as_save_IFS
29068
29069 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29070 ;;
29071 esac
29072 fi
29073 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29074 if test -n "$GTK_CONFIG"; then
29075 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29076 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29077 else
29078 { echo "$as_me:$LINENO: result: no" >&5
29079 echo "${ECHO_T}no" >&6; }
29080 fi
29081
29082
29083 min_gtk_version=1.2.3
29084 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29085 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29086 no_gtk=""
29087 if test "$GTK_CONFIG" = "no" ; then
29088 no_gtk=yes
29089 else
29090 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29091 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29092 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29093 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29094 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29095 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29096 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29097 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29098 if test "x$enable_gtktest" = "xyes" ; then
29099 ac_save_CFLAGS="$CFLAGS"
29100 ac_save_LIBS="$LIBS"
29101 CFLAGS="$CFLAGS $GTK_CFLAGS"
29102 LIBS="$GTK_LIBS $LIBS"
29103 rm -f conf.gtktest
29104 if test "$cross_compiling" = yes; then
29105 echo $ac_n "cross compiling; assumed OK... $ac_c"
29106 else
29107 cat >conftest.$ac_ext <<_ACEOF
29108 /* confdefs.h. */
29109 _ACEOF
29110 cat confdefs.h >>conftest.$ac_ext
29111 cat >>conftest.$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29113
29114 #include <gtk/gtk.h>
29115 #include <stdio.h>
29116 #include <stdlib.h>
29117
29118 int
29119 main ()
29120 {
29121 int major, minor, micro;
29122 char *tmp_version;
29123
29124 system ("touch conf.gtktest");
29125
29126 /* HP/UX 9 (%@#!) writes to sscanf strings */
29127 tmp_version = g_strdup("$min_gtk_version");
29128 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29129 printf("%s, bad version string\n", "$min_gtk_version");
29130 exit(1);
29131 }
29132
29133 if ((gtk_major_version != $gtk_config_major_version) ||
29134 (gtk_minor_version != $gtk_config_minor_version) ||
29135 (gtk_micro_version != $gtk_config_micro_version))
29136 {
29137 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29138 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29139 gtk_major_version, gtk_minor_version, gtk_micro_version);
29140 printf ("*** was found! If gtk-config was correct, then it is best\n");
29141 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29142 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29143 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29144 printf("*** required on your system.\n");
29145 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29146 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29147 printf("*** before re-running configure\n");
29148 }
29149 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29150 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29151 (gtk_minor_version != GTK_MINOR_VERSION) ||
29152 (gtk_micro_version != GTK_MICRO_VERSION))
29153 {
29154 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29155 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29156 printf("*** library (version %d.%d.%d)\n",
29157 gtk_major_version, gtk_minor_version, gtk_micro_version);
29158 }
29159 #endif /* defined (GTK_MAJOR_VERSION) ... */
29160 else
29161 {
29162 if ((gtk_major_version > major) ||
29163 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29164 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29165 {
29166 return 0;
29167 }
29168 else
29169 {
29170 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29171 gtk_major_version, gtk_minor_version, gtk_micro_version);
29172 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29173 major, minor, micro);
29174 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29175 printf("***\n");
29176 printf("*** If you have already installed a sufficiently new version, this error\n");
29177 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29178 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29179 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29180 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29181 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29182 printf("*** so that the correct libraries are found at run-time))\n");
29183 }
29184 }
29185 return 1;
29186 }
29187
29188 _ACEOF
29189 rm -f conftest$ac_exeext
29190 if { (ac_try="$ac_link"
29191 case "(($ac_try" in
29192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29193 *) ac_try_echo=$ac_try;;
29194 esac
29195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29196 (eval "$ac_link") 2>&5
29197 ac_status=$?
29198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29199 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29200 { (case "(($ac_try" in
29201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29202 *) ac_try_echo=$ac_try;;
29203 esac
29204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29205 (eval "$ac_try") 2>&5
29206 ac_status=$?
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); }; }; then
29209 :
29210 else
29211 echo "$as_me: program exited with status $ac_status" >&5
29212 echo "$as_me: failed program was:" >&5
29213 sed 's/^/| /' conftest.$ac_ext >&5
29214
29215 ( exit $ac_status )
29216 no_gtk=yes
29217 fi
29218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29219 fi
29220
29221
29222 CFLAGS="$ac_save_CFLAGS"
29223 LIBS="$ac_save_LIBS"
29224 fi
29225 fi
29226 if test "x$no_gtk" = x ; then
29227 { echo "$as_me:$LINENO: result: yes" >&5
29228 echo "${ECHO_T}yes" >&6; }
29229 wx_cv_lib_gtk=1.2.3
29230 else
29231 { echo "$as_me:$LINENO: result: no" >&5
29232 echo "${ECHO_T}no" >&6; }
29233 if test "$GTK_CONFIG" = "no" ; then
29234 echo "*** The gtk-config script installed by GTK could not be found"
29235 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29236 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29237 echo "*** full path to gtk-config."
29238 else
29239 if test -f conf.gtktest ; then
29240 :
29241 else
29242 echo "*** Could not run GTK test program, checking why..."
29243 CFLAGS="$CFLAGS $GTK_CFLAGS"
29244 LIBS="$LIBS $GTK_LIBS"
29245 cat >conftest.$ac_ext <<_ACEOF
29246 /* confdefs.h. */
29247 _ACEOF
29248 cat confdefs.h >>conftest.$ac_ext
29249 cat >>conftest.$ac_ext <<_ACEOF
29250 /* end confdefs.h. */
29251
29252 #include <gtk/gtk.h>
29253 #include <stdio.h>
29254
29255 int
29256 main ()
29257 {
29258 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29259 ;
29260 return 0;
29261 }
29262 _ACEOF
29263 rm -f conftest.$ac_objext conftest$ac_exeext
29264 if { (ac_try="$ac_link"
29265 case "(($ac_try" in
29266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29267 *) ac_try_echo=$ac_try;;
29268 esac
29269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29270 (eval "$ac_link") 2>conftest.er1
29271 ac_status=$?
29272 grep -v '^ *+' conftest.er1 >conftest.err
29273 rm -f conftest.er1
29274 cat conftest.err >&5
29275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29276 (exit $ac_status); } && {
29277 test -z "$ac_c_werror_flag" ||
29278 test ! -s conftest.err
29279 } && test -s conftest$ac_exeext &&
29280 $as_test_x conftest$ac_exeext; then
29281 echo "*** The test program compiled, but did not run. This usually means"
29282 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29283 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29284 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29285 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29286 echo "*** is required on your system"
29287 echo "***"
29288 echo "*** If you have an old version installed, it is best to remove it, although"
29289 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29290 echo "***"
29291 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29292 echo "*** came with the system with the command"
29293 echo "***"
29294 echo "*** rpm --erase --nodeps gtk gtk-devel"
29295 else
29296 echo "$as_me: failed program was:" >&5
29297 sed 's/^/| /' conftest.$ac_ext >&5
29298
29299 echo "*** The test program failed to compile or link. See the file config.log for the"
29300 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29301 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29302 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29303 fi
29304
29305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29306 conftest$ac_exeext conftest.$ac_ext
29307 CFLAGS="$ac_save_CFLAGS"
29308 LIBS="$ac_save_LIBS"
29309 fi
29310 fi
29311 GTK_CFLAGS=""
29312 GTK_LIBS=""
29313 :
29314 fi
29315
29316
29317 rm -f conf.gtktest
29318
29319 fi
29320 fi
29321 fi
29322
29323 if test -z "$wx_cv_lib_gtk"; then
29324 wx_cv_lib_gtk=none
29325 else
29326 wx_cv_cflags_gtk=$GTK_CFLAGS
29327 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29328 fi
29329
29330
29331 fi
29332
29333
29334 if test "$gtk_version_cached" = 1; then
29335 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29336 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29337 fi
29338
29339 case "$wx_cv_lib_gtk" in
29340 2.0) WXGTK2=1
29341 TOOLKIT_VERSION=2
29342 ;;
29343 1.2.7) WXGTK127=1
29344 WXGTK12=1
29345 ;;
29346 1.2.3) WXGTK12=1
29347 ;;
29348 *) { { echo "$as_me:$LINENO: error:
29349 The development files for GTK+ were not found. For GTK+ 2, please
29350 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29351 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29352 and that the version is 1.2.3 or above. Also check that the
29353 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29354 --libs' are in the LD_LIBRARY_PATH or equivalent.
29355 " >&5
29356 echo "$as_me: error:
29357 The development files for GTK+ were not found. For GTK+ 2, please
29358 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29359 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29360 and that the version is 1.2.3 or above. Also check that the
29361 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29362 --libs' are in the LD_LIBRARY_PATH or equivalent.
29363 " >&2;}
29364 { (exit 1); exit 1; }; }
29365 ;;
29366 esac
29367
29368 if test "$WXGTK2" = 1; then
29369 save_CFLAGS="$CFLAGS"
29370 save_LIBS="$LIBS"
29371 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29372 LIBS="$LIBS $wx_cv_libs_gtk"
29373
29374 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29375 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29376 cat >conftest.$ac_ext <<_ACEOF
29377 /* confdefs.h. */
29378 _ACEOF
29379 cat confdefs.h >>conftest.$ac_ext
29380 cat >>conftest.$ac_ext <<_ACEOF
29381 /* end confdefs.h. */
29382
29383 #include <gtk/gtk.h>
29384
29385 int
29386 main ()
29387 {
29388
29389 #if !GTK_CHECK_VERSION(2,10,0)
29390 Not GTK+ 2.10
29391 #endif
29392
29393 ;
29394 return 0;
29395 }
29396 _ACEOF
29397 rm -f conftest.$ac_objext
29398 if { (ac_try="$ac_compile"
29399 case "(($ac_try" in
29400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29401 *) ac_try_echo=$ac_try;;
29402 esac
29403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29404 (eval "$ac_compile") 2>conftest.er1
29405 ac_status=$?
29406 grep -v '^ *+' conftest.er1 >conftest.err
29407 rm -f conftest.er1
29408 cat conftest.err >&5
29409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29410 (exit $ac_status); } && {
29411 test -z "$ac_c_werror_flag" ||
29412 test ! -s conftest.err
29413 } && test -s conftest.$ac_objext; then
29414
29415 cat >>confdefs.h <<\_ACEOF
29416 #define __WXGTK210__ 1
29417 _ACEOF
29418
29419 cat >>confdefs.h <<\_ACEOF
29420 #define __WXGTK26__ 1
29421 _ACEOF
29422
29423 { echo "$as_me:$LINENO: result: yes" >&5
29424 echo "${ECHO_T}yes" >&6; }
29425 ac_wxgtk210=1
29426
29427 else
29428 echo "$as_me: failed program was:" >&5
29429 sed 's/^/| /' conftest.$ac_ext >&5
29430
29431
29432 { echo "$as_me:$LINENO: result: no" >&5
29433 echo "${ECHO_T}no" >&6; }
29434 ac_wxgtk210=0
29435
29436 fi
29437
29438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29439
29440 if test "$ac_wxgtk210" = 0; then
29441 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29442 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29443 cat >conftest.$ac_ext <<_ACEOF
29444 /* confdefs.h. */
29445 _ACEOF
29446 cat confdefs.h >>conftest.$ac_ext
29447 cat >>conftest.$ac_ext <<_ACEOF
29448 /* end confdefs.h. */
29449
29450 #include <gtk/gtk.h>
29451
29452 int
29453 main ()
29454 {
29455
29456 #if !GTK_CHECK_VERSION(2,6,0)
29457 Not GTK+ 2.6
29458 #endif
29459
29460 ;
29461 return 0;
29462 }
29463 _ACEOF
29464 rm -f conftest.$ac_objext
29465 if { (ac_try="$ac_compile"
29466 case "(($ac_try" in
29467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29468 *) ac_try_echo=$ac_try;;
29469 esac
29470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29471 (eval "$ac_compile") 2>conftest.er1
29472 ac_status=$?
29473 grep -v '^ *+' conftest.er1 >conftest.err
29474 rm -f conftest.er1
29475 cat conftest.err >&5
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); } && {
29478 test -z "$ac_c_werror_flag" ||
29479 test ! -s conftest.err
29480 } && test -s conftest.$ac_objext; then
29481
29482 cat >>confdefs.h <<\_ACEOF
29483 #define __WXGTK26__ 1
29484 _ACEOF
29485
29486 { echo "$as_me:$LINENO: result: yes" >&5
29487 echo "${ECHO_T}yes" >&6; }
29488 ac_wxgtk26=1
29489
29490 else
29491 echo "$as_me: failed program was:" >&5
29492 sed 's/^/| /' conftest.$ac_ext >&5
29493
29494
29495 { echo "$as_me:$LINENO: result: no" >&5
29496 echo "${ECHO_T}no" >&6; }
29497 ac_wxgtk26=0
29498
29499 fi
29500
29501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29502 fi
29503
29504 CFLAGS="$save_CFLAGS"
29505 LIBS="$save_LIBS"
29506 else
29507 if test "$wxUSE_UNICODE" = "yes"; then
29508 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29509 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29510 wxUSE_UNICODE=no
29511 fi
29512
29513 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29514 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29515 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29516 echo $ECHO_N "(cached) $ECHO_C" >&6
29517 else
29518 ac_check_lib_save_LIBS=$LIBS
29519 LIBS="-lgdk $LIBS"
29520 cat >conftest.$ac_ext <<_ACEOF
29521 /* confdefs.h. */
29522 _ACEOF
29523 cat confdefs.h >>conftest.$ac_ext
29524 cat >>conftest.$ac_ext <<_ACEOF
29525 /* end confdefs.h. */
29526
29527 /* Override any GCC internal prototype to avoid an error.
29528 Use char because int might match the return type of a GCC
29529 builtin and then its argument prototype would still apply. */
29530 #ifdef __cplusplus
29531 extern "C"
29532 #endif
29533 char gdk_im_open ();
29534 int
29535 main ()
29536 {
29537 return gdk_im_open ();
29538 ;
29539 return 0;
29540 }
29541 _ACEOF
29542 rm -f conftest.$ac_objext conftest$ac_exeext
29543 if { (ac_try="$ac_link"
29544 case "(($ac_try" in
29545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29546 *) ac_try_echo=$ac_try;;
29547 esac
29548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29549 (eval "$ac_link") 2>conftest.er1
29550 ac_status=$?
29551 grep -v '^ *+' conftest.er1 >conftest.err
29552 rm -f conftest.er1
29553 cat conftest.err >&5
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); } && {
29556 test -z "$ac_c_werror_flag" ||
29557 test ! -s conftest.err
29558 } && test -s conftest$ac_exeext &&
29559 $as_test_x conftest$ac_exeext; then
29560 ac_cv_lib_gdk_gdk_im_open=yes
29561 else
29562 echo "$as_me: failed program was:" >&5
29563 sed 's/^/| /' conftest.$ac_ext >&5
29564
29565 ac_cv_lib_gdk_gdk_im_open=no
29566 fi
29567
29568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29569 conftest$ac_exeext conftest.$ac_ext
29570 LIBS=$ac_check_lib_save_LIBS
29571 fi
29572 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29573 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29574 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29575 cat >>confdefs.h <<\_ACEOF
29576 #define HAVE_XIM 1
29577 _ACEOF
29578
29579 fi
29580
29581
29582 if test "$USE_DARWIN" != 1; then
29583
29584 for ac_func in poll
29585 do
29586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29587 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29589 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29590 echo $ECHO_N "(cached) $ECHO_C" >&6
29591 else
29592 cat >conftest.$ac_ext <<_ACEOF
29593 /* confdefs.h. */
29594 _ACEOF
29595 cat confdefs.h >>conftest.$ac_ext
29596 cat >>conftest.$ac_ext <<_ACEOF
29597 /* end confdefs.h. */
29598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29600 #define $ac_func innocuous_$ac_func
29601
29602 /* System header to define __stub macros and hopefully few prototypes,
29603 which can conflict with char $ac_func (); below.
29604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29605 <limits.h> exists even on freestanding compilers. */
29606
29607 #ifdef __STDC__
29608 # include <limits.h>
29609 #else
29610 # include <assert.h>
29611 #endif
29612
29613 #undef $ac_func
29614
29615 /* Override any GCC internal prototype to avoid an error.
29616 Use char because int might match the return type of a GCC
29617 builtin and then its argument prototype would still apply. */
29618 #ifdef __cplusplus
29619 extern "C"
29620 #endif
29621 char $ac_func ();
29622 /* The GNU C library defines this for functions which it implements
29623 to always fail with ENOSYS. Some functions are actually named
29624 something starting with __ and the normal name is an alias. */
29625 #if defined __stub_$ac_func || defined __stub___$ac_func
29626 choke me
29627 #endif
29628
29629 int
29630 main ()
29631 {
29632 return $ac_func ();
29633 ;
29634 return 0;
29635 }
29636 _ACEOF
29637 rm -f conftest.$ac_objext conftest$ac_exeext
29638 if { (ac_try="$ac_link"
29639 case "(($ac_try" in
29640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29641 *) ac_try_echo=$ac_try;;
29642 esac
29643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29644 (eval "$ac_link") 2>conftest.er1
29645 ac_status=$?
29646 grep -v '^ *+' conftest.er1 >conftest.err
29647 rm -f conftest.er1
29648 cat conftest.err >&5
29649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29650 (exit $ac_status); } && {
29651 test -z "$ac_c_werror_flag" ||
29652 test ! -s conftest.err
29653 } && test -s conftest$ac_exeext &&
29654 $as_test_x conftest$ac_exeext; then
29655 eval "$as_ac_var=yes"
29656 else
29657 echo "$as_me: failed program was:" >&5
29658 sed 's/^/| /' conftest.$ac_ext >&5
29659
29660 eval "$as_ac_var=no"
29661 fi
29662
29663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29664 conftest$ac_exeext conftest.$ac_ext
29665 fi
29666 ac_res=`eval echo '${'$as_ac_var'}'`
29667 { echo "$as_me:$LINENO: result: $ac_res" >&5
29668 echo "${ECHO_T}$ac_res" >&6; }
29669 if test `eval echo '${'$as_ac_var'}'` = yes; then
29670 cat >>confdefs.h <<_ACEOF
29671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29672 _ACEOF
29673
29674 fi
29675 done
29676
29677 fi
29678 fi
29679
29680 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29681 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29682
29683 AFMINSTALL=afminstall
29684 TOOLKIT=GTK
29685 GUIDIST=GTK_DIST
29686
29687 if test "$wxUSE_GPE" = "yes"; then
29688 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29689 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29690
29691 ac_find_libraries=
29692 for ac_dir in $SEARCH_LIB;
29693 do
29694 for ac_extension in a so sl dylib dll.a; do
29695 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29696 ac_find_libraries=$ac_dir
29697 break 2
29698 fi
29699 done
29700 done
29701
29702 if test "$ac_find_libraries" != "" ; then
29703
29704 if test "$ac_find_libraries" = "default location"; then
29705 ac_path_to_link=""
29706 else
29707 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29708 result=$?
29709 if test $result = 0; then
29710 ac_path_to_link=""
29711 else
29712 ac_path_to_link=" -L$ac_find_libraries"
29713 fi
29714 fi
29715
29716 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29717 WXGPE=1
29718 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29719 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29720 else
29721 { echo "$as_me:$LINENO: result: not found" >&5
29722 echo "${ECHO_T}not found" >&6; }
29723 fi
29724
29725 fi
29726 fi
29727
29728 if test "$wxUSE_MGL" = 1; then
29729 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29730 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29731 if test "x$MGL_ROOT" = x ; then
29732 { echo "$as_me:$LINENO: result: not found" >&5
29733 echo "${ECHO_T}not found" >&6; }
29734 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29735 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29736 { (exit 1); exit 1; }; }
29737 else
29738 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29739 echo "${ECHO_T}$MGL_ROOT" >&6; }
29740 fi
29741
29742 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29743 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29744 case "${host}" in
29745 *-*-linux* )
29746 if test "x$wxUSE_SHARED" = xyes ; then
29747 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29748 else
29749 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29750 fi
29751 ;;
29752 *-pc-msdosdjgpp )
29753 mgl_os_candidates="dos32/dj2"
29754 ;;
29755 *)
29756 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29757 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29758 { (exit 1); exit 1; }; }
29759 esac
29760
29761 mgl_lib_type=""
29762 mgl_os=""
29763
29764 for mgl_os_i in $mgl_os_candidates ; do
29765 if test "x$mgl_os" = x ; then
29766 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29767 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29768 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29769 mgl_lib_type=debug
29770 mgl_os=$mgl_os_i
29771 fi
29772 fi
29773 if test "x$mgl_lib_type" = x ; then
29774 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29775 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29776 mgl_lib_type=release
29777 mgl_os=$mgl_os_i
29778 fi
29779 fi
29780 fi
29781 done
29782
29783 if test "x$mgl_os" = x ; then
29784 { echo "$as_me:$LINENO: result: not found" >&5
29785 echo "${ECHO_T}not found" >&6; }
29786 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29787 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29788 { (exit 1); exit 1; }; }
29789 fi
29790 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29791 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29792
29793 wxUSE_UNIVERSAL="yes"
29794
29795 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29796 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29797
29798 AFMINSTALL=afminstall
29799 TOOLKIT=MGL
29800 GUIDIST=MGL_DIST
29801 fi
29802
29803 if test "$wxUSE_DFB" = 1; then
29804
29805
29806 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29807 if test -n "$ac_tool_prefix"; then
29808 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29809 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29810 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29812 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29813 echo $ECHO_N "(cached) $ECHO_C" >&6
29814 else
29815 case $PKG_CONFIG in
29816 [\\/]* | ?:[\\/]*)
29817 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29818 ;;
29819 *)
29820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29821 for as_dir in $PATH
29822 do
29823 IFS=$as_save_IFS
29824 test -z "$as_dir" && as_dir=.
29825 for ac_exec_ext in '' $ac_executable_extensions; do
29826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29827 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29829 break 2
29830 fi
29831 done
29832 done
29833 IFS=$as_save_IFS
29834
29835 ;;
29836 esac
29837 fi
29838 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29839 if test -n "$PKG_CONFIG"; then
29840 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29841 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29842 else
29843 { echo "$as_me:$LINENO: result: no" >&5
29844 echo "${ECHO_T}no" >&6; }
29845 fi
29846
29847
29848 fi
29849 if test -z "$ac_cv_path_PKG_CONFIG"; then
29850 ac_pt_PKG_CONFIG=$PKG_CONFIG
29851 # Extract the first word of "pkg-config", so it can be a program name with args.
29852 set dummy pkg-config; ac_word=$2
29853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29855 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29856 echo $ECHO_N "(cached) $ECHO_C" >&6
29857 else
29858 case $ac_pt_PKG_CONFIG in
29859 [\\/]* | ?:[\\/]*)
29860 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29861 ;;
29862 *)
29863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29864 for as_dir in $PATH
29865 do
29866 IFS=$as_save_IFS
29867 test -z "$as_dir" && as_dir=.
29868 for ac_exec_ext in '' $ac_executable_extensions; do
29869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29870 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29872 break 2
29873 fi
29874 done
29875 done
29876 IFS=$as_save_IFS
29877
29878 ;;
29879 esac
29880 fi
29881 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29882 if test -n "$ac_pt_PKG_CONFIG"; then
29883 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29884 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29885 else
29886 { echo "$as_me:$LINENO: result: no" >&5
29887 echo "${ECHO_T}no" >&6; }
29888 fi
29889
29890 if test "x$ac_pt_PKG_CONFIG" = x; then
29891 PKG_CONFIG=""
29892 else
29893 case $cross_compiling:$ac_tool_warned in
29894 yes:)
29895 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29896 whose name does not start with the host triplet. If you think this
29897 configuration is useful to you, please write to autoconf@gnu.org." >&5
29898 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29899 whose name does not start with the host triplet. If you think this
29900 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29901 ac_tool_warned=yes ;;
29902 esac
29903 PKG_CONFIG=$ac_pt_PKG_CONFIG
29904 fi
29905 else
29906 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29907 fi
29908
29909 fi
29910 if test -n "$PKG_CONFIG"; then
29911 _pkg_min_version=0.9.0
29912 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29913 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29914 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29915 { echo "$as_me:$LINENO: result: yes" >&5
29916 echo "${ECHO_T}yes" >&6; }
29917 else
29918 { echo "$as_me:$LINENO: result: no" >&5
29919 echo "${ECHO_T}no" >&6; }
29920 PKG_CONFIG=""
29921 fi
29922
29923 fi
29924
29925
29926 pkg_failed=no
29927 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29928 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29929
29930 if test -n "$PKG_CONFIG"; then
29931 if test -n "$DIRECTFB_CFLAGS"; then
29932 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29933 else
29934 if test -n "$PKG_CONFIG" && \
29935 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29936 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29937 ac_status=$?
29938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29939 (exit $ac_status); }; then
29940 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29941 else
29942 pkg_failed=yes
29943 fi
29944 fi
29945 else
29946 pkg_failed=untried
29947 fi
29948 if test -n "$PKG_CONFIG"; then
29949 if test -n "$DIRECTFB_LIBS"; then
29950 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29951 else
29952 if test -n "$PKG_CONFIG" && \
29953 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29954 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29955 ac_status=$?
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); }; then
29958 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29959 else
29960 pkg_failed=yes
29961 fi
29962 fi
29963 else
29964 pkg_failed=untried
29965 fi
29966
29967
29968
29969 if test $pkg_failed = yes; then
29970
29971 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29972 _pkg_short_errors_supported=yes
29973 else
29974 _pkg_short_errors_supported=no
29975 fi
29976 if test $_pkg_short_errors_supported = yes; then
29977 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29978 else
29979 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29980 fi
29981 # Put the nasty error message in config.log where it belongs
29982 echo "$DIRECTFB_PKG_ERRORS" >&5
29983
29984
29985 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29986 echo "$as_me: error: DirectFB not found." >&2;}
29987 { (exit 1); exit 1; }; }
29988
29989
29990 elif test $pkg_failed = untried; then
29991
29992 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29993 echo "$as_me: error: DirectFB not found." >&2;}
29994 { (exit 1); exit 1; }; }
29995
29996
29997 else
29998 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29999 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30000 { echo "$as_me:$LINENO: result: yes" >&5
30001 echo "${ECHO_T}yes" >&6; }
30002
30003 wxUSE_UNIVERSAL="yes"
30004 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30005 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30006 TOOLKIT=DFB
30007 GUIDIST=DFB_DIST
30008
30009 fi
30010 fi
30011
30012 if test "$wxUSE_MICROWIN" = 1; then
30013 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30014 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30015 if test "x$MICROWINDOWS" = x ; then
30016 { echo "$as_me:$LINENO: result: not found" >&5
30017 echo "${ECHO_T}not found" >&6; }
30018 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30019 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30020 { (exit 1); exit 1; }; }
30021 else
30022 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30023 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30024 fi
30025
30026 if test -f $MICROWINDOWS/lib/libmwin.a; then
30027 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30028 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30029 else
30030 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30031 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30032 { (exit 1); exit 1; }; }
30033 fi
30034
30035 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30036 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30037
30038 wxUSE_UNIVERSAL="yes"
30039
30040 AFMINSTALL=afminstall
30041 TOOLKIT=MICROWIN
30042 GUIDIST=MICROWIN_DIST
30043
30044 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30045 fi
30046
30047 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30048 { echo "$as_me:$LINENO: checking for X" >&5
30049 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30050
30051
30052 # Check whether --with-x was given.
30053 if test "${with_x+set}" = set; then
30054 withval=$with_x;
30055 fi
30056
30057 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30058 if test "x$with_x" = xno; then
30059 # The user explicitly disabled X.
30060 have_x=disabled
30061 else
30062 case $x_includes,$x_libraries in #(
30063 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30064 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30065 { (exit 1); exit 1; }; };; #(
30066 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30067 echo $ECHO_N "(cached) $ECHO_C" >&6
30068 else
30069 # One or both of the vars are not set, and there is no cached value.
30070 ac_x_includes=no ac_x_libraries=no
30071 rm -f -r conftest.dir
30072 if mkdir conftest.dir; then
30073 cd conftest.dir
30074 cat >Imakefile <<'_ACEOF'
30075 incroot:
30076 @echo incroot='${INCROOT}'
30077 usrlibdir:
30078 @echo usrlibdir='${USRLIBDIR}'
30079 libdir:
30080 @echo libdir='${LIBDIR}'
30081 _ACEOF
30082 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30083 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30084 for ac_var in incroot usrlibdir libdir; do
30085 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30086 done
30087 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30088 for ac_extension in a so sl; do
30089 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30090 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30091 ac_im_usrlibdir=$ac_im_libdir; break
30092 fi
30093 done
30094 # Screen out bogus values from the imake configuration. They are
30095 # bogus both because they are the default anyway, and because
30096 # using them would break gcc on systems where it needs fixed includes.
30097 case $ac_im_incroot in
30098 /usr/include) ac_x_includes= ;;
30099 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30100 esac
30101 case $ac_im_usrlibdir in
30102 /usr/lib | /lib) ;;
30103 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30104 esac
30105 fi
30106 cd ..
30107 rm -f -r conftest.dir
30108 fi
30109
30110 # Standard set of common directories for X headers.
30111 # Check X11 before X11Rn because it is often a symlink to the current release.
30112 ac_x_header_dirs='
30113 /usr/X11/include
30114 /usr/X11R6/include
30115 /usr/X11R5/include
30116 /usr/X11R4/include
30117
30118 /usr/include/X11
30119 /usr/include/X11R6
30120 /usr/include/X11R5
30121 /usr/include/X11R4
30122
30123 /usr/local/X11/include
30124 /usr/local/X11R6/include
30125 /usr/local/X11R5/include
30126 /usr/local/X11R4/include
30127
30128 /usr/local/include/X11
30129 /usr/local/include/X11R6
30130 /usr/local/include/X11R5
30131 /usr/local/include/X11R4
30132
30133 /usr/X386/include
30134 /usr/x386/include
30135 /usr/XFree86/include/X11
30136
30137 /usr/include
30138 /usr/local/include
30139 /usr/unsupported/include
30140 /usr/athena/include
30141 /usr/local/x11r5/include
30142 /usr/lpp/Xamples/include
30143
30144 /usr/openwin/include
30145 /usr/openwin/share/include'
30146
30147 if test "$ac_x_includes" = no; then
30148 # Guess where to find include files, by looking for Xlib.h.
30149 # First, try using that file with no special directory specified.
30150 cat >conftest.$ac_ext <<_ACEOF
30151 /* confdefs.h. */
30152 _ACEOF
30153 cat confdefs.h >>conftest.$ac_ext
30154 cat >>conftest.$ac_ext <<_ACEOF
30155 /* end confdefs.h. */
30156 #include <X11/Xlib.h>
30157 _ACEOF
30158 if { (ac_try="$ac_cpp conftest.$ac_ext"
30159 case "(($ac_try" in
30160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30161 *) ac_try_echo=$ac_try;;
30162 esac
30163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30164 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30165 ac_status=$?
30166 grep -v '^ *+' conftest.er1 >conftest.err
30167 rm -f conftest.er1
30168 cat conftest.err >&5
30169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170 (exit $ac_status); } >/dev/null && {
30171 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30172 test ! -s conftest.err
30173 }; then
30174 # We can compile using X headers with no special include directory.
30175 ac_x_includes=
30176 else
30177 echo "$as_me: failed program was:" >&5
30178 sed 's/^/| /' conftest.$ac_ext >&5
30179
30180 for ac_dir in $ac_x_header_dirs; do
30181 if test -r "$ac_dir/X11/Xlib.h"; then
30182 ac_x_includes=$ac_dir
30183 break
30184 fi
30185 done
30186 fi
30187
30188 rm -f conftest.err conftest.$ac_ext
30189 fi # $ac_x_includes = no
30190
30191 if test "$ac_x_libraries" = no; then
30192 # Check for the libraries.
30193 # See if we find them without any special options.
30194 # Don't add to $LIBS permanently.
30195 ac_save_LIBS=$LIBS
30196 LIBS="-lX11 $LIBS"
30197 cat >conftest.$ac_ext <<_ACEOF
30198 /* confdefs.h. */
30199 _ACEOF
30200 cat confdefs.h >>conftest.$ac_ext
30201 cat >>conftest.$ac_ext <<_ACEOF
30202 /* end confdefs.h. */
30203 #include <X11/Xlib.h>
30204 int
30205 main ()
30206 {
30207 XrmInitialize ()
30208 ;
30209 return 0;
30210 }
30211 _ACEOF
30212 rm -f conftest.$ac_objext conftest$ac_exeext
30213 if { (ac_try="$ac_link"
30214 case "(($ac_try" in
30215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30216 *) ac_try_echo=$ac_try;;
30217 esac
30218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30219 (eval "$ac_link") 2>conftest.er1
30220 ac_status=$?
30221 grep -v '^ *+' conftest.er1 >conftest.err
30222 rm -f conftest.er1
30223 cat conftest.err >&5
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); } && {
30226 test -z "$ac_c_werror_flag" ||
30227 test ! -s conftest.err
30228 } && test -s conftest$ac_exeext &&
30229 $as_test_x conftest$ac_exeext; then
30230 LIBS=$ac_save_LIBS
30231 # We can link X programs with no special library path.
30232 ac_x_libraries=
30233 else
30234 echo "$as_me: failed program was:" >&5
30235 sed 's/^/| /' conftest.$ac_ext >&5
30236
30237 LIBS=$ac_save_LIBS
30238 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30239 do
30240 # Don't even attempt the hair of trying to link an X program!
30241 for ac_extension in a so sl; do
30242 if test -r "$ac_dir/libX11.$ac_extension"; then
30243 ac_x_libraries=$ac_dir
30244 break 2
30245 fi
30246 done
30247 done
30248 fi
30249
30250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30251 conftest$ac_exeext conftest.$ac_ext
30252 fi # $ac_x_libraries = no
30253
30254 case $ac_x_includes,$ac_x_libraries in #(
30255 no,* | *,no | *\'*)
30256 # Didn't find X, or a directory has "'" in its name.
30257 ac_cv_have_x="have_x=no";; #(
30258 *)
30259 # Record where we found X for the cache.
30260 ac_cv_have_x="have_x=yes\
30261 ac_x_includes='$ac_x_includes'\
30262 ac_x_libraries='$ac_x_libraries'"
30263 esac
30264 fi
30265 ;; #(
30266 *) have_x=yes;;
30267 esac
30268 eval "$ac_cv_have_x"
30269 fi # $with_x != no
30270
30271 if test "$have_x" != yes; then
30272 { echo "$as_me:$LINENO: result: $have_x" >&5
30273 echo "${ECHO_T}$have_x" >&6; }
30274 no_x=yes
30275 else
30276 # If each of the values was on the command line, it overrides each guess.
30277 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30278 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30279 # Update the cache value to reflect the command line values.
30280 ac_cv_have_x="have_x=yes\
30281 ac_x_includes='$x_includes'\
30282 ac_x_libraries='$x_libraries'"
30283 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30284 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30285 fi
30286
30287 if test "$no_x" = yes; then
30288 # Not all programs may use this symbol, but it does not hurt to define it.
30289
30290 cat >>confdefs.h <<\_ACEOF
30291 #define X_DISPLAY_MISSING 1
30292 _ACEOF
30293
30294 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30295 else
30296 if test -n "$x_includes"; then
30297 X_CFLAGS="$X_CFLAGS -I$x_includes"
30298 fi
30299
30300 # It would also be nice to do this for all -L options, not just this one.
30301 if test -n "$x_libraries"; then
30302 X_LIBS="$X_LIBS -L$x_libraries"
30303 # For Solaris; some versions of Sun CC require a space after -R and
30304 # others require no space. Words are not sufficient . . . .
30305 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30306 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30307 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30308 ac_xsave_c_werror_flag=$ac_c_werror_flag
30309 ac_c_werror_flag=yes
30310 cat >conftest.$ac_ext <<_ACEOF
30311 /* confdefs.h. */
30312 _ACEOF
30313 cat confdefs.h >>conftest.$ac_ext
30314 cat >>conftest.$ac_ext <<_ACEOF
30315 /* end confdefs.h. */
30316
30317 int
30318 main ()
30319 {
30320
30321 ;
30322 return 0;
30323 }
30324 _ACEOF
30325 rm -f conftest.$ac_objext conftest$ac_exeext
30326 if { (ac_try="$ac_link"
30327 case "(($ac_try" in
30328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30329 *) ac_try_echo=$ac_try;;
30330 esac
30331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30332 (eval "$ac_link") 2>conftest.er1
30333 ac_status=$?
30334 grep -v '^ *+' conftest.er1 >conftest.err
30335 rm -f conftest.er1
30336 cat conftest.err >&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); } && {
30339 test -z "$ac_c_werror_flag" ||
30340 test ! -s conftest.err
30341 } && test -s conftest$ac_exeext &&
30342 $as_test_x conftest$ac_exeext; then
30343 { echo "$as_me:$LINENO: result: no" >&5
30344 echo "${ECHO_T}no" >&6; }
30345 X_LIBS="$X_LIBS -R$x_libraries"
30346 else
30347 echo "$as_me: failed program was:" >&5
30348 sed 's/^/| /' conftest.$ac_ext >&5
30349
30350 LIBS="$ac_xsave_LIBS -R $x_libraries"
30351 cat >conftest.$ac_ext <<_ACEOF
30352 /* confdefs.h. */
30353 _ACEOF
30354 cat confdefs.h >>conftest.$ac_ext
30355 cat >>conftest.$ac_ext <<_ACEOF
30356 /* end confdefs.h. */
30357
30358 int
30359 main ()
30360 {
30361
30362 ;
30363 return 0;
30364 }
30365 _ACEOF
30366 rm -f conftest.$ac_objext conftest$ac_exeext
30367 if { (ac_try="$ac_link"
30368 case "(($ac_try" in
30369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30370 *) ac_try_echo=$ac_try;;
30371 esac
30372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30373 (eval "$ac_link") 2>conftest.er1
30374 ac_status=$?
30375 grep -v '^ *+' conftest.er1 >conftest.err
30376 rm -f conftest.er1
30377 cat conftest.err >&5
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); } && {
30380 test -z "$ac_c_werror_flag" ||
30381 test ! -s conftest.err
30382 } && test -s conftest$ac_exeext &&
30383 $as_test_x conftest$ac_exeext; then
30384 { echo "$as_me:$LINENO: result: yes" >&5
30385 echo "${ECHO_T}yes" >&6; }
30386 X_LIBS="$X_LIBS -R $x_libraries"
30387 else
30388 echo "$as_me: failed program was:" >&5
30389 sed 's/^/| /' conftest.$ac_ext >&5
30390
30391 { echo "$as_me:$LINENO: result: neither works" >&5
30392 echo "${ECHO_T}neither works" >&6; }
30393 fi
30394
30395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30396 conftest$ac_exeext conftest.$ac_ext
30397 fi
30398
30399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30400 conftest$ac_exeext conftest.$ac_ext
30401 ac_c_werror_flag=$ac_xsave_c_werror_flag
30402 LIBS=$ac_xsave_LIBS
30403 fi
30404
30405 # Check for system-dependent libraries X programs must link with.
30406 # Do this before checking for the system-independent R6 libraries
30407 # (-lICE), since we may need -lsocket or whatever for X linking.
30408
30409 if test "$ISC" = yes; then
30410 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30411 else
30412 # Martyn Johnson says this is needed for Ultrix, if the X
30413 # libraries were built with DECnet support. And Karl Berry says
30414 # the Alpha needs dnet_stub (dnet does not exist).
30415 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30416 cat >conftest.$ac_ext <<_ACEOF
30417 /* confdefs.h. */
30418 _ACEOF
30419 cat confdefs.h >>conftest.$ac_ext
30420 cat >>conftest.$ac_ext <<_ACEOF
30421 /* end confdefs.h. */
30422
30423 /* Override any GCC internal prototype to avoid an error.
30424 Use char because int might match the return type of a GCC
30425 builtin and then its argument prototype would still apply. */
30426 #ifdef __cplusplus
30427 extern "C"
30428 #endif
30429 char XOpenDisplay ();
30430 int
30431 main ()
30432 {
30433 return XOpenDisplay ();
30434 ;
30435 return 0;
30436 }
30437 _ACEOF
30438 rm -f conftest.$ac_objext conftest$ac_exeext
30439 if { (ac_try="$ac_link"
30440 case "(($ac_try" in
30441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30442 *) ac_try_echo=$ac_try;;
30443 esac
30444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30445 (eval "$ac_link") 2>conftest.er1
30446 ac_status=$?
30447 grep -v '^ *+' conftest.er1 >conftest.err
30448 rm -f conftest.er1
30449 cat conftest.err >&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } && {
30452 test -z "$ac_c_werror_flag" ||
30453 test ! -s conftest.err
30454 } && test -s conftest$ac_exeext &&
30455 $as_test_x conftest$ac_exeext; then
30456 :
30457 else
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30460
30461 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30462 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30463 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30464 echo $ECHO_N "(cached) $ECHO_C" >&6
30465 else
30466 ac_check_lib_save_LIBS=$LIBS
30467 LIBS="-ldnet $LIBS"
30468 cat >conftest.$ac_ext <<_ACEOF
30469 /* confdefs.h. */
30470 _ACEOF
30471 cat confdefs.h >>conftest.$ac_ext
30472 cat >>conftest.$ac_ext <<_ACEOF
30473 /* end confdefs.h. */
30474
30475 /* Override any GCC internal prototype to avoid an error.
30476 Use char because int might match the return type of a GCC
30477 builtin and then its argument prototype would still apply. */
30478 #ifdef __cplusplus
30479 extern "C"
30480 #endif
30481 char dnet_ntoa ();
30482 int
30483 main ()
30484 {
30485 return dnet_ntoa ();
30486 ;
30487 return 0;
30488 }
30489 _ACEOF
30490 rm -f conftest.$ac_objext conftest$ac_exeext
30491 if { (ac_try="$ac_link"
30492 case "(($ac_try" in
30493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30494 *) ac_try_echo=$ac_try;;
30495 esac
30496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30497 (eval "$ac_link") 2>conftest.er1
30498 ac_status=$?
30499 grep -v '^ *+' conftest.er1 >conftest.err
30500 rm -f conftest.er1
30501 cat conftest.err >&5
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); } && {
30504 test -z "$ac_c_werror_flag" ||
30505 test ! -s conftest.err
30506 } && test -s conftest$ac_exeext &&
30507 $as_test_x conftest$ac_exeext; then
30508 ac_cv_lib_dnet_dnet_ntoa=yes
30509 else
30510 echo "$as_me: failed program was:" >&5
30511 sed 's/^/| /' conftest.$ac_ext >&5
30512
30513 ac_cv_lib_dnet_dnet_ntoa=no
30514 fi
30515
30516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30517 conftest$ac_exeext conftest.$ac_ext
30518 LIBS=$ac_check_lib_save_LIBS
30519 fi
30520 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30521 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30522 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30523 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30524 fi
30525
30526 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30527 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30528 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30529 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30530 echo $ECHO_N "(cached) $ECHO_C" >&6
30531 else
30532 ac_check_lib_save_LIBS=$LIBS
30533 LIBS="-ldnet_stub $LIBS"
30534 cat >conftest.$ac_ext <<_ACEOF
30535 /* confdefs.h. */
30536 _ACEOF
30537 cat confdefs.h >>conftest.$ac_ext
30538 cat >>conftest.$ac_ext <<_ACEOF
30539 /* end confdefs.h. */
30540
30541 /* Override any GCC internal prototype to avoid an error.
30542 Use char because int might match the return type of a GCC
30543 builtin and then its argument prototype would still apply. */
30544 #ifdef __cplusplus
30545 extern "C"
30546 #endif
30547 char dnet_ntoa ();
30548 int
30549 main ()
30550 {
30551 return dnet_ntoa ();
30552 ;
30553 return 0;
30554 }
30555 _ACEOF
30556 rm -f conftest.$ac_objext conftest$ac_exeext
30557 if { (ac_try="$ac_link"
30558 case "(($ac_try" in
30559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30560 *) ac_try_echo=$ac_try;;
30561 esac
30562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30563 (eval "$ac_link") 2>conftest.er1
30564 ac_status=$?
30565 grep -v '^ *+' conftest.er1 >conftest.err
30566 rm -f conftest.er1
30567 cat conftest.err >&5
30568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30569 (exit $ac_status); } && {
30570 test -z "$ac_c_werror_flag" ||
30571 test ! -s conftest.err
30572 } && test -s conftest$ac_exeext &&
30573 $as_test_x conftest$ac_exeext; then
30574 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30575 else
30576 echo "$as_me: failed program was:" >&5
30577 sed 's/^/| /' conftest.$ac_ext >&5
30578
30579 ac_cv_lib_dnet_stub_dnet_ntoa=no
30580 fi
30581
30582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30583 conftest$ac_exeext conftest.$ac_ext
30584 LIBS=$ac_check_lib_save_LIBS
30585 fi
30586 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30587 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30588 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30589 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30590 fi
30591
30592 fi
30593 fi
30594
30595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30596 conftest$ac_exeext conftest.$ac_ext
30597 LIBS="$ac_xsave_LIBS"
30598
30599 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30600 # to get the SysV transport functions.
30601 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30602 # needs -lnsl.
30603 # The nsl library prevents programs from opening the X display
30604 # on Irix 5.2, according to T.E. Dickey.
30605 # The functions gethostbyname, getservbyname, and inet_addr are
30606 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30607 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30608 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30609 if test "${ac_cv_func_gethostbyname+set}" = set; then
30610 echo $ECHO_N "(cached) $ECHO_C" >&6
30611 else
30612 cat >conftest.$ac_ext <<_ACEOF
30613 /* confdefs.h. */
30614 _ACEOF
30615 cat confdefs.h >>conftest.$ac_ext
30616 cat >>conftest.$ac_ext <<_ACEOF
30617 /* end confdefs.h. */
30618 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30620 #define gethostbyname innocuous_gethostbyname
30621
30622 /* System header to define __stub macros and hopefully few prototypes,
30623 which can conflict with char gethostbyname (); below.
30624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30625 <limits.h> exists even on freestanding compilers. */
30626
30627 #ifdef __STDC__
30628 # include <limits.h>
30629 #else
30630 # include <assert.h>
30631 #endif
30632
30633 #undef gethostbyname
30634
30635 /* Override any GCC internal prototype to avoid an error.
30636 Use char because int might match the return type of a GCC
30637 builtin and then its argument prototype would still apply. */
30638 #ifdef __cplusplus
30639 extern "C"
30640 #endif
30641 char gethostbyname ();
30642 /* The GNU C library defines this for functions which it implements
30643 to always fail with ENOSYS. Some functions are actually named
30644 something starting with __ and the normal name is an alias. */
30645 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30646 choke me
30647 #endif
30648
30649 int
30650 main ()
30651 {
30652 return gethostbyname ();
30653 ;
30654 return 0;
30655 }
30656 _ACEOF
30657 rm -f conftest.$ac_objext conftest$ac_exeext
30658 if { (ac_try="$ac_link"
30659 case "(($ac_try" in
30660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30661 *) ac_try_echo=$ac_try;;
30662 esac
30663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30664 (eval "$ac_link") 2>conftest.er1
30665 ac_status=$?
30666 grep -v '^ *+' conftest.er1 >conftest.err
30667 rm -f conftest.er1
30668 cat conftest.err >&5
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); } && {
30671 test -z "$ac_c_werror_flag" ||
30672 test ! -s conftest.err
30673 } && test -s conftest$ac_exeext &&
30674 $as_test_x conftest$ac_exeext; then
30675 ac_cv_func_gethostbyname=yes
30676 else
30677 echo "$as_me: failed program was:" >&5
30678 sed 's/^/| /' conftest.$ac_ext >&5
30679
30680 ac_cv_func_gethostbyname=no
30681 fi
30682
30683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30684 conftest$ac_exeext conftest.$ac_ext
30685 fi
30686 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30687 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30688
30689 if test $ac_cv_func_gethostbyname = no; then
30690 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30691 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30692 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30693 echo $ECHO_N "(cached) $ECHO_C" >&6
30694 else
30695 ac_check_lib_save_LIBS=$LIBS
30696 LIBS="-lnsl $LIBS"
30697 cat >conftest.$ac_ext <<_ACEOF
30698 /* confdefs.h. */
30699 _ACEOF
30700 cat confdefs.h >>conftest.$ac_ext
30701 cat >>conftest.$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30703
30704 /* Override any GCC internal prototype to avoid an error.
30705 Use char because int might match the return type of a GCC
30706 builtin and then its argument prototype would still apply. */
30707 #ifdef __cplusplus
30708 extern "C"
30709 #endif
30710 char gethostbyname ();
30711 int
30712 main ()
30713 {
30714 return gethostbyname ();
30715 ;
30716 return 0;
30717 }
30718 _ACEOF
30719 rm -f conftest.$ac_objext conftest$ac_exeext
30720 if { (ac_try="$ac_link"
30721 case "(($ac_try" in
30722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30723 *) ac_try_echo=$ac_try;;
30724 esac
30725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30726 (eval "$ac_link") 2>conftest.er1
30727 ac_status=$?
30728 grep -v '^ *+' conftest.er1 >conftest.err
30729 rm -f conftest.er1
30730 cat conftest.err >&5
30731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30732 (exit $ac_status); } && {
30733 test -z "$ac_c_werror_flag" ||
30734 test ! -s conftest.err
30735 } && test -s conftest$ac_exeext &&
30736 $as_test_x conftest$ac_exeext; then
30737 ac_cv_lib_nsl_gethostbyname=yes
30738 else
30739 echo "$as_me: failed program was:" >&5
30740 sed 's/^/| /' conftest.$ac_ext >&5
30741
30742 ac_cv_lib_nsl_gethostbyname=no
30743 fi
30744
30745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30746 conftest$ac_exeext conftest.$ac_ext
30747 LIBS=$ac_check_lib_save_LIBS
30748 fi
30749 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30750 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30751 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30752 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30753 fi
30754
30755 if test $ac_cv_lib_nsl_gethostbyname = no; then
30756 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30757 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30758 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30759 echo $ECHO_N "(cached) $ECHO_C" >&6
30760 else
30761 ac_check_lib_save_LIBS=$LIBS
30762 LIBS="-lbsd $LIBS"
30763 cat >conftest.$ac_ext <<_ACEOF
30764 /* confdefs.h. */
30765 _ACEOF
30766 cat confdefs.h >>conftest.$ac_ext
30767 cat >>conftest.$ac_ext <<_ACEOF
30768 /* end confdefs.h. */
30769
30770 /* Override any GCC internal prototype to avoid an error.
30771 Use char because int might match the return type of a GCC
30772 builtin and then its argument prototype would still apply. */
30773 #ifdef __cplusplus
30774 extern "C"
30775 #endif
30776 char gethostbyname ();
30777 int
30778 main ()
30779 {
30780 return gethostbyname ();
30781 ;
30782 return 0;
30783 }
30784 _ACEOF
30785 rm -f conftest.$ac_objext conftest$ac_exeext
30786 if { (ac_try="$ac_link"
30787 case "(($ac_try" in
30788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30789 *) ac_try_echo=$ac_try;;
30790 esac
30791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30792 (eval "$ac_link") 2>conftest.er1
30793 ac_status=$?
30794 grep -v '^ *+' conftest.er1 >conftest.err
30795 rm -f conftest.er1
30796 cat conftest.err >&5
30797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30798 (exit $ac_status); } && {
30799 test -z "$ac_c_werror_flag" ||
30800 test ! -s conftest.err
30801 } && test -s conftest$ac_exeext &&
30802 $as_test_x conftest$ac_exeext; then
30803 ac_cv_lib_bsd_gethostbyname=yes
30804 else
30805 echo "$as_me: failed program was:" >&5
30806 sed 's/^/| /' conftest.$ac_ext >&5
30807
30808 ac_cv_lib_bsd_gethostbyname=no
30809 fi
30810
30811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30812 conftest$ac_exeext conftest.$ac_ext
30813 LIBS=$ac_check_lib_save_LIBS
30814 fi
30815 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30816 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30817 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30818 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30819 fi
30820
30821 fi
30822 fi
30823
30824 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30825 # socket/setsockopt and other routines are undefined under SCO ODT
30826 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30827 # on later versions), says Simon Leinen: it contains gethostby*
30828 # variants that don't use the name server (or something). -lsocket
30829 # must be given before -lnsl if both are needed. We assume that
30830 # if connect needs -lnsl, so does gethostbyname.
30831 { echo "$as_me:$LINENO: checking for connect" >&5
30832 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30833 if test "${ac_cv_func_connect+set}" = set; then
30834 echo $ECHO_N "(cached) $ECHO_C" >&6
30835 else
30836 cat >conftest.$ac_ext <<_ACEOF
30837 /* confdefs.h. */
30838 _ACEOF
30839 cat confdefs.h >>conftest.$ac_ext
30840 cat >>conftest.$ac_ext <<_ACEOF
30841 /* end confdefs.h. */
30842 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30844 #define connect innocuous_connect
30845
30846 /* System header to define __stub macros and hopefully few prototypes,
30847 which can conflict with char connect (); below.
30848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30849 <limits.h> exists even on freestanding compilers. */
30850
30851 #ifdef __STDC__
30852 # include <limits.h>
30853 #else
30854 # include <assert.h>
30855 #endif
30856
30857 #undef connect
30858
30859 /* Override any GCC internal prototype to avoid an error.
30860 Use char because int might match the return type of a GCC
30861 builtin and then its argument prototype would still apply. */
30862 #ifdef __cplusplus
30863 extern "C"
30864 #endif
30865 char connect ();
30866 /* The GNU C library defines this for functions which it implements
30867 to always fail with ENOSYS. Some functions are actually named
30868 something starting with __ and the normal name is an alias. */
30869 #if defined __stub_connect || defined __stub___connect
30870 choke me
30871 #endif
30872
30873 int
30874 main ()
30875 {
30876 return connect ();
30877 ;
30878 return 0;
30879 }
30880 _ACEOF
30881 rm -f conftest.$ac_objext conftest$ac_exeext
30882 if { (ac_try="$ac_link"
30883 case "(($ac_try" in
30884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30885 *) ac_try_echo=$ac_try;;
30886 esac
30887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30888 (eval "$ac_link") 2>conftest.er1
30889 ac_status=$?
30890 grep -v '^ *+' conftest.er1 >conftest.err
30891 rm -f conftest.er1
30892 cat conftest.err >&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); } && {
30895 test -z "$ac_c_werror_flag" ||
30896 test ! -s conftest.err
30897 } && test -s conftest$ac_exeext &&
30898 $as_test_x conftest$ac_exeext; then
30899 ac_cv_func_connect=yes
30900 else
30901 echo "$as_me: failed program was:" >&5
30902 sed 's/^/| /' conftest.$ac_ext >&5
30903
30904 ac_cv_func_connect=no
30905 fi
30906
30907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30908 conftest$ac_exeext conftest.$ac_ext
30909 fi
30910 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30911 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30912
30913 if test $ac_cv_func_connect = no; then
30914 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30915 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30916 if test "${ac_cv_lib_socket_connect+set}" = set; then
30917 echo $ECHO_N "(cached) $ECHO_C" >&6
30918 else
30919 ac_check_lib_save_LIBS=$LIBS
30920 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30921 cat >conftest.$ac_ext <<_ACEOF
30922 /* confdefs.h. */
30923 _ACEOF
30924 cat confdefs.h >>conftest.$ac_ext
30925 cat >>conftest.$ac_ext <<_ACEOF
30926 /* end confdefs.h. */
30927
30928 /* Override any GCC internal prototype to avoid an error.
30929 Use char because int might match the return type of a GCC
30930 builtin and then its argument prototype would still apply. */
30931 #ifdef __cplusplus
30932 extern "C"
30933 #endif
30934 char connect ();
30935 int
30936 main ()
30937 {
30938 return connect ();
30939 ;
30940 return 0;
30941 }
30942 _ACEOF
30943 rm -f conftest.$ac_objext conftest$ac_exeext
30944 if { (ac_try="$ac_link"
30945 case "(($ac_try" in
30946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30947 *) ac_try_echo=$ac_try;;
30948 esac
30949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30950 (eval "$ac_link") 2>conftest.er1
30951 ac_status=$?
30952 grep -v '^ *+' conftest.er1 >conftest.err
30953 rm -f conftest.er1
30954 cat conftest.err >&5
30955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30956 (exit $ac_status); } && {
30957 test -z "$ac_c_werror_flag" ||
30958 test ! -s conftest.err
30959 } && test -s conftest$ac_exeext &&
30960 $as_test_x conftest$ac_exeext; then
30961 ac_cv_lib_socket_connect=yes
30962 else
30963 echo "$as_me: failed program was:" >&5
30964 sed 's/^/| /' conftest.$ac_ext >&5
30965
30966 ac_cv_lib_socket_connect=no
30967 fi
30968
30969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30970 conftest$ac_exeext conftest.$ac_ext
30971 LIBS=$ac_check_lib_save_LIBS
30972 fi
30973 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30974 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30975 if test $ac_cv_lib_socket_connect = yes; then
30976 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30977 fi
30978
30979 fi
30980
30981 # Guillermo Gomez says -lposix is necessary on A/UX.
30982 { echo "$as_me:$LINENO: checking for remove" >&5
30983 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30984 if test "${ac_cv_func_remove+set}" = set; then
30985 echo $ECHO_N "(cached) $ECHO_C" >&6
30986 else
30987 cat >conftest.$ac_ext <<_ACEOF
30988 /* confdefs.h. */
30989 _ACEOF
30990 cat confdefs.h >>conftest.$ac_ext
30991 cat >>conftest.$ac_ext <<_ACEOF
30992 /* end confdefs.h. */
30993 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30995 #define remove innocuous_remove
30996
30997 /* System header to define __stub macros and hopefully few prototypes,
30998 which can conflict with char remove (); below.
30999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31000 <limits.h> exists even on freestanding compilers. */
31001
31002 #ifdef __STDC__
31003 # include <limits.h>
31004 #else
31005 # include <assert.h>
31006 #endif
31007
31008 #undef remove
31009
31010 /* Override any GCC internal prototype to avoid an error.
31011 Use char because int might match the return type of a GCC
31012 builtin and then its argument prototype would still apply. */
31013 #ifdef __cplusplus
31014 extern "C"
31015 #endif
31016 char remove ();
31017 /* The GNU C library defines this for functions which it implements
31018 to always fail with ENOSYS. Some functions are actually named
31019 something starting with __ and the normal name is an alias. */
31020 #if defined __stub_remove || defined __stub___remove
31021 choke me
31022 #endif
31023
31024 int
31025 main ()
31026 {
31027 return remove ();
31028 ;
31029 return 0;
31030 }
31031 _ACEOF
31032 rm -f conftest.$ac_objext conftest$ac_exeext
31033 if { (ac_try="$ac_link"
31034 case "(($ac_try" in
31035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31036 *) ac_try_echo=$ac_try;;
31037 esac
31038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31039 (eval "$ac_link") 2>conftest.er1
31040 ac_status=$?
31041 grep -v '^ *+' conftest.er1 >conftest.err
31042 rm -f conftest.er1
31043 cat conftest.err >&5
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); } && {
31046 test -z "$ac_c_werror_flag" ||
31047 test ! -s conftest.err
31048 } && test -s conftest$ac_exeext &&
31049 $as_test_x conftest$ac_exeext; then
31050 ac_cv_func_remove=yes
31051 else
31052 echo "$as_me: failed program was:" >&5
31053 sed 's/^/| /' conftest.$ac_ext >&5
31054
31055 ac_cv_func_remove=no
31056 fi
31057
31058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31059 conftest$ac_exeext conftest.$ac_ext
31060 fi
31061 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31062 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31063
31064 if test $ac_cv_func_remove = no; then
31065 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31066 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31067 if test "${ac_cv_lib_posix_remove+set}" = set; then
31068 echo $ECHO_N "(cached) $ECHO_C" >&6
31069 else
31070 ac_check_lib_save_LIBS=$LIBS
31071 LIBS="-lposix $LIBS"
31072 cat >conftest.$ac_ext <<_ACEOF
31073 /* confdefs.h. */
31074 _ACEOF
31075 cat confdefs.h >>conftest.$ac_ext
31076 cat >>conftest.$ac_ext <<_ACEOF
31077 /* end confdefs.h. */
31078
31079 /* Override any GCC internal prototype to avoid an error.
31080 Use char because int might match the return type of a GCC
31081 builtin and then its argument prototype would still apply. */
31082 #ifdef __cplusplus
31083 extern "C"
31084 #endif
31085 char remove ();
31086 int
31087 main ()
31088 {
31089 return remove ();
31090 ;
31091 return 0;
31092 }
31093 _ACEOF
31094 rm -f conftest.$ac_objext conftest$ac_exeext
31095 if { (ac_try="$ac_link"
31096 case "(($ac_try" in
31097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31098 *) ac_try_echo=$ac_try;;
31099 esac
31100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31101 (eval "$ac_link") 2>conftest.er1
31102 ac_status=$?
31103 grep -v '^ *+' conftest.er1 >conftest.err
31104 rm -f conftest.er1
31105 cat conftest.err >&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); } && {
31108 test -z "$ac_c_werror_flag" ||
31109 test ! -s conftest.err
31110 } && test -s conftest$ac_exeext &&
31111 $as_test_x conftest$ac_exeext; then
31112 ac_cv_lib_posix_remove=yes
31113 else
31114 echo "$as_me: failed program was:" >&5
31115 sed 's/^/| /' conftest.$ac_ext >&5
31116
31117 ac_cv_lib_posix_remove=no
31118 fi
31119
31120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31121 conftest$ac_exeext conftest.$ac_ext
31122 LIBS=$ac_check_lib_save_LIBS
31123 fi
31124 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31125 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31126 if test $ac_cv_lib_posix_remove = yes; then
31127 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31128 fi
31129
31130 fi
31131
31132 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31133 { echo "$as_me:$LINENO: checking for shmat" >&5
31134 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31135 if test "${ac_cv_func_shmat+set}" = set; then
31136 echo $ECHO_N "(cached) $ECHO_C" >&6
31137 else
31138 cat >conftest.$ac_ext <<_ACEOF
31139 /* confdefs.h. */
31140 _ACEOF
31141 cat confdefs.h >>conftest.$ac_ext
31142 cat >>conftest.$ac_ext <<_ACEOF
31143 /* end confdefs.h. */
31144 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31146 #define shmat innocuous_shmat
31147
31148 /* System header to define __stub macros and hopefully few prototypes,
31149 which can conflict with char shmat (); below.
31150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31151 <limits.h> exists even on freestanding compilers. */
31152
31153 #ifdef __STDC__
31154 # include <limits.h>
31155 #else
31156 # include <assert.h>
31157 #endif
31158
31159 #undef shmat
31160
31161 /* Override any GCC internal prototype to avoid an error.
31162 Use char because int might match the return type of a GCC
31163 builtin and then its argument prototype would still apply. */
31164 #ifdef __cplusplus
31165 extern "C"
31166 #endif
31167 char shmat ();
31168 /* The GNU C library defines this for functions which it implements
31169 to always fail with ENOSYS. Some functions are actually named
31170 something starting with __ and the normal name is an alias. */
31171 #if defined __stub_shmat || defined __stub___shmat
31172 choke me
31173 #endif
31174
31175 int
31176 main ()
31177 {
31178 return shmat ();
31179 ;
31180 return 0;
31181 }
31182 _ACEOF
31183 rm -f conftest.$ac_objext conftest$ac_exeext
31184 if { (ac_try="$ac_link"
31185 case "(($ac_try" in
31186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31187 *) ac_try_echo=$ac_try;;
31188 esac
31189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31190 (eval "$ac_link") 2>conftest.er1
31191 ac_status=$?
31192 grep -v '^ *+' conftest.er1 >conftest.err
31193 rm -f conftest.er1
31194 cat conftest.err >&5
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); } && {
31197 test -z "$ac_c_werror_flag" ||
31198 test ! -s conftest.err
31199 } && test -s conftest$ac_exeext &&
31200 $as_test_x conftest$ac_exeext; then
31201 ac_cv_func_shmat=yes
31202 else
31203 echo "$as_me: failed program was:" >&5
31204 sed 's/^/| /' conftest.$ac_ext >&5
31205
31206 ac_cv_func_shmat=no
31207 fi
31208
31209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31210 conftest$ac_exeext conftest.$ac_ext
31211 fi
31212 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31213 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31214
31215 if test $ac_cv_func_shmat = no; then
31216 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31217 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31218 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31219 echo $ECHO_N "(cached) $ECHO_C" >&6
31220 else
31221 ac_check_lib_save_LIBS=$LIBS
31222 LIBS="-lipc $LIBS"
31223 cat >conftest.$ac_ext <<_ACEOF
31224 /* confdefs.h. */
31225 _ACEOF
31226 cat confdefs.h >>conftest.$ac_ext
31227 cat >>conftest.$ac_ext <<_ACEOF
31228 /* end confdefs.h. */
31229
31230 /* Override any GCC internal prototype to avoid an error.
31231 Use char because int might match the return type of a GCC
31232 builtin and then its argument prototype would still apply. */
31233 #ifdef __cplusplus
31234 extern "C"
31235 #endif
31236 char shmat ();
31237 int
31238 main ()
31239 {
31240 return shmat ();
31241 ;
31242 return 0;
31243 }
31244 _ACEOF
31245 rm -f conftest.$ac_objext conftest$ac_exeext
31246 if { (ac_try="$ac_link"
31247 case "(($ac_try" in
31248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31249 *) ac_try_echo=$ac_try;;
31250 esac
31251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31252 (eval "$ac_link") 2>conftest.er1
31253 ac_status=$?
31254 grep -v '^ *+' conftest.er1 >conftest.err
31255 rm -f conftest.er1
31256 cat conftest.err >&5
31257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258 (exit $ac_status); } && {
31259 test -z "$ac_c_werror_flag" ||
31260 test ! -s conftest.err
31261 } && test -s conftest$ac_exeext &&
31262 $as_test_x conftest$ac_exeext; then
31263 ac_cv_lib_ipc_shmat=yes
31264 else
31265 echo "$as_me: failed program was:" >&5
31266 sed 's/^/| /' conftest.$ac_ext >&5
31267
31268 ac_cv_lib_ipc_shmat=no
31269 fi
31270
31271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31272 conftest$ac_exeext conftest.$ac_ext
31273 LIBS=$ac_check_lib_save_LIBS
31274 fi
31275 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31276 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31277 if test $ac_cv_lib_ipc_shmat = yes; then
31278 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31279 fi
31280
31281 fi
31282 fi
31283
31284 # Check for libraries that X11R6 Xt/Xaw programs need.
31285 ac_save_LDFLAGS=$LDFLAGS
31286 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31287 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31288 # check for ICE first), but we must link in the order -lSM -lICE or
31289 # we get undefined symbols. So assume we have SM if we have ICE.
31290 # These have to be linked with before -lX11, unlike the other
31291 # libraries we check for below, so use a different variable.
31292 # John Interrante, Karl Berry
31293 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31294 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31295 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31296 echo $ECHO_N "(cached) $ECHO_C" >&6
31297 else
31298 ac_check_lib_save_LIBS=$LIBS
31299 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31300 cat >conftest.$ac_ext <<_ACEOF
31301 /* confdefs.h. */
31302 _ACEOF
31303 cat confdefs.h >>conftest.$ac_ext
31304 cat >>conftest.$ac_ext <<_ACEOF
31305 /* end confdefs.h. */
31306
31307 /* Override any GCC internal prototype to avoid an error.
31308 Use char because int might match the return type of a GCC
31309 builtin and then its argument prototype would still apply. */
31310 #ifdef __cplusplus
31311 extern "C"
31312 #endif
31313 char IceConnectionNumber ();
31314 int
31315 main ()
31316 {
31317 return IceConnectionNumber ();
31318 ;
31319 return 0;
31320 }
31321 _ACEOF
31322 rm -f conftest.$ac_objext conftest$ac_exeext
31323 if { (ac_try="$ac_link"
31324 case "(($ac_try" in
31325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31326 *) ac_try_echo=$ac_try;;
31327 esac
31328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31329 (eval "$ac_link") 2>conftest.er1
31330 ac_status=$?
31331 grep -v '^ *+' conftest.er1 >conftest.err
31332 rm -f conftest.er1
31333 cat conftest.err >&5
31334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31335 (exit $ac_status); } && {
31336 test -z "$ac_c_werror_flag" ||
31337 test ! -s conftest.err
31338 } && test -s conftest$ac_exeext &&
31339 $as_test_x conftest$ac_exeext; then
31340 ac_cv_lib_ICE_IceConnectionNumber=yes
31341 else
31342 echo "$as_me: failed program was:" >&5
31343 sed 's/^/| /' conftest.$ac_ext >&5
31344
31345 ac_cv_lib_ICE_IceConnectionNumber=no
31346 fi
31347
31348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31349 conftest$ac_exeext conftest.$ac_ext
31350 LIBS=$ac_check_lib_save_LIBS
31351 fi
31352 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31353 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31354 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31355 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31356 fi
31357
31358 LDFLAGS=$ac_save_LDFLAGS
31359
31360 fi
31361
31362
31363 if test "$no_x" = "yes"; then
31364 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31365 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31366 { (exit 1); exit 1; }; }
31367 fi
31368
31369 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31370 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31371 AFMINSTALL=afminstall
31372 COMPILED_X_PROGRAM=0
31373
31374 fi
31375
31376 if test "$wxUSE_X11" = 1; then
31377 if test "$wxUSE_NANOX" = "yes"; then
31378 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31379 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31380 if test "x$MICROWIN" = x ; then
31381 { echo "$as_me:$LINENO: result: not found" >&5
31382 echo "${ECHO_T}not found" >&6; }
31383 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31384 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31385 { (exit 1); exit 1; }; }
31386 else
31387 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31388 echo "${ECHO_T}$MICROWIN" >&6; }
31389 cat >>confdefs.h <<\_ACEOF
31390 #define wxUSE_NANOX 1
31391 _ACEOF
31392
31393 fi
31394 fi
31395
31396 if test "$wxUSE_UNICODE" = "yes"; then
31397
31398
31399 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31400 if test -n "$ac_tool_prefix"; then
31401 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31402 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31405 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31406 echo $ECHO_N "(cached) $ECHO_C" >&6
31407 else
31408 case $PKG_CONFIG in
31409 [\\/]* | ?:[\\/]*)
31410 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31411 ;;
31412 *)
31413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31414 for as_dir in $PATH
31415 do
31416 IFS=$as_save_IFS
31417 test -z "$as_dir" && as_dir=.
31418 for ac_exec_ext in '' $ac_executable_extensions; do
31419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31420 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31422 break 2
31423 fi
31424 done
31425 done
31426 IFS=$as_save_IFS
31427
31428 ;;
31429 esac
31430 fi
31431 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31432 if test -n "$PKG_CONFIG"; then
31433 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31434 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31435 else
31436 { echo "$as_me:$LINENO: result: no" >&5
31437 echo "${ECHO_T}no" >&6; }
31438 fi
31439
31440
31441 fi
31442 if test -z "$ac_cv_path_PKG_CONFIG"; then
31443 ac_pt_PKG_CONFIG=$PKG_CONFIG
31444 # Extract the first word of "pkg-config", so it can be a program name with args.
31445 set dummy pkg-config; ac_word=$2
31446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31448 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31449 echo $ECHO_N "(cached) $ECHO_C" >&6
31450 else
31451 case $ac_pt_PKG_CONFIG in
31452 [\\/]* | ?:[\\/]*)
31453 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31454 ;;
31455 *)
31456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31457 for as_dir in $PATH
31458 do
31459 IFS=$as_save_IFS
31460 test -z "$as_dir" && as_dir=.
31461 for ac_exec_ext in '' $ac_executable_extensions; do
31462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31463 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31464 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31465 break 2
31466 fi
31467 done
31468 done
31469 IFS=$as_save_IFS
31470
31471 ;;
31472 esac
31473 fi
31474 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31475 if test -n "$ac_pt_PKG_CONFIG"; then
31476 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31477 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31478 else
31479 { echo "$as_me:$LINENO: result: no" >&5
31480 echo "${ECHO_T}no" >&6; }
31481 fi
31482
31483 if test "x$ac_pt_PKG_CONFIG" = x; then
31484 PKG_CONFIG=""
31485 else
31486 case $cross_compiling:$ac_tool_warned in
31487 yes:)
31488 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31489 whose name does not start with the host triplet. If you think this
31490 configuration is useful to you, please write to autoconf@gnu.org." >&5
31491 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31492 whose name does not start with the host triplet. If you think this
31493 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31494 ac_tool_warned=yes ;;
31495 esac
31496 PKG_CONFIG=$ac_pt_PKG_CONFIG
31497 fi
31498 else
31499 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31500 fi
31501
31502 fi
31503 if test -n "$PKG_CONFIG"; then
31504 _pkg_min_version=0.9.0
31505 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31506 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31507 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31508 { echo "$as_me:$LINENO: result: yes" >&5
31509 echo "${ECHO_T}yes" >&6; }
31510 else
31511 { echo "$as_me:$LINENO: result: no" >&5
31512 echo "${ECHO_T}no" >&6; }
31513 PKG_CONFIG=""
31514 fi
31515
31516 fi
31517
31518
31519 pkg_failed=no
31520 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31521 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31522
31523 if test -n "$PKG_CONFIG"; then
31524 if test -n "$PANGOX_CFLAGS"; then
31525 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31526 else
31527 if test -n "$PKG_CONFIG" && \
31528 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31529 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31530 ac_status=$?
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); }; then
31533 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31534 else
31535 pkg_failed=yes
31536 fi
31537 fi
31538 else
31539 pkg_failed=untried
31540 fi
31541 if test -n "$PKG_CONFIG"; then
31542 if test -n "$PANGOX_LIBS"; then
31543 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31544 else
31545 if test -n "$PKG_CONFIG" && \
31546 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31547 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31548 ac_status=$?
31549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31550 (exit $ac_status); }; then
31551 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31552 else
31553 pkg_failed=yes
31554 fi
31555 fi
31556 else
31557 pkg_failed=untried
31558 fi
31559
31560
31561
31562 if test $pkg_failed = yes; then
31563
31564 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31565 _pkg_short_errors_supported=yes
31566 else
31567 _pkg_short_errors_supported=no
31568 fi
31569 if test $_pkg_short_errors_supported = yes; then
31570 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31571 else
31572 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31573 fi
31574 # Put the nasty error message in config.log where it belongs
31575 echo "$PANGOX_PKG_ERRORS" >&5
31576
31577
31578 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31579 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31580 { (exit 1); exit 1; }; }
31581
31582
31583 elif test $pkg_failed = untried; then
31584
31585 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31586 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31587 { (exit 1); exit 1; }; }
31588
31589
31590 else
31591 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31592 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31593 { echo "$as_me:$LINENO: result: yes" >&5
31594 echo "${ECHO_T}yes" >&6; }
31595
31596 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31597 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31598 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31599
31600 fi
31601
31602 pkg_failed=no
31603 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31604 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31605
31606 if test -n "$PKG_CONFIG"; then
31607 if test -n "$PANGOFT2_CFLAGS"; then
31608 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31609 else
31610 if test -n "$PKG_CONFIG" && \
31611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31612 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31613 ac_status=$?
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; then
31616 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31617 else
31618 pkg_failed=yes
31619 fi
31620 fi
31621 else
31622 pkg_failed=untried
31623 fi
31624 if test -n "$PKG_CONFIG"; then
31625 if test -n "$PANGOFT2_LIBS"; then
31626 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31627 else
31628 if test -n "$PKG_CONFIG" && \
31629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31630 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31631 ac_status=$?
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); }; then
31634 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31635 else
31636 pkg_failed=yes
31637 fi
31638 fi
31639 else
31640 pkg_failed=untried
31641 fi
31642
31643
31644
31645 if test $pkg_failed = yes; then
31646
31647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31648 _pkg_short_errors_supported=yes
31649 else
31650 _pkg_short_errors_supported=no
31651 fi
31652 if test $_pkg_short_errors_supported = yes; then
31653 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31654 else
31655 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31656 fi
31657 # Put the nasty error message in config.log where it belongs
31658 echo "$PANGOFT2_PKG_ERRORS" >&5
31659
31660
31661 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31662 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31663 wxUSE_PRINTING_ARCHITECTURE="no"
31664
31665
31666 elif test $pkg_failed = untried; then
31667
31668 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31669 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31670 wxUSE_PRINTING_ARCHITECTURE="no"
31671
31672
31673 else
31674 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31675 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31676 { echo "$as_me:$LINENO: result: yes" >&5
31677 echo "${ECHO_T}yes" >&6; }
31678
31679 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31680 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31681 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31682
31683 fi
31684
31685 pkg_failed=no
31686 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31687 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31688
31689 if test -n "$PKG_CONFIG"; then
31690 if test -n "$PANGOXFT_CFLAGS"; then
31691 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31692 else
31693 if test -n "$PKG_CONFIG" && \
31694 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31695 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31696 ac_status=$?
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); }; then
31699 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31700 else
31701 pkg_failed=yes
31702 fi
31703 fi
31704 else
31705 pkg_failed=untried
31706 fi
31707 if test -n "$PKG_CONFIG"; then
31708 if test -n "$PANGOXFT_LIBS"; then
31709 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31710 else
31711 if test -n "$PKG_CONFIG" && \
31712 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31713 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31714 ac_status=$?
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); }; then
31717 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31718 else
31719 pkg_failed=yes
31720 fi
31721 fi
31722 else
31723 pkg_failed=untried
31724 fi
31725
31726
31727
31728 if test $pkg_failed = yes; then
31729
31730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31731 _pkg_short_errors_supported=yes
31732 else
31733 _pkg_short_errors_supported=no
31734 fi
31735 if test $_pkg_short_errors_supported = yes; then
31736 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31737 else
31738 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31739 fi
31740 # Put the nasty error message in config.log where it belongs
31741 echo "$PANGOXFT_PKG_ERRORS" >&5
31742
31743
31744 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31745 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31746
31747
31748 elif test $pkg_failed = untried; then
31749
31750 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31751 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31752
31753
31754 else
31755 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31756 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31757 { echo "$as_me:$LINENO: result: yes" >&5
31758 echo "${ECHO_T}yes" >&6; }
31759
31760 cat >>confdefs.h <<\_ACEOF
31761 #define HAVE_PANGO_XFT 1
31762 _ACEOF
31763
31764 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31765 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31766 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31767
31768 fi
31769 save_LIBS="$LIBS"
31770 LIBS="$LIBS $PANGOX_LIBS"
31771
31772 for ac_func in pango_font_family_is_monospace
31773 do
31774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31775 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31777 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31788 #define $ac_func innocuous_$ac_func
31789
31790 /* System header to define __stub macros and hopefully few prototypes,
31791 which can conflict with char $ac_func (); below.
31792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31793 <limits.h> exists even on freestanding compilers. */
31794
31795 #ifdef __STDC__
31796 # include <limits.h>
31797 #else
31798 # include <assert.h>
31799 #endif
31800
31801 #undef $ac_func
31802
31803 /* Override any GCC internal prototype to avoid an error.
31804 Use char because int might match the return type of a GCC
31805 builtin and then its argument prototype would still apply. */
31806 #ifdef __cplusplus
31807 extern "C"
31808 #endif
31809 char $ac_func ();
31810 /* The GNU C library defines this for functions which it implements
31811 to always fail with ENOSYS. Some functions are actually named
31812 something starting with __ and the normal name is an alias. */
31813 #if defined __stub_$ac_func || defined __stub___$ac_func
31814 choke me
31815 #endif
31816
31817 int
31818 main ()
31819 {
31820 return $ac_func ();
31821 ;
31822 return 0;
31823 }
31824 _ACEOF
31825 rm -f conftest.$ac_objext conftest$ac_exeext
31826 if { (ac_try="$ac_link"
31827 case "(($ac_try" in
31828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31829 *) ac_try_echo=$ac_try;;
31830 esac
31831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31832 (eval "$ac_link") 2>conftest.er1
31833 ac_status=$?
31834 grep -v '^ *+' conftest.er1 >conftest.err
31835 rm -f conftest.er1
31836 cat conftest.err >&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } && {
31839 test -z "$ac_c_werror_flag" ||
31840 test ! -s conftest.err
31841 } && test -s conftest$ac_exeext &&
31842 $as_test_x conftest$ac_exeext; then
31843 eval "$as_ac_var=yes"
31844 else
31845 echo "$as_me: failed program was:" >&5
31846 sed 's/^/| /' conftest.$ac_ext >&5
31847
31848 eval "$as_ac_var=no"
31849 fi
31850
31851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31852 conftest$ac_exeext conftest.$ac_ext
31853 fi
31854 ac_res=`eval echo '${'$as_ac_var'}'`
31855 { echo "$as_me:$LINENO: result: $ac_res" >&5
31856 echo "${ECHO_T}$ac_res" >&6; }
31857 if test `eval echo '${'$as_ac_var'}'` = yes; then
31858 cat >>confdefs.h <<_ACEOF
31859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31860 _ACEOF
31861
31862 fi
31863 done
31864
31865 LIBS="$save_LIBS"
31866 fi
31867
31868 wxUSE_UNIVERSAL="yes"
31869
31870 if test "$wxUSE_NANOX" = "yes"; then
31871 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31872 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"
31873 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31874 else
31875 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31876 fi
31877
31878 TOOLKIT=X11
31879 GUIDIST=X11_DIST
31880 fi
31881
31882 if test "$wxUSE_MOTIF" = 1; then
31883 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31884 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31885
31886 ac_find_includes=
31887 for ac_dir in $SEARCH_INCLUDE /usr/include;
31888 do
31889 if test -f "$ac_dir/Xm/Xm.h"; then
31890 ac_find_includes=$ac_dir
31891 break
31892 fi
31893 done
31894
31895 if test "$ac_find_includes" != "" ; then
31896 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31897 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31898
31899 if test "x$ac_find_includes" = "x/usr/include"; then
31900 ac_path_to_include=""
31901 else
31902 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31903 result=$?
31904 if test $result = 0; then
31905 ac_path_to_include=""
31906 else
31907 ac_path_to_include=" -I$ac_find_includes"
31908 fi
31909 fi
31910
31911 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31912 else
31913 save_CFLAGS=$CFLAGS
31914 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31915
31916 cat >conftest.$ac_ext <<_ACEOF
31917 /* confdefs.h. */
31918 _ACEOF
31919 cat confdefs.h >>conftest.$ac_ext
31920 cat >>conftest.$ac_ext <<_ACEOF
31921 /* end confdefs.h. */
31922
31923 #include <Xm/Xm.h>
31924
31925 int
31926 main ()
31927 {
31928
31929 int version;
31930 version = xmUseVersion;
31931
31932 ;
31933 return 0;
31934 }
31935 _ACEOF
31936 rm -f conftest.$ac_objext
31937 if { (ac_try="$ac_compile"
31938 case "(($ac_try" in
31939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31940 *) ac_try_echo=$ac_try;;
31941 esac
31942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31943 (eval "$ac_compile") 2>conftest.er1
31944 ac_status=$?
31945 grep -v '^ *+' conftest.er1 >conftest.err
31946 rm -f conftest.er1
31947 cat conftest.err >&5
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); } && {
31950 test -z "$ac_c_werror_flag" ||
31951 test ! -s conftest.err
31952 } && test -s conftest.$ac_objext; then
31953
31954 { echo "$as_me:$LINENO: result: found in default search path" >&5
31955 echo "${ECHO_T}found in default search path" >&6; }
31956 COMPILED_X_PROGRAM=1
31957
31958 else
31959 echo "$as_me: failed program was:" >&5
31960 sed 's/^/| /' conftest.$ac_ext >&5
31961
31962
31963 { echo "$as_me:$LINENO: result: no" >&5
31964 echo "${ECHO_T}no" >&6; }
31965 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31966 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31967 { (exit 1); exit 1; }; }
31968
31969
31970 fi
31971
31972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31973
31974 CFLAGS=$save_CFLAGS
31975 fi
31976
31977
31978 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31979 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31980
31981 ac_find_libraries=
31982 for ac_dir in $SEARCH_LIB;
31983 do
31984 for ac_extension in a so sl dylib dll.a; do
31985 if test -f "$ac_dir/libXm.$ac_extension"; then
31986 ac_find_libraries=$ac_dir
31987 break 2
31988 fi
31989 done
31990 done
31991
31992
31993 if test "x$ac_find_libraries" != "x" ; then
31994 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31995 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31996
31997
31998 if test "$ac_find_libraries" = "default location"; then
31999 ac_path_to_link=""
32000 else
32001 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32002 result=$?
32003 if test $result = 0; then
32004 ac_path_to_link=""
32005 else
32006 ac_path_to_link=" -L$ac_find_libraries"
32007 fi
32008 fi
32009
32010 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32011 else
32012 save_CFLAGS=$CFLAGS
32013 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32014 save_LIBS="$LIBS"
32015 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32016
32017 cat >conftest.$ac_ext <<_ACEOF
32018 /* confdefs.h. */
32019 _ACEOF
32020 cat confdefs.h >>conftest.$ac_ext
32021 cat >>conftest.$ac_ext <<_ACEOF
32022 /* end confdefs.h. */
32023
32024 #include <Xm/Xm.h>
32025
32026 int
32027 main ()
32028 {
32029
32030 int version;
32031 version = xmUseVersion;
32032
32033 ;
32034 return 0;
32035 }
32036 _ACEOF
32037 rm -f conftest.$ac_objext conftest$ac_exeext
32038 if { (ac_try="$ac_link"
32039 case "(($ac_try" in
32040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32041 *) ac_try_echo=$ac_try;;
32042 esac
32043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32044 (eval "$ac_link") 2>conftest.er1
32045 ac_status=$?
32046 grep -v '^ *+' conftest.er1 >conftest.err
32047 rm -f conftest.er1
32048 cat conftest.err >&5
32049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32050 (exit $ac_status); } && {
32051 test -z "$ac_c_werror_flag" ||
32052 test ! -s conftest.err
32053 } && test -s conftest$ac_exeext &&
32054 $as_test_x conftest$ac_exeext; then
32055
32056 { echo "$as_me:$LINENO: result: found in default search path" >&5
32057 echo "${ECHO_T}found in default search path" >&6; }
32058 COMPILED_X_PROGRAM=1
32059
32060 else
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32063
32064
32065 { echo "$as_me:$LINENO: result: no" >&5
32066 echo "${ECHO_T}no" >&6; }
32067 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32068 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32069 { (exit 1); exit 1; }; }
32070
32071
32072 fi
32073
32074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32075 conftest$ac_exeext conftest.$ac_ext
32076
32077 CFLAGS=$save_CFLAGS
32078 LIBS="$save_LIBS"
32079 fi
32080
32081 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32082 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32083 libp_link=""
32084 libsm_ice_link=""
32085 libs_found=0
32086 for libp in "" " -lXp"; do
32087 if test "$libs_found" = 0; then
32088 for libsm_ice in "" " -lSM -lICE"; do
32089 if test "$libs_found" = 0; then
32090 save_LIBS="$LIBS"
32091 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32092 save_CFLAGS=$CFLAGS
32093 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32094
32095 cat >conftest.$ac_ext <<_ACEOF
32096 /* confdefs.h. */
32097 _ACEOF
32098 cat confdefs.h >>conftest.$ac_ext
32099 cat >>conftest.$ac_ext <<_ACEOF
32100 /* end confdefs.h. */
32101
32102 #include <Xm/Xm.h>
32103 #include <Xm/List.h>
32104
32105 int
32106 main ()
32107 {
32108
32109 XmString string = NULL;
32110 Widget w = NULL;
32111 int position = 0;
32112 XmListAddItem(w, string, position);
32113
32114 ;
32115 return 0;
32116 }
32117 _ACEOF
32118 rm -f conftest.$ac_objext conftest$ac_exeext
32119 if { (ac_try="$ac_link"
32120 case "(($ac_try" in
32121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32122 *) ac_try_echo=$ac_try;;
32123 esac
32124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32125 (eval "$ac_link") 2>conftest.er1
32126 ac_status=$?
32127 grep -v '^ *+' conftest.er1 >conftest.err
32128 rm -f conftest.er1
32129 cat conftest.err >&5
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); } && {
32132 test -z "$ac_c_werror_flag" ||
32133 test ! -s conftest.err
32134 } && test -s conftest$ac_exeext &&
32135 $as_test_x conftest$ac_exeext; then
32136
32137 libp_link="$libp"
32138 libsm_ice_link="$libsm_ice"
32139 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32140 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32141 libs_found=1
32142
32143 else
32144 echo "$as_me: failed program was:" >&5
32145 sed 's/^/| /' conftest.$ac_ext >&5
32146
32147
32148
32149 fi
32150
32151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32152 conftest$ac_exeext conftest.$ac_ext
32153
32154 LIBS="$save_LIBS"
32155 CFLAGS=$save_CFLAGS
32156 fi
32157 done
32158 fi
32159 done
32160
32161 if test "$libs_found" = 0; then
32162 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32163 echo "${ECHO_T}can't find the right libraries" >&6; }
32164 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32165 echo "$as_me: error: can't link a simple motif program" >&2;}
32166 { (exit 1); exit 1; }; }
32167 fi
32168
32169 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32170 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32171 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32172 echo $ECHO_N "(cached) $ECHO_C" >&6
32173 else
32174 ac_check_lib_save_LIBS=$LIBS
32175 LIBS="-lSgm $LIBS"
32176 cat >conftest.$ac_ext <<_ACEOF
32177 /* confdefs.h. */
32178 _ACEOF
32179 cat confdefs.h >>conftest.$ac_ext
32180 cat >>conftest.$ac_ext <<_ACEOF
32181 /* end confdefs.h. */
32182
32183 /* Override any GCC internal prototype to avoid an error.
32184 Use char because int might match the return type of a GCC
32185 builtin and then its argument prototype would still apply. */
32186 #ifdef __cplusplus
32187 extern "C"
32188 #endif
32189 char SgCreateList ();
32190 int
32191 main ()
32192 {
32193 return SgCreateList ();
32194 ;
32195 return 0;
32196 }
32197 _ACEOF
32198 rm -f conftest.$ac_objext conftest$ac_exeext
32199 if { (ac_try="$ac_link"
32200 case "(($ac_try" in
32201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32202 *) ac_try_echo=$ac_try;;
32203 esac
32204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32205 (eval "$ac_link") 2>conftest.er1
32206 ac_status=$?
32207 grep -v '^ *+' conftest.er1 >conftest.err
32208 rm -f conftest.er1
32209 cat conftest.err >&5
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); } && {
32212 test -z "$ac_c_werror_flag" ||
32213 test ! -s conftest.err
32214 } && test -s conftest$ac_exeext &&
32215 $as_test_x conftest$ac_exeext; then
32216 ac_cv_lib_Sgm_SgCreateList=yes
32217 else
32218 echo "$as_me: failed program was:" >&5
32219 sed 's/^/| /' conftest.$ac_ext >&5
32220
32221 ac_cv_lib_Sgm_SgCreateList=no
32222 fi
32223
32224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32225 conftest$ac_exeext conftest.$ac_ext
32226 LIBS=$ac_check_lib_save_LIBS
32227 fi
32228 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32229 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32230 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32231 libsgm_link=" -lSgm"
32232 fi
32233
32234
32235 save_CFLAGS=$CFLAGS
32236 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32237
32238 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32239 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32240 if test "${wx_cv_lib_motif2+set}" = set; then
32241 echo $ECHO_N "(cached) $ECHO_C" >&6
32242 else
32243 cat >conftest.$ac_ext <<_ACEOF
32244 /* confdefs.h. */
32245 _ACEOF
32246 cat confdefs.h >>conftest.$ac_ext
32247 cat >>conftest.$ac_ext <<_ACEOF
32248 /* end confdefs.h. */
32249
32250 #include <Xm/Xm.h>
32251
32252 int
32253 main ()
32254 {
32255
32256 #if XmVersion < 2000
32257 Not Motif 2
32258 #endif
32259
32260 ;
32261 return 0;
32262 }
32263 _ACEOF
32264 rm -f conftest.$ac_objext
32265 if { (ac_try="$ac_compile"
32266 case "(($ac_try" in
32267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32268 *) ac_try_echo=$ac_try;;
32269 esac
32270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32271 (eval "$ac_compile") 2>conftest.er1
32272 ac_status=$?
32273 grep -v '^ *+' conftest.er1 >conftest.err
32274 rm -f conftest.er1
32275 cat conftest.err >&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } && {
32278 test -z "$ac_c_werror_flag" ||
32279 test ! -s conftest.err
32280 } && test -s conftest.$ac_objext; then
32281 wx_cv_lib_motif2="yes"
32282 else
32283 echo "$as_me: failed program was:" >&5
32284 sed 's/^/| /' conftest.$ac_ext >&5
32285
32286 wx_cv_lib_motif2="no"
32287 fi
32288
32289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32290 fi
32291 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32292 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32293 if test "$wx_cv_lib_motif2" = "yes"; then
32294 cat >>confdefs.h <<\_ACEOF
32295 #define __WXMOTIF20__ 1
32296 _ACEOF
32297
32298 else
32299 cat >>confdefs.h <<\_ACEOF
32300 #define __WXMOTIF20__ 0
32301 _ACEOF
32302
32303 fi
32304
32305 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32306 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32307 if test "${wx_cv_lib_lesstif+set}" = set; then
32308 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 else
32310 cat >conftest.$ac_ext <<_ACEOF
32311 /* confdefs.h. */
32312 _ACEOF
32313 cat confdefs.h >>conftest.$ac_ext
32314 cat >>conftest.$ac_ext <<_ACEOF
32315 /* end confdefs.h. */
32316
32317 #include <Xm/Xm.h>
32318
32319 int
32320 main ()
32321 {
32322
32323 #if !defined(LesstifVersion) || LesstifVersion <= 0
32324 Not Lesstif
32325 #endif
32326
32327 ;
32328 return 0;
32329 }
32330 _ACEOF
32331 rm -f conftest.$ac_objext
32332 if { (ac_try="$ac_compile"
32333 case "(($ac_try" in
32334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32335 *) ac_try_echo=$ac_try;;
32336 esac
32337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32338 (eval "$ac_compile") 2>conftest.er1
32339 ac_status=$?
32340 grep -v '^ *+' conftest.er1 >conftest.err
32341 rm -f conftest.er1
32342 cat conftest.err >&5
32343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32344 (exit $ac_status); } && {
32345 test -z "$ac_c_werror_flag" ||
32346 test ! -s conftest.err
32347 } && test -s conftest.$ac_objext; then
32348 wx_cv_lib_lesstif="yes"
32349 else
32350 echo "$as_me: failed program was:" >&5
32351 sed 's/^/| /' conftest.$ac_ext >&5
32352
32353 wx_cv_lib_lesstif="no"
32354 fi
32355
32356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32357
32358 fi
32359 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32360 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32361 if test "$wx_cv_lib_lesstif" = "yes"; then
32362 cat >>confdefs.h <<\_ACEOF
32363 #define __WXLESSTIF__ 1
32364 _ACEOF
32365
32366 else
32367 cat >>confdefs.h <<\_ACEOF
32368 #define __WXLESSTIF__ 0
32369 _ACEOF
32370
32371 fi
32372
32373 CFLAGS=$save_CFLAGS
32374
32375 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32376 TOOLKIT=MOTIF
32377 GUIDIST=MOTIF_DIST
32378 fi
32379
32380 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32381 if test "$wxUSE_LIBXPM" = "sys"; then
32382 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32383 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32384
32385 ac_find_libraries=
32386 for ac_dir in $SEARCH_LIB;
32387 do
32388 for ac_extension in a so sl dylib dll.a; do
32389 if test -f "$ac_dir/libXpm.$ac_extension"; then
32390 ac_find_libraries=$ac_dir
32391 break 2
32392 fi
32393 done
32394 done
32395
32396 if test "$ac_find_libraries" != "" ; then
32397
32398 if test "$ac_find_libraries" = "default location"; then
32399 ac_path_to_link=""
32400 else
32401 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32402 result=$?
32403 if test $result = 0; then
32404 ac_path_to_link=""
32405 else
32406 ac_path_to_link=" -L$ac_find_libraries"
32407 fi
32408 fi
32409
32410 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32411 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32412 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32413
32414 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32415 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32416 if test "${wx_cv_x11_xpm_h+set}" = set; then
32417 echo $ECHO_N "(cached) $ECHO_C" >&6
32418 else
32419
32420 save_CFLAGS=$CFLAGS
32421 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32422
32423 cat >conftest.$ac_ext <<_ACEOF
32424 /* confdefs.h. */
32425 _ACEOF
32426 cat confdefs.h >>conftest.$ac_ext
32427 cat >>conftest.$ac_ext <<_ACEOF
32428 /* end confdefs.h. */
32429
32430 #include <X11/xpm.h>
32431
32432 int
32433 main ()
32434 {
32435
32436 int version;
32437 version = XpmLibraryVersion();
32438
32439 ;
32440 return 0;
32441 }
32442 _ACEOF
32443 rm -f conftest.$ac_objext
32444 if { (ac_try="$ac_compile"
32445 case "(($ac_try" in
32446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32447 *) ac_try_echo=$ac_try;;
32448 esac
32449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32450 (eval "$ac_compile") 2>conftest.er1
32451 ac_status=$?
32452 grep -v '^ *+' conftest.er1 >conftest.err
32453 rm -f conftest.er1
32454 cat conftest.err >&5
32455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32456 (exit $ac_status); } && {
32457 test -z "$ac_c_werror_flag" ||
32458 test ! -s conftest.err
32459 } && test -s conftest.$ac_objext; then
32460 wx_cv_x11_xpm_h=yes
32461 else
32462 echo "$as_me: failed program was:" >&5
32463 sed 's/^/| /' conftest.$ac_ext >&5
32464
32465 wx_cv_x11_xpm_h=no
32466
32467 fi
32468
32469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32470
32471 CFLAGS=$save_CFLAGS
32472
32473
32474 fi
32475 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32476 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32477
32478 if test $wx_cv_x11_xpm_h = "yes"; then
32479 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32480 cat >>confdefs.h <<\_ACEOF
32481 #define wxHAVE_LIB_XPM 1
32482 _ACEOF
32483
32484 else
32485 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32486 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32487 fi
32488 fi
32489
32490 fi
32491
32492 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32493 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32494 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32495 echo $ECHO_N "(cached) $ECHO_C" >&6
32496 else
32497 ac_check_lib_save_LIBS=$LIBS
32498 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32499 cat >conftest.$ac_ext <<_ACEOF
32500 /* confdefs.h. */
32501 _ACEOF
32502 cat confdefs.h >>conftest.$ac_ext
32503 cat >>conftest.$ac_ext <<_ACEOF
32504 /* end confdefs.h. */
32505
32506 /* Override any GCC internal prototype to avoid an error.
32507 Use char because int might match the return type of a GCC
32508 builtin and then its argument prototype would still apply. */
32509 #ifdef __cplusplus
32510 extern "C"
32511 #endif
32512 char XShapeQueryExtension ();
32513 int
32514 main ()
32515 {
32516 return XShapeQueryExtension ();
32517 ;
32518 return 0;
32519 }
32520 _ACEOF
32521 rm -f conftest.$ac_objext conftest$ac_exeext
32522 if { (ac_try="$ac_link"
32523 case "(($ac_try" in
32524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32525 *) ac_try_echo=$ac_try;;
32526 esac
32527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32528 (eval "$ac_link") 2>conftest.er1
32529 ac_status=$?
32530 grep -v '^ *+' conftest.er1 >conftest.err
32531 rm -f conftest.er1
32532 cat conftest.err >&5
32533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 (exit $ac_status); } && {
32535 test -z "$ac_c_werror_flag" ||
32536 test ! -s conftest.err
32537 } && test -s conftest$ac_exeext &&
32538 $as_test_x conftest$ac_exeext; then
32539 ac_cv_lib_Xext_XShapeQueryExtension=yes
32540 else
32541 echo "$as_me: failed program was:" >&5
32542 sed 's/^/| /' conftest.$ac_ext >&5
32543
32544 ac_cv_lib_Xext_XShapeQueryExtension=no
32545 fi
32546
32547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32548 conftest$ac_exeext conftest.$ac_ext
32549 LIBS=$ac_check_lib_save_LIBS
32550 fi
32551 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32552 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32553 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32554
32555 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32556 wxHAVE_XEXT_LIB=1
32557
32558 fi
32559
32560
32561 if test "$wxHAVE_XEXT_LIB" = 1; then
32562 save_CFLAGS="$CFLAGS"
32563 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32564
32565 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32566 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32567 cat >conftest.$ac_ext <<_ACEOF
32568 /* confdefs.h. */
32569 _ACEOF
32570 cat confdefs.h >>conftest.$ac_ext
32571 cat >>conftest.$ac_ext <<_ACEOF
32572 /* end confdefs.h. */
32573
32574 #include <X11/Xlib.h>
32575 #include <X11/extensions/shape.h>
32576
32577 int
32578 main ()
32579 {
32580
32581 int dummy1, dummy2;
32582 XShapeQueryExtension((Display*)NULL,
32583 (int*)NULL, (int*)NULL);
32584
32585 ;
32586 return 0;
32587 }
32588 _ACEOF
32589 rm -f conftest.$ac_objext
32590 if { (ac_try="$ac_compile"
32591 case "(($ac_try" in
32592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32593 *) ac_try_echo=$ac_try;;
32594 esac
32595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32596 (eval "$ac_compile") 2>conftest.er1
32597 ac_status=$?
32598 grep -v '^ *+' conftest.er1 >conftest.err
32599 rm -f conftest.er1
32600 cat conftest.err >&5
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); } && {
32603 test -z "$ac_c_werror_flag" ||
32604 test ! -s conftest.err
32605 } && test -s conftest.$ac_objext; then
32606
32607 cat >>confdefs.h <<\_ACEOF
32608 #define HAVE_XSHAPE 1
32609 _ACEOF
32610
32611 { echo "$as_me:$LINENO: result: found" >&5
32612 echo "${ECHO_T}found" >&6; }
32613
32614 else
32615 echo "$as_me: failed program was:" >&5
32616 sed 's/^/| /' conftest.$ac_ext >&5
32617
32618
32619 { echo "$as_me:$LINENO: result: not found" >&5
32620 echo "${ECHO_T}not found" >&6; }
32621
32622 fi
32623
32624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32625 CFLAGS="$save_CFLAGS"
32626
32627 fi
32628 fi
32629
32630 if test "$wxUSE_OSX_CARBON" = 1; then
32631 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32632 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32633 if test "$GCC" = yes; then
32634 { echo "$as_me:$LINENO: result: gcc" >&5
32635 echo "${ECHO_T}gcc" >&6; }
32636 CPPFLAGS_PASCAL="-fpascal-strings"
32637 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32638 { echo "$as_me:$LINENO: result: xlc" >&5
32639 echo "${ECHO_T}xlc" >&6; }
32640 CPPFLAGS_PASCAL="-qmacpstr"
32641 else
32642 { echo "$as_me:$LINENO: result: none" >&5
32643 echo "${ECHO_T}none" >&6; }
32644 fi
32645
32646 if test "x$wxUSE_UNIX" = "xyes"; then
32647 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32648 else
32649 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32650 fi
32651
32652 TOOLKIT=OSX_CARBON
32653 GUIDIST=OSX_CARBON_DIST
32654 WXBASEPORT="_carbon"
32655 fi
32656
32657 if test "$wxUSE_OSX_COCOA" = 1; then
32658 TOOLKIT=OSX_COCOA
32659 GUIDIST=OSX_COCOA_DIST
32660 fi
32661
32662 if test "$wxUSE_COCOA" = 1; then
32663 TOOLKIT=COCOA
32664 GUIDIST=COCOA_DIST
32665 fi
32666
32667 if test "$wxUSE_PM" = 1; then
32668 TOOLKIT=PM
32669 GUIDIST=PM_DIST
32670 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32671 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32672 if test "${wx_cv_spbcdata+set}" = set; then
32673 echo $ECHO_N "(cached) $ECHO_C" >&6
32674 else
32675
32676 cat >conftest.$ac_ext <<_ACEOF
32677 /* confdefs.h. */
32678 _ACEOF
32679 cat confdefs.h >>conftest.$ac_ext
32680 cat >>conftest.$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32682
32683 #define INCL_PM
32684 #include <os2.h>
32685
32686 int
32687 main ()
32688 {
32689
32690 SPBCDATA test;
32691
32692 ;
32693 return 0;
32694 }
32695 _ACEOF
32696 rm -f conftest.$ac_objext
32697 if { (ac_try="$ac_compile"
32698 case "(($ac_try" in
32699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32700 *) ac_try_echo=$ac_try;;
32701 esac
32702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32703 (eval "$ac_compile") 2>conftest.er1
32704 ac_status=$?
32705 grep -v '^ *+' conftest.er1 >conftest.err
32706 rm -f conftest.er1
32707 cat conftest.err >&5
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); } && {
32710 test -z "$ac_c_werror_flag" ||
32711 test ! -s conftest.err
32712 } && test -s conftest.$ac_objext; then
32713 wx_cv_spbcdata=yes
32714 else
32715 echo "$as_me: failed program was:" >&5
32716 sed 's/^/| /' conftest.$ac_ext >&5
32717
32718 wx_cv_spbcdata=no
32719
32720 fi
32721
32722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32723
32724
32725 fi
32726 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32727 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32728
32729 if test $wx_cv_spbcdata = "yes"; then
32730 cat >>confdefs.h <<\_ACEOF
32731 #define HAVE_SPBCDATA 1
32732 _ACEOF
32733
32734 fi
32735 fi
32736
32737 if test "$TOOLKIT" = "PM" ; then
32738 TOOLKIT_DIR="os2"
32739 else
32740 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32741 fi
32742
32743 if test "$wxUSE_UNIVERSAL" = "yes"; then
32744 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32745 WIDGET_SET=univ
32746 fi
32747
32748 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32749 DISTDIR="wx\$(TOOLKIT)"
32750 else
32751 USE_GUI=0
32752
32753 TOOLKIT_DIR="base"
32754
32755 if test "$USE_WIN32" = 1 ; then
32756 TOOLKIT="MSW"
32757 fi
32758
32759 GUIDIST="BASE_DIST"
32760 DISTDIR="wxBase"
32761 fi
32762
32763
32764
32765 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32766 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32767 wxUSE_UNICODE_UTF8=yes
32768 elif test "$USE_OS2" = 1 ; then
32769 wxUSE_UNICODE_UTF8=yes
32770 else
32771 wxUSE_UNICODE_UTF8=no
32772 fi
32773 fi
32774
32775
32776 if test "$wxUSE_GUI" = "yes"; then
32777 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32778
32779 for ac_header in X11/Xlib.h
32780 do
32781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32782 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32785 echo $ECHO_N "(cached) $ECHO_C" >&6
32786 else
32787 cat >conftest.$ac_ext <<_ACEOF
32788 /* confdefs.h. */
32789 _ACEOF
32790 cat confdefs.h >>conftest.$ac_ext
32791 cat >>conftest.$ac_ext <<_ACEOF
32792 /* end confdefs.h. */
32793
32794
32795 #include <$ac_header>
32796 _ACEOF
32797 rm -f conftest.$ac_objext
32798 if { (ac_try="$ac_compile"
32799 case "(($ac_try" in
32800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32801 *) ac_try_echo=$ac_try;;
32802 esac
32803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32804 (eval "$ac_compile") 2>conftest.er1
32805 ac_status=$?
32806 grep -v '^ *+' conftest.er1 >conftest.err
32807 rm -f conftest.er1
32808 cat conftest.err >&5
32809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32810 (exit $ac_status); } && {
32811 test -z "$ac_c_werror_flag" ||
32812 test ! -s conftest.err
32813 } && test -s conftest.$ac_objext; then
32814 eval "$as_ac_Header=yes"
32815 else
32816 echo "$as_me: failed program was:" >&5
32817 sed 's/^/| /' conftest.$ac_ext >&5
32818
32819 eval "$as_ac_Header=no"
32820 fi
32821
32822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32823 fi
32824 ac_res=`eval echo '${'$as_ac_Header'}'`
32825 { echo "$as_me:$LINENO: result: $ac_res" >&5
32826 echo "${ECHO_T}$ac_res" >&6; }
32827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32828 cat >>confdefs.h <<_ACEOF
32829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32830 _ACEOF
32831
32832 fi
32833
32834 done
32835
32836
32837 for ac_header in X11/XKBlib.h
32838 do
32839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32840 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32843 echo $ECHO_N "(cached) $ECHO_C" >&6
32844 else
32845 cat >conftest.$ac_ext <<_ACEOF
32846 /* confdefs.h. */
32847 _ACEOF
32848 cat confdefs.h >>conftest.$ac_ext
32849 cat >>conftest.$ac_ext <<_ACEOF
32850 /* end confdefs.h. */
32851
32852 #if HAVE_X11_XLIB_H
32853 #include <X11/Xlib.h>
32854 #endif
32855
32856
32857 #include <$ac_header>
32858 _ACEOF
32859 rm -f conftest.$ac_objext
32860 if { (ac_try="$ac_compile"
32861 case "(($ac_try" in
32862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32863 *) ac_try_echo=$ac_try;;
32864 esac
32865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32866 (eval "$ac_compile") 2>conftest.er1
32867 ac_status=$?
32868 grep -v '^ *+' conftest.er1 >conftest.err
32869 rm -f conftest.er1
32870 cat conftest.err >&5
32871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32872 (exit $ac_status); } && {
32873 test -z "$ac_c_werror_flag" ||
32874 test ! -s conftest.err
32875 } && test -s conftest.$ac_objext; then
32876 eval "$as_ac_Header=yes"
32877 else
32878 echo "$as_me: failed program was:" >&5
32879 sed 's/^/| /' conftest.$ac_ext >&5
32880
32881 eval "$as_ac_Header=no"
32882 fi
32883
32884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32885 fi
32886 ac_res=`eval echo '${'$as_ac_Header'}'`
32887 { echo "$as_me:$LINENO: result: $ac_res" >&5
32888 echo "${ECHO_T}$ac_res" >&6; }
32889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32890 cat >>confdefs.h <<_ACEOF
32891 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32892 _ACEOF
32893
32894 fi
32895
32896 done
32897
32898 fi
32899 fi
32900
32901
32902
32903 if test "$wxUSE_DISPLAY" = "yes"; then
32904 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32905 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32906 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32907
32908 ac_find_libraries=
32909 for ac_dir in $SEARCH_LIB;
32910 do
32911 for ac_extension in a so sl dylib dll.a; do
32912 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32913 ac_find_libraries=$ac_dir
32914 break 2
32915 fi
32916 done
32917 done
32918
32919 if test "$ac_find_libraries" != "" ; then
32920
32921 if test "$ac_find_libraries" = "default location"; then
32922 ac_path_to_link=""
32923 else
32924 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32925 result=$?
32926 if test $result = 0; then
32927 ac_path_to_link=""
32928 else
32929 ac_path_to_link=" -L$ac_find_libraries"
32930 fi
32931 fi
32932
32933 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32934 LDFLAGS="$LDFLAGS $ac_path_to_link"
32935 fi
32936 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32937 { echo "$as_me:$LINENO: result: yes" >&5
32938 echo "${ECHO_T}yes" >&6; }
32939
32940 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32941 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32942
32943 ac_find_libraries=
32944 for ac_dir in $SEARCH_LIB;
32945 do
32946 for ac_extension in a so sl dylib dll.a; do
32947 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32948 ac_find_libraries=$ac_dir
32949 break 2
32950 fi
32951 done
32952 done
32953
32954 if test "$ac_find_libraries" != "" ; then
32955 { echo "$as_me:$LINENO: result: yes" >&5
32956 echo "${ECHO_T}yes" >&6; }
32957
32958 for ac_header in X11/extensions/xf86vmode.h
32959 do
32960 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32961 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32963 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32964 echo $ECHO_N "(cached) $ECHO_C" >&6
32965 else
32966 cat >conftest.$ac_ext <<_ACEOF
32967 /* confdefs.h. */
32968 _ACEOF
32969 cat confdefs.h >>conftest.$ac_ext
32970 cat >>conftest.$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32972
32973 #if HAVE_X11_XLIB_H
32974 #include <X11/Xlib.h>
32975 #endif
32976
32977
32978 #include <$ac_header>
32979 _ACEOF
32980 rm -f conftest.$ac_objext
32981 if { (ac_try="$ac_compile"
32982 case "(($ac_try" in
32983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32984 *) ac_try_echo=$ac_try;;
32985 esac
32986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32987 (eval "$ac_compile") 2>conftest.er1
32988 ac_status=$?
32989 grep -v '^ *+' conftest.er1 >conftest.err
32990 rm -f conftest.er1
32991 cat conftest.err >&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); } && {
32994 test -z "$ac_c_werror_flag" ||
32995 test ! -s conftest.err
32996 } && test -s conftest.$ac_objext; then
32997 eval "$as_ac_Header=yes"
32998 else
32999 echo "$as_me: failed program was:" >&5
33000 sed 's/^/| /' conftest.$ac_ext >&5
33001
33002 eval "$as_ac_Header=no"
33003 fi
33004
33005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33006 fi
33007 ac_res=`eval echo '${'$as_ac_Header'}'`
33008 { echo "$as_me:$LINENO: result: $ac_res" >&5
33009 echo "${ECHO_T}$ac_res" >&6; }
33010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33011 cat >>confdefs.h <<_ACEOF
33012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33013 _ACEOF
33014
33015 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33016
33017 fi
33018
33019 done
33020
33021 else
33022 { echo "$as_me:$LINENO: result: no" >&5
33023 echo "${ECHO_T}no" >&6; }
33024 fi
33025
33026 else
33027 { echo "$as_me:$LINENO: result: no" >&5
33028 echo "${ECHO_T}no" >&6; }
33029 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33030 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33031 wxUSE_DISPLAY="no"
33032 fi
33033 elif test "$wxUSE_MSW" = 1; then
33034 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33035 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33036 if test "${ac_cv_header_ddraw_h+set}" = set; then
33037 echo $ECHO_N "(cached) $ECHO_C" >&6
33038 else
33039 cat >conftest.$ac_ext <<_ACEOF
33040 /* confdefs.h. */
33041 _ACEOF
33042 cat confdefs.h >>conftest.$ac_ext
33043 cat >>conftest.$ac_ext <<_ACEOF
33044 /* end confdefs.h. */
33045 #include <windows.h>
33046
33047 #include <ddraw.h>
33048 _ACEOF
33049 rm -f conftest.$ac_objext
33050 if { (ac_try="$ac_compile"
33051 case "(($ac_try" in
33052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33053 *) ac_try_echo=$ac_try;;
33054 esac
33055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33056 (eval "$ac_compile") 2>conftest.er1
33057 ac_status=$?
33058 grep -v '^ *+' conftest.er1 >conftest.err
33059 rm -f conftest.er1
33060 cat conftest.err >&5
33061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33062 (exit $ac_status); } && {
33063 test -z "$ac_c_werror_flag" ||
33064 test ! -s conftest.err
33065 } && test -s conftest.$ac_objext; then
33066 ac_cv_header_ddraw_h=yes
33067 else
33068 echo "$as_me: failed program was:" >&5
33069 sed 's/^/| /' conftest.$ac_ext >&5
33070
33071 ac_cv_header_ddraw_h=no
33072 fi
33073
33074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33075 fi
33076 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33077 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33078
33079
33080 fi
33081 fi
33082
33083 if test "$wxUSE_DETECT_SM" = "yes"; then
33084 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33085 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33086 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33087
33088 ac_find_libraries=
33089 for ac_dir in $SEARCH_LIB;
33090 do
33091 for ac_extension in a so sl dylib dll.a; do
33092 if test -f "$ac_dir/libSM.$ac_extension"; then
33093 ac_find_libraries=$ac_dir
33094 break 2
33095 fi
33096 done
33097 done
33098
33099 if test "$ac_find_libraries" != "" ; then
33100
33101 if test "$ac_find_libraries" = "default location"; then
33102 ac_path_to_link=""
33103 else
33104 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33105 result=$?
33106 if test $result = 0; then
33107 ac_path_to_link=""
33108 else
33109 ac_path_to_link=" -L$ac_find_libraries"
33110 fi
33111 fi
33112
33113 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33114 LDFLAGS="$LDFLAGS $ac_path_to_link"
33115 fi
33116 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33117 { echo "$as_me:$LINENO: result: yes" >&5
33118 echo "${ECHO_T}yes" >&6; }
33119 else
33120 { echo "$as_me:$LINENO: result: no" >&5
33121 echo "${ECHO_T}no" >&6; }
33122 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33123 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33124 wxUSE_DETECT_SM="no"
33125 fi
33126 else
33127 wxUSE_DETECT_SM="no"
33128 fi
33129 fi
33130
33131
33132
33133 USE_OPENGL=0
33134 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33135
33136
33137 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33138 OPENGL_LIBS="-framework OpenGL -framework AGL"
33139 elif test "$wxUSE_MSW" = 1; then
33140 OPENGL_LIBS="-lopengl32 -lglu32"
33141 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33142
33143 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33144 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33145
33146 ac_find_includes=
33147 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33148 do
33149 if test -f "$ac_dir/GL/gl.h"; then
33150 ac_find_includes=$ac_dir
33151 break
33152 fi
33153 done
33154
33155 if test "$ac_find_includes" != "" ; then
33156 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33157 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33158
33159 if test "x$ac_find_includes" = "x/usr/include"; then
33160 ac_path_to_include=""
33161 else
33162 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33163 result=$?
33164 if test $result = 0; then
33165 ac_path_to_include=""
33166 else
33167 ac_path_to_include=" -I$ac_find_includes"
33168 fi
33169 fi
33170
33171 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33172 else
33173 { echo "$as_me:$LINENO: result: not found" >&5
33174 echo "${ECHO_T}not found" >&6; }
33175 fi
33176
33177 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33178 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33179 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33180 echo $ECHO_N "(cached) $ECHO_C" >&6
33181 else
33182 cat >conftest.$ac_ext <<_ACEOF
33183 /* confdefs.h. */
33184 _ACEOF
33185 cat confdefs.h >>conftest.$ac_ext
33186 cat >>conftest.$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33188
33189
33190 #include <GL/gl.h>
33191 _ACEOF
33192 rm -f conftest.$ac_objext
33193 if { (ac_try="$ac_compile"
33194 case "(($ac_try" in
33195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33196 *) ac_try_echo=$ac_try;;
33197 esac
33198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33199 (eval "$ac_compile") 2>conftest.er1
33200 ac_status=$?
33201 grep -v '^ *+' conftest.er1 >conftest.err
33202 rm -f conftest.er1
33203 cat conftest.err >&5
33204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33205 (exit $ac_status); } && {
33206 test -z "$ac_c_werror_flag" ||
33207 test ! -s conftest.err
33208 } && test -s conftest.$ac_objext; then
33209 ac_cv_header_GL_gl_h=yes
33210 else
33211 echo "$as_me: failed program was:" >&5
33212 sed 's/^/| /' conftest.$ac_ext >&5
33213
33214 ac_cv_header_GL_gl_h=no
33215 fi
33216
33217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33218 fi
33219 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33220 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33221 if test $ac_cv_header_GL_gl_h = yes; then
33222
33223 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33224 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33225 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33226 echo $ECHO_N "(cached) $ECHO_C" >&6
33227 else
33228 cat >conftest.$ac_ext <<_ACEOF
33229 /* confdefs.h. */
33230 _ACEOF
33231 cat confdefs.h >>conftest.$ac_ext
33232 cat >>conftest.$ac_ext <<_ACEOF
33233 /* end confdefs.h. */
33234
33235
33236 #include <GL/glu.h>
33237 _ACEOF
33238 rm -f conftest.$ac_objext
33239 if { (ac_try="$ac_compile"
33240 case "(($ac_try" in
33241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33242 *) ac_try_echo=$ac_try;;
33243 esac
33244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33245 (eval "$ac_compile") 2>conftest.er1
33246 ac_status=$?
33247 grep -v '^ *+' conftest.er1 >conftest.err
33248 rm -f conftest.er1
33249 cat conftest.err >&5
33250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33251 (exit $ac_status); } && {
33252 test -z "$ac_c_werror_flag" ||
33253 test ! -s conftest.err
33254 } && test -s conftest.$ac_objext; then
33255 ac_cv_header_GL_glu_h=yes
33256 else
33257 echo "$as_me: failed program was:" >&5
33258 sed 's/^/| /' conftest.$ac_ext >&5
33259
33260 ac_cv_header_GL_glu_h=no
33261 fi
33262
33263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33264 fi
33265 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33266 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33267 if test $ac_cv_header_GL_glu_h = yes; then
33268
33269 found_gl=0
33270
33271 { echo "$as_me:$LINENO: checking for -lGL" >&5
33272 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33273
33274 ac_find_libraries=
33275 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33276 do
33277 for ac_extension in a so sl dylib dll.a; do
33278 if test -f "$ac_dir/libGL.$ac_extension"; then
33279 ac_find_libraries=$ac_dir
33280 break 2
33281 fi
33282 done
33283 done
33284
33285 if test "$ac_find_libraries" != "" ; then
33286 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33287 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33288
33289
33290 if test "$ac_find_libraries" = "default location"; then
33291 ac_path_to_link=""
33292 else
33293 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33294 result=$?
33295 if test $result = 0; then
33296 ac_path_to_link=""
33297 else
33298 ac_path_to_link=" -L$ac_find_libraries"
33299 fi
33300 fi
33301
33302 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33303 LDFLAGS_GL="$ac_path_to_link"
33304 fi
33305
33306 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33307 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33308
33309 ac_find_libraries=
33310 for ac_dir in $SEARCH_LIB;
33311 do
33312 for ac_extension in a so sl dylib dll.a; do
33313 if test -f "$ac_dir/libGLU.$ac_extension"; then
33314 ac_find_libraries=$ac_dir
33315 break 2
33316 fi
33317 done
33318 done
33319
33320 if test "$ac_find_libraries" != "" ; then
33321
33322 if test "$ac_find_libraries" = "default location"; then
33323 ac_path_to_link=""
33324 else
33325 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33326 result=$?
33327 if test $result = 0; then
33328 ac_path_to_link=""
33329 else
33330 ac_path_to_link=" -L$ac_find_libraries"
33331 fi
33332 fi
33333
33334 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33335 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33336 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33337 fi
33338
33339 found_gl=1
33340 OPENGL_LIBS="-lGL -lGLU"
33341 { echo "$as_me:$LINENO: result: yes" >&5
33342 echo "${ECHO_T}yes" >&6; }
33343 else
33344 { echo "$as_me:$LINENO: result: no" >&5
33345 echo "${ECHO_T}no" >&6; }
33346 fi
33347 else
33348 { echo "$as_me:$LINENO: result: no" >&5
33349 echo "${ECHO_T}no" >&6; }
33350 fi
33351
33352 if test "$found_gl" != 1; then
33353 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33354 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33355
33356 ac_find_libraries=
33357 for ac_dir in $SEARCH_LIB;
33358 do
33359 for ac_extension in a so sl dylib dll.a; do
33360 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33361 ac_find_libraries=$ac_dir
33362 break 2
33363 fi
33364 done
33365 done
33366
33367 if test "$ac_find_libraries" != "" ; then
33368
33369 if test "$ac_find_libraries" = "default location"; then
33370 ac_path_to_link=""
33371 else
33372 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33373 result=$?
33374 if test $result = 0; then
33375 ac_path_to_link=""
33376 else
33377 ac_path_to_link=" -L$ac_find_libraries"
33378 fi
33379 fi
33380
33381 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33382 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33383 { echo "$as_me:$LINENO: result: yes" >&5
33384 echo "${ECHO_T}yes" >&6; }
33385 else
33386 { echo "$as_me:$LINENO: result: no" >&5
33387 echo "${ECHO_T}no" >&6; }
33388 fi
33389 fi
33390
33391 fi
33392
33393
33394
33395 fi
33396
33397
33398
33399 if test "x$OPENGL_LIBS" = "x"; then
33400 if test "$wxUSE_OPENGL" = "yes"; then
33401 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33402 echo "$as_me: error: OpenGL libraries not available" >&2;}
33403 { (exit 1); exit 1; }; }
33404 else
33405 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33406 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33407 wxUSE_OPENGL=no
33408 USE_OPENGL=0
33409 fi
33410 else
33411 wxUSE_OPENGL=yes
33412 fi
33413 else
33414 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33415 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33416 wxUSE_OPENGL="no"
33417 fi
33418
33419 if test "$wxUSE_OPENGL" = "yes"; then
33420 USE_OPENGL=1
33421 cat >>confdefs.h <<\_ACEOF
33422 #define wxUSE_OPENGL 1
33423 _ACEOF
33424
33425 cat >>confdefs.h <<\_ACEOF
33426 #define wxUSE_GLCANVAS 1
33427 _ACEOF
33428
33429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33430 fi
33431 fi
33432
33433
33434 if test -n "$TOOLKIT" ; then
33435 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33436 fi
33437
33438
33439
33440 if test "$wxUSE_SHARED" = "yes"; then
33441 case "${host}" in
33442 *-pc-msdosdjgpp )
33443 wxUSE_SHARED=no
33444 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33445 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33446 ;;
33447 esac
33448 fi
33449
33450 if test "$wxUSE_SHARED" = "yes"; then
33451
33452
33453 case "${host}" in
33454 *-*-cygwin* | *-*-mingw* )
33455 wx_cv_version_script=no
33456 ;;
33457
33458 *)
33459 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33460 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33461 if test "${wx_cv_version_script+set}" = set; then
33462 echo $ECHO_N "(cached) $ECHO_C" >&6
33463 else
33464
33465 echo "VER_1 { *; };" >conftest.sym
33466 echo "int main() { return 0; }" >conftest.cpp
33467
33468 if { ac_try='
33469 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33470 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33472 (eval $ac_try) 2>&5
33473 ac_status=$?
33474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33475 (exit $ac_status); }; } ; then
33476 if test -s conftest.stderr ; then
33477 wx_cv_version_script=no
33478 else
33479 wx_cv_version_script=yes
33480 fi
33481 else
33482 wx_cv_version_script=no
33483 fi
33484
33485 if test $wx_cv_version_script = yes
33486 then
33487 echo "struct B { virtual ~B() { } }; \
33488 struct D : public B { }; \
33489 void F() { D d; }" > conftest.cpp
33490
33491 if { ac_try='
33492 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33493 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33495 (eval $ac_try) 2>&5
33496 ac_status=$?
33497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33498 (exit $ac_status); }; } &&
33499 { ac_try='
33500 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33501 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33503 (eval $ac_try) 2>&5
33504 ac_status=$?
33505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506 (exit $ac_status); }; }
33507 then
33508 if { ac_try='
33509 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33510 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33512 (eval $ac_try) 2>&5
33513 ac_status=$?
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); }; }
33516 then
33517 wx_cv_version_script=yes
33518 else
33519 wx_cv_version_script=no
33520 fi
33521 fi
33522 fi
33523
33524 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33525 rm -f conftest1.output conftest2.output conftest3.output
33526
33527 fi
33528 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33529 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33530
33531 if test $wx_cv_version_script = yes ; then
33532 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33533 fi
33534 ;;
33535 esac
33536
33537
33538 if test "$wxUSE_VISIBILITY" != "no"; then
33539
33540
33541 if test -n "$GCC"; then
33542 CFLAGS_VISIBILITY="-fvisibility=hidden"
33543 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33544 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33545 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33546 if test "${wx_cv_cc_visibility+set}" = set; then
33547 echo $ECHO_N "(cached) $ECHO_C" >&6
33548 else
33549
33550 wx_save_CXXFLAGS="$CXXFLAGS"
33551 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33552 ac_ext=cpp
33553 ac_cpp='$CXXCPP $CPPFLAGS'
33554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33557
33558 cat >conftest.$ac_ext <<_ACEOF
33559 /* confdefs.h. */
33560 _ACEOF
33561 cat confdefs.h >>conftest.$ac_ext
33562 cat >>conftest.$ac_ext <<_ACEOF
33563 /* end confdefs.h. */
33564
33565 /* we need gcc >= 4.0, older versions with visibility support
33566 didn't have class visibility: */
33567 #if defined(__GNUC__) && __GNUC__ < 4
33568 error this gcc is too old;
33569 #endif
33570
33571 /* visibility only makes sense for ELF shared libs: */
33572 #if !defined(__ELF__) && !defined(__APPLE__)
33573 error this platform has no visibility;
33574 #endif
33575
33576 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33577 extern __attribute__((__visibility__("default"))) int exportedvar;
33578 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33579 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33580 class __attribute__((__visibility__("default"))) Foo {
33581 Foo() {}
33582 };
33583
33584 int
33585 main ()
33586 {
33587
33588 ;
33589 return 0;
33590 }
33591 _ACEOF
33592 rm -f conftest.$ac_objext
33593 if { (ac_try="$ac_compile"
33594 case "(($ac_try" in
33595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33596 *) ac_try_echo=$ac_try;;
33597 esac
33598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33599 (eval "$ac_compile") 2>conftest.er1
33600 ac_status=$?
33601 grep -v '^ *+' conftest.er1 >conftest.err
33602 rm -f conftest.er1
33603 cat conftest.err >&5
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); } && {
33606 test -z "$ac_cxx_werror_flag" ||
33607 test ! -s conftest.err
33608 } && test -s conftest.$ac_objext; then
33609 wx_cv_cc_visibility=yes
33610 else
33611 echo "$as_me: failed program was:" >&5
33612 sed 's/^/| /' conftest.$ac_ext >&5
33613
33614 wx_cv_cc_visibility=no
33615 fi
33616
33617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33618 ac_ext=c
33619 ac_cpp='$CPP $CPPFLAGS'
33620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33623
33624 CXXFLAGS="$wx_save_CXXFLAGS"
33625 fi
33626
33627 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33628 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33629 if test $wx_cv_cc_visibility = yes; then
33630 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33631 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33632 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33633 echo $ECHO_N "(cached) $ECHO_C" >&6
33634 else
33635
33636 wx_save_CXXFLAGS="$CXXFLAGS"
33637 wx_save_LDFLAGS="$LDFLAGS"
33638 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33639 LDFLAGS="$LDFLAGS -shared -fPIC"
33640 ac_ext=cpp
33641 ac_cpp='$CXXCPP $CPPFLAGS'
33642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33645
33646 cat >conftest.$ac_ext <<_ACEOF
33647 /* confdefs.h. */
33648 _ACEOF
33649 cat confdefs.h >>conftest.$ac_ext
33650 cat >>conftest.$ac_ext <<_ACEOF
33651 /* end confdefs.h. */
33652
33653 #include <string>
33654
33655 int
33656 main ()
33657 {
33658
33659 std::string s("hello");
33660 return s.length();
33661
33662 ;
33663 return 0;
33664 }
33665 _ACEOF
33666 rm -f conftest.$ac_objext conftest$ac_exeext
33667 if { (ac_try="$ac_link"
33668 case "(($ac_try" in
33669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33670 *) ac_try_echo=$ac_try;;
33671 esac
33672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33673 (eval "$ac_link") 2>conftest.er1
33674 ac_status=$?
33675 grep -v '^ *+' conftest.er1 >conftest.err
33676 rm -f conftest.er1
33677 cat conftest.err >&5
33678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33679 (exit $ac_status); } && {
33680 test -z "$ac_cxx_werror_flag" ||
33681 test ! -s conftest.err
33682 } && test -s conftest$ac_exeext &&
33683 $as_test_x conftest$ac_exeext; then
33684 wx_cv_cc_broken_libstdcxx_visibility=no
33685 else
33686 echo "$as_me: failed program was:" >&5
33687 sed 's/^/| /' conftest.$ac_ext >&5
33688
33689 wx_cv_cc_broken_libstdcxx_visibility=yes
33690 fi
33691
33692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33693 conftest$ac_exeext conftest.$ac_ext
33694 ac_ext=c
33695 ac_cpp='$CPP $CPPFLAGS'
33696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33699
33700 CXXFLAGS="$wx_save_CXXFLAGS"
33701 LDFLAGS="$wx_save_LDFLAGS"
33702 fi
33703
33704 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33705 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33706
33707 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33708 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33709 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33710 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33711 echo $ECHO_N "(cached) $ECHO_C" >&6
33712 else
33713
33714 ac_ext=cpp
33715 ac_cpp='$CXXCPP $CPPFLAGS'
33716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33719
33720 cat >conftest.$ac_ext <<_ACEOF
33721 /* confdefs.h. */
33722 _ACEOF
33723 cat confdefs.h >>conftest.$ac_ext
33724 cat >>conftest.$ac_ext <<_ACEOF
33725 /* end confdefs.h. */
33726
33727 #pragma GCC visibility push(default)
33728 #include <string>
33729 #pragma GCC visibility pop
33730
33731 int
33732 main ()
33733 {
33734
33735 std::string s("hello");
33736 return s.length();
33737
33738 ;
33739 return 0;
33740 }
33741 _ACEOF
33742 rm -f conftest.$ac_objext conftest$ac_exeext
33743 if { (ac_try="$ac_link"
33744 case "(($ac_try" in
33745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33746 *) ac_try_echo=$ac_try;;
33747 esac
33748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33749 (eval "$ac_link") 2>conftest.er1
33750 ac_status=$?
33751 grep -v '^ *+' conftest.er1 >conftest.err
33752 rm -f conftest.er1
33753 cat conftest.err >&5
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); } && {
33756 test -z "$ac_cxx_werror_flag" ||
33757 test ! -s conftest.err
33758 } && test -s conftest$ac_exeext &&
33759 $as_test_x conftest$ac_exeext; then
33760 wx_cv_cc_visibility_workaround=no
33761 else
33762 echo "$as_me: failed program was:" >&5
33763 sed 's/^/| /' conftest.$ac_ext >&5
33764
33765 wx_cv_cc_visibility_workaround=yes
33766 fi
33767
33768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33769 conftest$ac_exeext conftest.$ac_ext
33770 ac_ext=c
33771 ac_cpp='$CPP $CPPFLAGS'
33772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33775
33776
33777 fi
33778
33779 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33780 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33781
33782 if test $wx_cv_cc_visibility_workaround = no; then
33783 wx_cv_cc_visibility=no
33784 fi
33785 fi
33786 fi
33787
33788 if test $wx_cv_cc_visibility = yes; then
33789 cat >>confdefs.h <<\_ACEOF
33790 #define HAVE_VISIBILITY 1
33791 _ACEOF
33792
33793 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33794 cat >>confdefs.h <<\_ACEOF
33795 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33796 _ACEOF
33797
33798 fi
33799 else
33800 CFLAGS_VISIBILITY=""
33801 CXXFLAGS_VISIBILITY=""
33802 fi
33803
33804
33805 fi
33806
33807 fi
33808
33809 if test "x$SUNCXX" = xyes; then
33810 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33811 WXCONFIG_RPATH="-R\$libdir"
33812 else
33813 case "${host}" in
33814 *-*-linux* | *-*-gnu* )
33815 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33816 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33817 ;;
33818
33819 *-*-solaris2* )
33820
33821 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33822
33823 saveLdflags="$LDFLAGS"
33824 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33825 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33826 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33827 cat >conftest.$ac_ext <<_ACEOF
33828 /* confdefs.h. */
33829 _ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833
33834 int
33835 main ()
33836 {
33837
33838 ;
33839 return 0;
33840 }
33841 _ACEOF
33842 rm -f conftest.$ac_objext conftest$ac_exeext
33843 if { (ac_try="$ac_link"
33844 case "(($ac_try" in
33845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33846 *) ac_try_echo=$ac_try;;
33847 esac
33848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33849 (eval "$ac_link") 2>conftest.er1
33850 ac_status=$?
33851 grep -v '^ *+' conftest.er1 >conftest.err
33852 rm -f conftest.er1
33853 cat conftest.err >&5
33854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33855 (exit $ac_status); } && {
33856 test -z "$ac_c_werror_flag" ||
33857 test ! -s conftest.err
33858 } && test -s conftest$ac_exeext &&
33859 $as_test_x conftest$ac_exeext; then
33860
33861 { echo "$as_me:$LINENO: result: yes" >&5
33862 echo "${ECHO_T}yes" >&6; }
33863 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33864 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33865
33866 else
33867 echo "$as_me: failed program was:" >&5
33868 sed 's/^/| /' conftest.$ac_ext >&5
33869
33870
33871 { echo "$as_me:$LINENO: result: no" >&5
33872 echo "${ECHO_T}no" >&6; }
33873 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33874 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33875 LDFLAGS="$saveLdflags -Wl,-R,/"
33876 cat >conftest.$ac_ext <<_ACEOF
33877 /* confdefs.h. */
33878 _ACEOF
33879 cat confdefs.h >>conftest.$ac_ext
33880 cat >>conftest.$ac_ext <<_ACEOF
33881 /* end confdefs.h. */
33882
33883 int
33884 main ()
33885 {
33886
33887 ;
33888 return 0;
33889 }
33890 _ACEOF
33891 rm -f conftest.$ac_objext conftest$ac_exeext
33892 if { (ac_try="$ac_link"
33893 case "(($ac_try" in
33894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33895 *) ac_try_echo=$ac_try;;
33896 esac
33897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33898 (eval "$ac_link") 2>conftest.er1
33899 ac_status=$?
33900 grep -v '^ *+' conftest.er1 >conftest.err
33901 rm -f conftest.er1
33902 cat conftest.err >&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } && {
33905 test -z "$ac_c_werror_flag" ||
33906 test ! -s conftest.err
33907 } && test -s conftest$ac_exeext &&
33908 $as_test_x conftest$ac_exeext; then
33909
33910 { echo "$as_me:$LINENO: result: yes" >&5
33911 echo "${ECHO_T}yes" >&6; }
33912 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33913 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33914
33915 else
33916 echo "$as_me: failed program was:" >&5
33917 sed 's/^/| /' conftest.$ac_ext >&5
33918
33919
33920 { echo "$as_me:$LINENO: result: no" >&5
33921 echo "${ECHO_T}no" >&6; }
33922
33923 fi
33924
33925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33926 conftest$ac_exeext conftest.$ac_ext
33927
33928 fi
33929
33930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33931 conftest$ac_exeext conftest.$ac_ext
33932 LDFLAGS="$saveLdflags"
33933 ;;
33934
33935 *-*-darwin* )
33936 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
33937 if test "$install_name_tool" -a -x "$install_name_tool"; then
33938 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
33939 cat <<EOF >change-install-names
33940 #!/bin/sh
33941 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33942 for i in \${libnames} ; do
33943 ${HOST_PREFIX}install_name_tool -id \${1}/\${i} \${1}/\${i}
33944 for dep in \${libnames} ; do
33945 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${1}/\${dep} \${1}/\${i}
33946 done
33947 done
33948 EOF
33949 chmod +x change-install-names
33950 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${libdir} \$(wx_top_builddir)/lib"
33951 fi
33952
33953 HEADER_PAD_OPTION="-headerpad_max_install_names"
33954 ;;
33955
33956 *-*-cygwin* | *-*-mingw32* )
33957 ;;
33958
33959 *-*-hpux* )
33960 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33961 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33962 ;;
33963
33964 esac
33965 fi
33966
33967 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33968
33969 if test $wxUSE_RPATH = "no"; then
33970 SAMPLES_RPATH_FLAG=''
33971 DYLIB_PATH_POSTLINK=''
33972 WXCONFIG_RPATH=''
33973 fi
33974
33975 SHARED=1
33976
33977 else
33978
33979 config_linkage_component="-static"
33980 SHARED=0
33981
33982 fi
33983
33984
33985 UNICODE=0
33986 lib_unicode_suffix=
33987 WX_CHARTYPE="ansi"
33988 if test "$wxUSE_UNICODE" = "yes"; then
33989 lib_unicode_suffix=u
33990 WX_CHARTYPE="unicode"
33991 UNICODE=1
33992 fi
33993
33994 lib_debug_suffix=
33995 WX_DEBUGTYPE="release"
33996 DEBUG_FLAG=0
33997 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33998 lib_debug_suffix=d
33999 WX_DEBUGTYPE="debug"
34000 DEBUG_FLAG=1
34001 fi
34002
34003 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34004 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34005
34006 DEBUG_INFO=0
34007 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34008 DEBUG_INFO=1
34009 fi
34010
34011 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
34012
34013 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
34014
34015 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34016
34017
34018 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
34019 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34020 else
34021 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34022 fi
34023 if test "${TOOLKIT_DIR}" = "os2"; then
34024 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34025 else
34026 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34027 fi
34028
34029
34030
34031 if test "$wxUSE_COCOA" = 1; then
34032
34033 ac_ext=c
34034 ac_cpp='$CPP $CPPFLAGS'
34035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34038
34039 ac_ext=m
34040
34041 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34042 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34043 cat >conftest.$ac_ext <<_ACEOF
34044 /* confdefs.h. */
34045 _ACEOF
34046 cat confdefs.h >>conftest.$ac_ext
34047 cat >>conftest.$ac_ext <<_ACEOF
34048 /* end confdefs.h. */
34049 #include <AppKit/NSEvent.h>
34050 #include <CoreFoundation/CoreFoundation.h>
34051
34052 int
34053 main ()
34054 {
34055
34056 ;
34057 return 0;
34058 }
34059 _ACEOF
34060 rm -f conftest.$ac_objext
34061 if { (ac_try="$ac_compile"
34062 case "(($ac_try" in
34063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34064 *) ac_try_echo=$ac_try;;
34065 esac
34066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34067 (eval "$ac_compile") 2>conftest.er1
34068 ac_status=$?
34069 grep -v '^ *+' conftest.er1 >conftest.err
34070 rm -f conftest.er1
34071 cat conftest.err >&5
34072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073 (exit $ac_status); } && {
34074 test -z "$ac_c_werror_flag" ||
34075 test ! -s conftest.err
34076 } && test -s conftest.$ac_objext; then
34077 { echo "$as_me:$LINENO: result: no" >&5
34078 echo "${ECHO_T}no" >&6; }
34079 else
34080 echo "$as_me: failed program was:" >&5
34081 sed 's/^/| /' conftest.$ac_ext >&5
34082
34083 { echo "$as_me:$LINENO: result: yes" >&5
34084 echo "${ECHO_T}yes" >&6; }
34085 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34086 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34087 cat >conftest.$ac_ext <<_ACEOF
34088 /* confdefs.h. */
34089 _ACEOF
34090 cat confdefs.h >>conftest.$ac_ext
34091 cat >>conftest.$ac_ext <<_ACEOF
34092 /* end confdefs.h. */
34093 #define __Point__ 1
34094 #include <AppKit/NSEvent.h>
34095 #include <CoreFoundation/CoreFoundation.h>
34096
34097 int
34098 main ()
34099 {
34100
34101 ;
34102 return 0;
34103 }
34104 _ACEOF
34105 rm -f conftest.$ac_objext
34106 if { (ac_try="$ac_compile"
34107 case "(($ac_try" in
34108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34109 *) ac_try_echo=$ac_try;;
34110 esac
34111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34112 (eval "$ac_compile") 2>conftest.er1
34113 ac_status=$?
34114 grep -v '^ *+' conftest.er1 >conftest.err
34115 rm -f conftest.er1
34116 cat conftest.err >&5
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); } && {
34119 test -z "$ac_c_werror_flag" ||
34120 test ! -s conftest.err
34121 } && test -s conftest.$ac_objext; then
34122 { echo "$as_me:$LINENO: result: yes" >&5
34123 echo "${ECHO_T}yes" >&6; }
34124 cat >>confdefs.h <<\_ACEOF
34125 #define __Point__ 1
34126 _ACEOF
34127
34128
34129 else
34130 echo "$as_me: failed program was:" >&5
34131 sed 's/^/| /' conftest.$ac_ext >&5
34132
34133 { { echo "$as_me:$LINENO: error: no
34134 See \`config.log' for more details." >&5
34135 echo "$as_me: error: no
34136 See \`config.log' for more details." >&2;}
34137 { (exit 1); exit 1; }; }
34138
34139 fi
34140
34141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34142
34143 fi
34144
34145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34146 ac_ext=c
34147 ac_cpp='$CPP $CPPFLAGS'
34148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34151
34152 fi
34153
34154
34155 { echo "$as_me:$LINENO: checking for mode_t" >&5
34156 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34157 if test "${ac_cv_type_mode_t+set}" = set; then
34158 echo $ECHO_N "(cached) $ECHO_C" >&6
34159 else
34160 cat >conftest.$ac_ext <<_ACEOF
34161 /* confdefs.h. */
34162 _ACEOF
34163 cat confdefs.h >>conftest.$ac_ext
34164 cat >>conftest.$ac_ext <<_ACEOF
34165 /* end confdefs.h. */
34166 $ac_includes_default
34167 typedef mode_t ac__type_new_;
34168 int
34169 main ()
34170 {
34171 if ((ac__type_new_ *) 0)
34172 return 0;
34173 if (sizeof (ac__type_new_))
34174 return 0;
34175 ;
34176 return 0;
34177 }
34178 _ACEOF
34179 rm -f conftest.$ac_objext
34180 if { (ac_try="$ac_compile"
34181 case "(($ac_try" in
34182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34183 *) ac_try_echo=$ac_try;;
34184 esac
34185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34186 (eval "$ac_compile") 2>conftest.er1
34187 ac_status=$?
34188 grep -v '^ *+' conftest.er1 >conftest.err
34189 rm -f conftest.er1
34190 cat conftest.err >&5
34191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34192 (exit $ac_status); } && {
34193 test -z "$ac_c_werror_flag" ||
34194 test ! -s conftest.err
34195 } && test -s conftest.$ac_objext; then
34196 ac_cv_type_mode_t=yes
34197 else
34198 echo "$as_me: failed program was:" >&5
34199 sed 's/^/| /' conftest.$ac_ext >&5
34200
34201 ac_cv_type_mode_t=no
34202 fi
34203
34204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34205 fi
34206 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34207 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34208 if test $ac_cv_type_mode_t = yes; then
34209 :
34210 else
34211
34212 cat >>confdefs.h <<_ACEOF
34213 #define mode_t int
34214 _ACEOF
34215
34216 fi
34217
34218 { echo "$as_me:$LINENO: checking for off_t" >&5
34219 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34220 if test "${ac_cv_type_off_t+set}" = set; then
34221 echo $ECHO_N "(cached) $ECHO_C" >&6
34222 else
34223 cat >conftest.$ac_ext <<_ACEOF
34224 /* confdefs.h. */
34225 _ACEOF
34226 cat confdefs.h >>conftest.$ac_ext
34227 cat >>conftest.$ac_ext <<_ACEOF
34228 /* end confdefs.h. */
34229 $ac_includes_default
34230 typedef off_t ac__type_new_;
34231 int
34232 main ()
34233 {
34234 if ((ac__type_new_ *) 0)
34235 return 0;
34236 if (sizeof (ac__type_new_))
34237 return 0;
34238 ;
34239 return 0;
34240 }
34241 _ACEOF
34242 rm -f conftest.$ac_objext
34243 if { (ac_try="$ac_compile"
34244 case "(($ac_try" in
34245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34246 *) ac_try_echo=$ac_try;;
34247 esac
34248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34249 (eval "$ac_compile") 2>conftest.er1
34250 ac_status=$?
34251 grep -v '^ *+' conftest.er1 >conftest.err
34252 rm -f conftest.er1
34253 cat conftest.err >&5
34254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34255 (exit $ac_status); } && {
34256 test -z "$ac_c_werror_flag" ||
34257 test ! -s conftest.err
34258 } && test -s conftest.$ac_objext; then
34259 ac_cv_type_off_t=yes
34260 else
34261 echo "$as_me: failed program was:" >&5
34262 sed 's/^/| /' conftest.$ac_ext >&5
34263
34264 ac_cv_type_off_t=no
34265 fi
34266
34267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34268 fi
34269 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34270 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34271 if test $ac_cv_type_off_t = yes; then
34272 :
34273 else
34274
34275 cat >>confdefs.h <<_ACEOF
34276 #define off_t long int
34277 _ACEOF
34278
34279 fi
34280
34281 { echo "$as_me:$LINENO: checking for pid_t" >&5
34282 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34283 if test "${ac_cv_type_pid_t+set}" = set; then
34284 echo $ECHO_N "(cached) $ECHO_C" >&6
34285 else
34286 cat >conftest.$ac_ext <<_ACEOF
34287 /* confdefs.h. */
34288 _ACEOF
34289 cat confdefs.h >>conftest.$ac_ext
34290 cat >>conftest.$ac_ext <<_ACEOF
34291 /* end confdefs.h. */
34292 $ac_includes_default
34293 typedef pid_t ac__type_new_;
34294 int
34295 main ()
34296 {
34297 if ((ac__type_new_ *) 0)
34298 return 0;
34299 if (sizeof (ac__type_new_))
34300 return 0;
34301 ;
34302 return 0;
34303 }
34304 _ACEOF
34305 rm -f conftest.$ac_objext
34306 if { (ac_try="$ac_compile"
34307 case "(($ac_try" in
34308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34309 *) ac_try_echo=$ac_try;;
34310 esac
34311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34312 (eval "$ac_compile") 2>conftest.er1
34313 ac_status=$?
34314 grep -v '^ *+' conftest.er1 >conftest.err
34315 rm -f conftest.er1
34316 cat conftest.err >&5
34317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34318 (exit $ac_status); } && {
34319 test -z "$ac_c_werror_flag" ||
34320 test ! -s conftest.err
34321 } && test -s conftest.$ac_objext; then
34322 ac_cv_type_pid_t=yes
34323 else
34324 echo "$as_me: failed program was:" >&5
34325 sed 's/^/| /' conftest.$ac_ext >&5
34326
34327 ac_cv_type_pid_t=no
34328 fi
34329
34330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34331 fi
34332 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34333 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34334 if test $ac_cv_type_pid_t = yes; then
34335 :
34336 else
34337
34338 cat >>confdefs.h <<_ACEOF
34339 #define pid_t int
34340 _ACEOF
34341
34342 fi
34343
34344 { echo "$as_me:$LINENO: checking for size_t" >&5
34345 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34346 if test "${ac_cv_type_size_t+set}" = set; then
34347 echo $ECHO_N "(cached) $ECHO_C" >&6
34348 else
34349 cat >conftest.$ac_ext <<_ACEOF
34350 /* confdefs.h. */
34351 _ACEOF
34352 cat confdefs.h >>conftest.$ac_ext
34353 cat >>conftest.$ac_ext <<_ACEOF
34354 /* end confdefs.h. */
34355 $ac_includes_default
34356 typedef size_t ac__type_new_;
34357 int
34358 main ()
34359 {
34360 if ((ac__type_new_ *) 0)
34361 return 0;
34362 if (sizeof (ac__type_new_))
34363 return 0;
34364 ;
34365 return 0;
34366 }
34367 _ACEOF
34368 rm -f conftest.$ac_objext
34369 if { (ac_try="$ac_compile"
34370 case "(($ac_try" in
34371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34372 *) ac_try_echo=$ac_try;;
34373 esac
34374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34375 (eval "$ac_compile") 2>conftest.er1
34376 ac_status=$?
34377 grep -v '^ *+' conftest.er1 >conftest.err
34378 rm -f conftest.er1
34379 cat conftest.err >&5
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); } && {
34382 test -z "$ac_c_werror_flag" ||
34383 test ! -s conftest.err
34384 } && test -s conftest.$ac_objext; then
34385 ac_cv_type_size_t=yes
34386 else
34387 echo "$as_me: failed program was:" >&5
34388 sed 's/^/| /' conftest.$ac_ext >&5
34389
34390 ac_cv_type_size_t=no
34391 fi
34392
34393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34394 fi
34395 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34396 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34397 if test $ac_cv_type_size_t = yes; then
34398 :
34399 else
34400
34401 cat >>confdefs.h <<_ACEOF
34402 #define size_t unsigned int
34403 _ACEOF
34404
34405 fi
34406
34407
34408 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34409 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34410 if test "${ac_cv_type_ssize_t+set}" = set; then
34411 echo $ECHO_N "(cached) $ECHO_C" >&6
34412 else
34413 cat >conftest.$ac_ext <<_ACEOF
34414 /* confdefs.h. */
34415 _ACEOF
34416 cat confdefs.h >>conftest.$ac_ext
34417 cat >>conftest.$ac_ext <<_ACEOF
34418 /* end confdefs.h. */
34419 $ac_includes_default
34420 typedef ssize_t ac__type_new_;
34421 int
34422 main ()
34423 {
34424 if ((ac__type_new_ *) 0)
34425 return 0;
34426 if (sizeof (ac__type_new_))
34427 return 0;
34428 ;
34429 return 0;
34430 }
34431 _ACEOF
34432 rm -f conftest.$ac_objext
34433 if { (ac_try="$ac_compile"
34434 case "(($ac_try" in
34435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34436 *) ac_try_echo=$ac_try;;
34437 esac
34438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34439 (eval "$ac_compile") 2>conftest.er1
34440 ac_status=$?
34441 grep -v '^ *+' conftest.er1 >conftest.err
34442 rm -f conftest.er1
34443 cat conftest.err >&5
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); } && {
34446 test -z "$ac_c_werror_flag" ||
34447 test ! -s conftest.err
34448 } && test -s conftest.$ac_objext; then
34449 ac_cv_type_ssize_t=yes
34450 else
34451 echo "$as_me: failed program was:" >&5
34452 sed 's/^/| /' conftest.$ac_ext >&5
34453
34454 ac_cv_type_ssize_t=no
34455 fi
34456
34457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34458 fi
34459 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34460 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34461 if test $ac_cv_type_ssize_t = yes; then
34462
34463 cat >>confdefs.h <<_ACEOF
34464 #define HAVE_SSIZE_T 1
34465 _ACEOF
34466
34467
34468 fi
34469
34470
34471 ac_ext=cpp
34472 ac_cpp='$CXXCPP $CPPFLAGS'
34473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34476 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34477 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34478 if test "${wx_cv_size_t_is_uint+set}" = set; then
34479 echo $ECHO_N "(cached) $ECHO_C" >&6
34480 else
34481
34482 cat >conftest.$ac_ext <<_ACEOF
34483 /* confdefs.h. */
34484 _ACEOF
34485 cat confdefs.h >>conftest.$ac_ext
34486 cat >>conftest.$ac_ext <<_ACEOF
34487 /* end confdefs.h. */
34488 #include <stddef.h>
34489 int
34490 main ()
34491 {
34492
34493 return 0; }
34494
34495 struct Foo { void foo(size_t); void foo(unsigned int); };
34496
34497 int bar() {
34498
34499 ;
34500 return 0;
34501 }
34502 _ACEOF
34503 rm -f conftest.$ac_objext
34504 if { (ac_try="$ac_compile"
34505 case "(($ac_try" in
34506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34507 *) ac_try_echo=$ac_try;;
34508 esac
34509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34510 (eval "$ac_compile") 2>conftest.er1
34511 ac_status=$?
34512 grep -v '^ *+' conftest.er1 >conftest.err
34513 rm -f conftest.er1
34514 cat conftest.err >&5
34515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34516 (exit $ac_status); } && {
34517 test -z "$ac_cxx_werror_flag" ||
34518 test ! -s conftest.err
34519 } && test -s conftest.$ac_objext; then
34520 wx_cv_size_t_is_uint=no
34521 else
34522 echo "$as_me: failed program was:" >&5
34523 sed 's/^/| /' conftest.$ac_ext >&5
34524
34525 wx_cv_size_t_is_uint=yes
34526
34527 fi
34528
34529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34530
34531
34532 fi
34533 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34534 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34535
34536 if test "$wx_cv_size_t_is_uint" = "yes"; then
34537 cat >>confdefs.h <<\_ACEOF
34538 #define wxSIZE_T_IS_UINT 1
34539 _ACEOF
34540
34541 else
34542 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34543 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34544 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34546 else
34547 cat >conftest.$ac_ext <<_ACEOF
34548 /* confdefs.h. */
34549 _ACEOF
34550 cat confdefs.h >>conftest.$ac_ext
34551 cat >>conftest.$ac_ext <<_ACEOF
34552 /* end confdefs.h. */
34553 #include <stddef.h>
34554 int
34555 main ()
34556 {
34557
34558 return 0; }
34559
34560 struct Foo { void foo(size_t); void foo(unsigned long); };
34561
34562 int bar() {
34563
34564 ;
34565 return 0;
34566 }
34567 _ACEOF
34568 rm -f conftest.$ac_objext
34569 if { (ac_try="$ac_compile"
34570 case "(($ac_try" in
34571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34572 *) ac_try_echo=$ac_try;;
34573 esac
34574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34575 (eval "$ac_compile") 2>conftest.er1
34576 ac_status=$?
34577 grep -v '^ *+' conftest.er1 >conftest.err
34578 rm -f conftest.er1
34579 cat conftest.err >&5
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); } && {
34582 test -z "$ac_cxx_werror_flag" ||
34583 test ! -s conftest.err
34584 } && test -s conftest.$ac_objext; then
34585 wx_cv_size_t_is_ulong=no
34586 else
34587 echo "$as_me: failed program was:" >&5
34588 sed 's/^/| /' conftest.$ac_ext >&5
34589
34590 wx_cv_size_t_is_ulong=yes
34591
34592 fi
34593
34594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34595
34596 fi
34597 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34598 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34599
34600 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34601 cat >>confdefs.h <<\_ACEOF
34602 #define wxSIZE_T_IS_ULONG 1
34603 _ACEOF
34604
34605 fi
34606 fi
34607
34608 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34609 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34610 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34611 echo $ECHO_N "(cached) $ECHO_C" >&6
34612 else
34613 cat >conftest.$ac_ext <<_ACEOF
34614 /* confdefs.h. */
34615 _ACEOF
34616 cat confdefs.h >>conftest.$ac_ext
34617 cat >>conftest.$ac_ext <<_ACEOF
34618 /* end confdefs.h. */
34619 #include <wchar.h>
34620 int
34621 main ()
34622 {
34623
34624 return 0; }
34625
34626 struct Foo { void foo(wchar_t);
34627 void foo(unsigned short);
34628 void foo(unsigned int);
34629 void foo(unsigned long); };
34630
34631 int bar() {
34632
34633 ;
34634 return 0;
34635 }
34636 _ACEOF
34637 rm -f conftest.$ac_objext
34638 if { (ac_try="$ac_compile"
34639 case "(($ac_try" in
34640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34641 *) ac_try_echo=$ac_try;;
34642 esac
34643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34644 (eval "$ac_compile") 2>conftest.er1
34645 ac_status=$?
34646 grep -v '^ *+' conftest.er1 >conftest.err
34647 rm -f conftest.er1
34648 cat conftest.err >&5
34649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34650 (exit $ac_status); } && {
34651 test -z "$ac_cxx_werror_flag" ||
34652 test ! -s conftest.err
34653 } && test -s conftest.$ac_objext; then
34654 wx_cv_wchar_t_is_separate_type=yes
34655 else
34656 echo "$as_me: failed program was:" >&5
34657 sed 's/^/| /' conftest.$ac_ext >&5
34658
34659 wx_cv_wchar_t_is_separate_type=no
34660
34661 fi
34662
34663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34664
34665 fi
34666 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34667 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34668
34669 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34670 cat >>confdefs.h <<\_ACEOF
34671 #define wxWCHAR_T_IS_REAL_TYPE 1
34672 _ACEOF
34673
34674 else
34675 cat >>confdefs.h <<\_ACEOF
34676 #define wxWCHAR_T_IS_REAL_TYPE 0
34677 _ACEOF
34678
34679 fi
34680
34681 ac_ext=c
34682 ac_cpp='$CPP $CPPFLAGS'
34683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34686
34687
34688 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34689 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34690 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34691 echo $ECHO_N "(cached) $ECHO_C" >&6
34692 else
34693
34694 cat >conftest.$ac_ext <<_ACEOF
34695 /* confdefs.h. */
34696 _ACEOF
34697 cat confdefs.h >>conftest.$ac_ext
34698 cat >>conftest.$ac_ext <<_ACEOF
34699 /* end confdefs.h. */
34700 #include <pwd.h>
34701 int
34702 main ()
34703 {
34704
34705 char *p;
34706 struct passwd *pw;
34707 p = pw->pw_gecos;
34708
34709 ;
34710 return 0;
34711 }
34712 _ACEOF
34713 rm -f conftest.$ac_objext
34714 if { (ac_try="$ac_compile"
34715 case "(($ac_try" in
34716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34717 *) ac_try_echo=$ac_try;;
34718 esac
34719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34720 (eval "$ac_compile") 2>conftest.er1
34721 ac_status=$?
34722 grep -v '^ *+' conftest.er1 >conftest.err
34723 rm -f conftest.er1
34724 cat conftest.err >&5
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); } && {
34727 test -z "$ac_c_werror_flag" ||
34728 test ! -s conftest.err
34729 } && test -s conftest.$ac_objext; then
34730
34731 wx_cv_struct_pw_gecos=yes
34732
34733 else
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34736
34737
34738 wx_cv_struct_pw_gecos=no
34739
34740
34741 fi
34742
34743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34744
34745
34746 fi
34747 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34748 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34749
34750 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34751 cat >>confdefs.h <<\_ACEOF
34752 #define HAVE_PW_GECOS 1
34753 _ACEOF
34754
34755 fi
34756
34757
34758 if test "$wxUSE_WCHAR_T" = "yes"; then
34759 cat >>confdefs.h <<\_ACEOF
34760 #define wxUSE_WCHAR_T 1
34761 _ACEOF
34762
34763
34764 WCSLEN_FOUND=0
34765 WCHAR_LINK=
34766
34767 for ac_func in wcslen
34768 do
34769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34770 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34772 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34773 echo $ECHO_N "(cached) $ECHO_C" >&6
34774 else
34775 cat >conftest.$ac_ext <<_ACEOF
34776 /* confdefs.h. */
34777 _ACEOF
34778 cat confdefs.h >>conftest.$ac_ext
34779 cat >>conftest.$ac_ext <<_ACEOF
34780 /* end confdefs.h. */
34781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34783 #define $ac_func innocuous_$ac_func
34784
34785 /* System header to define __stub macros and hopefully few prototypes,
34786 which can conflict with char $ac_func (); below.
34787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34788 <limits.h> exists even on freestanding compilers. */
34789
34790 #ifdef __STDC__
34791 # include <limits.h>
34792 #else
34793 # include <assert.h>
34794 #endif
34795
34796 #undef $ac_func
34797
34798 /* Override any GCC internal prototype to avoid an error.
34799 Use char because int might match the return type of a GCC
34800 builtin and then its argument prototype would still apply. */
34801 #ifdef __cplusplus
34802 extern "C"
34803 #endif
34804 char $ac_func ();
34805 /* The GNU C library defines this for functions which it implements
34806 to always fail with ENOSYS. Some functions are actually named
34807 something starting with __ and the normal name is an alias. */
34808 #if defined __stub_$ac_func || defined __stub___$ac_func
34809 choke me
34810 #endif
34811
34812 int
34813 main ()
34814 {
34815 return $ac_func ();
34816 ;
34817 return 0;
34818 }
34819 _ACEOF
34820 rm -f conftest.$ac_objext conftest$ac_exeext
34821 if { (ac_try="$ac_link"
34822 case "(($ac_try" in
34823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34824 *) ac_try_echo=$ac_try;;
34825 esac
34826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34827 (eval "$ac_link") 2>conftest.er1
34828 ac_status=$?
34829 grep -v '^ *+' conftest.er1 >conftest.err
34830 rm -f conftest.er1
34831 cat conftest.err >&5
34832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34833 (exit $ac_status); } && {
34834 test -z "$ac_c_werror_flag" ||
34835 test ! -s conftest.err
34836 } && test -s conftest$ac_exeext &&
34837 $as_test_x conftest$ac_exeext; then
34838 eval "$as_ac_var=yes"
34839 else
34840 echo "$as_me: failed program was:" >&5
34841 sed 's/^/| /' conftest.$ac_ext >&5
34842
34843 eval "$as_ac_var=no"
34844 fi
34845
34846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34847 conftest$ac_exeext conftest.$ac_ext
34848 fi
34849 ac_res=`eval echo '${'$as_ac_var'}'`
34850 { echo "$as_me:$LINENO: result: $ac_res" >&5
34851 echo "${ECHO_T}$ac_res" >&6; }
34852 if test `eval echo '${'$as_ac_var'}'` = yes; then
34853 cat >>confdefs.h <<_ACEOF
34854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34855 _ACEOF
34856 WCSLEN_FOUND=1
34857 fi
34858 done
34859
34860
34861 if test "$WCSLEN_FOUND" = 0; then
34862 if test "$TOOLKIT" = "MSW"; then
34863 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34864 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34865 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34866 echo $ECHO_N "(cached) $ECHO_C" >&6
34867 else
34868 ac_check_lib_save_LIBS=$LIBS
34869 LIBS="-lmsvcrt $LIBS"
34870 cat >conftest.$ac_ext <<_ACEOF
34871 /* confdefs.h. */
34872 _ACEOF
34873 cat confdefs.h >>conftest.$ac_ext
34874 cat >>conftest.$ac_ext <<_ACEOF
34875 /* end confdefs.h. */
34876
34877 /* Override any GCC internal prototype to avoid an error.
34878 Use char because int might match the return type of a GCC
34879 builtin and then its argument prototype would still apply. */
34880 #ifdef __cplusplus
34881 extern "C"
34882 #endif
34883 char wcslen ();
34884 int
34885 main ()
34886 {
34887 return wcslen ();
34888 ;
34889 return 0;
34890 }
34891 _ACEOF
34892 rm -f conftest.$ac_objext conftest$ac_exeext
34893 if { (ac_try="$ac_link"
34894 case "(($ac_try" in
34895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34896 *) ac_try_echo=$ac_try;;
34897 esac
34898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34899 (eval "$ac_link") 2>conftest.er1
34900 ac_status=$?
34901 grep -v '^ *+' conftest.er1 >conftest.err
34902 rm -f conftest.er1
34903 cat conftest.err >&5
34904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34905 (exit $ac_status); } && {
34906 test -z "$ac_c_werror_flag" ||
34907 test ! -s conftest.err
34908 } && test -s conftest$ac_exeext &&
34909 $as_test_x conftest$ac_exeext; then
34910 ac_cv_lib_msvcrt_wcslen=yes
34911 else
34912 echo "$as_me: failed program was:" >&5
34913 sed 's/^/| /' conftest.$ac_ext >&5
34914
34915 ac_cv_lib_msvcrt_wcslen=no
34916 fi
34917
34918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34919 conftest$ac_exeext conftest.$ac_ext
34920 LIBS=$ac_check_lib_save_LIBS
34921 fi
34922 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34923 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34924 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34925 WCHAR_OK=1
34926 fi
34927
34928 else
34929 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34930 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34931 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34932 echo $ECHO_N "(cached) $ECHO_C" >&6
34933 else
34934 ac_check_lib_save_LIBS=$LIBS
34935 LIBS="-lw $LIBS"
34936 cat >conftest.$ac_ext <<_ACEOF
34937 /* confdefs.h. */
34938 _ACEOF
34939 cat confdefs.h >>conftest.$ac_ext
34940 cat >>conftest.$ac_ext <<_ACEOF
34941 /* end confdefs.h. */
34942
34943 /* Override any GCC internal prototype to avoid an error.
34944 Use char because int might match the return type of a GCC
34945 builtin and then its argument prototype would still apply. */
34946 #ifdef __cplusplus
34947 extern "C"
34948 #endif
34949 char wcslen ();
34950 int
34951 main ()
34952 {
34953 return wcslen ();
34954 ;
34955 return 0;
34956 }
34957 _ACEOF
34958 rm -f conftest.$ac_objext conftest$ac_exeext
34959 if { (ac_try="$ac_link"
34960 case "(($ac_try" in
34961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34962 *) ac_try_echo=$ac_try;;
34963 esac
34964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34965 (eval "$ac_link") 2>conftest.er1
34966 ac_status=$?
34967 grep -v '^ *+' conftest.er1 >conftest.err
34968 rm -f conftest.er1
34969 cat conftest.err >&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); } && {
34972 test -z "$ac_c_werror_flag" ||
34973 test ! -s conftest.err
34974 } && test -s conftest$ac_exeext &&
34975 $as_test_x conftest$ac_exeext; then
34976 ac_cv_lib_w_wcslen=yes
34977 else
34978 echo "$as_me: failed program was:" >&5
34979 sed 's/^/| /' conftest.$ac_ext >&5
34980
34981 ac_cv_lib_w_wcslen=no
34982 fi
34983
34984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34985 conftest$ac_exeext conftest.$ac_ext
34986 LIBS=$ac_check_lib_save_LIBS
34987 fi
34988 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34989 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34990 if test $ac_cv_lib_w_wcslen = yes; then
34991
34992 WCHAR_LINK=" -lw"
34993 WCSLEN_FOUND=1
34994
34995 fi
34996
34997 fi
34998 fi
34999
35000 if test "$WCSLEN_FOUND" = 1; then
35001 cat >>confdefs.h <<\_ACEOF
35002 #define HAVE_WCSLEN 1
35003 _ACEOF
35004
35005 fi
35006
35007
35008
35009
35010
35011
35012 for ac_func in wcsdup strnlen wcsnlen wcscasecmp wcsncasecmp
35013 do
35014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35015 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35017 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35018 echo $ECHO_N "(cached) $ECHO_C" >&6
35019 else
35020 cat >conftest.$ac_ext <<_ACEOF
35021 /* confdefs.h. */
35022 _ACEOF
35023 cat confdefs.h >>conftest.$ac_ext
35024 cat >>conftest.$ac_ext <<_ACEOF
35025 /* end confdefs.h. */
35026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35028 #define $ac_func innocuous_$ac_func
35029
35030 /* System header to define __stub macros and hopefully few prototypes,
35031 which can conflict with char $ac_func (); below.
35032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35033 <limits.h> exists even on freestanding compilers. */
35034
35035 #ifdef __STDC__
35036 # include <limits.h>
35037 #else
35038 # include <assert.h>
35039 #endif
35040
35041 #undef $ac_func
35042
35043 /* Override any GCC internal prototype to avoid an error.
35044 Use char because int might match the return type of a GCC
35045 builtin and then its argument prototype would still apply. */
35046 #ifdef __cplusplus
35047 extern "C"
35048 #endif
35049 char $ac_func ();
35050 /* The GNU C library defines this for functions which it implements
35051 to always fail with ENOSYS. Some functions are actually named
35052 something starting with __ and the normal name is an alias. */
35053 #if defined __stub_$ac_func || defined __stub___$ac_func
35054 choke me
35055 #endif
35056
35057 int
35058 main ()
35059 {
35060 return $ac_func ();
35061 ;
35062 return 0;
35063 }
35064 _ACEOF
35065 rm -f conftest.$ac_objext conftest$ac_exeext
35066 if { (ac_try="$ac_link"
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_link") 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_exeext &&
35082 $as_test_x conftest$ac_exeext; then
35083 eval "$as_ac_var=yes"
35084 else
35085 echo "$as_me: failed program was:" >&5
35086 sed 's/^/| /' conftest.$ac_ext >&5
35087
35088 eval "$as_ac_var=no"
35089 fi
35090
35091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35092 conftest$ac_exeext conftest.$ac_ext
35093 fi
35094 ac_res=`eval echo '${'$as_ac_var'}'`
35095 { echo "$as_me:$LINENO: result: $ac_res" >&5
35096 echo "${ECHO_T}$ac_res" >&6; }
35097 if test `eval echo '${'$as_ac_var'}'` = yes; then
35098 cat >>confdefs.h <<_ACEOF
35099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35100 _ACEOF
35101
35102 fi
35103 done
35104
35105
35106 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35107 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35108 fi
35109
35110 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35111 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35112 if test "${ac_cv_type_mbstate_t+set}" = set; then
35113 echo $ECHO_N "(cached) $ECHO_C" >&6
35114 else
35115 cat >conftest.$ac_ext <<_ACEOF
35116 /* confdefs.h. */
35117 _ACEOF
35118 cat confdefs.h >>conftest.$ac_ext
35119 cat >>conftest.$ac_ext <<_ACEOF
35120 /* end confdefs.h. */
35121 #include <wchar.h>
35122
35123 typedef mbstate_t ac__type_new_;
35124 int
35125 main ()
35126 {
35127 if ((ac__type_new_ *) 0)
35128 return 0;
35129 if (sizeof (ac__type_new_))
35130 return 0;
35131 ;
35132 return 0;
35133 }
35134 _ACEOF
35135 rm -f conftest.$ac_objext
35136 if { (ac_try="$ac_compile"
35137 case "(($ac_try" in
35138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35139 *) ac_try_echo=$ac_try;;
35140 esac
35141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35142 (eval "$ac_compile") 2>conftest.er1
35143 ac_status=$?
35144 grep -v '^ *+' conftest.er1 >conftest.err
35145 rm -f conftest.er1
35146 cat conftest.err >&5
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); } && {
35149 test -z "$ac_c_werror_flag" ||
35150 test ! -s conftest.err
35151 } && test -s conftest.$ac_objext; then
35152 ac_cv_type_mbstate_t=yes
35153 else
35154 echo "$as_me: failed program was:" >&5
35155 sed 's/^/| /' conftest.$ac_ext >&5
35156
35157 ac_cv_type_mbstate_t=no
35158 fi
35159
35160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35161 fi
35162 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35163 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35164 if test $ac_cv_type_mbstate_t = yes; then
35165
35166 cat >>confdefs.h <<_ACEOF
35167 #define HAVE_MBSTATE_T 1
35168 _ACEOF
35169
35170
35171 for ac_func in wcsrtombs
35172 do
35173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35174 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35176 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35177 echo $ECHO_N "(cached) $ECHO_C" >&6
35178 else
35179 cat >conftest.$ac_ext <<_ACEOF
35180 /* confdefs.h. */
35181 _ACEOF
35182 cat confdefs.h >>conftest.$ac_ext
35183 cat >>conftest.$ac_ext <<_ACEOF
35184 /* end confdefs.h. */
35185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35187 #define $ac_func innocuous_$ac_func
35188
35189 /* System header to define __stub macros and hopefully few prototypes,
35190 which can conflict with char $ac_func (); below.
35191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35192 <limits.h> exists even on freestanding compilers. */
35193
35194 #ifdef __STDC__
35195 # include <limits.h>
35196 #else
35197 # include <assert.h>
35198 #endif
35199
35200 #undef $ac_func
35201
35202 /* Override any GCC internal prototype to avoid an error.
35203 Use char because int might match the return type of a GCC
35204 builtin and then its argument prototype would still apply. */
35205 #ifdef __cplusplus
35206 extern "C"
35207 #endif
35208 char $ac_func ();
35209 /* The GNU C library defines this for functions which it implements
35210 to always fail with ENOSYS. Some functions are actually named
35211 something starting with __ and the normal name is an alias. */
35212 #if defined __stub_$ac_func || defined __stub___$ac_func
35213 choke me
35214 #endif
35215
35216 int
35217 main ()
35218 {
35219 return $ac_func ();
35220 ;
35221 return 0;
35222 }
35223 _ACEOF
35224 rm -f conftest.$ac_objext conftest$ac_exeext
35225 if { (ac_try="$ac_link"
35226 case "(($ac_try" in
35227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35228 *) ac_try_echo=$ac_try;;
35229 esac
35230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35231 (eval "$ac_link") 2>conftest.er1
35232 ac_status=$?
35233 grep -v '^ *+' conftest.er1 >conftest.err
35234 rm -f conftest.er1
35235 cat conftest.err >&5
35236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35237 (exit $ac_status); } && {
35238 test -z "$ac_c_werror_flag" ||
35239 test ! -s conftest.err
35240 } && test -s conftest$ac_exeext &&
35241 $as_test_x conftest$ac_exeext; then
35242 eval "$as_ac_var=yes"
35243 else
35244 echo "$as_me: failed program was:" >&5
35245 sed 's/^/| /' conftest.$ac_ext >&5
35246
35247 eval "$as_ac_var=no"
35248 fi
35249
35250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35251 conftest$ac_exeext conftest.$ac_ext
35252 fi
35253 ac_res=`eval echo '${'$as_ac_var'}'`
35254 { echo "$as_me:$LINENO: result: $ac_res" >&5
35255 echo "${ECHO_T}$ac_res" >&6; }
35256 if test `eval echo '${'$as_ac_var'}'` = yes; then
35257 cat >>confdefs.h <<_ACEOF
35258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35259 _ACEOF
35260
35261 fi
35262 done
35263
35264 fi
35265
35266 else
35267 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35268 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35269 fi
35270
35271
35272
35273
35274 for ac_func in snprintf vsnprintf vsscanf
35275 do
35276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35279 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35280 echo $ECHO_N "(cached) $ECHO_C" >&6
35281 else
35282 cat >conftest.$ac_ext <<_ACEOF
35283 /* confdefs.h. */
35284 _ACEOF
35285 cat confdefs.h >>conftest.$ac_ext
35286 cat >>conftest.$ac_ext <<_ACEOF
35287 /* end confdefs.h. */
35288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35290 #define $ac_func innocuous_$ac_func
35291
35292 /* System header to define __stub macros and hopefully few prototypes,
35293 which can conflict with char $ac_func (); below.
35294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35295 <limits.h> exists even on freestanding compilers. */
35296
35297 #ifdef __STDC__
35298 # include <limits.h>
35299 #else
35300 # include <assert.h>
35301 #endif
35302
35303 #undef $ac_func
35304
35305 /* Override any GCC internal prototype to avoid an error.
35306 Use char because int might match the return type of a GCC
35307 builtin and then its argument prototype would still apply. */
35308 #ifdef __cplusplus
35309 extern "C"
35310 #endif
35311 char $ac_func ();
35312 /* The GNU C library defines this for functions which it implements
35313 to always fail with ENOSYS. Some functions are actually named
35314 something starting with __ and the normal name is an alias. */
35315 #if defined __stub_$ac_func || defined __stub___$ac_func
35316 choke me
35317 #endif
35318
35319 int
35320 main ()
35321 {
35322 return $ac_func ();
35323 ;
35324 return 0;
35325 }
35326 _ACEOF
35327 rm -f conftest.$ac_objext conftest$ac_exeext
35328 if { (ac_try="$ac_link"
35329 case "(($ac_try" in
35330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35331 *) ac_try_echo=$ac_try;;
35332 esac
35333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35334 (eval "$ac_link") 2>conftest.er1
35335 ac_status=$?
35336 grep -v '^ *+' conftest.er1 >conftest.err
35337 rm -f conftest.er1
35338 cat conftest.err >&5
35339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35340 (exit $ac_status); } && {
35341 test -z "$ac_c_werror_flag" ||
35342 test ! -s conftest.err
35343 } && test -s conftest$ac_exeext &&
35344 $as_test_x conftest$ac_exeext; then
35345 eval "$as_ac_var=yes"
35346 else
35347 echo "$as_me: failed program was:" >&5
35348 sed 's/^/| /' conftest.$ac_ext >&5
35349
35350 eval "$as_ac_var=no"
35351 fi
35352
35353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35354 conftest$ac_exeext conftest.$ac_ext
35355 fi
35356 ac_res=`eval echo '${'$as_ac_var'}'`
35357 { echo "$as_me:$LINENO: result: $ac_res" >&5
35358 echo "${ECHO_T}$ac_res" >&6; }
35359 if test `eval echo '${'$as_ac_var'}'` = yes; then
35360 cat >>confdefs.h <<_ACEOF
35361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35362 _ACEOF
35363
35364 fi
35365 done
35366
35367
35368 ac_ext=cpp
35369 ac_cpp='$CXXCPP $CPPFLAGS'
35370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35373
35374 if test "$ac_cv_func_vsnprintf" = "yes"; then
35375 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35376 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35377 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35378 echo $ECHO_N "(cached) $ECHO_C" >&6
35379 else
35380
35381 cat >conftest.$ac_ext <<_ACEOF
35382 /* confdefs.h. */
35383 _ACEOF
35384 cat confdefs.h >>conftest.$ac_ext
35385 cat >>conftest.$ac_ext <<_ACEOF
35386 /* end confdefs.h. */
35387
35388 #include <stdio.h>
35389 #include <stdarg.h>
35390 #ifdef __MSL__
35391 #if __MSL__ >= 0x6000
35392 namespace std {}
35393 using namespace std;
35394 #endif
35395 #endif
35396
35397 int
35398 main ()
35399 {
35400
35401 char *buf;
35402 va_list ap;
35403 vsnprintf(buf, 10u, "%s", ap);
35404
35405 ;
35406 return 0;
35407 }
35408 _ACEOF
35409 rm -f conftest.$ac_objext
35410 if { (ac_try="$ac_compile"
35411 case "(($ac_try" in
35412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35413 *) ac_try_echo=$ac_try;;
35414 esac
35415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35416 (eval "$ac_compile") 2>conftest.er1
35417 ac_status=$?
35418 grep -v '^ *+' conftest.er1 >conftest.err
35419 rm -f conftest.er1
35420 cat conftest.err >&5
35421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35422 (exit $ac_status); } && {
35423 test -z "$ac_cxx_werror_flag" ||
35424 test ! -s conftest.err
35425 } && test -s conftest.$ac_objext; then
35426 wx_cv_func_vsnprintf_decl=yes
35427 else
35428 echo "$as_me: failed program was:" >&5
35429 sed 's/^/| /' conftest.$ac_ext >&5
35430
35431 wx_cv_func_vsnprintf_decl=no
35432
35433 fi
35434
35435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35436
35437
35438 fi
35439 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35440 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35441
35442 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35443 cat >>confdefs.h <<\_ACEOF
35444 #define HAVE_VSNPRINTF_DECL 1
35445 _ACEOF
35446
35447
35448 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35449 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35450 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35451 echo $ECHO_N "(cached) $ECHO_C" >&6
35452 else
35453
35454 cat >conftest.$ac_ext <<_ACEOF
35455 /* confdefs.h. */
35456 _ACEOF
35457 cat confdefs.h >>conftest.$ac_ext
35458 cat >>conftest.$ac_ext <<_ACEOF
35459 /* end confdefs.h. */
35460
35461 #include <stdio.h>
35462 #include <stdarg.h>
35463 #ifdef __MSL__
35464 #if __MSL__ >= 0x6000
35465 namespace std {}
35466 using namespace std;
35467 #endif
35468 #endif
35469
35470 int
35471 main ()
35472 {
35473
35474 char *buf;
35475 va_list ap;
35476 const char *fmt = "%s";
35477 vsnprintf(buf, 10u, fmt, ap);
35478
35479 ;
35480 return 0;
35481 }
35482 _ACEOF
35483 rm -f conftest.$ac_objext
35484 if { (ac_try="$ac_compile"
35485 case "(($ac_try" in
35486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35487 *) ac_try_echo=$ac_try;;
35488 esac
35489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35490 (eval "$ac_compile") 2>conftest.er1
35491 ac_status=$?
35492 grep -v '^ *+' conftest.er1 >conftest.err
35493 rm -f conftest.er1
35494 cat conftest.err >&5
35495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35496 (exit $ac_status); } && {
35497 test -z "$ac_cxx_werror_flag" ||
35498 test ! -s conftest.err
35499 } && test -s conftest.$ac_objext; then
35500 wx_cv_func_broken_vsnprintf_decl=no
35501 else
35502 echo "$as_me: failed program was:" >&5
35503 sed 's/^/| /' conftest.$ac_ext >&5
35504
35505 wx_cv_func_broken_vsnprintf_decl=yes
35506
35507 fi
35508
35509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35510
35511
35512 fi
35513 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35514 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35515
35516 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35517 cat >>confdefs.h <<\_ACEOF
35518 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35519 _ACEOF
35520
35521 fi
35522 fi
35523 fi
35524
35525 if test "$ac_cv_func_snprintf" = "yes"; then
35526 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35527 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35528 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35529 echo $ECHO_N "(cached) $ECHO_C" >&6
35530 else
35531
35532 cat >conftest.$ac_ext <<_ACEOF
35533 /* confdefs.h. */
35534 _ACEOF
35535 cat confdefs.h >>conftest.$ac_ext
35536 cat >>conftest.$ac_ext <<_ACEOF
35537 /* end confdefs.h. */
35538
35539 #include <stdio.h>
35540 #include <stdarg.h>
35541 #ifdef __MSL__
35542 #if __MSL__ >= 0x6000
35543 namespace std {}
35544 using namespace std;
35545 #endif
35546 #endif
35547
35548 int
35549 main ()
35550 {
35551
35552 char *buf;
35553 snprintf(buf, 10u, "%s", "wx");
35554
35555 ;
35556 return 0;
35557 }
35558 _ACEOF
35559 rm -f conftest.$ac_objext
35560 if { (ac_try="$ac_compile"
35561 case "(($ac_try" in
35562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35563 *) ac_try_echo=$ac_try;;
35564 esac
35565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35566 (eval "$ac_compile") 2>conftest.er1
35567 ac_status=$?
35568 grep -v '^ *+' conftest.er1 >conftest.err
35569 rm -f conftest.er1
35570 cat conftest.err >&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } && {
35573 test -z "$ac_cxx_werror_flag" ||
35574 test ! -s conftest.err
35575 } && test -s conftest.$ac_objext; then
35576 wx_cv_func_snprintf_decl=yes
35577 else
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35580
35581 wx_cv_func_snprintf_decl=no
35582
35583 fi
35584
35585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35586
35587
35588 fi
35589 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35590 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35591
35592 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35593 cat >>confdefs.h <<\_ACEOF
35594 #define HAVE_SNPRINTF_DECL 1
35595 _ACEOF
35596
35597 fi
35598
35599 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35600
35601 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35602 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35603 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35604 echo $ECHO_N "(cached) $ECHO_C" >&6
35605 else
35606
35607 if test "$cross_compiling" = yes; then
35608
35609 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35610 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35611 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35612 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35613 wx_cv_func_snprintf_pos_params=no
35614
35615
35616 else
35617 cat >conftest.$ac_ext <<_ACEOF
35618 /* confdefs.h. */
35619 _ACEOF
35620 cat confdefs.h >>conftest.$ac_ext
35621 cat >>conftest.$ac_ext <<_ACEOF
35622 /* end confdefs.h. */
35623
35624 #include <stdio.h>
35625
35626 int main (void)
35627 {
35628 char buffer[128];
35629 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35630 if (strcmp ("2 3 1", buffer) == 0)
35631 exit (0);
35632 exit (1);
35633 }
35634
35635 _ACEOF
35636 rm -f conftest$ac_exeext
35637 if { (ac_try="$ac_link"
35638 case "(($ac_try" in
35639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35640 *) ac_try_echo=$ac_try;;
35641 esac
35642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35643 (eval "$ac_link") 2>&5
35644 ac_status=$?
35645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35647 { (case "(($ac_try" in
35648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35649 *) ac_try_echo=$ac_try;;
35650 esac
35651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35652 (eval "$ac_try") 2>&5
35653 ac_status=$?
35654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35655 (exit $ac_status); }; }; then
35656 wx_cv_func_snprintf_pos_params=no
35657 else
35658 echo "$as_me: program exited with status $ac_status" >&5
35659 echo "$as_me: failed program was:" >&5
35660 sed 's/^/| /' conftest.$ac_ext >&5
35661
35662 ( exit $ac_status )
35663 wx_cv_func_snprintf_pos_params=yes
35664 fi
35665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35666 fi
35667
35668
35669
35670
35671 fi
35672 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35673 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35674
35675 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35676 cat >>confdefs.h <<\_ACEOF
35677 #define HAVE_UNIX98_PRINTF 1
35678 _ACEOF
35679
35680 fi
35681 fi
35682 fi
35683
35684 if test "$ac_cv_func_vsscanf" = "yes"; then
35685 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35686 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35687 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35688 echo $ECHO_N "(cached) $ECHO_C" >&6
35689 else
35690
35691 cat >conftest.$ac_ext <<_ACEOF
35692 /* confdefs.h. */
35693 _ACEOF
35694 cat confdefs.h >>conftest.$ac_ext
35695 cat >>conftest.$ac_ext <<_ACEOF
35696 /* end confdefs.h. */
35697
35698 #include <stdio.h>
35699 #include <stdarg.h>
35700 #ifdef __MSL__
35701 #if __MSL__ >= 0x6000
35702 namespace std {}
35703 using namespace std;
35704 #endif
35705 #endif
35706
35707 int
35708 main ()
35709 {
35710
35711 char *buf;
35712 va_list args;
35713 vsscanf(buf, "%s", args);
35714
35715 ;
35716 return 0;
35717 }
35718 _ACEOF
35719 rm -f conftest.$ac_objext
35720 if { (ac_try="$ac_compile"
35721 case "(($ac_try" in
35722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35723 *) ac_try_echo=$ac_try;;
35724 esac
35725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35726 (eval "$ac_compile") 2>conftest.er1
35727 ac_status=$?
35728 grep -v '^ *+' conftest.er1 >conftest.err
35729 rm -f conftest.er1
35730 cat conftest.err >&5
35731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35732 (exit $ac_status); } && {
35733 test -z "$ac_cxx_werror_flag" ||
35734 test ! -s conftest.err
35735 } && test -s conftest.$ac_objext; then
35736 wx_cv_func_vsscanf_decl=yes
35737 else
35738 echo "$as_me: failed program was:" >&5
35739 sed 's/^/| /' conftest.$ac_ext >&5
35740
35741 wx_cv_func_vsscanf_decl=no
35742
35743 fi
35744
35745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35746
35747
35748 fi
35749 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35750 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35751
35752 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35753 cat >>confdefs.h <<\_ACEOF
35754 #define HAVE_VSSCANF_DECL 1
35755 _ACEOF
35756
35757 fi
35758 fi
35759 ac_ext=c
35760 ac_cpp='$CPP $CPPFLAGS'
35761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35764
35765
35766 if test "$wxUSE_UNICODE" = yes; then
35767
35768 wchar_headers="#include <stdio.h>
35769 #include <wchar.h>"
35770 case "${host}" in
35771 *-*-solaris2* )
35772
35773 for ac_header in widec.h
35774 do
35775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35779 echo $ECHO_N "(cached) $ECHO_C" >&6
35780 else
35781 cat >conftest.$ac_ext <<_ACEOF
35782 /* confdefs.h. */
35783 _ACEOF
35784 cat confdefs.h >>conftest.$ac_ext
35785 cat >>conftest.$ac_ext <<_ACEOF
35786 /* end confdefs.h. */
35787 $ac_includes_default
35788
35789 #include <$ac_header>
35790 _ACEOF
35791 rm -f conftest.$ac_objext
35792 if { (ac_try="$ac_compile"
35793 case "(($ac_try" in
35794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35795 *) ac_try_echo=$ac_try;;
35796 esac
35797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35798 (eval "$ac_compile") 2>conftest.er1
35799 ac_status=$?
35800 grep -v '^ *+' conftest.er1 >conftest.err
35801 rm -f conftest.er1
35802 cat conftest.err >&5
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); } && {
35805 test -z "$ac_c_werror_flag" ||
35806 test ! -s conftest.err
35807 } && test -s conftest.$ac_objext; then
35808 eval "$as_ac_Header=yes"
35809 else
35810 echo "$as_me: failed program was:" >&5
35811 sed 's/^/| /' conftest.$ac_ext >&5
35812
35813 eval "$as_ac_Header=no"
35814 fi
35815
35816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35817 fi
35818 ac_res=`eval echo '${'$as_ac_Header'}'`
35819 { echo "$as_me:$LINENO: result: $ac_res" >&5
35820 echo "${ECHO_T}$ac_res" >&6; }
35821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35822 cat >>confdefs.h <<_ACEOF
35823 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35824 _ACEOF
35825
35826 fi
35827
35828 done
35829
35830 if test "$ac_cv_header_widec_h" = "yes"; then
35831 wchar_headers="$wchar_headers
35832 #include <widec.h>"
35833 fi
35834 esac
35835
35836
35837 for wx_func in putws fputws wprintf vswprintf vswscanf
35838 do
35839 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35840 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35841 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35842 echo $ECHO_N "(cached) $ECHO_C" >&6
35843 else
35844
35845 cat >conftest.$ac_ext <<_ACEOF
35846
35847 /* confdefs.h. */
35848 _ACEOF
35849 cat confdefs.h >>conftest.$ac_ext
35850 cat >>conftest.$ac_ext <<_ACEOF
35851 /* end confdefs.h. */
35852
35853 $wchar_headers
35854 $ac_includes_default
35855
35856 int
35857 main ()
35858 {
35859
35860 #ifndef $wx_func
35861 &$wx_func;
35862 #endif
35863
35864
35865 ;
35866 return 0;
35867 }
35868
35869 _ACEOF
35870 rm -f conftest.$ac_objext conftest$ac_exeext
35871 if { (ac_try="$ac_link"
35872 case "(($ac_try" in
35873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35874 *) ac_try_echo=$ac_try;;
35875 esac
35876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35877 (eval "$ac_link") 2>conftest.er1
35878 ac_status=$?
35879 grep -v '^ *+' conftest.er1 >conftest.err
35880 rm -f conftest.er1
35881 cat conftest.err >&5
35882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883 (exit $ac_status); } && {
35884 test -z "$ac_c_werror_flag" ||
35885 test ! -s conftest.err
35886 } && test -s conftest$ac_exeext &&
35887 $as_test_x conftest$ac_exeext; then
35888 eval wx_cv_func_$wx_func=yes
35889 else
35890 echo "$as_me: failed program was:" >&5
35891 sed 's/^/| /' conftest.$ac_ext >&5
35892
35893 eval wx_cv_func_$wx_func=no
35894 fi
35895
35896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35897 conftest$ac_exeext conftest.$ac_ext
35898
35899 fi
35900 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35901 { echo "$as_me:$LINENO: result: $ac_res" >&5
35902 echo "${ECHO_T}$ac_res" >&6; }
35903
35904 if eval test \$wx_cv_func_$wx_func = yes
35905 then
35906 cat >>confdefs.h <<_ACEOF
35907 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35908 _ACEOF
35909
35910
35911 else
35912 :
35913
35914 fi
35915 done
35916
35917
35918 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35919 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35920 cat >conftest.$ac_ext <<_ACEOF
35921 /* confdefs.h. */
35922 _ACEOF
35923 cat confdefs.h >>conftest.$ac_ext
35924 cat >>conftest.$ac_ext <<_ACEOF
35925 /* end confdefs.h. */
35926 #include <wchar.h>
35927 int
35928 main ()
35929 {
35930 &_vsnwprintf;
35931 ;
35932 return 0;
35933 }
35934 _ACEOF
35935 rm -f conftest.$ac_objext
35936 if { (ac_try="$ac_compile"
35937 case "(($ac_try" in
35938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35939 *) ac_try_echo=$ac_try;;
35940 esac
35941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35942 (eval "$ac_compile") 2>conftest.er1
35943 ac_status=$?
35944 grep -v '^ *+' conftest.er1 >conftest.err
35945 rm -f conftest.er1
35946 cat conftest.err >&5
35947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35948 (exit $ac_status); } && {
35949 test -z "$ac_c_werror_flag" ||
35950 test ! -s conftest.err
35951 } && test -s conftest.$ac_objext; then
35952 { echo "$as_me:$LINENO: result: yes" >&5
35953 echo "${ECHO_T}yes" >&6; }
35954 cat >>confdefs.h <<\_ACEOF
35955 #define HAVE__VSNWPRINTF 1
35956 _ACEOF
35957
35958 else
35959 echo "$as_me: failed program was:" >&5
35960 sed 's/^/| /' conftest.$ac_ext >&5
35961
35962 { echo "$as_me:$LINENO: result: no" >&5
35963 echo "${ECHO_T}no" >&6; }
35964 fi
35965
35966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35967 fi
35968
35969 if test "$wxUSE_FILE" = "yes"; then
35970
35971 for wx_func in fsync
35972 do
35973 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35974 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35975 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35976 echo $ECHO_N "(cached) $ECHO_C" >&6
35977 else
35978
35979 cat >conftest.$ac_ext <<_ACEOF
35980
35981 /* confdefs.h. */
35982 _ACEOF
35983 cat confdefs.h >>conftest.$ac_ext
35984 cat >>conftest.$ac_ext <<_ACEOF
35985 /* end confdefs.h. */
35986
35987
35988 $ac_includes_default
35989
35990 int
35991 main ()
35992 {
35993
35994 #ifndef $wx_func
35995 &$wx_func;
35996 #endif
35997
35998
35999 ;
36000 return 0;
36001 }
36002
36003 _ACEOF
36004 rm -f conftest.$ac_objext conftest$ac_exeext
36005 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
36019 test ! -s conftest.err
36020 } && test -s conftest$ac_exeext &&
36021 $as_test_x conftest$ac_exeext; then
36022 eval wx_cv_func_$wx_func=yes
36023 else
36024 echo "$as_me: failed program was:" >&5
36025 sed 's/^/| /' conftest.$ac_ext >&5
36026
36027 eval wx_cv_func_$wx_func=no
36028 fi
36029
36030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36031 conftest$ac_exeext conftest.$ac_ext
36032
36033 fi
36034 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36035 { echo "$as_me:$LINENO: result: $ac_res" >&5
36036 echo "${ECHO_T}$ac_res" >&6; }
36037
36038 if eval test \$wx_cv_func_$wx_func = yes
36039 then
36040 cat >>confdefs.h <<_ACEOF
36041 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36042 _ACEOF
36043
36044
36045 else
36046 :
36047
36048 fi
36049 done
36050
36051 fi
36052
36053 ac_ext=cpp
36054 ac_cpp='$CXXCPP $CPPFLAGS'
36055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36058
36059
36060 for wx_func in round
36061 do
36062 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36063 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36064 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36065 echo $ECHO_N "(cached) $ECHO_C" >&6
36066 else
36067
36068 cat >conftest.$ac_ext <<_ACEOF
36069
36070 /* confdefs.h. */
36071 _ACEOF
36072 cat confdefs.h >>conftest.$ac_ext
36073 cat >>conftest.$ac_ext <<_ACEOF
36074 /* end confdefs.h. */
36075
36076 #include <math.h>
36077 $ac_includes_default
36078
36079 int
36080 main ()
36081 {
36082
36083 #ifndef $wx_func
36084 &$wx_func;
36085 #endif
36086
36087
36088 ;
36089 return 0;
36090 }
36091
36092 _ACEOF
36093 rm -f conftest.$ac_objext conftest$ac_exeext
36094 if { (ac_try="$ac_link"
36095 case "(($ac_try" in
36096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36097 *) ac_try_echo=$ac_try;;
36098 esac
36099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36100 (eval "$ac_link") 2>conftest.er1
36101 ac_status=$?
36102 grep -v '^ *+' conftest.er1 >conftest.err
36103 rm -f conftest.er1
36104 cat conftest.err >&5
36105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36106 (exit $ac_status); } && {
36107 test -z "$ac_cxx_werror_flag" ||
36108 test ! -s conftest.err
36109 } && test -s conftest$ac_exeext &&
36110 $as_test_x conftest$ac_exeext; then
36111 eval wx_cv_func_$wx_func=yes
36112 else
36113 echo "$as_me: failed program was:" >&5
36114 sed 's/^/| /' conftest.$ac_ext >&5
36115
36116 eval wx_cv_func_$wx_func=no
36117 fi
36118
36119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36120 conftest$ac_exeext conftest.$ac_ext
36121
36122 fi
36123 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36124 { echo "$as_me:$LINENO: result: $ac_res" >&5
36125 echo "${ECHO_T}$ac_res" >&6; }
36126
36127 if eval test \$wx_cv_func_$wx_func = yes
36128 then
36129 cat >>confdefs.h <<_ACEOF
36130 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36131 _ACEOF
36132
36133
36134 else
36135 :
36136
36137 fi
36138 done
36139
36140 ac_ext=c
36141 ac_cpp='$CPP $CPPFLAGS'
36142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36145
36146
36147 if test "$TOOLKIT" != "MSW"; then
36148
36149 if test "$wxUSE_LIBICONV" != "no" ; then
36150
36151
36152
36153 # Check whether --with-libiconv-prefix was given.
36154 if test "${with_libiconv_prefix+set}" = set; then
36155 withval=$with_libiconv_prefix;
36156 for dir in `echo "$withval" | tr : ' '`; do
36157 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36158 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36159 done
36160
36161 fi
36162
36163
36164 { echo "$as_me:$LINENO: checking for iconv" >&5
36165 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36166 if test "${am_cv_func_iconv+set}" = set; then
36167 echo $ECHO_N "(cached) $ECHO_C" >&6
36168 else
36169
36170 am_cv_func_iconv="no, consider installing GNU libiconv"
36171 am_cv_lib_iconv=no
36172 cat >conftest.$ac_ext <<_ACEOF
36173 /* confdefs.h. */
36174 _ACEOF
36175 cat confdefs.h >>conftest.$ac_ext
36176 cat >>conftest.$ac_ext <<_ACEOF
36177 /* end confdefs.h. */
36178 #include <stdlib.h>
36179 #include <iconv.h>
36180 int
36181 main ()
36182 {
36183 iconv_t cd = iconv_open("","");
36184 iconv(cd,NULL,NULL,NULL,NULL);
36185 iconv_close(cd);
36186 ;
36187 return 0;
36188 }
36189 _ACEOF
36190 rm -f conftest.$ac_objext conftest$ac_exeext
36191 if { (ac_try="$ac_link"
36192 case "(($ac_try" in
36193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36194 *) ac_try_echo=$ac_try;;
36195 esac
36196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36197 (eval "$ac_link") 2>conftest.er1
36198 ac_status=$?
36199 grep -v '^ *+' conftest.er1 >conftest.err
36200 rm -f conftest.er1
36201 cat conftest.err >&5
36202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36203 (exit $ac_status); } && {
36204 test -z "$ac_c_werror_flag" ||
36205 test ! -s conftest.err
36206 } && test -s conftest$ac_exeext &&
36207 $as_test_x conftest$ac_exeext; then
36208 am_cv_func_iconv=yes
36209 else
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.$ac_ext >&5
36212
36213
36214 fi
36215
36216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36217 conftest$ac_exeext conftest.$ac_ext
36218 if test "$am_cv_func_iconv" != yes; then
36219 am_save_LIBS="$LIBS"
36220 LIBS="$LIBS -liconv"
36221 cat >conftest.$ac_ext <<_ACEOF
36222 /* confdefs.h. */
36223 _ACEOF
36224 cat confdefs.h >>conftest.$ac_ext
36225 cat >>conftest.$ac_ext <<_ACEOF
36226 /* end confdefs.h. */
36227 #include <stdlib.h>
36228 #include <iconv.h>
36229 int
36230 main ()
36231 {
36232 iconv_t cd = iconv_open("","");
36233 iconv(cd,NULL,NULL,NULL,NULL);
36234 iconv_close(cd);
36235 ;
36236 return 0;
36237 }
36238 _ACEOF
36239 rm -f conftest.$ac_objext conftest$ac_exeext
36240 if { (ac_try="$ac_link"
36241 case "(($ac_try" in
36242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36243 *) ac_try_echo=$ac_try;;
36244 esac
36245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36246 (eval "$ac_link") 2>conftest.er1
36247 ac_status=$?
36248 grep -v '^ *+' conftest.er1 >conftest.err
36249 rm -f conftest.er1
36250 cat conftest.err >&5
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); } && {
36253 test -z "$ac_c_werror_flag" ||
36254 test ! -s conftest.err
36255 } && test -s conftest$ac_exeext &&
36256 $as_test_x conftest$ac_exeext; then
36257 am_cv_lib_iconv=yes
36258 am_cv_func_iconv=yes
36259 else
36260 echo "$as_me: failed program was:" >&5
36261 sed 's/^/| /' conftest.$ac_ext >&5
36262
36263
36264 fi
36265
36266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36267 conftest$ac_exeext conftest.$ac_ext
36268 LIBS="$am_save_LIBS"
36269 fi
36270
36271 fi
36272 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36273 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36274 if test "$am_cv_func_iconv" = yes; then
36275
36276 cat >>confdefs.h <<\_ACEOF
36277 #define HAVE_ICONV 1
36278 _ACEOF
36279
36280 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36281 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36282 if test "${wx_cv_func_iconv_const+set}" = set; then
36283 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 else
36285 cat >conftest.$ac_ext <<_ACEOF
36286 /* confdefs.h. */
36287 _ACEOF
36288 cat confdefs.h >>conftest.$ac_ext
36289 cat >>conftest.$ac_ext <<_ACEOF
36290 /* end confdefs.h. */
36291
36292 #include <stdlib.h>
36293 #include <iconv.h>
36294 extern
36295 #ifdef __cplusplus
36296 "C"
36297 #endif
36298 #if defined(__STDC__) || defined(__cplusplus)
36299 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36300 #else
36301 size_t iconv();
36302 #endif
36303
36304 int
36305 main ()
36306 {
36307
36308 ;
36309 return 0;
36310 }
36311 _ACEOF
36312 rm -f conftest.$ac_objext
36313 if { (ac_try="$ac_compile"
36314 case "(($ac_try" in
36315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36316 *) ac_try_echo=$ac_try;;
36317 esac
36318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36319 (eval "$ac_compile") 2>conftest.er1
36320 ac_status=$?
36321 grep -v '^ *+' conftest.er1 >conftest.err
36322 rm -f conftest.er1
36323 cat conftest.err >&5
36324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36325 (exit $ac_status); } && {
36326 test -z "$ac_c_werror_flag" ||
36327 test ! -s conftest.err
36328 } && test -s conftest.$ac_objext; then
36329 wx_cv_func_iconv_const="no"
36330 else
36331 echo "$as_me: failed program was:" >&5
36332 sed 's/^/| /' conftest.$ac_ext >&5
36333
36334 wx_cv_func_iconv_const="yes"
36335
36336 fi
36337
36338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36339
36340 fi
36341 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36342 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36343
36344 iconv_const=
36345 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36346 iconv_const="const"
36347 fi
36348
36349
36350 cat >>confdefs.h <<_ACEOF
36351 #define ICONV_CONST $iconv_const
36352 _ACEOF
36353
36354 fi
36355 LIBICONV=
36356 if test "$am_cv_lib_iconv" = yes; then
36357 LIBICONV="-liconv"
36358 fi
36359
36360
36361 LIBS="$LIBICONV $LIBS"
36362 fi
36363
36364 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36365
36366 for ac_func in sigaction
36367 do
36368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36369 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36371 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36372 echo $ECHO_N "(cached) $ECHO_C" >&6
36373 else
36374 cat >conftest.$ac_ext <<_ACEOF
36375 /* confdefs.h. */
36376 _ACEOF
36377 cat confdefs.h >>conftest.$ac_ext
36378 cat >>conftest.$ac_ext <<_ACEOF
36379 /* end confdefs.h. */
36380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36382 #define $ac_func innocuous_$ac_func
36383
36384 /* System header to define __stub macros and hopefully few prototypes,
36385 which can conflict with char $ac_func (); below.
36386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36387 <limits.h> exists even on freestanding compilers. */
36388
36389 #ifdef __STDC__
36390 # include <limits.h>
36391 #else
36392 # include <assert.h>
36393 #endif
36394
36395 #undef $ac_func
36396
36397 /* Override any GCC internal prototype to avoid an error.
36398 Use char because int might match the return type of a GCC
36399 builtin and then its argument prototype would still apply. */
36400 #ifdef __cplusplus
36401 extern "C"
36402 #endif
36403 char $ac_func ();
36404 /* The GNU C library defines this for functions which it implements
36405 to always fail with ENOSYS. Some functions are actually named
36406 something starting with __ and the normal name is an alias. */
36407 #if defined __stub_$ac_func || defined __stub___$ac_func
36408 choke me
36409 #endif
36410
36411 int
36412 main ()
36413 {
36414 return $ac_func ();
36415 ;
36416 return 0;
36417 }
36418 _ACEOF
36419 rm -f conftest.$ac_objext conftest$ac_exeext
36420 if { (ac_try="$ac_link"
36421 case "(($ac_try" in
36422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36423 *) ac_try_echo=$ac_try;;
36424 esac
36425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36426 (eval "$ac_link") 2>conftest.er1
36427 ac_status=$?
36428 grep -v '^ *+' conftest.er1 >conftest.err
36429 rm -f conftest.er1
36430 cat conftest.err >&5
36431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36432 (exit $ac_status); } && {
36433 test -z "$ac_c_werror_flag" ||
36434 test ! -s conftest.err
36435 } && test -s conftest$ac_exeext &&
36436 $as_test_x conftest$ac_exeext; then
36437 eval "$as_ac_var=yes"
36438 else
36439 echo "$as_me: failed program was:" >&5
36440 sed 's/^/| /' conftest.$ac_ext >&5
36441
36442 eval "$as_ac_var=no"
36443 fi
36444
36445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36446 conftest$ac_exeext conftest.$ac_ext
36447 fi
36448 ac_res=`eval echo '${'$as_ac_var'}'`
36449 { echo "$as_me:$LINENO: result: $ac_res" >&5
36450 echo "${ECHO_T}$ac_res" >&6; }
36451 if test `eval echo '${'$as_ac_var'}'` = yes; then
36452 cat >>confdefs.h <<_ACEOF
36453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36454 _ACEOF
36455
36456 fi
36457 done
36458
36459
36460 if test "$ac_cv_func_sigaction" = "no"; then
36461 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36462 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36463 wxUSE_ON_FATAL_EXCEPTION=no
36464 fi
36465
36466 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36467 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36468 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36469 if test "${wx_cv_type_sa_handler+set}" = set; then
36470 echo $ECHO_N "(cached) $ECHO_C" >&6
36471 else
36472
36473 ac_ext=cpp
36474 ac_cpp='$CXXCPP $CPPFLAGS'
36475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36478
36479 cat >conftest.$ac_ext <<_ACEOF
36480 /* confdefs.h. */
36481 _ACEOF
36482 cat confdefs.h >>conftest.$ac_ext
36483 cat >>conftest.$ac_ext <<_ACEOF
36484 /* end confdefs.h. */
36485 #include <signal.h>
36486 int
36487 main ()
36488 {
36489
36490 extern void testSigHandler(int);
36491
36492 struct sigaction sa;
36493 sa.sa_handler = testSigHandler;
36494
36495 ;
36496 return 0;
36497 }
36498 _ACEOF
36499 rm -f conftest.$ac_objext
36500 if { (ac_try="$ac_compile"
36501 case "(($ac_try" in
36502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36503 *) ac_try_echo=$ac_try;;
36504 esac
36505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36506 (eval "$ac_compile") 2>conftest.er1
36507 ac_status=$?
36508 grep -v '^ *+' conftest.er1 >conftest.err
36509 rm -f conftest.er1
36510 cat conftest.err >&5
36511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512 (exit $ac_status); } && {
36513 test -z "$ac_cxx_werror_flag" ||
36514 test ! -s conftest.err
36515 } && test -s conftest.$ac_objext; then
36516
36517 wx_cv_type_sa_handler=int
36518
36519 else
36520 echo "$as_me: failed program was:" >&5
36521 sed 's/^/| /' conftest.$ac_ext >&5
36522
36523
36524 wx_cv_type_sa_handler=void
36525
36526 fi
36527
36528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36529 ac_ext=c
36530 ac_cpp='$CPP $CPPFLAGS'
36531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36534
36535
36536 fi
36537 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36538 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36539
36540 cat >>confdefs.h <<_ACEOF
36541 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36542 _ACEOF
36543
36544 fi
36545 fi
36546
36547 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36548 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36549 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36550 if test "${wx_cv_func_backtrace+set}" = set; then
36551 echo $ECHO_N "(cached) $ECHO_C" >&6
36552 else
36553
36554 ac_ext=cpp
36555 ac_cpp='$CXXCPP $CPPFLAGS'
36556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36559
36560 cat >conftest.$ac_ext <<_ACEOF
36561 /* confdefs.h. */
36562 _ACEOF
36563 cat confdefs.h >>conftest.$ac_ext
36564 cat >>conftest.$ac_ext <<_ACEOF
36565 /* end confdefs.h. */
36566 #include <execinfo.h>
36567 int
36568 main ()
36569 {
36570
36571 void *trace[1];
36572 char **messages;
36573
36574 backtrace(trace, 1);
36575 messages = backtrace_symbols(trace, 1);
36576
36577 ;
36578 return 0;
36579 }
36580 _ACEOF
36581 rm -f conftest.$ac_objext
36582 if { (ac_try="$ac_compile"
36583 case "(($ac_try" in
36584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36585 *) ac_try_echo=$ac_try;;
36586 esac
36587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36588 (eval "$ac_compile") 2>conftest.er1
36589 ac_status=$?
36590 grep -v '^ *+' conftest.er1 >conftest.err
36591 rm -f conftest.er1
36592 cat conftest.err >&5
36593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36594 (exit $ac_status); } && {
36595 test -z "$ac_cxx_werror_flag" ||
36596 test ! -s conftest.err
36597 } && test -s conftest.$ac_objext; then
36598 wx_cv_func_backtrace=yes
36599 else
36600 echo "$as_me: failed program was:" >&5
36601 sed 's/^/| /' conftest.$ac_ext >&5
36602
36603 wx_cv_func_backtrace=no
36604
36605 fi
36606
36607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36608 ac_ext=c
36609 ac_cpp='$CPP $CPPFLAGS'
36610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36613
36614
36615
36616 fi
36617 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36618 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36619
36620
36621 if test "$wx_cv_func_backtrace" = "no"; then
36622 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36623 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36624 wxUSE_STACKWALKER=no
36625 else
36626 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36627 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36628 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36629 echo $ECHO_N "(cached) $ECHO_C" >&6
36630 else
36631
36632 ac_ext=cpp
36633 ac_cpp='$CXXCPP $CPPFLAGS'
36634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36637
36638 cat >conftest.$ac_ext <<_ACEOF
36639 /* confdefs.h. */
36640 _ACEOF
36641 cat confdefs.h >>conftest.$ac_ext
36642 cat >>conftest.$ac_ext <<_ACEOF
36643 /* end confdefs.h. */
36644 #include <cxxabi.h>
36645 int
36646 main ()
36647 {
36648
36649 int rc;
36650 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36651
36652 ;
36653 return 0;
36654 }
36655 _ACEOF
36656 rm -f conftest.$ac_objext conftest$ac_exeext
36657 if { (ac_try="$ac_link"
36658 case "(($ac_try" in
36659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36660 *) ac_try_echo=$ac_try;;
36661 esac
36662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36663 (eval "$ac_link") 2>conftest.er1
36664 ac_status=$?
36665 grep -v '^ *+' conftest.er1 >conftest.err
36666 rm -f conftest.er1
36667 cat conftest.err >&5
36668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36669 (exit $ac_status); } && {
36670 test -z "$ac_cxx_werror_flag" ||
36671 test ! -s conftest.err
36672 } && test -s conftest$ac_exeext &&
36673 $as_test_x conftest$ac_exeext; then
36674 wx_cv_func_cxa_demangle=yes
36675 else
36676 echo "$as_me: failed program was:" >&5
36677 sed 's/^/| /' conftest.$ac_ext >&5
36678
36679 wx_cv_func_cxa_demangle=no
36680
36681 fi
36682
36683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36684 conftest$ac_exeext conftest.$ac_ext
36685 ac_ext=c
36686 ac_cpp='$CPP $CPPFLAGS'
36687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36690
36691
36692
36693 fi
36694 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36695 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36696
36697 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36698 cat >>confdefs.h <<\_ACEOF
36699 #define HAVE_CXA_DEMANGLE 1
36700 _ACEOF
36701
36702 fi
36703 fi
36704 fi
36705
36706 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36707 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36708 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36709 wxUSE_STACKWALKER=no
36710 fi
36711
36712
36713
36714
36715 for ac_func in mkstemp mktemp
36716 do
36717 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36720 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36721 echo $ECHO_N "(cached) $ECHO_C" >&6
36722 else
36723 cat >conftest.$ac_ext <<_ACEOF
36724 /* confdefs.h. */
36725 _ACEOF
36726 cat confdefs.h >>conftest.$ac_ext
36727 cat >>conftest.$ac_ext <<_ACEOF
36728 /* end confdefs.h. */
36729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36731 #define $ac_func innocuous_$ac_func
36732
36733 /* System header to define __stub macros and hopefully few prototypes,
36734 which can conflict with char $ac_func (); below.
36735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36736 <limits.h> exists even on freestanding compilers. */
36737
36738 #ifdef __STDC__
36739 # include <limits.h>
36740 #else
36741 # include <assert.h>
36742 #endif
36743
36744 #undef $ac_func
36745
36746 /* Override any GCC internal prototype to avoid an error.
36747 Use char because int might match the return type of a GCC
36748 builtin and then its argument prototype would still apply. */
36749 #ifdef __cplusplus
36750 extern "C"
36751 #endif
36752 char $ac_func ();
36753 /* The GNU C library defines this for functions which it implements
36754 to always fail with ENOSYS. Some functions are actually named
36755 something starting with __ and the normal name is an alias. */
36756 #if defined __stub_$ac_func || defined __stub___$ac_func
36757 choke me
36758 #endif
36759
36760 int
36761 main ()
36762 {
36763 return $ac_func ();
36764 ;
36765 return 0;
36766 }
36767 _ACEOF
36768 rm -f conftest.$ac_objext conftest$ac_exeext
36769 if { (ac_try="$ac_link"
36770 case "(($ac_try" in
36771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36772 *) ac_try_echo=$ac_try;;
36773 esac
36774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36775 (eval "$ac_link") 2>conftest.er1
36776 ac_status=$?
36777 grep -v '^ *+' conftest.er1 >conftest.err
36778 rm -f conftest.er1
36779 cat conftest.err >&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); } && {
36782 test -z "$ac_c_werror_flag" ||
36783 test ! -s conftest.err
36784 } && test -s conftest$ac_exeext &&
36785 $as_test_x conftest$ac_exeext; then
36786 eval "$as_ac_var=yes"
36787 else
36788 echo "$as_me: failed program was:" >&5
36789 sed 's/^/| /' conftest.$ac_ext >&5
36790
36791 eval "$as_ac_var=no"
36792 fi
36793
36794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36795 conftest$ac_exeext conftest.$ac_ext
36796 fi
36797 ac_res=`eval echo '${'$as_ac_var'}'`
36798 { echo "$as_me:$LINENO: result: $ac_res" >&5
36799 echo "${ECHO_T}$ac_res" >&6; }
36800 if test `eval echo '${'$as_ac_var'}'` = yes; then
36801 cat >>confdefs.h <<_ACEOF
36802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36803 _ACEOF
36804 break
36805 fi
36806 done
36807
36808
36809 { echo "$as_me:$LINENO: checking for statfs" >&5
36810 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36811 if test "${wx_cv_func_statfs+set}" = set; then
36812 echo $ECHO_N "(cached) $ECHO_C" >&6
36813 else
36814 cat >conftest.$ac_ext <<_ACEOF
36815 /* confdefs.h. */
36816 _ACEOF
36817 cat confdefs.h >>conftest.$ac_ext
36818 cat >>conftest.$ac_ext <<_ACEOF
36819 /* end confdefs.h. */
36820
36821 #if defined(__BSD__)
36822 #include <sys/param.h>
36823 #include <sys/mount.h>
36824 #else
36825 #include <sys/vfs.h>
36826 #endif
36827
36828 int
36829 main ()
36830 {
36831
36832 long l;
36833 struct statfs fs;
36834 statfs("/", &fs);
36835 l = fs.f_bsize;
36836 l += fs.f_blocks;
36837 l += fs.f_bavail;
36838
36839 ;
36840 return 0;
36841 }
36842 _ACEOF
36843 rm -f conftest.$ac_objext
36844 if { (ac_try="$ac_compile"
36845 case "(($ac_try" in
36846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36847 *) ac_try_echo=$ac_try;;
36848 esac
36849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36850 (eval "$ac_compile") 2>conftest.er1
36851 ac_status=$?
36852 grep -v '^ *+' conftest.er1 >conftest.err
36853 rm -f conftest.er1
36854 cat conftest.err >&5
36855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36856 (exit $ac_status); } && {
36857 test -z "$ac_c_werror_flag" ||
36858 test ! -s conftest.err
36859 } && test -s conftest.$ac_objext; then
36860 wx_cv_func_statfs=yes
36861 else
36862 echo "$as_me: failed program was:" >&5
36863 sed 's/^/| /' conftest.$ac_ext >&5
36864
36865 wx_cv_func_statfs=no
36866
36867 fi
36868
36869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36870
36871 fi
36872 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36873 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36874
36875 if test "$wx_cv_func_statfs" = "yes"; then
36876 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36877 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36878 if test "${wx_cv_func_statfs_decl+set}" = set; then
36879 echo $ECHO_N "(cached) $ECHO_C" >&6
36880 else
36881 ac_ext=cpp
36882 ac_cpp='$CXXCPP $CPPFLAGS'
36883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36886
36887 cat >conftest.$ac_ext <<_ACEOF
36888 /* confdefs.h. */
36889 _ACEOF
36890 cat confdefs.h >>conftest.$ac_ext
36891 cat >>conftest.$ac_ext <<_ACEOF
36892 /* end confdefs.h. */
36893
36894 #if defined(__BSD__)
36895 #include <sys/param.h>
36896 #include <sys/mount.h>
36897 #else
36898 #include <sys/vfs.h>
36899 #endif
36900
36901 int
36902 main ()
36903 {
36904
36905 struct statfs fs;
36906 statfs("", &fs);
36907
36908 ;
36909 return 0;
36910 }
36911 _ACEOF
36912 rm -f conftest.$ac_objext
36913 if { (ac_try="$ac_compile"
36914 case "(($ac_try" in
36915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36916 *) ac_try_echo=$ac_try;;
36917 esac
36918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36919 (eval "$ac_compile") 2>conftest.er1
36920 ac_status=$?
36921 grep -v '^ *+' conftest.er1 >conftest.err
36922 rm -f conftest.er1
36923 cat conftest.err >&5
36924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36925 (exit $ac_status); } && {
36926 test -z "$ac_cxx_werror_flag" ||
36927 test ! -s conftest.err
36928 } && test -s conftest.$ac_objext; then
36929 wx_cv_func_statfs_decl=yes
36930 else
36931 echo "$as_me: failed program was:" >&5
36932 sed 's/^/| /' conftest.$ac_ext >&5
36933
36934 wx_cv_func_statfs_decl=no
36935
36936 fi
36937
36938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36939 ac_ext=c
36940 ac_cpp='$CPP $CPPFLAGS'
36941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36944
36945
36946 fi
36947 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36948 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36949
36950 if test "$wx_cv_func_statfs_decl" = "yes"; then
36951 cat >>confdefs.h <<\_ACEOF
36952 #define HAVE_STATFS_DECL 1
36953 _ACEOF
36954
36955 fi
36956
36957 wx_cv_type_statvfs_t="struct statfs"
36958 cat >>confdefs.h <<\_ACEOF
36959 #define HAVE_STATFS 1
36960 _ACEOF
36961
36962 else
36963 { echo "$as_me:$LINENO: checking for statvfs" >&5
36964 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36965 if test "${wx_cv_func_statvfs+set}" = set; then
36966 echo $ECHO_N "(cached) $ECHO_C" >&6
36967 else
36968 cat >conftest.$ac_ext <<_ACEOF
36969 /* confdefs.h. */
36970 _ACEOF
36971 cat confdefs.h >>conftest.$ac_ext
36972 cat >>conftest.$ac_ext <<_ACEOF
36973 /* end confdefs.h. */
36974
36975 #include <stddef.h>
36976 #include <sys/statvfs.h>
36977
36978 int
36979 main ()
36980 {
36981
36982 statvfs("/", NULL);
36983
36984 ;
36985 return 0;
36986 }
36987 _ACEOF
36988 rm -f conftest.$ac_objext
36989 if { (ac_try="$ac_compile"
36990 case "(($ac_try" in
36991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36992 *) ac_try_echo=$ac_try;;
36993 esac
36994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36995 (eval "$ac_compile") 2>conftest.er1
36996 ac_status=$?
36997 grep -v '^ *+' conftest.er1 >conftest.err
36998 rm -f conftest.er1
36999 cat conftest.err >&5
37000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37001 (exit $ac_status); } && {
37002 test -z "$ac_c_werror_flag" ||
37003 test ! -s conftest.err
37004 } && test -s conftest.$ac_objext; then
37005 wx_cv_func_statvfs=yes
37006 else
37007 echo "$as_me: failed program was:" >&5
37008 sed 's/^/| /' conftest.$ac_ext >&5
37009
37010 wx_cv_func_statvfs=no
37011
37012 fi
37013
37014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37015
37016 fi
37017 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37018 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37019
37020 if test "$wx_cv_func_statvfs" = "yes"; then
37021 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37022 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37023 if test "${wx_cv_type_statvfs_t+set}" = set; then
37024 echo $ECHO_N "(cached) $ECHO_C" >&6
37025 else
37026 ac_ext=cpp
37027 ac_cpp='$CXXCPP $CPPFLAGS'
37028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37031
37032 cat >conftest.$ac_ext <<_ACEOF
37033 /* confdefs.h. */
37034 _ACEOF
37035 cat confdefs.h >>conftest.$ac_ext
37036 cat >>conftest.$ac_ext <<_ACEOF
37037 /* end confdefs.h. */
37038
37039 #include <sys/statvfs.h>
37040
37041 int
37042 main ()
37043 {
37044
37045 long l;
37046 statvfs_t fs;
37047 statvfs("/", &fs);
37048 l = fs.f_bsize;
37049 l += fs.f_blocks;
37050 l += fs.f_bavail;
37051
37052 ;
37053 return 0;
37054 }
37055 _ACEOF
37056 rm -f conftest.$ac_objext
37057 if { (ac_try="$ac_compile"
37058 case "(($ac_try" in
37059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37060 *) ac_try_echo=$ac_try;;
37061 esac
37062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37063 (eval "$ac_compile") 2>conftest.er1
37064 ac_status=$?
37065 grep -v '^ *+' conftest.er1 >conftest.err
37066 rm -f conftest.er1
37067 cat conftest.err >&5
37068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37069 (exit $ac_status); } && {
37070 test -z "$ac_cxx_werror_flag" ||
37071 test ! -s conftest.err
37072 } && test -s conftest.$ac_objext; then
37073 wx_cv_type_statvfs_t=statvfs_t
37074 else
37075 echo "$as_me: failed program was:" >&5
37076 sed 's/^/| /' conftest.$ac_ext >&5
37077
37078
37079 cat >conftest.$ac_ext <<_ACEOF
37080 /* confdefs.h. */
37081 _ACEOF
37082 cat confdefs.h >>conftest.$ac_ext
37083 cat >>conftest.$ac_ext <<_ACEOF
37084 /* end confdefs.h. */
37085
37086 #include <sys/statvfs.h>
37087
37088 int
37089 main ()
37090 {
37091
37092 long l;
37093 struct statvfs fs;
37094 statvfs("/", &fs);
37095 l = fs.f_bsize;
37096 l += fs.f_blocks;
37097 l += fs.f_bavail;
37098
37099 ;
37100 return 0;
37101 }
37102 _ACEOF
37103 rm -f conftest.$ac_objext
37104 if { (ac_try="$ac_compile"
37105 case "(($ac_try" in
37106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37107 *) ac_try_echo=$ac_try;;
37108 esac
37109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37110 (eval "$ac_compile") 2>conftest.er1
37111 ac_status=$?
37112 grep -v '^ *+' conftest.er1 >conftest.err
37113 rm -f conftest.er1
37114 cat conftest.err >&5
37115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37116 (exit $ac_status); } && {
37117 test -z "$ac_cxx_werror_flag" ||
37118 test ! -s conftest.err
37119 } && test -s conftest.$ac_objext; then
37120 wx_cv_type_statvfs_t="struct statvfs"
37121 else
37122 echo "$as_me: failed program was:" >&5
37123 sed 's/^/| /' conftest.$ac_ext >&5
37124
37125 wx_cv_type_statvfs_t="unknown"
37126
37127 fi
37128
37129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37130
37131
37132 fi
37133
37134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37135 ac_ext=c
37136 ac_cpp='$CPP $CPPFLAGS'
37137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37140
37141
37142 fi
37143 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37144 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37145
37146 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37147 cat >>confdefs.h <<\_ACEOF
37148 #define HAVE_STATVFS 1
37149 _ACEOF
37150
37151 fi
37152 else
37153 wx_cv_type_statvfs_t="unknown"
37154 fi
37155 fi
37156
37157 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37158 cat >>confdefs.h <<_ACEOF
37159 #define WX_STATFS_T $wx_cv_type_statvfs_t
37160 _ACEOF
37161
37162 else
37163 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37164 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37165 fi
37166
37167 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37168
37169
37170 for ac_func in fcntl flock
37171 do
37172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37173 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37175 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37176 echo $ECHO_N "(cached) $ECHO_C" >&6
37177 else
37178 cat >conftest.$ac_ext <<_ACEOF
37179 /* confdefs.h. */
37180 _ACEOF
37181 cat confdefs.h >>conftest.$ac_ext
37182 cat >>conftest.$ac_ext <<_ACEOF
37183 /* end confdefs.h. */
37184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37186 #define $ac_func innocuous_$ac_func
37187
37188 /* System header to define __stub macros and hopefully few prototypes,
37189 which can conflict with char $ac_func (); below.
37190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37191 <limits.h> exists even on freestanding compilers. */
37192
37193 #ifdef __STDC__
37194 # include <limits.h>
37195 #else
37196 # include <assert.h>
37197 #endif
37198
37199 #undef $ac_func
37200
37201 /* Override any GCC internal prototype to avoid an error.
37202 Use char because int might match the return type of a GCC
37203 builtin and then its argument prototype would still apply. */
37204 #ifdef __cplusplus
37205 extern "C"
37206 #endif
37207 char $ac_func ();
37208 /* The GNU C library defines this for functions which it implements
37209 to always fail with ENOSYS. Some functions are actually named
37210 something starting with __ and the normal name is an alias. */
37211 #if defined __stub_$ac_func || defined __stub___$ac_func
37212 choke me
37213 #endif
37214
37215 int
37216 main ()
37217 {
37218 return $ac_func ();
37219 ;
37220 return 0;
37221 }
37222 _ACEOF
37223 rm -f conftest.$ac_objext conftest$ac_exeext
37224 if { (ac_try="$ac_link"
37225 case "(($ac_try" in
37226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37227 *) ac_try_echo=$ac_try;;
37228 esac
37229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37230 (eval "$ac_link") 2>conftest.er1
37231 ac_status=$?
37232 grep -v '^ *+' conftest.er1 >conftest.err
37233 rm -f conftest.er1
37234 cat conftest.err >&5
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); } && {
37237 test -z "$ac_c_werror_flag" ||
37238 test ! -s conftest.err
37239 } && test -s conftest$ac_exeext &&
37240 $as_test_x conftest$ac_exeext; then
37241 eval "$as_ac_var=yes"
37242 else
37243 echo "$as_me: failed program was:" >&5
37244 sed 's/^/| /' conftest.$ac_ext >&5
37245
37246 eval "$as_ac_var=no"
37247 fi
37248
37249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37250 conftest$ac_exeext conftest.$ac_ext
37251 fi
37252 ac_res=`eval echo '${'$as_ac_var'}'`
37253 { echo "$as_me:$LINENO: result: $ac_res" >&5
37254 echo "${ECHO_T}$ac_res" >&6; }
37255 if test `eval echo '${'$as_ac_var'}'` = yes; then
37256 cat >>confdefs.h <<_ACEOF
37257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37258 _ACEOF
37259 break
37260 fi
37261 done
37262
37263
37264 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37265 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37266 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37267 wxUSE_SNGLINST_CHECKER=no
37268 fi
37269 fi
37270
37271
37272
37273 for ac_func in setenv putenv
37274 do
37275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37276 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37278 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37279 echo $ECHO_N "(cached) $ECHO_C" >&6
37280 else
37281 cat >conftest.$ac_ext <<_ACEOF
37282 /* confdefs.h. */
37283 _ACEOF
37284 cat confdefs.h >>conftest.$ac_ext
37285 cat >>conftest.$ac_ext <<_ACEOF
37286 /* end confdefs.h. */
37287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37289 #define $ac_func innocuous_$ac_func
37290
37291 /* System header to define __stub macros and hopefully few prototypes,
37292 which can conflict with char $ac_func (); below.
37293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37294 <limits.h> exists even on freestanding compilers. */
37295
37296 #ifdef __STDC__
37297 # include <limits.h>
37298 #else
37299 # include <assert.h>
37300 #endif
37301
37302 #undef $ac_func
37303
37304 /* Override any GCC internal prototype to avoid an error.
37305 Use char because int might match the return type of a GCC
37306 builtin and then its argument prototype would still apply. */
37307 #ifdef __cplusplus
37308 extern "C"
37309 #endif
37310 char $ac_func ();
37311 /* The GNU C library defines this for functions which it implements
37312 to always fail with ENOSYS. Some functions are actually named
37313 something starting with __ and the normal name is an alias. */
37314 #if defined __stub_$ac_func || defined __stub___$ac_func
37315 choke me
37316 #endif
37317
37318 int
37319 main ()
37320 {
37321 return $ac_func ();
37322 ;
37323 return 0;
37324 }
37325 _ACEOF
37326 rm -f conftest.$ac_objext conftest$ac_exeext
37327 if { (ac_try="$ac_link"
37328 case "(($ac_try" in
37329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37330 *) ac_try_echo=$ac_try;;
37331 esac
37332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37333 (eval "$ac_link") 2>conftest.er1
37334 ac_status=$?
37335 grep -v '^ *+' conftest.er1 >conftest.err
37336 rm -f conftest.er1
37337 cat conftest.err >&5
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); } && {
37340 test -z "$ac_c_werror_flag" ||
37341 test ! -s conftest.err
37342 } && test -s conftest$ac_exeext &&
37343 $as_test_x conftest$ac_exeext; then
37344 eval "$as_ac_var=yes"
37345 else
37346 echo "$as_me: failed program was:" >&5
37347 sed 's/^/| /' conftest.$ac_ext >&5
37348
37349 eval "$as_ac_var=no"
37350 fi
37351
37352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37353 conftest$ac_exeext conftest.$ac_ext
37354 fi
37355 ac_res=`eval echo '${'$as_ac_var'}'`
37356 { echo "$as_me:$LINENO: result: $ac_res" >&5
37357 echo "${ECHO_T}$ac_res" >&6; }
37358 if test `eval echo '${'$as_ac_var'}'` = yes; then
37359 cat >>confdefs.h <<_ACEOF
37360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37361 _ACEOF
37362 break
37363 fi
37364 done
37365
37366 if test "$ac_cv_func_setenv" = "yes"; then
37367
37368 for ac_func in unsetenv
37369 do
37370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37371 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37374 echo $ECHO_N "(cached) $ECHO_C" >&6
37375 else
37376 cat >conftest.$ac_ext <<_ACEOF
37377 /* confdefs.h. */
37378 _ACEOF
37379 cat confdefs.h >>conftest.$ac_ext
37380 cat >>conftest.$ac_ext <<_ACEOF
37381 /* end confdefs.h. */
37382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37384 #define $ac_func innocuous_$ac_func
37385
37386 /* System header to define __stub macros and hopefully few prototypes,
37387 which can conflict with char $ac_func (); below.
37388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37389 <limits.h> exists even on freestanding compilers. */
37390
37391 #ifdef __STDC__
37392 # include <limits.h>
37393 #else
37394 # include <assert.h>
37395 #endif
37396
37397 #undef $ac_func
37398
37399 /* Override any GCC internal prototype to avoid an error.
37400 Use char because int might match the return type of a GCC
37401 builtin and then its argument prototype would still apply. */
37402 #ifdef __cplusplus
37403 extern "C"
37404 #endif
37405 char $ac_func ();
37406 /* The GNU C library defines this for functions which it implements
37407 to always fail with ENOSYS. Some functions are actually named
37408 something starting with __ and the normal name is an alias. */
37409 #if defined __stub_$ac_func || defined __stub___$ac_func
37410 choke me
37411 #endif
37412
37413 int
37414 main ()
37415 {
37416 return $ac_func ();
37417 ;
37418 return 0;
37419 }
37420 _ACEOF
37421 rm -f conftest.$ac_objext conftest$ac_exeext
37422 if { (ac_try="$ac_link"
37423 case "(($ac_try" in
37424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37425 *) ac_try_echo=$ac_try;;
37426 esac
37427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37428 (eval "$ac_link") 2>conftest.er1
37429 ac_status=$?
37430 grep -v '^ *+' conftest.er1 >conftest.err
37431 rm -f conftest.er1
37432 cat conftest.err >&5
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); } && {
37435 test -z "$ac_c_werror_flag" ||
37436 test ! -s conftest.err
37437 } && test -s conftest$ac_exeext &&
37438 $as_test_x conftest$ac_exeext; then
37439 eval "$as_ac_var=yes"
37440 else
37441 echo "$as_me: failed program was:" >&5
37442 sed 's/^/| /' conftest.$ac_ext >&5
37443
37444 eval "$as_ac_var=no"
37445 fi
37446
37447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37448 conftest$ac_exeext conftest.$ac_ext
37449 fi
37450 ac_res=`eval echo '${'$as_ac_var'}'`
37451 { echo "$as_me:$LINENO: result: $ac_res" >&5
37452 echo "${ECHO_T}$ac_res" >&6; }
37453 if test `eval echo '${'$as_ac_var'}'` = yes; then
37454 cat >>confdefs.h <<_ACEOF
37455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37456 _ACEOF
37457
37458 fi
37459 done
37460
37461 fi
37462
37463 HAVE_SOME_SLEEP_FUNC=0
37464 if test "$USE_BEOS" = 1; then
37465 cat >>confdefs.h <<\_ACEOF
37466 #define HAVE_SLEEP 1
37467 _ACEOF
37468
37469 HAVE_SOME_SLEEP_FUNC=1
37470 fi
37471
37472 if test "$USE_DARWIN" = 1; then
37473 cat >>confdefs.h <<\_ACEOF
37474 #define HAVE_USLEEP 1
37475 _ACEOF
37476
37477 HAVE_SOME_SLEEP_FUNC=1
37478 fi
37479
37480 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37481 POSIX4_LINK=
37482
37483 for ac_func in nanosleep
37484 do
37485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37486 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37488 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37489 echo $ECHO_N "(cached) $ECHO_C" >&6
37490 else
37491 cat >conftest.$ac_ext <<_ACEOF
37492 /* confdefs.h. */
37493 _ACEOF
37494 cat confdefs.h >>conftest.$ac_ext
37495 cat >>conftest.$ac_ext <<_ACEOF
37496 /* end confdefs.h. */
37497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37499 #define $ac_func innocuous_$ac_func
37500
37501 /* System header to define __stub macros and hopefully few prototypes,
37502 which can conflict with char $ac_func (); below.
37503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37504 <limits.h> exists even on freestanding compilers. */
37505
37506 #ifdef __STDC__
37507 # include <limits.h>
37508 #else
37509 # include <assert.h>
37510 #endif
37511
37512 #undef $ac_func
37513
37514 /* Override any GCC internal prototype to avoid an error.
37515 Use char because int might match the return type of a GCC
37516 builtin and then its argument prototype would still apply. */
37517 #ifdef __cplusplus
37518 extern "C"
37519 #endif
37520 char $ac_func ();
37521 /* The GNU C library defines this for functions which it implements
37522 to always fail with ENOSYS. Some functions are actually named
37523 something starting with __ and the normal name is an alias. */
37524 #if defined __stub_$ac_func || defined __stub___$ac_func
37525 choke me
37526 #endif
37527
37528 int
37529 main ()
37530 {
37531 return $ac_func ();
37532 ;
37533 return 0;
37534 }
37535 _ACEOF
37536 rm -f conftest.$ac_objext conftest$ac_exeext
37537 if { (ac_try="$ac_link"
37538 case "(($ac_try" in
37539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37540 *) ac_try_echo=$ac_try;;
37541 esac
37542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37543 (eval "$ac_link") 2>conftest.er1
37544 ac_status=$?
37545 grep -v '^ *+' conftest.er1 >conftest.err
37546 rm -f conftest.er1
37547 cat conftest.err >&5
37548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549 (exit $ac_status); } && {
37550 test -z "$ac_c_werror_flag" ||
37551 test ! -s conftest.err
37552 } && test -s conftest$ac_exeext &&
37553 $as_test_x conftest$ac_exeext; then
37554 eval "$as_ac_var=yes"
37555 else
37556 echo "$as_me: failed program was:" >&5
37557 sed 's/^/| /' conftest.$ac_ext >&5
37558
37559 eval "$as_ac_var=no"
37560 fi
37561
37562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37563 conftest$ac_exeext conftest.$ac_ext
37564 fi
37565 ac_res=`eval echo '${'$as_ac_var'}'`
37566 { echo "$as_me:$LINENO: result: $ac_res" >&5
37567 echo "${ECHO_T}$ac_res" >&6; }
37568 if test `eval echo '${'$as_ac_var'}'` = yes; then
37569 cat >>confdefs.h <<_ACEOF
37570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37571 _ACEOF
37572 cat >>confdefs.h <<\_ACEOF
37573 #define HAVE_NANOSLEEP 1
37574 _ACEOF
37575
37576 else
37577
37578 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37579 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37580 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37581 echo $ECHO_N "(cached) $ECHO_C" >&6
37582 else
37583 ac_check_lib_save_LIBS=$LIBS
37584 LIBS="-lposix4 $LIBS"
37585 cat >conftest.$ac_ext <<_ACEOF
37586 /* confdefs.h. */
37587 _ACEOF
37588 cat confdefs.h >>conftest.$ac_ext
37589 cat >>conftest.$ac_ext <<_ACEOF
37590 /* end confdefs.h. */
37591
37592 /* Override any GCC internal prototype to avoid an error.
37593 Use char because int might match the return type of a GCC
37594 builtin and then its argument prototype would still apply. */
37595 #ifdef __cplusplus
37596 extern "C"
37597 #endif
37598 char nanosleep ();
37599 int
37600 main ()
37601 {
37602 return nanosleep ();
37603 ;
37604 return 0;
37605 }
37606 _ACEOF
37607 rm -f conftest.$ac_objext conftest$ac_exeext
37608 if { (ac_try="$ac_link"
37609 case "(($ac_try" in
37610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37611 *) ac_try_echo=$ac_try;;
37612 esac
37613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37614 (eval "$ac_link") 2>conftest.er1
37615 ac_status=$?
37616 grep -v '^ *+' conftest.er1 >conftest.err
37617 rm -f conftest.er1
37618 cat conftest.err >&5
37619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37620 (exit $ac_status); } && {
37621 test -z "$ac_c_werror_flag" ||
37622 test ! -s conftest.err
37623 } && test -s conftest$ac_exeext &&
37624 $as_test_x conftest$ac_exeext; then
37625 ac_cv_lib_posix4_nanosleep=yes
37626 else
37627 echo "$as_me: failed program was:" >&5
37628 sed 's/^/| /' conftest.$ac_ext >&5
37629
37630 ac_cv_lib_posix4_nanosleep=no
37631 fi
37632
37633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37634 conftest$ac_exeext conftest.$ac_ext
37635 LIBS=$ac_check_lib_save_LIBS
37636 fi
37637 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37638 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37639 if test $ac_cv_lib_posix4_nanosleep = yes; then
37640
37641 cat >>confdefs.h <<\_ACEOF
37642 #define HAVE_NANOSLEEP 1
37643 _ACEOF
37644
37645 POSIX4_LINK=" -lposix4"
37646
37647 else
37648
37649
37650 for wx_func in usleep
37651 do
37652 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37653 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37654 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37655 echo $ECHO_N "(cached) $ECHO_C" >&6
37656 else
37657
37658 cat >conftest.$ac_ext <<_ACEOF
37659
37660 /* confdefs.h. */
37661 _ACEOF
37662 cat confdefs.h >>conftest.$ac_ext
37663 cat >>conftest.$ac_ext <<_ACEOF
37664 /* end confdefs.h. */
37665
37666
37667 $ac_includes_default
37668
37669 int
37670 main ()
37671 {
37672
37673 #ifndef $wx_func
37674 &$wx_func;
37675 #endif
37676
37677
37678 ;
37679 return 0;
37680 }
37681
37682 _ACEOF
37683 rm -f conftest.$ac_objext conftest$ac_exeext
37684 if { (ac_try="$ac_link"
37685 case "(($ac_try" in
37686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37687 *) ac_try_echo=$ac_try;;
37688 esac
37689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37690 (eval "$ac_link") 2>conftest.er1
37691 ac_status=$?
37692 grep -v '^ *+' conftest.er1 >conftest.err
37693 rm -f conftest.er1
37694 cat conftest.err >&5
37695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696 (exit $ac_status); } && {
37697 test -z "$ac_c_werror_flag" ||
37698 test ! -s conftest.err
37699 } && test -s conftest$ac_exeext &&
37700 $as_test_x conftest$ac_exeext; then
37701 eval wx_cv_func_$wx_func=yes
37702 else
37703 echo "$as_me: failed program was:" >&5
37704 sed 's/^/| /' conftest.$ac_ext >&5
37705
37706 eval wx_cv_func_$wx_func=no
37707 fi
37708
37709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37710 conftest$ac_exeext conftest.$ac_ext
37711
37712 fi
37713 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37714 { echo "$as_me:$LINENO: result: $ac_res" >&5
37715 echo "${ECHO_T}$ac_res" >&6; }
37716
37717 if eval test \$wx_cv_func_$wx_func = yes
37718 then
37719 cat >>confdefs.h <<_ACEOF
37720 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37721 _ACEOF
37722
37723
37724 else
37725 :
37726 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37727 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37728
37729 fi
37730 done
37731
37732
37733
37734 fi
37735
37736
37737
37738 fi
37739 done
37740
37741 fi
37742
37743
37744 for wx_func in uname
37745 do
37746 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37747 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37748 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37749 echo $ECHO_N "(cached) $ECHO_C" >&6
37750 else
37751
37752 cat >conftest.$ac_ext <<_ACEOF
37753
37754 /* confdefs.h. */
37755 _ACEOF
37756 cat confdefs.h >>conftest.$ac_ext
37757 cat >>conftest.$ac_ext <<_ACEOF
37758 /* end confdefs.h. */
37759
37760 #include <sys/utsname.h>
37761 $ac_includes_default
37762
37763 int
37764 main ()
37765 {
37766
37767 #ifndef $wx_func
37768 &$wx_func;
37769 #endif
37770
37771
37772 ;
37773 return 0;
37774 }
37775
37776 _ACEOF
37777 rm -f conftest.$ac_objext conftest$ac_exeext
37778 if { (ac_try="$ac_link"
37779 case "(($ac_try" in
37780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37781 *) ac_try_echo=$ac_try;;
37782 esac
37783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37784 (eval "$ac_link") 2>conftest.er1
37785 ac_status=$?
37786 grep -v '^ *+' conftest.er1 >conftest.err
37787 rm -f conftest.er1
37788 cat conftest.err >&5
37789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37790 (exit $ac_status); } && {
37791 test -z "$ac_c_werror_flag" ||
37792 test ! -s conftest.err
37793 } && test -s conftest$ac_exeext &&
37794 $as_test_x conftest$ac_exeext; then
37795 eval wx_cv_func_$wx_func=yes
37796 else
37797 echo "$as_me: failed program was:" >&5
37798 sed 's/^/| /' conftest.$ac_ext >&5
37799
37800 eval wx_cv_func_$wx_func=no
37801 fi
37802
37803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37804 conftest$ac_exeext conftest.$ac_ext
37805
37806 fi
37807 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37808 { echo "$as_me:$LINENO: result: $ac_res" >&5
37809 echo "${ECHO_T}$ac_res" >&6; }
37810
37811 if eval test \$wx_cv_func_$wx_func = yes
37812 then
37813 cat >>confdefs.h <<_ACEOF
37814 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37815 _ACEOF
37816
37817
37818 else
37819 :
37820
37821 fi
37822 done
37823
37824 if test "$wx_cv_func_uname" != yes; then
37825
37826 for wx_func in gethostname
37827 do
37828 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37829 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37830 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37831 echo $ECHO_N "(cached) $ECHO_C" >&6
37832 else
37833
37834 cat >conftest.$ac_ext <<_ACEOF
37835
37836 /* confdefs.h. */
37837 _ACEOF
37838 cat confdefs.h >>conftest.$ac_ext
37839 cat >>conftest.$ac_ext <<_ACEOF
37840 /* end confdefs.h. */
37841
37842
37843 $ac_includes_default
37844
37845 int
37846 main ()
37847 {
37848
37849 #ifndef $wx_func
37850 &$wx_func;
37851 #endif
37852
37853
37854 ;
37855 return 0;
37856 }
37857
37858 _ACEOF
37859 rm -f conftest.$ac_objext conftest$ac_exeext
37860 if { (ac_try="$ac_link"
37861 case "(($ac_try" in
37862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37863 *) ac_try_echo=$ac_try;;
37864 esac
37865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37866 (eval "$ac_link") 2>conftest.er1
37867 ac_status=$?
37868 grep -v '^ *+' conftest.er1 >conftest.err
37869 rm -f conftest.er1
37870 cat conftest.err >&5
37871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872 (exit $ac_status); } && {
37873 test -z "$ac_c_werror_flag" ||
37874 test ! -s conftest.err
37875 } && test -s conftest$ac_exeext &&
37876 $as_test_x conftest$ac_exeext; then
37877 eval wx_cv_func_$wx_func=yes
37878 else
37879 echo "$as_me: failed program was:" >&5
37880 sed 's/^/| /' conftest.$ac_ext >&5
37881
37882 eval wx_cv_func_$wx_func=no
37883 fi
37884
37885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37886 conftest$ac_exeext conftest.$ac_ext
37887
37888 fi
37889 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37890 { echo "$as_me:$LINENO: result: $ac_res" >&5
37891 echo "${ECHO_T}$ac_res" >&6; }
37892
37893 if eval test \$wx_cv_func_$wx_func = yes
37894 then
37895 cat >>confdefs.h <<_ACEOF
37896 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37897 _ACEOF
37898
37899
37900 else
37901 :
37902
37903 fi
37904 done
37905
37906 fi
37907
37908
37909 for wx_func in strtok_r
37910 do
37911 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37912 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37913 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37914 echo $ECHO_N "(cached) $ECHO_C" >&6
37915 else
37916
37917 cat >conftest.$ac_ext <<_ACEOF
37918
37919 /* confdefs.h. */
37920 _ACEOF
37921 cat confdefs.h >>conftest.$ac_ext
37922 cat >>conftest.$ac_ext <<_ACEOF
37923 /* end confdefs.h. */
37924
37925 #define _REENTRANT
37926 $ac_includes_default
37927
37928 int
37929 main ()
37930 {
37931
37932 #ifndef $wx_func
37933 &$wx_func;
37934 #endif
37935
37936
37937 ;
37938 return 0;
37939 }
37940
37941 _ACEOF
37942 rm -f conftest.$ac_objext conftest$ac_exeext
37943 if { (ac_try="$ac_link"
37944 case "(($ac_try" in
37945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37946 *) ac_try_echo=$ac_try;;
37947 esac
37948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37949 (eval "$ac_link") 2>conftest.er1
37950 ac_status=$?
37951 grep -v '^ *+' conftest.er1 >conftest.err
37952 rm -f conftest.er1
37953 cat conftest.err >&5
37954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955 (exit $ac_status); } && {
37956 test -z "$ac_c_werror_flag" ||
37957 test ! -s conftest.err
37958 } && test -s conftest$ac_exeext &&
37959 $as_test_x conftest$ac_exeext; then
37960 eval wx_cv_func_$wx_func=yes
37961 else
37962 echo "$as_me: failed program was:" >&5
37963 sed 's/^/| /' conftest.$ac_ext >&5
37964
37965 eval wx_cv_func_$wx_func=no
37966 fi
37967
37968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37969 conftest$ac_exeext conftest.$ac_ext
37970
37971 fi
37972 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37973 { echo "$as_me:$LINENO: result: $ac_res" >&5
37974 echo "${ECHO_T}$ac_res" >&6; }
37975
37976 if eval test \$wx_cv_func_$wx_func = yes
37977 then
37978 cat >>confdefs.h <<_ACEOF
37979 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37980 _ACEOF
37981
37982
37983 else
37984 :
37985
37986 fi
37987 done
37988
37989
37990 INET_LINK=
37991
37992 for ac_func in inet_addr
37993 do
37994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37995 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37997 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37998 echo $ECHO_N "(cached) $ECHO_C" >&6
37999 else
38000 cat >conftest.$ac_ext <<_ACEOF
38001 /* confdefs.h. */
38002 _ACEOF
38003 cat confdefs.h >>conftest.$ac_ext
38004 cat >>conftest.$ac_ext <<_ACEOF
38005 /* end confdefs.h. */
38006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38008 #define $ac_func innocuous_$ac_func
38009
38010 /* System header to define __stub macros and hopefully few prototypes,
38011 which can conflict with char $ac_func (); below.
38012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38013 <limits.h> exists even on freestanding compilers. */
38014
38015 #ifdef __STDC__
38016 # include <limits.h>
38017 #else
38018 # include <assert.h>
38019 #endif
38020
38021 #undef $ac_func
38022
38023 /* Override any GCC internal prototype to avoid an error.
38024 Use char because int might match the return type of a GCC
38025 builtin and then its argument prototype would still apply. */
38026 #ifdef __cplusplus
38027 extern "C"
38028 #endif
38029 char $ac_func ();
38030 /* The GNU C library defines this for functions which it implements
38031 to always fail with ENOSYS. Some functions are actually named
38032 something starting with __ and the normal name is an alias. */
38033 #if defined __stub_$ac_func || defined __stub___$ac_func
38034 choke me
38035 #endif
38036
38037 int
38038 main ()
38039 {
38040 return $ac_func ();
38041 ;
38042 return 0;
38043 }
38044 _ACEOF
38045 rm -f conftest.$ac_objext conftest$ac_exeext
38046 if { (ac_try="$ac_link"
38047 case "(($ac_try" in
38048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38049 *) ac_try_echo=$ac_try;;
38050 esac
38051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38052 (eval "$ac_link") 2>conftest.er1
38053 ac_status=$?
38054 grep -v '^ *+' conftest.er1 >conftest.err
38055 rm -f conftest.er1
38056 cat conftest.err >&5
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); } && {
38059 test -z "$ac_c_werror_flag" ||
38060 test ! -s conftest.err
38061 } && test -s conftest$ac_exeext &&
38062 $as_test_x conftest$ac_exeext; then
38063 eval "$as_ac_var=yes"
38064 else
38065 echo "$as_me: failed program was:" >&5
38066 sed 's/^/| /' conftest.$ac_ext >&5
38067
38068 eval "$as_ac_var=no"
38069 fi
38070
38071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38072 conftest$ac_exeext conftest.$ac_ext
38073 fi
38074 ac_res=`eval echo '${'$as_ac_var'}'`
38075 { echo "$as_me:$LINENO: result: $ac_res" >&5
38076 echo "${ECHO_T}$ac_res" >&6; }
38077 if test `eval echo '${'$as_ac_var'}'` = yes; then
38078 cat >>confdefs.h <<_ACEOF
38079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38080 _ACEOF
38081 cat >>confdefs.h <<\_ACEOF
38082 #define HAVE_INET_ADDR 1
38083 _ACEOF
38084
38085 else
38086
38087 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38088 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38089 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38090 echo $ECHO_N "(cached) $ECHO_C" >&6
38091 else
38092 ac_check_lib_save_LIBS=$LIBS
38093 LIBS="-lnsl $LIBS"
38094 cat >conftest.$ac_ext <<_ACEOF
38095 /* confdefs.h. */
38096 _ACEOF
38097 cat confdefs.h >>conftest.$ac_ext
38098 cat >>conftest.$ac_ext <<_ACEOF
38099 /* end confdefs.h. */
38100
38101 /* Override any GCC internal prototype to avoid an error.
38102 Use char because int might match the return type of a GCC
38103 builtin and then its argument prototype would still apply. */
38104 #ifdef __cplusplus
38105 extern "C"
38106 #endif
38107 char inet_addr ();
38108 int
38109 main ()
38110 {
38111 return inet_addr ();
38112 ;
38113 return 0;
38114 }
38115 _ACEOF
38116 rm -f conftest.$ac_objext conftest$ac_exeext
38117 if { (ac_try="$ac_link"
38118 case "(($ac_try" in
38119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38120 *) ac_try_echo=$ac_try;;
38121 esac
38122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38123 (eval "$ac_link") 2>conftest.er1
38124 ac_status=$?
38125 grep -v '^ *+' conftest.er1 >conftest.err
38126 rm -f conftest.er1
38127 cat conftest.err >&5
38128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38129 (exit $ac_status); } && {
38130 test -z "$ac_c_werror_flag" ||
38131 test ! -s conftest.err
38132 } && test -s conftest$ac_exeext &&
38133 $as_test_x conftest$ac_exeext; then
38134 ac_cv_lib_nsl_inet_addr=yes
38135 else
38136 echo "$as_me: failed program was:" >&5
38137 sed 's/^/| /' conftest.$ac_ext >&5
38138
38139 ac_cv_lib_nsl_inet_addr=no
38140 fi
38141
38142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38143 conftest$ac_exeext conftest.$ac_ext
38144 LIBS=$ac_check_lib_save_LIBS
38145 fi
38146 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38147 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38148 if test $ac_cv_lib_nsl_inet_addr = yes; then
38149 INET_LINK="nsl"
38150 else
38151
38152 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38153 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38154 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38155 echo $ECHO_N "(cached) $ECHO_C" >&6
38156 else
38157 ac_check_lib_save_LIBS=$LIBS
38158 LIBS="-lresolv $LIBS"
38159 cat >conftest.$ac_ext <<_ACEOF
38160 /* confdefs.h. */
38161 _ACEOF
38162 cat confdefs.h >>conftest.$ac_ext
38163 cat >>conftest.$ac_ext <<_ACEOF
38164 /* end confdefs.h. */
38165
38166 /* Override any GCC internal prototype to avoid an error.
38167 Use char because int might match the return type of a GCC
38168 builtin and then its argument prototype would still apply. */
38169 #ifdef __cplusplus
38170 extern "C"
38171 #endif
38172 char inet_addr ();
38173 int
38174 main ()
38175 {
38176 return inet_addr ();
38177 ;
38178 return 0;
38179 }
38180 _ACEOF
38181 rm -f conftest.$ac_objext conftest$ac_exeext
38182 if { (ac_try="$ac_link"
38183 case "(($ac_try" in
38184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38185 *) ac_try_echo=$ac_try;;
38186 esac
38187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38188 (eval "$ac_link") 2>conftest.er1
38189 ac_status=$?
38190 grep -v '^ *+' conftest.er1 >conftest.err
38191 rm -f conftest.er1
38192 cat conftest.err >&5
38193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38194 (exit $ac_status); } && {
38195 test -z "$ac_c_werror_flag" ||
38196 test ! -s conftest.err
38197 } && test -s conftest$ac_exeext &&
38198 $as_test_x conftest$ac_exeext; then
38199 ac_cv_lib_resolv_inet_addr=yes
38200 else
38201 echo "$as_me: failed program was:" >&5
38202 sed 's/^/| /' conftest.$ac_ext >&5
38203
38204 ac_cv_lib_resolv_inet_addr=no
38205 fi
38206
38207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38208 conftest$ac_exeext conftest.$ac_ext
38209 LIBS=$ac_check_lib_save_LIBS
38210 fi
38211 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38212 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38213 if test $ac_cv_lib_resolv_inet_addr = yes; then
38214 INET_LINK="resolv"
38215 else
38216
38217 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38218 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38219 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38220 echo $ECHO_N "(cached) $ECHO_C" >&6
38221 else
38222 ac_check_lib_save_LIBS=$LIBS
38223 LIBS="-lsocket $LIBS"
38224 cat >conftest.$ac_ext <<_ACEOF
38225 /* confdefs.h. */
38226 _ACEOF
38227 cat confdefs.h >>conftest.$ac_ext
38228 cat >>conftest.$ac_ext <<_ACEOF
38229 /* end confdefs.h. */
38230
38231 /* Override any GCC internal prototype to avoid an error.
38232 Use char because int might match the return type of a GCC
38233 builtin and then its argument prototype would still apply. */
38234 #ifdef __cplusplus
38235 extern "C"
38236 #endif
38237 char inet_addr ();
38238 int
38239 main ()
38240 {
38241 return inet_addr ();
38242 ;
38243 return 0;
38244 }
38245 _ACEOF
38246 rm -f conftest.$ac_objext conftest$ac_exeext
38247 if { (ac_try="$ac_link"
38248 case "(($ac_try" in
38249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38250 *) ac_try_echo=$ac_try;;
38251 esac
38252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38253 (eval "$ac_link") 2>conftest.er1
38254 ac_status=$?
38255 grep -v '^ *+' conftest.er1 >conftest.err
38256 rm -f conftest.er1
38257 cat conftest.err >&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); } && {
38260 test -z "$ac_c_werror_flag" ||
38261 test ! -s conftest.err
38262 } && test -s conftest$ac_exeext &&
38263 $as_test_x conftest$ac_exeext; then
38264 ac_cv_lib_socket_inet_addr=yes
38265 else
38266 echo "$as_me: failed program was:" >&5
38267 sed 's/^/| /' conftest.$ac_ext >&5
38268
38269 ac_cv_lib_socket_inet_addr=no
38270 fi
38271
38272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38273 conftest$ac_exeext conftest.$ac_ext
38274 LIBS=$ac_check_lib_save_LIBS
38275 fi
38276 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38277 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38278 if test $ac_cv_lib_socket_inet_addr = yes; then
38279 INET_LINK="socket"
38280
38281 fi
38282
38283
38284
38285 fi
38286
38287
38288
38289 fi
38290
38291
38292
38293 fi
38294 done
38295
38296
38297
38298 for ac_func in inet_aton
38299 do
38300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38301 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38303 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38304 echo $ECHO_N "(cached) $ECHO_C" >&6
38305 else
38306 cat >conftest.$ac_ext <<_ACEOF
38307 /* confdefs.h. */
38308 _ACEOF
38309 cat confdefs.h >>conftest.$ac_ext
38310 cat >>conftest.$ac_ext <<_ACEOF
38311 /* end confdefs.h. */
38312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38314 #define $ac_func innocuous_$ac_func
38315
38316 /* System header to define __stub macros and hopefully few prototypes,
38317 which can conflict with char $ac_func (); below.
38318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38319 <limits.h> exists even on freestanding compilers. */
38320
38321 #ifdef __STDC__
38322 # include <limits.h>
38323 #else
38324 # include <assert.h>
38325 #endif
38326
38327 #undef $ac_func
38328
38329 /* Override any GCC internal prototype to avoid an error.
38330 Use char because int might match the return type of a GCC
38331 builtin and then its argument prototype would still apply. */
38332 #ifdef __cplusplus
38333 extern "C"
38334 #endif
38335 char $ac_func ();
38336 /* The GNU C library defines this for functions which it implements
38337 to always fail with ENOSYS. Some functions are actually named
38338 something starting with __ and the normal name is an alias. */
38339 #if defined __stub_$ac_func || defined __stub___$ac_func
38340 choke me
38341 #endif
38342
38343 int
38344 main ()
38345 {
38346 return $ac_func ();
38347 ;
38348 return 0;
38349 }
38350 _ACEOF
38351 rm -f conftest.$ac_objext conftest$ac_exeext
38352 if { (ac_try="$ac_link"
38353 case "(($ac_try" in
38354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38355 *) ac_try_echo=$ac_try;;
38356 esac
38357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38358 (eval "$ac_link") 2>conftest.er1
38359 ac_status=$?
38360 grep -v '^ *+' conftest.er1 >conftest.err
38361 rm -f conftest.er1
38362 cat conftest.err >&5
38363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38364 (exit $ac_status); } && {
38365 test -z "$ac_c_werror_flag" ||
38366 test ! -s conftest.err
38367 } && test -s conftest$ac_exeext &&
38368 $as_test_x conftest$ac_exeext; then
38369 eval "$as_ac_var=yes"
38370 else
38371 echo "$as_me: failed program was:" >&5
38372 sed 's/^/| /' conftest.$ac_ext >&5
38373
38374 eval "$as_ac_var=no"
38375 fi
38376
38377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38378 conftest$ac_exeext conftest.$ac_ext
38379 fi
38380 ac_res=`eval echo '${'$as_ac_var'}'`
38381 { echo "$as_me:$LINENO: result: $ac_res" >&5
38382 echo "${ECHO_T}$ac_res" >&6; }
38383 if test `eval echo '${'$as_ac_var'}'` = yes; then
38384 cat >>confdefs.h <<_ACEOF
38385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38386 _ACEOF
38387 cat >>confdefs.h <<\_ACEOF
38388 #define HAVE_INET_ATON 1
38389 _ACEOF
38390
38391 else
38392
38393 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38394 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38395 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38396 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38397 echo $ECHO_N "(cached) $ECHO_C" >&6
38398 else
38399 ac_check_lib_save_LIBS=$LIBS
38400 LIBS="-l$INET_LINK $LIBS"
38401 cat >conftest.$ac_ext <<_ACEOF
38402 /* confdefs.h. */
38403 _ACEOF
38404 cat confdefs.h >>conftest.$ac_ext
38405 cat >>conftest.$ac_ext <<_ACEOF
38406 /* end confdefs.h. */
38407
38408 /* Override any GCC internal prototype to avoid an error.
38409 Use char because int might match the return type of a GCC
38410 builtin and then its argument prototype would still apply. */
38411 #ifdef __cplusplus
38412 extern "C"
38413 #endif
38414 char inet_aton ();
38415 int
38416 main ()
38417 {
38418 return inet_aton ();
38419 ;
38420 return 0;
38421 }
38422 _ACEOF
38423 rm -f conftest.$ac_objext conftest$ac_exeext
38424 if { (ac_try="$ac_link"
38425 case "(($ac_try" in
38426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38427 *) ac_try_echo=$ac_try;;
38428 esac
38429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38430 (eval "$ac_link") 2>conftest.er1
38431 ac_status=$?
38432 grep -v '^ *+' conftest.er1 >conftest.err
38433 rm -f conftest.er1
38434 cat conftest.err >&5
38435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38436 (exit $ac_status); } && {
38437 test -z "$ac_c_werror_flag" ||
38438 test ! -s conftest.err
38439 } && test -s conftest$ac_exeext &&
38440 $as_test_x conftest$ac_exeext; then
38441 eval "$as_ac_Lib=yes"
38442 else
38443 echo "$as_me: failed program was:" >&5
38444 sed 's/^/| /' conftest.$ac_ext >&5
38445
38446 eval "$as_ac_Lib=no"
38447 fi
38448
38449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38450 conftest$ac_exeext conftest.$ac_ext
38451 LIBS=$ac_check_lib_save_LIBS
38452 fi
38453 ac_res=`eval echo '${'$as_ac_Lib'}'`
38454 { echo "$as_me:$LINENO: result: $ac_res" >&5
38455 echo "${ECHO_T}$ac_res" >&6; }
38456 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38457 cat >>confdefs.h <<\_ACEOF
38458 #define HAVE_INET_ATON 1
38459 _ACEOF
38460
38461 fi
38462
38463
38464 fi
38465 done
38466
38467
38468 if test "x$INET_LINK" != "x"; then
38469 cat >>confdefs.h <<\_ACEOF
38470 #define HAVE_INET_ADDR 1
38471 _ACEOF
38472
38473 INET_LINK=" -l$INET_LINK"
38474 fi
38475
38476
38477 for wx_func in fdopen
38478 do
38479 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38480 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38481 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38482 echo $ECHO_N "(cached) $ECHO_C" >&6
38483 else
38484
38485 cat >conftest.$ac_ext <<_ACEOF
38486
38487 /* confdefs.h. */
38488 _ACEOF
38489 cat confdefs.h >>conftest.$ac_ext
38490 cat >>conftest.$ac_ext <<_ACEOF
38491 /* end confdefs.h. */
38492
38493
38494 $ac_includes_default
38495
38496 int
38497 main ()
38498 {
38499
38500 #ifndef $wx_func
38501 &$wx_func;
38502 #endif
38503
38504
38505 ;
38506 return 0;
38507 }
38508
38509 _ACEOF
38510 rm -f conftest.$ac_objext conftest$ac_exeext
38511 if { (ac_try="$ac_link"
38512 case "(($ac_try" in
38513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38514 *) ac_try_echo=$ac_try;;
38515 esac
38516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38517 (eval "$ac_link") 2>conftest.er1
38518 ac_status=$?
38519 grep -v '^ *+' conftest.er1 >conftest.err
38520 rm -f conftest.er1
38521 cat conftest.err >&5
38522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38523 (exit $ac_status); } && {
38524 test -z "$ac_c_werror_flag" ||
38525 test ! -s conftest.err
38526 } && test -s conftest$ac_exeext &&
38527 $as_test_x conftest$ac_exeext; then
38528 eval wx_cv_func_$wx_func=yes
38529 else
38530 echo "$as_me: failed program was:" >&5
38531 sed 's/^/| /' conftest.$ac_ext >&5
38532
38533 eval wx_cv_func_$wx_func=no
38534 fi
38535
38536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38537 conftest$ac_exeext conftest.$ac_ext
38538
38539 fi
38540 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38541 { echo "$as_me:$LINENO: result: $ac_res" >&5
38542 echo "${ECHO_T}$ac_res" >&6; }
38543
38544 if eval test \$wx_cv_func_$wx_func = yes
38545 then
38546 cat >>confdefs.h <<_ACEOF
38547 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38548 _ACEOF
38549
38550
38551 else
38552 :
38553
38554 fi
38555 done
38556
38557
38558 if test "$wxUSE_TARSTREAM" = "yes"; then
38559
38560 for wx_func in sysconf
38561 do
38562 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38563 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38564 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38565 echo $ECHO_N "(cached) $ECHO_C" >&6
38566 else
38567
38568 cat >conftest.$ac_ext <<_ACEOF
38569
38570 /* confdefs.h. */
38571 _ACEOF
38572 cat confdefs.h >>conftest.$ac_ext
38573 cat >>conftest.$ac_ext <<_ACEOF
38574 /* end confdefs.h. */
38575
38576
38577 $ac_includes_default
38578
38579 int
38580 main ()
38581 {
38582
38583 #ifndef $wx_func
38584 &$wx_func;
38585 #endif
38586
38587
38588 ;
38589 return 0;
38590 }
38591
38592 _ACEOF
38593 rm -f conftest.$ac_objext conftest$ac_exeext
38594 if { (ac_try="$ac_link"
38595 case "(($ac_try" in
38596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38597 *) ac_try_echo=$ac_try;;
38598 esac
38599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38600 (eval "$ac_link") 2>conftest.er1
38601 ac_status=$?
38602 grep -v '^ *+' conftest.er1 >conftest.err
38603 rm -f conftest.er1
38604 cat conftest.err >&5
38605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38606 (exit $ac_status); } && {
38607 test -z "$ac_c_werror_flag" ||
38608 test ! -s conftest.err
38609 } && test -s conftest$ac_exeext &&
38610 $as_test_x conftest$ac_exeext; then
38611 eval wx_cv_func_$wx_func=yes
38612 else
38613 echo "$as_me: failed program was:" >&5
38614 sed 's/^/| /' conftest.$ac_ext >&5
38615
38616 eval wx_cv_func_$wx_func=no
38617 fi
38618
38619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38620 conftest$ac_exeext conftest.$ac_ext
38621
38622 fi
38623 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38624 { echo "$as_me:$LINENO: result: $ac_res" >&5
38625 echo "${ECHO_T}$ac_res" >&6; }
38626
38627 if eval test \$wx_cv_func_$wx_func = yes
38628 then
38629 cat >>confdefs.h <<_ACEOF
38630 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38631 _ACEOF
38632
38633
38634 else
38635 :
38636
38637 fi
38638 done
38639
38640
38641
38642 for wx_func in getpwuid_r
38643 do
38644 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38645 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38646 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38647 echo $ECHO_N "(cached) $ECHO_C" >&6
38648 else
38649
38650 cat >conftest.$ac_ext <<_ACEOF
38651
38652 /* confdefs.h. */
38653 _ACEOF
38654 cat confdefs.h >>conftest.$ac_ext
38655 cat >>conftest.$ac_ext <<_ACEOF
38656 /* end confdefs.h. */
38657
38658
38659 #define _REENTRANT
38660 #include <pwd.h>
38661
38662 $ac_includes_default
38663
38664 int
38665 main ()
38666 {
38667
38668 #ifndef $wx_func
38669 &$wx_func;
38670 #endif
38671
38672 struct passwd pw, *ppw;
38673 char buf[1024];
38674 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38675
38676
38677 ;
38678 return 0;
38679 }
38680
38681 _ACEOF
38682 rm -f conftest.$ac_objext conftest$ac_exeext
38683 if { (ac_try="$ac_link"
38684 case "(($ac_try" in
38685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38686 *) ac_try_echo=$ac_try;;
38687 esac
38688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38689 (eval "$ac_link") 2>conftest.er1
38690 ac_status=$?
38691 grep -v '^ *+' conftest.er1 >conftest.err
38692 rm -f conftest.er1
38693 cat conftest.err >&5
38694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38695 (exit $ac_status); } && {
38696 test -z "$ac_c_werror_flag" ||
38697 test ! -s conftest.err
38698 } && test -s conftest$ac_exeext &&
38699 $as_test_x conftest$ac_exeext; then
38700 eval wx_cv_func_$wx_func=yes
38701 else
38702 echo "$as_me: failed program was:" >&5
38703 sed 's/^/| /' conftest.$ac_ext >&5
38704
38705 eval wx_cv_func_$wx_func=no
38706 fi
38707
38708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38709 conftest$ac_exeext conftest.$ac_ext
38710
38711 fi
38712 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38713 { echo "$as_me:$LINENO: result: $ac_res" >&5
38714 echo "${ECHO_T}$ac_res" >&6; }
38715
38716 if eval test \$wx_cv_func_$wx_func = yes
38717 then
38718 cat >>confdefs.h <<_ACEOF
38719 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38720 _ACEOF
38721
38722
38723 else
38724 :
38725
38726 fi
38727 done
38728
38729
38730
38731 for wx_func in getgrgid_r
38732 do
38733 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38734 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38735 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38736 echo $ECHO_N "(cached) $ECHO_C" >&6
38737 else
38738
38739 cat >conftest.$ac_ext <<_ACEOF
38740
38741 /* confdefs.h. */
38742 _ACEOF
38743 cat confdefs.h >>conftest.$ac_ext
38744 cat >>conftest.$ac_ext <<_ACEOF
38745 /* end confdefs.h. */
38746
38747
38748 #define _REENTRANT
38749 #include <grp.h>
38750
38751 $ac_includes_default
38752
38753 int
38754 main ()
38755 {
38756
38757 #ifndef $wx_func
38758 &$wx_func;
38759 #endif
38760
38761 struct group grp, *pgrp;
38762 char buf[1024];
38763 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38764
38765
38766 ;
38767 return 0;
38768 }
38769
38770 _ACEOF
38771 rm -f conftest.$ac_objext conftest$ac_exeext
38772 if { (ac_try="$ac_link"
38773 case "(($ac_try" in
38774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38775 *) ac_try_echo=$ac_try;;
38776 esac
38777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38778 (eval "$ac_link") 2>conftest.er1
38779 ac_status=$?
38780 grep -v '^ *+' conftest.er1 >conftest.err
38781 rm -f conftest.er1
38782 cat conftest.err >&5
38783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38784 (exit $ac_status); } && {
38785 test -z "$ac_c_werror_flag" ||
38786 test ! -s conftest.err
38787 } && test -s conftest$ac_exeext &&
38788 $as_test_x conftest$ac_exeext; then
38789 eval wx_cv_func_$wx_func=yes
38790 else
38791 echo "$as_me: failed program was:" >&5
38792 sed 's/^/| /' conftest.$ac_ext >&5
38793
38794 eval wx_cv_func_$wx_func=no
38795 fi
38796
38797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38798 conftest$ac_exeext conftest.$ac_ext
38799
38800 fi
38801 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38802 { echo "$as_me:$LINENO: result: $ac_res" >&5
38803 echo "${ECHO_T}$ac_res" >&6; }
38804
38805 if eval test \$wx_cv_func_$wx_func = yes
38806 then
38807 cat >>confdefs.h <<_ACEOF
38808 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38809 _ACEOF
38810
38811
38812 else
38813 :
38814
38815 fi
38816 done
38817
38818 fi
38819
38820 fi
38821
38822
38823
38824 cat >confcache <<\_ACEOF
38825 # This file is a shell script that caches the results of configure
38826 # tests run on this system so they can be shared between configure
38827 # scripts and configure runs, see configure's option --config-cache.
38828 # It is not useful on other systems. If it contains results you don't
38829 # want to keep, you may remove or edit it.
38830 #
38831 # config.status only pays attention to the cache file if you give it
38832 # the --recheck option to rerun configure.
38833 #
38834 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38835 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38836 # following values.
38837
38838 _ACEOF
38839
38840 # The following way of writing the cache mishandles newlines in values,
38841 # but we know of no workaround that is simple, portable, and efficient.
38842 # So, we kill variables containing newlines.
38843 # Ultrix sh set writes to stderr and can't be redirected directly,
38844 # and sets the high bit in the cache file unless we assign to the vars.
38845 (
38846 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38847 eval ac_val=\$$ac_var
38848 case $ac_val in #(
38849 *${as_nl}*)
38850 case $ac_var in #(
38851 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38852 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38853 esac
38854 case $ac_var in #(
38855 _ | IFS | as_nl) ;; #(
38856 *) $as_unset $ac_var ;;
38857 esac ;;
38858 esac
38859 done
38860
38861 (set) 2>&1 |
38862 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38863 *${as_nl}ac_space=\ *)
38864 # `set' does not quote correctly, so add quotes (double-quote
38865 # substitution turns \\\\ into \\, and sed turns \\ into \).
38866 sed -n \
38867 "s/'/'\\\\''/g;
38868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38869 ;; #(
38870 *)
38871 # `set' quotes correctly as required by POSIX, so do not add quotes.
38872 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38873 ;;
38874 esac |
38875 sort
38876 ) |
38877 sed '
38878 /^ac_cv_env_/b end
38879 t clear
38880 :clear
38881 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38882 t end
38883 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38884 :end' >>confcache
38885 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38886 if test -w "$cache_file"; then
38887 test "x$cache_file" != "x/dev/null" &&
38888 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38889 echo "$as_me: updating cache $cache_file" >&6;}
38890 cat confcache >$cache_file
38891 else
38892 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38893 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38894 fi
38895 fi
38896 rm -f confcache
38897
38898
38899 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38900
38901
38902 THREADS_LINK=
38903 THREADS_CFLAGS=
38904
38905 if test "$wxUSE_THREADS" = "yes" ; then
38906 if test "$USE_BEOS" = 1; then
38907 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38908 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38909 wxUSE_THREADS="no"
38910 fi
38911 fi
38912
38913 if test "$wxUSE_THREADS" = "yes" ; then
38914
38915
38916 THREAD_OPTS="-pthread"
38917 if test "x$SUNCXX" = xyes; then
38918 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38919 fi
38920
38921 case "${host}" in
38922 *-*-solaris2* | *-*-sunos4* )
38923 if test "x$GCC" = "xyes"; then
38924 THREAD_OPTS="-pthreads $THREAD_OPTS"
38925 fi
38926 ;;
38927 *-*-freebsd*)
38928 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38929 ;;
38930 *-*-darwin* | *-*-cygwin* )
38931 THREAD_OPTS=""
38932 ;;
38933 *-*-aix*)
38934 THREAD_OPTS="pthreads"
38935 ;;
38936 *-hp-hpux* )
38937 if test "x$GCC" = "xyes"; then
38938 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38939 THREAD_OPTS=""
38940 else
38941 THREAD_OPTS="-mt"
38942 fi
38943 ;;
38944
38945 *-*-irix* )
38946 if test "x$GCC" = "xyes"; then
38947 THREAD_OPTS=""
38948 fi
38949 ;;
38950
38951 *-*-*UnixWare*)
38952 if test "x$GCC" != "xyes"; then
38953 THREAD_OPTS="-Ethread"
38954 fi
38955 ;;
38956 esac
38957
38958 THREAD_OPTS="$THREAD_OPTS pthread none"
38959
38960 THREADS_OK=no
38961 for flag in $THREAD_OPTS; do
38962 case $flag in
38963 none)
38964 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38965 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38966 ;;
38967
38968 -*)
38969 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38970 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38971 THREADS_CFLAGS="$flag"
38972 ;;
38973
38974 *)
38975 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38976 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38977 THREADS_LINK="-l$flag"
38978 ;;
38979 esac
38980
38981 save_LIBS="$LIBS"
38982 save_CFLAGS="$CFLAGS"
38983 LIBS="$THREADS_LINK $LIBS"
38984 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38985
38986 cat >conftest.$ac_ext <<_ACEOF
38987 /* confdefs.h. */
38988 _ACEOF
38989 cat confdefs.h >>conftest.$ac_ext
38990 cat >>conftest.$ac_ext <<_ACEOF
38991 /* end confdefs.h. */
38992 #include <pthread.h>
38993 int
38994 main ()
38995 {
38996 pthread_create(0,0,0,0);
38997 ;
38998 return 0;
38999 }
39000 _ACEOF
39001 rm -f conftest.$ac_objext conftest$ac_exeext
39002 if { (ac_try="$ac_link"
39003 case "(($ac_try" in
39004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39005 *) ac_try_echo=$ac_try;;
39006 esac
39007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39008 (eval "$ac_link") 2>conftest.er1
39009 ac_status=$?
39010 grep -v '^ *+' conftest.er1 >conftest.err
39011 rm -f conftest.er1
39012 cat conftest.err >&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); } && {
39015 test -z "$ac_c_werror_flag" ||
39016 test ! -s conftest.err
39017 } && test -s conftest$ac_exeext &&
39018 $as_test_x conftest$ac_exeext; then
39019 THREADS_OK=yes
39020 else
39021 echo "$as_me: failed program was:" >&5
39022 sed 's/^/| /' conftest.$ac_ext >&5
39023
39024
39025 fi
39026
39027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39028 conftest$ac_exeext conftest.$ac_ext
39029
39030 LIBS="$save_LIBS"
39031 CFLAGS="$save_CFLAGS"
39032
39033 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39034 echo "${ECHO_T}$THREADS_OK" >&6; }
39035 if test "x$THREADS_OK" = "xyes"; then
39036 break;
39037 fi
39038
39039 THREADS_LINK=""
39040 THREADS_CFLAGS=""
39041 done
39042
39043 if test "x$THREADS_OK" != "xyes"; then
39044 wxUSE_THREADS=no
39045 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39046 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39047 else
39048 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39049 LIBS="$THREADS_LINK $LIBS"
39050
39051 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39052 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39053 flag=no
39054 case "${host}" in
39055 *-aix*)
39056 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39057 flag="-D_THREAD_SAFE"
39058 ;;
39059 *-freebsd*)
39060 flag="-D_THREAD_SAFE"
39061 ;;
39062 *-hp-hpux* )
39063 flag="-D_REENTRANT"
39064 if test "x$GCC" != "xyes"; then
39065 flag="$flag -D_RWSTD_MULTI_THREAD"
39066 fi
39067 ;;
39068 *solaris* | alpha*-osf*)
39069 flag="-D_REENTRANT"
39070 ;;
39071 esac
39072 { echo "$as_me:$LINENO: result: ${flag}" >&5
39073 echo "${ECHO_T}${flag}" >&6; }
39074 if test "x$flag" != xno; then
39075 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39076 fi
39077
39078 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39079 fi
39080 fi
39081
39082 if test "$wxUSE_THREADS" = "yes" ; then
39083
39084 for ac_func in thr_setconcurrency
39085 do
39086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39087 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39089 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39090 echo $ECHO_N "(cached) $ECHO_C" >&6
39091 else
39092 cat >conftest.$ac_ext <<_ACEOF
39093 /* confdefs.h. */
39094 _ACEOF
39095 cat confdefs.h >>conftest.$ac_ext
39096 cat >>conftest.$ac_ext <<_ACEOF
39097 /* end confdefs.h. */
39098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39100 #define $ac_func innocuous_$ac_func
39101
39102 /* System header to define __stub macros and hopefully few prototypes,
39103 which can conflict with char $ac_func (); below.
39104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39105 <limits.h> exists even on freestanding compilers. */
39106
39107 #ifdef __STDC__
39108 # include <limits.h>
39109 #else
39110 # include <assert.h>
39111 #endif
39112
39113 #undef $ac_func
39114
39115 /* Override any GCC internal prototype to avoid an error.
39116 Use char because int might match the return type of a GCC
39117 builtin and then its argument prototype would still apply. */
39118 #ifdef __cplusplus
39119 extern "C"
39120 #endif
39121 char $ac_func ();
39122 /* The GNU C library defines this for functions which it implements
39123 to always fail with ENOSYS. Some functions are actually named
39124 something starting with __ and the normal name is an alias. */
39125 #if defined __stub_$ac_func || defined __stub___$ac_func
39126 choke me
39127 #endif
39128
39129 int
39130 main ()
39131 {
39132 return $ac_func ();
39133 ;
39134 return 0;
39135 }
39136 _ACEOF
39137 rm -f conftest.$ac_objext conftest$ac_exeext
39138 if { (ac_try="$ac_link"
39139 case "(($ac_try" in
39140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39141 *) ac_try_echo=$ac_try;;
39142 esac
39143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39144 (eval "$ac_link") 2>conftest.er1
39145 ac_status=$?
39146 grep -v '^ *+' conftest.er1 >conftest.err
39147 rm -f conftest.er1
39148 cat conftest.err >&5
39149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39150 (exit $ac_status); } && {
39151 test -z "$ac_c_werror_flag" ||
39152 test ! -s conftest.err
39153 } && test -s conftest$ac_exeext &&
39154 $as_test_x conftest$ac_exeext; then
39155 eval "$as_ac_var=yes"
39156 else
39157 echo "$as_me: failed program was:" >&5
39158 sed 's/^/| /' conftest.$ac_ext >&5
39159
39160 eval "$as_ac_var=no"
39161 fi
39162
39163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39164 conftest$ac_exeext conftest.$ac_ext
39165 fi
39166 ac_res=`eval echo '${'$as_ac_var'}'`
39167 { echo "$as_me:$LINENO: result: $ac_res" >&5
39168 echo "${ECHO_T}$ac_res" >&6; }
39169 if test `eval echo '${'$as_ac_var'}'` = yes; then
39170 cat >>confdefs.h <<_ACEOF
39171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39172 _ACEOF
39173
39174 fi
39175 done
39176
39177
39178 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39179 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39180 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39181 echo $ECHO_N "(cached) $ECHO_C" >&6
39182 else
39183
39184 ac_ext=cpp
39185 ac_cpp='$CXXCPP $CPPFLAGS'
39186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39189
39190 cat >conftest.$ac_ext <<_ACEOF
39191 /* confdefs.h. */
39192 _ACEOF
39193 cat confdefs.h >>conftest.$ac_ext
39194 cat >>conftest.$ac_ext <<_ACEOF
39195 /* end confdefs.h. */
39196 #include <pthread.h>
39197 void ThreadCleanupFunc(void *p);
39198
39199 int
39200 main ()
39201 {
39202
39203 void *p;
39204 pthread_cleanup_push(ThreadCleanupFunc, p);
39205 pthread_cleanup_pop(0);
39206
39207 ;
39208 return 0;
39209 }
39210 _ACEOF
39211 rm -f conftest.$ac_objext
39212 if { (ac_try="$ac_compile"
39213 case "(($ac_try" in
39214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39215 *) ac_try_echo=$ac_try;;
39216 esac
39217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39218 (eval "$ac_compile") 2>conftest.er1
39219 ac_status=$?
39220 grep -v '^ *+' conftest.er1 >conftest.err
39221 rm -f conftest.er1
39222 cat conftest.err >&5
39223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39224 (exit $ac_status); } && {
39225 test -z "$ac_cxx_werror_flag" ||
39226 test ! -s conftest.err
39227 } && test -s conftest.$ac_objext; then
39228
39229 wx_cv_func_pthread_cleanup=yes
39230
39231 else
39232 echo "$as_me: failed program was:" >&5
39233 sed 's/^/| /' conftest.$ac_ext >&5
39234
39235
39236 wx_cv_func_pthread_cleanup=no
39237
39238
39239 fi
39240
39241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39242 ac_ext=c
39243 ac_cpp='$CPP $CPPFLAGS'
39244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39247
39248
39249 fi
39250 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39251 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39252 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39253 cat >>confdefs.h <<\_ACEOF
39254 #define wxHAVE_PTHREAD_CLEANUP 1
39255 _ACEOF
39256
39257 fi
39258
39259
39260 for ac_header in sched.h
39261 do
39262 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39263 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39265 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39266 echo $ECHO_N "(cached) $ECHO_C" >&6
39267 else
39268 cat >conftest.$ac_ext <<_ACEOF
39269 /* confdefs.h. */
39270 _ACEOF
39271 cat confdefs.h >>conftest.$ac_ext
39272 cat >>conftest.$ac_ext <<_ACEOF
39273 /* end confdefs.h. */
39274 $ac_includes_default
39275
39276 #include <$ac_header>
39277 _ACEOF
39278 rm -f conftest.$ac_objext
39279 if { (ac_try="$ac_compile"
39280 case "(($ac_try" in
39281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39282 *) ac_try_echo=$ac_try;;
39283 esac
39284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39285 (eval "$ac_compile") 2>conftest.er1
39286 ac_status=$?
39287 grep -v '^ *+' conftest.er1 >conftest.err
39288 rm -f conftest.er1
39289 cat conftest.err >&5
39290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39291 (exit $ac_status); } && {
39292 test -z "$ac_c_werror_flag" ||
39293 test ! -s conftest.err
39294 } && test -s conftest.$ac_objext; then
39295 eval "$as_ac_Header=yes"
39296 else
39297 echo "$as_me: failed program was:" >&5
39298 sed 's/^/| /' conftest.$ac_ext >&5
39299
39300 eval "$as_ac_Header=no"
39301 fi
39302
39303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39304 fi
39305 ac_res=`eval echo '${'$as_ac_Header'}'`
39306 { echo "$as_me:$LINENO: result: $ac_res" >&5
39307 echo "${ECHO_T}$ac_res" >&6; }
39308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39309 cat >>confdefs.h <<_ACEOF
39310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39311 _ACEOF
39312
39313 fi
39314
39315 done
39316
39317 if test "$ac_cv_header_sched_h" = "yes"; then
39318 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39319 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39320 if test "${ac_cv_func_sched_yield+set}" = set; then
39321 echo $ECHO_N "(cached) $ECHO_C" >&6
39322 else
39323 cat >conftest.$ac_ext <<_ACEOF
39324 /* confdefs.h. */
39325 _ACEOF
39326 cat confdefs.h >>conftest.$ac_ext
39327 cat >>conftest.$ac_ext <<_ACEOF
39328 /* end confdefs.h. */
39329 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39331 #define sched_yield innocuous_sched_yield
39332
39333 /* System header to define __stub macros and hopefully few prototypes,
39334 which can conflict with char sched_yield (); below.
39335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39336 <limits.h> exists even on freestanding compilers. */
39337
39338 #ifdef __STDC__
39339 # include <limits.h>
39340 #else
39341 # include <assert.h>
39342 #endif
39343
39344 #undef sched_yield
39345
39346 /* Override any GCC internal prototype to avoid an error.
39347 Use char because int might match the return type of a GCC
39348 builtin and then its argument prototype would still apply. */
39349 #ifdef __cplusplus
39350 extern "C"
39351 #endif
39352 char sched_yield ();
39353 /* The GNU C library defines this for functions which it implements
39354 to always fail with ENOSYS. Some functions are actually named
39355 something starting with __ and the normal name is an alias. */
39356 #if defined __stub_sched_yield || defined __stub___sched_yield
39357 choke me
39358 #endif
39359
39360 int
39361 main ()
39362 {
39363 return sched_yield ();
39364 ;
39365 return 0;
39366 }
39367 _ACEOF
39368 rm -f conftest.$ac_objext conftest$ac_exeext
39369 if { (ac_try="$ac_link"
39370 case "(($ac_try" in
39371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39372 *) ac_try_echo=$ac_try;;
39373 esac
39374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39375 (eval "$ac_link") 2>conftest.er1
39376 ac_status=$?
39377 grep -v '^ *+' conftest.er1 >conftest.err
39378 rm -f conftest.er1
39379 cat conftest.err >&5
39380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39381 (exit $ac_status); } && {
39382 test -z "$ac_c_werror_flag" ||
39383 test ! -s conftest.err
39384 } && test -s conftest$ac_exeext &&
39385 $as_test_x conftest$ac_exeext; then
39386 ac_cv_func_sched_yield=yes
39387 else
39388 echo "$as_me: failed program was:" >&5
39389 sed 's/^/| /' conftest.$ac_ext >&5
39390
39391 ac_cv_func_sched_yield=no
39392 fi
39393
39394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39395 conftest$ac_exeext conftest.$ac_ext
39396 fi
39397 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39398 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39399 if test $ac_cv_func_sched_yield = yes; then
39400 cat >>confdefs.h <<\_ACEOF
39401 #define HAVE_SCHED_YIELD 1
39402 _ACEOF
39403
39404 else
39405
39406 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39407 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39408 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39409 echo $ECHO_N "(cached) $ECHO_C" >&6
39410 else
39411 ac_check_lib_save_LIBS=$LIBS
39412 LIBS="-lposix4 $LIBS"
39413 cat >conftest.$ac_ext <<_ACEOF
39414 /* confdefs.h. */
39415 _ACEOF
39416 cat confdefs.h >>conftest.$ac_ext
39417 cat >>conftest.$ac_ext <<_ACEOF
39418 /* end confdefs.h. */
39419
39420 /* Override any GCC internal prototype to avoid an error.
39421 Use char because int might match the return type of a GCC
39422 builtin and then its argument prototype would still apply. */
39423 #ifdef __cplusplus
39424 extern "C"
39425 #endif
39426 char sched_yield ();
39427 int
39428 main ()
39429 {
39430 return sched_yield ();
39431 ;
39432 return 0;
39433 }
39434 _ACEOF
39435 rm -f conftest.$ac_objext conftest$ac_exeext
39436 if { (ac_try="$ac_link"
39437 case "(($ac_try" in
39438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39439 *) ac_try_echo=$ac_try;;
39440 esac
39441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39442 (eval "$ac_link") 2>conftest.er1
39443 ac_status=$?
39444 grep -v '^ *+' conftest.er1 >conftest.err
39445 rm -f conftest.er1
39446 cat conftest.err >&5
39447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39448 (exit $ac_status); } && {
39449 test -z "$ac_c_werror_flag" ||
39450 test ! -s conftest.err
39451 } && test -s conftest$ac_exeext &&
39452 $as_test_x conftest$ac_exeext; then
39453 ac_cv_lib_posix4_sched_yield=yes
39454 else
39455 echo "$as_me: failed program was:" >&5
39456 sed 's/^/| /' conftest.$ac_ext >&5
39457
39458 ac_cv_lib_posix4_sched_yield=no
39459 fi
39460
39461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39462 conftest$ac_exeext conftest.$ac_ext
39463 LIBS=$ac_check_lib_save_LIBS
39464 fi
39465 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39466 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39467 if test $ac_cv_lib_posix4_sched_yield = yes; then
39468 cat >>confdefs.h <<\_ACEOF
39469 #define HAVE_SCHED_YIELD 1
39470 _ACEOF
39471 POSIX4_LINK=" -lposix4"
39472 else
39473 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39474 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39475
39476 fi
39477
39478
39479
39480 fi
39481
39482 fi
39483
39484 HAVE_PRIOR_FUNCS=0
39485 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39486 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39487 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39488 echo $ECHO_N "(cached) $ECHO_C" >&6
39489 else
39490 cat >conftest.$ac_ext <<_ACEOF
39491 /* confdefs.h. */
39492 _ACEOF
39493 cat confdefs.h >>conftest.$ac_ext
39494 cat >>conftest.$ac_ext <<_ACEOF
39495 /* end confdefs.h. */
39496 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39498 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39499
39500 /* System header to define __stub macros and hopefully few prototypes,
39501 which can conflict with char pthread_attr_getschedpolicy (); below.
39502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39503 <limits.h> exists even on freestanding compilers. */
39504
39505 #ifdef __STDC__
39506 # include <limits.h>
39507 #else
39508 # include <assert.h>
39509 #endif
39510
39511 #undef pthread_attr_getschedpolicy
39512
39513 /* Override any GCC internal prototype to avoid an error.
39514 Use char because int might match the return type of a GCC
39515 builtin and then its argument prototype would still apply. */
39516 #ifdef __cplusplus
39517 extern "C"
39518 #endif
39519 char pthread_attr_getschedpolicy ();
39520 /* The GNU C library defines this for functions which it implements
39521 to always fail with ENOSYS. Some functions are actually named
39522 something starting with __ and the normal name is an alias. */
39523 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39524 choke me
39525 #endif
39526
39527 int
39528 main ()
39529 {
39530 return pthread_attr_getschedpolicy ();
39531 ;
39532 return 0;
39533 }
39534 _ACEOF
39535 rm -f conftest.$ac_objext conftest$ac_exeext
39536 if { (ac_try="$ac_link"
39537 case "(($ac_try" in
39538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39539 *) ac_try_echo=$ac_try;;
39540 esac
39541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39542 (eval "$ac_link") 2>conftest.er1
39543 ac_status=$?
39544 grep -v '^ *+' conftest.er1 >conftest.err
39545 rm -f conftest.er1
39546 cat conftest.err >&5
39547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39548 (exit $ac_status); } && {
39549 test -z "$ac_c_werror_flag" ||
39550 test ! -s conftest.err
39551 } && test -s conftest$ac_exeext &&
39552 $as_test_x conftest$ac_exeext; then
39553 ac_cv_func_pthread_attr_getschedpolicy=yes
39554 else
39555 echo "$as_me: failed program was:" >&5
39556 sed 's/^/| /' conftest.$ac_ext >&5
39557
39558 ac_cv_func_pthread_attr_getschedpolicy=no
39559 fi
39560
39561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39562 conftest$ac_exeext conftest.$ac_ext
39563 fi
39564 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39565 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39566 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39567 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39568 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39569 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39570 echo $ECHO_N "(cached) $ECHO_C" >&6
39571 else
39572 cat >conftest.$ac_ext <<_ACEOF
39573 /* confdefs.h. */
39574 _ACEOF
39575 cat confdefs.h >>conftest.$ac_ext
39576 cat >>conftest.$ac_ext <<_ACEOF
39577 /* end confdefs.h. */
39578 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39580 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39581
39582 /* System header to define __stub macros and hopefully few prototypes,
39583 which can conflict with char pthread_attr_setschedparam (); below.
39584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39585 <limits.h> exists even on freestanding compilers. */
39586
39587 #ifdef __STDC__
39588 # include <limits.h>
39589 #else
39590 # include <assert.h>
39591 #endif
39592
39593 #undef pthread_attr_setschedparam
39594
39595 /* Override any GCC internal prototype to avoid an error.
39596 Use char because int might match the return type of a GCC
39597 builtin and then its argument prototype would still apply. */
39598 #ifdef __cplusplus
39599 extern "C"
39600 #endif
39601 char pthread_attr_setschedparam ();
39602 /* The GNU C library defines this for functions which it implements
39603 to always fail with ENOSYS. Some functions are actually named
39604 something starting with __ and the normal name is an alias. */
39605 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39606 choke me
39607 #endif
39608
39609 int
39610 main ()
39611 {
39612 return pthread_attr_setschedparam ();
39613 ;
39614 return 0;
39615 }
39616 _ACEOF
39617 rm -f conftest.$ac_objext conftest$ac_exeext
39618 if { (ac_try="$ac_link"
39619 case "(($ac_try" in
39620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39621 *) ac_try_echo=$ac_try;;
39622 esac
39623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39624 (eval "$ac_link") 2>conftest.er1
39625 ac_status=$?
39626 grep -v '^ *+' conftest.er1 >conftest.err
39627 rm -f conftest.er1
39628 cat conftest.err >&5
39629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39630 (exit $ac_status); } && {
39631 test -z "$ac_c_werror_flag" ||
39632 test ! -s conftest.err
39633 } && test -s conftest$ac_exeext &&
39634 $as_test_x conftest$ac_exeext; then
39635 ac_cv_func_pthread_attr_setschedparam=yes
39636 else
39637 echo "$as_me: failed program was:" >&5
39638 sed 's/^/| /' conftest.$ac_ext >&5
39639
39640 ac_cv_func_pthread_attr_setschedparam=no
39641 fi
39642
39643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39644 conftest$ac_exeext conftest.$ac_ext
39645 fi
39646 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39647 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39648 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39649 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39650 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39651 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39652 echo $ECHO_N "(cached) $ECHO_C" >&6
39653 else
39654 cat >conftest.$ac_ext <<_ACEOF
39655 /* confdefs.h. */
39656 _ACEOF
39657 cat confdefs.h >>conftest.$ac_ext
39658 cat >>conftest.$ac_ext <<_ACEOF
39659 /* end confdefs.h. */
39660 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39662 #define sched_get_priority_max innocuous_sched_get_priority_max
39663
39664 /* System header to define __stub macros and hopefully few prototypes,
39665 which can conflict with char sched_get_priority_max (); below.
39666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39667 <limits.h> exists even on freestanding compilers. */
39668
39669 #ifdef __STDC__
39670 # include <limits.h>
39671 #else
39672 # include <assert.h>
39673 #endif
39674
39675 #undef sched_get_priority_max
39676
39677 /* Override any GCC internal prototype to avoid an error.
39678 Use char because int might match the return type of a GCC
39679 builtin and then its argument prototype would still apply. */
39680 #ifdef __cplusplus
39681 extern "C"
39682 #endif
39683 char sched_get_priority_max ();
39684 /* The GNU C library defines this for functions which it implements
39685 to always fail with ENOSYS. Some functions are actually named
39686 something starting with __ and the normal name is an alias. */
39687 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39688 choke me
39689 #endif
39690
39691 int
39692 main ()
39693 {
39694 return sched_get_priority_max ();
39695 ;
39696 return 0;
39697 }
39698 _ACEOF
39699 rm -f conftest.$ac_objext conftest$ac_exeext
39700 if { (ac_try="$ac_link"
39701 case "(($ac_try" in
39702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39703 *) ac_try_echo=$ac_try;;
39704 esac
39705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39706 (eval "$ac_link") 2>conftest.er1
39707 ac_status=$?
39708 grep -v '^ *+' conftest.er1 >conftest.err
39709 rm -f conftest.er1
39710 cat conftest.err >&5
39711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39712 (exit $ac_status); } && {
39713 test -z "$ac_c_werror_flag" ||
39714 test ! -s conftest.err
39715 } && test -s conftest$ac_exeext &&
39716 $as_test_x conftest$ac_exeext; then
39717 ac_cv_func_sched_get_priority_max=yes
39718 else
39719 echo "$as_me: failed program was:" >&5
39720 sed 's/^/| /' conftest.$ac_ext >&5
39721
39722 ac_cv_func_sched_get_priority_max=no
39723 fi
39724
39725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39726 conftest$ac_exeext conftest.$ac_ext
39727 fi
39728 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39729 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39730 if test $ac_cv_func_sched_get_priority_max = yes; then
39731 HAVE_PRIOR_FUNCS=1
39732 else
39733 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39734 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39735 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39736 echo $ECHO_N "(cached) $ECHO_C" >&6
39737 else
39738 ac_check_lib_save_LIBS=$LIBS
39739 LIBS="-lposix4 $LIBS"
39740 cat >conftest.$ac_ext <<_ACEOF
39741 /* confdefs.h. */
39742 _ACEOF
39743 cat confdefs.h >>conftest.$ac_ext
39744 cat >>conftest.$ac_ext <<_ACEOF
39745 /* end confdefs.h. */
39746
39747 /* Override any GCC internal prototype to avoid an error.
39748 Use char because int might match the return type of a GCC
39749 builtin and then its argument prototype would still apply. */
39750 #ifdef __cplusplus
39751 extern "C"
39752 #endif
39753 char sched_get_priority_max ();
39754 int
39755 main ()
39756 {
39757 return sched_get_priority_max ();
39758 ;
39759 return 0;
39760 }
39761 _ACEOF
39762 rm -f conftest.$ac_objext conftest$ac_exeext
39763 if { (ac_try="$ac_link"
39764 case "(($ac_try" in
39765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39766 *) ac_try_echo=$ac_try;;
39767 esac
39768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39769 (eval "$ac_link") 2>conftest.er1
39770 ac_status=$?
39771 grep -v '^ *+' conftest.er1 >conftest.err
39772 rm -f conftest.er1
39773 cat conftest.err >&5
39774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39775 (exit $ac_status); } && {
39776 test -z "$ac_c_werror_flag" ||
39777 test ! -s conftest.err
39778 } && test -s conftest$ac_exeext &&
39779 $as_test_x conftest$ac_exeext; then
39780 ac_cv_lib_posix4_sched_get_priority_max=yes
39781 else
39782 echo "$as_me: failed program was:" >&5
39783 sed 's/^/| /' conftest.$ac_ext >&5
39784
39785 ac_cv_lib_posix4_sched_get_priority_max=no
39786 fi
39787
39788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39789 conftest$ac_exeext conftest.$ac_ext
39790 LIBS=$ac_check_lib_save_LIBS
39791 fi
39792 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39793 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39794 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39795
39796 HAVE_PRIOR_FUNCS=1
39797 POSIX4_LINK=" -lposix4"
39798
39799 fi
39800
39801
39802 fi
39803
39804
39805 fi
39806
39807
39808 fi
39809
39810
39811 if test "$HAVE_PRIOR_FUNCS" = 1; then
39812 cat >>confdefs.h <<\_ACEOF
39813 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39814 _ACEOF
39815
39816 else
39817 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39818 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39819 fi
39820
39821 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39822 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39823 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39824 echo $ECHO_N "(cached) $ECHO_C" >&6
39825 else
39826 cat >conftest.$ac_ext <<_ACEOF
39827 /* confdefs.h. */
39828 _ACEOF
39829 cat confdefs.h >>conftest.$ac_ext
39830 cat >>conftest.$ac_ext <<_ACEOF
39831 /* end confdefs.h. */
39832 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39834 #define pthread_cancel innocuous_pthread_cancel
39835
39836 /* System header to define __stub macros and hopefully few prototypes,
39837 which can conflict with char pthread_cancel (); below.
39838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39839 <limits.h> exists even on freestanding compilers. */
39840
39841 #ifdef __STDC__
39842 # include <limits.h>
39843 #else
39844 # include <assert.h>
39845 #endif
39846
39847 #undef pthread_cancel
39848
39849 /* Override any GCC internal prototype to avoid an error.
39850 Use char because int might match the return type of a GCC
39851 builtin and then its argument prototype would still apply. */
39852 #ifdef __cplusplus
39853 extern "C"
39854 #endif
39855 char pthread_cancel ();
39856 /* The GNU C library defines this for functions which it implements
39857 to always fail with ENOSYS. Some functions are actually named
39858 something starting with __ and the normal name is an alias. */
39859 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39860 choke me
39861 #endif
39862
39863 int
39864 main ()
39865 {
39866 return pthread_cancel ();
39867 ;
39868 return 0;
39869 }
39870 _ACEOF
39871 rm -f conftest.$ac_objext conftest$ac_exeext
39872 if { (ac_try="$ac_link"
39873 case "(($ac_try" in
39874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39875 *) ac_try_echo=$ac_try;;
39876 esac
39877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39878 (eval "$ac_link") 2>conftest.er1
39879 ac_status=$?
39880 grep -v '^ *+' conftest.er1 >conftest.err
39881 rm -f conftest.er1
39882 cat conftest.err >&5
39883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39884 (exit $ac_status); } && {
39885 test -z "$ac_c_werror_flag" ||
39886 test ! -s conftest.err
39887 } && test -s conftest$ac_exeext &&
39888 $as_test_x conftest$ac_exeext; then
39889 ac_cv_func_pthread_cancel=yes
39890 else
39891 echo "$as_me: failed program was:" >&5
39892 sed 's/^/| /' conftest.$ac_ext >&5
39893
39894 ac_cv_func_pthread_cancel=no
39895 fi
39896
39897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39898 conftest$ac_exeext conftest.$ac_ext
39899 fi
39900 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39901 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39902 if test $ac_cv_func_pthread_cancel = yes; then
39903 cat >>confdefs.h <<\_ACEOF
39904 #define HAVE_PTHREAD_CANCEL 1
39905 _ACEOF
39906
39907 else
39908 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39909 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39910 fi
39911
39912
39913 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39914 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39915 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39916 echo $ECHO_N "(cached) $ECHO_C" >&6
39917 else
39918 cat >conftest.$ac_ext <<_ACEOF
39919 /* confdefs.h. */
39920 _ACEOF
39921 cat confdefs.h >>conftest.$ac_ext
39922 cat >>conftest.$ac_ext <<_ACEOF
39923 /* end confdefs.h. */
39924 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39926 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39927
39928 /* System header to define __stub macros and hopefully few prototypes,
39929 which can conflict with char pthread_mutex_timedlock (); below.
39930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39931 <limits.h> exists even on freestanding compilers. */
39932
39933 #ifdef __STDC__
39934 # include <limits.h>
39935 #else
39936 # include <assert.h>
39937 #endif
39938
39939 #undef pthread_mutex_timedlock
39940
39941 /* Override any GCC internal prototype to avoid an error.
39942 Use char because int might match the return type of a GCC
39943 builtin and then its argument prototype would still apply. */
39944 #ifdef __cplusplus
39945 extern "C"
39946 #endif
39947 char pthread_mutex_timedlock ();
39948 /* The GNU C library defines this for functions which it implements
39949 to always fail with ENOSYS. Some functions are actually named
39950 something starting with __ and the normal name is an alias. */
39951 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39952 choke me
39953 #endif
39954
39955 int
39956 main ()
39957 {
39958 return pthread_mutex_timedlock ();
39959 ;
39960 return 0;
39961 }
39962 _ACEOF
39963 rm -f conftest.$ac_objext conftest$ac_exeext
39964 if { (ac_try="$ac_link"
39965 case "(($ac_try" in
39966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39967 *) ac_try_echo=$ac_try;;
39968 esac
39969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39970 (eval "$ac_link") 2>conftest.er1
39971 ac_status=$?
39972 grep -v '^ *+' conftest.er1 >conftest.err
39973 rm -f conftest.er1
39974 cat conftest.err >&5
39975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39976 (exit $ac_status); } && {
39977 test -z "$ac_c_werror_flag" ||
39978 test ! -s conftest.err
39979 } && test -s conftest$ac_exeext &&
39980 $as_test_x conftest$ac_exeext; then
39981 ac_cv_func_pthread_mutex_timedlock=yes
39982 else
39983 echo "$as_me: failed program was:" >&5
39984 sed 's/^/| /' conftest.$ac_ext >&5
39985
39986 ac_cv_func_pthread_mutex_timedlock=no
39987 fi
39988
39989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39990 conftest$ac_exeext conftest.$ac_ext
39991 fi
39992 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39993 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39994 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39995 cat >>confdefs.h <<\_ACEOF
39996 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39997 _ACEOF
39998
39999 else
40000 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40001 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40002 fi
40003
40004
40005 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40006 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40007 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40008 echo $ECHO_N "(cached) $ECHO_C" >&6
40009 else
40010 cat >conftest.$ac_ext <<_ACEOF
40011 /* confdefs.h. */
40012 _ACEOF
40013 cat confdefs.h >>conftest.$ac_ext
40014 cat >>conftest.$ac_ext <<_ACEOF
40015 /* end confdefs.h. */
40016 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40018 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40019
40020 /* System header to define __stub macros and hopefully few prototypes,
40021 which can conflict with char pthread_attr_setstacksize (); below.
40022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40023 <limits.h> exists even on freestanding compilers. */
40024
40025 #ifdef __STDC__
40026 # include <limits.h>
40027 #else
40028 # include <assert.h>
40029 #endif
40030
40031 #undef pthread_attr_setstacksize
40032
40033 /* Override any GCC internal prototype to avoid an error.
40034 Use char because int might match the return type of a GCC
40035 builtin and then its argument prototype would still apply. */
40036 #ifdef __cplusplus
40037 extern "C"
40038 #endif
40039 char pthread_attr_setstacksize ();
40040 /* The GNU C library defines this for functions which it implements
40041 to always fail with ENOSYS. Some functions are actually named
40042 something starting with __ and the normal name is an alias. */
40043 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40044 choke me
40045 #endif
40046
40047 int
40048 main ()
40049 {
40050 return pthread_attr_setstacksize ();
40051 ;
40052 return 0;
40053 }
40054 _ACEOF
40055 rm -f conftest.$ac_objext conftest$ac_exeext
40056 if { (ac_try="$ac_link"
40057 case "(($ac_try" in
40058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40059 *) ac_try_echo=$ac_try;;
40060 esac
40061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40062 (eval "$ac_link") 2>conftest.er1
40063 ac_status=$?
40064 grep -v '^ *+' conftest.er1 >conftest.err
40065 rm -f conftest.er1
40066 cat conftest.err >&5
40067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40068 (exit $ac_status); } && {
40069 test -z "$ac_c_werror_flag" ||
40070 test ! -s conftest.err
40071 } && test -s conftest$ac_exeext &&
40072 $as_test_x conftest$ac_exeext; then
40073 ac_cv_func_pthread_attr_setstacksize=yes
40074 else
40075 echo "$as_me: failed program was:" >&5
40076 sed 's/^/| /' conftest.$ac_ext >&5
40077
40078 ac_cv_func_pthread_attr_setstacksize=no
40079 fi
40080
40081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40082 conftest$ac_exeext conftest.$ac_ext
40083 fi
40084 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40085 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40086 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40087 cat >>confdefs.h <<\_ACEOF
40088 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40089 _ACEOF
40090
40091 fi
40092
40093
40094
40095 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40096 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40097 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40098 echo $ECHO_N "(cached) $ECHO_C" >&6
40099 else
40100
40101 cat >conftest.$ac_ext <<_ACEOF
40102 /* confdefs.h. */
40103 _ACEOF
40104 cat confdefs.h >>conftest.$ac_ext
40105 cat >>conftest.$ac_ext <<_ACEOF
40106 /* end confdefs.h. */
40107 #include <pthread.h>
40108 int
40109 main ()
40110 {
40111
40112 pthread_mutexattr_t attr;
40113 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40114
40115 ;
40116 return 0;
40117 }
40118 _ACEOF
40119 rm -f conftest.$ac_objext
40120 if { (ac_try="$ac_compile"
40121 case "(($ac_try" in
40122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40123 *) ac_try_echo=$ac_try;;
40124 esac
40125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40126 (eval "$ac_compile") 2>conftest.er1
40127 ac_status=$?
40128 grep -v '^ *+' conftest.er1 >conftest.err
40129 rm -f conftest.er1
40130 cat conftest.err >&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); } && {
40133 test -z "$ac_c_werror_flag" ||
40134 test ! -s conftest.err
40135 } && test -s conftest.$ac_objext; then
40136 wx_cv_type_pthread_mutexattr_t=yes
40137 else
40138 echo "$as_me: failed program was:" >&5
40139 sed 's/^/| /' conftest.$ac_ext >&5
40140
40141 wx_cv_type_pthread_mutexattr_t=no
40142
40143 fi
40144
40145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40146
40147 fi
40148 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40149 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40150
40151 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40152 cat >>confdefs.h <<\_ACEOF
40153 #define HAVE_PTHREAD_MUTEXATTR_T 1
40154 _ACEOF
40155
40156
40157 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40158 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40159 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40160 echo $ECHO_N "(cached) $ECHO_C" >&6
40161 else
40162
40163 cat >conftest.$ac_ext <<_ACEOF
40164 /* confdefs.h. */
40165 _ACEOF
40166 cat confdefs.h >>conftest.$ac_ext
40167 cat >>conftest.$ac_ext <<_ACEOF
40168 /* end confdefs.h. */
40169 #include <pthread.h>
40170 int
40171 main ()
40172 {
40173
40174 pthread_mutexattr_t attr;
40175 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
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 wx_cv_func_pthread_mutexattr_settype_decl=yes
40199 else
40200 echo "$as_me: failed program was:" >&5
40201 sed 's/^/| /' conftest.$ac_ext >&5
40202
40203 wx_cv_func_pthread_mutexattr_settype_decl=no
40204
40205 fi
40206
40207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40208
40209 fi
40210 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40211 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40212 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40213 cat >>confdefs.h <<\_ACEOF
40214 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40215 _ACEOF
40216
40217 fi
40218 else
40219 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40220 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40221 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40222 echo $ECHO_N "(cached) $ECHO_C" >&6
40223 else
40224
40225 cat >conftest.$ac_ext <<_ACEOF
40226 /* confdefs.h. */
40227 _ACEOF
40228 cat confdefs.h >>conftest.$ac_ext
40229 cat >>conftest.$ac_ext <<_ACEOF
40230 /* end confdefs.h. */
40231 #include <pthread.h>
40232 int
40233 main ()
40234 {
40235
40236 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40237
40238 ;
40239 return 0;
40240 }
40241 _ACEOF
40242 rm -f conftest.$ac_objext
40243 if { (ac_try="$ac_compile"
40244 case "(($ac_try" in
40245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40246 *) ac_try_echo=$ac_try;;
40247 esac
40248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40249 (eval "$ac_compile") 2>conftest.er1
40250 ac_status=$?
40251 grep -v '^ *+' conftest.er1 >conftest.err
40252 rm -f conftest.er1
40253 cat conftest.err >&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); } && {
40256 test -z "$ac_c_werror_flag" ||
40257 test ! -s conftest.err
40258 } && test -s conftest.$ac_objext; then
40259
40260 wx_cv_type_pthread_rec_mutex_init=yes
40261
40262 else
40263 echo "$as_me: failed program was:" >&5
40264 sed 's/^/| /' conftest.$ac_ext >&5
40265
40266
40267 wx_cv_type_pthread_rec_mutex_init=no
40268
40269
40270 fi
40271
40272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40273
40274 fi
40275 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40276 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40277 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40278 cat >>confdefs.h <<\_ACEOF
40279 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40280 _ACEOF
40281
40282 else
40283 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40284 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40285 fi
40286 fi
40287
40288 if test "$wxUSE_COMPILER_TLS" = "auto"; then
40289 if test "$USE_NETBSD" = 1; then
40290 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
40291 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
40292 wxUSE_COMPILER_TLS=no
40293 else
40294 wxUSE_COMPILER_TLS=yes
40295 fi
40296 fi
40297
40298 if test "$wxUSE_COMPILER_TLS" = "yes"; then
40299 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40300 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40301 if test "${wx_cv_cc___thread+set}" = set; then
40302 echo $ECHO_N "(cached) $ECHO_C" >&6
40303 else
40304
40305 cat >conftest.$ac_ext <<_ACEOF
40306 /* confdefs.h. */
40307 _ACEOF
40308 cat confdefs.h >>conftest.$ac_ext
40309 cat >>conftest.$ac_ext <<_ACEOF
40310 /* end confdefs.h. */
40311 #include <pthread.h>
40312 int
40313 main ()
40314 {
40315
40316 static __thread int n = 0;
40317 static __thread int *p = 0;
40318
40319 ;
40320 return 0;
40321 }
40322 _ACEOF
40323 rm -f conftest.$ac_objext
40324 if { (ac_try="$ac_compile"
40325 case "(($ac_try" in
40326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40327 *) ac_try_echo=$ac_try;;
40328 esac
40329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40330 (eval "$ac_compile") 2>conftest.er1
40331 ac_status=$?
40332 grep -v '^ *+' conftest.er1 >conftest.err
40333 rm -f conftest.er1
40334 cat conftest.err >&5
40335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40336 (exit $ac_status); } && {
40337 test -z "$ac_c_werror_flag" ||
40338 test ! -s conftest.err
40339 } && test -s conftest.$ac_objext; then
40340 wx_cv_cc___thread=yes
40341 else
40342 echo "$as_me: failed program was:" >&5
40343 sed 's/^/| /' conftest.$ac_ext >&5
40344
40345 wx_cv_cc___thread=no
40346
40347 fi
40348
40349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40350
40351
40352 fi
40353 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40354 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40355
40356 if test "$wx_cv_cc___thread" = "yes"; then
40357
40358 GXX_VERSION=""
40359
40360
40361
40362 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40363 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40364
40365 if test "x$GCC" = "xyes" ; then
40366
40367 if test -z "" ; then
40368
40369 ax_gcc_option_test="int main()
40370 {
40371 return 0;
40372 }"
40373
40374 else
40375
40376 ax_gcc_option_test=""
40377
40378 fi
40379
40380
40381 # Dump the test program to file
40382 cat <<EOF > conftest.c
40383 $ax_gcc_option_test
40384 EOF
40385
40386 # Dump back the file to the log, useful for debugging purposes
40387 { ac_try='cat conftest.c 1>&5'
40388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40389 (eval $ac_try) 2>&5
40390 ac_status=$?
40391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40392 (exit $ac_status); }; }
40393
40394 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40396 (eval $ac_try) 2>&5
40397 ac_status=$?
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); }; } ; then
40400
40401 { echo "$as_me:$LINENO: result: yes" >&5
40402 echo "${ECHO_T}yes" >&6; }
40403
40404 ax_gcc_version_option=yes
40405
40406
40407 else
40408
40409 { echo "$as_me:$LINENO: result: no" >&5
40410 echo "${ECHO_T}no" >&6; }
40411
40412 ax_gcc_version_option=no
40413
40414
40415 fi
40416
40417
40418 else
40419
40420 { echo "$as_me:$LINENO: result: no gcc available" >&5
40421 echo "${ECHO_T}no gcc available" >&6; }
40422
40423 fi
40424
40425
40426 if test "x$GXX" = "xyes"; then
40427
40428 if test "x$ax_gxx_version_option" != "no"; then
40429
40430 { echo "$as_me:$LINENO: checking gxx version" >&5
40431 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40432 if test "${ax_cv_gxx_version+set}" = set; then
40433 echo $ECHO_N "(cached) $ECHO_C" >&6
40434 else
40435
40436 ax_cv_gxx_version="`$CXX -dumpversion`"
40437 if test "x$ax_cv_gxx_version" = "x"; then
40438
40439 ax_cv_gxx_version=""
40440
40441 fi
40442
40443
40444 fi
40445 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40446 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40447 GXX_VERSION=$ax_cv_gxx_version
40448
40449 fi
40450
40451
40452 fi
40453
40454
40455
40456 if test -n "$ax_cv_gxx_version"; then
40457 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40458 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40459 case "$ax_cv_gxx_version" in
40460 1.* | 2.* | 3.* )
40461 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40462 echo "${ECHO_T}no, it's broken" >&6; }
40463 wx_cv_cc___thread=no
40464 ;;
40465 *)
40466 { echo "$as_me:$LINENO: result: yes, it works" >&5
40467 echo "${ECHO_T}yes, it works" >&6; }
40468 ;;
40469 esac
40470 fi
40471 fi
40472
40473 if test "$wx_cv_cc___thread" = "yes"; then
40474 cat >>confdefs.h <<\_ACEOF
40475 #define HAVE___THREAD_KEYWORD 1
40476 _ACEOF
40477
40478 fi
40479 fi
40480 fi
40481
40482 else
40483 if test "$wxUSE_THREADS" = "yes" ; then
40484 case "${host}" in
40485 x86_64-*-mingw32* )
40486 ;;
40487 *-*-mingw32* )
40488 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40489 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40490 if test "${wx_cv_cflags_mthread+set}" = set; then
40491 echo $ECHO_N "(cached) $ECHO_C" >&6
40492 else
40493
40494 CFLAGS_OLD="$CFLAGS"
40495 CFLAGS="-mthreads $CFLAGS"
40496 cat >conftest.$ac_ext <<_ACEOF
40497 /* confdefs.h. */
40498 _ACEOF
40499 cat confdefs.h >>conftest.$ac_ext
40500 cat >>conftest.$ac_ext <<_ACEOF
40501 /* end confdefs.h. */
40502
40503 int
40504 main ()
40505 {
40506
40507 ;
40508 return 0;
40509 }
40510 _ACEOF
40511 rm -f conftest.$ac_objext
40512 if { (ac_try="$ac_compile"
40513 case "(($ac_try" in
40514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40515 *) ac_try_echo=$ac_try;;
40516 esac
40517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40518 (eval "$ac_compile") 2>conftest.er1
40519 ac_status=$?
40520 grep -v '^ *+' conftest.er1 >conftest.err
40521 rm -f conftest.er1
40522 cat conftest.err >&5
40523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40524 (exit $ac_status); } && {
40525 test -z "$ac_c_werror_flag" ||
40526 test ! -s conftest.err
40527 } && test -s conftest.$ac_objext; then
40528 wx_cv_cflags_mthread=yes
40529 else
40530 echo "$as_me: failed program was:" >&5
40531 sed 's/^/| /' conftest.$ac_ext >&5
40532
40533 wx_cv_cflags_mthread=no
40534
40535 fi
40536
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538
40539
40540 fi
40541 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40542 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40543
40544 if test "$wx_cv_cflags_mthread" = "yes"; then
40545 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40546 LDFLAGS="$LDFLAGS -mthreads"
40547 else
40548 CFLAGS="$CFLAGS_OLD"
40549 fi
40550 ;;
40551 *-pc-os2*emx )
40552 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40553 LDFLAGS="$LDFLAGS -Zmt"
40554 ;;
40555 esac
40556 fi
40557 fi
40558
40559 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40560 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40561 if test "${ac_cv_func_localtime_r+set}" = set; then
40562 echo $ECHO_N "(cached) $ECHO_C" >&6
40563 else
40564 cat >conftest.$ac_ext <<_ACEOF
40565 /* confdefs.h. */
40566 _ACEOF
40567 cat confdefs.h >>conftest.$ac_ext
40568 cat >>conftest.$ac_ext <<_ACEOF
40569 /* end confdefs.h. */
40570 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40572 #define localtime_r innocuous_localtime_r
40573
40574 /* System header to define __stub macros and hopefully few prototypes,
40575 which can conflict with char localtime_r (); below.
40576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40577 <limits.h> exists even on freestanding compilers. */
40578
40579 #ifdef __STDC__
40580 # include <limits.h>
40581 #else
40582 # include <assert.h>
40583 #endif
40584
40585 #undef localtime_r
40586
40587 /* Override any GCC internal prototype to avoid an error.
40588 Use char because int might match the return type of a GCC
40589 builtin and then its argument prototype would still apply. */
40590 #ifdef __cplusplus
40591 extern "C"
40592 #endif
40593 char localtime_r ();
40594 /* The GNU C library defines this for functions which it implements
40595 to always fail with ENOSYS. Some functions are actually named
40596 something starting with __ and the normal name is an alias. */
40597 #if defined __stub_localtime_r || defined __stub___localtime_r
40598 choke me
40599 #endif
40600
40601 int
40602 main ()
40603 {
40604 return localtime_r ();
40605 ;
40606 return 0;
40607 }
40608 _ACEOF
40609 rm -f conftest.$ac_objext conftest$ac_exeext
40610 if { (ac_try="$ac_link"
40611 case "(($ac_try" in
40612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40613 *) ac_try_echo=$ac_try;;
40614 esac
40615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40616 (eval "$ac_link") 2>conftest.er1
40617 ac_status=$?
40618 grep -v '^ *+' conftest.er1 >conftest.err
40619 rm -f conftest.er1
40620 cat conftest.err >&5
40621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40622 (exit $ac_status); } && {
40623 test -z "$ac_c_werror_flag" ||
40624 test ! -s conftest.err
40625 } && test -s conftest$ac_exeext &&
40626 $as_test_x conftest$ac_exeext; then
40627 ac_cv_func_localtime_r=yes
40628 else
40629 echo "$as_me: failed program was:" >&5
40630 sed 's/^/| /' conftest.$ac_ext >&5
40631
40632 ac_cv_func_localtime_r=no
40633 fi
40634
40635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40636 conftest$ac_exeext conftest.$ac_ext
40637 fi
40638 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40639 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40640 if test $ac_cv_func_localtime_r = yes; then
40641 cat >>confdefs.h <<\_ACEOF
40642 #define HAVE_LOCALTIME_R 1
40643 _ACEOF
40644
40645 fi
40646
40647 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40648 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40649 if test "${ac_cv_func_gmtime_r+set}" = set; then
40650 echo $ECHO_N "(cached) $ECHO_C" >&6
40651 else
40652 cat >conftest.$ac_ext <<_ACEOF
40653 /* confdefs.h. */
40654 _ACEOF
40655 cat confdefs.h >>conftest.$ac_ext
40656 cat >>conftest.$ac_ext <<_ACEOF
40657 /* end confdefs.h. */
40658 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40660 #define gmtime_r innocuous_gmtime_r
40661
40662 /* System header to define __stub macros and hopefully few prototypes,
40663 which can conflict with char gmtime_r (); below.
40664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40665 <limits.h> exists even on freestanding compilers. */
40666
40667 #ifdef __STDC__
40668 # include <limits.h>
40669 #else
40670 # include <assert.h>
40671 #endif
40672
40673 #undef gmtime_r
40674
40675 /* Override any GCC internal prototype to avoid an error.
40676 Use char because int might match the return type of a GCC
40677 builtin and then its argument prototype would still apply. */
40678 #ifdef __cplusplus
40679 extern "C"
40680 #endif
40681 char gmtime_r ();
40682 /* The GNU C library defines this for functions which it implements
40683 to always fail with ENOSYS. Some functions are actually named
40684 something starting with __ and the normal name is an alias. */
40685 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40686 choke me
40687 #endif
40688
40689 int
40690 main ()
40691 {
40692 return gmtime_r ();
40693 ;
40694 return 0;
40695 }
40696 _ACEOF
40697 rm -f conftest.$ac_objext conftest$ac_exeext
40698 if { (ac_try="$ac_link"
40699 case "(($ac_try" in
40700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40701 *) ac_try_echo=$ac_try;;
40702 esac
40703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40704 (eval "$ac_link") 2>conftest.er1
40705 ac_status=$?
40706 grep -v '^ *+' conftest.er1 >conftest.err
40707 rm -f conftest.er1
40708 cat conftest.err >&5
40709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40710 (exit $ac_status); } && {
40711 test -z "$ac_c_werror_flag" ||
40712 test ! -s conftest.err
40713 } && test -s conftest$ac_exeext &&
40714 $as_test_x conftest$ac_exeext; then
40715 ac_cv_func_gmtime_r=yes
40716 else
40717 echo "$as_me: failed program was:" >&5
40718 sed 's/^/| /' conftest.$ac_ext >&5
40719
40720 ac_cv_func_gmtime_r=no
40721 fi
40722
40723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40724 conftest$ac_exeext conftest.$ac_ext
40725 fi
40726 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40727 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40728 if test $ac_cv_func_gmtime_r = yes; then
40729 cat >>confdefs.h <<\_ACEOF
40730 #define HAVE_GMTIME_R 1
40731 _ACEOF
40732
40733 fi
40734
40735
40736
40737
40738 ac_ext=c
40739 ac_cpp='$CPP $CPPFLAGS'
40740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40743
40744 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40745 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40746
40747 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40748 echo $ECHO_N "(cached) $ECHO_C" >&6
40749 else
40750
40751
40752 ################################################################
40753
40754 ac_cv_func_which_gethostbyname_r=unknown
40755
40756 #
40757 # ONE ARGUMENT (sanity check)
40758 #
40759
40760 # This should fail, as there is no variant of gethostbyname_r() that takes
40761 # a single argument. If it actually compiles, then we can assume that
40762 # netdb.h is not declaring the function, and the compiler is thereby
40763 # assuming an implicit prototype. In which case, we're out of luck.
40764 #
40765 cat >conftest.$ac_ext <<_ACEOF
40766 /* confdefs.h. */
40767 _ACEOF
40768 cat confdefs.h >>conftest.$ac_ext
40769 cat >>conftest.$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40771 #include <netdb.h>
40772 int
40773 main ()
40774 {
40775
40776 char *name = "www.gnu.org";
40777 (void)gethostbyname_r(name) /* ; */
40778
40779 ;
40780 return 0;
40781 }
40782 _ACEOF
40783 rm -f conftest.$ac_objext
40784 if { (ac_try="$ac_compile"
40785 case "(($ac_try" in
40786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40787 *) ac_try_echo=$ac_try;;
40788 esac
40789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40790 (eval "$ac_compile") 2>conftest.er1
40791 ac_status=$?
40792 grep -v '^ *+' conftest.er1 >conftest.err
40793 rm -f conftest.er1
40794 cat conftest.err >&5
40795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40796 (exit $ac_status); } && {
40797 test -z "$ac_c_werror_flag" ||
40798 test ! -s conftest.err
40799 } && test -s conftest.$ac_objext; then
40800 ac_cv_func_which_gethostbyname_r=no
40801 else
40802 echo "$as_me: failed program was:" >&5
40803 sed 's/^/| /' conftest.$ac_ext >&5
40804
40805
40806 fi
40807
40808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40809
40810 #
40811 # SIX ARGUMENTS
40812 # (e.g. Linux)
40813 #
40814
40815 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40816
40817 cat >conftest.$ac_ext <<_ACEOF
40818 /* confdefs.h. */
40819 _ACEOF
40820 cat confdefs.h >>conftest.$ac_ext
40821 cat >>conftest.$ac_ext <<_ACEOF
40822 /* end confdefs.h. */
40823 #include <netdb.h>
40824 int
40825 main ()
40826 {
40827
40828 char *name = "www.gnu.org";
40829 struct hostent ret, *retp;
40830 char buf[1024];
40831 int buflen = 1024;
40832 int my_h_errno;
40833 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40834
40835 ;
40836 return 0;
40837 }
40838 _ACEOF
40839 rm -f conftest.$ac_objext
40840 if { (ac_try="$ac_compile"
40841 case "(($ac_try" in
40842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40843 *) ac_try_echo=$ac_try;;
40844 esac
40845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40846 (eval "$ac_compile") 2>conftest.er1
40847 ac_status=$?
40848 grep -v '^ *+' conftest.er1 >conftest.err
40849 rm -f conftest.er1
40850 cat conftest.err >&5
40851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40852 (exit $ac_status); } && {
40853 test -z "$ac_c_werror_flag" ||
40854 test ! -s conftest.err
40855 } && test -s conftest.$ac_objext; then
40856 ac_cv_func_which_gethostbyname_r=six
40857 else
40858 echo "$as_me: failed program was:" >&5
40859 sed 's/^/| /' conftest.$ac_ext >&5
40860
40861
40862 fi
40863
40864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40865
40866 fi
40867
40868 #
40869 # FIVE ARGUMENTS
40870 # (e.g. Solaris)
40871 #
40872
40873 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40874
40875 cat >conftest.$ac_ext <<_ACEOF
40876 /* confdefs.h. */
40877 _ACEOF
40878 cat confdefs.h >>conftest.$ac_ext
40879 cat >>conftest.$ac_ext <<_ACEOF
40880 /* end confdefs.h. */
40881 #include <netdb.h>
40882 int
40883 main ()
40884 {
40885
40886 char *name = "www.gnu.org";
40887 struct hostent ret;
40888 char buf[1024];
40889 int buflen = 1024;
40890 int my_h_errno;
40891 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40892
40893 ;
40894 return 0;
40895 }
40896 _ACEOF
40897 rm -f conftest.$ac_objext
40898 if { (ac_try="$ac_compile"
40899 case "(($ac_try" in
40900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40901 *) ac_try_echo=$ac_try;;
40902 esac
40903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40904 (eval "$ac_compile") 2>conftest.er1
40905 ac_status=$?
40906 grep -v '^ *+' conftest.er1 >conftest.err
40907 rm -f conftest.er1
40908 cat conftest.err >&5
40909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40910 (exit $ac_status); } && {
40911 test -z "$ac_c_werror_flag" ||
40912 test ! -s conftest.err
40913 } && test -s conftest.$ac_objext; then
40914 ac_cv_func_which_gethostbyname_r=five
40915 else
40916 echo "$as_me: failed program was:" >&5
40917 sed 's/^/| /' conftest.$ac_ext >&5
40918
40919
40920 fi
40921
40922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40923
40924 fi
40925
40926 #
40927 # THREE ARGUMENTS
40928 # (e.g. AIX, HP-UX, Tru64)
40929 #
40930
40931 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40932
40933 cat >conftest.$ac_ext <<_ACEOF
40934 /* confdefs.h. */
40935 _ACEOF
40936 cat confdefs.h >>conftest.$ac_ext
40937 cat >>conftest.$ac_ext <<_ACEOF
40938 /* end confdefs.h. */
40939 #include <netdb.h>
40940 int
40941 main ()
40942 {
40943
40944 char *name = "www.gnu.org";
40945 struct hostent ret;
40946 struct hostent_data data;
40947 (void)gethostbyname_r(name, &ret, &data) /* ; */
40948
40949 ;
40950 return 0;
40951 }
40952 _ACEOF
40953 rm -f conftest.$ac_objext
40954 if { (ac_try="$ac_compile"
40955 case "(($ac_try" in
40956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40957 *) ac_try_echo=$ac_try;;
40958 esac
40959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40960 (eval "$ac_compile") 2>conftest.er1
40961 ac_status=$?
40962 grep -v '^ *+' conftest.er1 >conftest.err
40963 rm -f conftest.er1
40964 cat conftest.err >&5
40965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40966 (exit $ac_status); } && {
40967 test -z "$ac_c_werror_flag" ||
40968 test ! -s conftest.err
40969 } && test -s conftest.$ac_objext; then
40970 ac_cv_func_which_gethostbyname_r=three
40971 else
40972 echo "$as_me: failed program was:" >&5
40973 sed 's/^/| /' conftest.$ac_ext >&5
40974
40975
40976 fi
40977
40978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40979
40980 fi
40981
40982 ################################################################
40983
40984
40985 fi
40986
40987 case "$ac_cv_func_which_gethostbyname_r" in
40988 three)
40989 { echo "$as_me:$LINENO: result: three" >&5
40990 echo "${ECHO_T}three" >&6; }
40991 cat >>confdefs.h <<\_ACEOF
40992 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40993 _ACEOF
40994
40995 ;;
40996
40997 five)
40998 { echo "$as_me:$LINENO: result: five" >&5
40999 echo "${ECHO_T}five" >&6; }
41000 cat >>confdefs.h <<\_ACEOF
41001 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41002 _ACEOF
41003
41004 ;;
41005
41006 six)
41007 { echo "$as_me:$LINENO: result: six" >&5
41008 echo "${ECHO_T}six" >&6; }
41009 cat >>confdefs.h <<\_ACEOF
41010 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41011 _ACEOF
41012
41013 ;;
41014
41015 no)
41016 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41017 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41018 ;;
41019
41020 unknown)
41021 { echo "$as_me:$LINENO: result: can't tell" >&5
41022 echo "${ECHO_T}can't tell" >&6; }
41023 ;;
41024
41025 *)
41026 { { echo "$as_me:$LINENO: error: internal error" >&5
41027 echo "$as_me: error: internal error" >&2;}
41028 { (exit 1); exit 1; }; }
41029 ;;
41030 esac
41031
41032 ac_ext=c
41033 ac_cpp='$CPP $CPPFLAGS'
41034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41037
41038
41039
41040 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41041 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41042 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41043 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41044 if test "${ac_cv_func_gethostbyname+set}" = set; then
41045 echo $ECHO_N "(cached) $ECHO_C" >&6
41046 else
41047 cat >conftest.$ac_ext <<_ACEOF
41048 /* confdefs.h. */
41049 _ACEOF
41050 cat confdefs.h >>conftest.$ac_ext
41051 cat >>conftest.$ac_ext <<_ACEOF
41052 /* end confdefs.h. */
41053 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41055 #define gethostbyname innocuous_gethostbyname
41056
41057 /* System header to define __stub macros and hopefully few prototypes,
41058 which can conflict with char gethostbyname (); below.
41059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41060 <limits.h> exists even on freestanding compilers. */
41061
41062 #ifdef __STDC__
41063 # include <limits.h>
41064 #else
41065 # include <assert.h>
41066 #endif
41067
41068 #undef gethostbyname
41069
41070 /* Override any GCC internal prototype to avoid an error.
41071 Use char because int might match the return type of a GCC
41072 builtin and then its argument prototype would still apply. */
41073 #ifdef __cplusplus
41074 extern "C"
41075 #endif
41076 char gethostbyname ();
41077 /* The GNU C library defines this for functions which it implements
41078 to always fail with ENOSYS. Some functions are actually named
41079 something starting with __ and the normal name is an alias. */
41080 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41081 choke me
41082 #endif
41083
41084 int
41085 main ()
41086 {
41087 return gethostbyname ();
41088 ;
41089 return 0;
41090 }
41091 _ACEOF
41092 rm -f conftest.$ac_objext conftest$ac_exeext
41093 if { (ac_try="$ac_link"
41094 case "(($ac_try" in
41095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41096 *) ac_try_echo=$ac_try;;
41097 esac
41098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41099 (eval "$ac_link") 2>conftest.er1
41100 ac_status=$?
41101 grep -v '^ *+' conftest.er1 >conftest.err
41102 rm -f conftest.er1
41103 cat conftest.err >&5
41104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41105 (exit $ac_status); } && {
41106 test -z "$ac_c_werror_flag" ||
41107 test ! -s conftest.err
41108 } && test -s conftest$ac_exeext &&
41109 $as_test_x conftest$ac_exeext; then
41110 ac_cv_func_gethostbyname=yes
41111 else
41112 echo "$as_me: failed program was:" >&5
41113 sed 's/^/| /' conftest.$ac_ext >&5
41114
41115 ac_cv_func_gethostbyname=no
41116 fi
41117
41118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41119 conftest$ac_exeext conftest.$ac_ext
41120 fi
41121 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41122 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41123 if test $ac_cv_func_gethostbyname = yes; then
41124 cat >>confdefs.h <<\_ACEOF
41125 #define HAVE_GETHOSTBYNAME 1
41126 _ACEOF
41127
41128 fi
41129
41130 fi
41131
41132 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41133 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41134 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41135 echo $ECHO_N "(cached) $ECHO_C" >&6
41136 else
41137
41138 ac_ext=cpp
41139 ac_cpp='$CXXCPP $CPPFLAGS'
41140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41143
41144
41145 cat >conftest.$ac_ext <<_ACEOF
41146 /* confdefs.h. */
41147 _ACEOF
41148 cat confdefs.h >>conftest.$ac_ext
41149 cat >>conftest.$ac_ext <<_ACEOF
41150 /* end confdefs.h. */
41151 #include <netdb.h>
41152 int
41153 main ()
41154 {
41155
41156 char *name;
41157 char *proto;
41158 struct servent *se, *res;
41159 char buffer[2048];
41160 int buflen = 2048;
41161 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41162
41163 ;
41164 return 0;
41165 }
41166 _ACEOF
41167 rm -f conftest.$ac_objext
41168 if { (ac_try="$ac_compile"
41169 case "(($ac_try" in
41170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41171 *) ac_try_echo=$ac_try;;
41172 esac
41173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41174 (eval "$ac_compile") 2>conftest.er1
41175 ac_status=$?
41176 grep -v '^ *+' conftest.er1 >conftest.err
41177 rm -f conftest.er1
41178 cat conftest.err >&5
41179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41180 (exit $ac_status); } && {
41181 test -z "$ac_cxx_werror_flag" ||
41182 test ! -s conftest.err
41183 } && test -s conftest.$ac_objext; then
41184 ac_cv_func_which_getservbyname_r=six
41185 else
41186 echo "$as_me: failed program was:" >&5
41187 sed 's/^/| /' conftest.$ac_ext >&5
41188
41189
41190 cat >conftest.$ac_ext <<_ACEOF
41191 /* confdefs.h. */
41192 _ACEOF
41193 cat confdefs.h >>conftest.$ac_ext
41194 cat >>conftest.$ac_ext <<_ACEOF
41195 /* end confdefs.h. */
41196 #include <netdb.h>
41197 int
41198 main ()
41199 {
41200
41201 char *name;
41202 char *proto;
41203 struct servent *se;
41204 char buffer[2048];
41205 int buflen = 2048;
41206 (void) getservbyname_r(name, proto, se, buffer, buflen)
41207
41208 ;
41209 return 0;
41210 }
41211 _ACEOF
41212 rm -f conftest.$ac_objext
41213 if { (ac_try="$ac_compile"
41214 case "(($ac_try" in
41215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41216 *) ac_try_echo=$ac_try;;
41217 esac
41218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41219 (eval "$ac_compile") 2>conftest.er1
41220 ac_status=$?
41221 grep -v '^ *+' conftest.er1 >conftest.err
41222 rm -f conftest.er1
41223 cat conftest.err >&5
41224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41225 (exit $ac_status); } && {
41226 test -z "$ac_cxx_werror_flag" ||
41227 test ! -s conftest.err
41228 } && test -s conftest.$ac_objext; then
41229 ac_cv_func_which_getservbyname_r=five
41230 else
41231 echo "$as_me: failed program was:" >&5
41232 sed 's/^/| /' conftest.$ac_ext >&5
41233
41234
41235 cat >conftest.$ac_ext <<_ACEOF
41236 /* confdefs.h. */
41237 _ACEOF
41238 cat confdefs.h >>conftest.$ac_ext
41239 cat >>conftest.$ac_ext <<_ACEOF
41240 /* end confdefs.h. */
41241 #include <netdb.h>
41242 int
41243 main ()
41244 {
41245
41246 char *name;
41247 char *proto;
41248 struct servent *se;
41249 struct servent_data data;
41250 (void) getservbyname_r(name, proto, se, &data);
41251
41252 ;
41253 return 0;
41254 }
41255 _ACEOF
41256 rm -f conftest.$ac_objext
41257 if { (ac_try="$ac_compile"
41258 case "(($ac_try" in
41259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41260 *) ac_try_echo=$ac_try;;
41261 esac
41262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41263 (eval "$ac_compile") 2>conftest.er1
41264 ac_status=$?
41265 grep -v '^ *+' conftest.er1 >conftest.err
41266 rm -f conftest.er1
41267 cat conftest.err >&5
41268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41269 (exit $ac_status); } && {
41270 test -z "$ac_cxx_werror_flag" ||
41271 test ! -s conftest.err
41272 } && test -s conftest.$ac_objext; then
41273 ac_cv_func_which_getservbyname_r=four
41274 else
41275 echo "$as_me: failed program was:" >&5
41276 sed 's/^/| /' conftest.$ac_ext >&5
41277
41278 ac_cv_func_which_getservbyname_r=no
41279
41280 fi
41281
41282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41283
41284
41285 fi
41286
41287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41288
41289
41290 fi
41291
41292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41293 ac_ext=c
41294 ac_cpp='$CPP $CPPFLAGS'
41295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41298
41299
41300
41301 fi
41302 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41303 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41304
41305 if test $ac_cv_func_which_getservbyname_r = six; then
41306 cat >>confdefs.h <<\_ACEOF
41307 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41308 _ACEOF
41309
41310 elif test $ac_cv_func_which_getservbyname_r = five; then
41311 cat >>confdefs.h <<\_ACEOF
41312 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41313 _ACEOF
41314
41315 elif test $ac_cv_func_which_getservbyname_r = four; then
41316 cat >>confdefs.h <<\_ACEOF
41317 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41318 _ACEOF
41319
41320 fi
41321
41322
41323 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41324 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41325
41326 for ac_func in getservbyname
41327 do
41328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41329 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41331 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41332 echo $ECHO_N "(cached) $ECHO_C" >&6
41333 else
41334 cat >conftest.$ac_ext <<_ACEOF
41335 /* confdefs.h. */
41336 _ACEOF
41337 cat confdefs.h >>conftest.$ac_ext
41338 cat >>conftest.$ac_ext <<_ACEOF
41339 /* end confdefs.h. */
41340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41342 #define $ac_func innocuous_$ac_func
41343
41344 /* System header to define __stub macros and hopefully few prototypes,
41345 which can conflict with char $ac_func (); below.
41346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41347 <limits.h> exists even on freestanding compilers. */
41348
41349 #ifdef __STDC__
41350 # include <limits.h>
41351 #else
41352 # include <assert.h>
41353 #endif
41354
41355 #undef $ac_func
41356
41357 /* Override any GCC internal prototype to avoid an error.
41358 Use char because int might match the return type of a GCC
41359 builtin and then its argument prototype would still apply. */
41360 #ifdef __cplusplus
41361 extern "C"
41362 #endif
41363 char $ac_func ();
41364 /* The GNU C library defines this for functions which it implements
41365 to always fail with ENOSYS. Some functions are actually named
41366 something starting with __ and the normal name is an alias. */
41367 #if defined __stub_$ac_func || defined __stub___$ac_func
41368 choke me
41369 #endif
41370
41371 int
41372 main ()
41373 {
41374 return $ac_func ();
41375 ;
41376 return 0;
41377 }
41378 _ACEOF
41379 rm -f conftest.$ac_objext conftest$ac_exeext
41380 if { (ac_try="$ac_link"
41381 case "(($ac_try" in
41382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41383 *) ac_try_echo=$ac_try;;
41384 esac
41385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41386 (eval "$ac_link") 2>conftest.er1
41387 ac_status=$?
41388 grep -v '^ *+' conftest.er1 >conftest.err
41389 rm -f conftest.er1
41390 cat conftest.err >&5
41391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41392 (exit $ac_status); } && {
41393 test -z "$ac_c_werror_flag" ||
41394 test ! -s conftest.err
41395 } && test -s conftest$ac_exeext &&
41396 $as_test_x conftest$ac_exeext; then
41397 eval "$as_ac_var=yes"
41398 else
41399 echo "$as_me: failed program was:" >&5
41400 sed 's/^/| /' conftest.$ac_ext >&5
41401
41402 eval "$as_ac_var=no"
41403 fi
41404
41405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41406 conftest$ac_exeext conftest.$ac_ext
41407 fi
41408 ac_res=`eval echo '${'$as_ac_var'}'`
41409 { echo "$as_me:$LINENO: result: $ac_res" >&5
41410 echo "${ECHO_T}$ac_res" >&6; }
41411 if test `eval echo '${'$as_ac_var'}'` = yes; then
41412 cat >>confdefs.h <<_ACEOF
41413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41414 _ACEOF
41415 cat >>confdefs.h <<\_ACEOF
41416 #define HAVE_GETSERVBYNAME 1
41417 _ACEOF
41418
41419 fi
41420 done
41421
41422 fi
41423
41424 if test "$wxUSE_THREADS" = "yes"; then
41425 cat >>confdefs.h <<\_ACEOF
41426 #define wxUSE_THREADS 1
41427 _ACEOF
41428
41429
41430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41431 else
41432 if test "$wx_cv_func_strtok_r" = "yes"; then
41433 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41434 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41435 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41436 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41437 { echo "$as_me:$LINENO: result: yes" >&5
41438 echo "${ECHO_T}yes" >&6; }
41439 else
41440 { echo "$as_me:$LINENO: result: no" >&5
41441 echo "${ECHO_T}no" >&6; }
41442 fi
41443 fi
41444 fi
41445
41446 if test "$WXGTK2" = 1 ; then
41447 cat >>confdefs.h <<_ACEOF
41448 #define __WXGTK20__ $WXGTK2
41449 _ACEOF
41450
41451 WXGTK12=1
41452 fi
41453
41454 if test "$WXGTK12" = 1 ; then
41455 cat >>confdefs.h <<_ACEOF
41456 #define __WXGTK12__ $WXGTK12
41457 _ACEOF
41458
41459 fi
41460
41461 if test "$WXGTK127" = 1 ; then
41462 cat >>confdefs.h <<_ACEOF
41463 #define __WXGTK127__ $WXGTK127
41464 _ACEOF
41465
41466 fi
41467
41468 if test "$WXGPE" = 1 ; then
41469 cat >>confdefs.h <<_ACEOF
41470 #define __WXGPE__ $WXGPE
41471 _ACEOF
41472
41473 fi
41474
41475 DEBUG_CFLAGS=
41476 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
41477 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
41478 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
41479 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
41480 DEBUG_CFLAGS="-g"
41481 fi
41482
41483 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41484 wxUSE_DEBUG_INFO=yes
41485 if test "$GCC" = yes; then
41486 DEBUG_CFLAGS="-ggdb"
41487 fi
41488 fi
41489
41490 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41491 cat >>confdefs.h <<\_ACEOF
41492 #define WXDEBUG 1
41493 _ACEOF
41494
41495 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41496 else
41497 if test "$wxUSE_GTK" = 1 ; then
41498 if test "x$wxGTK_VERSION" = "x1" ; then
41499 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41500 fi
41501 fi
41502 fi
41503
41504 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41505 cat >>confdefs.h <<\_ACEOF
41506 #define wxUSE_MEMORY_TRACING 1
41507 _ACEOF
41508
41509 cat >>confdefs.h <<\_ACEOF
41510 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41511 _ACEOF
41512
41513 cat >>confdefs.h <<\_ACEOF
41514 #define wxUSE_DEBUG_NEW_ALWAYS 1
41515 _ACEOF
41516
41517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41518 fi
41519
41520 if test "$wxUSE_DMALLOC" = "yes" ; then
41521 DMALLOC_LIBS="-ldmallocthcxx"
41522 fi
41523
41524 PROFILE_FLAGS=
41525 if test "$wxUSE_PROFILE" = "yes" ; then
41526 PROFILE_FLAGS=" -pg"
41527 fi
41528
41529 if test "$GCC" = "yes" ; then
41530 if test "$wxUSE_NO_RTTI" = "yes" ; then
41531 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41532 fi
41533 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41534 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41535 fi
41536 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41537 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41538 fi
41539
41540 case "${host}" in
41541 powerpc*-*-aix* )
41542 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41543 ;;
41544 *-hppa* )
41545 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41546 ;;
41547 esac
41548 fi
41549
41550 OPTIMISE_CFLAGS=
41551 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
41552 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
41553 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
41554 else
41555 if test "$wxUSE_OPTIMISE" = "no" ; then
41556 if test "$GCC" = yes ; then
41557 OPTIMISE_CFLAGS="-O0"
41558 fi
41559 else
41560 if test "$GCC" = yes ; then
41561 case "${host}" in
41562 *-pc-os2_emx | *-pc-os2-emx )
41563 OPTIMISE_CFLAGS="-O2"
41564 ;;
41565 *)
41566 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41567 ;;
41568 esac
41569 else
41570 OPTIMISE_CFLAGS="-O"
41571 fi
41572 fi
41573 fi
41574
41575
41576 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41577 cat >>confdefs.h <<\_ACEOF
41578 #define WXWIN_COMPATIBILITY_2_6 1
41579 _ACEOF
41580
41581
41582 WXWIN_COMPATIBILITY_2_8="yes"
41583 fi
41584
41585 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41586 cat >>confdefs.h <<\_ACEOF
41587 #define WXWIN_COMPATIBILITY_2_8 1
41588 _ACEOF
41589
41590 fi
41591
41592
41593 if test "$wxUSE_GUI" = "yes"; then
41594 cat >>confdefs.h <<\_ACEOF
41595 #define wxUSE_GUI 1
41596 _ACEOF
41597
41598
41599 fi
41600
41601
41602 if test "$wxUSE_UNIX" = "yes"; then
41603 cat >>confdefs.h <<\_ACEOF
41604 #define wxUSE_UNIX 1
41605 _ACEOF
41606
41607 fi
41608
41609
41610 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41611
41612 HAVE_DL_FUNCS=0
41613 HAVE_SHL_FUNCS=0
41614 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41615 if test "$USE_DOS" = 1; then
41616 HAVE_DL_FUNCS=0
41617 else
41618
41619 for ac_func in dlopen
41620 do
41621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41622 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41624 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41625 echo $ECHO_N "(cached) $ECHO_C" >&6
41626 else
41627 cat >conftest.$ac_ext <<_ACEOF
41628 /* confdefs.h. */
41629 _ACEOF
41630 cat confdefs.h >>conftest.$ac_ext
41631 cat >>conftest.$ac_ext <<_ACEOF
41632 /* end confdefs.h. */
41633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41635 #define $ac_func innocuous_$ac_func
41636
41637 /* System header to define __stub macros and hopefully few prototypes,
41638 which can conflict with char $ac_func (); below.
41639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41640 <limits.h> exists even on freestanding compilers. */
41641
41642 #ifdef __STDC__
41643 # include <limits.h>
41644 #else
41645 # include <assert.h>
41646 #endif
41647
41648 #undef $ac_func
41649
41650 /* Override any GCC internal prototype to avoid an error.
41651 Use char because int might match the return type of a GCC
41652 builtin and then its argument prototype would still apply. */
41653 #ifdef __cplusplus
41654 extern "C"
41655 #endif
41656 char $ac_func ();
41657 /* The GNU C library defines this for functions which it implements
41658 to always fail with ENOSYS. Some functions are actually named
41659 something starting with __ and the normal name is an alias. */
41660 #if defined __stub_$ac_func || defined __stub___$ac_func
41661 choke me
41662 #endif
41663
41664 int
41665 main ()
41666 {
41667 return $ac_func ();
41668 ;
41669 return 0;
41670 }
41671 _ACEOF
41672 rm -f conftest.$ac_objext conftest$ac_exeext
41673 if { (ac_try="$ac_link"
41674 case "(($ac_try" in
41675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41676 *) ac_try_echo=$ac_try;;
41677 esac
41678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41679 (eval "$ac_link") 2>conftest.er1
41680 ac_status=$?
41681 grep -v '^ *+' conftest.er1 >conftest.err
41682 rm -f conftest.er1
41683 cat conftest.err >&5
41684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41685 (exit $ac_status); } && {
41686 test -z "$ac_c_werror_flag" ||
41687 test ! -s conftest.err
41688 } && test -s conftest$ac_exeext &&
41689 $as_test_x conftest$ac_exeext; then
41690 eval "$as_ac_var=yes"
41691 else
41692 echo "$as_me: failed program was:" >&5
41693 sed 's/^/| /' conftest.$ac_ext >&5
41694
41695 eval "$as_ac_var=no"
41696 fi
41697
41698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41699 conftest$ac_exeext conftest.$ac_ext
41700 fi
41701 ac_res=`eval echo '${'$as_ac_var'}'`
41702 { echo "$as_me:$LINENO: result: $ac_res" >&5
41703 echo "${ECHO_T}$ac_res" >&6; }
41704 if test `eval echo '${'$as_ac_var'}'` = yes; then
41705 cat >>confdefs.h <<_ACEOF
41706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41707 _ACEOF
41708
41709 cat >>confdefs.h <<\_ACEOF
41710 #define HAVE_DLOPEN 1
41711 _ACEOF
41712
41713 HAVE_DL_FUNCS=1
41714
41715 else
41716
41717 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41718 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41719 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41720 echo $ECHO_N "(cached) $ECHO_C" >&6
41721 else
41722 ac_check_lib_save_LIBS=$LIBS
41723 LIBS="-ldl $LIBS"
41724 cat >conftest.$ac_ext <<_ACEOF
41725 /* confdefs.h. */
41726 _ACEOF
41727 cat confdefs.h >>conftest.$ac_ext
41728 cat >>conftest.$ac_ext <<_ACEOF
41729 /* end confdefs.h. */
41730
41731 /* Override any GCC internal prototype to avoid an error.
41732 Use char because int might match the return type of a GCC
41733 builtin and then its argument prototype would still apply. */
41734 #ifdef __cplusplus
41735 extern "C"
41736 #endif
41737 char dlopen ();
41738 int
41739 main ()
41740 {
41741 return dlopen ();
41742 ;
41743 return 0;
41744 }
41745 _ACEOF
41746 rm -f conftest.$ac_objext conftest$ac_exeext
41747 if { (ac_try="$ac_link"
41748 case "(($ac_try" in
41749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41750 *) ac_try_echo=$ac_try;;
41751 esac
41752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41753 (eval "$ac_link") 2>conftest.er1
41754 ac_status=$?
41755 grep -v '^ *+' conftest.er1 >conftest.err
41756 rm -f conftest.er1
41757 cat conftest.err >&5
41758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41759 (exit $ac_status); } && {
41760 test -z "$ac_c_werror_flag" ||
41761 test ! -s conftest.err
41762 } && test -s conftest$ac_exeext &&
41763 $as_test_x conftest$ac_exeext; then
41764 ac_cv_lib_dl_dlopen=yes
41765 else
41766 echo "$as_me: failed program was:" >&5
41767 sed 's/^/| /' conftest.$ac_ext >&5
41768
41769 ac_cv_lib_dl_dlopen=no
41770 fi
41771
41772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41773 conftest$ac_exeext conftest.$ac_ext
41774 LIBS=$ac_check_lib_save_LIBS
41775 fi
41776 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41777 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41778 if test $ac_cv_lib_dl_dlopen = yes; then
41779
41780 cat >>confdefs.h <<\_ACEOF
41781 #define HAVE_DLOPEN 1
41782 _ACEOF
41783
41784 HAVE_DL_FUNCS=1
41785 DL_LINK=" -ldl$DL_LINK"
41786
41787 else
41788
41789
41790 for ac_func in shl_load
41791 do
41792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41793 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41796 echo $ECHO_N "(cached) $ECHO_C" >&6
41797 else
41798 cat >conftest.$ac_ext <<_ACEOF
41799 /* confdefs.h. */
41800 _ACEOF
41801 cat confdefs.h >>conftest.$ac_ext
41802 cat >>conftest.$ac_ext <<_ACEOF
41803 /* end confdefs.h. */
41804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41806 #define $ac_func innocuous_$ac_func
41807
41808 /* System header to define __stub macros and hopefully few prototypes,
41809 which can conflict with char $ac_func (); below.
41810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41811 <limits.h> exists even on freestanding compilers. */
41812
41813 #ifdef __STDC__
41814 # include <limits.h>
41815 #else
41816 # include <assert.h>
41817 #endif
41818
41819 #undef $ac_func
41820
41821 /* Override any GCC internal prototype to avoid an error.
41822 Use char because int might match the return type of a GCC
41823 builtin and then its argument prototype would still apply. */
41824 #ifdef __cplusplus
41825 extern "C"
41826 #endif
41827 char $ac_func ();
41828 /* The GNU C library defines this for functions which it implements
41829 to always fail with ENOSYS. Some functions are actually named
41830 something starting with __ and the normal name is an alias. */
41831 #if defined __stub_$ac_func || defined __stub___$ac_func
41832 choke me
41833 #endif
41834
41835 int
41836 main ()
41837 {
41838 return $ac_func ();
41839 ;
41840 return 0;
41841 }
41842 _ACEOF
41843 rm -f conftest.$ac_objext conftest$ac_exeext
41844 if { (ac_try="$ac_link"
41845 case "(($ac_try" in
41846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41847 *) ac_try_echo=$ac_try;;
41848 esac
41849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41850 (eval "$ac_link") 2>conftest.er1
41851 ac_status=$?
41852 grep -v '^ *+' conftest.er1 >conftest.err
41853 rm -f conftest.er1
41854 cat conftest.err >&5
41855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41856 (exit $ac_status); } && {
41857 test -z "$ac_c_werror_flag" ||
41858 test ! -s conftest.err
41859 } && test -s conftest$ac_exeext &&
41860 $as_test_x conftest$ac_exeext; then
41861 eval "$as_ac_var=yes"
41862 else
41863 echo "$as_me: failed program was:" >&5
41864 sed 's/^/| /' conftest.$ac_ext >&5
41865
41866 eval "$as_ac_var=no"
41867 fi
41868
41869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41870 conftest$ac_exeext conftest.$ac_ext
41871 fi
41872 ac_res=`eval echo '${'$as_ac_var'}'`
41873 { echo "$as_me:$LINENO: result: $ac_res" >&5
41874 echo "${ECHO_T}$ac_res" >&6; }
41875 if test `eval echo '${'$as_ac_var'}'` = yes; then
41876 cat >>confdefs.h <<_ACEOF
41877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41878 _ACEOF
41879
41880 cat >>confdefs.h <<\_ACEOF
41881 #define HAVE_SHL_LOAD 1
41882 _ACEOF
41883
41884 HAVE_SHL_FUNCS=1
41885
41886 else
41887
41888 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41889 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41890 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41891 echo $ECHO_N "(cached) $ECHO_C" >&6
41892 else
41893 ac_check_lib_save_LIBS=$LIBS
41894 LIBS="-lshl_load $LIBS"
41895 cat >conftest.$ac_ext <<_ACEOF
41896 /* confdefs.h. */
41897 _ACEOF
41898 cat confdefs.h >>conftest.$ac_ext
41899 cat >>conftest.$ac_ext <<_ACEOF
41900 /* end confdefs.h. */
41901
41902 /* Override any GCC internal prototype to avoid an error.
41903 Use char because int might match the return type of a GCC
41904 builtin and then its argument prototype would still apply. */
41905 #ifdef __cplusplus
41906 extern "C"
41907 #endif
41908 char dld ();
41909 int
41910 main ()
41911 {
41912 return dld ();
41913 ;
41914 return 0;
41915 }
41916 _ACEOF
41917 rm -f conftest.$ac_objext conftest$ac_exeext
41918 if { (ac_try="$ac_link"
41919 case "(($ac_try" in
41920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41921 *) ac_try_echo=$ac_try;;
41922 esac
41923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41924 (eval "$ac_link") 2>conftest.er1
41925 ac_status=$?
41926 grep -v '^ *+' conftest.er1 >conftest.err
41927 rm -f conftest.er1
41928 cat conftest.err >&5
41929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41930 (exit $ac_status); } && {
41931 test -z "$ac_c_werror_flag" ||
41932 test ! -s conftest.err
41933 } && test -s conftest$ac_exeext &&
41934 $as_test_x conftest$ac_exeext; then
41935 ac_cv_lib_shl_load_dld=yes
41936 else
41937 echo "$as_me: failed program was:" >&5
41938 sed 's/^/| /' conftest.$ac_ext >&5
41939
41940 ac_cv_lib_shl_load_dld=no
41941 fi
41942
41943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41944 conftest$ac_exeext conftest.$ac_ext
41945 LIBS=$ac_check_lib_save_LIBS
41946 fi
41947 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41948 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41949 if test $ac_cv_lib_shl_load_dld = yes; then
41950
41951 HAVE_SHL_FUNCS=1
41952 DL_LINK=" -ldld$DL_LINK"
41953
41954 fi
41955
41956
41957 fi
41958 done
41959
41960
41961 fi
41962
41963
41964 fi
41965 done
41966
41967
41968 if test "$HAVE_DL_FUNCS" = 1; then
41969
41970 for ac_func in dlerror
41971 do
41972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41973 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41975 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41976 echo $ECHO_N "(cached) $ECHO_C" >&6
41977 else
41978 cat >conftest.$ac_ext <<_ACEOF
41979 /* confdefs.h. */
41980 _ACEOF
41981 cat confdefs.h >>conftest.$ac_ext
41982 cat >>conftest.$ac_ext <<_ACEOF
41983 /* end confdefs.h. */
41984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41986 #define $ac_func innocuous_$ac_func
41987
41988 /* System header to define __stub macros and hopefully few prototypes,
41989 which can conflict with char $ac_func (); below.
41990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41991 <limits.h> exists even on freestanding compilers. */
41992
41993 #ifdef __STDC__
41994 # include <limits.h>
41995 #else
41996 # include <assert.h>
41997 #endif
41998
41999 #undef $ac_func
42000
42001 /* Override any GCC internal prototype to avoid an error.
42002 Use char because int might match the return type of a GCC
42003 builtin and then its argument prototype would still apply. */
42004 #ifdef __cplusplus
42005 extern "C"
42006 #endif
42007 char $ac_func ();
42008 /* The GNU C library defines this for functions which it implements
42009 to always fail with ENOSYS. Some functions are actually named
42010 something starting with __ and the normal name is an alias. */
42011 #if defined __stub_$ac_func || defined __stub___$ac_func
42012 choke me
42013 #endif
42014
42015 int
42016 main ()
42017 {
42018 return $ac_func ();
42019 ;
42020 return 0;
42021 }
42022 _ACEOF
42023 rm -f conftest.$ac_objext conftest$ac_exeext
42024 if { (ac_try="$ac_link"
42025 case "(($ac_try" in
42026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42027 *) ac_try_echo=$ac_try;;
42028 esac
42029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42030 (eval "$ac_link") 2>conftest.er1
42031 ac_status=$?
42032 grep -v '^ *+' conftest.er1 >conftest.err
42033 rm -f conftest.er1
42034 cat conftest.err >&5
42035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42036 (exit $ac_status); } && {
42037 test -z "$ac_c_werror_flag" ||
42038 test ! -s conftest.err
42039 } && test -s conftest$ac_exeext &&
42040 $as_test_x conftest$ac_exeext; then
42041 eval "$as_ac_var=yes"
42042 else
42043 echo "$as_me: failed program was:" >&5
42044 sed 's/^/| /' conftest.$ac_ext >&5
42045
42046 eval "$as_ac_var=no"
42047 fi
42048
42049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42050 conftest$ac_exeext conftest.$ac_ext
42051 fi
42052 ac_res=`eval echo '${'$as_ac_var'}'`
42053 { echo "$as_me:$LINENO: result: $ac_res" >&5
42054 echo "${ECHO_T}$ac_res" >&6; }
42055 if test `eval echo '${'$as_ac_var'}'` = yes; then
42056 cat >>confdefs.h <<_ACEOF
42057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42058 _ACEOF
42059 cat >>confdefs.h <<\_ACEOF
42060 #define HAVE_DLERROR 1
42061 _ACEOF
42062
42063 else
42064
42065 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42066 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42067 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42068 echo $ECHO_N "(cached) $ECHO_C" >&6
42069 else
42070 ac_check_lib_save_LIBS=$LIBS
42071 LIBS="-ldl $LIBS"
42072 cat >conftest.$ac_ext <<_ACEOF
42073 /* confdefs.h. */
42074 _ACEOF
42075 cat confdefs.h >>conftest.$ac_ext
42076 cat >>conftest.$ac_ext <<_ACEOF
42077 /* end confdefs.h. */
42078
42079 /* Override any GCC internal prototype to avoid an error.
42080 Use char because int might match the return type of a GCC
42081 builtin and then its argument prototype would still apply. */
42082 #ifdef __cplusplus
42083 extern "C"
42084 #endif
42085 char dlerror ();
42086 int
42087 main ()
42088 {
42089 return dlerror ();
42090 ;
42091 return 0;
42092 }
42093 _ACEOF
42094 rm -f conftest.$ac_objext conftest$ac_exeext
42095 if { (ac_try="$ac_link"
42096 case "(($ac_try" in
42097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42098 *) ac_try_echo=$ac_try;;
42099 esac
42100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42101 (eval "$ac_link") 2>conftest.er1
42102 ac_status=$?
42103 grep -v '^ *+' conftest.er1 >conftest.err
42104 rm -f conftest.er1
42105 cat conftest.err >&5
42106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42107 (exit $ac_status); } && {
42108 test -z "$ac_c_werror_flag" ||
42109 test ! -s conftest.err
42110 } && test -s conftest$ac_exeext &&
42111 $as_test_x conftest$ac_exeext; then
42112 ac_cv_lib_dl_dlerror=yes
42113 else
42114 echo "$as_me: failed program was:" >&5
42115 sed 's/^/| /' conftest.$ac_ext >&5
42116
42117 ac_cv_lib_dl_dlerror=no
42118 fi
42119
42120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42121 conftest$ac_exeext conftest.$ac_ext
42122 LIBS=$ac_check_lib_save_LIBS
42123 fi
42124 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42125 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42126 if test $ac_cv_lib_dl_dlerror = yes; then
42127 cat >>confdefs.h <<\_ACEOF
42128 #define HAVE_DLERROR 1
42129 _ACEOF
42130
42131 fi
42132
42133
42134
42135 fi
42136 done
42137
42138 fi
42139 fi
42140
42141 if test "$USE_DARWIN" = 1; then
42142 HAVE_DL_FUNCS=1
42143 fi
42144
42145 if test "$HAVE_DL_FUNCS" = 0; then
42146 if test "$HAVE_SHL_FUNCS" = 0; then
42147 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42148 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42149 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42150 wxUSE_DYNAMIC_LOADER=no
42151 wxUSE_DYNLIB_CLASS=no
42152 else
42153 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42154 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42155 fi
42156 fi
42157 fi
42158 fi
42159 fi
42160
42161 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42162 cat >>confdefs.h <<\_ACEOF
42163 #define wxUSE_DYNAMIC_LOADER 1
42164 _ACEOF
42165
42166 fi
42167 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42168 cat >>confdefs.h <<\_ACEOF
42169 #define wxUSE_DYNLIB_CLASS 1
42170 _ACEOF
42171
42172 fi
42173
42174
42175
42176 if test "$wxUSE_PLUGINS" = "yes" ; then
42177 if test "$wxUSE_SHARED" = "no" ; then
42178 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42179 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42180 wxUSE_PLUGINS=no
42181 fi
42182 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42183 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42184 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42185 wxUSE_PLUGINS=no
42186 fi
42187 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42188 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42189 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42190 wxUSE_PLUGINS=no
42191 fi
42192 if test "$wxUSE_PLUGINS" = "yes" ; then
42193 cat >>confdefs.h <<\_ACEOF
42194 #define wxUSE_PLUGINS 1
42195 _ACEOF
42196
42197 fi
42198 fi
42199
42200
42201 if test "$wxUSE_STL" = "yes"; then
42202 cat >>confdefs.h <<\_ACEOF
42203 #define wxUSE_STL 1
42204 _ACEOF
42205
42206 fi
42207
42208 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42209 cat >>confdefs.h <<\_ACEOF
42210 #define wxUSE_EXTENDED_RTTI 1
42211 _ACEOF
42212
42213 fi
42214
42215 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42216 cat >>confdefs.h <<\_ACEOF
42217 #define wxUSE_APPLE_IEEE 1
42218 _ACEOF
42219
42220 fi
42221
42222 if test "$wxUSE_TIMER" = "yes"; then
42223 cat >>confdefs.h <<\_ACEOF
42224 #define wxUSE_TIMER 1
42225 _ACEOF
42226
42227 fi
42228
42229 if test "$USE_UNIX" = 1 ; then
42230 if test "$wxUSE_MGL" != 1; then
42231 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42232 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42233 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42234 echo $ECHO_N "(cached) $ECHO_C" >&6
42235 else
42236
42237 cat >conftest.$ac_ext <<_ACEOF
42238 /* confdefs.h. */
42239 _ACEOF
42240 cat confdefs.h >>conftest.$ac_ext
42241 cat >>conftest.$ac_ext <<_ACEOF
42242 /* end confdefs.h. */
42243
42244 #include <sys/ioctl.h>
42245 #include <sys/soundcard.h>
42246
42247 int
42248 main ()
42249 {
42250
42251 ioctl(0, SNDCTL_DSP_SPEED, 0);
42252
42253 ;
42254 return 0;
42255 }
42256 _ACEOF
42257 rm -f conftest.$ac_objext conftest$ac_exeext
42258 if { (ac_try="$ac_link"
42259 case "(($ac_try" in
42260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42261 *) ac_try_echo=$ac_try;;
42262 esac
42263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42264 (eval "$ac_link") 2>conftest.er1
42265 ac_status=$?
42266 grep -v '^ *+' conftest.er1 >conftest.err
42267 rm -f conftest.er1
42268 cat conftest.err >&5
42269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42270 (exit $ac_status); } && {
42271 test -z "$ac_c_werror_flag" ||
42272 test ! -s conftest.err
42273 } && test -s conftest$ac_exeext &&
42274 $as_test_x conftest$ac_exeext; then
42275 ac_cv_header_sys_soundcard=yes
42276 else
42277 echo "$as_me: failed program was:" >&5
42278 sed 's/^/| /' conftest.$ac_ext >&5
42279
42280
42281 saveLibs="$LIBS"
42282 LIBS="$saveLibs -lossaudio"
42283 cat >conftest.$ac_ext <<_ACEOF
42284 /* confdefs.h. */
42285 _ACEOF
42286 cat confdefs.h >>conftest.$ac_ext
42287 cat >>conftest.$ac_ext <<_ACEOF
42288 /* end confdefs.h. */
42289
42290 #include <sys/ioctl.h>
42291 #include <sys/soundcard.h>
42292
42293 int
42294 main ()
42295 {
42296
42297 ioctl(0, SNDCTL_DSP_SPEED, 0);
42298
42299 ;
42300 return 0;
42301 }
42302 _ACEOF
42303 rm -f conftest.$ac_objext conftest$ac_exeext
42304 if { (ac_try="$ac_link"
42305 case "(($ac_try" in
42306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42307 *) ac_try_echo=$ac_try;;
42308 esac
42309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42310 (eval "$ac_link") 2>conftest.er1
42311 ac_status=$?
42312 grep -v '^ *+' conftest.er1 >conftest.err
42313 rm -f conftest.er1
42314 cat conftest.err >&5
42315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42316 (exit $ac_status); } && {
42317 test -z "$ac_c_werror_flag" ||
42318 test ! -s conftest.err
42319 } && test -s conftest$ac_exeext &&
42320 $as_test_x conftest$ac_exeext; then
42321 ac_cv_header_sys_soundcard=yes
42322 else
42323 echo "$as_me: failed program was:" >&5
42324 sed 's/^/| /' conftest.$ac_ext >&5
42325
42326
42327 LIBS="$saveLibs"
42328 ac_cv_header_sys_soundcard=no
42329
42330
42331 fi
42332
42333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42334 conftest$ac_exeext conftest.$ac_ext
42335
42336
42337 fi
42338
42339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42340 conftest$ac_exeext conftest.$ac_ext
42341
42342 fi
42343 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42344 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42345 fi
42346
42347 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42348 cat >>confdefs.h <<\_ACEOF
42349 #define HAVE_SYS_SOUNDCARD_H 1
42350 _ACEOF
42351
42352 fi
42353 fi
42354
42355 WITH_PLUGIN_SDL=0
42356 if test "$wxUSE_SOUND" = "yes"; then
42357 if test "$USE_UNIX" = 1 ; then
42358 if test "$wxUSE_LIBSDL" != "no"; then
42359
42360 # Check whether --with-sdl-prefix was given.
42361 if test "${with_sdl_prefix+set}" = set; then
42362 withval=$with_sdl_prefix; sdl_prefix="$withval"
42363 else
42364 sdl_prefix=""
42365 fi
42366
42367
42368 # Check whether --with-sdl-exec-prefix was given.
42369 if test "${with_sdl_exec_prefix+set}" = set; then
42370 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42371 else
42372 sdl_exec_prefix=""
42373 fi
42374
42375 # Check whether --enable-sdltest was given.
42376 if test "${enable_sdltest+set}" = set; then
42377 enableval=$enable_sdltest;
42378 else
42379 enable_sdltest=yes
42380 fi
42381
42382
42383 if test x$sdl_exec_prefix != x ; then
42384 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42385 if test x${SDL_CONFIG+set} != xset ; then
42386 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42387 fi
42388 fi
42389 if test x$sdl_prefix != x ; then
42390 sdl_args="$sdl_args --prefix=$sdl_prefix"
42391 if test x${SDL_CONFIG+set} != xset ; then
42392 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42393 fi
42394 fi
42395
42396 if test "x$prefix" != xNONE; then
42397 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42398 fi
42399 # Extract the first word of "sdl-config", so it can be a program name with args.
42400 set dummy sdl-config; ac_word=$2
42401 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42403 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42404 echo $ECHO_N "(cached) $ECHO_C" >&6
42405 else
42406 case $SDL_CONFIG in
42407 [\\/]* | ?:[\\/]*)
42408 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42409 ;;
42410 *)
42411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42412 for as_dir in $PATH
42413 do
42414 IFS=$as_save_IFS
42415 test -z "$as_dir" && as_dir=.
42416 for ac_exec_ext in '' $ac_executable_extensions; do
42417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42418 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42420 break 2
42421 fi
42422 done
42423 done
42424 IFS=$as_save_IFS
42425
42426 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42427 ;;
42428 esac
42429 fi
42430 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42431 if test -n "$SDL_CONFIG"; then
42432 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42433 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42434 else
42435 { echo "$as_me:$LINENO: result: no" >&5
42436 echo "${ECHO_T}no" >&6; }
42437 fi
42438
42439
42440 min_sdl_version=1.2.0
42441 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42442 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42443 no_sdl=""
42444 if test "$SDL_CONFIG" = "no" ; then
42445 no_sdl=yes
42446 else
42447 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42448 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42449
42450 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42451 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42452 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42453 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42454 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42455 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42456 if test "x$enable_sdltest" = "xyes" ; then
42457 ac_save_CFLAGS="$CFLAGS"
42458 ac_save_CXXFLAGS="$CXXFLAGS"
42459 ac_save_LIBS="$LIBS"
42460 CFLAGS="$CFLAGS $SDL_CFLAGS"
42461 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42462 LIBS="$LIBS $SDL_LIBS"
42463 rm -f conf.sdltest
42464 if test "$cross_compiling" = yes; then
42465 echo $ac_n "cross compiling; assumed OK... $ac_c"
42466 else
42467 cat >conftest.$ac_ext <<_ACEOF
42468 /* confdefs.h. */
42469 _ACEOF
42470 cat confdefs.h >>conftest.$ac_ext
42471 cat >>conftest.$ac_ext <<_ACEOF
42472 /* end confdefs.h. */
42473
42474 #include <stdio.h>
42475 #include <stdlib.h>
42476 #include <string.h>
42477 #include "SDL.h"
42478
42479 char*
42480 my_strdup (char *str)
42481 {
42482 char *new_str;
42483
42484 if (str)
42485 {
42486 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42487 strcpy (new_str, str);
42488 }
42489 else
42490 new_str = NULL;
42491
42492 return new_str;
42493 }
42494
42495 int main (int argc, char *argv[])
42496 {
42497 int major, minor, micro;
42498 char *tmp_version;
42499
42500 /* This hangs on some systems (?)
42501 system ("touch conf.sdltest");
42502 */
42503 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42504
42505 /* HP/UX 9 (%@#!) writes to sscanf strings */
42506 tmp_version = my_strdup("$min_sdl_version");
42507 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42508 printf("%s, bad version string\n", "$min_sdl_version");
42509 exit(1);
42510 }
42511
42512 if (($sdl_major_version > major) ||
42513 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42514 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42515 {
42516 return 0;
42517 }
42518 else
42519 {
42520 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42521 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42522 printf("*** best to upgrade to the required version.\n");
42523 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42524 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42525 printf("*** config.cache before re-running configure\n");
42526 return 1;
42527 }
42528 }
42529
42530
42531 _ACEOF
42532 rm -f conftest$ac_exeext
42533 if { (ac_try="$ac_link"
42534 case "(($ac_try" in
42535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42536 *) ac_try_echo=$ac_try;;
42537 esac
42538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42539 (eval "$ac_link") 2>&5
42540 ac_status=$?
42541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42543 { (case "(($ac_try" in
42544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42545 *) ac_try_echo=$ac_try;;
42546 esac
42547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42548 (eval "$ac_try") 2>&5
42549 ac_status=$?
42550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42551 (exit $ac_status); }; }; then
42552 :
42553 else
42554 echo "$as_me: program exited with status $ac_status" >&5
42555 echo "$as_me: failed program was:" >&5
42556 sed 's/^/| /' conftest.$ac_ext >&5
42557
42558 ( exit $ac_status )
42559 no_sdl=yes
42560 fi
42561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42562 fi
42563
42564
42565 CFLAGS="$ac_save_CFLAGS"
42566 CXXFLAGS="$ac_save_CXXFLAGS"
42567 LIBS="$ac_save_LIBS"
42568 fi
42569 fi
42570 if test "x$no_sdl" = x ; then
42571 { echo "$as_me:$LINENO: result: yes" >&5
42572 echo "${ECHO_T}yes" >&6; }
42573
42574 EXTRALIBS_SDL="$SDL_LIBS"
42575 CFLAGS="$SDL_CFLAGS $CFLAGS"
42576 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42577 cat >>confdefs.h <<\_ACEOF
42578 #define wxUSE_LIBSDL 1
42579 _ACEOF
42580
42581
42582 else
42583 { echo "$as_me:$LINENO: result: no" >&5
42584 echo "${ECHO_T}no" >&6; }
42585 if test "$SDL_CONFIG" = "no" ; then
42586 echo "*** The sdl-config script installed by SDL could not be found"
42587 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42588 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42589 echo "*** full path to sdl-config."
42590 else
42591 if test -f conf.sdltest ; then
42592 :
42593 else
42594 echo "*** Could not run SDL test program, checking why..."
42595 CFLAGS="$CFLAGS $SDL_CFLAGS"
42596 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42597 LIBS="$LIBS $SDL_LIBS"
42598 cat >conftest.$ac_ext <<_ACEOF
42599 /* confdefs.h. */
42600 _ACEOF
42601 cat confdefs.h >>conftest.$ac_ext
42602 cat >>conftest.$ac_ext <<_ACEOF
42603 /* end confdefs.h. */
42604
42605 #include <stdio.h>
42606 #include "SDL.h"
42607
42608 int main(int argc, char *argv[])
42609 { return 0; }
42610 #undef main
42611 #define main K_and_R_C_main
42612
42613 int
42614 main ()
42615 {
42616 return 0;
42617 ;
42618 return 0;
42619 }
42620 _ACEOF
42621 rm -f conftest.$ac_objext conftest$ac_exeext
42622 if { (ac_try="$ac_link"
42623 case "(($ac_try" in
42624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42625 *) ac_try_echo=$ac_try;;
42626 esac
42627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42628 (eval "$ac_link") 2>conftest.er1
42629 ac_status=$?
42630 grep -v '^ *+' conftest.er1 >conftest.err
42631 rm -f conftest.er1
42632 cat conftest.err >&5
42633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42634 (exit $ac_status); } && {
42635 test -z "$ac_c_werror_flag" ||
42636 test ! -s conftest.err
42637 } && test -s conftest$ac_exeext &&
42638 $as_test_x conftest$ac_exeext; then
42639 echo "*** The test program compiled, but did not run. This usually means"
42640 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42641 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42642 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42643 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42644 echo "*** is required on your system"
42645 echo "***"
42646 echo "*** If you have an old version installed, it is best to remove it, although"
42647 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42648 else
42649 echo "$as_me: failed program was:" >&5
42650 sed 's/^/| /' conftest.$ac_ext >&5
42651
42652 echo "*** The test program failed to compile or link. See the file config.log for the"
42653 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42654 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42655 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42656 fi
42657
42658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42659 conftest$ac_exeext conftest.$ac_ext
42660 CFLAGS="$ac_save_CFLAGS"
42661 CXXFLAGS="$ac_save_CXXFLAGS"
42662 LIBS="$ac_save_LIBS"
42663 fi
42664 fi
42665 SDL_CFLAGS=""
42666 SDL_LIBS=""
42667 wxUSE_LIBSDL="no"
42668 fi
42669
42670
42671 rm -f conf.sdltest
42672
42673 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42674 WITH_PLUGIN_SDL=1
42675 fi
42676 fi
42677 else
42678 if test "$wxUSE_MGL" = 1; then
42679 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42680 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42681 wxUSE_SOUND="no"
42682 fi
42683 fi
42684 fi
42685
42686 if test "$wxUSE_SOUND" = "yes"; then
42687 cat >>confdefs.h <<\_ACEOF
42688 #define wxUSE_SOUND 1
42689 _ACEOF
42690
42691 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42692 fi
42693
42694 if test "$WXGTK2" = 1; then
42695
42696
42697 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42698 if test -n "$ac_tool_prefix"; then
42699 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42700 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42703 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42704 echo $ECHO_N "(cached) $ECHO_C" >&6
42705 else
42706 case $PKG_CONFIG in
42707 [\\/]* | ?:[\\/]*)
42708 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42709 ;;
42710 *)
42711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42712 for as_dir in $PATH
42713 do
42714 IFS=$as_save_IFS
42715 test -z "$as_dir" && as_dir=.
42716 for ac_exec_ext in '' $ac_executable_extensions; do
42717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42718 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42720 break 2
42721 fi
42722 done
42723 done
42724 IFS=$as_save_IFS
42725
42726 ;;
42727 esac
42728 fi
42729 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42730 if test -n "$PKG_CONFIG"; then
42731 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42732 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42733 else
42734 { echo "$as_me:$LINENO: result: no" >&5
42735 echo "${ECHO_T}no" >&6; }
42736 fi
42737
42738
42739 fi
42740 if test -z "$ac_cv_path_PKG_CONFIG"; then
42741 ac_pt_PKG_CONFIG=$PKG_CONFIG
42742 # Extract the first word of "pkg-config", so it can be a program name with args.
42743 set dummy pkg-config; ac_word=$2
42744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42746 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42747 echo $ECHO_N "(cached) $ECHO_C" >&6
42748 else
42749 case $ac_pt_PKG_CONFIG in
42750 [\\/]* | ?:[\\/]*)
42751 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42752 ;;
42753 *)
42754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42755 for as_dir in $PATH
42756 do
42757 IFS=$as_save_IFS
42758 test -z "$as_dir" && as_dir=.
42759 for ac_exec_ext in '' $ac_executable_extensions; do
42760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42761 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42763 break 2
42764 fi
42765 done
42766 done
42767 IFS=$as_save_IFS
42768
42769 ;;
42770 esac
42771 fi
42772 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42773 if test -n "$ac_pt_PKG_CONFIG"; then
42774 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42775 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42776 else
42777 { echo "$as_me:$LINENO: result: no" >&5
42778 echo "${ECHO_T}no" >&6; }
42779 fi
42780
42781 if test "x$ac_pt_PKG_CONFIG" = x; then
42782 PKG_CONFIG=""
42783 else
42784 case $cross_compiling:$ac_tool_warned in
42785 yes:)
42786 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42787 whose name does not start with the host triplet. If you think this
42788 configuration is useful to you, please write to autoconf@gnu.org." >&5
42789 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42790 whose name does not start with the host triplet. If you think this
42791 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42792 ac_tool_warned=yes ;;
42793 esac
42794 PKG_CONFIG=$ac_pt_PKG_CONFIG
42795 fi
42796 else
42797 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42798 fi
42799
42800 fi
42801 if test -n "$PKG_CONFIG"; then
42802 _pkg_min_version=0.9.0
42803 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42804 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42805 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42806 { echo "$as_me:$LINENO: result: yes" >&5
42807 echo "${ECHO_T}yes" >&6; }
42808 else
42809 { echo "$as_me:$LINENO: result: no" >&5
42810 echo "${ECHO_T}no" >&6; }
42811 PKG_CONFIG=""
42812 fi
42813
42814 fi
42815
42816 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42817
42818 if test "$wxUSE_GTKPRINT" = "yes" ; then
42819
42820
42821 pkg_failed=no
42822 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42823 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42824
42825 if test -n "$PKG_CONFIG"; then
42826 if test -n "$GTKPRINT_CFLAGS"; then
42827 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42828 else
42829 if test -n "$PKG_CONFIG" && \
42830 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42831 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42832 ac_status=$?
42833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42834 (exit $ac_status); }; then
42835 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42836 else
42837 pkg_failed=yes
42838 fi
42839 fi
42840 else
42841 pkg_failed=untried
42842 fi
42843 if test -n "$PKG_CONFIG"; then
42844 if test -n "$GTKPRINT_LIBS"; then
42845 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42846 else
42847 if test -n "$PKG_CONFIG" && \
42848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42849 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42850 ac_status=$?
42851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42852 (exit $ac_status); }; then
42853 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42854 else
42855 pkg_failed=yes
42856 fi
42857 fi
42858 else
42859 pkg_failed=untried
42860 fi
42861
42862
42863
42864 if test $pkg_failed = yes; then
42865
42866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42867 _pkg_short_errors_supported=yes
42868 else
42869 _pkg_short_errors_supported=no
42870 fi
42871 if test $_pkg_short_errors_supported = yes; then
42872 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42873 else
42874 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42875 fi
42876 # Put the nasty error message in config.log where it belongs
42877 echo "$GTKPRINT_PKG_ERRORS" >&5
42878
42879
42880 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42881 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42882 wxUSE_GTKPRINT="no"
42883
42884
42885 elif test $pkg_failed = untried; then
42886
42887 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42888 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42889 wxUSE_GTKPRINT="no"
42890
42891
42892 else
42893 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42894 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42895 { echo "$as_me:$LINENO: result: yes" >&5
42896 echo "${ECHO_T}yes" >&6; }
42897
42898 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42899 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42900 cat >>confdefs.h <<\_ACEOF
42901 #define wxUSE_GTKPRINT 1
42902 _ACEOF
42903
42904
42905 fi
42906 fi
42907
42908 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42909
42910
42911 pkg_failed=no
42912 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42913 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42914
42915 if test -n "$PKG_CONFIG"; then
42916 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42917 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42918 else
42919 if test -n "$PKG_CONFIG" && \
42920 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42921 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42922 ac_status=$?
42923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924 (exit $ac_status); }; then
42925 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42926 else
42927 pkg_failed=yes
42928 fi
42929 fi
42930 else
42931 pkg_failed=untried
42932 fi
42933 if test -n "$PKG_CONFIG"; then
42934 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42935 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42936 else
42937 if test -n "$PKG_CONFIG" && \
42938 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42939 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42940 ac_status=$?
42941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42942 (exit $ac_status); }; then
42943 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42944 else
42945 pkg_failed=yes
42946 fi
42947 fi
42948 else
42949 pkg_failed=untried
42950 fi
42951
42952
42953
42954 if test $pkg_failed = yes; then
42955
42956 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42957 _pkg_short_errors_supported=yes
42958 else
42959 _pkg_short_errors_supported=no
42960 fi
42961 if test $_pkg_short_errors_supported = yes; then
42962 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42963 else
42964 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42965 fi
42966 # Put the nasty error message in config.log where it belongs
42967 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42968
42969
42970 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42971 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42972 wxUSE_LIBGNOMEPRINT="no"
42973
42974
42975 elif test $pkg_failed = untried; then
42976
42977 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42978 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42979 wxUSE_LIBGNOMEPRINT="no"
42980
42981
42982 else
42983 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42984 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42985 { echo "$as_me:$LINENO: result: yes" >&5
42986 echo "${ECHO_T}yes" >&6; }
42987
42988 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42989 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42990 cat >>confdefs.h <<\_ACEOF
42991 #define wxUSE_LIBGNOMEPRINT 1
42992 _ACEOF
42993
42994
42995 fi
42996 fi
42997 fi
42998
42999 if test "$wxUSE_MIMETYPE" = "yes" ; then
43000 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43001
43002
43003 pkg_failed=no
43004 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43005 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43006
43007 if test -n "$PKG_CONFIG"; then
43008 if test -n "$GNOMEVFS_CFLAGS"; then
43009 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43010 else
43011 if test -n "$PKG_CONFIG" && \
43012 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43013 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43014 ac_status=$?
43015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43016 (exit $ac_status); }; then
43017 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43018 else
43019 pkg_failed=yes
43020 fi
43021 fi
43022 else
43023 pkg_failed=untried
43024 fi
43025 if test -n "$PKG_CONFIG"; then
43026 if test -n "$GNOMEVFS_LIBS"; then
43027 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43028 else
43029 if test -n "$PKG_CONFIG" && \
43030 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43031 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43032 ac_status=$?
43033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43034 (exit $ac_status); }; then
43035 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43036 else
43037 pkg_failed=yes
43038 fi
43039 fi
43040 else
43041 pkg_failed=untried
43042 fi
43043
43044
43045
43046 if test $pkg_failed = yes; then
43047
43048 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43049 _pkg_short_errors_supported=yes
43050 else
43051 _pkg_short_errors_supported=no
43052 fi
43053 if test $_pkg_short_errors_supported = yes; then
43054 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43055 else
43056 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43057 fi
43058 # Put the nasty error message in config.log where it belongs
43059 echo "$GNOMEVFS_PKG_ERRORS" >&5
43060
43061
43062 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43063 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43064 wxUSE_LIBGNOMEVFS="no"
43065
43066
43067 elif test $pkg_failed = untried; then
43068
43069 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43070 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43071 wxUSE_LIBGNOMEVFS="no"
43072
43073
43074 else
43075 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43076 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43077 { echo "$as_me:$LINENO: result: yes" >&5
43078 echo "${ECHO_T}yes" >&6; }
43079
43080 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43081 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43082 cat >>confdefs.h <<\_ACEOF
43083 #define wxUSE_LIBGNOMEVFS 1
43084 _ACEOF
43085
43086
43087 fi
43088 fi
43089 fi
43090
43091 if test "$wxUSE_LIBHILDON" = "yes" ; then
43092
43093 pkg_failed=no
43094 { echo "$as_me:$LINENO: checking for HILDON" >&5
43095 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43096
43097 if test -n "$PKG_CONFIG"; then
43098 if test -n "$HILDON_CFLAGS"; then
43099 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43100 else
43101 if test -n "$PKG_CONFIG" && \
43102 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43103 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43104 ac_status=$?
43105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43106 (exit $ac_status); }; then
43107 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43108 else
43109 pkg_failed=yes
43110 fi
43111 fi
43112 else
43113 pkg_failed=untried
43114 fi
43115 if test -n "$PKG_CONFIG"; then
43116 if test -n "$HILDON_LIBS"; then
43117 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43118 else
43119 if test -n "$PKG_CONFIG" && \
43120 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43121 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43122 ac_status=$?
43123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43124 (exit $ac_status); }; then
43125 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43126 else
43127 pkg_failed=yes
43128 fi
43129 fi
43130 else
43131 pkg_failed=untried
43132 fi
43133
43134
43135
43136 if test $pkg_failed = yes; then
43137
43138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43139 _pkg_short_errors_supported=yes
43140 else
43141 _pkg_short_errors_supported=no
43142 fi
43143 if test $_pkg_short_errors_supported = yes; then
43144 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43145 else
43146 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43147 fi
43148 # Put the nasty error message in config.log where it belongs
43149 echo "$HILDON_PKG_ERRORS" >&5
43150
43151
43152 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43153 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43154 wxUSE_LIBHILDON="no"
43155
43156
43157 elif test $pkg_failed = untried; then
43158
43159 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43160 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43161 wxUSE_LIBHILDON="no"
43162
43163
43164 else
43165 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43166 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43167 { echo "$as_me:$LINENO: result: yes" >&5
43168 echo "${ECHO_T}yes" >&6; }
43169
43170 EXTRALIBS_HILDON="$HILDON_LIBS"
43171 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43172 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43173 cat >>confdefs.h <<\_ACEOF
43174 #define wxUSE_LIBHILDON 1
43175 _ACEOF
43176
43177
43178 fi
43179 fi
43180 fi
43181
43182 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43183 cat >>confdefs.h <<\_ACEOF
43184 #define wxUSE_CMDLINE_PARSER 1
43185 _ACEOF
43186
43187 fi
43188
43189 if test "$wxUSE_STOPWATCH" = "yes"; then
43190 cat >>confdefs.h <<\_ACEOF
43191 #define wxUSE_STOPWATCH 1
43192 _ACEOF
43193
43194 fi
43195
43196 if test "$wxUSE_DATETIME" = "yes"; then
43197 cat >>confdefs.h <<\_ACEOF
43198 #define wxUSE_DATETIME 1
43199 _ACEOF
43200
43201 fi
43202
43203 if test "$wxUSE_FILE" = "yes"; then
43204 cat >>confdefs.h <<\_ACEOF
43205 #define wxUSE_FILE 1
43206 _ACEOF
43207
43208 fi
43209
43210 if test "$wxUSE_FFILE" = "yes"; then
43211 cat >>confdefs.h <<\_ACEOF
43212 #define wxUSE_FFILE 1
43213 _ACEOF
43214
43215 fi
43216
43217 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43218 if test "$wxUSE_STREAMS" != yes; then
43219 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43220 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43221 wxUSE_ARCHIVE_STREAMS=no
43222 else
43223 cat >>confdefs.h <<\_ACEOF
43224 #define wxUSE_ARCHIVE_STREAMS 1
43225 _ACEOF
43226
43227 fi
43228 fi
43229
43230 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43231 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43232 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43233 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43234 elif test "$wxUSE_ZLIB" = "no"; then
43235 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43236 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43237 else
43238 cat >>confdefs.h <<\_ACEOF
43239 #define wxUSE_ZIPSTREAM 1
43240 _ACEOF
43241
43242 fi
43243 fi
43244
43245 if test "$wxUSE_TARSTREAM" = "yes"; then
43246 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43247 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43248 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43249 else
43250 cat >>confdefs.h <<\_ACEOF
43251 #define wxUSE_TARSTREAM 1
43252 _ACEOF
43253
43254 fi
43255 fi
43256
43257 if test "$wxUSE_FILESYSTEM" = "yes"; then
43258 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43259 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43260 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43261 wxUSE_FILESYSTEM=no
43262 else
43263 cat >>confdefs.h <<\_ACEOF
43264 #define wxUSE_FILESYSTEM 1
43265 _ACEOF
43266
43267 fi
43268 fi
43269
43270 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43271 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43272 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43273 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43274 else
43275 cat >>confdefs.h <<\_ACEOF
43276 #define wxUSE_FS_ARCHIVE 1
43277 _ACEOF
43278
43279 fi
43280 fi
43281
43282 if test "$wxUSE_FS_ZIP" = "yes"; then
43283 if test "$wxUSE_FS_ARCHIVE" != yes; then
43284 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43285 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43286 else
43287 cat >>confdefs.h <<\_ACEOF
43288 #define wxUSE_FS_ZIP 1
43289 _ACEOF
43290
43291 fi
43292 fi
43293
43294 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43295 if test "$USE_UNIX" != 1; then
43296 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43297 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43298 wxUSE_ON_FATAL_EXCEPTION=no
43299 else
43300 cat >>confdefs.h <<\_ACEOF
43301 #define wxUSE_ON_FATAL_EXCEPTION 1
43302 _ACEOF
43303
43304 fi
43305 fi
43306
43307 if test "$wxUSE_STACKWALKER" = "yes"; then
43308 cat >>confdefs.h <<\_ACEOF
43309 #define wxUSE_STACKWALKER 1
43310 _ACEOF
43311
43312 fi
43313
43314 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43315 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43316 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43317 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43318 wxUSE_DEBUGREPORT=no
43319 else
43320 cat >>confdefs.h <<\_ACEOF
43321 #define wxUSE_DEBUGREPORT 1
43322 _ACEOF
43323
43324 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43325 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43326 fi
43327 fi
43328 fi
43329
43330 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43331 cat >>confdefs.h <<\_ACEOF
43332 #define wxUSE_SNGLINST_CHECKER 1
43333 _ACEOF
43334
43335 fi
43336
43337 if test "$wxUSE_BUSYINFO" = "yes"; then
43338 cat >>confdefs.h <<\_ACEOF
43339 #define wxUSE_BUSYINFO 1
43340 _ACEOF
43341
43342 fi
43343
43344 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43345 cat >>confdefs.h <<\_ACEOF
43346 #define wxUSE_STD_IOSTREAM 1
43347 _ACEOF
43348
43349 fi
43350
43351 if test "$wxUSE_STD_STRING" = "yes"; then
43352 cat >>confdefs.h <<\_ACEOF
43353 #define wxUSE_STD_STRING 1
43354 _ACEOF
43355
43356 fi
43357
43358 if test "$wxUSE_STDPATHS" = "yes"; then
43359 cat >>confdefs.h <<\_ACEOF
43360 #define wxUSE_STDPATHS 1
43361 _ACEOF
43362
43363 fi
43364
43365 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43366 cat >>confdefs.h <<\_ACEOF
43367 #define wxUSE_TEXTBUFFER 1
43368 _ACEOF
43369
43370 fi
43371
43372 if test "$wxUSE_TEXTFILE" = "yes"; then
43373 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43374 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43375 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43376 else
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_TEXTFILE 1
43379 _ACEOF
43380
43381 fi
43382 fi
43383
43384 if test "$wxUSE_CONFIG" = "yes" ; then
43385 if test "$wxUSE_TEXTFILE" != "yes"; then
43386 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43387 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43388 else
43389 cat >>confdefs.h <<\_ACEOF
43390 #define wxUSE_CONFIG 1
43391 _ACEOF
43392
43393 cat >>confdefs.h <<\_ACEOF
43394 #define wxUSE_CONFIG_NATIVE 1
43395 _ACEOF
43396
43397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43398 fi
43399 fi
43400
43401 if test "$wxUSE_INTL" = "yes" ; then
43402 if test "$wxUSE_FILE" != "yes"; then
43403 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43404 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43405 else
43406 cat >>confdefs.h <<\_ACEOF
43407 #define wxUSE_INTL 1
43408 _ACEOF
43409
43410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43411 GUIDIST="$GUIDIST INTL_DIST"
43412 fi
43413 fi
43414
43415 if test "$wxUSE_XLOCALE" = "yes" ; then
43416 cat >>confdefs.h <<\_ACEOF
43417 #define wxUSE_XLOCALE 1
43418 _ACEOF
43419
43420 { echo "$as_me:$LINENO: checking for locale_t" >&5
43421 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43422 if test "${ac_cv_type_locale_t+set}" = set; then
43423 echo $ECHO_N "(cached) $ECHO_C" >&6
43424 else
43425 cat >conftest.$ac_ext <<_ACEOF
43426 /* confdefs.h. */
43427 _ACEOF
43428 cat confdefs.h >>conftest.$ac_ext
43429 cat >>conftest.$ac_ext <<_ACEOF
43430 /* end confdefs.h. */
43431 #include <xlocale.h>
43432 #include <locale.h>
43433
43434 typedef locale_t ac__type_new_;
43435 int
43436 main ()
43437 {
43438 if ((ac__type_new_ *) 0)
43439 return 0;
43440 if (sizeof (ac__type_new_))
43441 return 0;
43442 ;
43443 return 0;
43444 }
43445 _ACEOF
43446 rm -f conftest.$ac_objext
43447 if { (ac_try="$ac_compile"
43448 case "(($ac_try" in
43449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43450 *) ac_try_echo=$ac_try;;
43451 esac
43452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43453 (eval "$ac_compile") 2>conftest.er1
43454 ac_status=$?
43455 grep -v '^ *+' conftest.er1 >conftest.err
43456 rm -f conftest.er1
43457 cat conftest.err >&5
43458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43459 (exit $ac_status); } && {
43460 test -z "$ac_c_werror_flag" ||
43461 test ! -s conftest.err
43462 } && test -s conftest.$ac_objext; then
43463 ac_cv_type_locale_t=yes
43464 else
43465 echo "$as_me: failed program was:" >&5
43466 sed 's/^/| /' conftest.$ac_ext >&5
43467
43468 ac_cv_type_locale_t=no
43469 fi
43470
43471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43472 fi
43473 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43474 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43475 if test $ac_cv_type_locale_t = yes; then
43476
43477 cat >>confdefs.h <<_ACEOF
43478 #define HAVE_LOCALE_T 1
43479 _ACEOF
43480
43481
43482 fi
43483
43484 fi
43485
43486 if test "$wxUSE_LOG" = "yes"; then
43487 cat >>confdefs.h <<\_ACEOF
43488 #define wxUSE_LOG 1
43489 _ACEOF
43490
43491
43492 if test "$wxUSE_LOGGUI" = "yes"; then
43493 cat >>confdefs.h <<\_ACEOF
43494 #define wxUSE_LOGGUI 1
43495 _ACEOF
43496
43497 fi
43498
43499 if test "$wxUSE_LOGWINDOW" = "yes"; then
43500 cat >>confdefs.h <<\_ACEOF
43501 #define wxUSE_LOGWINDOW 1
43502 _ACEOF
43503
43504 fi
43505
43506 if test "$wxUSE_LOGDIALOG" = "yes"; then
43507 cat >>confdefs.h <<\_ACEOF
43508 #define wxUSE_LOG_DIALOG 1
43509 _ACEOF
43510
43511 fi
43512
43513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43514 fi
43515
43516 if test "$wxUSE_LONGLONG" = "yes"; then
43517 cat >>confdefs.h <<\_ACEOF
43518 #define wxUSE_LONGLONG 1
43519 _ACEOF
43520
43521 fi
43522
43523 if test "$wxUSE_GEOMETRY" = "yes"; then
43524 cat >>confdefs.h <<\_ACEOF
43525 #define wxUSE_GEOMETRY 1
43526 _ACEOF
43527
43528 fi
43529
43530 if test "$wxUSE_BASE64" = "yes"; then
43531 cat >>confdefs.h <<\_ACEOF
43532 #define wxUSE_BASE64 1
43533 _ACEOF
43534
43535 fi
43536
43537 if test "$wxUSE_STREAMS" = "yes" ; then
43538 cat >>confdefs.h <<\_ACEOF
43539 #define wxUSE_STREAMS 1
43540 _ACEOF
43541
43542 fi
43543
43544 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43545 cat >>confdefs.h <<\_ACEOF
43546 #define wxUSE_PRINTF_POS_PARAMS 1
43547 _ACEOF
43548
43549 fi
43550
43551 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43552 cat >>confdefs.h <<\_ACEOF
43553 #define wxUSE_OBJC_UNIQUIFYING 1
43554 _ACEOF
43555
43556 fi
43557
43558
43559 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43560 cat >>confdefs.h <<\_ACEOF
43561 #define wxUSE_CONSOLE_EVENTLOOP 1
43562 _ACEOF
43563
43564
43565 if test "$wxUSE_UNIX" = "yes"; then
43566 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43567 cat >>confdefs.h <<\_ACEOF
43568 #define wxUSE_SELECT_DISPATCHER 1
43569 _ACEOF
43570
43571 fi
43572
43573 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43574
43575 for ac_header in sys/epoll.h
43576 do
43577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43578 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43581 echo $ECHO_N "(cached) $ECHO_C" >&6
43582 else
43583 cat >conftest.$ac_ext <<_ACEOF
43584 /* confdefs.h. */
43585 _ACEOF
43586 cat confdefs.h >>conftest.$ac_ext
43587 cat >>conftest.$ac_ext <<_ACEOF
43588 /* end confdefs.h. */
43589 $ac_includes_default
43590
43591 #include <$ac_header>
43592 _ACEOF
43593 rm -f conftest.$ac_objext
43594 if { (ac_try="$ac_compile"
43595 case "(($ac_try" in
43596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43597 *) ac_try_echo=$ac_try;;
43598 esac
43599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43600 (eval "$ac_compile") 2>conftest.er1
43601 ac_status=$?
43602 grep -v '^ *+' conftest.er1 >conftest.err
43603 rm -f conftest.er1
43604 cat conftest.err >&5
43605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43606 (exit $ac_status); } && {
43607 test -z "$ac_c_werror_flag" ||
43608 test ! -s conftest.err
43609 } && test -s conftest.$ac_objext; then
43610 eval "$as_ac_Header=yes"
43611 else
43612 echo "$as_me: failed program was:" >&5
43613 sed 's/^/| /' conftest.$ac_ext >&5
43614
43615 eval "$as_ac_Header=no"
43616 fi
43617
43618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43619 fi
43620 ac_res=`eval echo '${'$as_ac_Header'}'`
43621 { echo "$as_me:$LINENO: result: $ac_res" >&5
43622 echo "${ECHO_T}$ac_res" >&6; }
43623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43624 cat >>confdefs.h <<_ACEOF
43625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43626 _ACEOF
43627
43628 fi
43629
43630 done
43631
43632 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define wxUSE_EPOLL_DISPATCHER 1
43635 _ACEOF
43636
43637 else
43638 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43639 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43640 fi
43641 fi
43642 fi
43643 fi
43644
43645
43646
43647
43648 for ac_func in gettimeofday ftime
43649 do
43650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43653 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43654 echo $ECHO_N "(cached) $ECHO_C" >&6
43655 else
43656 cat >conftest.$ac_ext <<_ACEOF
43657 /* confdefs.h. */
43658 _ACEOF
43659 cat confdefs.h >>conftest.$ac_ext
43660 cat >>conftest.$ac_ext <<_ACEOF
43661 /* end confdefs.h. */
43662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43664 #define $ac_func innocuous_$ac_func
43665
43666 /* System header to define __stub macros and hopefully few prototypes,
43667 which can conflict with char $ac_func (); below.
43668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43669 <limits.h> exists even on freestanding compilers. */
43670
43671 #ifdef __STDC__
43672 # include <limits.h>
43673 #else
43674 # include <assert.h>
43675 #endif
43676
43677 #undef $ac_func
43678
43679 /* Override any GCC internal prototype to avoid an error.
43680 Use char because int might match the return type of a GCC
43681 builtin and then its argument prototype would still apply. */
43682 #ifdef __cplusplus
43683 extern "C"
43684 #endif
43685 char $ac_func ();
43686 /* The GNU C library defines this for functions which it implements
43687 to always fail with ENOSYS. Some functions are actually named
43688 something starting with __ and the normal name is an alias. */
43689 #if defined __stub_$ac_func || defined __stub___$ac_func
43690 choke me
43691 #endif
43692
43693 int
43694 main ()
43695 {
43696 return $ac_func ();
43697 ;
43698 return 0;
43699 }
43700 _ACEOF
43701 rm -f conftest.$ac_objext conftest$ac_exeext
43702 if { (ac_try="$ac_link"
43703 case "(($ac_try" in
43704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43705 *) ac_try_echo=$ac_try;;
43706 esac
43707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43708 (eval "$ac_link") 2>conftest.er1
43709 ac_status=$?
43710 grep -v '^ *+' conftest.er1 >conftest.err
43711 rm -f conftest.er1
43712 cat conftest.err >&5
43713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43714 (exit $ac_status); } && {
43715 test -z "$ac_c_werror_flag" ||
43716 test ! -s conftest.err
43717 } && test -s conftest$ac_exeext &&
43718 $as_test_x conftest$ac_exeext; then
43719 eval "$as_ac_var=yes"
43720 else
43721 echo "$as_me: failed program was:" >&5
43722 sed 's/^/| /' conftest.$ac_ext >&5
43723
43724 eval "$as_ac_var=no"
43725 fi
43726
43727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43728 conftest$ac_exeext conftest.$ac_ext
43729 fi
43730 ac_res=`eval echo '${'$as_ac_var'}'`
43731 { echo "$as_me:$LINENO: result: $ac_res" >&5
43732 echo "${ECHO_T}$ac_res" >&6; }
43733 if test `eval echo '${'$as_ac_var'}'` = yes; then
43734 cat >>confdefs.h <<_ACEOF
43735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43736 _ACEOF
43737 break
43738 fi
43739 done
43740
43741
43742 if test "$ac_cv_func_gettimeofday" = "yes"; then
43743 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43744 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43745 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43746 echo $ECHO_N "(cached) $ECHO_C" >&6
43747 else
43748
43749 cat >conftest.$ac_ext <<_ACEOF
43750 /* confdefs.h. */
43751 _ACEOF
43752 cat confdefs.h >>conftest.$ac_ext
43753 cat >>conftest.$ac_ext <<_ACEOF
43754 /* end confdefs.h. */
43755
43756 #include <sys/time.h>
43757 #include <unistd.h>
43758
43759 int
43760 main ()
43761 {
43762
43763 struct timeval tv;
43764 gettimeofday(&tv, NULL);
43765
43766 ;
43767 return 0;
43768 }
43769 _ACEOF
43770 rm -f conftest.$ac_objext
43771 if { (ac_try="$ac_compile"
43772 case "(($ac_try" in
43773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43774 *) ac_try_echo=$ac_try;;
43775 esac
43776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43777 (eval "$ac_compile") 2>conftest.er1
43778 ac_status=$?
43779 grep -v '^ *+' conftest.er1 >conftest.err
43780 rm -f conftest.er1
43781 cat conftest.err >&5
43782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43783 (exit $ac_status); } && {
43784 test -z "$ac_c_werror_flag" ||
43785 test ! -s conftest.err
43786 } && test -s conftest.$ac_objext; then
43787 wx_cv_func_gettimeofday_has_2_args=yes
43788 else
43789 echo "$as_me: failed program was:" >&5
43790 sed 's/^/| /' conftest.$ac_ext >&5
43791
43792 cat >conftest.$ac_ext <<_ACEOF
43793 /* confdefs.h. */
43794 _ACEOF
43795 cat confdefs.h >>conftest.$ac_ext
43796 cat >>conftest.$ac_ext <<_ACEOF
43797 /* end confdefs.h. */
43798
43799 #include <sys/time.h>
43800 #include <unistd.h>
43801
43802 int
43803 main ()
43804 {
43805
43806 struct timeval tv;
43807 gettimeofday(&tv);
43808
43809 ;
43810 return 0;
43811 }
43812 _ACEOF
43813 rm -f conftest.$ac_objext
43814 if { (ac_try="$ac_compile"
43815 case "(($ac_try" in
43816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43817 *) ac_try_echo=$ac_try;;
43818 esac
43819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43820 (eval "$ac_compile") 2>conftest.er1
43821 ac_status=$?
43822 grep -v '^ *+' conftest.er1 >conftest.err
43823 rm -f conftest.er1
43824 cat conftest.err >&5
43825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43826 (exit $ac_status); } && {
43827 test -z "$ac_c_werror_flag" ||
43828 test ! -s conftest.err
43829 } && test -s conftest.$ac_objext; then
43830 wx_cv_func_gettimeofday_has_2_args=no
43831 else
43832 echo "$as_me: failed program was:" >&5
43833 sed 's/^/| /' conftest.$ac_ext >&5
43834
43835
43836 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43837 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43838 wx_cv_func_gettimeofday_has_2_args=unknown
43839
43840
43841 fi
43842
43843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43844
43845 fi
43846
43847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43848
43849 fi
43850 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43851 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43852
43853 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43854 cat >>confdefs.h <<\_ACEOF
43855 #define WX_GETTIMEOFDAY_NO_TZ 1
43856 _ACEOF
43857
43858 fi
43859 fi
43860
43861 if test "$wxUSE_DATETIME" = "yes"; then
43862 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43863 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43864 if test "${wx_cv_var_timezone+set}" = set; then
43865 echo $ECHO_N "(cached) $ECHO_C" >&6
43866 else
43867
43868 ac_ext=cpp
43869 ac_cpp='$CXXCPP $CPPFLAGS'
43870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43873
43874 cat >conftest.$ac_ext <<_ACEOF
43875 /* confdefs.h. */
43876 _ACEOF
43877 cat confdefs.h >>conftest.$ac_ext
43878 cat >>conftest.$ac_ext <<_ACEOF
43879 /* end confdefs.h. */
43880
43881 #include <time.h>
43882
43883 int
43884 main ()
43885 {
43886
43887 int tz;
43888 tz = timezone;
43889
43890 ;
43891 return 0;
43892 }
43893 _ACEOF
43894 rm -f conftest.$ac_objext
43895 if { (ac_try="$ac_compile"
43896 case "(($ac_try" in
43897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43898 *) ac_try_echo=$ac_try;;
43899 esac
43900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43901 (eval "$ac_compile") 2>conftest.er1
43902 ac_status=$?
43903 grep -v '^ *+' conftest.er1 >conftest.err
43904 rm -f conftest.er1
43905 cat conftest.err >&5
43906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43907 (exit $ac_status); } && {
43908 test -z "$ac_cxx_werror_flag" ||
43909 test ! -s conftest.err
43910 } && test -s conftest.$ac_objext; then
43911
43912 wx_cv_var_timezone=timezone
43913
43914 else
43915 echo "$as_me: failed program was:" >&5
43916 sed 's/^/| /' conftest.$ac_ext >&5
43917
43918
43919 cat >conftest.$ac_ext <<_ACEOF
43920 /* confdefs.h. */
43921 _ACEOF
43922 cat confdefs.h >>conftest.$ac_ext
43923 cat >>conftest.$ac_ext <<_ACEOF
43924 /* end confdefs.h. */
43925
43926 #include <time.h>
43927
43928 int
43929 main ()
43930 {
43931
43932 int tz;
43933 tz = _timezone;
43934
43935 ;
43936 return 0;
43937 }
43938 _ACEOF
43939 rm -f conftest.$ac_objext
43940 if { (ac_try="$ac_compile"
43941 case "(($ac_try" in
43942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43943 *) ac_try_echo=$ac_try;;
43944 esac
43945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43946 (eval "$ac_compile") 2>conftest.er1
43947 ac_status=$?
43948 grep -v '^ *+' conftest.er1 >conftest.err
43949 rm -f conftest.er1
43950 cat conftest.err >&5
43951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43952 (exit $ac_status); } && {
43953 test -z "$ac_cxx_werror_flag" ||
43954 test ! -s conftest.err
43955 } && test -s conftest.$ac_objext; then
43956
43957 wx_cv_var_timezone=_timezone
43958
43959 else
43960 echo "$as_me: failed program was:" >&5
43961 sed 's/^/| /' conftest.$ac_ext >&5
43962
43963
43964 cat >conftest.$ac_ext <<_ACEOF
43965 /* confdefs.h. */
43966 _ACEOF
43967 cat confdefs.h >>conftest.$ac_ext
43968 cat >>conftest.$ac_ext <<_ACEOF
43969 /* end confdefs.h. */
43970
43971 #include <time.h>
43972
43973 int
43974 main ()
43975 {
43976
43977 int tz;
43978 tz = __timezone;
43979
43980 ;
43981 return 0;
43982 }
43983 _ACEOF
43984 rm -f conftest.$ac_objext
43985 if { (ac_try="$ac_compile"
43986 case "(($ac_try" in
43987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43988 *) ac_try_echo=$ac_try;;
43989 esac
43990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43991 (eval "$ac_compile") 2>conftest.er1
43992 ac_status=$?
43993 grep -v '^ *+' conftest.er1 >conftest.err
43994 rm -f conftest.er1
43995 cat conftest.err >&5
43996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43997 (exit $ac_status); } && {
43998 test -z "$ac_cxx_werror_flag" ||
43999 test ! -s conftest.err
44000 } && test -s conftest.$ac_objext; then
44001
44002 wx_cv_var_timezone=__timezone
44003
44004 else
44005 echo "$as_me: failed program was:" >&5
44006 sed 's/^/| /' conftest.$ac_ext >&5
44007
44008
44009 if test "$USE_DOS" = 0 ; then
44010 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44011 echo "$as_me: WARNING: no timezone variable" >&2;}
44012 fi
44013
44014
44015 fi
44016
44017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44018
44019
44020 fi
44021
44022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44023
44024
44025 fi
44026
44027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44028 ac_ext=c
44029 ac_cpp='$CPP $CPPFLAGS'
44030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44033
44034
44035
44036 fi
44037 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44038 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44039
44040 if test "x$wx_cv_var_timezone" != x ; then
44041 cat >>confdefs.h <<_ACEOF
44042 #define WX_TIMEZONE $wx_cv_var_timezone
44043 _ACEOF
44044
44045 fi
44046
44047
44048 for ac_func in localtime
44049 do
44050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44051 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44053 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44054 echo $ECHO_N "(cached) $ECHO_C" >&6
44055 else
44056 cat >conftest.$ac_ext <<_ACEOF
44057 /* confdefs.h. */
44058 _ACEOF
44059 cat confdefs.h >>conftest.$ac_ext
44060 cat >>conftest.$ac_ext <<_ACEOF
44061 /* end confdefs.h. */
44062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44064 #define $ac_func innocuous_$ac_func
44065
44066 /* System header to define __stub macros and hopefully few prototypes,
44067 which can conflict with char $ac_func (); below.
44068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44069 <limits.h> exists even on freestanding compilers. */
44070
44071 #ifdef __STDC__
44072 # include <limits.h>
44073 #else
44074 # include <assert.h>
44075 #endif
44076
44077 #undef $ac_func
44078
44079 /* Override any GCC internal prototype to avoid an error.
44080 Use char because int might match the return type of a GCC
44081 builtin and then its argument prototype would still apply. */
44082 #ifdef __cplusplus
44083 extern "C"
44084 #endif
44085 char $ac_func ();
44086 /* The GNU C library defines this for functions which it implements
44087 to always fail with ENOSYS. Some functions are actually named
44088 something starting with __ and the normal name is an alias. */
44089 #if defined __stub_$ac_func || defined __stub___$ac_func
44090 choke me
44091 #endif
44092
44093 int
44094 main ()
44095 {
44096 return $ac_func ();
44097 ;
44098 return 0;
44099 }
44100 _ACEOF
44101 rm -f conftest.$ac_objext conftest$ac_exeext
44102 if { (ac_try="$ac_link"
44103 case "(($ac_try" in
44104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44105 *) ac_try_echo=$ac_try;;
44106 esac
44107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44108 (eval "$ac_link") 2>conftest.er1
44109 ac_status=$?
44110 grep -v '^ *+' conftest.er1 >conftest.err
44111 rm -f conftest.er1
44112 cat conftest.err >&5
44113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44114 (exit $ac_status); } && {
44115 test -z "$ac_c_werror_flag" ||
44116 test ! -s conftest.err
44117 } && test -s conftest$ac_exeext &&
44118 $as_test_x conftest$ac_exeext; then
44119 eval "$as_ac_var=yes"
44120 else
44121 echo "$as_me: failed program was:" >&5
44122 sed 's/^/| /' conftest.$ac_ext >&5
44123
44124 eval "$as_ac_var=no"
44125 fi
44126
44127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44128 conftest$ac_exeext conftest.$ac_ext
44129 fi
44130 ac_res=`eval echo '${'$as_ac_var'}'`
44131 { echo "$as_me:$LINENO: result: $ac_res" >&5
44132 echo "${ECHO_T}$ac_res" >&6; }
44133 if test `eval echo '${'$as_ac_var'}'` = yes; then
44134 cat >>confdefs.h <<_ACEOF
44135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44136 _ACEOF
44137
44138 fi
44139 done
44140
44141
44142 if test "$ac_cv_func_localtime" = "yes"; then
44143 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44144 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44145 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44146 echo $ECHO_N "(cached) $ECHO_C" >&6
44147 else
44148
44149 cat >conftest.$ac_ext <<_ACEOF
44150 /* confdefs.h. */
44151 _ACEOF
44152 cat confdefs.h >>conftest.$ac_ext
44153 cat >>conftest.$ac_ext <<_ACEOF
44154 /* end confdefs.h. */
44155
44156 #include <time.h>
44157
44158 int
44159 main ()
44160 {
44161
44162 struct tm tm;
44163 tm.tm_gmtoff++;
44164
44165 ;
44166 return 0;
44167 }
44168 _ACEOF
44169 rm -f conftest.$ac_objext
44170 if { (ac_try="$ac_compile"
44171 case "(($ac_try" in
44172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44173 *) ac_try_echo=$ac_try;;
44174 esac
44175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44176 (eval "$ac_compile") 2>conftest.er1
44177 ac_status=$?
44178 grep -v '^ *+' conftest.er1 >conftest.err
44179 rm -f conftest.er1
44180 cat conftest.err >&5
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); } && {
44183 test -z "$ac_c_werror_flag" ||
44184 test ! -s conftest.err
44185 } && test -s conftest.$ac_objext; then
44186
44187 wx_cv_struct_tm_has_gmtoff=yes
44188
44189 else
44190 echo "$as_me: failed program was:" >&5
44191 sed 's/^/| /' conftest.$ac_ext >&5
44192
44193 wx_cv_struct_tm_has_gmtoff=no
44194
44195 fi
44196
44197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44198
44199 fi
44200 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44201 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44202 fi
44203
44204 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44205 cat >>confdefs.h <<\_ACEOF
44206 #define WX_GMTOFF_IN_TM 1
44207 _ACEOF
44208
44209 fi
44210
44211 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44212 fi
44213
44214
44215 if test "$wxUSE_SOCKETS" = "yes"; then
44216 if test "$wxUSE_MGL" = 1; then
44217 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44218 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44219 wxUSE_SOCKETS="no"
44220 fi
44221 fi
44222
44223 if test "$wxUSE_SOCKETS" = "yes"; then
44224 if test "$TOOLKIT" != "MSW"; then
44225 { echo "$as_me:$LINENO: checking for socket" >&5
44226 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44227 if test "${ac_cv_func_socket+set}" = set; then
44228 echo $ECHO_N "(cached) $ECHO_C" >&6
44229 else
44230 cat >conftest.$ac_ext <<_ACEOF
44231 /* confdefs.h. */
44232 _ACEOF
44233 cat confdefs.h >>conftest.$ac_ext
44234 cat >>conftest.$ac_ext <<_ACEOF
44235 /* end confdefs.h. */
44236 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44238 #define socket innocuous_socket
44239
44240 /* System header to define __stub macros and hopefully few prototypes,
44241 which can conflict with char socket (); below.
44242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44243 <limits.h> exists even on freestanding compilers. */
44244
44245 #ifdef __STDC__
44246 # include <limits.h>
44247 #else
44248 # include <assert.h>
44249 #endif
44250
44251 #undef socket
44252
44253 /* Override any GCC internal prototype to avoid an error.
44254 Use char because int might match the return type of a GCC
44255 builtin and then its argument prototype would still apply. */
44256 #ifdef __cplusplus
44257 extern "C"
44258 #endif
44259 char socket ();
44260 /* The GNU C library defines this for functions which it implements
44261 to always fail with ENOSYS. Some functions are actually named
44262 something starting with __ and the normal name is an alias. */
44263 #if defined __stub_socket || defined __stub___socket
44264 choke me
44265 #endif
44266
44267 int
44268 main ()
44269 {
44270 return socket ();
44271 ;
44272 return 0;
44273 }
44274 _ACEOF
44275 rm -f conftest.$ac_objext conftest$ac_exeext
44276 if { (ac_try="$ac_link"
44277 case "(($ac_try" in
44278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44279 *) ac_try_echo=$ac_try;;
44280 esac
44281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44282 (eval "$ac_link") 2>conftest.er1
44283 ac_status=$?
44284 grep -v '^ *+' conftest.er1 >conftest.err
44285 rm -f conftest.er1
44286 cat conftest.err >&5
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); } && {
44289 test -z "$ac_c_werror_flag" ||
44290 test ! -s conftest.err
44291 } && test -s conftest$ac_exeext &&
44292 $as_test_x conftest$ac_exeext; then
44293 ac_cv_func_socket=yes
44294 else
44295 echo "$as_me: failed program was:" >&5
44296 sed 's/^/| /' conftest.$ac_ext >&5
44297
44298 ac_cv_func_socket=no
44299 fi
44300
44301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44302 conftest$ac_exeext conftest.$ac_ext
44303 fi
44304 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44305 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44306 if test $ac_cv_func_socket = yes; then
44307 :
44308 else
44309
44310 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44311 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44312 if test "${ac_cv_lib_socket_socket+set}" = set; then
44313 echo $ECHO_N "(cached) $ECHO_C" >&6
44314 else
44315 ac_check_lib_save_LIBS=$LIBS
44316 LIBS="-lsocket $LIBS"
44317 cat >conftest.$ac_ext <<_ACEOF
44318 /* confdefs.h. */
44319 _ACEOF
44320 cat confdefs.h >>conftest.$ac_ext
44321 cat >>conftest.$ac_ext <<_ACEOF
44322 /* end confdefs.h. */
44323
44324 /* Override any GCC internal prototype to avoid an error.
44325 Use char because int might match the return type of a GCC
44326 builtin and then its argument prototype would still apply. */
44327 #ifdef __cplusplus
44328 extern "C"
44329 #endif
44330 char socket ();
44331 int
44332 main ()
44333 {
44334 return socket ();
44335 ;
44336 return 0;
44337 }
44338 _ACEOF
44339 rm -f conftest.$ac_objext conftest$ac_exeext
44340 if { (ac_try="$ac_link"
44341 case "(($ac_try" in
44342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44343 *) ac_try_echo=$ac_try;;
44344 esac
44345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44346 (eval "$ac_link") 2>conftest.er1
44347 ac_status=$?
44348 grep -v '^ *+' conftest.er1 >conftest.err
44349 rm -f conftest.er1
44350 cat conftest.err >&5
44351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44352 (exit $ac_status); } && {
44353 test -z "$ac_c_werror_flag" ||
44354 test ! -s conftest.err
44355 } && test -s conftest$ac_exeext &&
44356 $as_test_x conftest$ac_exeext; then
44357 ac_cv_lib_socket_socket=yes
44358 else
44359 echo "$as_me: failed program was:" >&5
44360 sed 's/^/| /' conftest.$ac_ext >&5
44361
44362 ac_cv_lib_socket_socket=no
44363 fi
44364
44365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44366 conftest$ac_exeext conftest.$ac_ext
44367 LIBS=$ac_check_lib_save_LIBS
44368 fi
44369 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44370 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44371 if test $ac_cv_lib_socket_socket = yes; then
44372 if test "$INET_LINK" != " -lsocket"; then
44373 INET_LINK="$INET_LINK -lsocket"
44374 fi
44375 else
44376
44377 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44378 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44379 wxUSE_SOCKETS=no
44380
44381
44382 fi
44383
44384
44385
44386 fi
44387
44388 fi
44389 fi
44390
44391 if test "$wxUSE_SOCKETS" = "yes" ; then
44392 if test "$TOOLKIT" != "MSW"; then
44393 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44394 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44395 if test "${wx_cv_type_getsockname3+set}" = set; then
44396 echo $ECHO_N "(cached) $ECHO_C" >&6
44397 else
44398
44399 ac_ext=cpp
44400 ac_cpp='$CXXCPP $CPPFLAGS'
44401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44404
44405 cat >conftest.$ac_ext <<_ACEOF
44406 /* confdefs.h. */
44407 _ACEOF
44408 cat confdefs.h >>conftest.$ac_ext
44409 cat >>conftest.$ac_ext <<_ACEOF
44410 /* end confdefs.h. */
44411
44412 #include <sys/types.h>
44413 #include <sys/socket.h>
44414
44415 int
44416 main ()
44417 {
44418
44419 socklen_t len;
44420 getsockname(0, 0, &len);
44421
44422 ;
44423 return 0;
44424 }
44425 _ACEOF
44426 rm -f conftest.$ac_objext
44427 if { (ac_try="$ac_compile"
44428 case "(($ac_try" in
44429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44430 *) ac_try_echo=$ac_try;;
44431 esac
44432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44433 (eval "$ac_compile") 2>conftest.er1
44434 ac_status=$?
44435 grep -v '^ *+' conftest.er1 >conftest.err
44436 rm -f conftest.er1
44437 cat conftest.err >&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } && {
44440 test -z "$ac_cxx_werror_flag" ||
44441 test ! -s conftest.err
44442 } && test -s conftest.$ac_objext; then
44443 wx_cv_type_getsockname3=socklen_t
44444 else
44445 echo "$as_me: failed program was:" >&5
44446 sed 's/^/| /' conftest.$ac_ext >&5
44447
44448
44449 CFLAGS_OLD="$CFLAGS"
44450 if test "$GCC" = yes ; then
44451 CFLAGS="-Werror $CFLAGS"
44452 fi
44453
44454 cat >conftest.$ac_ext <<_ACEOF
44455 /* confdefs.h. */
44456 _ACEOF
44457 cat confdefs.h >>conftest.$ac_ext
44458 cat >>conftest.$ac_ext <<_ACEOF
44459 /* end confdefs.h. */
44460
44461 #include <sys/types.h>
44462 #include <sys/socket.h>
44463
44464 int
44465 main ()
44466 {
44467
44468 size_t len;
44469 getsockname(0, 0, &len);
44470
44471 ;
44472 return 0;
44473 }
44474 _ACEOF
44475 rm -f conftest.$ac_objext
44476 if { (ac_try="$ac_compile"
44477 case "(($ac_try" in
44478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44479 *) ac_try_echo=$ac_try;;
44480 esac
44481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44482 (eval "$ac_compile") 2>conftest.er1
44483 ac_status=$?
44484 grep -v '^ *+' conftest.er1 >conftest.err
44485 rm -f conftest.er1
44486 cat conftest.err >&5
44487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44488 (exit $ac_status); } && {
44489 test -z "$ac_cxx_werror_flag" ||
44490 test ! -s conftest.err
44491 } && test -s conftest.$ac_objext; then
44492 wx_cv_type_getsockname3=size_t
44493 else
44494 echo "$as_me: failed program was:" >&5
44495 sed 's/^/| /' conftest.$ac_ext >&5
44496
44497 cat >conftest.$ac_ext <<_ACEOF
44498 /* confdefs.h. */
44499 _ACEOF
44500 cat confdefs.h >>conftest.$ac_ext
44501 cat >>conftest.$ac_ext <<_ACEOF
44502 /* end confdefs.h. */
44503
44504 #include <sys/types.h>
44505 #include <sys/socket.h>
44506
44507 int
44508 main ()
44509 {
44510
44511 int len;
44512 getsockname(0, 0, &len);
44513
44514 ;
44515 return 0;
44516 }
44517 _ACEOF
44518 rm -f conftest.$ac_objext
44519 if { (ac_try="$ac_compile"
44520 case "(($ac_try" in
44521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44522 *) ac_try_echo=$ac_try;;
44523 esac
44524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44525 (eval "$ac_compile") 2>conftest.er1
44526 ac_status=$?
44527 grep -v '^ *+' conftest.er1 >conftest.err
44528 rm -f conftest.er1
44529 cat conftest.err >&5
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); } && {
44532 test -z "$ac_cxx_werror_flag" ||
44533 test ! -s conftest.err
44534 } && test -s conftest.$ac_objext; then
44535 wx_cv_type_getsockname3=int
44536 else
44537 echo "$as_me: failed program was:" >&5
44538 sed 's/^/| /' conftest.$ac_ext >&5
44539
44540 wx_cv_type_getsockname3=unknown
44541
44542 fi
44543
44544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44545
44546 fi
44547
44548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44549
44550 CFLAGS="$CFLAGS_OLD"
44551
44552
44553 fi
44554
44555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44556 ac_ext=c
44557 ac_cpp='$CPP $CPPFLAGS'
44558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44561
44562
44563 fi
44564 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44565 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44566
44567 if test "$wx_cv_type_getsockname3" = "unknown"; then
44568 wxUSE_SOCKETS=no
44569 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44570 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44571 else
44572 cat >>confdefs.h <<_ACEOF
44573 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44574 _ACEOF
44575
44576 fi
44577 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44578 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44579 if test "${wx_cv_type_getsockopt5+set}" = set; then
44580 echo $ECHO_N "(cached) $ECHO_C" >&6
44581 else
44582
44583 ac_ext=cpp
44584 ac_cpp='$CXXCPP $CPPFLAGS'
44585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44588
44589 cat >conftest.$ac_ext <<_ACEOF
44590 /* confdefs.h. */
44591 _ACEOF
44592 cat confdefs.h >>conftest.$ac_ext
44593 cat >>conftest.$ac_ext <<_ACEOF
44594 /* end confdefs.h. */
44595
44596 #include <sys/types.h>
44597 #include <sys/socket.h>
44598
44599 int
44600 main ()
44601 {
44602
44603 socklen_t len;
44604 getsockopt(0, 0, 0, 0, &len);
44605
44606 ;
44607 return 0;
44608 }
44609 _ACEOF
44610 rm -f conftest.$ac_objext
44611 if { (ac_try="$ac_compile"
44612 case "(($ac_try" in
44613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44614 *) ac_try_echo=$ac_try;;
44615 esac
44616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44617 (eval "$ac_compile") 2>conftest.er1
44618 ac_status=$?
44619 grep -v '^ *+' conftest.er1 >conftest.err
44620 rm -f conftest.er1
44621 cat conftest.err >&5
44622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44623 (exit $ac_status); } && {
44624 test -z "$ac_cxx_werror_flag" ||
44625 test ! -s conftest.err
44626 } && test -s conftest.$ac_objext; then
44627 wx_cv_type_getsockopt5=socklen_t
44628 else
44629 echo "$as_me: failed program was:" >&5
44630 sed 's/^/| /' conftest.$ac_ext >&5
44631
44632
44633 cat >conftest.$ac_ext <<_ACEOF
44634 /* confdefs.h. */
44635 _ACEOF
44636 cat confdefs.h >>conftest.$ac_ext
44637 cat >>conftest.$ac_ext <<_ACEOF
44638 /* end confdefs.h. */
44639
44640 #include <sys/types.h>
44641 #include <sys/socket.h>
44642
44643 int
44644 main ()
44645 {
44646
44647 size_t len;
44648 getsockopt(0, 0, 0, 0, &len);
44649
44650 ;
44651 return 0;
44652 }
44653 _ACEOF
44654 rm -f conftest.$ac_objext
44655 if { (ac_try="$ac_compile"
44656 case "(($ac_try" in
44657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44658 *) ac_try_echo=$ac_try;;
44659 esac
44660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44661 (eval "$ac_compile") 2>conftest.er1
44662 ac_status=$?
44663 grep -v '^ *+' conftest.er1 >conftest.err
44664 rm -f conftest.er1
44665 cat conftest.err >&5
44666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44667 (exit $ac_status); } && {
44668 test -z "$ac_cxx_werror_flag" ||
44669 test ! -s conftest.err
44670 } && test -s conftest.$ac_objext; then
44671 wx_cv_type_getsockopt5=size_t
44672 else
44673 echo "$as_me: failed program was:" >&5
44674 sed 's/^/| /' conftest.$ac_ext >&5
44675
44676 cat >conftest.$ac_ext <<_ACEOF
44677 /* confdefs.h. */
44678 _ACEOF
44679 cat confdefs.h >>conftest.$ac_ext
44680 cat >>conftest.$ac_ext <<_ACEOF
44681 /* end confdefs.h. */
44682
44683 #include <sys/types.h>
44684 #include <sys/socket.h>
44685
44686 int
44687 main ()
44688 {
44689
44690 int len;
44691 getsockopt(0, 0, 0, 0, &len);
44692
44693 ;
44694 return 0;
44695 }
44696 _ACEOF
44697 rm -f conftest.$ac_objext
44698 if { (ac_try="$ac_compile"
44699 case "(($ac_try" in
44700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44701 *) ac_try_echo=$ac_try;;
44702 esac
44703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44704 (eval "$ac_compile") 2>conftest.er1
44705 ac_status=$?
44706 grep -v '^ *+' conftest.er1 >conftest.err
44707 rm -f conftest.er1
44708 cat conftest.err >&5
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); } && {
44711 test -z "$ac_cxx_werror_flag" ||
44712 test ! -s conftest.err
44713 } && test -s conftest.$ac_objext; then
44714 wx_cv_type_getsockopt5=int
44715 else
44716 echo "$as_me: failed program was:" >&5
44717 sed 's/^/| /' conftest.$ac_ext >&5
44718
44719 wx_cv_type_getsockopt5=unknown
44720
44721 fi
44722
44723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44724
44725 fi
44726
44727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44728
44729
44730 fi
44731
44732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44733 ac_ext=c
44734 ac_cpp='$CPP $CPPFLAGS'
44735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44738
44739
44740 fi
44741 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44742 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44743
44744 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44745 wxUSE_SOCKETS=no
44746 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44747 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44748 else
44749 cat >>confdefs.h <<_ACEOF
44750 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44751 _ACEOF
44752
44753 fi
44754 fi
44755 fi
44756
44757 if test "$wxUSE_SOCKETS" = "yes" ; then
44758 if test "$wxUSE_IPV6" = "yes"; then
44759 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44760 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44761 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44762 echo $ECHO_N "(cached) $ECHO_C" >&6
44763 else
44764
44765 cat >conftest.$ac_ext <<_ACEOF
44766 /* confdefs.h. */
44767 _ACEOF
44768 cat confdefs.h >>conftest.$ac_ext
44769 cat >>conftest.$ac_ext <<_ACEOF
44770 /* end confdefs.h. */
44771
44772 #include <sys/types.h>
44773 #include <sys/socket.h>
44774 #include <netinet/in.h>
44775
44776 int
44777 main ()
44778 {
44779
44780 struct sockaddr_in6 sa6;
44781
44782 ;
44783 return 0;
44784 }
44785 _ACEOF
44786 rm -f conftest.$ac_objext
44787 if { (ac_try="$ac_compile"
44788 case "(($ac_try" in
44789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44790 *) ac_try_echo=$ac_try;;
44791 esac
44792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44793 (eval "$ac_compile") 2>conftest.er1
44794 ac_status=$?
44795 grep -v '^ *+' conftest.er1 >conftest.err
44796 rm -f conftest.er1
44797 cat conftest.err >&5
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); } && {
44800 test -z "$ac_c_werror_flag" ||
44801 test ! -s conftest.err
44802 } && test -s conftest.$ac_objext; then
44803 wx_cv_type_sockaddr_in6=yes
44804 else
44805 echo "$as_me: failed program was:" >&5
44806 sed 's/^/| /' conftest.$ac_ext >&5
44807
44808 wx_cv_type_sockaddr_in6=no
44809
44810 fi
44811
44812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44813
44814
44815 fi
44816 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44817 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44818
44819 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44820 cat >>confdefs.h <<\_ACEOF
44821 #define wxUSE_IPV6 1
44822 _ACEOF
44823
44824 else
44825 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44826 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44827 fi
44828 fi
44829
44830 cat >>confdefs.h <<\_ACEOF
44831 #define wxUSE_SOCKETS 1
44832 _ACEOF
44833
44834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44835 fi
44836
44837 if test "$wxUSE_PROTOCOL" = "yes"; then
44838 if test "$wxUSE_SOCKETS" != "yes"; then
44839 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44840 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44841 wxUSE_PROTOCOL=no
44842 fi
44843 fi
44844
44845 if test "$wxUSE_PROTOCOL" = "yes"; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_PROTOCOL 1
44848 _ACEOF
44849
44850
44851 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44852 cat >>confdefs.h <<\_ACEOF
44853 #define wxUSE_PROTOCOL_HTTP 1
44854 _ACEOF
44855
44856 fi
44857 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44858 cat >>confdefs.h <<\_ACEOF
44859 #define wxUSE_PROTOCOL_FTP 1
44860 _ACEOF
44861
44862 fi
44863 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44864 cat >>confdefs.h <<\_ACEOF
44865 #define wxUSE_PROTOCOL_FILE 1
44866 _ACEOF
44867
44868 fi
44869 else
44870 if test "$wxUSE_FS_INET" = "yes"; then
44871 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44872 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44873 wxUSE_FS_INET="no"
44874 fi
44875 fi
44876
44877 if test "$wxUSE_URL" = "yes"; then
44878 if test "$wxUSE_PROTOCOL" != "yes"; then
44879 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44880 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44881 wxUSE_URL=no
44882 fi
44883 if test "$wxUSE_URL" = "yes"; then
44884 cat >>confdefs.h <<\_ACEOF
44885 #define wxUSE_URL 1
44886 _ACEOF
44887
44888 fi
44889 fi
44890
44891 if test "$wxUSE_VARIANT" = "yes"; then
44892 cat >>confdefs.h <<\_ACEOF
44893 #define wxUSE_VARIANT 1
44894 _ACEOF
44895
44896 fi
44897
44898 if test "$wxUSE_FS_INET" = "yes"; then
44899 cat >>confdefs.h <<\_ACEOF
44900 #define wxUSE_FS_INET 1
44901 _ACEOF
44902
44903 fi
44904
44905
44906 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44907 wxUSE_JOYSTICK=no
44908
44909 if test "$TOOLKIT" = "MSW"; then
44910 wxUSE_JOYSTICK=yes
44911
44912 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44913 if test "$USE_DARWIN" = 1; then
44914 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44915 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44916 ac_ext=cpp
44917 ac_cpp='$CXXCPP $CPPFLAGS'
44918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44921
44922 cat >conftest.$ac_ext <<_ACEOF
44923 /* confdefs.h. */
44924 _ACEOF
44925 cat confdefs.h >>conftest.$ac_ext
44926 cat >>conftest.$ac_ext <<_ACEOF
44927 /* end confdefs.h. */
44928 #include <IOKit/hid/IOHIDLib.h>
44929 int
44930 main ()
44931 {
44932 IOHIDQueueInterface *qi = NULL;
44933 IOHIDCallbackFunction cb = NULL;
44934 qi->setEventCallout(NULL, cb, NULL, NULL);
44935 ;
44936 return 0;
44937 }
44938 _ACEOF
44939 rm -f conftest.$ac_objext
44940 if { (ac_try="$ac_compile"
44941 case "(($ac_try" in
44942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44943 *) ac_try_echo=$ac_try;;
44944 esac
44945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44946 (eval "$ac_compile") 2>conftest.er1
44947 ac_status=$?
44948 grep -v '^ *+' conftest.er1 >conftest.err
44949 rm -f conftest.er1
44950 cat conftest.err >&5
44951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44952 (exit $ac_status); } && {
44953 test -z "$ac_cxx_werror_flag" ||
44954 test ! -s conftest.err
44955 } && test -s conftest.$ac_objext; then
44956 wxUSE_JOYSTICK=yes
44957
44958 else
44959 echo "$as_me: failed program was:" >&5
44960 sed 's/^/| /' conftest.$ac_ext >&5
44961
44962
44963 fi
44964
44965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44966 ac_ext=c
44967 ac_cpp='$CPP $CPPFLAGS'
44968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44971
44972 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44973 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44974 fi
44975
44976 else
44977 if test "$wxUSE_MGL" != 1; then
44978
44979 for ac_header in linux/joystick.h
44980 do
44981 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44982 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44984 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44985 echo $ECHO_N "(cached) $ECHO_C" >&6
44986 else
44987 cat >conftest.$ac_ext <<_ACEOF
44988 /* confdefs.h. */
44989 _ACEOF
44990 cat confdefs.h >>conftest.$ac_ext
44991 cat >>conftest.$ac_ext <<_ACEOF
44992 /* end confdefs.h. */
44993 $ac_includes_default
44994
44995 #include <$ac_header>
44996 _ACEOF
44997 rm -f conftest.$ac_objext
44998 if { (ac_try="$ac_compile"
44999 case "(($ac_try" in
45000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45001 *) ac_try_echo=$ac_try;;
45002 esac
45003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45004 (eval "$ac_compile") 2>conftest.er1
45005 ac_status=$?
45006 grep -v '^ *+' conftest.er1 >conftest.err
45007 rm -f conftest.er1
45008 cat conftest.err >&5
45009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45010 (exit $ac_status); } && {
45011 test -z "$ac_c_werror_flag" ||
45012 test ! -s conftest.err
45013 } && test -s conftest.$ac_objext; then
45014 eval "$as_ac_Header=yes"
45015 else
45016 echo "$as_me: failed program was:" >&5
45017 sed 's/^/| /' conftest.$ac_ext >&5
45018
45019 eval "$as_ac_Header=no"
45020 fi
45021
45022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45023 fi
45024 ac_res=`eval echo '${'$as_ac_Header'}'`
45025 { echo "$as_me:$LINENO: result: $ac_res" >&5
45026 echo "${ECHO_T}$ac_res" >&6; }
45027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45028 cat >>confdefs.h <<_ACEOF
45029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45030 _ACEOF
45031 wxUSE_JOYSTICK=yes
45032 fi
45033
45034 done
45035
45036 fi
45037 fi
45038
45039 if test "$wxUSE_JOYSTICK" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_JOYSTICK 1
45042 _ACEOF
45043
45044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45045 else
45046 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45047 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45048 fi
45049 fi
45050
45051
45052
45053 if test "$wxUSE_FONTENUM" = "yes" ; then
45054 cat >>confdefs.h <<\_ACEOF
45055 #define wxUSE_FONTENUM 1
45056 _ACEOF
45057
45058 fi
45059
45060 if test "$wxUSE_FONTMAP" = "yes" ; then
45061 cat >>confdefs.h <<\_ACEOF
45062 #define wxUSE_FONTMAP 1
45063 _ACEOF
45064
45065 fi
45066
45067 if test "$wxUSE_UNICODE" = "yes" ; then
45068 cat >>confdefs.h <<\_ACEOF
45069 #define wxUSE_UNICODE 1
45070 _ACEOF
45071
45072
45073 if test "$USE_WIN32" != 1; then
45074 wxUSE_UNICODE_MSLU=no
45075 fi
45076
45077 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45078 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45079 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45080 if test "${ac_cv_lib_unicows_main+set}" = set; then
45081 echo $ECHO_N "(cached) $ECHO_C" >&6
45082 else
45083 ac_check_lib_save_LIBS=$LIBS
45084 LIBS="-lunicows $LIBS"
45085 cat >conftest.$ac_ext <<_ACEOF
45086 /* confdefs.h. */
45087 _ACEOF
45088 cat confdefs.h >>conftest.$ac_ext
45089 cat >>conftest.$ac_ext <<_ACEOF
45090 /* end confdefs.h. */
45091
45092
45093 int
45094 main ()
45095 {
45096 return main ();
45097 ;
45098 return 0;
45099 }
45100 _ACEOF
45101 rm -f conftest.$ac_objext conftest$ac_exeext
45102 if { (ac_try="$ac_link"
45103 case "(($ac_try" in
45104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45105 *) ac_try_echo=$ac_try;;
45106 esac
45107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45108 (eval "$ac_link") 2>conftest.er1
45109 ac_status=$?
45110 grep -v '^ *+' conftest.er1 >conftest.err
45111 rm -f conftest.er1
45112 cat conftest.err >&5
45113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45114 (exit $ac_status); } && {
45115 test -z "$ac_c_werror_flag" ||
45116 test ! -s conftest.err
45117 } && test -s conftest$ac_exeext &&
45118 $as_test_x conftest$ac_exeext; then
45119 ac_cv_lib_unicows_main=yes
45120 else
45121 echo "$as_me: failed program was:" >&5
45122 sed 's/^/| /' conftest.$ac_ext >&5
45123
45124 ac_cv_lib_unicows_main=no
45125 fi
45126
45127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45128 conftest$ac_exeext conftest.$ac_ext
45129 LIBS=$ac_check_lib_save_LIBS
45130 fi
45131 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45132 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45133 if test $ac_cv_lib_unicows_main = yes; then
45134
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_UNICODE_MSLU 1
45137 _ACEOF
45138
45139
45140 else
45141
45142 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45143 Applications will only run on Windows NT/2000/XP!" >&5
45144 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45145 Applications will only run on Windows NT/2000/XP!" >&2;}
45146 wxUSE_UNICODE_MSLU=no
45147
45148 fi
45149
45150 fi
45151 fi
45152
45153 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45154 cat >>confdefs.h <<\_ACEOF
45155 #define wxUSE_UNICODE_UTF8 1
45156 _ACEOF
45157
45158
45159 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45160 cat >>confdefs.h <<\_ACEOF
45161 #define wxUSE_UTF8_LOCALE_ONLY 1
45162 _ACEOF
45163
45164 fi
45165 fi
45166
45167
45168 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45169 cat >>confdefs.h <<\_ACEOF
45170 #define wxUSE_CONSTRAINTS 1
45171 _ACEOF
45172
45173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45174 fi
45175
45176 if test "$wxUSE_MDI" = "yes"; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_MDI 1
45179 _ACEOF
45180
45181
45182 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45183 cat >>confdefs.h <<\_ACEOF
45184 #define wxUSE_MDI_ARCHITECTURE 1
45185 _ACEOF
45186
45187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45188 fi
45189 fi
45190
45191 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45192 cat >>confdefs.h <<\_ACEOF
45193 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45194 _ACEOF
45195
45196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45197 fi
45198
45199 if test "$wxUSE_HELP" = "yes"; then
45200 cat >>confdefs.h <<\_ACEOF
45201 #define wxUSE_HELP 1
45202 _ACEOF
45203
45204 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45205
45206 if test "$wxUSE_MSW" = 1; then
45207 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_MS_HTML_HELP 1
45210 _ACEOF
45211
45212 fi
45213 fi
45214
45215 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45216 if test "$wxUSE_HTML" = "yes"; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_WXHTML_HELP 1
45219 _ACEOF
45220
45221 else
45222 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45223 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45224 wxUSE_WXHTML_HELP=no
45225 fi
45226 fi
45227 fi
45228
45229 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45230 cat >>confdefs.h <<\_ACEOF
45231 #define wxUSE_PRINTING_ARCHITECTURE 1
45232 _ACEOF
45233
45234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45235 fi
45236
45237 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_POSTSCRIPT 1
45240 _ACEOF
45241
45242 fi
45243
45244 cat >>confdefs.h <<\_ACEOF
45245 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45246 _ACEOF
45247
45248
45249 if test "$wxUSE_SVG" = "yes"; then
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_SVG 1
45252 _ACEOF
45253
45254 fi
45255
45256
45257 if test "$wxUSE_METAFILE" = "yes"; then
45258 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45259 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45260 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45261 wxUSE_METAFILE=no
45262 fi
45263 fi
45264
45265
45266 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45267 -o "$wxUSE_CLIPBOARD" = "yes" \
45268 -o "$wxUSE_OLE" = "yes" \
45269 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45270 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45271 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45272 if test "${ac_cv_header_ole2_h+set}" = set; then
45273 echo $ECHO_N "(cached) $ECHO_C" >&6
45274 else
45275 cat >conftest.$ac_ext <<_ACEOF
45276 /* confdefs.h. */
45277 _ACEOF
45278 cat confdefs.h >>conftest.$ac_ext
45279 cat >>conftest.$ac_ext <<_ACEOF
45280 /* end confdefs.h. */
45281
45282
45283 #include <ole2.h>
45284 _ACEOF
45285 rm -f conftest.$ac_objext
45286 if { (ac_try="$ac_compile"
45287 case "(($ac_try" in
45288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45289 *) ac_try_echo=$ac_try;;
45290 esac
45291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45292 (eval "$ac_compile") 2>conftest.er1
45293 ac_status=$?
45294 grep -v '^ *+' conftest.er1 >conftest.err
45295 rm -f conftest.er1
45296 cat conftest.err >&5
45297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45298 (exit $ac_status); } && {
45299 test -z "$ac_c_werror_flag" ||
45300 test ! -s conftest.err
45301 } && test -s conftest.$ac_objext; then
45302 ac_cv_header_ole2_h=yes
45303 else
45304 echo "$as_me: failed program was:" >&5
45305 sed 's/^/| /' conftest.$ac_ext >&5
45306
45307 ac_cv_header_ole2_h=no
45308 fi
45309
45310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45311 fi
45312 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45313 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45314
45315
45316
45317 if test "$ac_cv_header_ole2_h" = "yes" ; then
45318 if test "$GCC" = yes ; then
45319 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45320 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45321 cat >conftest.$ac_ext <<_ACEOF
45322 /* confdefs.h. */
45323 _ACEOF
45324 cat confdefs.h >>conftest.$ac_ext
45325 cat >>conftest.$ac_ext <<_ACEOF
45326 /* end confdefs.h. */
45327 #include <windows.h>
45328 #include <ole2.h>
45329 int
45330 main ()
45331 {
45332
45333 ;
45334 return 0;
45335 }
45336 _ACEOF
45337 rm -f conftest.$ac_objext
45338 if { (ac_try="$ac_compile"
45339 case "(($ac_try" in
45340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45341 *) ac_try_echo=$ac_try;;
45342 esac
45343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45344 (eval "$ac_compile") 2>conftest.er1
45345 ac_status=$?
45346 grep -v '^ *+' conftest.er1 >conftest.err
45347 rm -f conftest.er1
45348 cat conftest.err >&5
45349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45350 (exit $ac_status); } && {
45351 test -z "$ac_c_werror_flag" ||
45352 test ! -s conftest.err
45353 } && test -s conftest.$ac_objext; then
45354 { echo "$as_me:$LINENO: result: no" >&5
45355 echo "${ECHO_T}no" >&6; }
45356 else
45357 echo "$as_me: failed program was:" >&5
45358 sed 's/^/| /' conftest.$ac_ext >&5
45359
45360 { echo "$as_me:$LINENO: result: yes" >&5
45361 echo "${ECHO_T}yes" >&6; }
45362 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45363 fi
45364
45365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45366 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45367 if test "$wxUSE_OLE" = "yes" ; then
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_OLE 1
45370 _ACEOF
45371
45372 cat >>confdefs.h <<\_ACEOF
45373 #define wxUSE_OLE_AUTOMATION 1
45374 _ACEOF
45375
45376 cat >>confdefs.h <<\_ACEOF
45377 #define wxUSE_ACTIVEX 1
45378 _ACEOF
45379
45380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45381 fi
45382 fi
45383
45384 if test "$wxUSE_DATAOBJ" = "yes" ; then
45385 cat >>confdefs.h <<\_ACEOF
45386 #define wxUSE_DATAOBJ 1
45387 _ACEOF
45388
45389 fi
45390 else
45391 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45392 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45393
45394 wxUSE_CLIPBOARD=no
45395 wxUSE_DRAG_AND_DROP=no
45396 wxUSE_DATAOBJ=no
45397 wxUSE_OLE=no
45398 fi
45399
45400 if test "$wxUSE_METAFILE" = "yes"; then
45401 cat >>confdefs.h <<\_ACEOF
45402 #define wxUSE_METAFILE 1
45403 _ACEOF
45404
45405
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_ENH_METAFILE 1
45408 _ACEOF
45409
45410 fi
45411 fi
45412
45413 if test "$wxUSE_IPC" = "yes"; then
45414 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45415 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45416 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45417 wxUSE_IPC=no
45418 fi
45419
45420 if test "$wxUSE_IPC" = "yes"; then
45421 cat >>confdefs.h <<\_ACEOF
45422 #define wxUSE_IPC 1
45423 _ACEOF
45424
45425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45426 fi
45427 fi
45428
45429 if test "$wxUSE_DATAOBJ" = "yes"; then
45430 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45431 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45432 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45433 wxUSE_DATAOBJ=no
45434 else
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_DATAOBJ 1
45437 _ACEOF
45438
45439 fi
45440 else
45441 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45442 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45443 wxUSE_CLIPBOARD=no
45444 wxUSE_DRAG_AND_DROP=no
45445 fi
45446
45447 if test "$wxUSE_CLIPBOARD" = "yes"; then
45448 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45449 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45450 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45451 wxUSE_CLIPBOARD=no
45452 fi
45453
45454 if test "$wxUSE_CLIPBOARD" = "yes"; then
45455 cat >>confdefs.h <<\_ACEOF
45456 #define wxUSE_CLIPBOARD 1
45457 _ACEOF
45458
45459 fi
45460 fi
45461
45462 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45463 if test "$wxUSE_GTK" = 1; then
45464 if test "$WXGTK12" != 1; then
45465 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45466 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45467 wxUSE_DRAG_AND_DROP=no
45468 fi
45469 fi
45470
45471 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45472 "$wxUSE_DFB" = 1; then
45473 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45474 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45475 wxUSE_DRAG_AND_DROP=no
45476 fi
45477
45478 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45479 cat >>confdefs.h <<\_ACEOF
45480 #define wxUSE_DRAG_AND_DROP 1
45481 _ACEOF
45482
45483 fi
45484
45485 fi
45486
45487 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45488 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45489 fi
45490
45491 if test "$wxUSE_CLIPBOARD" = "yes"; then
45492 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45493 fi
45494
45495 if test "$wxUSE_SPLINES" = "yes" ; then
45496 cat >>confdefs.h <<\_ACEOF
45497 #define wxUSE_SPLINES 1
45498 _ACEOF
45499
45500 fi
45501
45502 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45503 cat >>confdefs.h <<\_ACEOF
45504 #define wxUSE_MOUSEWHEEL 1
45505 _ACEOF
45506
45507 fi
45508
45509
45510 USES_CONTROLS=0
45511 if test "$wxUSE_CONTROLS" = "yes"; then
45512 USES_CONTROLS=1
45513 fi
45514
45515 if test "$wxUSE_ACCEL" = "yes"; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_ACCEL 1
45518 _ACEOF
45519
45520 USES_CONTROLS=1
45521 fi
45522
45523 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45524 cat >>confdefs.h <<\_ACEOF
45525 #define wxUSE_ANIMATIONCTRL 1
45526 _ACEOF
45527
45528 USES_CONTROLS=1
45529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45530 fi
45531
45532 if test "$wxUSE_BUTTON" = "yes"; then
45533 cat >>confdefs.h <<\_ACEOF
45534 #define wxUSE_BUTTON 1
45535 _ACEOF
45536
45537 USES_CONTROLS=1
45538 fi
45539
45540 if test "$wxUSE_BMPBUTTON" = "yes"; then
45541 cat >>confdefs.h <<\_ACEOF
45542 #define wxUSE_BMPBUTTON 1
45543 _ACEOF
45544
45545 USES_CONTROLS=1
45546 fi
45547
45548 if test "$wxUSE_CALCTRL" = "yes"; then
45549 cat >>confdefs.h <<\_ACEOF
45550 #define wxUSE_CALENDARCTRL 1
45551 _ACEOF
45552
45553 USES_CONTROLS=1
45554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45555 fi
45556
45557 if test "$wxUSE_CARET" = "yes"; then
45558 cat >>confdefs.h <<\_ACEOF
45559 #define wxUSE_CARET 1
45560 _ACEOF
45561
45562 USES_CONTROLS=1
45563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45564 fi
45565
45566 if test "$wxUSE_COLLPANE" = "yes"; then
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_COLLPANE 1
45569 _ACEOF
45570
45571 USES_CONTROLS=1
45572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45573 fi
45574
45575 if test "$wxUSE_COMBOBOX" = "yes"; then
45576 cat >>confdefs.h <<\_ACEOF
45577 #define wxUSE_COMBOBOX 1
45578 _ACEOF
45579
45580 USES_CONTROLS=1
45581 fi
45582
45583 if test "$wxUSE_COMBOCTRL" = "yes"; then
45584 cat >>confdefs.h <<\_ACEOF
45585 #define wxUSE_COMBOCTRL 1
45586 _ACEOF
45587
45588 USES_CONTROLS=1
45589 fi
45590
45591 if test "$wxUSE_CHOICE" = "yes"; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_CHOICE 1
45594 _ACEOF
45595
45596 USES_CONTROLS=1
45597 fi
45598
45599 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_CHOICEBOOK 1
45602 _ACEOF
45603
45604 USES_CONTROLS=1
45605 fi
45606
45607 if test "$wxUSE_CHECKBOX" = "yes"; then
45608 cat >>confdefs.h <<\_ACEOF
45609 #define wxUSE_CHECKBOX 1
45610 _ACEOF
45611
45612 USES_CONTROLS=1
45613 fi
45614
45615 if test "$wxUSE_CHECKLST" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_CHECKLISTBOX 1
45618 _ACEOF
45619
45620 USES_CONTROLS=1
45621 fi
45622
45623 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_COLOURPICKERCTRL 1
45626 _ACEOF
45627
45628 USES_CONTROLS=1
45629 fi
45630
45631 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define wxUSE_DATEPICKCTRL 1
45634 _ACEOF
45635
45636 USES_CONTROLS=1
45637 fi
45638
45639 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45640 cat >>confdefs.h <<\_ACEOF
45641 #define wxUSE_DIRPICKERCTRL 1
45642 _ACEOF
45643
45644 USES_CONTROLS=1
45645 fi
45646
45647 if test "$wxUSE_FILECTRL" = "yes"; then
45648 cat >>confdefs.h <<\_ACEOF
45649 #define wxUSE_FILECTRL 1
45650 _ACEOF
45651
45652 USES_CONTROLS=1
45653 fi
45654
45655 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_FILEPICKERCTRL 1
45658 _ACEOF
45659
45660 USES_CONTROLS=1
45661 fi
45662
45663 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_FONTPICKERCTRL 1
45666 _ACEOF
45667
45668 USES_CONTROLS=1
45669 fi
45670
45671 if test "$wxUSE_DISPLAY" = "yes"; then
45672 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45673 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45674 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45675 wxUSE_DISPLAY=no
45676 else
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_DISPLAY 1
45679 _ACEOF
45680
45681 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45682 fi
45683 fi
45684
45685 if test "$wxUSE_DETECT_SM" = "yes"; then
45686 cat >>confdefs.h <<\_ACEOF
45687 #define wxUSE_DETECT_SM 1
45688 _ACEOF
45689
45690 fi
45691
45692 if test "$wxUSE_GAUGE" = "yes"; then
45693 cat >>confdefs.h <<\_ACEOF
45694 #define wxUSE_GAUGE 1
45695 _ACEOF
45696
45697 USES_CONTROLS=1
45698 fi
45699
45700 if test "$wxUSE_GRID" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_GRID 1
45703 _ACEOF
45704
45705 USES_CONTROLS=1
45706 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45707 fi
45708
45709 if test "$wxUSE_HEADERCTRL" = "yes"; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_HEADERCTRL 1
45712 _ACEOF
45713
45714 USES_CONTROLS=1
45715 fi
45716
45717 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_HYPERLINKCTRL 1
45720 _ACEOF
45721
45722 USES_CONTROLS=1
45723 fi
45724
45725 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_BITMAPCOMBOBOX 1
45728 _ACEOF
45729
45730 USES_CONTROLS=1
45731 fi
45732
45733 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45734 cat >>confdefs.h <<\_ACEOF
45735 #define wxUSE_DATAVIEWCTRL 1
45736 _ACEOF
45737
45738 USES_CONTROLS=1
45739 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45740 fi
45741
45742 if test "$wxUSE_IMAGLIST" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_IMAGLIST 1
45745 _ACEOF
45746
45747 fi
45748
45749 if test "$wxUSE_LISTBOOK" = "yes"; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_LISTBOOK 1
45752 _ACEOF
45753
45754 USES_CONTROLS=1
45755 fi
45756
45757 if test "$wxUSE_LISTBOX" = "yes"; then
45758 cat >>confdefs.h <<\_ACEOF
45759 #define wxUSE_LISTBOX 1
45760 _ACEOF
45761
45762 USES_CONTROLS=1
45763 fi
45764
45765 if test "$wxUSE_LISTCTRL" = "yes"; then
45766 if test "$wxUSE_IMAGLIST" = "yes"; then
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_LISTCTRL 1
45769 _ACEOF
45770
45771 USES_CONTROLS=1
45772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45773 else
45774 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45775 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45776 fi
45777 fi
45778
45779 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_EDITABLELISTBOX 1
45782 _ACEOF
45783
45784 USES_CONTROLS=1
45785 fi
45786
45787 if test "$wxUSE_NOTEBOOK" = "yes"; then
45788 cat >>confdefs.h <<\_ACEOF
45789 #define wxUSE_NOTEBOOK 1
45790 _ACEOF
45791
45792 USES_CONTROLS=1
45793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45794 fi
45795
45796 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_NOTIFICATION_MESSAGE 1
45799 _ACEOF
45800
45801 fi
45802
45803 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45804 cat >>confdefs.h <<\_ACEOF
45805 #define wxUSE_ODCOMBOBOX 1
45806 _ACEOF
45807
45808 USES_CONTROLS=1
45809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45810 fi
45811
45812 if test "$wxUSE_RADIOBOX" = "yes"; then
45813 cat >>confdefs.h <<\_ACEOF
45814 #define wxUSE_RADIOBOX 1
45815 _ACEOF
45816
45817 USES_CONTROLS=1
45818 fi
45819
45820 if test "$wxUSE_RADIOBTN" = "yes"; then
45821 cat >>confdefs.h <<\_ACEOF
45822 #define wxUSE_RADIOBTN 1
45823 _ACEOF
45824
45825 USES_CONTROLS=1
45826 fi
45827
45828 if test "$wxUSE_REARRANGECTRL" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_REARRANGECTRL 1
45831 _ACEOF
45832
45833 fi
45834
45835 if test "$wxUSE_SASH" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_SASH 1
45838 _ACEOF
45839
45840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45841 fi
45842
45843 if test "$wxUSE_SCROLLBAR" = "yes"; then
45844 cat >>confdefs.h <<\_ACEOF
45845 #define wxUSE_SCROLLBAR 1
45846 _ACEOF
45847
45848 USES_CONTROLS=1
45849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
45850 fi
45851
45852 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_SEARCHCTRL 1
45855 _ACEOF
45856
45857 USES_CONTROLS=1
45858 fi
45859
45860 if test "$wxUSE_SLIDER" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_SLIDER 1
45863 _ACEOF
45864
45865 USES_CONTROLS=1
45866 fi
45867
45868 if test "$wxUSE_SPINBTN" = "yes"; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_SPINBTN 1
45871 _ACEOF
45872
45873 USES_CONTROLS=1
45874 fi
45875
45876 if test "$wxUSE_SPINCTRL" = "yes"; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_SPINCTRL 1
45879 _ACEOF
45880
45881 USES_CONTROLS=1
45882 fi
45883
45884 if test "$wxUSE_SPLITTER" = "yes"; then
45885 cat >>confdefs.h <<\_ACEOF
45886 #define wxUSE_SPLITTER 1
45887 _ACEOF
45888
45889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45890 fi
45891
45892 if test "$wxUSE_STATBMP" = "yes"; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_STATBMP 1
45895 _ACEOF
45896
45897 USES_CONTROLS=1
45898 fi
45899
45900 if test "$wxUSE_STATBOX" = "yes"; then
45901 cat >>confdefs.h <<\_ACEOF
45902 #define wxUSE_STATBOX 1
45903 _ACEOF
45904
45905 USES_CONTROLS=1
45906 fi
45907
45908 if test "$wxUSE_STATTEXT" = "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_STATTEXT 1
45911 _ACEOF
45912
45913 USES_CONTROLS=1
45914 fi
45915
45916 if test "$wxUSE_STATLINE" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_STATLINE 1
45919 _ACEOF
45920
45921 USES_CONTROLS=1
45922 fi
45923
45924 if test "$wxUSE_STATUSBAR" = "yes"; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_NATIVE_STATUSBAR 1
45927 _ACEOF
45928
45929 cat >>confdefs.h <<\_ACEOF
45930 #define wxUSE_STATUSBAR 1
45931 _ACEOF
45932
45933 USES_CONTROLS=1
45934
45935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45936 fi
45937
45938 if test "$wxUSE_TEXTCTRL" = "yes"; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_TEXTCTRL 1
45941 _ACEOF
45942
45943 USES_CONTROLS=1
45944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45945
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_RICHEDIT 1
45948 _ACEOF
45949
45950 cat >>confdefs.h <<\_ACEOF
45951 #define wxUSE_RICHEDIT2 1
45952 _ACEOF
45953
45954 fi
45955
45956 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45957 if test "$wxUSE_COCOA" = 1 ; then
45958 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45959 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45960 wxUSE_TOGGLEBTN=no
45961 fi
45962
45963 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45964 cat >>confdefs.h <<\_ACEOF
45965 #define wxUSE_TOGGLEBTN 1
45966 _ACEOF
45967
45968 USES_CONTROLS=1
45969 fi
45970 fi
45971
45972 if test "$wxUSE_TOOLBAR" = "yes"; then
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_TOOLBAR 1
45975 _ACEOF
45976
45977 USES_CONTROLS=1
45978
45979 if test "$wxUSE_UNIVERSAL" = "yes"; then
45980 wxUSE_TOOLBAR_NATIVE="no"
45981 else
45982 wxUSE_TOOLBAR_NATIVE="yes"
45983 cat >>confdefs.h <<\_ACEOF
45984 #define wxUSE_TOOLBAR_NATIVE 1
45985 _ACEOF
45986
45987 fi
45988
45989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45990 fi
45991
45992 if test "$wxUSE_TOOLTIPS" = "yes"; then
45993 if test "$wxUSE_MOTIF" = 1; then
45994 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45995 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45996 else
45997 if test "$wxUSE_UNIVERSAL" = "yes"; then
45998 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45999 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46000 else
46001 cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_TOOLTIPS 1
46003 _ACEOF
46004
46005 fi
46006 fi
46007 fi
46008
46009 if test "$wxUSE_TREEBOOK" = "yes"; then
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_TREEBOOK 1
46012 _ACEOF
46013
46014 USES_CONTROLS=1
46015 fi
46016
46017 if test "$wxUSE_TOOLBOOK" = "yes"; then
46018 cat >>confdefs.h <<\_ACEOF
46019 #define wxUSE_TOOLBOOK 1
46020 _ACEOF
46021
46022 USES_CONTROLS=1
46023 fi
46024
46025 if test "$wxUSE_TREECTRL" = "yes"; then
46026 if test "$wxUSE_IMAGLIST" = "yes"; then
46027 cat >>confdefs.h <<\_ACEOF
46028 #define wxUSE_TREECTRL 1
46029 _ACEOF
46030
46031 USES_CONTROLS=1
46032 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46033 else
46034 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46035 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46036 fi
46037 fi
46038
46039 if test "$wxUSE_POPUPWIN" = "yes"; then
46040 if test "$wxUSE_COCOA" = 1 ; then
46041 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46042 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46043 else
46044 if test "$wxUSE_PM" = 1; then
46045 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46046 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46047 else
46048 cat >>confdefs.h <<\_ACEOF
46049 #define wxUSE_POPUPWIN 1
46050 _ACEOF
46051
46052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46053
46054 USES_CONTROLS=1
46055 fi
46056 fi
46057 fi
46058
46059 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46060 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46061 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46062 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46063 else
46064 cat >>confdefs.h <<\_ACEOF
46065 #define wxUSE_DIALUP_MANAGER 1
46066 _ACEOF
46067
46068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46069 fi
46070 fi
46071
46072 if test "$wxUSE_TIPWINDOW" = "yes"; then
46073 if test "$wxUSE_PM" = 1; then
46074 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46075 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46076 else
46077 cat >>confdefs.h <<\_ACEOF
46078 #define wxUSE_TIPWINDOW 1
46079 _ACEOF
46080
46081 fi
46082 fi
46083
46084 if test "$USES_CONTROLS" = 1; then
46085 cat >>confdefs.h <<\_ACEOF
46086 #define wxUSE_CONTROLS 1
46087 _ACEOF
46088
46089 fi
46090
46091
46092 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46093 cat >>confdefs.h <<\_ACEOF
46094 #define wxUSE_ACCESSIBILITY 1
46095 _ACEOF
46096
46097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46098 fi
46099
46100 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46101 cat >>confdefs.h <<\_ACEOF
46102 #define wxUSE_DRAGIMAGE 1
46103 _ACEOF
46104
46105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46106 fi
46107
46108 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46109 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46110 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46111 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46112 else
46113 cat >>confdefs.h <<\_ACEOF
46114 #define wxUSE_EXCEPTIONS 1
46115 _ACEOF
46116
46117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46118 fi
46119 fi
46120
46121 USE_HTML=0
46122 if test "$wxUSE_HTML" = "yes"; then
46123 cat >>confdefs.h <<\_ACEOF
46124 #define wxUSE_HTML 1
46125 _ACEOF
46126
46127 USE_HTML=1
46128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46129 fi
46130 if test "$wxUSE_WEBKIT" = "yes"; then
46131 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46132 old_CPPFLAGS="$CPPFLAGS"
46133 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46134 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46135 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46136 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46137 echo $ECHO_N "(cached) $ECHO_C" >&6
46138 else
46139 cat >conftest.$ac_ext <<_ACEOF
46140 /* confdefs.h. */
46141 _ACEOF
46142 cat confdefs.h >>conftest.$ac_ext
46143 cat >>conftest.$ac_ext <<_ACEOF
46144 /* end confdefs.h. */
46145
46146 #include <Carbon/Carbon.h>
46147 #include <WebKit/WebKit.h>
46148
46149
46150 #include <WebKit/HIWebView.h>
46151 _ACEOF
46152 rm -f conftest.$ac_objext
46153 if { (ac_try="$ac_compile"
46154 case "(($ac_try" in
46155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46156 *) ac_try_echo=$ac_try;;
46157 esac
46158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46159 (eval "$ac_compile") 2>conftest.er1
46160 ac_status=$?
46161 grep -v '^ *+' conftest.er1 >conftest.err
46162 rm -f conftest.er1
46163 cat conftest.err >&5
46164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46165 (exit $ac_status); } && {
46166 test -z "$ac_c_werror_flag" ||
46167 test ! -s conftest.err
46168 } && test -s conftest.$ac_objext; then
46169 ac_cv_header_WebKit_HIWebView_h=yes
46170 else
46171 echo "$as_me: failed program was:" >&5
46172 sed 's/^/| /' conftest.$ac_ext >&5
46173
46174 ac_cv_header_WebKit_HIWebView_h=no
46175 fi
46176
46177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46178 fi
46179 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46180 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46181 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46182
46183 cat >>confdefs.h <<\_ACEOF
46184 #define wxUSE_WEBKIT 1
46185 _ACEOF
46186
46187 WEBKIT_LINK="-framework WebKit"
46188
46189 else
46190
46191 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46192 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46193 wxUSE_WEBKIT=no
46194
46195 fi
46196
46197
46198 CPPFLAGS="$old_CPPFLAGS"
46199 elif test "$wxUSE_COCOA" = 1; then
46200 cat >>confdefs.h <<\_ACEOF
46201 #define wxUSE_WEBKIT 1
46202 _ACEOF
46203
46204 else
46205 wxUSE_WEBKIT=no
46206 fi
46207 if test "$wxUSE_WEBKIT" = "yes"; then
46208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46209 fi
46210 fi
46211
46212 USE_XRC=0
46213 if test "$wxUSE_XRC" = "yes"; then
46214 if test "$wxUSE_XML" != "yes"; then
46215 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46216 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46217 wxUSE_XRC=no
46218 else
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_XRC 1
46221 _ACEOF
46222
46223 USE_XRC=1
46224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46225 fi
46226 fi
46227
46228 USE_AUI=0
46229 if test "$wxUSE_AUI" = "yes"; then
46230 cat >>confdefs.h <<\_ACEOF
46231 #define wxUSE_AUI 1
46232 _ACEOF
46233
46234 USE_AUI=1
46235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46236 fi
46237
46238 USE_PROPGRID=0
46239 if test "$wxUSE_PROPGRID" = "yes"; then
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_PROPGRID 1
46242 _ACEOF
46243
46244 USE_PROPGRID=1
46245 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46246 fi
46247
46248 USE_STC=0
46249 if test "$wxUSE_STC" = "yes"; then
46250 cat >>confdefs.h <<\_ACEOF
46251 #define wxUSE_STC 1
46252 _ACEOF
46253
46254 USE_STC=1
46255 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46256
46257 # Extract the first word of "python", so it can be a program name with args.
46258 set dummy python; ac_word=$2
46259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46261 if test "${ac_cv_path_PYTHON+set}" = set; then
46262 echo $ECHO_N "(cached) $ECHO_C" >&6
46263 else
46264 case $PYTHON in
46265 [\\/]* | ?:[\\/]*)
46266 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
46267 ;;
46268 *)
46269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46270 for as_dir in $PATH
46271 do
46272 IFS=$as_save_IFS
46273 test -z "$as_dir" && as_dir=.
46274 for ac_exec_ext in '' $ac_executable_extensions; do
46275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46276 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
46277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46278 break 2
46279 fi
46280 done
46281 done
46282 IFS=$as_save_IFS
46283
46284 ;;
46285 esac
46286 fi
46287 PYTHON=$ac_cv_path_PYTHON
46288 if test -n "$PYTHON"; then
46289 { echo "$as_me:$LINENO: result: $PYTHON" >&5
46290 echo "${ECHO_T}$PYTHON" >&6; }
46291 else
46292 { echo "$as_me:$LINENO: result: no" >&5
46293 echo "${ECHO_T}no" >&6; }
46294 fi
46295
46296
46297 if test "x$PYTHON" = "x"; then
46298 COND_PYTHON="#"
46299 fi
46300
46301 fi
46302
46303 if test "$wxUSE_MENUS" = "yes"; then
46304 cat >>confdefs.h <<\_ACEOF
46305 #define wxUSE_MENUS 1
46306 _ACEOF
46307
46308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46309 fi
46310
46311 if test "$wxUSE_METAFILE" = "yes"; then
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_METAFILE 1
46314 _ACEOF
46315
46316 fi
46317
46318 if test "$wxUSE_MIMETYPE" = "yes"; then
46319 cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_MIMETYPE 1
46321 _ACEOF
46322
46323 fi
46324
46325 if test "$wxUSE_MINIFRAME" = "yes"; then
46326 cat >>confdefs.h <<\_ACEOF
46327 #define wxUSE_MINIFRAME 1
46328 _ACEOF
46329
46330 fi
46331
46332 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46333 cat >>confdefs.h <<\_ACEOF
46334 #define wxUSE_SYSTEM_OPTIONS 1
46335 _ACEOF
46336
46337 fi
46338
46339 if test "$wxUSE_TASKBARICON" = "yes"; then
46340 cat >>confdefs.h <<\_ACEOF
46341 #define wxUSE_TASKBARICON 1
46342 _ACEOF
46343
46344 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46345 fi
46346
46347
46348 if test "$wxUSE_VALIDATORS" = "yes"; then
46349 cat >>confdefs.h <<\_ACEOF
46350 #define wxUSE_VALIDATORS 1
46351 _ACEOF
46352
46353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46354 fi
46355
46356 if test "$wxUSE_PALETTE" = "yes" ; then
46357 if test "$wxUSE_DFB" = 1; then
46358 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46359 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46360 wxUSE_PALETTE=no
46361 else
46362 cat >>confdefs.h <<\_ACEOF
46363 #define wxUSE_PALETTE 1
46364 _ACEOF
46365
46366 fi
46367 fi
46368
46369 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46370 LIBS=" -lunicows $LIBS"
46371 fi
46372
46373 USE_RICHTEXT=0
46374 if test "$wxUSE_RICHTEXT" = "yes"; then
46375 cat >>confdefs.h <<\_ACEOF
46376 #define wxUSE_RICHTEXT 1
46377 _ACEOF
46378
46379 USE_RICHTEXT=1
46380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46381 fi
46382
46383
46384 if test "$wxUSE_IMAGE" = "yes" ; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_IMAGE 1
46387 _ACEOF
46388
46389
46390 if test "$wxUSE_GIF" = "yes" ; then
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_GIF 1
46393 _ACEOF
46394
46395 fi
46396
46397 if test "$wxUSE_PCX" = "yes" ; then
46398 cat >>confdefs.h <<\_ACEOF
46399 #define wxUSE_PCX 1
46400 _ACEOF
46401
46402 fi
46403
46404 if test "$wxUSE_TGA" = "yes" ; then
46405 cat >>confdefs.h <<\_ACEOF
46406 #define wxUSE_TGA 1
46407 _ACEOF
46408
46409 fi
46410
46411 if test "$wxUSE_IFF" = "yes" ; then
46412 cat >>confdefs.h <<\_ACEOF
46413 #define wxUSE_IFF 1
46414 _ACEOF
46415
46416 fi
46417
46418 if test "$wxUSE_PNM" = "yes" ; then
46419 cat >>confdefs.h <<\_ACEOF
46420 #define wxUSE_PNM 1
46421 _ACEOF
46422
46423 fi
46424
46425 if test "$wxUSE_XPM" = "yes" ; then
46426 cat >>confdefs.h <<\_ACEOF
46427 #define wxUSE_XPM 1
46428 _ACEOF
46429
46430 fi
46431
46432 if test "$wxUSE_ICO_CUR" = "yes" ; then
46433 cat >>confdefs.h <<\_ACEOF
46434 #define wxUSE_ICO_CUR 1
46435 _ACEOF
46436
46437 fi
46438 fi
46439
46440
46441 if test "$wxUSE_ABOUTDLG" = "yes"; then
46442 cat >>confdefs.h <<\_ACEOF
46443 #define wxUSE_ABOUTDLG 1
46444 _ACEOF
46445
46446 fi
46447
46448 if test "$wxUSE_CHOICEDLG" = "yes"; then
46449 cat >>confdefs.h <<\_ACEOF
46450 #define wxUSE_CHOICEDLG 1
46451 _ACEOF
46452
46453 fi
46454
46455 if test "$wxUSE_COLOURDLG" = "yes"; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define wxUSE_COLOURDLG 1
46458 _ACEOF
46459
46460 fi
46461
46462 if test "$wxUSE_FILEDLG" = "yes"; then
46463 cat >>confdefs.h <<\_ACEOF
46464 #define wxUSE_FILEDLG 1
46465 _ACEOF
46466
46467 fi
46468
46469 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46470 cat >>confdefs.h <<\_ACEOF
46471 #define wxUSE_FINDREPLDLG 1
46472 _ACEOF
46473
46474 fi
46475
46476 if test "$wxUSE_FONTDLG" = "yes"; then
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_FONTDLG 1
46479 _ACEOF
46480
46481 fi
46482
46483 if test "$wxUSE_DIRDLG" = "yes"; then
46484 if test "$wxUSE_TREECTRL" != "yes"; then
46485 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46486 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46487 else
46488 cat >>confdefs.h <<\_ACEOF
46489 #define wxUSE_DIRDLG 1
46490 _ACEOF
46491
46492 fi
46493 fi
46494
46495 if test "$wxUSE_MSGDLG" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_MSGDLG 1
46498 _ACEOF
46499
46500 fi
46501
46502 if test "$wxUSE_NUMBERDLG" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_NUMBERDLG 1
46505 _ACEOF
46506
46507 fi
46508
46509 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_PROGRESSDLG 1
46512 _ACEOF
46513
46514 fi
46515
46516 if test "$wxUSE_SPLASH" = "yes"; then
46517 cat >>confdefs.h <<\_ACEOF
46518 #define wxUSE_SPLASH 1
46519 _ACEOF
46520
46521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46522 fi
46523
46524 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46525 cat >>confdefs.h <<\_ACEOF
46526 #define wxUSE_STARTUP_TIPS 1
46527 _ACEOF
46528
46529 fi
46530
46531 if test "$wxUSE_TEXTDLG" = "yes"; then
46532 cat >>confdefs.h <<\_ACEOF
46533 #define wxUSE_TEXTDLG 1
46534 _ACEOF
46535
46536 fi
46537
46538 if test "$wxUSE_WIZARDDLG" = "yes"; then
46539 cat >>confdefs.h <<\_ACEOF
46540 #define wxUSE_WIZARDDLG 1
46541 _ACEOF
46542
46543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46544 fi
46545
46546
46547 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46548 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46549 cat >>confdefs.h <<\_ACEOF
46550 #define wxUSE_OWNER_DRAWN 1
46551 _ACEOF
46552
46553 fi
46554 fi
46555
46556
46557 if test "$wxUSE_MSW" = 1 ; then
46558
46559 if test "$wxUSE_DC_CACHEING" = "yes"; then
46560 cat >>confdefs.h <<\_ACEOF
46561 #define wxUSE_DC_CACHEING 1
46562 _ACEOF
46563
46564 fi
46565
46566 if test "$wxUSE_DIB" = "yes"; then
46567 cat >>confdefs.h <<\_ACEOF
46568 #define wxUSE_WXDIB 1
46569 _ACEOF
46570
46571 fi
46572
46573 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46574 cat >>confdefs.h <<\_ACEOF
46575 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46576 _ACEOF
46577
46578 fi
46579
46580 if test "$wxUSE_UXTHEME" = "yes"; then
46581 cat >>confdefs.h <<\_ACEOF
46582 #define wxUSE_UXTHEME 1
46583 _ACEOF
46584
46585 fi
46586
46587 fi
46588
46589 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46590 cat >>confdefs.h <<\_ACEOF
46591 #define wxUSE_AUTOID_MANAGEMENT 1
46592 _ACEOF
46593
46594 fi
46595
46596 if test "$USE_WIN32" = 1 ; then
46597 if test "$wxUSE_INICONF" = "yes"; then
46598 cat >>confdefs.h <<\_ACEOF
46599 #define wxUSE_INICONF 1
46600 _ACEOF
46601
46602 fi
46603
46604 if test "$wxUSE_REGKEY" = "yes"; then
46605 cat >>confdefs.h <<\_ACEOF
46606 #define wxUSE_REGKEY 1
46607 _ACEOF
46608
46609 fi
46610 fi
46611
46612
46613 if test "$wxUSE_MAC" = 1; then
46614 wxUSE_GRAPHICS_CONTEXT="yes"
46615 fi
46616
46617 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46618 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46619 cat >>confdefs.h <<\_ACEOF
46620 #define wxUSE_GRAPHICS_CONTEXT 1
46621 _ACEOF
46622
46623 elif test "$wxUSE_GTK" != 1; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_GRAPHICS_CONTEXT 1
46626 _ACEOF
46627
46628 else
46629
46630 pkg_failed=no
46631 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46632 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46633
46634 if test -n "$PKG_CONFIG"; then
46635 if test -n "$CAIRO_CFLAGS"; then
46636 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46637 else
46638 if test -n "$PKG_CONFIG" && \
46639 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46640 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46641 ac_status=$?
46642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46643 (exit $ac_status); }; then
46644 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46645 else
46646 pkg_failed=yes
46647 fi
46648 fi
46649 else
46650 pkg_failed=untried
46651 fi
46652 if test -n "$PKG_CONFIG"; then
46653 if test -n "$CAIRO_LIBS"; then
46654 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46655 else
46656 if test -n "$PKG_CONFIG" && \
46657 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46658 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46659 ac_status=$?
46660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46661 (exit $ac_status); }; then
46662 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46663 else
46664 pkg_failed=yes
46665 fi
46666 fi
46667 else
46668 pkg_failed=untried
46669 fi
46670
46671
46672
46673 if test $pkg_failed = yes; then
46674
46675 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46676 _pkg_short_errors_supported=yes
46677 else
46678 _pkg_short_errors_supported=no
46679 fi
46680 if test $_pkg_short_errors_supported = yes; then
46681 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46682 else
46683 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46684 fi
46685 # Put the nasty error message in config.log where it belongs
46686 echo "$CAIRO_PKG_ERRORS" >&5
46687
46688 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46689 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46690
46691 elif test $pkg_failed = untried; then
46692 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46693 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46694
46695 else
46696 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46697 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46698 { echo "$as_me:$LINENO: result: yes" >&5
46699 echo "${ECHO_T}yes" >&6; }
46700 cat >>confdefs.h <<\_ACEOF
46701 #define wxUSE_GRAPHICS_CONTEXT 1
46702 _ACEOF
46703
46704 fi
46705 fi
46706 fi
46707
46708
46709 USE_MEDIA=0
46710
46711 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46712 USE_MEDIA=1
46713
46714 if test "$wxUSE_GTK" = 1; then
46715 wxUSE_GSTREAMER="no"
46716
46717 GST_VERSION_MAJOR=0
46718 GST_VERSION_MINOR=10
46719 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46720
46721 if test "$wxUSE_GSTREAMER8" = "no"; then
46722
46723 pkg_failed=no
46724 { echo "$as_me:$LINENO: checking for GST" >&5
46725 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46726
46727 if test -n "$PKG_CONFIG"; then
46728 if test -n "$GST_CFLAGS"; then
46729 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46730 else
46731 if test -n "$PKG_CONFIG" && \
46732 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46733 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46734 ac_status=$?
46735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46736 (exit $ac_status); }; then
46737 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46738 else
46739 pkg_failed=yes
46740 fi
46741 fi
46742 else
46743 pkg_failed=untried
46744 fi
46745 if test -n "$PKG_CONFIG"; then
46746 if test -n "$GST_LIBS"; then
46747 pkg_cv_GST_LIBS="$GST_LIBS"
46748 else
46749 if test -n "$PKG_CONFIG" && \
46750 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46751 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46752 ac_status=$?
46753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46754 (exit $ac_status); }; then
46755 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46756 else
46757 pkg_failed=yes
46758 fi
46759 fi
46760 else
46761 pkg_failed=untried
46762 fi
46763
46764
46765
46766 if test $pkg_failed = yes; then
46767
46768 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46769 _pkg_short_errors_supported=yes
46770 else
46771 _pkg_short_errors_supported=no
46772 fi
46773 if test $_pkg_short_errors_supported = yes; then
46774 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46775 else
46776 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46777 fi
46778 # Put the nasty error message in config.log where it belongs
46779 echo "$GST_PKG_ERRORS" >&5
46780
46781
46782 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46783 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46784 GST_VERSION_MINOR=8
46785
46786
46787 elif test $pkg_failed = untried; then
46788
46789 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46790 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46791 GST_VERSION_MINOR=8
46792
46793
46794 else
46795 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46796 GST_LIBS=$pkg_cv_GST_LIBS
46797 { echo "$as_me:$LINENO: result: yes" >&5
46798 echo "${ECHO_T}yes" >&6; }
46799
46800 wxUSE_GSTREAMER="yes"
46801 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46802
46803 fi
46804 else
46805 GST_VERSION_MINOR=8
46806 fi
46807
46808 if test $GST_VERSION_MINOR = "8"; then
46809 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46810
46811 pkg_failed=no
46812 { echo "$as_me:$LINENO: checking for GST" >&5
46813 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46814
46815 if test -n "$PKG_CONFIG"; then
46816 if test -n "$GST_CFLAGS"; then
46817 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46818 else
46819 if test -n "$PKG_CONFIG" && \
46820 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46821 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46822 ac_status=$?
46823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46824 (exit $ac_status); }; then
46825 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46826 else
46827 pkg_failed=yes
46828 fi
46829 fi
46830 else
46831 pkg_failed=untried
46832 fi
46833 if test -n "$PKG_CONFIG"; then
46834 if test -n "$GST_LIBS"; then
46835 pkg_cv_GST_LIBS="$GST_LIBS"
46836 else
46837 if test -n "$PKG_CONFIG" && \
46838 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46839 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46840 ac_status=$?
46841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46842 (exit $ac_status); }; then
46843 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46844 else
46845 pkg_failed=yes
46846 fi
46847 fi
46848 else
46849 pkg_failed=untried
46850 fi
46851
46852
46853
46854 if test $pkg_failed = yes; then
46855
46856 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46857 _pkg_short_errors_supported=yes
46858 else
46859 _pkg_short_errors_supported=no
46860 fi
46861 if test $_pkg_short_errors_supported = yes; then
46862 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46863 else
46864 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46865 fi
46866 # Put the nasty error message in config.log where it belongs
46867 echo "$GST_PKG_ERRORS" >&5
46868
46869
46870 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46871 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46872
46873 elif test $pkg_failed = untried; then
46874
46875 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46876 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46877
46878 else
46879 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46880 GST_LIBS=$pkg_cv_GST_LIBS
46881 { echo "$as_me:$LINENO: result: yes" >&5
46882 echo "${ECHO_T}yes" >&6; }
46883 wxUSE_GSTREAMER="yes"
46884 fi
46885 fi
46886
46887
46888 if test "$wxUSE_GSTREAMER" = "yes"; then
46889 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46890 EXTRALIBS_MEDIA="$GST_LIBS"
46891
46892 cat >>confdefs.h <<\_ACEOF
46893 #define wxUSE_GSTREAMER 1
46894 _ACEOF
46895
46896 else
46897 USE_MEDIA=0
46898 fi
46899 fi
46900
46901 if test $USE_MEDIA = 1; then
46902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46903 cat >>confdefs.h <<\_ACEOF
46904 #define wxUSE_MEDIACTRL 1
46905 _ACEOF
46906
46907 else
46908 if test "$wxUSE_MEDIACTRL" = "yes"; then
46909 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
46910 echo "$as_me: error: GStreamer not available" >&2;}
46911 { (exit 1); exit 1; }; }
46912 else
46913 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
46914 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
46915 fi
46916 fi
46917 fi
46918
46919
46920 if test "$cross_compiling" != "no"; then
46921 OSINFO="\"$host\""
46922 else
46923 OSINFO=`uname -s -r -m`
46924 OSINFO="\"$OSINFO\""
46925 fi
46926
46927 cat >>confdefs.h <<_ACEOF
46928 #define WXWIN_OS_DESCRIPTION $OSINFO
46929 _ACEOF
46930
46931
46932
46933 if test "x$prefix" != "xNONE"; then
46934 wxPREFIX=$prefix
46935 else
46936 wxPREFIX=$ac_default_prefix
46937 fi
46938
46939 cat >>confdefs.h <<_ACEOF
46940 #define wxINSTALL_PREFIX "$wxPREFIX"
46941 _ACEOF
46942
46943
46944
46945
46946 STD_BASE_LIBS="base"
46947 STD_GUI_LIBS=""
46948 BUILT_WX_LIBS="base"
46949 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46950
46951 if test "$wxUSE_SOCKETS" = "yes" ; then
46952 STD_BASE_LIBS="net $STD_BASE_LIBS"
46953 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46954 fi
46955 if test "$wxUSE_XML" = "yes" ; then
46956 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46957 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46958 fi
46959
46960 if test "$wxUSE_GUI" = "yes"; then
46961 STD_GUI_LIBS="adv core"
46962 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46963
46964 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46965 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46966 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46967 fi
46968 if test "$wxUSE_HTML" = "yes" ; then
46969 STD_GUI_LIBS="html $STD_GUI_LIBS"
46970 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46971 fi
46972 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46973 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46974 fi
46975 if test "$wxUSE_OPENGL" = "yes" ; then
46976 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46977 fi
46978 if test "$wxUSE_AUI" = "yes" ; then
46979 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46980 fi
46981 if test "$wxUSE_PROPGRID" = "yes" ; then
46982 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
46983 fi
46984 if test "$wxUSE_RICHTEXT" = "yes" ; then
46985 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
46986 fi
46987 if test "$wxUSE_STC" = "yes" ; then
46988 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46989 fi
46990 if test "$wxUSE_XRC" = "yes" ; then
46991 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46992 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46993 fi
46994 fi
46995
46996
46997
46998
46999
47000
47001
47002
47003 if test "$wxUSE_MAC" = 1 ; then
47004 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47005 if test "$USE_DARWIN" = 1; then
47006 LDFLAGS="$LDFLAGS -framework QuickTime"
47007 fi
47008 fi
47009 if test "$USE_DARWIN" = 1; then
47010 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47011 fi
47012 fi
47013 if test "$wxUSE_COCOA" = 1 ; then
47014 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47015 if test "$wxUSE_MEDIACTRL" = "yes"; then
47016 LDFLAGS="$LDFLAGS -framework QuickTime"
47017 fi
47018 fi
47019 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47020 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47021 fi
47022
47023 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47024
47025 if test "$wxUSE_GUI" = "yes"; then
47026
47027
47028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47029 erase event exec font image minimal render \
47030 shaped svg taborder vscroll widgets wrapsizer"
47031
47032 if test "$wxUSE_MONOLITHIC" != "yes"; then
47033 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47034 fi
47035 if test "$TOOLKIT" = "MSW"; then
47036 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47037 if test "$wxUSE_UNIVERSAL" != "yes"; then
47038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47039 fi
47040 fi
47041 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47042 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47043 fi
47044 else
47045 SAMPLES_SUBDIRS="console"
47046 if test "$wxUSE_SOCKETS" = "yes" ; then
47047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47048 fi
47049 if test "$wxUSE_IPC" = "yes" ; then
47050 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47051 fi
47052 fi
47053
47054
47055 if test "x$INTELCC" = "xyes" ; then
47056 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47057 elif test "$GCC" = yes ; then
47058 CWARNINGS="-Wall -Wundef"
47059 fi
47060
47061 if test "x$INTELCXX" = "xyes" ; then
47062 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47063 elif test "$GXX" = yes ; then
47064 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47065 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47066 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47067 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47068 echo $ECHO_N "(cached) $ECHO_C" >&6
47069 else
47070 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47071
47072 ac_ext=cpp
47073 ac_cpp='$CXXCPP $CPPFLAGS'
47074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47077
47078 ac_save_CXXFLAGS="$CXXFLAGS"
47079 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47080 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47081 cat >conftest.$ac_ext <<_ACEOF
47082 /* confdefs.h. */
47083 _ACEOF
47084 cat confdefs.h >>conftest.$ac_ext
47085 cat >>conftest.$ac_ext <<_ACEOF
47086 /* end confdefs.h. */
47087
47088 int
47089 main ()
47090 {
47091 return 0;
47092 ;
47093 return 0;
47094 }
47095 _ACEOF
47096 rm -f conftest.$ac_objext
47097 if { (ac_try="$ac_compile"
47098 case "(($ac_try" in
47099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47100 *) ac_try_echo=$ac_try;;
47101 esac
47102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47103 (eval "$ac_compile") 2>conftest.er1
47104 ac_status=$?
47105 grep -v '^ *+' conftest.er1 >conftest.err
47106 rm -f conftest.er1
47107 cat conftest.err >&5
47108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47109 (exit $ac_status); } && {
47110 test -z "$ac_cxx_werror_flag" ||
47111 test ! -s conftest.err
47112 } && test -s conftest.$ac_objext; then
47113 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47114 else
47115 echo "$as_me: failed program was:" >&5
47116 sed 's/^/| /' conftest.$ac_ext >&5
47117
47118
47119 fi
47120
47121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47122 done
47123 CXXFLAGS="$ac_save_CXXFLAGS"
47124 ac_ext=c
47125 ac_cpp='$CPP $CPPFLAGS'
47126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47129
47130
47131 fi
47132 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47133 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47134 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47135 .ok|.ok,*) ;;
47136 .|.no|.no,*) ;;
47137 *)
47138 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47139 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47140 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47141 ac_status=$?
47142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47143 (exit $ac_status); }
47144 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47145 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47146 ac_status=$?
47147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47148 (exit $ac_status); }
47149 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47150 fi
47151 ;;
47152 esac
47153
47154 fi
47155
47156
47157 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47158 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47159
47160
47161 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47162 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47163 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47164 $CPPFLAGS `
47165
47166 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47167 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47168 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47169 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47170 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47171
47172 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47173
47174
47175 if test "x$MWCC" = "xyes"; then
47176
47177 CC="$CC -cwd source -I-"
47178 CXX="$CXX -cwd source -I-"
47179 fi
47180
47181
47182 LIBS=`echo $LIBS`
47183 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47184 EXTRALIBS_XML="$EXPAT_LINK"
47185 EXTRALIBS_HTML="$MSPACK_LINK"
47186 EXTRALIBS_MEDIA="$GST_LIBS"
47187 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47188 if test "$wxUSE_GUI" = "yes"; then
47189 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47190 fi
47191 if test "$wxUSE_OPENGL" = "yes"; then
47192 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47193 fi
47194
47195 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47196
47197 WXCONFIG_LIBS="$LIBS"
47198
47199 if test "$wxUSE_REGEX" = "builtin" ; then
47200 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47201 fi
47202 if test "$wxUSE_EXPAT" = "builtin" ; then
47203 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47204 fi
47205 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47206 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47207 fi
47208 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47209 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47210 fi
47211 if test "$wxUSE_LIBPNG" = "builtin" ; then
47212 wxconfig_3rdparty="png $wxconfig_3rdparty"
47213 fi
47214 if test "$wxUSE_ZLIB" = "builtin" ; then
47215 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47216 fi
47217
47218 for i in $wxconfig_3rdparty ; do
47219 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47220 done
47221
47222
47223 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47224 WXUNIV=1
47225
47226 case "$wxUNIV_THEMES" in
47227 ''|all)
47228 cat >>confdefs.h <<\_ACEOF
47229 #define wxUSE_ALL_THEMES 1
47230 _ACEOF
47231
47232 ;;
47233
47234 *)
47235 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47236 cat >>confdefs.h <<_ACEOF
47237 #define wxUSE_THEME_$t 1
47238 _ACEOF
47239
47240 done
47241 esac
47242 else
47243 WXUNIV=0
47244 fi
47245
47246
47247
47248
47249
47250
47251
47252
47253 if test $wxUSE_MONOLITHIC = "yes" ; then
47254 MONOLITHIC=1
47255 else
47256 MONOLITHIC=0
47257 fi
47258
47259 if test $wxUSE_PLUGINS = "yes" ; then
47260 USE_PLUGINS=1
47261 else
47262 USE_PLUGINS=0
47263 fi
47264
47265 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47266 USE_QA=1
47267 else
47268 USE_QA=0
47269 fi
47270
47271 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47272 OFFICIAL_BUILD=1
47273 else
47274 OFFICIAL_BUILD=0
47275 fi
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298
47299
47300
47301
47302
47303
47304 TOOLKIT_LOWERCASE=xxx
47305 if test "$TOOLKIT" = "MAC"; then
47306 TOOLKIT_LOWERCASE=osx_carbon
47307 fi
47308 if test "$TOOLKIT" = "OSX_CARBON"; then
47309 TOOLKIT_LOWERCASE=osx_carbon
47310 fi
47311 if test "$TOOLKIT" = "OSX_COCOA"; then
47312 TOOLKIT_LOWERCASE=osx_cocoa
47313 fi
47314 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47315 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47316 fi
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326
47327 case "$TOOLKIT" in
47328 GTK)
47329 TOOLKIT_DESC="GTK+"
47330 if test "$WXGTK2" = 1; then
47331 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47332 if test "$wxUSE_GTKPRINT" = "yes" ; then
47333 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47334 fi
47335 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47336 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47337 fi
47338 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47339 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47340 fi
47341 if test "$wxUSE_LIBHILDON" = "yes"; then
47342 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47343 fi
47344
47345 if test "$TOOLKIT_EXTRA" != ""; then
47346 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47347 fi
47348 fi
47349 ;;
47350
47351 ?*)
47352 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47353 ;;
47354
47355 *)
47356 TOOLKIT_DESC="base only"
47357 ;;
47358 esac
47359
47360 if test "$wxUSE_WINE" = "yes"; then
47361 BAKEFILE_FORCE_PLATFORM=win32
47362 fi
47363
47364 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47365 then
47366 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47367 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47368 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47369 echo $ECHO_N "(cached) $ECHO_C" >&6
47370 else
47371
47372 echo '#include <stdio.h>
47373 const wchar_t test_var[] = L"awidetest";' > conftest.h
47374
47375 echo '#include "conftest.h"
47376 int main()
47377 {
47378 printf("%ls", test_var);
47379 return 0;
47380 }' > conftest.cpp
47381
47382 wx_cv_gcc_pch_bug="pch not supported"
47383
47384 if $CXX conftest.h >/dev/null 2>&1
47385 then
47386 wx_cv_gcc_pch_bug=
47387
47388 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47389 then
47390 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47391 grep awidetest >/dev/null
47392 then
47393 wx_cv_gcc_pch_bug=no
47394 else
47395 wx_cv_gcc_pch_bug=yes
47396 fi
47397 fi
47398 fi
47399
47400 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47401
47402 fi
47403 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47404 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47405
47406 if test "$wx_cv_gcc_pch_bug" = yes; then
47407 bk_use_pch=no
47408 fi
47409 fi
47410
47411
47412
47413
47414
47415
47416
47417 if test "x$BAKEFILE_HOST" = "x"; then
47418 if test "x${host}" = "x" ; then
47419 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47420 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47421 { (exit 1); exit 1; }; }
47422 fi
47423
47424 BAKEFILE_HOST="${host}"
47425 fi
47426
47427 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47428
47429 if test -n "$ac_tool_prefix"; then
47430 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47431 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47432 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47434 if test "${ac_cv_prog_RANLIB+set}" = set; then
47435 echo $ECHO_N "(cached) $ECHO_C" >&6
47436 else
47437 if test -n "$RANLIB"; then
47438 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47439 else
47440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47441 for as_dir in $PATH
47442 do
47443 IFS=$as_save_IFS
47444 test -z "$as_dir" && as_dir=.
47445 for ac_exec_ext in '' $ac_executable_extensions; do
47446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47447 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47449 break 2
47450 fi
47451 done
47452 done
47453 IFS=$as_save_IFS
47454
47455 fi
47456 fi
47457 RANLIB=$ac_cv_prog_RANLIB
47458 if test -n "$RANLIB"; then
47459 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47460 echo "${ECHO_T}$RANLIB" >&6; }
47461 else
47462 { echo "$as_me:$LINENO: result: no" >&5
47463 echo "${ECHO_T}no" >&6; }
47464 fi
47465
47466
47467 fi
47468 if test -z "$ac_cv_prog_RANLIB"; then
47469 ac_ct_RANLIB=$RANLIB
47470 # Extract the first word of "ranlib", so it can be a program name with args.
47471 set dummy ranlib; ac_word=$2
47472 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47474 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47475 echo $ECHO_N "(cached) $ECHO_C" >&6
47476 else
47477 if test -n "$ac_ct_RANLIB"; then
47478 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47479 else
47480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47481 for as_dir in $PATH
47482 do
47483 IFS=$as_save_IFS
47484 test -z "$as_dir" && as_dir=.
47485 for ac_exec_ext in '' $ac_executable_extensions; do
47486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47487 ac_cv_prog_ac_ct_RANLIB="ranlib"
47488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47489 break 2
47490 fi
47491 done
47492 done
47493 IFS=$as_save_IFS
47494
47495 fi
47496 fi
47497 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47498 if test -n "$ac_ct_RANLIB"; then
47499 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47500 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47501 else
47502 { echo "$as_me:$LINENO: result: no" >&5
47503 echo "${ECHO_T}no" >&6; }
47504 fi
47505
47506 if test "x$ac_ct_RANLIB" = x; then
47507 RANLIB=":"
47508 else
47509 case $cross_compiling:$ac_tool_warned in
47510 yes:)
47511 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47512 whose name does not start with the host triplet. If you think this
47513 configuration is useful to you, please write to autoconf@gnu.org." >&5
47514 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47515 whose name does not start with the host triplet. If you think this
47516 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47517 ac_tool_warned=yes ;;
47518 esac
47519 RANLIB=$ac_ct_RANLIB
47520 fi
47521 else
47522 RANLIB="$ac_cv_prog_RANLIB"
47523 fi
47524
47525 # Find a good install program. We prefer a C program (faster),
47526 # so one script is as good as another. But avoid the broken or
47527 # incompatible versions:
47528 # SysV /etc/install, /usr/sbin/install
47529 # SunOS /usr/etc/install
47530 # IRIX /sbin/install
47531 # AIX /bin/install
47532 # AmigaOS /C/install, which installs bootblocks on floppy discs
47533 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47534 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47535 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47536 # OS/2's system install, which has a completely different semantic
47537 # ./install, which can be erroneously created by make from ./install.sh.
47538 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47539 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47540 if test -z "$INSTALL"; then
47541 if test "${ac_cv_path_install+set}" = set; then
47542 echo $ECHO_N "(cached) $ECHO_C" >&6
47543 else
47544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47545 for as_dir in $PATH
47546 do
47547 IFS=$as_save_IFS
47548 test -z "$as_dir" && as_dir=.
47549 # Account for people who put trailing slashes in PATH elements.
47550 case $as_dir/ in
47551 ./ | .// | /cC/* | \
47552 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47553 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47554 /usr/ucb/* ) ;;
47555 *)
47556 # OSF1 and SCO ODT 3.0 have their own names for install.
47557 # Don't use installbsd from OSF since it installs stuff as root
47558 # by default.
47559 for ac_prog in ginstall scoinst install; do
47560 for ac_exec_ext in '' $ac_executable_extensions; do
47561 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47562 if test $ac_prog = install &&
47563 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47564 # AIX install. It has an incompatible calling convention.
47565 :
47566 elif test $ac_prog = install &&
47567 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47568 # program-specific install script used by HP pwplus--don't use.
47569 :
47570 else
47571 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47572 break 3
47573 fi
47574 fi
47575 done
47576 done
47577 ;;
47578 esac
47579 done
47580 IFS=$as_save_IFS
47581
47582
47583 fi
47584 if test "${ac_cv_path_install+set}" = set; then
47585 INSTALL=$ac_cv_path_install
47586 else
47587 # As a last resort, use the slow shell script. Don't cache a
47588 # value for INSTALL within a source directory, because that will
47589 # break other packages using the cache if that directory is
47590 # removed, or if the value is a relative name.
47591 INSTALL=$ac_install_sh
47592 fi
47593 fi
47594 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47595 echo "${ECHO_T}$INSTALL" >&6; }
47596
47597 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47598 # It thinks the first close brace ends the variable substitution.
47599 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47600
47601 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47602
47603 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47604
47605 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47606 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47607 LN_S=$as_ln_s
47608 if test "$LN_S" = "ln -s"; then
47609 { echo "$as_me:$LINENO: result: yes" >&5
47610 echo "${ECHO_T}yes" >&6; }
47611 else
47612 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47613 echo "${ECHO_T}no, using $LN_S" >&6; }
47614 fi
47615
47616
47617 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47618 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47619 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47620 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47621 echo $ECHO_N "(cached) $ECHO_C" >&6
47622 else
47623 cat >conftest.make <<\_ACEOF
47624 SHELL = /bin/sh
47625 all:
47626 @echo '@@@%%%=$(MAKE)=@@@%%%'
47627 _ACEOF
47628 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47630 *@@@%%%=?*=@@@%%%*)
47631 eval ac_cv_prog_make_${ac_make}_set=yes;;
47632 *)
47633 eval ac_cv_prog_make_${ac_make}_set=no;;
47634 esac
47635 rm -f conftest.make
47636 fi
47637 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47638 { echo "$as_me:$LINENO: result: yes" >&5
47639 echo "${ECHO_T}yes" >&6; }
47640 SET_MAKE=
47641 else
47642 { echo "$as_me:$LINENO: result: no" >&5
47643 echo "${ECHO_T}no" >&6; }
47644 SET_MAKE="MAKE=${MAKE-make}"
47645 fi
47646
47647
47648
47649 if test "x$SUNCXX" = "xyes"; then
47650 AR=$CXX
47651 AROPTIONS="-xar -o"
47652
47653 elif test "x$SGICC" = "xyes"; then
47654 AR=$CXX
47655 AROPTIONS="-ar -o"
47656
47657 else
47658 if test -n "$ac_tool_prefix"; then
47659 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47660 set dummy ${ac_tool_prefix}ar; ac_word=$2
47661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47663 if test "${ac_cv_prog_AR+set}" = set; then
47664 echo $ECHO_N "(cached) $ECHO_C" >&6
47665 else
47666 if test -n "$AR"; then
47667 ac_cv_prog_AR="$AR" # Let the user override the test.
47668 else
47669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47670 for as_dir in $PATH
47671 do
47672 IFS=$as_save_IFS
47673 test -z "$as_dir" && as_dir=.
47674 for ac_exec_ext in '' $ac_executable_extensions; do
47675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47676 ac_cv_prog_AR="${ac_tool_prefix}ar"
47677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47678 break 2
47679 fi
47680 done
47681 done
47682 IFS=$as_save_IFS
47683
47684 fi
47685 fi
47686 AR=$ac_cv_prog_AR
47687 if test -n "$AR"; then
47688 { echo "$as_me:$LINENO: result: $AR" >&5
47689 echo "${ECHO_T}$AR" >&6; }
47690 else
47691 { echo "$as_me:$LINENO: result: no" >&5
47692 echo "${ECHO_T}no" >&6; }
47693 fi
47694
47695
47696 fi
47697 if test -z "$ac_cv_prog_AR"; then
47698 ac_ct_AR=$AR
47699 # Extract the first word of "ar", so it can be a program name with args.
47700 set dummy ar; ac_word=$2
47701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47703 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47704 echo $ECHO_N "(cached) $ECHO_C" >&6
47705 else
47706 if test -n "$ac_ct_AR"; then
47707 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47708 else
47709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47710 for as_dir in $PATH
47711 do
47712 IFS=$as_save_IFS
47713 test -z "$as_dir" && as_dir=.
47714 for ac_exec_ext in '' $ac_executable_extensions; do
47715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47716 ac_cv_prog_ac_ct_AR="ar"
47717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47718 break 2
47719 fi
47720 done
47721 done
47722 IFS=$as_save_IFS
47723
47724 fi
47725 fi
47726 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47727 if test -n "$ac_ct_AR"; then
47728 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47729 echo "${ECHO_T}$ac_ct_AR" >&6; }
47730 else
47731 { echo "$as_me:$LINENO: result: no" >&5
47732 echo "${ECHO_T}no" >&6; }
47733 fi
47734
47735 if test "x$ac_ct_AR" = x; then
47736 AR="ar"
47737 else
47738 case $cross_compiling:$ac_tool_warned in
47739 yes:)
47740 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47741 whose name does not start with the host triplet. If you think this
47742 configuration is useful to you, please write to autoconf@gnu.org." >&5
47743 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47744 whose name does not start with the host triplet. If you think this
47745 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47746 ac_tool_warned=yes ;;
47747 esac
47748 AR=$ac_ct_AR
47749 fi
47750 else
47751 AR="$ac_cv_prog_AR"
47752 fi
47753
47754 AROPTIONS=rcu
47755 fi
47756
47757
47758 if test -n "$ac_tool_prefix"; then
47759 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47760 set dummy ${ac_tool_prefix}strip; ac_word=$2
47761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47763 if test "${ac_cv_prog_STRIP+set}" = set; then
47764 echo $ECHO_N "(cached) $ECHO_C" >&6
47765 else
47766 if test -n "$STRIP"; then
47767 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47768 else
47769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47770 for as_dir in $PATH
47771 do
47772 IFS=$as_save_IFS
47773 test -z "$as_dir" && as_dir=.
47774 for ac_exec_ext in '' $ac_executable_extensions; do
47775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47776 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47778 break 2
47779 fi
47780 done
47781 done
47782 IFS=$as_save_IFS
47783
47784 fi
47785 fi
47786 STRIP=$ac_cv_prog_STRIP
47787 if test -n "$STRIP"; then
47788 { echo "$as_me:$LINENO: result: $STRIP" >&5
47789 echo "${ECHO_T}$STRIP" >&6; }
47790 else
47791 { echo "$as_me:$LINENO: result: no" >&5
47792 echo "${ECHO_T}no" >&6; }
47793 fi
47794
47795
47796 fi
47797 if test -z "$ac_cv_prog_STRIP"; then
47798 ac_ct_STRIP=$STRIP
47799 # Extract the first word of "strip", so it can be a program name with args.
47800 set dummy strip; ac_word=$2
47801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47803 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47804 echo $ECHO_N "(cached) $ECHO_C" >&6
47805 else
47806 if test -n "$ac_ct_STRIP"; then
47807 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47808 else
47809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47810 for as_dir in $PATH
47811 do
47812 IFS=$as_save_IFS
47813 test -z "$as_dir" && as_dir=.
47814 for ac_exec_ext in '' $ac_executable_extensions; do
47815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47816 ac_cv_prog_ac_ct_STRIP="strip"
47817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47818 break 2
47819 fi
47820 done
47821 done
47822 IFS=$as_save_IFS
47823
47824 fi
47825 fi
47826 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47827 if test -n "$ac_ct_STRIP"; then
47828 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47829 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47830 else
47831 { echo "$as_me:$LINENO: result: no" >&5
47832 echo "${ECHO_T}no" >&6; }
47833 fi
47834
47835 if test "x$ac_ct_STRIP" = x; then
47836 STRIP=":"
47837 else
47838 case $cross_compiling:$ac_tool_warned in
47839 yes:)
47840 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47841 whose name does not start with the host triplet. If you think this
47842 configuration is useful to you, please write to autoconf@gnu.org." >&5
47843 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47844 whose name does not start with the host triplet. If you think this
47845 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47846 ac_tool_warned=yes ;;
47847 esac
47848 STRIP=$ac_ct_STRIP
47849 fi
47850 else
47851 STRIP="$ac_cv_prog_STRIP"
47852 fi
47853
47854 if test -n "$ac_tool_prefix"; then
47855 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47856 set dummy ${ac_tool_prefix}nm; ac_word=$2
47857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47859 if test "${ac_cv_prog_NM+set}" = set; then
47860 echo $ECHO_N "(cached) $ECHO_C" >&6
47861 else
47862 if test -n "$NM"; then
47863 ac_cv_prog_NM="$NM" # Let the user override the test.
47864 else
47865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47866 for as_dir in $PATH
47867 do
47868 IFS=$as_save_IFS
47869 test -z "$as_dir" && as_dir=.
47870 for ac_exec_ext in '' $ac_executable_extensions; do
47871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47872 ac_cv_prog_NM="${ac_tool_prefix}nm"
47873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47874 break 2
47875 fi
47876 done
47877 done
47878 IFS=$as_save_IFS
47879
47880 fi
47881 fi
47882 NM=$ac_cv_prog_NM
47883 if test -n "$NM"; then
47884 { echo "$as_me:$LINENO: result: $NM" >&5
47885 echo "${ECHO_T}$NM" >&6; }
47886 else
47887 { echo "$as_me:$LINENO: result: no" >&5
47888 echo "${ECHO_T}no" >&6; }
47889 fi
47890
47891
47892 fi
47893 if test -z "$ac_cv_prog_NM"; then
47894 ac_ct_NM=$NM
47895 # Extract the first word of "nm", so it can be a program name with args.
47896 set dummy nm; ac_word=$2
47897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47899 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47900 echo $ECHO_N "(cached) $ECHO_C" >&6
47901 else
47902 if test -n "$ac_ct_NM"; then
47903 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47904 else
47905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47906 for as_dir in $PATH
47907 do
47908 IFS=$as_save_IFS
47909 test -z "$as_dir" && as_dir=.
47910 for ac_exec_ext in '' $ac_executable_extensions; do
47911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47912 ac_cv_prog_ac_ct_NM="nm"
47913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47914 break 2
47915 fi
47916 done
47917 done
47918 IFS=$as_save_IFS
47919
47920 fi
47921 fi
47922 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47923 if test -n "$ac_ct_NM"; then
47924 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47925 echo "${ECHO_T}$ac_ct_NM" >&6; }
47926 else
47927 { echo "$as_me:$LINENO: result: no" >&5
47928 echo "${ECHO_T}no" >&6; }
47929 fi
47930
47931 if test "x$ac_ct_NM" = x; then
47932 NM=":"
47933 else
47934 case $cross_compiling:$ac_tool_warned in
47935 yes:)
47936 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47937 whose name does not start with the host triplet. If you think this
47938 configuration is useful to you, please write to autoconf@gnu.org." >&5
47939 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47940 whose name does not start with the host triplet. If you think this
47941 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47942 ac_tool_warned=yes ;;
47943 esac
47944 NM=$ac_ct_NM
47945 fi
47946 else
47947 NM="$ac_cv_prog_NM"
47948 fi
47949
47950
47951 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47952 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47953 INSTALL_TEST_DIR=acbftest$$
47954 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47955 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47956 rmdir $INSTALL_TEST_DIR
47957 INSTALL_DIR='$(INSTALL) -d'
47958 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47959 echo "${ECHO_T}$INSTALL -d" >&6; }
47960 else
47961 INSTALL_DIR="mkdir -p"
47962 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47963 echo "${ECHO_T}mkdir -p" >&6; }
47964 fi
47965
47966
47967 LDFLAGS_GUI=
47968 case ${BAKEFILE_HOST} in
47969 *-*-cygwin* | *-*-mingw32* )
47970 LDFLAGS_GUI="-mwindows"
47971 esac
47972
47973
47974 fi
47975
47976 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47977 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47978 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47979 echo $ECHO_N "(cached) $ECHO_C" >&6
47980 else
47981
47982 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47983 egrep -s GNU > /dev/null); then
47984 bakefile_cv_prog_makeisgnu="yes"
47985 else
47986 bakefile_cv_prog_makeisgnu="no"
47987 fi
47988
47989 fi
47990 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47991 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47992
47993 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47994 IF_GNU_MAKE=""
47995 else
47996 IF_GNU_MAKE="#"
47997 fi
47998
47999
48000
48001 PLATFORM_UNIX=0
48002 PLATFORM_WIN32=0
48003 PLATFORM_MSDOS=0
48004 PLATFORM_MAC=0
48005 PLATFORM_MACOS=0
48006 PLATFORM_MACOSX=0
48007 PLATFORM_OS2=0
48008 PLATFORM_BEOS=0
48009
48010 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48011 case "${BAKEFILE_HOST}" in
48012 *-*-mingw32* )
48013 PLATFORM_WIN32=1
48014 ;;
48015 *-pc-msdosdjgpp )
48016 PLATFORM_MSDOS=1
48017 ;;
48018 *-pc-os2_emx | *-pc-os2-emx )
48019 PLATFORM_OS2=1
48020 ;;
48021 *-*-darwin* )
48022 PLATFORM_MAC=1
48023 PLATFORM_MACOSX=1
48024 ;;
48025 *-*-beos* )
48026 PLATFORM_BEOS=1
48027 ;;
48028 powerpc-apple-macos* )
48029 PLATFORM_MAC=1
48030 PLATFORM_MACOS=1
48031 ;;
48032 * )
48033 PLATFORM_UNIX=1
48034 ;;
48035 esac
48036 else
48037 case "$BAKEFILE_FORCE_PLATFORM" in
48038 win32 )
48039 PLATFORM_WIN32=1
48040 ;;
48041 msdos )
48042 PLATFORM_MSDOS=1
48043 ;;
48044 os2 )
48045 PLATFORM_OS2=1
48046 ;;
48047 darwin )
48048 PLATFORM_MAC=1
48049 PLATFORM_MACOSX=1
48050 ;;
48051 unix )
48052 PLATFORM_UNIX=1
48053 ;;
48054 beos )
48055 PLATFORM_BEOS=1
48056 ;;
48057 * )
48058 ;;
48059 esac
48060 fi
48061
48062
48063
48064
48065
48066
48067
48068
48069
48070
48071
48072 # Check whether --enable-omf was given.
48073 if test "${enable_omf+set}" = set; then
48074 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48075 fi
48076
48077
48078 case "${BAKEFILE_HOST}" in
48079 *-*-darwin* )
48080 if test "x$GCC" = "xyes"; then
48081 CFLAGS="$CFLAGS -fno-common"
48082 CXXFLAGS="$CXXFLAGS -fno-common"
48083 fi
48084 if test "x$XLCC" = "xyes"; then
48085 CFLAGS="$CFLAGS -qnocommon"
48086 CXXFLAGS="$CXXFLAGS -qnocommon"
48087 fi
48088 ;;
48089
48090 *-pc-os2_emx | *-pc-os2-emx )
48091 if test "x$bk_os2_use_omf" = "xyes" ; then
48092 AR=emxomfar
48093 RANLIB=:
48094 LDFLAGS="-Zomf $LDFLAGS"
48095 CFLAGS="-Zomf $CFLAGS"
48096 CXXFLAGS="-Zomf $CXXFLAGS"
48097 OS2_LIBEXT="lib"
48098 else
48099 OS2_LIBEXT="a"
48100 fi
48101 ;;
48102
48103 i*86-*-beos* )
48104 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48105 ;;
48106 esac
48107
48108
48109 SO_SUFFIX="so"
48110 SO_SUFFIX_MODULE="so"
48111 EXEEXT=""
48112 LIBPREFIX="lib"
48113 LIBEXT=".a"
48114 DLLPREFIX="lib"
48115 DLLPREFIX_MODULE=""
48116 DLLIMP_SUFFIX=""
48117 dlldir="$libdir"
48118
48119 case "${BAKEFILE_HOST}" in
48120 ia64-hp-hpux* )
48121 ;;
48122 *-hp-hpux* )
48123 SO_SUFFIX="sl"
48124 SO_SUFFIX_MODULE="sl"
48125 ;;
48126 *-*-aix* )
48127 SO_SUFFIX="a"
48128 SO_SUFFIX_MODULE="a"
48129 ;;
48130 *-*-cygwin* )
48131 SO_SUFFIX="dll"
48132 SO_SUFFIX_MODULE="dll"
48133 DLLIMP_SUFFIX="dll.a"
48134 EXEEXT=".exe"
48135 DLLPREFIX="cyg"
48136 dlldir="$bindir"
48137 ;;
48138 *-*-mingw32* )
48139 SO_SUFFIX="dll"
48140 SO_SUFFIX_MODULE="dll"
48141 DLLIMP_SUFFIX="dll.a"
48142 EXEEXT=".exe"
48143 DLLPREFIX=""
48144 dlldir="$bindir"
48145 ;;
48146 *-pc-msdosdjgpp )
48147 EXEEXT=".exe"
48148 DLLPREFIX=""
48149 dlldir="$bindir"
48150 ;;
48151 *-pc-os2_emx | *-pc-os2-emx )
48152 SO_SUFFIX="dll"
48153 SO_SUFFIX_MODULE="dll"
48154 DLLIMP_SUFFIX=$OS2_LIBEXT
48155 EXEEXT=".exe"
48156 DLLPREFIX=""
48157 LIBPREFIX=""
48158 LIBEXT=".$OS2_LIBEXT"
48159 dlldir="$bindir"
48160 ;;
48161 *-*-darwin* )
48162 SO_SUFFIX="dylib"
48163 SO_SUFFIX_MODULE="bundle"
48164 ;;
48165 esac
48166
48167 if test "x$DLLIMP_SUFFIX" = "x" ; then
48168 DLLIMP_SUFFIX="$SO_SUFFIX"
48169 fi
48170
48171
48172
48173
48174
48175
48176
48177
48178
48179
48180
48181
48182 PIC_FLAG=""
48183 if test "x$GCC" = "xyes"; then
48184 PIC_FLAG="-fPIC"
48185 fi
48186
48187 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48188 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48189 WINDOWS_IMPLIB=0
48190
48191 case "${BAKEFILE_HOST}" in
48192 *-hp-hpux* )
48193 if test "x$GCC" != "xyes"; then
48194 LDFLAGS="$LDFLAGS -L/usr/lib"
48195
48196 SHARED_LD_CC="${CC} -b -o"
48197 SHARED_LD_CXX="${CXX} -b -o"
48198 PIC_FLAG="+Z"
48199 fi
48200 ;;
48201
48202 *-*-linux* )
48203 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48204 PIC_FLAG="-KPIC"
48205 elif test "x$SUNCXX" = "xyes"; then
48206 SHARED_LD_CC="${CC} -G -o"
48207 SHARED_LD_CXX="${CXX} -G -o"
48208 PIC_FLAG="-KPIC"
48209 fi
48210 ;;
48211
48212 *-*-solaris2* )
48213 if test "x$SUNCXX" = xyes ; then
48214 SHARED_LD_CC="${CC} -G -o"
48215 SHARED_LD_CXX="${CXX} -G -o"
48216 PIC_FLAG="-KPIC"
48217 fi
48218 ;;
48219
48220 *-*-darwin* )
48221
48222 D='$'
48223 cat <<EOF >shared-ld-sh
48224 #!/bin/sh
48225 #-----------------------------------------------------------------------------
48226 #-- Name: distrib/mac/shared-ld-sh
48227 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48228 #-- Author: Gilles Depeyrot
48229 #-- Copyright: (c) 2002 Gilles Depeyrot
48230 #-- Licence: any use permitted
48231 #-----------------------------------------------------------------------------
48232
48233 verbose=0
48234 args=""
48235 objects=""
48236 linking_flag="-dynamiclib"
48237 ldargs="-r -keep_private_externs -nostdlib"
48238
48239 if test "x${D}CXX" = "x"; then
48240 CXX="c++"
48241 fi
48242
48243 while test ${D}# -gt 0; do
48244 case ${D}1 in
48245
48246 -v)
48247 verbose=1
48248 ;;
48249
48250 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48251 # collect these options and values
48252 args="${D}{args} ${D}1 ${D}2"
48253 shift
48254 ;;
48255
48256 -arch|-isysroot)
48257 # collect these options and values
48258 ldargs="${D}{ldargs} ${D}1 ${D}2"
48259 shift
48260 ;;
48261
48262 -s|-Wl,*)
48263 # collect these load args
48264 ldargs="${D}{ldargs} ${D}1"
48265 ;;
48266
48267 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48268 # collect these options
48269 args="${D}{args} ${D}1"
48270 ;;
48271
48272 -dynamiclib|-bundle)
48273 linking_flag="${D}1"
48274 ;;
48275
48276 -*)
48277 echo "shared-ld: unhandled option '${D}1'"
48278 exit 1
48279 ;;
48280
48281 *.o | *.a | *.dylib)
48282 # collect object files
48283 objects="${D}{objects} ${D}1"
48284 ;;
48285
48286 *)
48287 echo "shared-ld: unhandled argument '${D}1'"
48288 exit 1
48289 ;;
48290
48291 esac
48292 shift
48293 done
48294
48295 status=0
48296
48297 #
48298 # Link one module containing all the others
48299 #
48300 if test ${D}{verbose} = 1; then
48301 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48302 fi
48303 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48304 status=${D}?
48305
48306 #
48307 # Link the shared library from the single module created, but only if the
48308 # previous command didn't fail:
48309 #
48310 if test ${D}{status} = 0; then
48311 if test ${D}{verbose} = 1; then
48312 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48313 fi
48314 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48315 status=${D}?
48316 fi
48317
48318 #
48319 # Remove intermediate module
48320 #
48321 rm -f master.${D}${D}.o
48322
48323 exit ${D}status
48324 EOF
48325
48326 chmod +x shared-ld-sh
48327
48328 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48329 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48330
48331
48332 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48333 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48334 if test "${bakefile_cv_gcc31+set}" = set; then
48335 echo $ECHO_N "(cached) $ECHO_C" >&6
48336 else
48337
48338 cat >conftest.$ac_ext <<_ACEOF
48339 /* confdefs.h. */
48340 _ACEOF
48341 cat confdefs.h >>conftest.$ac_ext
48342 cat >>conftest.$ac_ext <<_ACEOF
48343 /* end confdefs.h. */
48344
48345 int
48346 main ()
48347 {
48348
48349 #if (__GNUC__ < 3) || \
48350 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48351 This is old gcc
48352 #endif
48353
48354 ;
48355 return 0;
48356 }
48357 _ACEOF
48358 rm -f conftest.$ac_objext
48359 if { (ac_try="$ac_compile"
48360 case "(($ac_try" in
48361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48362 *) ac_try_echo=$ac_try;;
48363 esac
48364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48365 (eval "$ac_compile") 2>conftest.er1
48366 ac_status=$?
48367 grep -v '^ *+' conftest.er1 >conftest.err
48368 rm -f conftest.er1
48369 cat conftest.err >&5
48370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48371 (exit $ac_status); } && {
48372 test -z "$ac_c_werror_flag" ||
48373 test ! -s conftest.err
48374 } && test -s conftest.$ac_objext; then
48375
48376 bakefile_cv_gcc31=yes
48377
48378 else
48379 echo "$as_me: failed program was:" >&5
48380 sed 's/^/| /' conftest.$ac_ext >&5
48381
48382
48383 bakefile_cv_gcc31=no
48384
48385
48386 fi
48387
48388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48389
48390 fi
48391 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48392 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48393 if test "$bakefile_cv_gcc31" = "no"; then
48394 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48395 SHARED_LD_CXX="$SHARED_LD_CC"
48396 else
48397 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48398 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48399 fi
48400
48401 if test "x$GCC" == "xyes"; then
48402 PIC_FLAG="-dynamic -fPIC"
48403 fi
48404 if test "x$XLCC" = "xyes"; then
48405 PIC_FLAG="-dynamic -DPIC"
48406 fi
48407 ;;
48408
48409 *-*-aix* )
48410 if test "x$GCC" = "xyes"; then
48411 PIC_FLAG=""
48412
48413 case "${BAKEFILE_HOST}" in
48414 *-*-aix5* )
48415 LD_EXPFULL="-Wl,-bexpfull"
48416 ;;
48417 esac
48418
48419 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48420 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48421 else
48422 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48423 set dummy makeC++SharedLib; ac_word=$2
48424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48426 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48427 echo $ECHO_N "(cached) $ECHO_C" >&6
48428 else
48429 if test -n "$AIX_CXX_LD"; then
48430 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48431 else
48432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48433 for as_dir in $PATH
48434 do
48435 IFS=$as_save_IFS
48436 test -z "$as_dir" && as_dir=.
48437 for ac_exec_ext in '' $ac_executable_extensions; do
48438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48439 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48441 break 2
48442 fi
48443 done
48444 done
48445 IFS=$as_save_IFS
48446
48447 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48448 fi
48449 fi
48450 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48451 if test -n "$AIX_CXX_LD"; then
48452 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48453 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48454 else
48455 { echo "$as_me:$LINENO: result: no" >&5
48456 echo "${ECHO_T}no" >&6; }
48457 fi
48458
48459
48460 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48461 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48462 fi
48463 ;;
48464
48465 *-*-beos* )
48466 SHARED_LD_CC="${LD} -nostart -o"
48467 SHARED_LD_CXX="${LD} -nostart -o"
48468 ;;
48469
48470 *-*-irix* )
48471 if test "x$GCC" != "xyes"; then
48472 PIC_FLAG="-KPIC"
48473 fi
48474 ;;
48475
48476 *-*-cygwin* | *-*-mingw32* )
48477 PIC_FLAG=""
48478 SHARED_LD_CC="\$(CC) -shared -o"
48479 SHARED_LD_CXX="\$(CXX) -shared -o"
48480 WINDOWS_IMPLIB=1
48481 ;;
48482
48483 *-pc-os2_emx | *-pc-os2-emx )
48484 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48485 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48486 PIC_FLAG=""
48487
48488 D='$'
48489 cat <<EOF >dllar.sh
48490 #!/bin/sh
48491 #
48492 # dllar - a tool to build both a .dll and an .a file
48493 # from a set of object (.o) files for EMX/OS2.
48494 #
48495 # Written by Andrew Zabolotny, bit@freya.etu.ru
48496 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48497 #
48498 # This script will accept a set of files on the command line.
48499 # All the public symbols from the .o files will be exported into
48500 # a .DEF file, then linker will be run (through gcc) against them to
48501 # build a shared library consisting of all given .o files. All libraries
48502 # (.a) will be first decompressed into component .o files then act as
48503 # described above. You can optionally give a description (-d "description")
48504 # which will be put into .DLL. To see the list of accepted options (as well
48505 # as command-line format) simply run this program without options. The .DLL
48506 # is built to be imported by name (there is no guarantee that new versions
48507 # of the library you build will have same ordinals for same symbols).
48508 #
48509 # dllar is free software; you can redistribute it and/or modify
48510 # it under the terms of the GNU General Public License as published by
48511 # the Free Software Foundation; either version 2, or (at your option)
48512 # any later version.
48513 #
48514 # dllar is distributed in the hope that it will be useful,
48515 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48517 # GNU General Public License for more details.
48518 #
48519 # You should have received a copy of the GNU General Public License
48520 # along with dllar; see the file COPYING. If not, write to the Free
48521 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48522 # 02111-1307, USA.
48523
48524 # To successfuly run this program you will need:
48525 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48526 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48527 # - gcc
48528 # (used to build the .dll)
48529 # - emxexp
48530 # (used to create .def file from .o files)
48531 # - emximp
48532 # (used to create .a file from .def file)
48533 # - GNU text utilites (cat, sort, uniq)
48534 # used to process emxexp output
48535 # - GNU file utilities (mv, rm)
48536 # - GNU sed
48537 # - lxlite (optional, see flag below)
48538 # (used for general .dll cleanup)
48539 #
48540
48541 flag_USE_LXLITE=1;
48542
48543 #
48544 # helper functions
48545 # basnam, variant of basename, which does _not_ remove the path, _iff_
48546 # second argument (suffix to remove) is given
48547 basnam(){
48548 case ${D}# in
48549 1)
48550 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48551 ;;
48552 2)
48553 echo ${D}1 | sed 's/'${D}2'${D}//'
48554 ;;
48555 *)
48556 echo "error in basnam ${D}*"
48557 exit 8
48558 ;;
48559 esac
48560 }
48561
48562 # Cleanup temporary files and output
48563 CleanUp() {
48564 cd ${D}curDir
48565 for i in ${D}inputFiles ; do
48566 case ${D}i in
48567 *!)
48568 rm -rf \`basnam ${D}i !\`
48569 ;;
48570 *)
48571 ;;
48572 esac
48573 done
48574
48575 # Kill result in case of failure as there is just to many stupid make/nmake
48576 # things out there which doesn't do this.
48577 if [ ${D}# -eq 0 ]; then
48578 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48579 fi
48580 }
48581
48582 # Print usage and exit script with rc=1.
48583 PrintHelp() {
48584 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48585 echo ' [-name-mangler-script script.sh]'
48586 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48587 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48588 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48589 echo ' [*.o] [*.a]'
48590 echo '*> "output_file" should have no extension.'
48591 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48592 echo ' The import library name is derived from this and is set to "name".a,'
48593 echo ' unless overridden by -import'
48594 echo '*> "importlib_name" should have no extension.'
48595 echo ' If it has the .o, or .a extension, it is automatically removed.'
48596 echo ' This name is used as the import library name and may be longer and'
48597 echo ' more descriptive than the DLL name which has to follow the old '
48598 echo ' 8.3 convention of FAT.'
48599 echo '*> "script.sh may be given to override the output_file name by a'
48600 echo ' different name. It is mainly useful if the regular make process'
48601 echo ' of some package does not take into account OS/2 restriction of'
48602 echo ' DLL name lengths. It takes the importlib name as input and is'
48603 echo ' supposed to procude a shorter name as output. The script should'
48604 echo ' expect to get importlib_name without extension and should produce'
48605 echo ' a (max.) 8 letter name without extension.'
48606 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48607 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48608 echo ' These flags will be put at the start of GCC command line.'
48609 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48610 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48611 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48612 echo ' If the last character of a symbol is "*", all symbols beginning'
48613 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48614 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48615 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48616 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48617 echo ' C runtime DLLs.'
48618 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48619 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48620 echo ' unchanged to GCC at the end of command line.'
48621 echo '*> If you create a DLL from a library and you do not specify -o,'
48622 echo ' the basename for DLL and import library will be set to library name,'
48623 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48624 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48625 echo ' library will be renamed into gcc_s.a.'
48626 echo '--------'
48627 echo 'Example:'
48628 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48629 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48630 CleanUp
48631 exit 1
48632 }
48633
48634 # Execute a command.
48635 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48636 # @Uses Whatever CleanUp() uses.
48637 doCommand() {
48638 echo "${D}*"
48639 eval ${D}*
48640 rcCmd=${D}?
48641
48642 if [ ${D}rcCmd -ne 0 ]; then
48643 echo "command failed, exit code="${D}rcCmd
48644 CleanUp
48645 exit ${D}rcCmd
48646 fi
48647 }
48648
48649 # main routine
48650 # setup globals
48651 cmdLine=${D}*
48652 outFile=""
48653 outimpFile=""
48654 inputFiles=""
48655 renameScript=""
48656 description=""
48657 CC=gcc.exe
48658 CFLAGS="-s -Zcrtdll"
48659 EXTRA_CFLAGS=""
48660 EXPORT_BY_ORDINALS=0
48661 exclude_symbols=""
48662 library_flags=""
48663 curDir=\`pwd\`
48664 curDirS=curDir
48665 case ${D}curDirS in
48666 */)
48667 ;;
48668 *)
48669 curDirS=${D}{curDirS}"/"
48670 ;;
48671 esac
48672 # Parse commandline
48673 libsToLink=0
48674 omfLinking=0
48675 while [ ${D}1 ]; do
48676 case ${D}1 in
48677 -ord*)
48678 EXPORT_BY_ORDINALS=1;
48679 ;;
48680 -o*)
48681 shift
48682 outFile=${D}1
48683 ;;
48684 -i*)
48685 shift
48686 outimpFile=${D}1
48687 ;;
48688 -name-mangler-script)
48689 shift
48690 renameScript=${D}1
48691 ;;
48692 -d*)
48693 shift
48694 description=${D}1
48695 ;;
48696 -f*)
48697 shift
48698 CFLAGS=${D}1
48699 ;;
48700 -c*)
48701 shift
48702 CC=${D}1
48703 ;;
48704 -h*)
48705 PrintHelp
48706 ;;
48707 -ex*)
48708 shift
48709 exclude_symbols=${D}{exclude_symbols}${D}1" "
48710 ;;
48711 -libf*)
48712 shift
48713 library_flags=${D}{library_flags}${D}1" "
48714 ;;
48715 -nocrt*)
48716 CFLAGS="-s"
48717 ;;
48718 -nolxl*)
48719 flag_USE_LXLITE=0
48720 ;;
48721 -* | /*)
48722 case ${D}1 in
48723 -L* | -l*)
48724 libsToLink=1
48725 ;;
48726 -Zomf)
48727 omfLinking=1
48728 ;;
48729 *)
48730 ;;
48731 esac
48732 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48733 ;;
48734 *.dll)
48735 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48736 if [ ${D}omfLinking -eq 1 ]; then
48737 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48738 else
48739 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48740 fi
48741 ;;
48742 *)
48743 found=0;
48744 if [ ${D}libsToLink -ne 0 ]; then
48745 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48746 else
48747 for file in ${D}1 ; do
48748 if [ -f ${D}file ]; then
48749 inputFiles="${D}{inputFiles} ${D}file"
48750 found=1
48751 fi
48752 done
48753 if [ ${D}found -eq 0 ]; then
48754 echo "ERROR: No file(s) found: "${D}1
48755 exit 8
48756 fi
48757 fi
48758 ;;
48759 esac
48760 shift
48761 done # iterate cmdline words
48762
48763 #
48764 if [ -z "${D}inputFiles" ]; then
48765 echo "dllar: no input files"
48766 PrintHelp
48767 fi
48768
48769 # Now extract all .o files from .a files
48770 newInputFiles=""
48771 for file in ${D}inputFiles ; do
48772 case ${D}file in
48773 *.a | *.lib)
48774 case ${D}file in
48775 *.a)
48776 suffix=".a"
48777 AR="ar"
48778 ;;
48779 *.lib)
48780 suffix=".lib"
48781 AR="emxomfar"
48782 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48783 ;;
48784 *)
48785 ;;
48786 esac
48787 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48788 mkdir ${D}dirname
48789 if [ ${D}? -ne 0 ]; then
48790 echo "Failed to create subdirectory ./${D}dirname"
48791 CleanUp
48792 exit 8;
48793 fi
48794 # Append '!' to indicate archive
48795 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48796 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48797 cd ${D}curDir
48798 found=0;
48799 for subfile in ${D}dirname/*.o* ; do
48800 if [ -f ${D}subfile ]; then
48801 found=1
48802 if [ -s ${D}subfile ]; then
48803 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48804 newInputFiles="${D}newInputFiles ${D}subfile"
48805 fi
48806 fi
48807 done
48808 if [ ${D}found -eq 0 ]; then
48809 echo "WARNING: there are no files in archive \\'${D}file\\'"
48810 fi
48811 ;;
48812 *)
48813 newInputFiles="${D}{newInputFiles} ${D}file"
48814 ;;
48815 esac
48816 done
48817 inputFiles="${D}newInputFiles"
48818
48819 # Output filename(s).
48820 do_backup=0;
48821 if [ -z ${D}outFile ]; then
48822 do_backup=1;
48823 set outFile ${D}inputFiles; outFile=${D}2
48824 fi
48825
48826 # If it is an archive, remove the '!' and the '_%' suffixes
48827 case ${D}outFile in
48828 *_%!)
48829 outFile=\`basnam ${D}outFile _%!\`
48830 ;;
48831 *)
48832 ;;
48833 esac
48834 case ${D}outFile in
48835 *.dll)
48836 outFile=\`basnam ${D}outFile .dll\`
48837 ;;
48838 *.DLL)
48839 outFile=\`basnam ${D}outFile .DLL\`
48840 ;;
48841 *.o)
48842 outFile=\`basnam ${D}outFile .o\`
48843 ;;
48844 *.obj)
48845 outFile=\`basnam ${D}outFile .obj\`
48846 ;;
48847 *.a)
48848 outFile=\`basnam ${D}outFile .a\`
48849 ;;
48850 *.lib)
48851 outFile=\`basnam ${D}outFile .lib\`
48852 ;;
48853 *)
48854 ;;
48855 esac
48856 case ${D}outimpFile in
48857 *.a)
48858 outimpFile=\`basnam ${D}outimpFile .a\`
48859 ;;
48860 *.lib)
48861 outimpFile=\`basnam ${D}outimpFile .lib\`
48862 ;;
48863 *)
48864 ;;
48865 esac
48866 if [ -z ${D}outimpFile ]; then
48867 outimpFile=${D}outFile
48868 fi
48869 defFile="${D}{outFile}.def"
48870 arcFile="${D}{outimpFile}.a"
48871 arcFile2="${D}{outimpFile}.lib"
48872
48873 #create ${D}dllFile as something matching 8.3 restrictions,
48874 if [ -z ${D}renameScript ] ; then
48875 dllFile="${D}outFile"
48876 else
48877 dllFile=\`${D}renameScript ${D}outimpFile\`
48878 fi
48879
48880 if [ ${D}do_backup -ne 0 ] ; then
48881 if [ -f ${D}arcFile ] ; then
48882 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48883 fi
48884 if [ -f ${D}arcFile2 ] ; then
48885 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48886 fi
48887 fi
48888
48889 # Extract public symbols from all the object files.
48890 tmpdefFile=${D}{defFile}_%
48891 rm -f ${D}tmpdefFile
48892 for file in ${D}inputFiles ; do
48893 case ${D}file in
48894 *!)
48895 ;;
48896 *)
48897 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48898 ;;
48899 esac
48900 done
48901
48902 # Create the def file.
48903 rm -f ${D}defFile
48904 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48905 dllFile="${D}{dllFile}.dll"
48906 if [ ! -z ${D}description ]; then
48907 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48908 fi
48909 echo "EXPORTS" >> ${D}defFile
48910
48911 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48912 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48913
48914 # Checks if the export is ok or not.
48915 for word in ${D}exclude_symbols; do
48916 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48917 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48918 done
48919
48920
48921 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48922 sed "=" < ${D}tmpdefFile | \\
48923 sed '
48924 N
48925 : loop
48926 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48927 t loop
48928 ' > ${D}{tmpdefFile}%
48929 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48930 else
48931 rm -f ${D}{tmpdefFile}%
48932 fi
48933 cat ${D}tmpdefFile >> ${D}defFile
48934 rm -f ${D}tmpdefFile
48935
48936 # Do linking, create implib, and apply lxlite.
48937 gccCmdl="";
48938 for file in ${D}inputFiles ; do
48939 case ${D}file in
48940 *!)
48941 ;;
48942 *)
48943 gccCmdl="${D}gccCmdl ${D}file"
48944 ;;
48945 esac
48946 done
48947 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48948 touch "${D}{outFile}.dll"
48949
48950 doCommand "emximp -o ${D}arcFile ${D}defFile"
48951 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48952 add_flags="";
48953 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48954 add_flags="-ynd"
48955 fi
48956 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48957 fi
48958 doCommand "emxomf -s -l ${D}arcFile"
48959
48960 # Successful exit.
48961 CleanUp 1
48962 exit 0
48963 EOF
48964
48965 chmod +x dllar.sh
48966 ;;
48967
48968 powerpc-apple-macos* | \
48969 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48970 *-*-mirbsd* | \
48971 *-*-sunos4* | \
48972 *-*-osf* | \
48973 *-*-dgux5* | \
48974 *-*-sysv5* | \
48975 *-pc-msdosdjgpp )
48976 ;;
48977
48978 *)
48979 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48980 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48981 { (exit 1); exit 1; }; }
48982 esac
48983
48984 if test "x$PIC_FLAG" != "x" ; then
48985 PIC_FLAG="$PIC_FLAG -DPIC"
48986 fi
48987
48988 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48989 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48990 fi
48991 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48992 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48993 fi
48994
48995
48996
48997
48998
48999
49000
49001
49002
49003 USE_SOVERSION=0
49004 USE_SOVERLINUX=0
49005 USE_SOVERSOLARIS=0
49006 USE_SOVERCYGWIN=0
49007 USE_SOSYMLINKS=0
49008 USE_MACVERSION=0
49009 SONAME_FLAG=
49010
49011 case "${BAKEFILE_HOST}" in
49012 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49013 *-*-k*bsd*-gnu | *-*-mirbsd* )
49014 if test "x$SUNCXX" = "xyes"; then
49015 SONAME_FLAG="-h "
49016 else
49017 SONAME_FLAG="-Wl,-soname,"
49018 fi
49019 USE_SOVERSION=1
49020 USE_SOVERLINUX=1
49021 USE_SOSYMLINKS=1
49022 ;;
49023
49024 *-*-solaris2* )
49025 SONAME_FLAG="-h "
49026 USE_SOVERSION=1
49027 USE_SOVERSOLARIS=1
49028 USE_SOSYMLINKS=1
49029 ;;
49030
49031 *-*-darwin* )
49032 USE_MACVERSION=1
49033 USE_SOVERSION=1
49034 USE_SOSYMLINKS=1
49035 ;;
49036
49037 *-*-cygwin* )
49038 USE_SOVERSION=1
49039 USE_SOVERCYGWIN=1
49040 ;;
49041 esac
49042
49043
49044
49045
49046
49047
49048
49049
49050
49051
49052 # Check whether --enable-dependency-tracking was given.
49053 if test "${enable_dependency_tracking+set}" = set; then
49054 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49055 fi
49056
49057
49058 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49059 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49060
49061 BK_DEPS=""
49062 if test "x$bk_use_trackdeps" = "xno" ; then
49063 DEPS_TRACKING=0
49064 { echo "$as_me:$LINENO: result: disabled" >&5
49065 echo "${ECHO_T}disabled" >&6; }
49066 else
49067 DEPS_TRACKING=1
49068
49069 if test "x$GCC" = "xyes"; then
49070 DEPSMODE=gcc
49071 case "${BAKEFILE_HOST}" in
49072 *-*-darwin* )
49073 DEPSFLAG="-no-cpp-precomp -MMD"
49074 ;;
49075 * )
49076 DEPSFLAG="-MMD"
49077 ;;
49078 esac
49079 { echo "$as_me:$LINENO: result: gcc" >&5
49080 echo "${ECHO_T}gcc" >&6; }
49081 elif test "x$MWCC" = "xyes"; then
49082 DEPSMODE=mwcc
49083 DEPSFLAG="-MM"
49084 { echo "$as_me:$LINENO: result: mwcc" >&5
49085 echo "${ECHO_T}mwcc" >&6; }
49086 elif test "x$SUNCC" = "xyes"; then
49087 DEPSMODE=unixcc
49088 DEPSFLAG="-xM1"
49089 { echo "$as_me:$LINENO: result: Sun cc" >&5
49090 echo "${ECHO_T}Sun cc" >&6; }
49091 elif test "x$SGICC" = "xyes"; then
49092 DEPSMODE=unixcc
49093 DEPSFLAG="-M"
49094 { echo "$as_me:$LINENO: result: SGI cc" >&5
49095 echo "${ECHO_T}SGI cc" >&6; }
49096 elif test "x$HPCC" = "xyes"; then
49097 DEPSMODE=unixcc
49098 DEPSFLAG="+make"
49099 { echo "$as_me:$LINENO: result: HP cc" >&5
49100 echo "${ECHO_T}HP cc" >&6; }
49101 elif test "x$COMPAQCC" = "xyes"; then
49102 DEPSMODE=gcc
49103 DEPSFLAG="-MD"
49104 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49105 echo "${ECHO_T}Compaq cc" >&6; }
49106 else
49107 DEPS_TRACKING=0
49108 { echo "$as_me:$LINENO: result: none" >&5
49109 echo "${ECHO_T}none" >&6; }
49110 fi
49111
49112 if test $DEPS_TRACKING = 1 ; then
49113
49114 D='$'
49115 cat <<EOF >bk-deps
49116 #!/bin/sh
49117
49118 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49119 # script. It is used to track C/C++ files dependencies in portable way.
49120 #
49121 # Permission is given to use this file in any way.
49122
49123 DEPSMODE=${DEPSMODE}
49124 DEPSFLAG="${DEPSFLAG}"
49125 DEPSDIRBASE=.deps
49126
49127 if test ${D}DEPSMODE = gcc ; then
49128 ${D}* ${D}{DEPSFLAG}
49129 status=${D}?
49130
49131 # determine location of created files:
49132 while test ${D}# -gt 0; do
49133 case "${D}1" in
49134 -o )
49135 shift
49136 objfile=${D}1
49137 ;;
49138 -* )
49139 ;;
49140 * )
49141 srcfile=${D}1
49142 ;;
49143 esac
49144 shift
49145 done
49146 objfilebase=\`basename ${D}objfile\`
49147 builddir=\`dirname ${D}objfile\`
49148 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49149 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49150 depsdir=${D}builddir/${D}DEPSDIRBASE
49151 mkdir -p ${D}depsdir
49152
49153 # if the compiler failed, we're done:
49154 if test ${D}{status} != 0 ; then
49155 rm -f ${D}depfile
49156 exit ${D}{status}
49157 fi
49158
49159 # move created file to the location we want it in:
49160 if test -f ${D}depfile ; then
49161 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49162 rm -f ${D}depfile
49163 else
49164 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49165 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49166 if test ! -f ${D}depfile ; then
49167 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49168 depfile="${D}objfile.d"
49169 fi
49170 if test -f ${D}depfile ; then
49171 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49172 rm -f ${D}depfile
49173 fi
49174 fi
49175 exit 0
49176
49177 elif test ${D}DEPSMODE = mwcc ; then
49178 ${D}* || exit ${D}?
49179 # Run mwcc again with -MM and redirect into the dep file we want
49180 # NOTE: We can't use shift here because we need ${D}* to be valid
49181 prevarg=
49182 for arg in ${D}* ; do
49183 if test "${D}prevarg" = "-o"; then
49184 objfile=${D}arg
49185 else
49186 case "${D}arg" in
49187 -* )
49188 ;;
49189 * )
49190 srcfile=${D}arg
49191 ;;
49192 esac
49193 fi
49194 prevarg="${D}arg"
49195 done
49196
49197 objfilebase=\`basename ${D}objfile\`
49198 builddir=\`dirname ${D}objfile\`
49199 depsdir=${D}builddir/${D}DEPSDIRBASE
49200 mkdir -p ${D}depsdir
49201
49202 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49203 exit 0
49204
49205 elif test ${D}DEPSMODE = unixcc; then
49206 ${D}* || exit ${D}?
49207 # Run compiler again with deps flag and redirect into the dep file.
49208 # It doesn't work if the '-o FILE' option is used, but without it the
49209 # dependency file will contain the wrong name for the object. So it is
49210 # removed from the command line, and the dep file is fixed with sed.
49211 cmd=""
49212 while test ${D}# -gt 0; do
49213 case "${D}1" in
49214 -o )
49215 shift
49216 objfile=${D}1
49217 ;;
49218 * )
49219 eval arg${D}#=\\${D}1
49220 cmd="${D}cmd \\${D}arg${D}#"
49221 ;;
49222 esac
49223 shift
49224 done
49225
49226 objfilebase=\`basename ${D}objfile\`
49227 builddir=\`dirname ${D}objfile\`
49228 depsdir=${D}builddir/${D}DEPSDIRBASE
49229 mkdir -p ${D}depsdir
49230
49231 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49232 exit 0
49233
49234 else
49235 ${D}*
49236 exit ${D}?
49237 fi
49238 EOF
49239
49240 chmod +x bk-deps
49241 BK_DEPS="`pwd`/bk-deps"
49242 fi
49243 fi
49244
49245
49246
49247
49248
49249 case ${BAKEFILE_HOST} in
49250 *-*-cygwin* | *-*-mingw32* )
49251 if test -n "$ac_tool_prefix"; then
49252 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49253 set dummy ${ac_tool_prefix}windres; ac_word=$2
49254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49256 if test "${ac_cv_prog_WINDRES+set}" = set; then
49257 echo $ECHO_N "(cached) $ECHO_C" >&6
49258 else
49259 if test -n "$WINDRES"; then
49260 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49261 else
49262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49263 for as_dir in $PATH
49264 do
49265 IFS=$as_save_IFS
49266 test -z "$as_dir" && as_dir=.
49267 for ac_exec_ext in '' $ac_executable_extensions; do
49268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49269 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49271 break 2
49272 fi
49273 done
49274 done
49275 IFS=$as_save_IFS
49276
49277 fi
49278 fi
49279 WINDRES=$ac_cv_prog_WINDRES
49280 if test -n "$WINDRES"; then
49281 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49282 echo "${ECHO_T}$WINDRES" >&6; }
49283 else
49284 { echo "$as_me:$LINENO: result: no" >&5
49285 echo "${ECHO_T}no" >&6; }
49286 fi
49287
49288
49289 fi
49290 if test -z "$ac_cv_prog_WINDRES"; then
49291 ac_ct_WINDRES=$WINDRES
49292 # Extract the first word of "windres", so it can be a program name with args.
49293 set dummy windres; ac_word=$2
49294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49296 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49297 echo $ECHO_N "(cached) $ECHO_C" >&6
49298 else
49299 if test -n "$ac_ct_WINDRES"; then
49300 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49301 else
49302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49303 for as_dir in $PATH
49304 do
49305 IFS=$as_save_IFS
49306 test -z "$as_dir" && as_dir=.
49307 for ac_exec_ext in '' $ac_executable_extensions; do
49308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49309 ac_cv_prog_ac_ct_WINDRES="windres"
49310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49311 break 2
49312 fi
49313 done
49314 done
49315 IFS=$as_save_IFS
49316
49317 fi
49318 fi
49319 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49320 if test -n "$ac_ct_WINDRES"; then
49321 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49322 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49323 else
49324 { echo "$as_me:$LINENO: result: no" >&5
49325 echo "${ECHO_T}no" >&6; }
49326 fi
49327
49328 if test "x$ac_ct_WINDRES" = x; then
49329 WINDRES=""
49330 else
49331 case $cross_compiling:$ac_tool_warned in
49332 yes:)
49333 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49334 whose name does not start with the host triplet. If you think this
49335 configuration is useful to you, please write to autoconf@gnu.org." >&5
49336 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49337 whose name does not start with the host triplet. If you think this
49338 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49339 ac_tool_warned=yes ;;
49340 esac
49341 WINDRES=$ac_ct_WINDRES
49342 fi
49343 else
49344 WINDRES="$ac_cv_prog_WINDRES"
49345 fi
49346
49347 ;;
49348
49349 *-*-darwin* | powerpc-apple-macos* )
49350 # Extract the first word of "Rez", so it can be a program name with args.
49351 set dummy Rez; ac_word=$2
49352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49354 if test "${ac_cv_prog_REZ+set}" = set; then
49355 echo $ECHO_N "(cached) $ECHO_C" >&6
49356 else
49357 if test -n "$REZ"; then
49358 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49359 else
49360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49361 for as_dir in $PATH
49362 do
49363 IFS=$as_save_IFS
49364 test -z "$as_dir" && as_dir=.
49365 for ac_exec_ext in '' $ac_executable_extensions; do
49366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49367 ac_cv_prog_REZ="Rez"
49368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49369 break 2
49370 fi
49371 done
49372 done
49373 IFS=$as_save_IFS
49374
49375 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49376 fi
49377 fi
49378 REZ=$ac_cv_prog_REZ
49379 if test -n "$REZ"; then
49380 { echo "$as_me:$LINENO: result: $REZ" >&5
49381 echo "${ECHO_T}$REZ" >&6; }
49382 else
49383 { echo "$as_me:$LINENO: result: no" >&5
49384 echo "${ECHO_T}no" >&6; }
49385 fi
49386
49387
49388 # Extract the first word of "SetFile", so it can be a program name with args.
49389 set dummy SetFile; ac_word=$2
49390 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49392 if test "${ac_cv_prog_SETFILE+set}" = set; then
49393 echo $ECHO_N "(cached) $ECHO_C" >&6
49394 else
49395 if test -n "$SETFILE"; then
49396 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49397 else
49398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49399 for as_dir in $PATH
49400 do
49401 IFS=$as_save_IFS
49402 test -z "$as_dir" && as_dir=.
49403 for ac_exec_ext in '' $ac_executable_extensions; do
49404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49405 ac_cv_prog_SETFILE="SetFile"
49406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49407 break 2
49408 fi
49409 done
49410 done
49411 IFS=$as_save_IFS
49412
49413 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49414 fi
49415 fi
49416 SETFILE=$ac_cv_prog_SETFILE
49417 if test -n "$SETFILE"; then
49418 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49419 echo "${ECHO_T}$SETFILE" >&6; }
49420 else
49421 { echo "$as_me:$LINENO: result: no" >&5
49422 echo "${ECHO_T}no" >&6; }
49423 fi
49424
49425
49426 ;;
49427 esac
49428
49429
49430
49431
49432
49433
49434
49435
49436
49437 BAKEFILE_BAKEFILE_M4_VERSION="0.2.6"
49438
49439
49440 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.6"
49441
49442
49443
49444 # Check whether --enable-precomp-headers was given.
49445 if test "${enable_precomp_headers+set}" = set; then
49446 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49447 fi
49448
49449
49450 GCC_PCH=0
49451 ICC_PCH=0
49452 USE_PCH=0
49453 BK_MAKE_PCH=""
49454
49455 case ${BAKEFILE_HOST} in
49456 *-*-cygwin* )
49457 bk_use_pch="no"
49458 ;;
49459 esac
49460
49461 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49462 if test "x$GCC" = "xyes"; then
49463 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49464 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49465 cat >conftest.$ac_ext <<_ACEOF
49466 /* confdefs.h. */
49467 _ACEOF
49468 cat confdefs.h >>conftest.$ac_ext
49469 cat >>conftest.$ac_ext <<_ACEOF
49470 /* end confdefs.h. */
49471
49472 int
49473 main ()
49474 {
49475
49476 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49477 There is no PCH support
49478 #endif
49479 #if (__GNUC__ < 3)
49480 There is no PCH support
49481 #endif
49482 #if (__GNUC__ == 3) && \
49483 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49484 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49485 ( defined(__INTEL_COMPILER) )
49486 There is no PCH support
49487 #endif
49488
49489 ;
49490 return 0;
49491 }
49492 _ACEOF
49493 rm -f conftest.$ac_objext
49494 if { (ac_try="$ac_compile"
49495 case "(($ac_try" in
49496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49497 *) ac_try_echo=$ac_try;;
49498 esac
49499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49500 (eval "$ac_compile") 2>conftest.er1
49501 ac_status=$?
49502 grep -v '^ *+' conftest.er1 >conftest.err
49503 rm -f conftest.er1
49504 cat conftest.err >&5
49505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49506 (exit $ac_status); } && {
49507 test -z "$ac_c_werror_flag" ||
49508 test ! -s conftest.err
49509 } && test -s conftest.$ac_objext; then
49510
49511 { echo "$as_me:$LINENO: result: yes" >&5
49512 echo "${ECHO_T}yes" >&6; }
49513 GCC_PCH=1
49514
49515 else
49516 echo "$as_me: failed program was:" >&5
49517 sed 's/^/| /' conftest.$ac_ext >&5
49518
49519
49520 if test "$INTELCXX8" = "yes"; then
49521 { echo "$as_me:$LINENO: result: yes" >&5
49522 echo "${ECHO_T}yes" >&6; }
49523 ICC_PCH=1
49524 if test "$INTELCXX10" = "yes"; then
49525 ICC_PCH_CREATE_SWITCH="-pch-create"
49526 ICC_PCH_USE_SWITCH="-pch-use"
49527 else
49528 ICC_PCH_CREATE_SWITCH="-create-pch"
49529 ICC_PCH_USE_SWITCH="-use-pch"
49530 fi
49531 else
49532 { echo "$as_me:$LINENO: result: no" >&5
49533 echo "${ECHO_T}no" >&6; }
49534 fi
49535
49536 fi
49537
49538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49539 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49540 USE_PCH=1
49541
49542 D='$'
49543 cat <<EOF >bk-make-pch
49544 #!/bin/sh
49545
49546 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49547 # script. It is used to generated precompiled headers.
49548 #
49549 # Permission is given to use this file in any way.
49550
49551 outfile="${D}{1}"
49552 header="${D}{2}"
49553 shift
49554 shift
49555
49556 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49557
49558 compiler=""
49559 headerfile=""
49560
49561 while test ${D}{#} -gt 0; do
49562 add_to_cmdline=1
49563 case "${D}{1}" in
49564 -I* )
49565 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49566 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49567 headerfile="${D}{incdir}/${D}{header}"
49568 fi
49569 ;;
49570 -use-pch|-use_pch|-pch-use )
49571 shift
49572 add_to_cmdline=0
49573 ;;
49574 esac
49575 if test ${D}add_to_cmdline = 1 ; then
49576 compiler="${D}{compiler} ${D}{1}"
49577 fi
49578 shift
49579 done
49580
49581 if test "x${D}{headerfile}" = "x" ; then
49582 echo "error: can't find header ${D}{header} in include paths" >&2
49583 else
49584 if test -f ${D}{outfile} ; then
49585 rm -f ${D}{outfile}
49586 else
49587 mkdir -p \`dirname ${D}{outfile}\`
49588 fi
49589 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49590 mkdir -p ${D}{builddir}/.deps
49591 if test "x${GCC_PCH}" = "x1" ; then
49592 # can do this because gcc is >= 3.4:
49593 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49594 elif test "x${ICC_PCH}" = "x1" ; then
49595 filename=pch_gen-${D}${D}
49596 file=${D}{filename}.c
49597 dfile=${D}{filename}.d
49598 cat > ${D}file <<EOT
49599 #include "${D}header"
49600 EOT
49601 # using -MF icc complains about differing command lines in creation/use
49602 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49603 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49604 rm -f ${D}file ${D}dfile ${D}{filename}.o
49605 fi
49606 exit ${D}{?}
49607 fi
49608 EOF
49609
49610 chmod +x bk-make-pch
49611 BK_MAKE_PCH="`pwd`/bk-make-pch"
49612 fi
49613 fi
49614 fi
49615
49616
49617
49618
49619
49620
49621
49622 COND_BUILD_DEBUG="#"
49623 if test "x$BUILD" = "xdebug" ; then
49624 COND_BUILD_DEBUG=""
49625 fi
49626
49627 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49628 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49629 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49630 fi
49631
49632 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49633 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49634 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49635 fi
49636
49637 COND_BUILD_DEBUG_UNICODE_0="#"
49638 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49639 COND_BUILD_DEBUG_UNICODE_0=""
49640 fi
49641
49642 COND_BUILD_DEBUG_UNICODE_1="#"
49643 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49644 COND_BUILD_DEBUG_UNICODE_1=""
49645 fi
49646
49647 COND_BUILD_RELEASE="#"
49648 if test "x$BUILD" = "xrelease" ; then
49649 COND_BUILD_RELEASE=""
49650 fi
49651
49652 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49653 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49654 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49655 fi
49656
49657 COND_BUILD_RELEASE_UNICODE_0="#"
49658 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49659 COND_BUILD_RELEASE_UNICODE_0=""
49660 fi
49661
49662 COND_BUILD_RELEASE_UNICODE_1="#"
49663 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49664 COND_BUILD_RELEASE_UNICODE_1=""
49665 fi
49666
49667 COND_BUILD_debug="#"
49668 if test "x$BUILD" = "xdebug" ; then
49669 COND_BUILD_debug=""
49670 fi
49671
49672 COND_BUILD_debug_DEBUG_FLAG_default="#"
49673 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49674 COND_BUILD_debug_DEBUG_FLAG_default=""
49675 fi
49676
49677 COND_BUILD_debug_DEBUG_INFO_default="#"
49678 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49679 COND_BUILD_debug_DEBUG_INFO_default=""
49680 fi
49681
49682 COND_BUILD_debug_UNICODE_0="#"
49683 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49684 COND_BUILD_debug_UNICODE_0=""
49685 fi
49686
49687 COND_BUILD_debug_UNICODE_1="#"
49688 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49689 COND_BUILD_debug_UNICODE_1=""
49690 fi
49691
49692 COND_BUILD_release="#"
49693 if test "x$BUILD" = "xrelease" ; then
49694 COND_BUILD_release=""
49695 fi
49696
49697 COND_BUILD_release_DEBUG_INFO_default="#"
49698 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49699 COND_BUILD_release_DEBUG_INFO_default=""
49700 fi
49701
49702 COND_BUILD_release_UNICODE_0="#"
49703 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49704 COND_BUILD_release_UNICODE_0=""
49705 fi
49706
49707 COND_BUILD_release_UNICODE_1="#"
49708 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49709 COND_BUILD_release_UNICODE_1=""
49710 fi
49711
49712 COND_DEBUG_FLAG_1="#"
49713 if test "x$DEBUG_FLAG" = "x1" ; then
49714 COND_DEBUG_FLAG_1=""
49715 fi
49716
49717 COND_DEBUG_INFO_0="#"
49718 if test "x$DEBUG_INFO" = "x0" ; then
49719 COND_DEBUG_INFO_0=""
49720 fi
49721
49722 COND_DEBUG_INFO_1="#"
49723 if test "x$DEBUG_INFO" = "x1" ; then
49724 COND_DEBUG_INFO_1=""
49725 fi
49726
49727 COND_DEPS_TRACKING_0="#"
49728 if test "x$DEPS_TRACKING" = "x0" ; then
49729 COND_DEPS_TRACKING_0=""
49730 fi
49731
49732 COND_DEPS_TRACKING_1="#"
49733 if test "x$DEPS_TRACKING" = "x1" ; then
49734 COND_DEPS_TRACKING_1=""
49735 fi
49736
49737 COND_GCC_PCH_1="#"
49738 if test "x$GCC_PCH" = "x1" ; then
49739 COND_GCC_PCH_1=""
49740 fi
49741
49742 COND_ICC_PCH_1="#"
49743 if test "x$ICC_PCH" = "x1" ; then
49744 COND_ICC_PCH_1=""
49745 fi
49746
49747 COND_MONOLITHIC_0="#"
49748 if test "x$MONOLITHIC" = "x0" ; then
49749 COND_MONOLITHIC_0=""
49750 fi
49751
49752 COND_MONOLITHIC_0_SHARED_0="#"
49753 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49754 COND_MONOLITHIC_0_SHARED_0=""
49755 fi
49756
49757 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49758 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49759 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49760 fi
49761
49762 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49763 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49764 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49765 fi
49766
49767 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49768 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49769 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49770 fi
49771
49772 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49774 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49775 fi
49776
49777 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49779 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49780 fi
49781
49782 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49784 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49785 fi
49786
49787 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49789 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49790 fi
49791
49792 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49794 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49795 fi
49796
49797 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49799 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49800 fi
49801
49802 COND_MONOLITHIC_0_SHARED_1="#"
49803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49804 COND_MONOLITHIC_0_SHARED_1=""
49805 fi
49806
49807 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49809 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49810 fi
49811
49812 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49814 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49815 fi
49816
49817 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49819 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49820 fi
49821
49822 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49824 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49825 fi
49826
49827 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49829 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49830 fi
49831
49832 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49834 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49835 fi
49836
49837 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49839 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49840 fi
49841
49842 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49845 fi
49846
49847 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49850 fi
49851
49852 COND_MONOLITHIC_0_USE_AUI_1="#"
49853 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49854 COND_MONOLITHIC_0_USE_AUI_1=""
49855 fi
49856
49857 COND_MONOLITHIC_0_USE_GUI_1="#"
49858 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49859 COND_MONOLITHIC_0_USE_GUI_1=""
49860 fi
49861
49862 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49863 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49864 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49865 fi
49866
49867 COND_MONOLITHIC_0_USE_HTML_1="#"
49868 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49869 COND_MONOLITHIC_0_USE_HTML_1=""
49870 fi
49871
49872 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49873 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49874 COND_MONOLITHIC_0_USE_MEDIA_1=""
49875 fi
49876
49877 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49878 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49879 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49880 fi
49881
49882 COND_MONOLITHIC_0_USE_QA_1="#"
49883 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49884 COND_MONOLITHIC_0_USE_QA_1=""
49885 fi
49886
49887 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49888 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49889 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49890 fi
49891
49892 COND_MONOLITHIC_0_USE_STC_1="#"
49893 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49894 COND_MONOLITHIC_0_USE_STC_1=""
49895 fi
49896
49897 COND_MONOLITHIC_0_USE_XRC_1="#"
49898 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49899 COND_MONOLITHIC_0_USE_XRC_1=""
49900 fi
49901
49902 COND_MONOLITHIC_1="#"
49903 if test "x$MONOLITHIC" = "x1" ; then
49904 COND_MONOLITHIC_1=""
49905 fi
49906
49907 COND_MONOLITHIC_1_SHARED_0="#"
49908 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49909 COND_MONOLITHIC_1_SHARED_0=""
49910 fi
49911
49912 COND_MONOLITHIC_1_SHARED_1="#"
49913 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49914 COND_MONOLITHIC_1_SHARED_1=""
49915 fi
49916
49917 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49918 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49919 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49920 fi
49921
49922 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49923 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49924 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49925 fi
49926
49927 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49928 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49929 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49930 fi
49931
49932 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49933 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49934 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49935 fi
49936
49937 COND_PLATFORM_MACOSX_1="#"
49938 if test "x$PLATFORM_MACOSX" = "x1" ; then
49939 COND_PLATFORM_MACOSX_1=""
49940 fi
49941
49942 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49943 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49944 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49945 fi
49946
49947 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49948 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49949 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49950 fi
49951
49952 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49953 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49954 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49955 fi
49956
49957 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49958 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49959 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49960 fi
49961
49962 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49963 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49964 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49965 fi
49966
49967 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49968 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49969 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49970 fi
49971
49972 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49973 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49974 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49975 fi
49976
49977 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49979 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49980 fi
49981
49982 COND_PLATFORM_MACOS_1="#"
49983 if test "x$PLATFORM_MACOS" = "x1" ; then
49984 COND_PLATFORM_MACOS_1=""
49985 fi
49986
49987 COND_PLATFORM_MAC_0="#"
49988 if test "x$PLATFORM_MAC" = "x0" ; then
49989 COND_PLATFORM_MAC_0=""
49990 fi
49991
49992 COND_PLATFORM_MAC_1="#"
49993 if test "x$PLATFORM_MAC" = "x1" ; then
49994 COND_PLATFORM_MAC_1=""
49995 fi
49996
49997 COND_PLATFORM_MSDOS_0="#"
49998 if test "x$PLATFORM_MSDOS" = "x0" ; then
49999 COND_PLATFORM_MSDOS_0=""
50000 fi
50001
50002 COND_PLATFORM_MSDOS_1="#"
50003 if test "x$PLATFORM_MSDOS" = "x1" ; then
50004 COND_PLATFORM_MSDOS_1=""
50005 fi
50006
50007 COND_PLATFORM_OS2_1="#"
50008 if test "x$PLATFORM_OS2" = "x1" ; then
50009 COND_PLATFORM_OS2_1=""
50010 fi
50011
50012 COND_PLATFORM_UNIX_0="#"
50013 if test "x$PLATFORM_UNIX" = "x0" ; then
50014 COND_PLATFORM_UNIX_0=""
50015 fi
50016
50017 COND_PLATFORM_UNIX_1="#"
50018 if test "x$PLATFORM_UNIX" = "x1" ; then
50019 COND_PLATFORM_UNIX_1=""
50020 fi
50021
50022 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50023 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50024 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50025 fi
50026
50027 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50028 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50029 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50030 fi
50031
50032 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50033 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50034 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50035 fi
50036
50037 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50038 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50039 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50040 fi
50041
50042 COND_PLATFORM_WIN32_0="#"
50043 if test "x$PLATFORM_WIN32" = "x0" ; then
50044 COND_PLATFORM_WIN32_0=""
50045 fi
50046
50047 COND_PLATFORM_WIN32_1="#"
50048 if test "x$PLATFORM_WIN32" = "x1" ; then
50049 COND_PLATFORM_WIN32_1=""
50050 fi
50051
50052 COND_SHARED_0="#"
50053 if test "x$SHARED" = "x0" ; then
50054 COND_SHARED_0=""
50055 fi
50056
50057 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50058 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50059 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50060 fi
50061
50062 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50063 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50064 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50065 fi
50066
50067 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50068 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50069 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50070 fi
50071
50072 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50073 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50074 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50075 fi
50076
50077 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50078 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50079 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50080 fi
50081
50082 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50083 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50084 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50085 fi
50086
50087 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50088 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50089 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50090 fi
50091
50092 COND_SHARED_0_USE_STC_1="#"
50093 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50094 COND_SHARED_0_USE_STC_1=""
50095 fi
50096
50097 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50098 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50099 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50100 fi
50101
50102 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50103 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50104 COND_SHARED_0_wxUSE_REGEX_builtin=""
50105 fi
50106
50107 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50108 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50109 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50110 fi
50111
50112 COND_SHARED_1="#"
50113 if test "x$SHARED" = "x1" ; then
50114 COND_SHARED_1=""
50115 fi
50116
50117 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50118 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50119 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50120 fi
50121
50122 COND_TOOLKIT_="#"
50123 if test "x$TOOLKIT" = "x" ; then
50124 COND_TOOLKIT_=""
50125 fi
50126
50127 COND_TOOLKIT_COCOA="#"
50128 if test "x$TOOLKIT" = "xCOCOA" ; then
50129 COND_TOOLKIT_COCOA=""
50130 fi
50131
50132 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50133 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50134 COND_TOOLKIT_COCOA_USE_GUI_1=""
50135 fi
50136
50137 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50138 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50139 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50140 fi
50141
50142 COND_TOOLKIT_DFB="#"
50143 if test "x$TOOLKIT" = "xDFB" ; then
50144 COND_TOOLKIT_DFB=""
50145 fi
50146
50147 COND_TOOLKIT_DFB_USE_GUI_1="#"
50148 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50149 COND_TOOLKIT_DFB_USE_GUI_1=""
50150 fi
50151
50152 COND_TOOLKIT_GTK="#"
50153 if test "x$TOOLKIT" = "xGTK" ; then
50154 COND_TOOLKIT_GTK=""
50155 fi
50156
50157 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50158 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50159 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50160 fi
50161
50162 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50163 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50164 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50165 fi
50166
50167 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50168 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50169 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50170 fi
50171
50172 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50173 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50174 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50175 fi
50176
50177 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50178 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50179 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50180 fi
50181
50182 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50183 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50184 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50185 fi
50186
50187 COND_TOOLKIT_GTK_USE_GUI_1="#"
50188 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50189 COND_TOOLKIT_GTK_USE_GUI_1=""
50190 fi
50191
50192 COND_TOOLKIT_MAC="#"
50193 if test "x$TOOLKIT" = "xMAC" ; then
50194 COND_TOOLKIT_MAC=""
50195 fi
50196
50197 COND_TOOLKIT_MGL="#"
50198 if test "x$TOOLKIT" = "xMGL" ; then
50199 COND_TOOLKIT_MGL=""
50200 fi
50201
50202 COND_TOOLKIT_MGL_USE_GUI_1="#"
50203 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50204 COND_TOOLKIT_MGL_USE_GUI_1=""
50205 fi
50206
50207 COND_TOOLKIT_MOTIF="#"
50208 if test "x$TOOLKIT" = "xMOTIF" ; then
50209 COND_TOOLKIT_MOTIF=""
50210 fi
50211
50212 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50213 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50214 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50215 fi
50216
50217 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50218 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50219 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50220 fi
50221
50222 COND_TOOLKIT_MSW="#"
50223 if test "x$TOOLKIT" = "xMSW" ; then
50224 COND_TOOLKIT_MSW=""
50225 fi
50226
50227 COND_TOOLKIT_MSW_USE_GUI_1="#"
50228 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50229 COND_TOOLKIT_MSW_USE_GUI_1=""
50230 fi
50231
50232 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50233 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50234 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50235 fi
50236
50237 COND_TOOLKIT_MSW_WXUNIV_0="#"
50238 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50239 COND_TOOLKIT_MSW_WXUNIV_0=""
50240 fi
50241
50242 COND_TOOLKIT_OSX_CARBON="#"
50243 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50244 COND_TOOLKIT_OSX_CARBON=""
50245 fi
50246
50247 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50248 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50249 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50250 fi
50251
50252 COND_TOOLKIT_OSX_COCOA="#"
50253 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50254 COND_TOOLKIT_OSX_COCOA=""
50255 fi
50256
50257 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50258 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50259 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50260 fi
50261
50262 COND_TOOLKIT_OSX_IPHONE="#"
50263 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50264 COND_TOOLKIT_OSX_IPHONE=""
50265 fi
50266
50267 COND_TOOLKIT_PM="#"
50268 if test "x$TOOLKIT" = "xPM" ; then
50269 COND_TOOLKIT_PM=""
50270 fi
50271
50272 COND_TOOLKIT_PM_USE_GUI_1="#"
50273 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50274 COND_TOOLKIT_PM_USE_GUI_1=""
50275 fi
50276
50277 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50278 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50279 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50280 fi
50281
50282 COND_TOOLKIT_WINCE="#"
50283 if test "x$TOOLKIT" = "xWINCE" ; then
50284 COND_TOOLKIT_WINCE=""
50285 fi
50286
50287 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50288 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50289 COND_TOOLKIT_WINCE_USE_GUI_1=""
50290 fi
50291
50292 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50293 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50294 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50295 fi
50296
50297 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50298 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50299 COND_TOOLKIT_WINCE_WXUNIV_0=""
50300 fi
50301
50302 COND_TOOLKIT_X11="#"
50303 if test "x$TOOLKIT" = "xX11" ; then
50304 COND_TOOLKIT_X11=""
50305 fi
50306
50307 COND_TOOLKIT_X11_USE_GUI_1="#"
50308 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50309 COND_TOOLKIT_X11_USE_GUI_1=""
50310 fi
50311
50312 COND_UNICODE_1="#"
50313 if test "x$UNICODE" = "x1" ; then
50314 COND_UNICODE_1=""
50315 fi
50316
50317 COND_USE_EXCEPTIONS_0="#"
50318 if test "x$USE_EXCEPTIONS" = "x0" ; then
50319 COND_USE_EXCEPTIONS_0=""
50320 fi
50321
50322 COND_USE_EXCEPTIONS_1="#"
50323 if test "x$USE_EXCEPTIONS" = "x1" ; then
50324 COND_USE_EXCEPTIONS_1=""
50325 fi
50326
50327 COND_USE_GUI_0="#"
50328 if test "x$USE_GUI" = "x0" ; then
50329 COND_USE_GUI_0=""
50330 fi
50331
50332 COND_USE_GUI_1="#"
50333 if test "x$USE_GUI" = "x1" ; then
50334 COND_USE_GUI_1=""
50335 fi
50336
50337 COND_USE_GUI_1_USE_OPENGL_1="#"
50338 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50339 COND_USE_GUI_1_USE_OPENGL_1=""
50340 fi
50341
50342 COND_USE_GUI_1_WXUNIV_0="#"
50343 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50344 COND_USE_GUI_1_WXUNIV_0=""
50345 fi
50346
50347 COND_USE_GUI_1_WXUNIV_1="#"
50348 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50349 COND_USE_GUI_1_WXUNIV_1=""
50350 fi
50351
50352 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50353 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50354 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50355 fi
50356
50357 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50358 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50359 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50360 fi
50361
50362 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50363 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50364 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50365 fi
50366
50367 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50368 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50369 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50370 fi
50371
50372 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50373 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50374 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50375 fi
50376
50377 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50378 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50379 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50380 fi
50381
50382 COND_USE_OPENGL_1="#"
50383 if test "x$USE_OPENGL" = "x1" ; then
50384 COND_USE_OPENGL_1=""
50385 fi
50386
50387 COND_USE_PCH_1="#"
50388 if test "x$USE_PCH" = "x1" ; then
50389 COND_USE_PCH_1=""
50390 fi
50391
50392 COND_USE_PLUGINS_0="#"
50393 if test "x$USE_PLUGINS" = "x0" ; then
50394 COND_USE_PLUGINS_0=""
50395 fi
50396
50397 COND_USE_RTTI_0="#"
50398 if test "x$USE_RTTI" = "x0" ; then
50399 COND_USE_RTTI_0=""
50400 fi
50401
50402 COND_USE_RTTI_1="#"
50403 if test "x$USE_RTTI" = "x1" ; then
50404 COND_USE_RTTI_1=""
50405 fi
50406
50407 COND_USE_SOSYMLINKS_1="#"
50408 if test "x$USE_SOSYMLINKS" = "x1" ; then
50409 COND_USE_SOSYMLINKS_1=""
50410 fi
50411
50412 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50413 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50414 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50415 fi
50416
50417 COND_USE_SOVERLINUX_1="#"
50418 if test "x$USE_SOVERLINUX" = "x1" ; then
50419 COND_USE_SOVERLINUX_1=""
50420 fi
50421
50422 COND_USE_SOVERSION_0="#"
50423 if test "x$USE_SOVERSION" = "x0" ; then
50424 COND_USE_SOVERSION_0=""
50425 fi
50426
50427 COND_USE_SOVERSOLARIS_1="#"
50428 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50429 COND_USE_SOVERSOLARIS_1=""
50430 fi
50431
50432 COND_USE_STC_1="#"
50433 if test "x$USE_STC" = "x1" ; then
50434 COND_USE_STC_1=""
50435 fi
50436
50437 COND_USE_THREADS_0="#"
50438 if test "x$USE_THREADS" = "x0" ; then
50439 COND_USE_THREADS_0=""
50440 fi
50441
50442 COND_USE_THREADS_1="#"
50443 if test "x$USE_THREADS" = "x1" ; then
50444 COND_USE_THREADS_1=""
50445 fi
50446
50447 COND_USE_XRC_1="#"
50448 if test "x$USE_XRC" = "x1" ; then
50449 COND_USE_XRC_1=""
50450 fi
50451
50452 COND_WINDOWS_IMPLIB_1="#"
50453 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50454 COND_WINDOWS_IMPLIB_1=""
50455 fi
50456
50457 COND_WITH_PLUGIN_SDL_1="#"
50458 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50459 COND_WITH_PLUGIN_SDL_1=""
50460 fi
50461
50462 COND_WXUNIV_0="#"
50463 if test "x$WXUNIV" = "x0" ; then
50464 COND_WXUNIV_0=""
50465 fi
50466
50467 COND_WXUNIV_1="#"
50468 if test "x$WXUNIV" = "x1" ; then
50469 COND_WXUNIV_1=""
50470 fi
50471
50472 COND_WXUSE_EXPAT_BUILTIN="#"
50473 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50474 COND_WXUSE_EXPAT_BUILTIN=""
50475 fi
50476
50477 COND_WXUSE_LIBJPEG_BUILTIN="#"
50478 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50479 COND_WXUSE_LIBJPEG_BUILTIN=""
50480 fi
50481
50482 COND_WXUSE_LIBPNG_BUILTIN="#"
50483 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50484 COND_WXUSE_LIBPNG_BUILTIN=""
50485 fi
50486
50487 COND_WXUSE_LIBTIFF_BUILTIN="#"
50488 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50489 COND_WXUSE_LIBTIFF_BUILTIN=""
50490 fi
50491
50492 COND_WXUSE_REGEX_BUILTIN="#"
50493 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50494 COND_WXUSE_REGEX_BUILTIN=""
50495 fi
50496
50497 COND_WXUSE_ZLIB_BUILTIN="#"
50498 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50499 COND_WXUSE_ZLIB_BUILTIN=""
50500 fi
50501
50502 COND_wxUSE_EXPAT_builtin="#"
50503 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50504 COND_wxUSE_EXPAT_builtin=""
50505 fi
50506
50507 COND_wxUSE_LIBJPEG_builtin="#"
50508 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50509 COND_wxUSE_LIBJPEG_builtin=""
50510 fi
50511
50512 COND_wxUSE_LIBPNG_builtin="#"
50513 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50514 COND_wxUSE_LIBPNG_builtin=""
50515 fi
50516
50517 COND_wxUSE_LIBTIFF_builtin="#"
50518 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50519 COND_wxUSE_LIBTIFF_builtin=""
50520 fi
50521
50522 COND_wxUSE_REGEX_builtin="#"
50523 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50524 COND_wxUSE_REGEX_builtin=""
50525 fi
50526
50527 COND_wxUSE_ZLIB_builtin="#"
50528 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50529 COND_wxUSE_ZLIB_builtin=""
50530 fi
50531
50532
50533
50534 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50535 { { 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
50536 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;}
50537 { (exit 1); exit 1; }; }
50538 fi
50539
50540 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50541 { { 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
50542 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;}
50543 { (exit 1); exit 1; }; }
50544 fi
50545
50546
50547 case ${INSTALL} in
50548 /* ) # Absolute
50549 ;;
50550 ?:* ) # Drive letter, considered as absolute.
50551 ;;
50552 *)
50553 INSTALL=`pwd`/${INSTALL} ;;
50554 esac
50555
50556 if test "$wxUSE_GUI" = "yes"; then
50557
50558 if test "$wxUSE_MSW" = 1 ; then
50559 if test "x$WINDRES" = "x"; then
50560 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50561 echo "$as_me: error: Required windres program not found" >&2;}
50562 { (exit 1); exit 1; }; }
50563 fi
50564
50565 RESCOMP="$WINDRES"
50566 fi
50567
50568 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50569 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50570 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50571
50572 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50573
50574 # Extract the first word of "DeRez", so it can be a program name with args.
50575 set dummy DeRez; ac_word=$2
50576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50578 if test "${ac_cv_prog_DEREZ+set}" = set; then
50579 echo $ECHO_N "(cached) $ECHO_C" >&6
50580 else
50581 if test -n "$DEREZ"; then
50582 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50583 else
50584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50585 for as_dir in $PATH
50586 do
50587 IFS=$as_save_IFS
50588 test -z "$as_dir" && as_dir=.
50589 for ac_exec_ext in '' $ac_executable_extensions; do
50590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50591 ac_cv_prog_DEREZ="DeRez"
50592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50593 break 2
50594 fi
50595 done
50596 done
50597 IFS=$as_save_IFS
50598
50599 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50600 fi
50601 fi
50602 DEREZ=$ac_cv_prog_DEREZ
50603 if test -n "$DEREZ"; then
50604 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50605 echo "${ECHO_T}$DEREZ" >&6; }
50606 else
50607 { echo "$as_me:$LINENO: result: no" >&5
50608 echo "${ECHO_T}no" >&6; }
50609 fi
50610
50611
50612
50613 MACSETFILE="\$(SETFILE)"
50614
50615 if test "$wxUSE_OSX_CARBON" = 1; then
50616 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50617 RESCOMP="$REZ"
50618 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50619 else
50620 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50621 RESCOMP="cat /dev/null \| $REZ"
50622 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50623 fi
50624
50625 else
50626 MACSETFILE="@true"
50627
50628 if test "$wxUSE_PM" = 1; then
50629 RESCOMP="emxbind"
50630 WXCONFIG_RESFLAGS="-ep"
50631
50632 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50633 else
50634 POSTLINK_COMMAND="@true"
50635 fi
50636 fi
50637
50638 fi
50639
50640
50641 if test $GCC_PCH = 1
50642 then
50643 if test "$wx_cv_gcc_pch_bug" = yes; then
50644 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50645 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50646 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50647 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50648 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50649 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50650 fi
50651
50652 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50653 # the headers that benefit from precompilation are mostly C++ headers.
50654 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50655 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50656 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50657 fi
50658
50659
50660 if test "$wxUSE_MAC" = 1 ; then
50661 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50662 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50663 mv temp bk-deps
50664 chmod +x bk-deps
50665 fi
50666 fi
50667
50668 if test "$wxUSE_SHARED" = "yes"; then
50669 case "${host}" in
50670 *-pc-os2_emx | *-pc-os2-emx )
50671 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50672 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50673 cp -p ${srcdir}/src/os2/dllnames.sh .
50674 cp -p ${srcdir}/src/os2/dllar.sh .
50675 ;;
50676 esac
50677 fi
50678 if test "$wxUSE_OMF" = "yes"; then
50679 case "${host}" in
50680 *-pc-os2_emx | *-pc-os2-emx )
50681 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50682 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50683 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50684 ;;
50685 esac
50686 fi
50687
50688 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50689
50690
50691 case "${host}" in
50692 *-*-solaris2* )
50693 if test "$GCC" = yes; then
50694 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50695 LIBS=`echo $LIBS | sed 's/-mt//'`
50696 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50697 fi
50698 ;;
50699
50700 *-*-linux* )
50701 if test "x$SUNCXX" = xyes; then
50702 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50703 LIBS=`echo $LIBS | sed 's/-pthread//'`
50704 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50705 fi
50706 ;;
50707 esac
50708
50709 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50710 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50711 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50712 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50713
50714 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50715
50716
50717
50718
50719
50720
50721
50722
50723
50724
50725
50726
50727
50728
50729
50730
50731
50732
50733
50734
50735
50736
50737
50738
50739
50740
50741
50742
50743
50744
50745
50746
50747
50748
50749
50750
50751
50752
50753
50754
50755
50756
50757
50758
50759
50760
50761
50762
50763
50764
50765
50766
50767
50768
50769
50770
50771
50772
50773
50774
50775 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50776 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50777 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50778 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50779 echo $ECHO_N "(cached) $ECHO_C" >&6
50780 else
50781 cat >conftest.make <<\_ACEOF
50782 SHELL = /bin/sh
50783 all:
50784 @echo '@@@%%%=$(MAKE)=@@@%%%'
50785 _ACEOF
50786 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50787 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50788 *@@@%%%=?*=@@@%%%*)
50789 eval ac_cv_prog_make_${ac_make}_set=yes;;
50790 *)
50791 eval ac_cv_prog_make_${ac_make}_set=no;;
50792 esac
50793 rm -f conftest.make
50794 fi
50795 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50796 { echo "$as_me:$LINENO: result: yes" >&5
50797 echo "${ECHO_T}yes" >&6; }
50798 SET_MAKE=
50799 else
50800 { echo "$as_me:$LINENO: result: no" >&5
50801 echo "${ECHO_T}no" >&6; }
50802 SET_MAKE="MAKE=${MAKE-make}"
50803 fi
50804
50805
50806
50807 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50808
50809
50810 if test "$USE_WIN32" = 1; then
50811 ac_config_commands="$ac_config_commands rcdefs.h"
50812
50813 fi
50814
50815 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50816
50817
50818 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50819
50820
50821 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50822
50823
50824 if test "$wx_cv_version_script" = "yes"; then
50825 ac_config_files="$ac_config_files version-script"
50826
50827 fi
50828 ac_config_files="$ac_config_files Makefile"
50829
50830
50831 ac_config_commands="$ac_config_commands wx-config"
50832
50833
50834
50835 if test "$wxWITH_SUBDIRS" != "no"; then
50836 if test "$wxUSE_GUI" = "yes"; then
50837 SUBDIRS="samples demos utils"
50838 else
50839 SUBDIRS="samples utils"
50840 fi
50841
50842
50843
50844 # Check whether --with-cppunit-prefix was given.
50845 if test "${with_cppunit_prefix+set}" = set; then
50846 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50847 else
50848 cppunit_config_prefix=""
50849 fi
50850
50851
50852 # Check whether --with-cppunit-exec-prefix was given.
50853 if test "${with_cppunit_exec_prefix+set}" = set; then
50854 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50855 else
50856 cppunit_config_exec_prefix=""
50857 fi
50858
50859
50860 if test x$cppunit_config_exec_prefix != x ; then
50861 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50862 if test x${CPPUNIT_CONFIG+set} != xset ; then
50863 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50864 fi
50865 fi
50866 if test x$cppunit_config_prefix != x ; then
50867 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50868 if test x${CPPUNIT_CONFIG+set} != xset ; then
50869 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50870 fi
50871 fi
50872
50873 # Extract the first word of "cppunit-config", so it can be a program name with args.
50874 set dummy cppunit-config; ac_word=$2
50875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50877 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50878 echo $ECHO_N "(cached) $ECHO_C" >&6
50879 else
50880 case $CPPUNIT_CONFIG in
50881 [\\/]* | ?:[\\/]*)
50882 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50883 ;;
50884 *)
50885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50886 for as_dir in $PATH
50887 do
50888 IFS=$as_save_IFS
50889 test -z "$as_dir" && as_dir=.
50890 for ac_exec_ext in '' $ac_executable_extensions; do
50891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50892 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50894 break 2
50895 fi
50896 done
50897 done
50898 IFS=$as_save_IFS
50899
50900 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50901 ;;
50902 esac
50903 fi
50904 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50905 if test -n "$CPPUNIT_CONFIG"; then
50906 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50907 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50908 else
50909 { echo "$as_me:$LINENO: result: no" >&5
50910 echo "${ECHO_T}no" >&6; }
50911 fi
50912
50913
50914 cppunit_version_min=1.8.0
50915
50916 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50917 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50918 no_cppunit=""
50919 if test "$CPPUNIT_CONFIG" = "no" ; then
50920 { echo "$as_me:$LINENO: result: no" >&5
50921 echo "${ECHO_T}no" >&6; }
50922 no_cppunit=yes
50923 else
50924 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50925 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50926 cppunit_version=`$CPPUNIT_CONFIG --version`
50927
50928 cppunit_major_version=`echo $cppunit_version | \
50929 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50930 cppunit_minor_version=`echo $cppunit_version | \
50931 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50932 cppunit_micro_version=`echo $cppunit_version | \
50933 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50934
50935 cppunit_major_min=`echo $cppunit_version_min | \
50936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50937 cppunit_minor_min=`echo $cppunit_version_min | \
50938 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50939 cppunit_micro_min=`echo $cppunit_version_min | \
50940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50941
50942 cppunit_version_proper=`expr \
50943 $cppunit_major_version \> $cppunit_major_min \| \
50944 $cppunit_major_version \= $cppunit_major_min \& \
50945 $cppunit_minor_version \> $cppunit_minor_min \| \
50946 $cppunit_major_version \= $cppunit_major_min \& \
50947 $cppunit_minor_version \= $cppunit_minor_min \& \
50948 $cppunit_micro_version \>= $cppunit_micro_min `
50949
50950 if test "$cppunit_version_proper" = "1" ; then
50951 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50952 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50953 else
50954 { echo "$as_me:$LINENO: result: no" >&5
50955 echo "${ECHO_T}no" >&6; }
50956 no_cppunit=yes
50957 fi
50958 fi
50959
50960 if test "x$no_cppunit" = x ; then
50961 SUBDIRS="$SUBDIRS tests"
50962 else
50963 CPPUNIT_CFLAGS=""
50964 CPPUNIT_LIBS=""
50965 :
50966 fi
50967
50968
50969
50970
50971
50972 for subdir in $SUBDIRS; do
50973 if test -d ${srcdir}/${subdir} ; then
50974 if test "$wxUSE_GUI" = "yes"; then
50975 if test ${subdir} = "samples"; then
50976 makefiles="samples/Makefile.in $makefiles"
50977 for sample in $SAMPLES_SUBDIRS; do
50978 if test -d $srcdir/samples/$sample; then
50979 makefiles="samples/$sample/Makefile.in $makefiles"
50980 fi
50981 done
50982 else
50983 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50984 eval "disabled=\$$disabled_var"
50985 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50986 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50987 fi
50988 else
50989 if test ${subdir} = "samples"; then
50990 makefiles="samples/Makefile.in $makefiles"
50991 for sample in `echo $SAMPLES_SUBDIRS`; do
50992 if test -d $srcdir/samples/$sample; then
50993 makefiles="samples/$sample/Makefile.in $makefiles"
50994 fi
50995 done
50996 elif test ${subdir} = "utils"; then
50997 makefiles=""
50998 for util in ifacecheck ; do
50999 if test -d $srcdir/utils/$util ; then
51000 makefiles="utils/$util/src/Makefile.in \
51001 $makefiles"
51002 fi
51003 done
51004 else
51005 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51006 fi
51007 fi
51008
51009 for mkin in $makefiles ; do
51010 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51011 ac_config_files="$ac_config_files $mk"
51012
51013 done
51014 fi
51015 done
51016 fi
51017 cat >confcache <<\_ACEOF
51018 # This file is a shell script that caches the results of configure
51019 # tests run on this system so they can be shared between configure
51020 # scripts and configure runs, see configure's option --config-cache.
51021 # It is not useful on other systems. If it contains results you don't
51022 # want to keep, you may remove or edit it.
51023 #
51024 # config.status only pays attention to the cache file if you give it
51025 # the --recheck option to rerun configure.
51026 #
51027 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51028 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51029 # following values.
51030
51031 _ACEOF
51032
51033 # The following way of writing the cache mishandles newlines in values,
51034 # but we know of no workaround that is simple, portable, and efficient.
51035 # So, we kill variables containing newlines.
51036 # Ultrix sh set writes to stderr and can't be redirected directly,
51037 # and sets the high bit in the cache file unless we assign to the vars.
51038 (
51039 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51040 eval ac_val=\$$ac_var
51041 case $ac_val in #(
51042 *${as_nl}*)
51043 case $ac_var in #(
51044 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51045 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51046 esac
51047 case $ac_var in #(
51048 _ | IFS | as_nl) ;; #(
51049 *) $as_unset $ac_var ;;
51050 esac ;;
51051 esac
51052 done
51053
51054 (set) 2>&1 |
51055 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51056 *${as_nl}ac_space=\ *)
51057 # `set' does not quote correctly, so add quotes (double-quote
51058 # substitution turns \\\\ into \\, and sed turns \\ into \).
51059 sed -n \
51060 "s/'/'\\\\''/g;
51061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51062 ;; #(
51063 *)
51064 # `set' quotes correctly as required by POSIX, so do not add quotes.
51065 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51066 ;;
51067 esac |
51068 sort
51069 ) |
51070 sed '
51071 /^ac_cv_env_/b end
51072 t clear
51073 :clear
51074 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51075 t end
51076 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51077 :end' >>confcache
51078 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51079 if test -w "$cache_file"; then
51080 test "x$cache_file" != "x/dev/null" &&
51081 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51082 echo "$as_me: updating cache $cache_file" >&6;}
51083 cat confcache >$cache_file
51084 else
51085 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51086 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51087 fi
51088 fi
51089 rm -f confcache
51090
51091 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51092 # Let make expand exec_prefix.
51093 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51094
51095 DEFS=-DHAVE_CONFIG_H
51096
51097 ac_libobjs=
51098 ac_ltlibobjs=
51099 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51100 # 1. Remove the extension, and $U if already installed.
51101 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51102 ac_i=`echo "$ac_i" | sed "$ac_script"`
51103 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51104 # will be set to the directory where LIBOBJS objects are built.
51105 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51106 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51107 done
51108 LIBOBJS=$ac_libobjs
51109
51110 LTLIBOBJS=$ac_ltlibobjs
51111
51112
51113
51114 : ${CONFIG_STATUS=./config.status}
51115 ac_clean_files_save=$ac_clean_files
51116 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51117 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51118 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51119 cat >$CONFIG_STATUS <<_ACEOF
51120 #! $SHELL
51121 # Generated by $as_me.
51122 # Run this file to recreate the current configuration.
51123 # Compiler output produced by configure, useful for debugging
51124 # configure, is in config.log if it exists.
51125
51126 debug=false
51127 ac_cs_recheck=false
51128 ac_cs_silent=false
51129 SHELL=\${CONFIG_SHELL-$SHELL}
51130 _ACEOF
51131
51132 cat >>$CONFIG_STATUS <<\_ACEOF
51133 ## --------------------- ##
51134 ## M4sh Initialization. ##
51135 ## --------------------- ##
51136
51137 # Be more Bourne compatible
51138 DUALCASE=1; export DUALCASE # for MKS sh
51139 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51140 emulate sh
51141 NULLCMD=:
51142 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51143 # is contrary to our usage. Disable this feature.
51144 alias -g '${1+"$@"}'='"$@"'
51145 setopt NO_GLOB_SUBST
51146 else
51147 case `(set -o) 2>/dev/null` in
51148 *posix*) set -o posix ;;
51149 esac
51150
51151 fi
51152
51153
51154
51155
51156 # PATH needs CR
51157 # Avoid depending upon Character Ranges.
51158 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51159 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51160 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51161 as_cr_digits='0123456789'
51162 as_cr_alnum=$as_cr_Letters$as_cr_digits
51163
51164 # The user is always right.
51165 if test "${PATH_SEPARATOR+set}" != set; then
51166 echo "#! /bin/sh" >conf$$.sh
51167 echo "exit 0" >>conf$$.sh
51168 chmod +x conf$$.sh
51169 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51170 PATH_SEPARATOR=';'
51171 else
51172 PATH_SEPARATOR=:
51173 fi
51174 rm -f conf$$.sh
51175 fi
51176
51177 # Support unset when possible.
51178 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51179 as_unset=unset
51180 else
51181 as_unset=false
51182 fi
51183
51184
51185 # IFS
51186 # We need space, tab and new line, in precisely that order. Quoting is
51187 # there to prevent editors from complaining about space-tab.
51188 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51189 # splitting by setting IFS to empty value.)
51190 as_nl='
51191 '
51192 IFS=" "" $as_nl"
51193
51194 # Find who we are. Look in the path if we contain no directory separator.
51195 case $0 in
51196 *[\\/]* ) as_myself=$0 ;;
51197 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51198 for as_dir in $PATH
51199 do
51200 IFS=$as_save_IFS
51201 test -z "$as_dir" && as_dir=.
51202 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51203 done
51204 IFS=$as_save_IFS
51205
51206 ;;
51207 esac
51208 # We did not find ourselves, most probably we were run as `sh COMMAND'
51209 # in which case we are not to be found in the path.
51210 if test "x$as_myself" = x; then
51211 as_myself=$0
51212 fi
51213 if test ! -f "$as_myself"; then
51214 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51215 { (exit 1); exit 1; }
51216 fi
51217
51218 # Work around bugs in pre-3.0 UWIN ksh.
51219 for as_var in ENV MAIL MAILPATH
51220 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51221 done
51222 PS1='$ '
51223 PS2='> '
51224 PS4='+ '
51225
51226 # NLS nuisances.
51227 for as_var in \
51228 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51229 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51230 LC_TELEPHONE LC_TIME
51231 do
51232 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51233 eval $as_var=C; export $as_var
51234 else
51235 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51236 fi
51237 done
51238
51239 # Required to use basename.
51240 if expr a : '\(a\)' >/dev/null 2>&1 &&
51241 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51242 as_expr=expr
51243 else
51244 as_expr=false
51245 fi
51246
51247 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51248 as_basename=basename
51249 else
51250 as_basename=false
51251 fi
51252
51253
51254 # Name of the executable.
51255 as_me=`$as_basename -- "$0" ||
51256 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51257 X"$0" : 'X\(//\)$' \| \
51258 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51259 echo X/"$0" |
51260 sed '/^.*\/\([^/][^/]*\)\/*$/{
51261 s//\1/
51262 q
51263 }
51264 /^X\/\(\/\/\)$/{
51265 s//\1/
51266 q
51267 }
51268 /^X\/\(\/\).*/{
51269 s//\1/
51270 q
51271 }
51272 s/.*/./; q'`
51273
51274 # CDPATH.
51275 $as_unset CDPATH
51276
51277
51278
51279 as_lineno_1=$LINENO
51280 as_lineno_2=$LINENO
51281 test "x$as_lineno_1" != "x$as_lineno_2" &&
51282 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51283
51284 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51285 # uniformly replaced by the line number. The first 'sed' inserts a
51286 # line-number line after each line using $LINENO; the second 'sed'
51287 # does the real work. The second script uses 'N' to pair each
51288 # line-number line with the line containing $LINENO, and appends
51289 # trailing '-' during substitution so that $LINENO is not a special
51290 # case at line end.
51291 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51292 # scripts with optimization help from Paolo Bonzini. Blame Lee
51293 # E. McMahon (1931-1989) for sed's syntax. :-)
51294 sed -n '
51295 p
51296 /[$]LINENO/=
51297 ' <$as_myself |
51298 sed '
51299 s/[$]LINENO.*/&-/
51300 t lineno
51301 b
51302 :lineno
51303 N
51304 :loop
51305 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51306 t loop
51307 s/-\n.*//
51308 ' >$as_me.lineno &&
51309 chmod +x "$as_me.lineno" ||
51310 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51311 { (exit 1); exit 1; }; }
51312
51313 # Don't try to exec as it changes $[0], causing all sort of problems
51314 # (the dirname of $[0] is not the place where we might find the
51315 # original and so on. Autoconf is especially sensitive to this).
51316 . "./$as_me.lineno"
51317 # Exit status is that of the last command.
51318 exit
51319 }
51320
51321
51322 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51323 as_dirname=dirname
51324 else
51325 as_dirname=false
51326 fi
51327
51328 ECHO_C= ECHO_N= ECHO_T=
51329 case `echo -n x` in
51330 -n*)
51331 case `echo 'x\c'` in
51332 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51333 *) ECHO_C='\c';;
51334 esac;;
51335 *)
51336 ECHO_N='-n';;
51337 esac
51338
51339 if expr a : '\(a\)' >/dev/null 2>&1 &&
51340 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51341 as_expr=expr
51342 else
51343 as_expr=false
51344 fi
51345
51346 rm -f conf$$ conf$$.exe conf$$.file
51347 if test -d conf$$.dir; then
51348 rm -f conf$$.dir/conf$$.file
51349 else
51350 rm -f conf$$.dir
51351 mkdir conf$$.dir
51352 fi
51353 echo >conf$$.file
51354 if ln -s conf$$.file conf$$ 2>/dev/null; then
51355 as_ln_s='ln -s'
51356 # ... but there are two gotchas:
51357 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51358 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51359 # In both cases, we have to default to `cp -p'.
51360 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51361 as_ln_s='cp -p'
51362 elif ln conf$$.file conf$$ 2>/dev/null; then
51363 as_ln_s=ln
51364 else
51365 as_ln_s='cp -p'
51366 fi
51367 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51368 rmdir conf$$.dir 2>/dev/null
51369
51370 if mkdir -p . 2>/dev/null; then
51371 as_mkdir_p=:
51372 else
51373 test -d ./-p && rmdir ./-p
51374 as_mkdir_p=false
51375 fi
51376
51377 if test -x / >/dev/null 2>&1; then
51378 as_test_x='test -x'
51379 else
51380 if ls -dL / >/dev/null 2>&1; then
51381 as_ls_L_option=L
51382 else
51383 as_ls_L_option=
51384 fi
51385 as_test_x='
51386 eval sh -c '\''
51387 if test -d "$1"; then
51388 test -d "$1/.";
51389 else
51390 case $1 in
51391 -*)set "./$1";;
51392 esac;
51393 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51394 ???[sx]*):;;*)false;;esac;fi
51395 '\'' sh
51396 '
51397 fi
51398 as_executable_p=$as_test_x
51399
51400 # Sed expression to map a string onto a valid CPP name.
51401 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51402
51403 # Sed expression to map a string onto a valid variable name.
51404 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51405
51406
51407 exec 6>&1
51408
51409 # Save the log message, to keep $[0] and so on meaningful, and to
51410 # report actual input values of CONFIG_FILES etc. instead of their
51411 # values after options handling.
51412 ac_log="
51413 This file was extended by wxWidgets $as_me 2.9.0, which was
51414 generated by GNU Autoconf 2.61. Invocation command line was
51415
51416 CONFIG_FILES = $CONFIG_FILES
51417 CONFIG_HEADERS = $CONFIG_HEADERS
51418 CONFIG_LINKS = $CONFIG_LINKS
51419 CONFIG_COMMANDS = $CONFIG_COMMANDS
51420 $ $0 $@
51421
51422 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51423 "
51424
51425 _ACEOF
51426
51427 cat >>$CONFIG_STATUS <<_ACEOF
51428 # Files that config.status was made for.
51429 config_files="$ac_config_files"
51430 config_headers="$ac_config_headers"
51431 config_commands="$ac_config_commands"
51432
51433 _ACEOF
51434
51435 cat >>$CONFIG_STATUS <<\_ACEOF
51436 ac_cs_usage="\
51437 \`$as_me' instantiates files from templates according to the
51438 current configuration.
51439
51440 Usage: $0 [OPTIONS] [FILE]...
51441
51442 -h, --help print this help, then exit
51443 -V, --version print version number and configuration settings, then exit
51444 -q, --quiet do not print progress messages
51445 -d, --debug don't remove temporary files
51446 --recheck update $as_me by reconfiguring in the same conditions
51447 --file=FILE[:TEMPLATE]
51448 instantiate the configuration file FILE
51449 --header=FILE[:TEMPLATE]
51450 instantiate the configuration header FILE
51451
51452 Configuration files:
51453 $config_files
51454
51455 Configuration headers:
51456 $config_headers
51457
51458 Configuration commands:
51459 $config_commands
51460
51461 Report bugs to <bug-autoconf@gnu.org>."
51462
51463 _ACEOF
51464 cat >>$CONFIG_STATUS <<_ACEOF
51465 ac_cs_version="\\
51466 wxWidgets config.status 2.9.0
51467 configured by $0, generated by GNU Autoconf 2.61,
51468 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51469
51470 Copyright (C) 2006 Free Software Foundation, Inc.
51471 This config.status script is free software; the Free Software Foundation
51472 gives unlimited permission to copy, distribute and modify it."
51473
51474 ac_pwd='$ac_pwd'
51475 srcdir='$srcdir'
51476 INSTALL='$INSTALL'
51477 _ACEOF
51478
51479 cat >>$CONFIG_STATUS <<\_ACEOF
51480 # If no file are specified by the user, then we need to provide default
51481 # value. By we need to know if files were specified by the user.
51482 ac_need_defaults=:
51483 while test $# != 0
51484 do
51485 case $1 in
51486 --*=*)
51487 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51488 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51489 ac_shift=:
51490 ;;
51491 *)
51492 ac_option=$1
51493 ac_optarg=$2
51494 ac_shift=shift
51495 ;;
51496 esac
51497
51498 case $ac_option in
51499 # Handling of the options.
51500 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51501 ac_cs_recheck=: ;;
51502 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51503 echo "$ac_cs_version"; exit ;;
51504 --debug | --debu | --deb | --de | --d | -d )
51505 debug=: ;;
51506 --file | --fil | --fi | --f )
51507 $ac_shift
51508 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51509 ac_need_defaults=false;;
51510 --header | --heade | --head | --hea )
51511 $ac_shift
51512 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51513 ac_need_defaults=false;;
51514 --he | --h)
51515 # Conflict between --help and --header
51516 { echo "$as_me: error: ambiguous option: $1
51517 Try \`$0 --help' for more information." >&2
51518 { (exit 1); exit 1; }; };;
51519 --help | --hel | -h )
51520 echo "$ac_cs_usage"; exit ;;
51521 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51522 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51523 ac_cs_silent=: ;;
51524
51525 # This is an error.
51526 -*) { echo "$as_me: error: unrecognized option: $1
51527 Try \`$0 --help' for more information." >&2
51528 { (exit 1); exit 1; }; } ;;
51529
51530 *) ac_config_targets="$ac_config_targets $1"
51531 ac_need_defaults=false ;;
51532
51533 esac
51534 shift
51535 done
51536
51537 ac_configure_extra_args=
51538
51539 if $ac_cs_silent; then
51540 exec 6>/dev/null
51541 ac_configure_extra_args="$ac_configure_extra_args --silent"
51542 fi
51543
51544 _ACEOF
51545 cat >>$CONFIG_STATUS <<_ACEOF
51546 if \$ac_cs_recheck; then
51547 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51548 CONFIG_SHELL=$SHELL
51549 export CONFIG_SHELL
51550 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51551 fi
51552
51553 _ACEOF
51554 cat >>$CONFIG_STATUS <<\_ACEOF
51555 exec 5>>config.log
51556 {
51557 echo
51558 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51559 ## Running $as_me. ##
51560 _ASBOX
51561 echo "$ac_log"
51562 } >&5
51563
51564 _ACEOF
51565 cat >>$CONFIG_STATUS <<_ACEOF
51566 #
51567 # INIT-COMMANDS
51568 #
51569
51570 CPP="$CPP"
51571 infile="$srcdir/include/wx/msw/genrcdefs.h"
51572 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51573
51574
51575 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51576 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51577 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51578 LN_S="${LN_S}"
51579
51580
51581 _ACEOF
51582
51583 cat >>$CONFIG_STATUS <<\_ACEOF
51584
51585 # Handling of arguments.
51586 for ac_config_target in $ac_config_targets
51587 do
51588 case $ac_config_target in
51589 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51590 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51591 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51592 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51593 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51594 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51595 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51596 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51597 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51598
51599 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51600 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51601 { (exit 1); exit 1; }; };;
51602 esac
51603 done
51604
51605
51606 # If the user did not use the arguments to specify the items to instantiate,
51607 # then the envvar interface is used. Set only those that are not.
51608 # We use the long form for the default assignment because of an extremely
51609 # bizarre bug on SunOS 4.1.3.
51610 if $ac_need_defaults; then
51611 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51612 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51613 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51614 fi
51615
51616 # Have a temporary directory for convenience. Make it in the build tree
51617 # simply because there is no reason against having it here, and in addition,
51618 # creating and moving files from /tmp can sometimes cause problems.
51619 # Hook for its removal unless debugging.
51620 # Note that there is a small window in which the directory will not be cleaned:
51621 # after its creation but before its name has been assigned to `$tmp'.
51622 $debug ||
51623 {
51624 tmp=
51625 trap 'exit_status=$?
51626 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51627 ' 0
51628 trap '{ (exit 1); exit 1; }' 1 2 13 15
51629 }
51630 # Create a (secure) tmp directory for tmp files.
51631
51632 {
51633 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51634 test -n "$tmp" && test -d "$tmp"
51635 } ||
51636 {
51637 tmp=./conf$$-$RANDOM
51638 (umask 077 && mkdir "$tmp")
51639 } ||
51640 {
51641 echo "$me: cannot create a temporary directory in ." >&2
51642 { (exit 1); exit 1; }
51643 }
51644
51645 #
51646 # Set up the sed scripts for CONFIG_FILES section.
51647 #
51648
51649 # No need to generate the scripts if there are no CONFIG_FILES.
51650 # This happens for instance when ./config.status config.h
51651 if test -n "$CONFIG_FILES"; then
51652
51653 _ACEOF
51654
51655
51656
51657 ac_delim='%!_!# '
51658 for ac_last_try in false false false false false :; do
51659 cat >conf$$subs.sed <<_ACEOF
51660 SHELL!$SHELL$ac_delim
51661 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51662 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51663 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51664 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51665 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51666 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51667 exec_prefix!$exec_prefix$ac_delim
51668 prefix!$prefix$ac_delim
51669 program_transform_name!$program_transform_name$ac_delim
51670 bindir!$bindir$ac_delim
51671 sbindir!$sbindir$ac_delim
51672 libexecdir!$libexecdir$ac_delim
51673 datarootdir!$datarootdir$ac_delim
51674 datadir!$datadir$ac_delim
51675 sysconfdir!$sysconfdir$ac_delim
51676 sharedstatedir!$sharedstatedir$ac_delim
51677 localstatedir!$localstatedir$ac_delim
51678 includedir!$includedir$ac_delim
51679 oldincludedir!$oldincludedir$ac_delim
51680 docdir!$docdir$ac_delim
51681 infodir!$infodir$ac_delim
51682 htmldir!$htmldir$ac_delim
51683 dvidir!$dvidir$ac_delim
51684 pdfdir!$pdfdir$ac_delim
51685 psdir!$psdir$ac_delim
51686 libdir!$libdir$ac_delim
51687 localedir!$localedir$ac_delim
51688 mandir!$mandir$ac_delim
51689 DEFS!$DEFS$ac_delim
51690 ECHO_C!$ECHO_C$ac_delim
51691 ECHO_N!$ECHO_N$ac_delim
51692 ECHO_T!$ECHO_T$ac_delim
51693 LIBS!$LIBS$ac_delim
51694 build_alias!$build_alias$ac_delim
51695 host_alias!$host_alias$ac_delim
51696 target_alias!$target_alias$ac_delim
51697 build!$build$ac_delim
51698 build_cpu!$build_cpu$ac_delim
51699 build_vendor!$build_vendor$ac_delim
51700 build_os!$build_os$ac_delim
51701 host!$host$ac_delim
51702 host_cpu!$host_cpu$ac_delim
51703 host_vendor!$host_vendor$ac_delim
51704 host_os!$host_os$ac_delim
51705 wx_top_builddir!$wx_top_builddir$ac_delim
51706 CC!$CC$ac_delim
51707 CFLAGS!$CFLAGS$ac_delim
51708 LDFLAGS!$LDFLAGS$ac_delim
51709 CPPFLAGS!$CPPFLAGS$ac_delim
51710 ac_ct_CC!$ac_ct_CC$ac_delim
51711 EXEEXT!$EXEEXT$ac_delim
51712 OBJEXT!$OBJEXT$ac_delim
51713 CPP!$CPP$ac_delim
51714 GREP!$GREP$ac_delim
51715 EGREP!$EGREP$ac_delim
51716 CXX!$CXX$ac_delim
51717 CXXFLAGS!$CXXFLAGS$ac_delim
51718 ac_ct_CXX!$ac_ct_CXX$ac_delim
51719 AR!$AR$ac_delim
51720 subdirs!$subdirs$ac_delim
51721 PKG_CONFIG!$PKG_CONFIG$ac_delim
51722 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51723 GTK_LIBS!$GTK_LIBS$ac_delim
51724 GTK_CONFIG!$GTK_CONFIG$ac_delim
51725 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51726 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51727 XMKMF!$XMKMF$ac_delim
51728 X_CFLAGS!$X_CFLAGS$ac_delim
51729 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51730 X_LIBS!$X_LIBS$ac_delim
51731 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51732 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51733 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51734 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51735 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51736 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51737 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51738 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51739 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51740 LIBICONV!$LIBICONV$ac_delim
51741 GXX_VERSION!$GXX_VERSION$ac_delim
51742 SDL_CONFIG!$SDL_CONFIG$ac_delim
51743 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51744 SDL_LIBS!$SDL_LIBS$ac_delim
51745 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51746 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51747 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51748 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51749 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51750 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51751 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51752 HILDON_LIBS!$HILDON_LIBS$ac_delim
51753 PYTHON!$PYTHON$ac_delim
51754 COND_PYTHON!$COND_PYTHON$ac_delim
51755 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51756 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51757 _ACEOF
51758
51759 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51760 break
51761 elif $ac_last_try; then
51762 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51763 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51764 { (exit 1); exit 1; }; }
51765 else
51766 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51767 fi
51768 done
51769
51770 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51771 if test -n "$ac_eof"; then
51772 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51773 ac_eof=`expr $ac_eof + 1`
51774 fi
51775
51776 cat >>$CONFIG_STATUS <<_ACEOF
51777 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51778 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51779 _ACEOF
51780 sed '
51781 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51782 s/^/s,@/; s/!/@,|#_!!_#|/
51783 :n
51784 t n
51785 s/'"$ac_delim"'$/,g/; t
51786 s/$/\\/; p
51787 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51788 ' >>$CONFIG_STATUS <conf$$subs.sed
51789 rm -f conf$$subs.sed
51790 cat >>$CONFIG_STATUS <<_ACEOF
51791 CEOF$ac_eof
51792 _ACEOF
51793
51794
51795 ac_delim='%!_!# '
51796 for ac_last_try in false false false false false :; do
51797 cat >conf$$subs.sed <<_ACEOF
51798 GST_CFLAGS!$GST_CFLAGS$ac_delim
51799 GST_LIBS!$GST_LIBS$ac_delim
51800 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51801 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51802 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51803 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51804 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51805 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51806 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51807 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51808 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51809 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51810 VENDOR!$VENDOR$ac_delim
51811 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51812 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51813 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51814 WXUNIV!$WXUNIV$ac_delim
51815 MONOLITHIC!$MONOLITHIC$ac_delim
51816 USE_PLUGINS!$USE_PLUGINS$ac_delim
51817 CXXWARNINGS!$CXXWARNINGS$ac_delim
51818 EXTRALIBS!$EXTRALIBS$ac_delim
51819 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51820 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51821 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51822 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51823 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51824 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51825 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51826 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51827 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51828 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51829 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51830 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51831 UNICODE!$UNICODE$ac_delim
51832 BUILD!$BUILD$ac_delim
51833 DEBUG_INFO!$DEBUG_INFO$ac_delim
51834 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51835 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51836 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51837 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
51838 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
51839 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51840 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
51841 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51842 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51843 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51844 RANLIB!$RANLIB$ac_delim
51845 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51846 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51847 INSTALL_DATA!$INSTALL_DATA$ac_delim
51848 LN_S!$LN_S$ac_delim
51849 SET_MAKE!$SET_MAKE$ac_delim
51850 MAKE_SET!$MAKE_SET$ac_delim
51851 AROPTIONS!$AROPTIONS$ac_delim
51852 STRIP!$STRIP$ac_delim
51853 NM!$NM$ac_delim
51854 INSTALL_DIR!$INSTALL_DIR$ac_delim
51855 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51856 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51857 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51858 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51859 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51860 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51861 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51862 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51863 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51864 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51865 SO_SUFFIX!$SO_SUFFIX$ac_delim
51866 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51867 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51868 LIBPREFIX!$LIBPREFIX$ac_delim
51869 LIBEXT!$LIBEXT$ac_delim
51870 DLLPREFIX!$DLLPREFIX$ac_delim
51871 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51872 dlldir!$dlldir$ac_delim
51873 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51874 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51875 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51876 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51877 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51878 PIC_FLAG!$PIC_FLAG$ac_delim
51879 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51880 USE_SOVERSION!$USE_SOVERSION$ac_delim
51881 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51882 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51883 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51884 USE_MACVERSION!$USE_MACVERSION$ac_delim
51885 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51886 SONAME_FLAG!$SONAME_FLAG$ac_delim
51887 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51888 BK_DEPS!$BK_DEPS$ac_delim
51889 WINDRES!$WINDRES$ac_delim
51890 REZ!$REZ$ac_delim
51891 SETFILE!$SETFILE$ac_delim
51892 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51893 GCC_PCH!$GCC_PCH$ac_delim
51894 ICC_PCH!$ICC_PCH$ac_delim
51895 _ACEOF
51896
51897 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51898 break
51899 elif $ac_last_try; then
51900 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51901 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51902 { (exit 1); exit 1; }; }
51903 else
51904 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51905 fi
51906 done
51907
51908 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51909 if test -n "$ac_eof"; then
51910 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51911 ac_eof=`expr $ac_eof + 1`
51912 fi
51913
51914 cat >>$CONFIG_STATUS <<_ACEOF
51915 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51916 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51917 _ACEOF
51918 sed '
51919 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51920 s/^/s,@/; s/!/@,|#_!!_#|/
51921 :n
51922 t n
51923 s/'"$ac_delim"'$/,g/; t
51924 s/$/\\/; p
51925 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51926 ' >>$CONFIG_STATUS <conf$$subs.sed
51927 rm -f conf$$subs.sed
51928 cat >>$CONFIG_STATUS <<_ACEOF
51929 CEOF$ac_eof
51930 _ACEOF
51931
51932
51933 ac_delim='%!_!# '
51934 for ac_last_try in false false false false false :; do
51935 cat >conf$$subs.sed <<_ACEOF
51936 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51937 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51938 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51939 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51940 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51941 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51942 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51943 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51944 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51945 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51946 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51947 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51948 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51949 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51950 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51951 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51952 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51953 COND_BUILD_release!$COND_BUILD_release$ac_delim
51954 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51955 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51956 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51957 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51958 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51959 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51960 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51961 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51962 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51963 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51964 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51965 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51966 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51967 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51968 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51969 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51970 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51971 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
51972 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51973 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51974 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51975 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51976 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51977 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51978 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51979 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51980 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51981 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
51982 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51983 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51984 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51985 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51986 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51987 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51988 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51989 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51990 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
51991 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51992 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51993 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51994 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51995 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51996 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51997 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51998 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51999 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52000 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52001 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52002 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52003 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52004 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52005 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52006 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52007 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52008 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52009 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52010 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52011 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52012 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52013 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52014 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52015 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52016 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52017 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52018 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52019 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52020 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52021 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52022 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52023 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52024 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52025 COND_SHARED_0!$COND_SHARED_0$ac_delim
52026 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52027 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52028 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52029 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52030 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52031 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52032 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52033 _ACEOF
52034
52035 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52036 break
52037 elif $ac_last_try; then
52038 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52039 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52040 { (exit 1); exit 1; }; }
52041 else
52042 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52043 fi
52044 done
52045
52046 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52047 if test -n "$ac_eof"; then
52048 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52049 ac_eof=`expr $ac_eof + 1`
52050 fi
52051
52052 cat >>$CONFIG_STATUS <<_ACEOF
52053 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52054 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52055 _ACEOF
52056 sed '
52057 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52058 s/^/s,@/; s/!/@,|#_!!_#|/
52059 :n
52060 t n
52061 s/'"$ac_delim"'$/,g/; t
52062 s/$/\\/; p
52063 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52064 ' >>$CONFIG_STATUS <conf$$subs.sed
52065 rm -f conf$$subs.sed
52066 cat >>$CONFIG_STATUS <<_ACEOF
52067 CEOF$ac_eof
52068 _ACEOF
52069
52070
52071 ac_delim='%!_!# '
52072 for ac_last_try in false false false false false :; do
52073 cat >conf$$subs.sed <<_ACEOF
52074 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52075 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52076 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52077 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52078 COND_SHARED_1!$COND_SHARED_1$ac_delim
52079 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52080 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52081 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52082 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52083 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52084 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52085 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52086 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52087 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52088 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52089 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52090 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52091 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52092 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52093 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52094 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52095 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52096 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52097 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52098 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52099 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52100 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52101 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52102 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52103 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52104 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52105 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52106 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52107 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52108 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52109 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52110 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52111 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52112 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52113 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52114 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52115 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52116 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52117 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52118 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52119 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52120 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52121 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52122 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52123 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52124 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52125 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52126 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52127 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52128 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52129 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52130 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52131 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52132 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52133 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52134 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52135 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52136 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52137 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52138 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52139 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52140 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52141 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52142 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52143 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52144 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52145 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52146 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52147 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52148 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52149 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52150 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52151 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52152 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52153 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52154 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52155 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52156 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52157 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52158 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52159 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52160 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52161 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52162 DEREZ!$DEREZ$ac_delim
52163 SHARED!$SHARED$ac_delim
52164 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52165 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52166 USE_GUI!$USE_GUI$ac_delim
52167 AFMINSTALL!$AFMINSTALL$ac_delim
52168 WIN32INSTALL!$WIN32INSTALL$ac_delim
52169 TOOLKIT!$TOOLKIT$ac_delim
52170 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52171 _ACEOF
52172
52173 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52174 break
52175 elif $ac_last_try; then
52176 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52177 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52178 { (exit 1); exit 1; }; }
52179 else
52180 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52181 fi
52182 done
52183
52184 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52185 if test -n "$ac_eof"; then
52186 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52187 ac_eof=`expr $ac_eof + 1`
52188 fi
52189
52190 cat >>$CONFIG_STATUS <<_ACEOF
52191 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52192 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52193 _ACEOF
52194 sed '
52195 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52196 s/^/s,@/; s/!/@,|#_!!_#|/
52197 :n
52198 t n
52199 s/'"$ac_delim"'$/,g/; t
52200 s/$/\\/; p
52201 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52202 ' >>$CONFIG_STATUS <conf$$subs.sed
52203 rm -f conf$$subs.sed
52204 cat >>$CONFIG_STATUS <<_ACEOF
52205 CEOF$ac_eof
52206 _ACEOF
52207
52208
52209 ac_delim='%!_!# '
52210 for ac_last_try in false false false false false :; do
52211 cat >conf$$subs.sed <<_ACEOF
52212 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52213 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52214 cross_compiling!$cross_compiling$ac_delim
52215 WIDGET_SET!$WIDGET_SET$ac_delim
52216 WX_RELEASE!$WX_RELEASE$ac_delim
52217 WX_VERSION!$WX_VERSION$ac_delim
52218 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52219 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52220 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52221 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52222 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52223 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52224 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52225 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52226 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52227 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52228 GUIDIST!$GUIDIST$ac_delim
52229 DISTDIR!$DISTDIR$ac_delim
52230 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52231 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52232 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52233 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52234 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52235 RESCOMP!$RESCOMP$ac_delim
52236 RESFLAGS!$RESFLAGS$ac_delim
52237 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52238 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52239 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52240 LIBWXMACRES!$LIBWXMACRES$ac_delim
52241 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52242 MACSETFILE!$MACSETFILE$ac_delim
52243 GCC!$GCC$ac_delim
52244 DLLTOOL!$DLLTOOL$ac_delim
52245 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52246 LIBOBJS!$LIBOBJS$ac_delim
52247 LTLIBOBJS!$LTLIBOBJS$ac_delim
52248 _ACEOF
52249
52250 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 36; then
52251 break
52252 elif $ac_last_try; then
52253 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52254 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52255 { (exit 1); exit 1; }; }
52256 else
52257 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52258 fi
52259 done
52260
52261 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52262 if test -n "$ac_eof"; then
52263 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52264 ac_eof=`expr $ac_eof + 1`
52265 fi
52266
52267 cat >>$CONFIG_STATUS <<_ACEOF
52268 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52269 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52270 _ACEOF
52271 sed '
52272 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52273 s/^/s,@/; s/!/@,|#_!!_#|/
52274 :n
52275 t n
52276 s/'"$ac_delim"'$/,g/; t
52277 s/$/\\/; p
52278 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52279 ' >>$CONFIG_STATUS <conf$$subs.sed
52280 rm -f conf$$subs.sed
52281 cat >>$CONFIG_STATUS <<_ACEOF
52282 :end
52283 s/|#_!!_#|//g
52284 CEOF$ac_eof
52285 _ACEOF
52286
52287
52288 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52289 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52290 # trailing colons and then remove the whole line if VPATH becomes empty
52291 # (actually we leave an empty line to preserve line numbers).
52292 if test "x$srcdir" = x.; then
52293 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52294 s/:*\$(srcdir):*/:/
52295 s/:*\${srcdir}:*/:/
52296 s/:*@srcdir@:*/:/
52297 s/^\([^=]*=[ ]*\):*/\1/
52298 s/:*$//
52299 s/^[^=]*=[ ]*$//
52300 }'
52301 fi
52302
52303 cat >>$CONFIG_STATUS <<\_ACEOF
52304 fi # test -n "$CONFIG_FILES"
52305
52306
52307 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52308 do
52309 case $ac_tag in
52310 :[FHLC]) ac_mode=$ac_tag; continue;;
52311 esac
52312 case $ac_mode$ac_tag in
52313 :[FHL]*:*);;
52314 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52315 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52316 { (exit 1); exit 1; }; };;
52317 :[FH]-) ac_tag=-:-;;
52318 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52319 esac
52320 ac_save_IFS=$IFS
52321 IFS=:
52322 set x $ac_tag
52323 IFS=$ac_save_IFS
52324 shift
52325 ac_file=$1
52326 shift
52327
52328 case $ac_mode in
52329 :L) ac_source=$1;;
52330 :[FH])
52331 ac_file_inputs=
52332 for ac_f
52333 do
52334 case $ac_f in
52335 -) ac_f="$tmp/stdin";;
52336 *) # Look for the file first in the build tree, then in the source tree
52337 # (if the path is not absolute). The absolute path cannot be DOS-style,
52338 # because $ac_f cannot contain `:'.
52339 test -f "$ac_f" ||
52340 case $ac_f in
52341 [\\/$]*) false;;
52342 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52343 esac ||
52344 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52345 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52346 { (exit 1); exit 1; }; };;
52347 esac
52348 ac_file_inputs="$ac_file_inputs $ac_f"
52349 done
52350
52351 # Let's still pretend it is `configure' which instantiates (i.e., don't
52352 # use $as_me), people would be surprised to read:
52353 # /* config.h. Generated by config.status. */
52354 configure_input="Generated from "`IFS=:
52355 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52356 if test x"$ac_file" != x-; then
52357 configure_input="$ac_file. $configure_input"
52358 { echo "$as_me:$LINENO: creating $ac_file" >&5
52359 echo "$as_me: creating $ac_file" >&6;}
52360 fi
52361
52362 case $ac_tag in
52363 *:-:* | *:-) cat >"$tmp/stdin";;
52364 esac
52365 ;;
52366 esac
52367
52368 ac_dir=`$as_dirname -- "$ac_file" ||
52369 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52370 X"$ac_file" : 'X\(//\)[^/]' \| \
52371 X"$ac_file" : 'X\(//\)$' \| \
52372 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52373 echo X"$ac_file" |
52374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52375 s//\1/
52376 q
52377 }
52378 /^X\(\/\/\)[^/].*/{
52379 s//\1/
52380 q
52381 }
52382 /^X\(\/\/\)$/{
52383 s//\1/
52384 q
52385 }
52386 /^X\(\/\).*/{
52387 s//\1/
52388 q
52389 }
52390 s/.*/./; q'`
52391 { as_dir="$ac_dir"
52392 case $as_dir in #(
52393 -*) as_dir=./$as_dir;;
52394 esac
52395 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52396 as_dirs=
52397 while :; do
52398 case $as_dir in #(
52399 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52400 *) as_qdir=$as_dir;;
52401 esac
52402 as_dirs="'$as_qdir' $as_dirs"
52403 as_dir=`$as_dirname -- "$as_dir" ||
52404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52405 X"$as_dir" : 'X\(//\)[^/]' \| \
52406 X"$as_dir" : 'X\(//\)$' \| \
52407 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52408 echo X"$as_dir" |
52409 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52410 s//\1/
52411 q
52412 }
52413 /^X\(\/\/\)[^/].*/{
52414 s//\1/
52415 q
52416 }
52417 /^X\(\/\/\)$/{
52418 s//\1/
52419 q
52420 }
52421 /^X\(\/\).*/{
52422 s//\1/
52423 q
52424 }
52425 s/.*/./; q'`
52426 test -d "$as_dir" && break
52427 done
52428 test -z "$as_dirs" || eval "mkdir $as_dirs"
52429 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52430 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52431 { (exit 1); exit 1; }; }; }
52432 ac_builddir=.
52433
52434 case "$ac_dir" in
52435 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52436 *)
52437 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52438 # A ".." for each directory in $ac_dir_suffix.
52439 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52440 case $ac_top_builddir_sub in
52441 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52442 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52443 esac ;;
52444 esac
52445 ac_abs_top_builddir=$ac_pwd
52446 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52447 # for backward compatibility:
52448 ac_top_builddir=$ac_top_build_prefix
52449
52450 case $srcdir in
52451 .) # We are building in place.
52452 ac_srcdir=.
52453 ac_top_srcdir=$ac_top_builddir_sub
52454 ac_abs_top_srcdir=$ac_pwd ;;
52455 [\\/]* | ?:[\\/]* ) # Absolute name.
52456 ac_srcdir=$srcdir$ac_dir_suffix;
52457 ac_top_srcdir=$srcdir
52458 ac_abs_top_srcdir=$srcdir ;;
52459 *) # Relative name.
52460 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52461 ac_top_srcdir=$ac_top_build_prefix$srcdir
52462 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52463 esac
52464 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52465
52466
52467 case $ac_mode in
52468 :F)
52469 #
52470 # CONFIG_FILE
52471 #
52472
52473 case $INSTALL in
52474 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52475 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52476 esac
52477 _ACEOF
52478
52479 cat >>$CONFIG_STATUS <<\_ACEOF
52480 # If the template does not know about datarootdir, expand it.
52481 # FIXME: This hack should be removed a few years after 2.60.
52482 ac_datarootdir_hack=; ac_datarootdir_seen=
52483
52484 case `sed -n '/datarootdir/ {
52485 p
52486 q
52487 }
52488 /@datadir@/p
52489 /@docdir@/p
52490 /@infodir@/p
52491 /@localedir@/p
52492 /@mandir@/p
52493 ' $ac_file_inputs` in
52494 *datarootdir*) ac_datarootdir_seen=yes;;
52495 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52496 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52497 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52498 _ACEOF
52499 cat >>$CONFIG_STATUS <<_ACEOF
52500 ac_datarootdir_hack='
52501 s&@datadir@&$datadir&g
52502 s&@docdir@&$docdir&g
52503 s&@infodir@&$infodir&g
52504 s&@localedir@&$localedir&g
52505 s&@mandir@&$mandir&g
52506 s&\\\${datarootdir}&$datarootdir&g' ;;
52507 esac
52508 _ACEOF
52509
52510 # Neutralize VPATH when `$srcdir' = `.'.
52511 # Shell code in configure.ac might set extrasub.
52512 # FIXME: do we really want to maintain this feature?
52513 cat >>$CONFIG_STATUS <<_ACEOF
52514 sed "$ac_vpsub
52515 $extrasub
52516 _ACEOF
52517 cat >>$CONFIG_STATUS <<\_ACEOF
52518 :t
52519 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52520 s&@configure_input@&$configure_input&;t t
52521 s&@top_builddir@&$ac_top_builddir_sub&;t t
52522 s&@srcdir@&$ac_srcdir&;t t
52523 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52524 s&@top_srcdir@&$ac_top_srcdir&;t t
52525 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52526 s&@builddir@&$ac_builddir&;t t
52527 s&@abs_builddir@&$ac_abs_builddir&;t t
52528 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52529 s&@INSTALL@&$ac_INSTALL&;t t
52530 $ac_datarootdir_hack
52531 " $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
52532
52533 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52534 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52535 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52536 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52537 which seems to be undefined. Please make sure it is defined." >&5
52538 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52539 which seems to be undefined. Please make sure it is defined." >&2;}
52540
52541 rm -f "$tmp/stdin"
52542 case $ac_file in
52543 -) cat "$tmp/out"; rm -f "$tmp/out";;
52544 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52545 esac
52546 ;;
52547 :H)
52548 #
52549 # CONFIG_HEADER
52550 #
52551 _ACEOF
52552
52553 # Transform confdefs.h into a sed script `conftest.defines', that
52554 # substitutes the proper values into config.h.in to produce config.h.
52555 rm -f conftest.defines conftest.tail
52556 # First, append a space to every undef/define line, to ease matching.
52557 echo 's/$/ /' >conftest.defines
52558 # Then, protect against being on the right side of a sed subst, or in
52559 # an unquoted here document, in config.status. If some macros were
52560 # called several times there might be several #defines for the same
52561 # symbol, which is useless. But do not sort them, since the last
52562 # AC_DEFINE must be honored.
52563 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52564 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52565 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52566 # PARAMS is the parameter list in the macro definition--in most cases, it's
52567 # just an empty string.
52568 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52569 ac_dB='\\)[ (].*,\\1define\\2'
52570 ac_dC=' '
52571 ac_dD=' ,'
52572
52573 uniq confdefs.h |
52574 sed -n '
52575 t rset
52576 :rset
52577 s/^[ ]*#[ ]*define[ ][ ]*//
52578 t ok
52579 d
52580 :ok
52581 s/[\\&,]/\\&/g
52582 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52583 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52584 ' >>conftest.defines
52585
52586 # Remove the space that was appended to ease matching.
52587 # Then replace #undef with comments. This is necessary, for
52588 # example, in the case of _POSIX_SOURCE, which is predefined and required
52589 # on some systems where configure will not decide to define it.
52590 # (The regexp can be short, since the line contains either #define or #undef.)
52591 echo 's/ $//
52592 s,^[ #]*u.*,/* & */,' >>conftest.defines
52593
52594 # Break up conftest.defines:
52595 ac_max_sed_lines=50
52596
52597 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52598 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52599 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52600 # et cetera.
52601 ac_in='$ac_file_inputs'
52602 ac_out='"$tmp/out1"'
52603 ac_nxt='"$tmp/out2"'
52604
52605 while :
52606 do
52607 # Write a here document:
52608 cat >>$CONFIG_STATUS <<_ACEOF
52609 # First, check the format of the line:
52610 cat >"\$tmp/defines.sed" <<\\CEOF
52611 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52612 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52613 b
52614 :def
52615 _ACEOF
52616 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52617 echo 'CEOF
52618 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52619 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52620 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52621 grep . conftest.tail >/dev/null || break
52622 rm -f conftest.defines
52623 mv conftest.tail conftest.defines
52624 done
52625 rm -f conftest.defines conftest.tail
52626
52627 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52628 cat >>$CONFIG_STATUS <<\_ACEOF
52629 if test x"$ac_file" != x-; then
52630 echo "/* $configure_input */" >"$tmp/config.h"
52631 cat "$ac_result" >>"$tmp/config.h"
52632 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52633 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52634 echo "$as_me: $ac_file is unchanged" >&6;}
52635 else
52636 rm -f $ac_file
52637 mv "$tmp/config.h" $ac_file
52638 fi
52639 else
52640 echo "/* $configure_input */"
52641 cat "$ac_result"
52642 fi
52643 rm -f "$tmp/out12"
52644 ;;
52645
52646 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52647 echo "$as_me: executing $ac_file commands" >&6;}
52648 ;;
52649 esac
52650
52651
52652 case $ac_file$ac_mode in
52653 "rcdefs.h":C)
52654 mkdir -p $outdir &&
52655 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52656 ;;
52657 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52658 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52659 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52660 "wx-config":C) rm -f wx-config
52661 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52662 ;;
52663
52664 esac
52665 done # for ac_tag
52666
52667
52668 { (exit 0); exit 0; }
52669 _ACEOF
52670 chmod +x $CONFIG_STATUS
52671 ac_clean_files=$ac_clean_files_save
52672
52673
52674 # configure is writing to config.log, and then calls config.status.
52675 # config.status does its own redirection, appending to config.log.
52676 # Unfortunately, on DOS this fails, as config.log is still kept open
52677 # by configure, so config.status won't be able to write to it; its
52678 # output is simply discarded. So we exec the FD to /dev/null,
52679 # effectively closing config.log, so it can be properly (re)opened and
52680 # appended to by config.status. When coming back to configure, we
52681 # need to make the FD available again.
52682 if test "$no_create" != yes; then
52683 ac_cs_success=:
52684 ac_config_status_args=
52685 test "$silent" = yes &&
52686 ac_config_status_args="$ac_config_status_args --quiet"
52687 exec 5>/dev/null
52688 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52689 exec 5>>config.log
52690 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52691 # would make configure fail if this is the last instruction.
52692 $ac_cs_success || { (exit 1); exit 1; }
52693 fi
52694
52695 #
52696 # CONFIG_SUBDIRS section.
52697 #
52698 if test "$no_recursion" != yes; then
52699
52700 # Remove --cache-file and --srcdir arguments so they do not pile up.
52701 ac_sub_configure_args=
52702 ac_prev=
52703 eval "set x $ac_configure_args"
52704 shift
52705 for ac_arg
52706 do
52707 if test -n "$ac_prev"; then
52708 ac_prev=
52709 continue
52710 fi
52711 case $ac_arg in
52712 -cache-file | --cache-file | --cache-fil | --cache-fi \
52713 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52714 ac_prev=cache_file ;;
52715 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52716 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52717 | --c=*)
52718 ;;
52719 --config-cache | -C)
52720 ;;
52721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52722 ac_prev=srcdir ;;
52723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52724 ;;
52725 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52726 ac_prev=prefix ;;
52727 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52728 ;;
52729 *)
52730 case $ac_arg in
52731 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52732 esac
52733 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52734 esac
52735 done
52736
52737 # Always prepend --prefix to ensure using the same prefix
52738 # in subdir configurations.
52739 ac_arg="--prefix=$prefix"
52740 case $ac_arg in
52741 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52742 esac
52743 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52744
52745 # Pass --silent
52746 if test "$silent" = yes; then
52747 ac_sub_configure_args="--silent $ac_sub_configure_args"
52748 fi
52749
52750 ac_popdir=`pwd`
52751 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52752
52753 # Do not complain, so a configure script can configure whichever
52754 # parts of a large source tree are present.
52755 test -d "$srcdir/$ac_dir" || continue
52756
52757 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52758 echo "$as_me:$LINENO: $ac_msg" >&5
52759 echo "$ac_msg" >&6
52760 { as_dir="$ac_dir"
52761 case $as_dir in #(
52762 -*) as_dir=./$as_dir;;
52763 esac
52764 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52765 as_dirs=
52766 while :; do
52767 case $as_dir in #(
52768 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52769 *) as_qdir=$as_dir;;
52770 esac
52771 as_dirs="'$as_qdir' $as_dirs"
52772 as_dir=`$as_dirname -- "$as_dir" ||
52773 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52774 X"$as_dir" : 'X\(//\)[^/]' \| \
52775 X"$as_dir" : 'X\(//\)$' \| \
52776 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52777 echo X"$as_dir" |
52778 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52779 s//\1/
52780 q
52781 }
52782 /^X\(\/\/\)[^/].*/{
52783 s//\1/
52784 q
52785 }
52786 /^X\(\/\/\)$/{
52787 s//\1/
52788 q
52789 }
52790 /^X\(\/\).*/{
52791 s//\1/
52792 q
52793 }
52794 s/.*/./; q'`
52795 test -d "$as_dir" && break
52796 done
52797 test -z "$as_dirs" || eval "mkdir $as_dirs"
52798 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52799 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52800 { (exit 1); exit 1; }; }; }
52801 ac_builddir=.
52802
52803 case "$ac_dir" in
52804 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52805 *)
52806 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52807 # A ".." for each directory in $ac_dir_suffix.
52808 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52809 case $ac_top_builddir_sub in
52810 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52811 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52812 esac ;;
52813 esac
52814 ac_abs_top_builddir=$ac_pwd
52815 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52816 # for backward compatibility:
52817 ac_top_builddir=$ac_top_build_prefix
52818
52819 case $srcdir in
52820 .) # We are building in place.
52821 ac_srcdir=.
52822 ac_top_srcdir=$ac_top_builddir_sub
52823 ac_abs_top_srcdir=$ac_pwd ;;
52824 [\\/]* | ?:[\\/]* ) # Absolute name.
52825 ac_srcdir=$srcdir$ac_dir_suffix;
52826 ac_top_srcdir=$srcdir
52827 ac_abs_top_srcdir=$srcdir ;;
52828 *) # Relative name.
52829 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52830 ac_top_srcdir=$ac_top_build_prefix$srcdir
52831 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52832 esac
52833 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52834
52835
52836 cd "$ac_dir"
52837
52838 # Check for guested configure; otherwise get Cygnus style configure.
52839 if test -f "$ac_srcdir/configure.gnu"; then
52840 ac_sub_configure=$ac_srcdir/configure.gnu
52841 elif test -f "$ac_srcdir/configure"; then
52842 ac_sub_configure=$ac_srcdir/configure
52843 elif test -f "$ac_srcdir/configure.in"; then
52844 # This should be Cygnus configure.
52845 ac_sub_configure=$ac_aux_dir/configure
52846 else
52847 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52848 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52849 ac_sub_configure=
52850 fi
52851
52852 # The recursion is here.
52853 if test -n "$ac_sub_configure"; then
52854 # Make the cache file name correct relative to the subdirectory.
52855 case $cache_file in
52856 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52857 *) # Relative name.
52858 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52859 esac
52860
52861 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52862 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52863 # The eval makes quoting arguments work.
52864 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52865 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52866 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52867 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52868 { (exit 1); exit 1; }; }
52869 fi
52870
52871 cd "$ac_popdir"
52872 done
52873 fi
52874
52875
52876 echo
52877 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52878 echo ""
52879 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52880 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52881
52882 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52883 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52884 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52885 if test "$wxUSE_UNICODE" = "yes"; then
52886 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52887 echo " (using UTF-8)"
52888 else
52889 echo " (using wchar_t)"
52890 fi
52891 else
52892 echo
52893 fi
52894
52895 echo " What level of wxWidgets compatibility should be enabled?"
52896 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52897 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52898
52899 echo " Which libraries should wxWidgets use?"
52900 echo " STL ${wxUSE_STL}"
52901 echo " jpeg ${wxUSE_LIBJPEG-none}"
52902 echo " png ${wxUSE_LIBPNG-none}"
52903 echo " regex ${wxUSE_REGEX}"
52904 echo " tiff ${wxUSE_LIBTIFF-none}"
52905 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52906 echo " xpm ${wxUSE_LIBXPM-none}"
52907 fi
52908 echo " zlib ${wxUSE_ZLIB}"
52909 echo " expat ${wxUSE_EXPAT}"
52910 echo " libmspack ${wxUSE_LIBMSPACK}"
52911 echo " sdl ${wxUSE_LIBSDL}"
52912
52913 echo ""
52914