]> git.saurik.com Git - wxWidgets.git/blob - configure
no need to disable DoTestSwap() for VC6 any more with latest wx/cppunit.h
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 56792 2008-11-16 14:24:13Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
29
30 fi
31
32
33
34
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
42
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
47 chmod +x conf$$.sh
48 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49 PATH_SEPARATOR=';'
50 else
51 PATH_SEPARATOR=:
52 fi
53 rm -f conf$$.sh
54 fi
55
56 # Support unset when possible.
57 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
58 as_unset=unset
59 else
60 as_unset=false
61 fi
62
63
64 # IFS
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
69 as_nl='
70 '
71 IFS=" "" $as_nl"
72
73 # Find who we are. Look in the path if we contain no directory separator.
74 case $0 in
75 *[\\/]* ) as_myself=$0 ;;
76 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 for as_dir in $PATH
78 do
79 IFS=$as_save_IFS
80 test -z "$as_dir" && as_dir=.
81 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 done
83 IFS=$as_save_IFS
84
85 ;;
86 esac
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x; then
90 as_myself=$0
91 fi
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 { (exit 1); exit 1; }
95 fi
96
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
100 done
101 PS1='$ '
102 PS2='> '
103 PS4='+ '
104
105 # NLS nuisances.
106 for as_var in \
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 LC_TELEPHONE LC_TIME
110 do
111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C; export $as_var
113 else
114 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 fi
116 done
117
118 # Required to use basename.
119 if expr a : '\(a\)' >/dev/null 2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 as_expr=expr
122 else
123 as_expr=false
124 fi
125
126 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
127 as_basename=basename
128 else
129 as_basename=false
130 fi
131
132
133 # Name of the executable.
134 as_me=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 echo X/"$0" |
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
140 s//\1/
141 q
142 }
143 /^X\/\(\/\/\)$/{
144 s//\1/
145 q
146 }
147 /^X\/\(\/\).*/{
148 s//\1/
149 q
150 }
151 s/.*/./; q'`
152
153 # CDPATH.
154 $as_unset CDPATH
155
156
157 if test "x$CONFIG_SHELL" = x; then
158 if (eval ":") 2>/dev/null; then
159 as_have_required=yes
160 else
161 as_have_required=no
162 fi
163
164 if test $as_have_required = yes && (eval ":
165 (as_func_return () {
166 (exit \$1)
167 }
168 as_func_success () {
169 as_func_return 0
170 }
171 as_func_failure () {
172 as_func_return 1
173 }
174 as_func_ret_success () {
175 return 0
176 }
177 as_func_ret_failure () {
178 return 1
179 }
180
181 exitcode=0
182 if as_func_success; then
183 :
184 else
185 exitcode=1
186 echo as_func_success failed.
187 fi
188
189 if as_func_failure; then
190 exitcode=1
191 echo as_func_failure succeeded.
192 fi
193
194 if as_func_ret_success; then
195 :
196 else
197 exitcode=1
198 echo as_func_ret_success failed.
199 fi
200
201 if as_func_ret_failure; then
202 exitcode=1
203 echo as_func_ret_failure succeeded.
204 fi
205
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 :
208 else
209 exitcode=1
210 echo positional parameters were not saved.
211 fi
212
213 test \$exitcode = 0) || { (exit 1); exit 1; }
214
215 (
216 as_lineno_1=\$LINENO
217 as_lineno_2=\$LINENO
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev/null; then
221 :
222 else
223 as_candidate_shells=
224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
225 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 do
227 IFS=$as_save_IFS
228 test -z "$as_dir" && as_dir=.
229 case $as_dir in
230 /*)
231 for as_base in sh bash ksh sh5; do
232 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
233 done;;
234 esac
235 done
236 IFS=$as_save_IFS
237
238
239 for as_shell in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev/null <<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 emulate sh
245 NULLCMD=:
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
249 setopt NO_GLOB_SUBST
250 else
251 case `(set -o) 2>/dev/null` in
252 *posix*) set -o posix ;;
253 esac
254
255 fi
256
257
258 :
259 _ASEOF
260 }; then
261 CONFIG_SHELL=$as_shell
262 as_have_required=yes
263 if { "$as_shell" 2> /dev/null <<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 emulate sh
266 NULLCMD=:
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
270 setopt NO_GLOB_SUBST
271 else
272 case `(set -o) 2>/dev/null` in
273 *posix*) set -o posix ;;
274 esac
275
276 fi
277
278
279 :
280 (as_func_return () {
281 (exit $1)
282 }
283 as_func_success () {
284 as_func_return 0
285 }
286 as_func_failure () {
287 as_func_return 1
288 }
289 as_func_ret_success () {
290 return 0
291 }
292 as_func_ret_failure () {
293 return 1
294 }
295
296 exitcode=0
297 if as_func_success; then
298 :
299 else
300 exitcode=1
301 echo as_func_success failed.
302 fi
303
304 if as_func_failure; then
305 exitcode=1
306 echo as_func_failure succeeded.
307 fi
308
309 if as_func_ret_success; then
310 :
311 else
312 exitcode=1
313 echo as_func_ret_success failed.
314 fi
315
316 if as_func_ret_failure; then
317 exitcode=1
318 echo as_func_ret_failure succeeded.
319 fi
320
321 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 :
323 else
324 exitcode=1
325 echo positional parameters were not saved.
326 fi
327
328 test $exitcode = 0) || { (exit 1); exit 1; }
329
330 (
331 as_lineno_1=$LINENO
332 as_lineno_2=$LINENO
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335
336 _ASEOF
337 }; then
338 break
339 fi
340
341 fi
342
343 done
344
345 if test "x$CONFIG_SHELL" != x; then
346 for as_var in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 done
349 export CONFIG_SHELL
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 fi
352
353
354 if test $as_have_required = no; then
355 echo This script requires a shell more modern than all the
356 echo shells that I found on your system. Please install a
357 echo modern shell, or manually run the script under such a
358 echo shell if you do have one.
359 { (exit 1); exit 1; }
360 fi
361
362
363 fi
364
365 fi
366
367
368
369 (eval "as_func_return () {
370 (exit \$1)
371 }
372 as_func_success () {
373 as_func_return 0
374 }
375 as_func_failure () {
376 as_func_return 1
377 }
378 as_func_ret_success () {
379 return 0
380 }
381 as_func_ret_failure () {
382 return 1
383 }
384
385 exitcode=0
386 if as_func_success; then
387 :
388 else
389 exitcode=1
390 echo as_func_success failed.
391 fi
392
393 if as_func_failure; then
394 exitcode=1
395 echo as_func_failure succeeded.
396 fi
397
398 if as_func_ret_success; then
399 :
400 else
401 exitcode=1
402 echo as_func_ret_success failed.
403 fi
404
405 if as_func_ret_failure; then
406 exitcode=1
407 echo as_func_ret_failure succeeded.
408 fi
409
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 :
412 else
413 exitcode=1
414 echo positional parameters were not saved.
415 fi
416
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system,
420 echo including any error possibly output before this
421 echo message
422 }
423
424
425
426 as_lineno_1=$LINENO
427 as_lineno_2=$LINENO
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
437 # case at line end.
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
441 sed -n '
442 p
443 /[$]LINENO/=
444 ' <$as_myself |
445 sed '
446 s/[$]LINENO.*/&-/
447 t lineno
448 b
449 :lineno
450 N
451 :loop
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 t loop
454 s/-\n.*//
455 ' >$as_me.lineno &&
456 chmod +x "$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
459
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
463 . "./$as_me.lineno"
464 # Exit status is that of the last command.
465 exit
466 }
467
468
469 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
470 as_dirname=dirname
471 else
472 as_dirname=false
473 fi
474
475 ECHO_C= ECHO_N= ECHO_T=
476 case `echo -n x` in
477 -n*)
478 case `echo 'x\c'` in
479 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
480 *) ECHO_C='\c';;
481 esac;;
482 *)
483 ECHO_N='-n';;
484 esac
485
486 if expr a : '\(a\)' >/dev/null 2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
488 as_expr=expr
489 else
490 as_expr=false
491 fi
492
493 rm -f conf$$ conf$$.exe conf$$.file
494 if test -d conf$$.dir; then
495 rm -f conf$$.dir/conf$$.file
496 else
497 rm -f conf$$.dir
498 mkdir conf$$.dir
499 fi
500 echo >conf$$.file
501 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 as_ln_s='ln -s'
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 as_ln_s='cp -p'
509 elif ln conf$$.file conf$$ 2>/dev/null; then
510 as_ln_s=ln
511 else
512 as_ln_s='cp -p'
513 fi
514 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
515 rmdir conf$$.dir 2>/dev/null
516
517 if mkdir -p . 2>/dev/null; then
518 as_mkdir_p=:
519 else
520 test -d ./-p && rmdir ./-p
521 as_mkdir_p=false
522 fi
523
524 if test -x / >/dev/null 2>&1; then
525 as_test_x='test -x'
526 else
527 if ls -dL / >/dev/null 2>&1; then
528 as_ls_L_option=L
529 else
530 as_ls_L_option=
531 fi
532 as_test_x='
533 eval sh -c '\''
534 if test -d "$1"; then
535 test -d "$1/.";
536 else
537 case $1 in
538 -*)set "./$1";;
539 esac;
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
542 '\'' sh
543 '
544 fi
545 as_executable_p=$as_test_x
546
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552
553
554
555 exec 7<&0 </dev/null 6>&1
556
557 # Name of the host.
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
562 #
563 # Initializations.
564 #
565 ac_default_prefix=/usr/local
566 ac_clean_files=
567 ac_config_libobj_dir=.
568 LIBOBJS=
569 cross_compiling=no
570 subdirs=
571 MFLAGS=
572 MAKEFLAGS=
573 SHELL=${CONFIG_SHELL-/bin/sh}
574
575 # Identity of this package.
576 PACKAGE_NAME='wxWidgets'
577 PACKAGE_TARNAME='wxwidgets'
578 PACKAGE_VERSION='2.9.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 EXTRALIBS_STC
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 OBJCXXFLAGS
810 GCC_PCH
811 ICC_PCH
812 ICC_PCH_CREATE_SWITCH
813 ICC_PCH_USE_SWITCH
814 BK_MAKE_PCH
815 COND_BUILD_DEBUG
816 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
817 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
818 COND_BUILD_DEBUG_UNICODE_0
819 COND_BUILD_DEBUG_UNICODE_1
820 COND_BUILD_RELEASE
821 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
822 COND_BUILD_RELEASE_UNICODE_0
823 COND_BUILD_RELEASE_UNICODE_1
824 COND_BUILD_debug
825 COND_BUILD_debug_DEBUG_FLAG_default
826 COND_BUILD_debug_DEBUG_INFO_default
827 COND_BUILD_debug_UNICODE_0
828 COND_BUILD_debug_UNICODE_1
829 COND_BUILD_release
830 COND_BUILD_release_DEBUG_INFO_default
831 COND_BUILD_release_UNICODE_0
832 COND_BUILD_release_UNICODE_1
833 COND_DEBUG_FLAG_1
834 COND_DEBUG_INFO_0
835 COND_DEBUG_INFO_1
836 COND_DEPS_TRACKING_0
837 COND_DEPS_TRACKING_1
838 COND_GCC_PCH_1
839 COND_ICC_PCH_1
840 COND_MONOLITHIC_0
841 COND_MONOLITHIC_0_SHARED_0
842 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
845 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
847 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
848 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
849 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
850 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
851 COND_MONOLITHIC_0_SHARED_1
852 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
856 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
857 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
858 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
860 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
861 COND_MONOLITHIC_0_USE_AUI_1
862 COND_MONOLITHIC_0_USE_GUI_1
863 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_HTML_1
865 COND_MONOLITHIC_0_USE_MEDIA_1
866 COND_MONOLITHIC_0_USE_PROPGRID_1
867 COND_MONOLITHIC_0_USE_QA_1
868 COND_MONOLITHIC_0_USE_RICHTEXT_1
869 COND_MONOLITHIC_0_USE_STC_1
870 COND_MONOLITHIC_0_USE_XRC_1
871 COND_MONOLITHIC_1
872 COND_MONOLITHIC_1_SHARED_0
873 COND_MONOLITHIC_1_SHARED_1
874 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
875 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
876 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
877 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
878 COND_PLATFORM_MACOSX_1
879 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
884 COND_PLATFORM_MACOSX_1_USE_GUI_1
885 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
886 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
887 COND_PLATFORM_MACOS_1
888 COND_PLATFORM_MAC_0
889 COND_PLATFORM_MAC_1
890 COND_PLATFORM_MSDOS_0
891 COND_PLATFORM_MSDOS_1
892 COND_PLATFORM_OS2_1
893 COND_PLATFORM_UNIX_0
894 COND_PLATFORM_UNIX_1
895 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
896 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
897 COND_PLATFORM_UNIX_1_USE_GUI_1
898 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
899 COND_PLATFORM_WIN32_0
900 COND_PLATFORM_WIN32_1
901 COND_SHARED_0
902 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
903 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
904 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
905 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
907 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
908 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
909 COND_SHARED_0_USE_STC_1
910 COND_SHARED_0_wxUSE_EXPAT_builtin
911 COND_SHARED_0_wxUSE_REGEX_builtin
912 COND_SHARED_0_wxUSE_ZLIB_builtin
913 COND_SHARED_1
914 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
915 COND_TOOLKIT_
916 COND_TOOLKIT_COCOA
917 COND_TOOLKIT_COCOA_USE_GUI_1
918 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_DFB
920 COND_TOOLKIT_DFB_USE_GUI_1
921 COND_TOOLKIT_GTK
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
927 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_GTK_USE_GUI_1
929 COND_TOOLKIT_MAC
930 COND_TOOLKIT_MGL
931 COND_TOOLKIT_MGL_USE_GUI_1
932 COND_TOOLKIT_MOTIF
933 COND_TOOLKIT_MOTIF_USE_GUI_1
934 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_MSW
936 COND_TOOLKIT_MSW_USE_GUI_1
937 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
938 COND_TOOLKIT_MSW_WXUNIV_0
939 COND_TOOLKIT_OSX_CARBON
940 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
941 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
942 COND_TOOLKIT_OSX_COCOA
943 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
944 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
945 COND_TOOLKIT_OSX_IPHONE
946 COND_TOOLKIT_PM
947 COND_TOOLKIT_PM_USE_GUI_1
948 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
949 COND_TOOLKIT_WINCE
950 COND_TOOLKIT_WINCE_USE_GUI_1
951 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
952 COND_TOOLKIT_WINCE_WXUNIV_0
953 COND_TOOLKIT_X11
954 COND_TOOLKIT_X11_USE_GUI_1
955 COND_UNICODE_1
956 COND_USE_EXCEPTIONS_0
957 COND_USE_EXCEPTIONS_1
958 COND_USE_GUI_0
959 COND_USE_GUI_1
960 COND_USE_GUI_1_USE_OPENGL_1
961 COND_USE_GUI_1_WXUNIV_0
962 COND_USE_GUI_1_WXUNIV_1
963 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
964 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
965 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
966 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
967 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
968 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
969 COND_USE_OPENGL_1
970 COND_USE_PCH_1
971 COND_USE_PLUGINS_0
972 COND_USE_RTTI_0
973 COND_USE_RTTI_1
974 COND_USE_SOSYMLINKS_1
975 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
976 COND_USE_SOVERLINUX_1
977 COND_USE_SOVERSION_0
978 COND_USE_SOVERSOLARIS_1
979 COND_USE_STC_1
980 COND_USE_THREADS_0
981 COND_USE_THREADS_1
982 COND_USE_XRC_1
983 COND_WINDOWS_IMPLIB_1
984 COND_WITH_PLUGIN_SDL_1
985 COND_WXUNIV_0
986 COND_WXUNIV_1
987 COND_WXUSE_EXPAT_BUILTIN
988 COND_WXUSE_LIBJPEG_BUILTIN
989 COND_WXUSE_LIBPNG_BUILTIN
990 COND_WXUSE_LIBTIFF_BUILTIN
991 COND_WXUSE_REGEX_BUILTIN
992 COND_WXUSE_ZLIB_BUILTIN
993 COND_wxUSE_EXPAT_builtin
994 COND_wxUSE_LIBJPEG_builtin
995 COND_wxUSE_LIBPNG_builtin
996 COND_wxUSE_LIBTIFF_builtin
997 COND_wxUSE_REGEX_builtin
998 COND_wxUSE_ZLIB_builtin
999 DEREZ
1000 SHARED
1001 WX_LIBRARY_BASENAME_NOGUI
1002 WX_LIBRARY_BASENAME_GUI
1003 USE_GUI
1004 AFMINSTALL
1005 WIN32INSTALL
1006 TOOLKIT
1007 TOOLKIT_DIR
1008 TOOLCHAIN_NAME
1009 TOOLCHAIN_FULLNAME
1010 cross_compiling
1011 WIDGET_SET
1012 WX_RELEASE
1013 WX_VERSION
1014 WX_SUBVERSION
1015 WX_CHARTYPE
1016 WX_DEBUGTYPE
1017 WXCONFIG_CPPFLAGS
1018 WXCONFIG_CFLAGS
1019 WXCONFIG_CXXFLAGS
1020 WXCONFIG_LIBS
1021 WXCONFIG_RPATH
1022 WXCONFIG_LDFLAGS_GUI
1023 WXCONFIG_RESFLAGS
1024 GUIDIST
1025 DISTDIR
1026 SAMPLES_SUBDIRS
1027 LDFLAGS_GL
1028 OPENGL_LIBS
1029 DMALLOC_LIBS
1030 WX_VERSION_TAG
1031 RESCOMP
1032 RESFLAGS
1033 RESPROGRAMOBJ
1034 WX_RESOURCES_MACOSX_ASCII
1035 WX_RESOURCES_MACOSX_DATA
1036 LIBWXMACRES
1037 POSTLINK_COMMAND
1038 MACSETFILE
1039 GCC
1040 DLLTOOL
1041 CPPUNIT_CONFIG
1042 LIBOBJS
1043 LTLIBOBJS'
1044 ac_subst_files=''
1045 ac_precious_vars='build_alias
1046 host_alias
1047 target_alias
1048 CC
1049 CFLAGS
1050 LDFLAGS
1051 LIBS
1052 CPPFLAGS
1053 CPP
1054 CXX
1055 CXXFLAGS
1056 CCC
1057 PKG_CONFIG
1058 DIRECTFB_CFLAGS
1059 DIRECTFB_LIBS
1060 XMKMF
1061 PANGOX_CFLAGS
1062 PANGOX_LIBS
1063 PANGOFT2_CFLAGS
1064 PANGOFT2_LIBS
1065 PANGOXFT_CFLAGS
1066 PANGOXFT_LIBS
1067 GTKPRINT_CFLAGS
1068 GTKPRINT_LIBS
1069 LIBGNOMEPRINTUI_CFLAGS
1070 LIBGNOMEPRINTUI_LIBS
1071 GNOMEVFS_CFLAGS
1072 GNOMEVFS_LIBS
1073 HILDON_CFLAGS
1074 HILDON_LIBS
1075 CAIRO_CFLAGS
1076 CAIRO_LIBS
1077 GST_CFLAGS
1078 GST_LIBS'
1079 ac_subdirs_all='src/tiff
1080 src/expat'
1081
1082 # Initialize some variables set by options.
1083 ac_init_help=
1084 ac_init_version=false
1085 # The variables have the same names as the options, with
1086 # dashes changed to underlines.
1087 cache_file=/dev/null
1088 exec_prefix=NONE
1089 no_create=
1090 no_recursion=
1091 prefix=NONE
1092 program_prefix=NONE
1093 program_suffix=NONE
1094 program_transform_name=s,x,x,
1095 silent=
1096 site=
1097 srcdir=
1098 verbose=
1099 x_includes=NONE
1100 x_libraries=NONE
1101
1102 # Installation directory options.
1103 # These are left unexpanded so users can "make install exec_prefix=/foo"
1104 # and all the variables that are supposed to be based on exec_prefix
1105 # by default will actually change.
1106 # Use braces instead of parens because sh, perl, etc. also accept them.
1107 # (The list follows the same order as the GNU Coding Standards.)
1108 bindir='${exec_prefix}/bin'
1109 sbindir='${exec_prefix}/sbin'
1110 libexecdir='${exec_prefix}/libexec'
1111 datarootdir='${prefix}/share'
1112 datadir='${datarootdir}'
1113 sysconfdir='${prefix}/etc'
1114 sharedstatedir='${prefix}/com'
1115 localstatedir='${prefix}/var'
1116 includedir='${prefix}/include'
1117 oldincludedir='/usr/include'
1118 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1119 infodir='${datarootdir}/info'
1120 htmldir='${docdir}'
1121 dvidir='${docdir}'
1122 pdfdir='${docdir}'
1123 psdir='${docdir}'
1124 libdir='${exec_prefix}/lib'
1125 localedir='${datarootdir}/locale'
1126 mandir='${datarootdir}/man'
1127
1128 ac_prev=
1129 ac_dashdash=
1130 for ac_option
1131 do
1132 # If the previous option needs an argument, assign it.
1133 if test -n "$ac_prev"; then
1134 eval $ac_prev=\$ac_option
1135 ac_prev=
1136 continue
1137 fi
1138
1139 case $ac_option in
1140 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1141 *) ac_optarg=yes ;;
1142 esac
1143
1144 # Accept the important Cygnus configure options, so we can diagnose typos.
1145
1146 case $ac_dashdash$ac_option in
1147 --)
1148 ac_dashdash=yes ;;
1149
1150 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1151 ac_prev=bindir ;;
1152 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1153 bindir=$ac_optarg ;;
1154
1155 -build | --build | --buil | --bui | --bu)
1156 ac_prev=build_alias ;;
1157 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1158 build_alias=$ac_optarg ;;
1159
1160 -cache-file | --cache-file | --cache-fil | --cache-fi \
1161 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1162 ac_prev=cache_file ;;
1163 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1164 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1165 cache_file=$ac_optarg ;;
1166
1167 --config-cache | -C)
1168 cache_file=config.cache ;;
1169
1170 -datadir | --datadir | --datadi | --datad)
1171 ac_prev=datadir ;;
1172 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1173 datadir=$ac_optarg ;;
1174
1175 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1176 | --dataroo | --dataro | --datar)
1177 ac_prev=datarootdir ;;
1178 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1179 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1180 datarootdir=$ac_optarg ;;
1181
1182 -disable-* | --disable-*)
1183 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1186 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1187 { (exit 1); exit 1; }; }
1188 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1189 eval enable_$ac_feature=no ;;
1190
1191 -docdir | --docdir | --docdi | --doc | --do)
1192 ac_prev=docdir ;;
1193 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1194 docdir=$ac_optarg ;;
1195
1196 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1197 ac_prev=dvidir ;;
1198 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1199 dvidir=$ac_optarg ;;
1200
1201 -enable-* | --enable-*)
1202 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1205 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1206 { (exit 1); exit 1; }; }
1207 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1208 eval enable_$ac_feature=\$ac_optarg ;;
1209
1210 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1211 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1212 | --exec | --exe | --ex)
1213 ac_prev=exec_prefix ;;
1214 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1215 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1216 | --exec=* | --exe=* | --ex=*)
1217 exec_prefix=$ac_optarg ;;
1218
1219 -gas | --gas | --ga | --g)
1220 # Obsolete; use --with-gas.
1221 with_gas=yes ;;
1222
1223 -help | --help | --hel | --he | -h)
1224 ac_init_help=long ;;
1225 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1226 ac_init_help=recursive ;;
1227 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1228 ac_init_help=short ;;
1229
1230 -host | --host | --hos | --ho)
1231 ac_prev=host_alias ;;
1232 -host=* | --host=* | --hos=* | --ho=*)
1233 host_alias=$ac_optarg ;;
1234
1235 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1236 ac_prev=htmldir ;;
1237 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1238 | --ht=*)
1239 htmldir=$ac_optarg ;;
1240
1241 -includedir | --includedir | --includedi | --included | --include \
1242 | --includ | --inclu | --incl | --inc)
1243 ac_prev=includedir ;;
1244 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1245 | --includ=* | --inclu=* | --incl=* | --inc=*)
1246 includedir=$ac_optarg ;;
1247
1248 -infodir | --infodir | --infodi | --infod | --info | --inf)
1249 ac_prev=infodir ;;
1250 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1251 infodir=$ac_optarg ;;
1252
1253 -libdir | --libdir | --libdi | --libd)
1254 ac_prev=libdir ;;
1255 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1256 libdir=$ac_optarg ;;
1257
1258 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1259 | --libexe | --libex | --libe)
1260 ac_prev=libexecdir ;;
1261 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1262 | --libexe=* | --libex=* | --libe=*)
1263 libexecdir=$ac_optarg ;;
1264
1265 -localedir | --localedir | --localedi | --localed | --locale)
1266 ac_prev=localedir ;;
1267 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1268 localedir=$ac_optarg ;;
1269
1270 -localstatedir | --localstatedir | --localstatedi | --localstated \
1271 | --localstate | --localstat | --localsta | --localst | --locals)
1272 ac_prev=localstatedir ;;
1273 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1274 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1275 localstatedir=$ac_optarg ;;
1276
1277 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1278 ac_prev=mandir ;;
1279 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1280 mandir=$ac_optarg ;;
1281
1282 -nfp | --nfp | --nf)
1283 # Obsolete; use --without-fp.
1284 with_fp=no ;;
1285
1286 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1287 | --no-cr | --no-c | -n)
1288 no_create=yes ;;
1289
1290 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1291 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1292 no_recursion=yes ;;
1293
1294 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1295 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1296 | --oldin | --oldi | --old | --ol | --o)
1297 ac_prev=oldincludedir ;;
1298 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1299 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1300 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1301 oldincludedir=$ac_optarg ;;
1302
1303 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1304 ac_prev=prefix ;;
1305 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1306 prefix=$ac_optarg ;;
1307
1308 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1309 | --program-pre | --program-pr | --program-p)
1310 ac_prev=program_prefix ;;
1311 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1312 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1313 program_prefix=$ac_optarg ;;
1314
1315 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1316 | --program-suf | --program-su | --program-s)
1317 ac_prev=program_suffix ;;
1318 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1319 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1320 program_suffix=$ac_optarg ;;
1321
1322 -program-transform-name | --program-transform-name \
1323 | --program-transform-nam | --program-transform-na \
1324 | --program-transform-n | --program-transform- \
1325 | --program-transform | --program-transfor \
1326 | --program-transfo | --program-transf \
1327 | --program-trans | --program-tran \
1328 | --progr-tra | --program-tr | --program-t)
1329 ac_prev=program_transform_name ;;
1330 -program-transform-name=* | --program-transform-name=* \
1331 | --program-transform-nam=* | --program-transform-na=* \
1332 | --program-transform-n=* | --program-transform-=* \
1333 | --program-transform=* | --program-transfor=* \
1334 | --program-transfo=* | --program-transf=* \
1335 | --program-trans=* | --program-tran=* \
1336 | --progr-tra=* | --program-tr=* | --program-t=*)
1337 program_transform_name=$ac_optarg ;;
1338
1339 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1340 ac_prev=pdfdir ;;
1341 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1342 pdfdir=$ac_optarg ;;
1343
1344 -psdir | --psdir | --psdi | --psd | --ps)
1345 ac_prev=psdir ;;
1346 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1347 psdir=$ac_optarg ;;
1348
1349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1350 | -silent | --silent | --silen | --sile | --sil)
1351 silent=yes ;;
1352
1353 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1354 ac_prev=sbindir ;;
1355 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1356 | --sbi=* | --sb=*)
1357 sbindir=$ac_optarg ;;
1358
1359 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1360 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1361 | --sharedst | --shareds | --shared | --share | --shar \
1362 | --sha | --sh)
1363 ac_prev=sharedstatedir ;;
1364 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1365 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1366 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1367 | --sha=* | --sh=*)
1368 sharedstatedir=$ac_optarg ;;
1369
1370 -site | --site | --sit)
1371 ac_prev=site ;;
1372 -site=* | --site=* | --sit=*)
1373 site=$ac_optarg ;;
1374
1375 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1376 ac_prev=srcdir ;;
1377 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1378 srcdir=$ac_optarg ;;
1379
1380 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1381 | --syscon | --sysco | --sysc | --sys | --sy)
1382 ac_prev=sysconfdir ;;
1383 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1384 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1385 sysconfdir=$ac_optarg ;;
1386
1387 -target | --target | --targe | --targ | --tar | --ta | --t)
1388 ac_prev=target_alias ;;
1389 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1390 target_alias=$ac_optarg ;;
1391
1392 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1393 verbose=yes ;;
1394
1395 -version | --version | --versio | --versi | --vers | -V)
1396 ac_init_version=: ;;
1397
1398 -with-* | --with-*)
1399 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1400 # Reject names that are not valid shell variable names.
1401 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1402 { echo "$as_me: error: invalid package name: $ac_package" >&2
1403 { (exit 1); exit 1; }; }
1404 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1405 eval with_$ac_package=\$ac_optarg ;;
1406
1407 -without-* | --without-*)
1408 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1409 # Reject names that are not valid shell variable names.
1410 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1411 { echo "$as_me: error: invalid package name: $ac_package" >&2
1412 { (exit 1); exit 1; }; }
1413 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1414 eval with_$ac_package=no ;;
1415
1416 --x)
1417 # Obsolete; use --with-x.
1418 with_x=yes ;;
1419
1420 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1421 | --x-incl | --x-inc | --x-in | --x-i)
1422 ac_prev=x_includes ;;
1423 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1424 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1425 x_includes=$ac_optarg ;;
1426
1427 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1428 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1429 ac_prev=x_libraries ;;
1430 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1431 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1432 x_libraries=$ac_optarg ;;
1433
1434 -*) { echo "$as_me: error: unrecognized option: $ac_option
1435 Try \`$0 --help' for more information." >&2
1436 { (exit 1); exit 1; }; }
1437 ;;
1438
1439 *=*)
1440 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1441 # Reject names that are not valid shell variable names.
1442 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1443 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1444 { (exit 1); exit 1; }; }
1445 eval $ac_envvar=\$ac_optarg
1446 export $ac_envvar ;;
1447
1448 *)
1449 # FIXME: should be removed in autoconf 3.0.
1450 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1451 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1452 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1453 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1454 ;;
1455
1456 esac
1457 done
1458
1459 if test -n "$ac_prev"; then
1460 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1461 { echo "$as_me: error: missing argument to $ac_option" >&2
1462 { (exit 1); exit 1; }; }
1463 fi
1464
1465 # Be sure to have absolute directory names.
1466 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1467 datadir sysconfdir sharedstatedir localstatedir includedir \
1468 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1469 libdir localedir mandir
1470 do
1471 eval ac_val=\$$ac_var
1472 case $ac_val in
1473 [\\/$]* | ?:[\\/]* ) continue;;
1474 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1475 esac
1476 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1477 { (exit 1); exit 1; }; }
1478 done
1479
1480 # There might be people who depend on the old broken behavior: `$host'
1481 # used to hold the argument of --host etc.
1482 # FIXME: To remove some day.
1483 build=$build_alias
1484 host=$host_alias
1485 target=$target_alias
1486
1487 # FIXME: To remove some day.
1488 if test "x$host_alias" != x; then
1489 if test "x$build_alias" = x; then
1490 cross_compiling=maybe
1491 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1492 If a cross compiler is detected then cross compile mode will be used." >&2
1493 elif test "x$build_alias" != "x$host_alias"; then
1494 cross_compiling=yes
1495 fi
1496 fi
1497
1498 ac_tool_prefix=
1499 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1500
1501 test "$silent" = yes && exec 6>/dev/null
1502
1503
1504 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1505 ac_ls_di=`ls -di .` &&
1506 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1507 { echo "$as_me: error: Working directory cannot be determined" >&2
1508 { (exit 1); exit 1; }; }
1509 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1510 { echo "$as_me: error: pwd does not report name of working directory" >&2
1511 { (exit 1); exit 1; }; }
1512
1513
1514 # Find the source files, if location was not specified.
1515 if test -z "$srcdir"; then
1516 ac_srcdir_defaulted=yes
1517 # Try the directory containing this script, then the parent directory.
1518 ac_confdir=`$as_dirname -- "$0" ||
1519 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1520 X"$0" : 'X\(//\)[^/]' \| \
1521 X"$0" : 'X\(//\)$' \| \
1522 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1523 echo X"$0" |
1524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1525 s//\1/
1526 q
1527 }
1528 /^X\(\/\/\)[^/].*/{
1529 s//\1/
1530 q
1531 }
1532 /^X\(\/\/\)$/{
1533 s//\1/
1534 q
1535 }
1536 /^X\(\/\).*/{
1537 s//\1/
1538 q
1539 }
1540 s/.*/./; q'`
1541 srcdir=$ac_confdir
1542 if test ! -r "$srcdir/$ac_unique_file"; then
1543 srcdir=..
1544 fi
1545 else
1546 ac_srcdir_defaulted=no
1547 fi
1548 if test ! -r "$srcdir/$ac_unique_file"; then
1549 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1550 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1551 { (exit 1); exit 1; }; }
1552 fi
1553 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1554 ac_abs_confdir=`(
1555 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1556 { (exit 1); exit 1; }; }
1557 pwd)`
1558 # When building in place, set srcdir=.
1559 if test "$ac_abs_confdir" = "$ac_pwd"; then
1560 srcdir=.
1561 fi
1562 # Remove unnecessary trailing slashes from srcdir.
1563 # Double slashes in file names in object file debugging info
1564 # mess up M-x gdb in Emacs.
1565 case $srcdir in
1566 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1567 esac
1568 for ac_var in $ac_precious_vars; do
1569 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1570 eval ac_env_${ac_var}_value=\$${ac_var}
1571 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1572 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1573 done
1574
1575 #
1576 # Report the --help message.
1577 #
1578 if test "$ac_init_help" = "long"; then
1579 # Omit some internal or obsolete options to make the list less imposing.
1580 # This message is too long to be a string in the A/UX 3.1 sh.
1581 cat <<_ACEOF
1582 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1583
1584 Usage: $0 [OPTION]... [VAR=VALUE]...
1585
1586 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1587 VAR=VALUE. See below for descriptions of some of the useful variables.
1588
1589 Defaults for the options are specified in brackets.
1590
1591 Configuration:
1592 -h, --help display this help and exit
1593 --help=short display options specific to this package
1594 --help=recursive display the short help of all the included packages
1595 -V, --version display version information and exit
1596 -q, --quiet, --silent do not print \`checking...' messages
1597 --cache-file=FILE cache test results in FILE [disabled]
1598 -C, --config-cache alias for \`--cache-file=config.cache'
1599 -n, --no-create do not create output files
1600 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1601
1602 Installation directories:
1603 --prefix=PREFIX install architecture-independent files in PREFIX
1604 [$ac_default_prefix]
1605 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1606 [PREFIX]
1607
1608 By default, \`make install' will install all the files in
1609 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1610 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1611 for instance \`--prefix=\$HOME'.
1612
1613 For better control, use the options below.
1614
1615 Fine tuning of the installation directories:
1616 --bindir=DIR user executables [EPREFIX/bin]
1617 --sbindir=DIR system admin executables [EPREFIX/sbin]
1618 --libexecdir=DIR program executables [EPREFIX/libexec]
1619 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1620 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1621 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1622 --libdir=DIR object code libraries [EPREFIX/lib]
1623 --includedir=DIR C header files [PREFIX/include]
1624 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1625 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1626 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1627 --infodir=DIR info documentation [DATAROOTDIR/info]
1628 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1629 --mandir=DIR man documentation [DATAROOTDIR/man]
1630 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1631 --htmldir=DIR html documentation [DOCDIR]
1632 --dvidir=DIR dvi documentation [DOCDIR]
1633 --pdfdir=DIR pdf documentation [DOCDIR]
1634 --psdir=DIR ps documentation [DOCDIR]
1635 _ACEOF
1636
1637 cat <<\_ACEOF
1638
1639 X features:
1640 --x-includes=DIR X include files are in DIR
1641 --x-libraries=DIR X library files are in DIR
1642
1643 System types:
1644 --build=BUILD configure for building on BUILD [guessed]
1645 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1646 --target=TARGET configure for building compilers for TARGET [HOST]
1647 _ACEOF
1648 fi
1649
1650 if test -n "$ac_init_help"; then
1651 case $ac_init_help in
1652 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1653 esac
1654 cat <<\_ACEOF
1655
1656 Optional Features:
1657 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1658 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1659 --disable-gui don't build GUI parts of the library
1660 --enable-monolithic build wxWidgets as single library
1661 --enable-plugins build parts of wxWidgets as loadable components
1662 --enable-official_build official build of wxWidgets (win32 DLL only)
1663 --enable-vendor=VENDOR vendor name (win32 DLL only)
1664 --disable-all-features disable all optional features to build minimal library
1665 --enable-universal use wxWidgets GUI controls instead of native ones
1666 --enable-nanox use NanoX
1667 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1668 --enable-gpe use GNOME PDA Environment features if possible
1669 --disable-shared create static library instead of shared
1670 --enable-debug same as debug_flag and debug_info
1671 --enable-stl use STL for containers
1672 --enable-std_iostreams use standard C++ stream classes
1673 --enable-std_string use standard C++ string classes
1674 --disable-unicode compile without Unicode support
1675 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1676 --enable-utf8 use UTF-8 representation for strings (Unix only)
1677 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1678 --enable-extended_rtti use extended RTTI (XTI)
1679 --enable-omf use OMF object format
1680 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1681 --enable-debug_info create code with debugging information
1682 --disable-optimise compile without optimisations
1683 --enable-debug_gdb create code with extra GDB debugging information
1684 --enable-debug_cntxt use wxDebugContext
1685 --enable-mem_tracing create code with memory tracing
1686 --enable-profile create code with profiling information
1687 --enable-no_rtti create code without RTTI information
1688 --enable-no_exceptions create code without C++ exceptions handling
1689 --enable-permissive compile code disregarding strict ANSI
1690 --enable-no_deps create code without dependency information
1691 --disable-vararg_macros don't use vararg macros, even if they are supported
1692 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1693 --enable-compat26 enable wxWidgets 2.6 compatibility
1694 --disable-compat28 disable wxWidgets 2.8 compatibility
1695 --disable-rpath disable use of rpath for uninstalled builds
1696 --enable-objc_uniquifying enable Objective-C class name uniquifying
1697 --disable-visibility disable use of ELF symbols visibility even if supported
1698 --enable-intl use internationalization system
1699 --enable-xlocale use x-locale support (requires wxLocale)
1700 --enable-config use wxConfig (and derived) classes
1701 --enable-protocols use wxProtocol and derived classes
1702 --enable-ftp use wxFTP (requires wxProtocol
1703 --enable-http use wxHTTP (requires wxProtocol
1704 --enable-fileproto use wxFileProto class (requires wxProtocol
1705 --enable-sockets use socket/network classes
1706 --enable-ipv6 enable IPv6 support in wxSocket
1707 --enable-ole use OLE classes (Win32 only)
1708 --enable-dataobj use data object classes
1709 --enable-ipc use interprocess communication (wxSocket etc.)
1710 --enable-baseevtloop use event loop in console programs too
1711 --enable-epollloop use wxEpollDispatcher class (Linux only)
1712 --enable-selectloop use wxSelectDispatcher class
1713 --enable-apple_ieee use the Apple IEEE codec
1714 --enable-arcstream use wxArchive streams
1715 --enable-base64 use base64 encoding/decoding functions
1716 --enable-backtrace use wxStackWalker class for getting backtraces
1717 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1718 --enable-cmdline use wxCmdLineParser class
1719 --enable-datetime use wxDateTime class
1720 --enable-debugreport use wxDebugReport class
1721 --enable-dialupman use dialup network classes
1722 --enable-dynlib use wxLibrary class for DLL loading
1723 --enable-dynamicloader use (new) wxDynamicLibrary class
1724 --enable-exceptions build exception-safe library
1725 --enable-ffile use wxFFile class
1726 --enable-file use wxFile class
1727 --enable-filesystem use virtual file systems classes
1728 --enable-fontenum use wxFontEnumerator class
1729 --enable-fontmap use font encodings conversion classes
1730 --enable-fs_archive use virtual archive filesystems
1731 --enable-fs_inet use virtual HTTP/FTP filesystems
1732 --enable-fs_zip now replaced by fs_archive
1733 --enable-geometry use geometry class
1734 --enable-log use logging system
1735 --enable-longlong use wxLongLong class
1736 --enable-mimetype use wxMimeTypesManager
1737 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1738 --enable-snglinst use wxSingleInstanceChecker class
1739 --enable-sound use wxSound class
1740 --enable-stdpaths use wxStandardPaths class
1741 --enable-stopwatch use wxStopWatch class
1742 --enable-streams use wxStream etc classes
1743 --enable-sysoptions use wxSystemOptions
1744 --enable-tarstream use wxTar streams
1745 --enable-textbuf use wxTextBuffer class
1746 --enable-textfile use wxTextFile class
1747 --enable-timer use wxTimer class
1748 --enable-variant use wxVariant class
1749 --enable-zipstream use wxZip streams
1750 --enable-url use wxURL class
1751 --enable-protocol use wxProtocol class
1752 --enable-protocol-http HTTP support in wxProtocol
1753 --enable-protocol-ftp FTP support in wxProtocol
1754 --enable-protocol-file FILE support in wxProtocol
1755 --enable-threads use threads
1756 --enable-iniconf use wxIniConfig (Win32 only)
1757 --enable-regkey use wxRegKey class (Win32 only)
1758 --enable-docview use document view architecture
1759 --enable-help use help subsystem
1760 --enable-mshtmlhelp use MS HTML Help (win32)
1761 --enable-html use wxHTML sub-library
1762 --enable-htmlhelp use wxHTML-based help
1763 --enable-xrc use XRC resources sub-library
1764 --enable-aui use AUI docking library
1765 --enable-propgrid use wxPropertyGrid library
1766 --enable-stc use wxStyledTextCtrl library
1767 --enable-constraints use layout-constraints system
1768 --enable-loggui use standard GUI logger
1769 --enable-logwin use wxLogWindow
1770 --enable-logdialog use wxLogDialog
1771 --enable-mdi use multiple document interface architecture
1772 --enable-mdidoc use docview architecture with MDI
1773 --enable-mediactrl use wxMediaCtrl class
1774 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1775 --enable-webkit use wxWebKitCtrl (Mac)
1776 --enable-richtext use wxRichTextCtrl
1777 --enable-graphics_ctx use graphics context 2D drawing API
1778 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1779 --enable-printarch use printing architecture
1780 --enable-svg use wxSVGFileDC device context
1781 --enable-clipboard use wxClipboard class
1782 --enable-dnd use Drag'n'Drop classes
1783 --enable-metafile use win32 metafiles
1784 --disable-controls disable compilation of all standard controls
1785 --enable-accel use accelerators
1786 --enable-animatectrl use wxAnimationCtrl class
1787 --enable-button use wxButton class
1788 --enable-bmpbutton use wxBitmapButton class
1789 --enable-bmpcombobox use wxBitmapComboBox class
1790 --enable-calendar use wxCalendarCtrl class
1791 --enable-caret use wxCaret class
1792 --enable-checkbox use wxCheckBox class
1793 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1794 --enable-choice use wxChoice class
1795 --enable-choicebook use wxChoicebook class
1796 --enable-collpane use wxCollapsiblePane class
1797 --enable-colourpicker use wxColourPickerCtrl class
1798 --enable-combobox use wxComboBox class
1799 --enable-comboctrl use wxComboCtrl class
1800 --enable-datepick use wxDatePickerCtrl class
1801 --enable-dirpicker use wxDirPickerCtrl class
1802 --enable-display use wxDisplay class
1803 --enable-detect_sm use code to detect X11 session manager
1804 --enable-editablebox use wxEditableListBox class
1805 --enable-filepicker use wxFilePickerCtrl class
1806 --enable-filectrl use wxFileCtrl class
1807 --enable-fontpicker use wxFontPickerCtrl class
1808 --enable-gauge use wxGauge class
1809 --enable-grid use wxGrid class
1810 --enable-dataviewctrl use wxDataViewCtrl 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-radiobox use wxRadioBox class
1820 --enable-radiobtn use wxRadioButton class
1821 --enable-sash use wxSashWindow class
1822 --enable-scrollbar use wxScrollBar class and scrollable windows
1823 --enable-searchctrl use wxSearchCtrl class
1824 --enable-slider use wxSlider class
1825 --enable-spinbtn use wxSpinButton class
1826 --enable-spinctrl use wxSpinCtrl class
1827 --enable-splitter use wxSplitterWindow class
1828 --enable-statbmp use wxStaticBitmap class
1829 --enable-statbox use wxStaticBox class
1830 --enable-statline use wxStaticLine class
1831 --enable-stattext use wxStaticText class
1832 --enable-statusbar use wxStatusBar class
1833 --enable-tabdialog use wxTabControl class
1834 --enable-taskbaricon use wxTaskBarIcon class
1835 --enable-textctrl use wxTextCtrl class
1836 --enable-togglebtn use wxToggleButton class
1837 --enable-toolbar use wxToolBar class
1838 --enable-tbarnative use native wxToolBar class
1839 --enable-treebook use wxTreebook class
1840 --enable-toolbook use wxToolbook class
1841 --enable-treectrl use wxTreeCtrl class
1842 --enable-tipwindow use wxTipWindow class
1843 --enable-popupwin use wxPopUpWindow 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 { echo "$as_me:$LINENO: checking target system type" >&5
2540 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2541 if test "${ac_cv_target+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2543 else
2544 if test "x$target_alias" = x; then
2545 ac_cv_target=$ac_cv_host
2546 else
2547 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2548 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2549 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2550 { (exit 1); exit 1; }; }
2551 fi
2552
2553 fi
2554 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2555 echo "${ECHO_T}$ac_cv_target" >&6; }
2556 case $ac_cv_target in
2557 *-*-*) ;;
2558 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2559 echo "$as_me: error: invalid value of canonical target" >&2;}
2560 { (exit 1); exit 1; }; };;
2561 esac
2562 target=$ac_cv_target
2563 ac_save_IFS=$IFS; IFS='-'
2564 set x $ac_cv_target
2565 shift
2566 target_cpu=$1
2567 target_vendor=$2
2568 shift; shift
2569 # Remember, the first character of IFS is used to create $*,
2570 # except with old shells:
2571 target_os=$*
2572 IFS=$ac_save_IFS
2573 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2574
2575
2576 # The aliases save the names the user supplied, while $host etc.
2577 # will get canonicalized.
2578 test -n "$target_alias" &&
2579 test "$program_prefix$program_suffix$program_transform_name" = \
2580 NONENONEs,x,x, &&
2581 program_prefix=${target_alias}-
2582
2583
2584
2585 wx_major_version_number=2
2586 wx_minor_version_number=9
2587 wx_release_number=0
2588 wx_subrelease_number=0
2589
2590 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2591 WX_VERSION=$WX_RELEASE.$wx_release_number
2592 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2593
2594 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2595
2596
2597 wx_top_builddir="`pwd`"
2598
2599
2600
2601
2602 USE_UNIX=1
2603 USE_OS2=0
2604 USE_WIN32=0
2605 USE_DOS=0
2606 USE_BEOS=0
2607 USE_MAC=0
2608
2609 USE_AIX=
2610 USE_BSD= USE_DARWIN= USE_FREEBSD=
2611 USE_GNU= USE_HPUX=
2612 USE_LINUX=
2613 USE_NETBSD=
2614 USE_OPENBSD=
2615 USE_OSF= USE_SGI=
2616 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2617 USE_ULTRIX=
2618 USE_UNIXWARE=
2619
2620 USE_ALPHA=
2621
2622 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2623
2624 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2625
2626 DEFAULT_wxUSE_COCOA=0
2627 DEFAULT_wxUSE_GTK=0
2628 DEFAULT_wxUSE_OSX_CARBON=0
2629 DEFAULT_wxUSE_OSX_COCOA=0
2630 DEFAULT_wxUSE_MGL=0
2631 DEFAULT_wxUSE_MICROWIN=0
2632 DEFAULT_wxUSE_MOTIF=0
2633 DEFAULT_wxUSE_MSW=0
2634 DEFAULT_wxUSE_PM=0
2635 DEFAULT_wxUSE_X11=0
2636 DEFAULT_wxUSE_DFB=0
2637
2638 DEFAULT_DEFAULT_wxUSE_COCOA=0
2639 DEFAULT_DEFAULT_wxUSE_GTK=0
2640 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2641 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2642 DEFAULT_DEFAULT_wxUSE_MGL=0
2643 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2644 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2645 DEFAULT_DEFAULT_wxUSE_MSW=0
2646 DEFAULT_DEFAULT_wxUSE_PM=0
2647 DEFAULT_DEFAULT_wxUSE_X11=0
2648 DEFAULT_DEFAULT_wxUSE_DFB=0
2649
2650 PROGRAM_EXT=
2651 SAMPLES_RPATH_FLAG=
2652 SAMPLES_RPATH_POSTLINK=
2653
2654 DEFAULT_STD_FLAG=yes
2655
2656 case "${host}" in
2657 *-hp-hpux* )
2658 USE_HPUX=1
2659 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2660 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __HPUX__ 1
2663 _ACEOF
2664
2665
2666 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2667 ;;
2668 *-*-linux* )
2669 USE_LINUX=1
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __LINUX__ 1
2672 _ACEOF
2673
2674 TMP=`uname -m`
2675 if test "x$TMP" = "xalpha"; then
2676 USE_ALPHA=1
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __ALPHA__ 1
2679 _ACEOF
2680
2681 fi
2682 DEFAULT_DEFAULT_wxUSE_GTK=1
2683 ;;
2684 *-*-gnu* | *-*-k*bsd*-gnu )
2685 USE_GNU=1
2686 TMP=`uname -m`
2687 if test "x$TMP" = "xalpha"; then
2688 USE_ALPHA=1
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __ALPHA__ 1
2691 _ACEOF
2692
2693 fi
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 ;;
2696 *-*-irix5* | *-*-irix6* )
2697 USE_SGI=1
2698 USE_SVR4=1
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __SGI__ 1
2701 _ACEOF
2702
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __SVR4__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2708 ;;
2709 *-*-solaris2* )
2710 USE_SUN=1
2711 USE_SOLARIS=1
2712 USE_SVR4=1
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __SUN__ 1
2715 _ACEOF
2716
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __SOLARIS__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __SVR4__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2727 ;;
2728 *-*-sunos4* )
2729 USE_SUN=1
2730 USE_SUNOS=1
2731 USE_BSD=1
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __SUN__ 1
2734 _ACEOF
2735
2736 cat >>confdefs.h <<\_ACEOF
2737 #define __SUNOS__ 1
2738 _ACEOF
2739
2740 cat >>confdefs.h <<\_ACEOF
2741 #define __BSD__ 1
2742 _ACEOF
2743
2744 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2745 ;;
2746 *-*-freebsd*)
2747 USE_BSD=1
2748 USE_FREEBSD=1
2749 cat >>confdefs.h <<\_ACEOF
2750 #define __FREEBSD__ 1
2751 _ACEOF
2752
2753 cat >>confdefs.h <<\_ACEOF
2754 #define __BSD__ 1
2755 _ACEOF
2756
2757 DEFAULT_DEFAULT_wxUSE_GTK=1
2758 ;;
2759 *-*-openbsd*|*-*-mirbsd*)
2760 USE_BSD=1
2761 USE_OPENBSD=1
2762 cat >>confdefs.h <<\_ACEOF
2763 #define __OPENBSD__ 1
2764 _ACEOF
2765
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __BSD__ 1
2768 _ACEOF
2769
2770 DEFAULT_DEFAULT_wxUSE_GTK=1
2771 ;;
2772 *-*-netbsd*)
2773 USE_BSD=1
2774 USE_NETBSD=1
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __NETBSD__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __BSD__ 1
2781 _ACEOF
2782
2783 DEFAULT_DEFAULT_wxUSE_GTK=1
2784 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2785
2786 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2787 ;;
2788 *-*-osf* )
2789 USE_ALPHA=1
2790 USE_OSF=1
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __ALPHA__ 1
2793 _ACEOF
2794
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __OSF__ 1
2797 _ACEOF
2798
2799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2800 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2801 ;;
2802 *-*-dgux5* )
2803 USE_ALPHA=1
2804 USE_SVR4=1
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __ALPHA__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __SVR4__ 1
2811 _ACEOF
2812
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2814 ;;
2815 *-*-sysv5* )
2816 USE_SYSV=1
2817 USE_SVR4=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __SYSV__ 1
2820 _ACEOF
2821
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __SVR4__ 1
2824 _ACEOF
2825
2826 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2827 ;;
2828 *-*-aix* )
2829 USE_AIX=1
2830 USE_SYSV=1
2831 USE_SVR4=1
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __AIX__ 1
2834 _ACEOF
2835
2836 cat >>confdefs.h <<\_ACEOF
2837 #define __SYSV__ 1
2838 _ACEOF
2839
2840 cat >>confdefs.h <<\_ACEOF
2841 #define __SVR4__ 1
2842 _ACEOF
2843
2844 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2845 ;;
2846
2847 *-*-*UnixWare*)
2848 USE_SYSV=1
2849 USE_SVR4=1
2850 USE_UNIXWARE=1
2851 cat >>confdefs.h <<\_ACEOF
2852 #define __UNIXWARE__ 1
2853 _ACEOF
2854
2855 ;;
2856
2857 *-*-cygwin* | *-*-mingw32* )
2858 PROGRAM_EXT=".exe"
2859 DEFAULT_DEFAULT_wxUSE_MSW=1
2860 ;;
2861
2862 *-pc-msdosdjgpp )
2863 USE_UNIX=0
2864 USE_DOS=1
2865 cat >>confdefs.h <<\_ACEOF
2866 #define __DOS__ 1
2867 _ACEOF
2868
2869 PROGRAM_EXT=".exe"
2870 DEFAULT_DEFAULT_wxUSE_MGL=1
2871 ;;
2872
2873 *-pc-os2_emx | *-pc-os2-emx )
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __EMX__ 1
2876 _ACEOF
2877
2878 USE_OS2=1
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __OS2__ 1
2881 _ACEOF
2882
2883 PROGRAM_EXT=".exe"
2884 DEFAULT_DEFAULT_wxUSE_PM=1
2885 CXX=gcc
2886 LDFLAGS="$LDFLAGS -Zcrtdll"
2887 ac_executable_extensions=".exe"
2888 export ac_executable_extensions
2889 ac_save_IFS="$IFS"
2890 IFS='\\'
2891 ac_TEMP_PATH=
2892 for ac_dir in $PATH; do
2893 IFS=$ac_save_IFS
2894 if test -z "$ac_TEMP_PATH"; then
2895 ac_TEMP_PATH="$ac_dir"
2896 else
2897 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2898 fi
2899 done
2900 export PATH="$ac_TEMP_PATH"
2901 unset ac_TEMP_PATH
2902 DEFAULT_STD_FLAG=no
2903 ;;
2904
2905 *-*-darwin* )
2906 USE_BSD=1
2907 USE_DARWIN=1
2908 cat >>confdefs.h <<\_ACEOF
2909 #define __BSD__ 1
2910 _ACEOF
2911
2912 cat >>confdefs.h <<\_ACEOF
2913 #define __DARWIN__ 1
2914 _ACEOF
2915
2916 cat >>confdefs.h <<\_ACEOF
2917 #define TARGET_CARBON 1
2918 _ACEOF
2919
2920 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2921 DEFAULT_STD_FLAG=no
2922 ;;
2923 powerpc-apple-macos* )
2924 USE_UNIX=0
2925 ac_cv_c_bigendian=yes
2926 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2927 DEFAULT_STD_FLAG=no
2928 ;;
2929
2930 *-*-beos* )
2931 USE_BEOS=1
2932 cat >>confdefs.h <<\_ACEOF
2933 #define __BEOS__ 1
2934 _ACEOF
2935
2936 ;;
2937
2938 *)
2939 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2940 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2941 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2942 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2943
2944 DEFAULT_DEFAULT_wxUSE_X11=1
2945 DEFAULT_wxUSE_SHARED=no
2946 esac
2947
2948
2949
2950 DEFAULT_wxUSE_ALL_FEATURES=yes
2951
2952 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2953 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2954
2955 DEFAULT_wxUSE_DMALLOC=no
2956 DEFAULT_wxUSE_LIBGNOMEVFS=no
2957 DEFAULT_wxUSE_LIBHILDON=no
2958 DEFAULT_wxUSE_LIBMSPACK=no
2959 DEFAULT_wxUSE_LIBSDL=no
2960 DEFAULT_wxUSE_OPENGL=no
2961
2962 DEFAULT_wxUSE_ACCESSIBILITY=no
2963 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2964 DEFAULT_wxUSE_IPV6=no
2965 DEFAULT_wxUSE_MEDIACTRL=no
2966 DEFAULT_wxUSE_TAB_DIALOG=no
2967 DEFAULT_wxUSE_GSTREAMER8=no
2968
2969 DEFAULT_wxUSE_UNICODE_UTF8=auto
2970 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2971
2972 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2973
2974 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2975
2976 DEFAULT_wxUSE_GTK2=yes
2977
2978 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2979
2980
2981
2982
2983
2984 enablestring=disable
2985 defaultval=
2986 if test -z "$defaultval"; then
2987 if test x"$enablestring" = xdisable; then
2988 defaultval=yes
2989 else
2990 defaultval=no
2991 fi
2992 fi
2993
2994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2995 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2996 # Check whether --enable-gui was given.
2997 if test "${enable_gui+set}" = set; then
2998 enableval=$enable_gui;
2999 if test "$enableval" = yes; then
3000 wx_cv_use_gui='wxUSE_GUI=yes'
3001 else
3002 wx_cv_use_gui='wxUSE_GUI=no'
3003 fi
3004
3005 else
3006
3007 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3008
3009 fi
3010
3011
3012 eval "$wx_cv_use_gui"
3013
3014 if test x"$enablestring" = xdisable; then
3015 if test $wxUSE_GUI = yes; then
3016 result=no
3017 else
3018 result=yes
3019 fi
3020 else
3021 result=$wxUSE_GUI
3022 fi
3023
3024 { echo "$as_me:$LINENO: result: $result" >&5
3025 echo "${ECHO_T}$result" >&6; }
3026
3027
3028 enablestring=
3029 defaultval=
3030 if test -z "$defaultval"; then
3031 if test x"$enablestring" = xdisable; then
3032 defaultval=yes
3033 else
3034 defaultval=no
3035 fi
3036 fi
3037
3038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3039 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3040 # Check whether --enable-monolithic was given.
3041 if test "${enable_monolithic+set}" = set; then
3042 enableval=$enable_monolithic;
3043 if test "$enableval" = yes; then
3044 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3045 else
3046 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3047 fi
3048
3049 else
3050
3051 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3052
3053 fi
3054
3055
3056 eval "$wx_cv_use_monolithic"
3057
3058 if test x"$enablestring" = xdisable; then
3059 if test $wxUSE_MONOLITHIC = yes; then
3060 result=no
3061 else
3062 result=yes
3063 fi
3064 else
3065 result=$wxUSE_MONOLITHIC
3066 fi
3067
3068 { echo "$as_me:$LINENO: result: $result" >&5
3069 echo "${ECHO_T}$result" >&6; }
3070
3071
3072 enablestring=
3073 defaultval=
3074 if test -z "$defaultval"; then
3075 if test x"$enablestring" = xdisable; then
3076 defaultval=yes
3077 else
3078 defaultval=no
3079 fi
3080 fi
3081
3082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3083 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3084 # Check whether --enable-plugins was given.
3085 if test "${enable_plugins+set}" = set; then
3086 enableval=$enable_plugins;
3087 if test "$enableval" = yes; then
3088 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3089 else
3090 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3091 fi
3092
3093 else
3094
3095 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3096
3097 fi
3098
3099
3100 eval "$wx_cv_use_plugins"
3101
3102 if test x"$enablestring" = xdisable; then
3103 if test $wxUSE_PLUGINS = yes; then
3104 result=no
3105 else
3106 result=yes
3107 fi
3108 else
3109 result=$wxUSE_PLUGINS
3110 fi
3111
3112 { echo "$as_me:$LINENO: result: $result" >&5
3113 echo "${ECHO_T}$result" >&6; }
3114
3115
3116 withstring=without
3117 defaultval=$wxUSE_ALL_FEATURES
3118 if test -z "$defaultval"; then
3119 if test x"$withstring" = xwithout; then
3120 defaultval=yes
3121 else
3122 defaultval=no
3123 fi
3124 fi
3125 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3126 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3127
3128 # Check whether --with-subdirs was given.
3129 if test "${with_subdirs+set}" = set; then
3130 withval=$with_subdirs;
3131 if test "$withval" = yes; then
3132 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3133 else
3134 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3135 fi
3136
3137 else
3138
3139 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3140
3141 fi
3142
3143
3144 eval "$wx_cv_use_subdirs"
3145
3146 if test x"$withstring" = xwithout; then
3147 if test $wxWITH_SUBDIRS = yes; then
3148 result=no
3149 else
3150 result=yes
3151 fi
3152 else
3153 result=$wxWITH_SUBDIRS
3154 fi
3155
3156 { echo "$as_me:$LINENO: result: $result" >&5
3157 echo "${ECHO_T}$result" >&6; }
3158
3159
3160 # Check whether --with-flavour was given.
3161 if test "${with_flavour+set}" = set; then
3162 withval=$with_flavour; WX_FLAVOUR="$withval"
3163 fi
3164
3165
3166 enablestring=
3167 defaultval=
3168 if test -z "$defaultval"; then
3169 if test x"$enablestring" = xdisable; then
3170 defaultval=yes
3171 else
3172 defaultval=no
3173 fi
3174 fi
3175
3176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3177 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3178 # Check whether --enable-official_build was given.
3179 if test "${enable_official_build+set}" = set; then
3180 enableval=$enable_official_build;
3181 if test "$enableval" = yes; then
3182 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3183 else
3184 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3185 fi
3186
3187 else
3188
3189 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3190
3191 fi
3192
3193
3194 eval "$wx_cv_use_official_build"
3195
3196 if test x"$enablestring" = xdisable; then
3197 if test $wxUSE_OFFICIAL_BUILD = yes; then
3198 result=no
3199 else
3200 result=yes
3201 fi
3202 else
3203 result=$wxUSE_OFFICIAL_BUILD
3204 fi
3205
3206 { echo "$as_me:$LINENO: result: $result" >&5
3207 echo "${ECHO_T}$result" >&6; }
3208
3209 # Check whether --enable-vendor was given.
3210 if test "${enable_vendor+set}" = set; then
3211 enableval=$enable_vendor; VENDOR="$enableval"
3212 fi
3213
3214 if test "x$VENDOR" = "x"; then
3215 VENDOR="custom"
3216 fi
3217
3218
3219 enablestring=disable
3220 defaultval=
3221 if test -z "$defaultval"; then
3222 if test x"$enablestring" = xdisable; then
3223 defaultval=yes
3224 else
3225 defaultval=no
3226 fi
3227 fi
3228
3229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3230 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3231 # Check whether --enable-all-features was given.
3232 if test "${enable_all_features+set}" = set; then
3233 enableval=$enable_all_features;
3234 if test "$enableval" = yes; then
3235 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3236 else
3237 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3238 fi
3239
3240 else
3241
3242 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3243
3244 fi
3245
3246
3247 eval "$wx_cv_use_all_features"
3248
3249 if test x"$enablestring" = xdisable; then
3250 if test $wxUSE_ALL_FEATURES = yes; then
3251 result=no
3252 else
3253 result=yes
3254 fi
3255 else
3256 result=$wxUSE_ALL_FEATURES
3257 fi
3258
3259 { echo "$as_me:$LINENO: result: $result" >&5
3260 echo "${ECHO_T}$result" >&6; }
3261
3262
3263
3264 if test "$wxUSE_GUI" = "yes"; then
3265
3266
3267 enablestring=
3268 defaultval=
3269 if test -z "$defaultval"; then
3270 if test x"$enablestring" = xdisable; then
3271 defaultval=yes
3272 else
3273 defaultval=no
3274 fi
3275 fi
3276
3277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3278 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3279 # Check whether --enable-universal was given.
3280 if test "${enable_universal+set}" = set; then
3281 enableval=$enable_universal;
3282 if test "$enableval" = yes; then
3283 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3284 else
3285 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3286 fi
3287
3288 else
3289
3290 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3291
3292 fi
3293
3294
3295 eval "$wx_cv_use_universal"
3296
3297 if test x"$enablestring" = xdisable; then
3298 if test $wxUSE_UNIVERSAL = yes; then
3299 result=no
3300 else
3301 result=yes
3302 fi
3303 else
3304 result=$wxUSE_UNIVERSAL
3305 fi
3306
3307 { echo "$as_me:$LINENO: result: $result" >&5
3308 echo "${ECHO_T}$result" >&6; }
3309
3310 if test "$wxUSE_UNIVERSAL" = "yes"; then
3311
3312 # Check whether --with-themes was given.
3313 if test "${with_themes+set}" = set; then
3314 withval=$with_themes; wxUNIV_THEMES="$withval"
3315 fi
3316
3317 fi
3318
3319
3320 # Check whether --with-gtk was given.
3321 if test "${with_gtk+set}" = set; then
3322 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3323 fi
3324
3325
3326 # Check whether --with-motif was given.
3327 if test "${with_motif+set}" = set; then
3328 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3329 fi
3330
3331
3332 # Check whether --with-osx_carbon was given.
3333 if test "${with_osx_carbon+set}" = set; then
3334 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3335 fi
3336
3337
3338 # Check whether --with-osx_cocoa was given.
3339 if test "${with_osx_cocoa+set}" = set; then
3340 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3341 fi
3342
3343
3344 # Check whether --with-mac was given.
3345 if test "${with_mac+set}" = set; then
3346 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-cocoa was given.
3351 if test "${with_cocoa+set}" = set; then
3352 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 # Check whether --with-wine was given.
3357 if test "${with_wine+set}" = set; then
3358 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3359 fi
3360
3361
3362 # Check whether --with-msw was given.
3363 if test "${with_msw+set}" = set; then
3364 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3365 fi
3366
3367
3368 # Check whether --with-pm was given.
3369 if test "${with_pm+set}" = set; then
3370 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3371 fi
3372
3373
3374 # Check whether --with-mgl was given.
3375 if test "${with_mgl+set}" = set; then
3376 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3377 fi
3378
3379
3380 # Check whether --with-directfb was given.
3381 if test "${with_directfb+set}" = set; then
3382 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3383 fi
3384
3385
3386 # Check whether --with-microwin was given.
3387 if test "${with_microwin+set}" = set; then
3388 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3389 fi
3390
3391
3392 # Check whether --with-x11 was given.
3393 if test "${with_x11+set}" = set; then
3394 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3395 fi
3396
3397
3398 enablestring=
3399 defaultval=
3400 if test -z "$defaultval"; then
3401 if test x"$enablestring" = xdisable; then
3402 defaultval=yes
3403 else
3404 defaultval=no
3405 fi
3406 fi
3407
3408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3409 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3410 # Check whether --enable-nanox was given.
3411 if test "${enable_nanox+set}" = set; then
3412 enableval=$enable_nanox;
3413 if test "$enableval" = yes; then
3414 wx_cv_use_nanox='wxUSE_NANOX=yes'
3415 else
3416 wx_cv_use_nanox='wxUSE_NANOX=no'
3417 fi
3418
3419 else
3420
3421 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3422
3423 fi
3424
3425
3426 eval "$wx_cv_use_nanox"
3427
3428 if test x"$enablestring" = xdisable; then
3429 if test $wxUSE_NANOX = yes; then
3430 result=no
3431 else
3432 result=yes
3433 fi
3434 else
3435 result=$wxUSE_NANOX
3436 fi
3437
3438 { echo "$as_me:$LINENO: result: $result" >&5
3439 echo "${ECHO_T}$result" >&6; }
3440
3441
3442 # Check whether --enable-gtk2 was given.
3443 if test "${enable_gtk2+set}" = set; then
3444 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3445 fi
3446
3447
3448 enablestring=
3449 defaultval=
3450 if test -z "$defaultval"; then
3451 if test x"$enablestring" = xdisable; then
3452 defaultval=yes
3453 else
3454 defaultval=no
3455 fi
3456 fi
3457
3458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3459 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3460 # Check whether --enable-gpe was given.
3461 if test "${enable_gpe+set}" = set; then
3462 enableval=$enable_gpe;
3463 if test "$enableval" = yes; then
3464 wx_cv_use_gpe='wxUSE_GPE=yes'
3465 else
3466 wx_cv_use_gpe='wxUSE_GPE=no'
3467 fi
3468
3469 else
3470
3471 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3472
3473 fi
3474
3475
3476 eval "$wx_cv_use_gpe"
3477
3478 if test x"$enablestring" = xdisable; then
3479 if test $wxUSE_GPE = yes; then
3480 result=no
3481 else
3482 result=yes
3483 fi
3484 else
3485 result=$wxUSE_GPE
3486 fi
3487
3488 { echo "$as_me:$LINENO: result: $result" >&5
3489 echo "${ECHO_T}$result" >&6; }
3490
3491
3492
3493 { echo "$as_me:$LINENO: checking for toolkit" >&5
3494 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3495
3496
3497
3498 # In Wine, we need to default to MSW, not GTK or MOTIF
3499 if test "$wxUSE_WINE" = "yes"; then
3500 DEFAULT_DEFAULT_wxUSE_GTK=0
3501 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3502 DEFAULT_DEFAULT_wxUSE_MSW=1
3503 wxUSE_SHARED=no
3504 CC=${CC:-winegcc}
3505 CXX=${CXX:-wineg++}
3506 fi
3507
3508
3509 if test "$wxUSE_GUI" = "yes"; then
3510
3511 if test "$USE_BEOS" = 1; then
3512 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3513 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3514 { (exit 1); exit 1; }; }
3515 fi
3516
3517 if test "$TOOLKIT_GIVEN" = 1; then
3518 for toolkit in $ALL_TOOLKITS; do
3519 var=wxUSE_$toolkit
3520 eval "value=\$${var}"
3521 if test "x$value" = "xno"; then
3522 eval "$var=0"
3523 elif test "x$value" != "x"; then
3524 eval "$var=1"
3525 fi
3526
3527 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3528 eval "wx${toolkit}_VERSION=$value"
3529 fi
3530 done
3531 else
3532 for toolkit in $ALL_TOOLKITS; do
3533 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3534 eval "wxUSE_$toolkit=\$${var}"
3535 done
3536 fi
3537
3538 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3539 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3540 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3541
3542 case "${host}" in
3543 *-pc-os2_emx | *-pc-os2-emx )
3544 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3545 esac
3546
3547 case "$NUM_TOOLKITS" in
3548 1)
3549 ;;
3550 0)
3551 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3552 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3553 { (exit 1); exit 1; }; }
3554 ;;
3555 *)
3556 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3557 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3558 { (exit 1); exit 1; }; }
3559 esac
3560
3561 # to be removed when --disable-gtk2 isn't needed
3562 if test "x$wxUSE_GTK2" = "xyes"; then
3563 wxGTK_VERSION=2
3564 elif test "x$wxUSE_GTK2" = "xno"; then
3565 wxGTK_VERSION=1
3566 fi
3567
3568 for toolkit in $ALL_TOOLKITS; do
3569 var=wxUSE_$toolkit
3570 eval "value=\$${var}"
3571 if test "$value" = 1; then
3572 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3573 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3574 echo "${ECHO_T}$toolkit_echo" >&6; }
3575 fi
3576 done
3577 else
3578 if test "x$host_alias" != "x"; then
3579 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3580 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3581 else
3582 { echo "$as_me:$LINENO: result: base only" >&5
3583 echo "${ECHO_T}base only" >&6; }
3584 fi
3585 fi
3586
3587 wxUSE_MAC=0
3588 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3589 wxUSE_MAC=1
3590 fi
3591
3592
3593
3594 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3595 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3596
3597 # Check whether --with-libpng was given.
3598 if test "${with_libpng+set}" = set; then
3599 withval=$with_libpng;
3600 if test "$withval" = yes; then
3601 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3602 elif test "$withval" = no; then
3603 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3604 elif test "$withval" = sys; then
3605 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3606 elif test "$withval" = builtin; then
3607 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3608 else
3609 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3610 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3611 { (exit 1); exit 1; }; }
3612 fi
3613
3614 else
3615
3616 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3617
3618 fi
3619
3620
3621 eval "$wx_cv_use_libpng"
3622
3623 if test "$wxUSE_LIBPNG" = yes; then
3624 { echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6; }
3626 elif test "$wxUSE_LIBPNG" = no; then
3627 { echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6; }
3629 elif test "$wxUSE_LIBPNG" = sys; then
3630 { echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6; }
3632 elif test "$wxUSE_LIBPNG" = builtin; then
3633 { echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6; }
3635 else
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3639 fi
3640
3641
3642 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3643 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3644
3645 # Check whether --with-libjpeg was given.
3646 if test "${with_libjpeg+set}" = set; then
3647 withval=$with_libjpeg;
3648 if test "$withval" = yes; then
3649 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3650 elif test "$withval" = no; then
3651 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3652 elif test "$withval" = sys; then
3653 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3654 elif test "$withval" = builtin; then
3655 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3656 else
3657 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3658 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3659 { (exit 1); exit 1; }; }
3660 fi
3661
3662 else
3663
3664 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3665
3666 fi
3667
3668
3669 eval "$wx_cv_use_libjpeg"
3670
3671 if test "$wxUSE_LIBJPEG" = yes; then
3672 { echo "$as_me:$LINENO: result: yes" >&5
3673 echo "${ECHO_T}yes" >&6; }
3674 elif test "$wxUSE_LIBJPEG" = no; then
3675 { echo "$as_me:$LINENO: result: no" >&5
3676 echo "${ECHO_T}no" >&6; }
3677 elif test "$wxUSE_LIBJPEG" = sys; then
3678 { echo "$as_me:$LINENO: result: system version" >&5
3679 echo "${ECHO_T}system version" >&6; }
3680 elif test "$wxUSE_LIBJPEG" = builtin; then
3681 { echo "$as_me:$LINENO: result: builtin version" >&5
3682 echo "${ECHO_T}builtin version" >&6; }
3683 else
3684 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3685 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3686 { (exit 1); exit 1; }; }
3687 fi
3688
3689
3690 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3691 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3692
3693 # Check whether --with-libtiff was given.
3694 if test "${with_libtiff+set}" = set; then
3695 withval=$with_libtiff;
3696 if test "$withval" = yes; then
3697 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3698 elif test "$withval" = no; then
3699 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3700 elif test "$withval" = sys; then
3701 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3702 elif test "$withval" = builtin; then
3703 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3704 else
3705 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3706 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3707 { (exit 1); exit 1; }; }
3708 fi
3709
3710 else
3711
3712 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3713
3714 fi
3715
3716
3717 eval "$wx_cv_use_libtiff"
3718
3719 if test "$wxUSE_LIBTIFF" = yes; then
3720 { echo "$as_me:$LINENO: result: yes" >&5
3721 echo "${ECHO_T}yes" >&6; }
3722 elif test "$wxUSE_LIBTIFF" = no; then
3723 { echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6; }
3725 elif test "$wxUSE_LIBTIFF" = sys; then
3726 { echo "$as_me:$LINENO: result: system version" >&5
3727 echo "${ECHO_T}system version" >&6; }
3728 elif test "$wxUSE_LIBTIFF" = builtin; then
3729 { echo "$as_me:$LINENO: result: builtin version" >&5
3730 echo "${ECHO_T}builtin version" >&6; }
3731 else
3732 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3733 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3734 { (exit 1); exit 1; }; }
3735 fi
3736
3737
3738 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3739 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3740
3741 # Check whether --with-libxpm was given.
3742 if test "${with_libxpm+set}" = set; then
3743 withval=$with_libxpm;
3744 if test "$withval" = yes; then
3745 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3746 elif test "$withval" = no; then
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3748 elif test "$withval" = sys; then
3749 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3750 elif test "$withval" = builtin; then
3751 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3752 else
3753 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3754 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3755 { (exit 1); exit 1; }; }
3756 fi
3757
3758 else
3759
3760 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3761
3762 fi
3763
3764
3765 eval "$wx_cv_use_libxpm"
3766
3767 if test "$wxUSE_LIBXPM" = yes; then
3768 { echo "$as_me:$LINENO: result: yes" >&5
3769 echo "${ECHO_T}yes" >&6; }
3770 elif test "$wxUSE_LIBXPM" = no; then
3771 { echo "$as_me:$LINENO: result: no" >&5
3772 echo "${ECHO_T}no" >&6; }
3773 elif test "$wxUSE_LIBXPM" = sys; then
3774 { echo "$as_me:$LINENO: result: system version" >&5
3775 echo "${ECHO_T}system version" >&6; }
3776 elif test "$wxUSE_LIBXPM" = builtin; then
3777 { echo "$as_me:$LINENO: result: builtin version" >&5
3778 echo "${ECHO_T}builtin version" >&6; }
3779 else
3780 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3781 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3782 { (exit 1); exit 1; }; }
3783 fi
3784
3785
3786 withstring=
3787 defaultval=$wxUSE_ALL_FEATURES
3788 if test -z "$defaultval"; then
3789 if test x"$withstring" = xwithout; then
3790 defaultval=yes
3791 else
3792 defaultval=no
3793 fi
3794 fi
3795 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3796 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3797
3798 # Check whether --with-libiconv was given.
3799 if test "${with_libiconv+set}" = set; then
3800 withval=$with_libiconv;
3801 if test "$withval" = yes; then
3802 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3803 else
3804 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3805 fi
3806
3807 else
3808
3809 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3810
3811 fi
3812
3813
3814 eval "$wx_cv_use_libiconv"
3815
3816 if test x"$withstring" = xwithout; then
3817 if test $wxUSE_LIBICONV = yes; then
3818 result=no
3819 else
3820 result=yes
3821 fi
3822 else
3823 result=$wxUSE_LIBICONV
3824 fi
3825
3826 { echo "$as_me:$LINENO: result: $result" >&5
3827 echo "${ECHO_T}$result" >&6; }
3828
3829
3830 withstring=
3831 defaultval=$wxUSE_ALL_FEATURES
3832 if test -z "$defaultval"; then
3833 if test x"$withstring" = xwithout; then
3834 defaultval=yes
3835 else
3836 defaultval=no
3837 fi
3838 fi
3839 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3840 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3841
3842 # Check whether --with-libmspack was given.
3843 if test "${with_libmspack+set}" = set; then
3844 withval=$with_libmspack;
3845 if test "$withval" = yes; then
3846 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3847 else
3848 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3849 fi
3850
3851 else
3852
3853 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3854
3855 fi
3856
3857
3858 eval "$wx_cv_use_libmspack"
3859
3860 if test x"$withstring" = xwithout; then
3861 if test $wxUSE_LIBMSPACK = yes; then
3862 result=no
3863 else
3864 result=yes
3865 fi
3866 else
3867 result=$wxUSE_LIBMSPACK
3868 fi
3869
3870 { echo "$as_me:$LINENO: result: $result" >&5
3871 echo "${ECHO_T}$result" >&6; }
3872
3873
3874 withstring=without
3875 defaultval=$wxUSE_ALL_FEATURES
3876 if test -z "$defaultval"; then
3877 if test x"$withstring" = xwithout; then
3878 defaultval=yes
3879 else
3880 defaultval=no
3881 fi
3882 fi
3883 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3884 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3885
3886 # Check whether --with-gtkprint was given.
3887 if test "${with_gtkprint+set}" = set; then
3888 withval=$with_gtkprint;
3889 if test "$withval" = yes; then
3890 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3891 else
3892 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3893 fi
3894
3895 else
3896
3897 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3898
3899 fi
3900
3901
3902 eval "$wx_cv_use_gtkprint"
3903
3904 if test x"$withstring" = xwithout; then
3905 if test $wxUSE_GTKPRINT = yes; then
3906 result=no
3907 else
3908 result=yes
3909 fi
3910 else
3911 result=$wxUSE_GTKPRINT
3912 fi
3913
3914 { echo "$as_me:$LINENO: result: $result" >&5
3915 echo "${ECHO_T}$result" >&6; }
3916
3917
3918 withstring=without
3919 defaultval=$wxUSE_ALL_FEATURES
3920 if test -z "$defaultval"; then
3921 if test x"$withstring" = xwithout; then
3922 defaultval=yes
3923 else
3924 defaultval=no
3925 fi
3926 fi
3927 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3928 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3929
3930 # Check whether --with-gnomeprint was given.
3931 if test "${with_gnomeprint+set}" = set; then
3932 withval=$with_gnomeprint;
3933 if test "$withval" = yes; then
3934 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3935 else
3936 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3937 fi
3938
3939 else
3940
3941 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3942
3943 fi
3944
3945
3946 eval "$wx_cv_use_gnomeprint"
3947
3948 if test x"$withstring" = xwithout; then
3949 if test $wxUSE_LIBGNOMEPRINT = yes; then
3950 result=no
3951 else
3952 result=yes
3953 fi
3954 else
3955 result=$wxUSE_LIBGNOMEPRINT
3956 fi
3957
3958 { echo "$as_me:$LINENO: result: $result" >&5
3959 echo "${ECHO_T}$result" >&6; }
3960
3961
3962 withstring=
3963 defaultval=$wxUSE_ALL_FEATURES
3964 if test -z "$defaultval"; then
3965 if test x"$withstring" = xwithout; then
3966 defaultval=yes
3967 else
3968 defaultval=no
3969 fi
3970 fi
3971 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3972 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3973
3974 # Check whether --with-gnomevfs was given.
3975 if test "${with_gnomevfs+set}" = set; then
3976 withval=$with_gnomevfs;
3977 if test "$withval" = yes; then
3978 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3979 else
3980 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3981 fi
3982
3983 else
3984
3985 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3986
3987 fi
3988
3989
3990 eval "$wx_cv_use_gnomevfs"
3991
3992 if test x"$withstring" = xwithout; then
3993 if test $wxUSE_LIBGNOMEVFS = yes; then
3994 result=no
3995 else
3996 result=yes
3997 fi
3998 else
3999 result=$wxUSE_LIBGNOMEVFS
4000 fi
4001
4002 { echo "$as_me:$LINENO: result: $result" >&5
4003 echo "${ECHO_T}$result" >&6; }
4004
4005
4006 withstring=
4007 defaultval=$wxUSE_ALL_FEATURES
4008 if test -z "$defaultval"; then
4009 if test x"$withstring" = xwithout; then
4010 defaultval=yes
4011 else
4012 defaultval=no
4013 fi
4014 fi
4015 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4016 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4017
4018 # Check whether --with-hildon was given.
4019 if test "${with_hildon+set}" = set; then
4020 withval=$with_hildon;
4021 if test "$withval" = yes; then
4022 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4023 else
4024 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4025 fi
4026
4027 else
4028
4029 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4030
4031 fi
4032
4033
4034 eval "$wx_cv_use_hildon"
4035
4036 if test x"$withstring" = xwithout; then
4037 if test $wxUSE_LIBHILDON = yes; then
4038 result=no
4039 else
4040 result=yes
4041 fi
4042 else
4043 result=$wxUSE_LIBHILDON
4044 fi
4045
4046 { echo "$as_me:$LINENO: result: $result" >&5
4047 echo "${ECHO_T}$result" >&6; }
4048
4049
4050 withstring=
4051 defaultval=$wxUSE_ALL_FEATURES
4052 if test -z "$defaultval"; then
4053 if test x"$withstring" = xwithout; then
4054 defaultval=yes
4055 else
4056 defaultval=no
4057 fi
4058 fi
4059 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4060 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4061
4062 # Check whether --with-opengl was given.
4063 if test "${with_opengl+set}" = set; then
4064 withval=$with_opengl;
4065 if test "$withval" = yes; then
4066 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4067 else
4068 wx_cv_use_opengl='wxUSE_OPENGL=no'
4069 fi
4070
4071 else
4072
4073 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4074
4075 fi
4076
4077
4078 eval "$wx_cv_use_opengl"
4079
4080 if test x"$withstring" = xwithout; then
4081 if test $wxUSE_OPENGL = yes; then
4082 result=no
4083 else
4084 result=yes
4085 fi
4086 else
4087 result=$wxUSE_OPENGL
4088 fi
4089
4090 { echo "$as_me:$LINENO: result: $result" >&5
4091 echo "${ECHO_T}$result" >&6; }
4092
4093
4094 fi
4095
4096
4097 withstring=
4098 defaultval=$wxUSE_ALL_FEATURES
4099 if test -z "$defaultval"; then
4100 if test x"$withstring" = xwithout; then
4101 defaultval=yes
4102 else
4103 defaultval=no
4104 fi
4105 fi
4106 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4107 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4108
4109 # Check whether --with-dmalloc was given.
4110 if test "${with_dmalloc+set}" = set; then
4111 withval=$with_dmalloc;
4112 if test "$withval" = yes; then
4113 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4114 else
4115 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4116 fi
4117
4118 else
4119
4120 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4121
4122 fi
4123
4124
4125 eval "$wx_cv_use_dmalloc"
4126
4127 if test x"$withstring" = xwithout; then
4128 if test $wxUSE_DMALLOC = yes; then
4129 result=no
4130 else
4131 result=yes
4132 fi
4133 else
4134 result=$wxUSE_DMALLOC
4135 fi
4136
4137 { echo "$as_me:$LINENO: result: $result" >&5
4138 echo "${ECHO_T}$result" >&6; }
4139
4140
4141 withstring=
4142 defaultval=$wxUSE_ALL_FEATURES
4143 if test -z "$defaultval"; then
4144 if test x"$withstring" = xwithout; then
4145 defaultval=yes
4146 else
4147 defaultval=no
4148 fi
4149 fi
4150 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4151 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4152
4153 # Check whether --with-sdl was given.
4154 if test "${with_sdl+set}" = set; then
4155 withval=$with_sdl;
4156 if test "$withval" = yes; then
4157 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4158 else
4159 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4160 fi
4161
4162 else
4163
4164 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4165
4166 fi
4167
4168
4169 eval "$wx_cv_use_sdl"
4170
4171 if test x"$withstring" = xwithout; then
4172 if test $wxUSE_LIBSDL = yes; then
4173 result=no
4174 else
4175 result=yes
4176 fi
4177 else
4178 result=$wxUSE_LIBSDL
4179 fi
4180
4181 { echo "$as_me:$LINENO: result: $result" >&5
4182 echo "${ECHO_T}$result" >&6; }
4183
4184
4185 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4186 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4187
4188 # Check whether --with-regex was given.
4189 if test "${with_regex+set}" = set; then
4190 withval=$with_regex;
4191 if test "$withval" = yes; then
4192 wx_cv_use_regex='wxUSE_REGEX=yes'
4193 elif test "$withval" = no; then
4194 wx_cv_use_regex='wxUSE_REGEX=no'
4195 elif test "$withval" = sys; then
4196 wx_cv_use_regex='wxUSE_REGEX=sys'
4197 elif test "$withval" = builtin; then
4198 wx_cv_use_regex='wxUSE_REGEX=builtin'
4199 else
4200 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4201 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4202 { (exit 1); exit 1; }; }
4203 fi
4204
4205 else
4206
4207 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4208
4209 fi
4210
4211
4212 eval "$wx_cv_use_regex"
4213
4214 if test "$wxUSE_REGEX" = yes; then
4215 { echo "$as_me:$LINENO: result: yes" >&5
4216 echo "${ECHO_T}yes" >&6; }
4217 elif test "$wxUSE_REGEX" = no; then
4218 { echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6; }
4220 elif test "$wxUSE_REGEX" = sys; then
4221 { echo "$as_me:$LINENO: result: system version" >&5
4222 echo "${ECHO_T}system version" >&6; }
4223 elif test "$wxUSE_REGEX" = builtin; then
4224 { echo "$as_me:$LINENO: result: builtin version" >&5
4225 echo "${ECHO_T}builtin version" >&6; }
4226 else
4227 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4228 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4229 { (exit 1); exit 1; }; }
4230 fi
4231
4232
4233 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4234 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4235
4236 # Check whether --with-zlib was given.
4237 if test "${with_zlib+set}" = set; then
4238 withval=$with_zlib;
4239 if test "$withval" = yes; then
4240 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4241 elif test "$withval" = no; then
4242 wx_cv_use_zlib='wxUSE_ZLIB=no'
4243 elif test "$withval" = sys; then
4244 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4245 elif test "$withval" = builtin; then
4246 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4247 else
4248 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4249 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4250 { (exit 1); exit 1; }; }
4251 fi
4252
4253 else
4254
4255 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4256
4257 fi
4258
4259
4260 eval "$wx_cv_use_zlib"
4261
4262 if test "$wxUSE_ZLIB" = yes; then
4263 { echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6; }
4265 elif test "$wxUSE_ZLIB" = no; then
4266 { echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6; }
4268 elif test "$wxUSE_ZLIB" = sys; then
4269 { echo "$as_me:$LINENO: result: system version" >&5
4270 echo "${ECHO_T}system version" >&6; }
4271 elif test "$wxUSE_ZLIB" = builtin; then
4272 { echo "$as_me:$LINENO: result: builtin version" >&5
4273 echo "${ECHO_T}builtin version" >&6; }
4274 else
4275 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4276 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4277 { (exit 1); exit 1; }; }
4278 fi
4279
4280
4281 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4282 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4283
4284 # Check whether --with-expat was given.
4285 if test "${with_expat+set}" = set; then
4286 withval=$with_expat;
4287 if test "$withval" = yes; then
4288 wx_cv_use_expat='wxUSE_EXPAT=yes'
4289 elif test "$withval" = no; then
4290 wx_cv_use_expat='wxUSE_EXPAT=no'
4291 elif test "$withval" = sys; then
4292 wx_cv_use_expat='wxUSE_EXPAT=sys'
4293 elif test "$withval" = builtin; then
4294 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4295 else
4296 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4297 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4298 { (exit 1); exit 1; }; }
4299 fi
4300
4301 else
4302
4303 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4304
4305 fi
4306
4307
4308 eval "$wx_cv_use_expat"
4309
4310 if test "$wxUSE_EXPAT" = yes; then
4311 { echo "$as_me:$LINENO: result: yes" >&5
4312 echo "${ECHO_T}yes" >&6; }
4313 elif test "$wxUSE_EXPAT" = no; then
4314 { echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6; }
4316 elif test "$wxUSE_EXPAT" = sys; then
4317 { echo "$as_me:$LINENO: result: system version" >&5
4318 echo "${ECHO_T}system version" >&6; }
4319 elif test "$wxUSE_EXPAT" = builtin; then
4320 { echo "$as_me:$LINENO: result: builtin version" >&5
4321 echo "${ECHO_T}builtin version" >&6; }
4322 else
4323 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4324 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4325 { (exit 1); exit 1; }; }
4326 fi
4327
4328
4329 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4330 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4331
4332 # Check whether --with-macosx-sdk was given.
4333 if test "${with_macosx_sdk+set}" = set; then
4334 withval=$with_macosx_sdk;
4335 wxUSE_MACOSX_SDK=$withval
4336 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4337
4338 fi
4339
4340 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4341 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4342
4343 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4344 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4345
4346 # Check whether --with-macosx-version-min was given.
4347 if test "${with_macosx_version_min+set}" = set; then
4348 withval=$with_macosx_version_min;
4349 wxUSE_MACOSX_VERSION_MIN=$withval
4350 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4351
4352 fi
4353
4354 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4355 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4356
4357
4358
4359 enablestring=disable
4360 defaultval=
4361 if test -z "$defaultval"; then
4362 if test x"$enablestring" = xdisable; then
4363 defaultval=yes
4364 else
4365 defaultval=no
4366 fi
4367 fi
4368
4369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4370 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4371 # Check whether --enable-shared was given.
4372 if test "${enable_shared+set}" = set; then
4373 enableval=$enable_shared;
4374 if test "$enableval" = yes; then
4375 wx_cv_use_shared='wxUSE_SHARED=yes'
4376 else
4377 wx_cv_use_shared='wxUSE_SHARED=no'
4378 fi
4379
4380 else
4381
4382 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4383
4384 fi
4385
4386
4387 eval "$wx_cv_use_shared"
4388
4389 if test x"$enablestring" = xdisable; then
4390 if test $wxUSE_SHARED = yes; then
4391 result=no
4392 else
4393 result=yes
4394 fi
4395 else
4396 result=$wxUSE_SHARED
4397 fi
4398
4399 { echo "$as_me:$LINENO: result: $result" >&5
4400 echo "${ECHO_T}$result" >&6; }
4401
4402
4403 enablestring=
4404 defaultval=
4405 if test -z "$defaultval"; then
4406 if test x"$enablestring" = xdisable; then
4407 defaultval=yes
4408 else
4409 defaultval=no
4410 fi
4411 fi
4412
4413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4414 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4415 # Check whether --enable-debug was given.
4416 if test "${enable_debug+set}" = set; then
4417 enableval=$enable_debug;
4418 if test "$enableval" = yes; then
4419 wx_cv_use_debug='wxUSE_DEBUG=yes'
4420 else
4421 wx_cv_use_debug='wxUSE_DEBUG=no'
4422 fi
4423
4424 else
4425
4426 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4427
4428 fi
4429
4430
4431 eval "$wx_cv_use_debug"
4432
4433 if test x"$enablestring" = xdisable; then
4434 if test $wxUSE_DEBUG = yes; then
4435 result=no
4436 else
4437 result=yes
4438 fi
4439 else
4440 result=$wxUSE_DEBUG
4441 fi
4442
4443 { echo "$as_me:$LINENO: result: $result" >&5
4444 echo "${ECHO_T}$result" >&6; }
4445
4446
4447 enablestring=
4448 defaultval=
4449 if test -z "$defaultval"; then
4450 if test x"$enablestring" = xdisable; then
4451 defaultval=yes
4452 else
4453 defaultval=no
4454 fi
4455 fi
4456
4457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4458 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4459 # Check whether --enable-stl was given.
4460 if test "${enable_stl+set}" = set; then
4461 enableval=$enable_stl;
4462 if test "$enableval" = yes; then
4463 wx_cv_use_stl='wxUSE_STL=yes'
4464 else
4465 wx_cv_use_stl='wxUSE_STL=no'
4466 fi
4467
4468 else
4469
4470 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4471
4472 fi
4473
4474
4475 eval "$wx_cv_use_stl"
4476
4477 if test x"$enablestring" = xdisable; then
4478 if test $wxUSE_STL = yes; then
4479 result=no
4480 else
4481 result=yes
4482 fi
4483 else
4484 result=$wxUSE_STL
4485 fi
4486
4487 { echo "$as_me:$LINENO: result: $result" >&5
4488 echo "${ECHO_T}$result" >&6; }
4489
4490
4491 enablestring=
4492 defaultval=
4493 if test -z "$defaultval"; then
4494 if test x"$enablestring" = xdisable; then
4495 defaultval=yes
4496 else
4497 defaultval=no
4498 fi
4499 fi
4500
4501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4502 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4503 # Check whether --enable-std_iostreams was given.
4504 if test "${enable_std_iostreams+set}" = set; then
4505 enableval=$enable_std_iostreams;
4506 if test "$enableval" = yes; then
4507 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4508 else
4509 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4510 fi
4511
4512 else
4513
4514 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4515
4516 fi
4517
4518
4519 eval "$wx_cv_use_std_iostreams"
4520
4521 if test x"$enablestring" = xdisable; then
4522 if test $wxUSE_STD_IOSTREAM = yes; then
4523 result=no
4524 else
4525 result=yes
4526 fi
4527 else
4528 result=$wxUSE_STD_IOSTREAM
4529 fi
4530
4531 { echo "$as_me:$LINENO: result: $result" >&5
4532 echo "${ECHO_T}$result" >&6; }
4533
4534
4535 enablestring=
4536 defaultval=
4537 if test -z "$defaultval"; then
4538 if test x"$enablestring" = xdisable; then
4539 defaultval=yes
4540 else
4541 defaultval=no
4542 fi
4543 fi
4544
4545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4546 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4547 # Check whether --enable-std_string was given.
4548 if test "${enable_std_string+set}" = set; then
4549 enableval=$enable_std_string;
4550 if test "$enableval" = yes; then
4551 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4552 else
4553 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4554 fi
4555
4556 else
4557
4558 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4559
4560 fi
4561
4562
4563 eval "$wx_cv_use_std_string"
4564
4565 if test x"$enablestring" = xdisable; then
4566 if test $wxUSE_STD_STRING = yes; then
4567 result=no
4568 else
4569 result=yes
4570 fi
4571 else
4572 result=$wxUSE_STD_STRING
4573 fi
4574
4575 { echo "$as_me:$LINENO: result: $result" >&5
4576 echo "${ECHO_T}$result" >&6; }
4577
4578
4579 enablestring=disable
4580 defaultval=
4581 if test -z "$defaultval"; then
4582 if test x"$enablestring" = xdisable; then
4583 defaultval=yes
4584 else
4585 defaultval=no
4586 fi
4587 fi
4588
4589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4590 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4591 # Check whether --enable-unicode was given.
4592 if test "${enable_unicode+set}" = set; then
4593 enableval=$enable_unicode;
4594 if test "$enableval" = yes; then
4595 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4596 else
4597 wx_cv_use_unicode='wxUSE_UNICODE=no'
4598 fi
4599
4600 else
4601
4602 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4603
4604 fi
4605
4606
4607 eval "$wx_cv_use_unicode"
4608
4609 if test x"$enablestring" = xdisable; then
4610 if test $wxUSE_UNICODE = yes; then
4611 result=no
4612 else
4613 result=yes
4614 fi
4615 else
4616 result=$wxUSE_UNICODE
4617 fi
4618
4619 { echo "$as_me:$LINENO: result: $result" >&5
4620 echo "${ECHO_T}$result" >&6; }
4621
4622
4623 enablestring=
4624 defaultval=
4625 if test -z "$defaultval"; then
4626 if test x"$enablestring" = xdisable; then
4627 defaultval=yes
4628 else
4629 defaultval=no
4630 fi
4631 fi
4632
4633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4634 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4635 # Check whether --enable-mslu was given.
4636 if test "${enable_mslu+set}" = set; then
4637 enableval=$enable_mslu;
4638 if test "$enableval" = yes; then
4639 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4640 else
4641 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4642 fi
4643
4644 else
4645
4646 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4647
4648 fi
4649
4650
4651 eval "$wx_cv_use_mslu"
4652
4653 if test x"$enablestring" = xdisable; then
4654 if test $wxUSE_UNICODE_MSLU = yes; then
4655 result=no
4656 else
4657 result=yes
4658 fi
4659 else
4660 result=$wxUSE_UNICODE_MSLU
4661 fi
4662
4663 { echo "$as_me:$LINENO: result: $result" >&5
4664 echo "${ECHO_T}$result" >&6; }
4665
4666
4667 enablestring=
4668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4669 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4670 # Check whether --enable-utf8 was given.
4671 if test "${enable_utf8+set}" = set; then
4672 enableval=$enable_utf8;
4673 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4674
4675 else
4676
4677 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4678
4679 fi
4680
4681
4682 eval "$wx_cv_use_utf8"
4683
4684 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4685 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4686
4687
4688 enablestring=
4689 defaultval=
4690 if test -z "$defaultval"; then
4691 if test x"$enablestring" = xdisable; then
4692 defaultval=yes
4693 else
4694 defaultval=no
4695 fi
4696 fi
4697
4698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4700 # Check whether --enable-utf8only was given.
4701 if test "${enable_utf8only+set}" = set; then
4702 enableval=$enable_utf8only;
4703 if test "$enableval" = yes; then
4704 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4705 else
4706 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4707 fi
4708
4709 else
4710
4711 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4712
4713 fi
4714
4715
4716 eval "$wx_cv_use_utf8only"
4717
4718 if test x"$enablestring" = xdisable; then
4719 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4720 result=no
4721 else
4722 result=yes
4723 fi
4724 else
4725 result=$wxUSE_UNICODE_UTF8_LOCALE
4726 fi
4727
4728 { echo "$as_me:$LINENO: result: $result" >&5
4729 echo "${ECHO_T}$result" >&6; }
4730
4731
4732 enablestring=
4733 defaultval=
4734 if test -z "$defaultval"; then
4735 if test x"$enablestring" = xdisable; then
4736 defaultval=yes
4737 else
4738 defaultval=no
4739 fi
4740 fi
4741
4742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4744 # Check whether --enable-extended_rtti was given.
4745 if test "${enable_extended_rtti+set}" = set; then
4746 enableval=$enable_extended_rtti;
4747 if test "$enableval" = yes; then
4748 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4749 else
4750 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4751 fi
4752
4753 else
4754
4755 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4756
4757 fi
4758
4759
4760 eval "$wx_cv_use_extended_rtti"
4761
4762 if test x"$enablestring" = xdisable; then
4763 if test $wxUSE_EXTENDED_RTTI = yes; then
4764 result=no
4765 else
4766 result=yes
4767 fi
4768 else
4769 result=$wxUSE_EXTENDED_RTTI
4770 fi
4771
4772 { echo "$as_me:$LINENO: result: $result" >&5
4773 echo "${ECHO_T}$result" >&6; }
4774
4775 if test "$USE_OS2" = 1; then
4776 DEFAULT_wxUSE_OMF=no
4777
4778 enablestring=
4779 defaultval=
4780 if test -z "$defaultval"; then
4781 if test x"$enablestring" = xdisable; then
4782 defaultval=yes
4783 else
4784 defaultval=no
4785 fi
4786 fi
4787
4788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4790 # Check whether --enable-omf was given.
4791 if test "${enable_omf+set}" = set; then
4792 enableval=$enable_omf;
4793 if test "$enableval" = yes; then
4794 wx_cv_use_omf='wxUSE_OMF=yes'
4795 else
4796 wx_cv_use_omf='wxUSE_OMF=no'
4797 fi
4798
4799 else
4800
4801 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4802
4803 fi
4804
4805
4806 eval "$wx_cv_use_omf"
4807
4808 if test x"$enablestring" = xdisable; then
4809 if test $wxUSE_OMF = yes; then
4810 result=no
4811 else
4812 result=yes
4813 fi
4814 else
4815 result=$wxUSE_OMF
4816 fi
4817
4818 { echo "$as_me:$LINENO: result: $result" >&5
4819 echo "${ECHO_T}$result" >&6; }
4820
4821 fi
4822
4823 if test "$wxUSE_DEBUG" = "yes"; then
4824 DEFAULT_wxUSE_DEBUG_FLAG=yes
4825 DEFAULT_wxUSE_DEBUG_INFO=yes
4826 BUILD=debug
4827 elif test "$wxUSE_DEBUG" = "no"; then
4828 DEFAULT_wxUSE_DEBUG_FLAG=no
4829 DEFAULT_wxUSE_DEBUG_INFO=no
4830 BUILD=release
4831 fi
4832
4833
4834 enablestring=
4835 defaultval=
4836 if test -z "$defaultval"; then
4837 if test x"$enablestring" = xdisable; then
4838 defaultval=yes
4839 else
4840 defaultval=no
4841 fi
4842 fi
4843
4844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4845 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4846 # Check whether --enable-debug_flag was given.
4847 if test "${enable_debug_flag+set}" = set; then
4848 enableval=$enable_debug_flag;
4849 if test "$enableval" = yes; then
4850 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4851 else
4852 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4853 fi
4854
4855 else
4856
4857 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4858
4859 fi
4860
4861
4862 eval "$wx_cv_use_debug_flag"
4863
4864 if test x"$enablestring" = xdisable; then
4865 if test $wxUSE_DEBUG_FLAG = yes; then
4866 result=no
4867 else
4868 result=yes
4869 fi
4870 else
4871 result=$wxUSE_DEBUG_FLAG
4872 fi
4873
4874 { echo "$as_me:$LINENO: result: $result" >&5
4875 echo "${ECHO_T}$result" >&6; }
4876
4877
4878 enablestring=
4879 defaultval=
4880 if test -z "$defaultval"; then
4881 if test x"$enablestring" = xdisable; then
4882 defaultval=yes
4883 else
4884 defaultval=no
4885 fi
4886 fi
4887
4888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4890 # Check whether --enable-debug_info was given.
4891 if test "${enable_debug_info+set}" = set; then
4892 enableval=$enable_debug_info;
4893 if test "$enableval" = yes; then
4894 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4895 else
4896 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4897 fi
4898
4899 else
4900
4901 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4902
4903 fi
4904
4905
4906 eval "$wx_cv_use_debug_info"
4907
4908 if test x"$enablestring" = xdisable; then
4909 if test $wxUSE_DEBUG_INFO = yes; then
4910 result=no
4911 else
4912 result=yes
4913 fi
4914 else
4915 result=$wxUSE_DEBUG_INFO
4916 fi
4917
4918 { echo "$as_me:$LINENO: result: $result" >&5
4919 echo "${ECHO_T}$result" >&6; }
4920
4921
4922 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4923 wxUSE_DEBUG=yes
4924 BUILD=debug
4925 fi
4926
4927 if test "$wxUSE_DEBUG" = "yes"; then
4928 DEFAULT_wxUSE_OPTIMISE=no
4929 fi
4930
4931
4932 enablestring=disable
4933 defaultval=
4934 if test -z "$defaultval"; then
4935 if test x"$enablestring" = xdisable; then
4936 defaultval=yes
4937 else
4938 defaultval=no
4939 fi
4940 fi
4941
4942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4944 # Check whether --enable-optimise was given.
4945 if test "${enable_optimise+set}" = set; then
4946 enableval=$enable_optimise;
4947 if test "$enableval" = yes; then
4948 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4949 else
4950 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4951 fi
4952
4953 else
4954
4955 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4956
4957 fi
4958
4959
4960 eval "$wx_cv_use_optimise"
4961
4962 if test x"$enablestring" = xdisable; then
4963 if test $wxUSE_OPTIMISE = yes; then
4964 result=no
4965 else
4966 result=yes
4967 fi
4968 else
4969 result=$wxUSE_OPTIMISE
4970 fi
4971
4972 { echo "$as_me:$LINENO: result: $result" >&5
4973 echo "${ECHO_T}$result" >&6; }
4974
4975
4976
4977 enablestring=
4978 defaultval=
4979 if test -z "$defaultval"; then
4980 if test x"$enablestring" = xdisable; then
4981 defaultval=yes
4982 else
4983 defaultval=no
4984 fi
4985 fi
4986
4987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4988 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4989 # Check whether --enable-debug_gdb was given.
4990 if test "${enable_debug_gdb+set}" = set; then
4991 enableval=$enable_debug_gdb;
4992 if test "$enableval" = yes; then
4993 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4994 else
4995 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4996 fi
4997
4998 else
4999
5000 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5001
5002 fi
5003
5004
5005 eval "$wx_cv_use_debug_gdb"
5006
5007 if test x"$enablestring" = xdisable; then
5008 if test $wxUSE_DEBUG_GDB = yes; then
5009 result=no
5010 else
5011 result=yes
5012 fi
5013 else
5014 result=$wxUSE_DEBUG_GDB
5015 fi
5016
5017 { echo "$as_me:$LINENO: result: $result" >&5
5018 echo "${ECHO_T}$result" >&6; }
5019
5020
5021 enablestring=
5022 defaultval=
5023 if test -z "$defaultval"; then
5024 if test x"$enablestring" = xdisable; then
5025 defaultval=yes
5026 else
5027 defaultval=no
5028 fi
5029 fi
5030
5031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5033 # Check whether --enable-debug_cntxt was given.
5034 if test "${enable_debug_cntxt+set}" = set; then
5035 enableval=$enable_debug_cntxt;
5036 if test "$enableval" = yes; then
5037 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5038 else
5039 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5040 fi
5041
5042 else
5043
5044 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5045
5046 fi
5047
5048
5049 eval "$wx_cv_use_debug_cntxt"
5050
5051 if test x"$enablestring" = xdisable; then
5052 if test $wxUSE_DEBUG_CONTEXT = yes; then
5053 result=no
5054 else
5055 result=yes
5056 fi
5057 else
5058 result=$wxUSE_DEBUG_CONTEXT
5059 fi
5060
5061 { echo "$as_me:$LINENO: result: $result" >&5
5062 echo "${ECHO_T}$result" >&6; }
5063
5064
5065 enablestring=
5066 defaultval=
5067 if test -z "$defaultval"; then
5068 if test x"$enablestring" = xdisable; then
5069 defaultval=yes
5070 else
5071 defaultval=no
5072 fi
5073 fi
5074
5075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5076 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5077 # Check whether --enable-mem_tracing was given.
5078 if test "${enable_mem_tracing+set}" = set; then
5079 enableval=$enable_mem_tracing;
5080 if test "$enableval" = yes; then
5081 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5082 else
5083 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5084 fi
5085
5086 else
5087
5088 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5089
5090 fi
5091
5092
5093 eval "$wx_cv_use_mem_tracing"
5094
5095 if test x"$enablestring" = xdisable; then
5096 if test $wxUSE_MEM_TRACING = yes; then
5097 result=no
5098 else
5099 result=yes
5100 fi
5101 else
5102 result=$wxUSE_MEM_TRACING
5103 fi
5104
5105 { echo "$as_me:$LINENO: result: $result" >&5
5106 echo "${ECHO_T}$result" >&6; }
5107
5108
5109 enablestring=
5110 defaultval=
5111 if test -z "$defaultval"; then
5112 if test x"$enablestring" = xdisable; then
5113 defaultval=yes
5114 else
5115 defaultval=no
5116 fi
5117 fi
5118
5119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5120 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5121 # Check whether --enable-profile was given.
5122 if test "${enable_profile+set}" = set; then
5123 enableval=$enable_profile;
5124 if test "$enableval" = yes; then
5125 wx_cv_use_profile='wxUSE_PROFILE=yes'
5126 else
5127 wx_cv_use_profile='wxUSE_PROFILE=no'
5128 fi
5129
5130 else
5131
5132 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5133
5134 fi
5135
5136
5137 eval "$wx_cv_use_profile"
5138
5139 if test x"$enablestring" = xdisable; then
5140 if test $wxUSE_PROFILE = yes; then
5141 result=no
5142 else
5143 result=yes
5144 fi
5145 else
5146 result=$wxUSE_PROFILE
5147 fi
5148
5149 { echo "$as_me:$LINENO: result: $result" >&5
5150 echo "${ECHO_T}$result" >&6; }
5151
5152
5153 enablestring=
5154 defaultval=
5155 if test -z "$defaultval"; then
5156 if test x"$enablestring" = xdisable; then
5157 defaultval=yes
5158 else
5159 defaultval=no
5160 fi
5161 fi
5162
5163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5164 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5165 # Check whether --enable-no_rtti was given.
5166 if test "${enable_no_rtti+set}" = set; then
5167 enableval=$enable_no_rtti;
5168 if test "$enableval" = yes; then
5169 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5170 else
5171 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5172 fi
5173
5174 else
5175
5176 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5177
5178 fi
5179
5180
5181 eval "$wx_cv_use_no_rtti"
5182
5183 if test x"$enablestring" = xdisable; then
5184 if test $wxUSE_NO_RTTI = yes; then
5185 result=no
5186 else
5187 result=yes
5188 fi
5189 else
5190 result=$wxUSE_NO_RTTI
5191 fi
5192
5193 { echo "$as_me:$LINENO: result: $result" >&5
5194 echo "${ECHO_T}$result" >&6; }
5195
5196
5197 enablestring=
5198 defaultval=
5199 if test -z "$defaultval"; then
5200 if test x"$enablestring" = xdisable; then
5201 defaultval=yes
5202 else
5203 defaultval=no
5204 fi
5205 fi
5206
5207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5208 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5209 # Check whether --enable-no_exceptions was given.
5210 if test "${enable_no_exceptions+set}" = set; then
5211 enableval=$enable_no_exceptions;
5212 if test "$enableval" = yes; then
5213 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5214 else
5215 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5216 fi
5217
5218 else
5219
5220 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5221
5222 fi
5223
5224
5225 eval "$wx_cv_use_no_exceptions"
5226
5227 if test x"$enablestring" = xdisable; then
5228 if test $wxUSE_NO_EXCEPTIONS = yes; then
5229 result=no
5230 else
5231 result=yes
5232 fi
5233 else
5234 result=$wxUSE_NO_EXCEPTIONS
5235 fi
5236
5237 { echo "$as_me:$LINENO: result: $result" >&5
5238 echo "${ECHO_T}$result" >&6; }
5239
5240
5241 enablestring=
5242 defaultval=
5243 if test -z "$defaultval"; then
5244 if test x"$enablestring" = xdisable; then
5245 defaultval=yes
5246 else
5247 defaultval=no
5248 fi
5249 fi
5250
5251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5252 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5253 # Check whether --enable-permissive was given.
5254 if test "${enable_permissive+set}" = set; then
5255 enableval=$enable_permissive;
5256 if test "$enableval" = yes; then
5257 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5258 else
5259 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5260 fi
5261
5262 else
5263
5264 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5265
5266 fi
5267
5268
5269 eval "$wx_cv_use_permissive"
5270
5271 if test x"$enablestring" = xdisable; then
5272 if test $wxUSE_PERMISSIVE = yes; then
5273 result=no
5274 else
5275 result=yes
5276 fi
5277 else
5278 result=$wxUSE_PERMISSIVE
5279 fi
5280
5281 { echo "$as_me:$LINENO: result: $result" >&5
5282 echo "${ECHO_T}$result" >&6; }
5283
5284
5285 enablestring=
5286 defaultval=
5287 if test -z "$defaultval"; then
5288 if test x"$enablestring" = xdisable; then
5289 defaultval=yes
5290 else
5291 defaultval=no
5292 fi
5293 fi
5294
5295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5296 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5297 # Check whether --enable-no_deps was given.
5298 if test "${enable_no_deps+set}" = set; then
5299 enableval=$enable_no_deps;
5300 if test "$enableval" = yes; then
5301 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5302 else
5303 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5304 fi
5305
5306 else
5307
5308 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5309
5310 fi
5311
5312
5313 eval "$wx_cv_use_no_deps"
5314
5315 if test x"$enablestring" = xdisable; then
5316 if test $wxUSE_NO_DEPS = yes; then
5317 result=no
5318 else
5319 result=yes
5320 fi
5321 else
5322 result=$wxUSE_NO_DEPS
5323 fi
5324
5325 { echo "$as_me:$LINENO: result: $result" >&5
5326 echo "${ECHO_T}$result" >&6; }
5327
5328
5329 enablestring=disable
5330 defaultval=
5331 if test -z "$defaultval"; then
5332 if test x"$enablestring" = xdisable; then
5333 defaultval=yes
5334 else
5335 defaultval=no
5336 fi
5337 fi
5338
5339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5340 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5341 # Check whether --enable-vararg_macros was given.
5342 if test "${enable_vararg_macros+set}" = set; then
5343 enableval=$enable_vararg_macros;
5344 if test "$enableval" = yes; then
5345 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5346 else
5347 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5348 fi
5349
5350 else
5351
5352 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5353
5354 fi
5355
5356
5357 eval "$wx_cv_use_vararg_macros"
5358
5359 if test x"$enablestring" = xdisable; then
5360 if test $wxUSE_VARARG_MACROS = yes; then
5361 result=no
5362 else
5363 result=yes
5364 fi
5365 else
5366 result=$wxUSE_VARARG_MACROS
5367 fi
5368
5369 { echo "$as_me:$LINENO: result: $result" >&5
5370 echo "${ECHO_T}$result" >&6; }
5371
5372
5373 enablestring=
5374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5375 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5376 # Check whether --enable-universal_binary was given.
5377 if test "${enable_universal_binary+set}" = set; then
5378 enableval=$enable_universal_binary;
5379 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5380
5381 else
5382
5383 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5384
5385 fi
5386
5387
5388 eval "$wx_cv_use_universal_binary"
5389
5390 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5391 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5392
5393
5394
5395 enablestring=
5396 defaultval=
5397 if test -z "$defaultval"; then
5398 if test x"$enablestring" = xdisable; then
5399 defaultval=yes
5400 else
5401 defaultval=no
5402 fi
5403 fi
5404
5405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5407 # Check whether --enable-compat26 was given.
5408 if test "${enable_compat26+set}" = set; then
5409 enableval=$enable_compat26;
5410 if test "$enableval" = yes; then
5411 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5412 else
5413 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5414 fi
5415
5416 else
5417
5418 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5419
5420 fi
5421
5422
5423 eval "$wx_cv_use_compat26"
5424
5425 if test x"$enablestring" = xdisable; then
5426 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5427 result=no
5428 else
5429 result=yes
5430 fi
5431 else
5432 result=$WXWIN_COMPATIBILITY_2_6
5433 fi
5434
5435 { echo "$as_me:$LINENO: result: $result" >&5
5436 echo "${ECHO_T}$result" >&6; }
5437
5438
5439 enablestring=disable
5440 defaultval=
5441 if test -z "$defaultval"; then
5442 if test x"$enablestring" = xdisable; then
5443 defaultval=yes
5444 else
5445 defaultval=no
5446 fi
5447 fi
5448
5449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5450 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5451 # Check whether --enable-compat28 was given.
5452 if test "${enable_compat28+set}" = set; then
5453 enableval=$enable_compat28;
5454 if test "$enableval" = yes; then
5455 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5456 else
5457 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5458 fi
5459
5460 else
5461
5462 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5463
5464 fi
5465
5466
5467 eval "$wx_cv_use_compat28"
5468
5469 if test x"$enablestring" = xdisable; then
5470 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5471 result=no
5472 else
5473 result=yes
5474 fi
5475 else
5476 result=$WXWIN_COMPATIBILITY_2_8
5477 fi
5478
5479 { echo "$as_me:$LINENO: result: $result" >&5
5480 echo "${ECHO_T}$result" >&6; }
5481
5482
5483
5484 enablestring=disable
5485 defaultval=
5486 if test -z "$defaultval"; then
5487 if test x"$enablestring" = xdisable; then
5488 defaultval=yes
5489 else
5490 defaultval=no
5491 fi
5492 fi
5493
5494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5495 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5496 # Check whether --enable-rpath was given.
5497 if test "${enable_rpath+set}" = set; then
5498 enableval=$enable_rpath;
5499 if test "$enableval" = yes; then
5500 wx_cv_use_rpath='wxUSE_RPATH=yes'
5501 else
5502 wx_cv_use_rpath='wxUSE_RPATH=no'
5503 fi
5504
5505 else
5506
5507 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5508
5509 fi
5510
5511
5512 eval "$wx_cv_use_rpath"
5513
5514 if test x"$enablestring" = xdisable; then
5515 if test $wxUSE_RPATH = yes; then
5516 result=no
5517 else
5518 result=yes
5519 fi
5520 else
5521 result=$wxUSE_RPATH
5522 fi
5523
5524 { echo "$as_me:$LINENO: result: $result" >&5
5525 echo "${ECHO_T}$result" >&6; }
5526
5527
5528
5529 enablestring=
5530 defaultval=
5531 if test -z "$defaultval"; then
5532 if test x"$enablestring" = xdisable; then
5533 defaultval=yes
5534 else
5535 defaultval=no
5536 fi
5537 fi
5538
5539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5541 # Check whether --enable-objc_uniquifying was given.
5542 if test "${enable_objc_uniquifying+set}" = set; then
5543 enableval=$enable_objc_uniquifying;
5544 if test "$enableval" = yes; then
5545 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5546 else
5547 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5548 fi
5549
5550 else
5551
5552 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5553
5554 fi
5555
5556
5557 eval "$wx_cv_use_objc_uniquifying"
5558
5559 if test x"$enablestring" = xdisable; then
5560 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5561 result=no
5562 else
5563 result=yes
5564 fi
5565 else
5566 result=$wxUSE_OBJC_UNIQUIFYING
5567 fi
5568
5569 { echo "$as_me:$LINENO: result: $result" >&5
5570 echo "${ECHO_T}$result" >&6; }
5571
5572
5573
5574 enablestring=disable
5575 defaultval=
5576 if test -z "$defaultval"; then
5577 if test x"$enablestring" = xdisable; then
5578 defaultval=yes
5579 else
5580 defaultval=no
5581 fi
5582 fi
5583
5584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5586 # Check whether --enable-visibility was given.
5587 if test "${enable_visibility+set}" = set; then
5588 enableval=$enable_visibility;
5589 if test "$enableval" = yes; then
5590 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5591 else
5592 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5593 fi
5594
5595 else
5596
5597 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5598
5599 fi
5600
5601
5602 eval "$wx_cv_use_visibility"
5603
5604 if test x"$enablestring" = xdisable; then
5605 if test $wxUSE_VISIBILITY = yes; then
5606 result=no
5607 else
5608 result=yes
5609 fi
5610 else
5611 result=$wxUSE_VISIBILITY
5612 fi
5613
5614 { echo "$as_me:$LINENO: result: $result" >&5
5615 echo "${ECHO_T}$result" >&6; }
5616
5617
5618
5619
5620 enablestring=
5621 defaultval=$wxUSE_ALL_FEATURES
5622 if test -z "$defaultval"; then
5623 if test x"$enablestring" = xdisable; then
5624 defaultval=yes
5625 else
5626 defaultval=no
5627 fi
5628 fi
5629
5630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5631 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5632 # Check whether --enable-intl was given.
5633 if test "${enable_intl+set}" = set; then
5634 enableval=$enable_intl;
5635 if test "$enableval" = yes; then
5636 wx_cv_use_intl='wxUSE_INTL=yes'
5637 else
5638 wx_cv_use_intl='wxUSE_INTL=no'
5639 fi
5640
5641 else
5642
5643 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5644
5645 fi
5646
5647
5648 eval "$wx_cv_use_intl"
5649
5650 if test x"$enablestring" = xdisable; then
5651 if test $wxUSE_INTL = yes; then
5652 result=no
5653 else
5654 result=yes
5655 fi
5656 else
5657 result=$wxUSE_INTL
5658 fi
5659
5660 { echo "$as_me:$LINENO: result: $result" >&5
5661 echo "${ECHO_T}$result" >&6; }
5662
5663
5664 enablestring=
5665 defaultval=$wxUSE_ALL_FEATURES
5666 if test -z "$defaultval"; then
5667 if test x"$enablestring" = xdisable; then
5668 defaultval=yes
5669 else
5670 defaultval=no
5671 fi
5672 fi
5673
5674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5675 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5676 # Check whether --enable-xlocale was given.
5677 if test "${enable_xlocale+set}" = set; then
5678 enableval=$enable_xlocale;
5679 if test "$enableval" = yes; then
5680 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5681 else
5682 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5683 fi
5684
5685 else
5686
5687 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5688
5689 fi
5690
5691
5692 eval "$wx_cv_use_xlocale"
5693
5694 if test x"$enablestring" = xdisable; then
5695 if test $wxUSE_XLOCALE = yes; then
5696 result=no
5697 else
5698 result=yes
5699 fi
5700 else
5701 result=$wxUSE_XLOCALE
5702 fi
5703
5704 { echo "$as_me:$LINENO: result: $result" >&5
5705 echo "${ECHO_T}$result" >&6; }
5706
5707
5708 enablestring=
5709 defaultval=$wxUSE_ALL_FEATURES
5710 if test -z "$defaultval"; then
5711 if test x"$enablestring" = xdisable; then
5712 defaultval=yes
5713 else
5714 defaultval=no
5715 fi
5716 fi
5717
5718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5719 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5720 # Check whether --enable-config was given.
5721 if test "${enable_config+set}" = set; then
5722 enableval=$enable_config;
5723 if test "$enableval" = yes; then
5724 wx_cv_use_config='wxUSE_CONFIG=yes'
5725 else
5726 wx_cv_use_config='wxUSE_CONFIG=no'
5727 fi
5728
5729 else
5730
5731 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5732
5733 fi
5734
5735
5736 eval "$wx_cv_use_config"
5737
5738 if test x"$enablestring" = xdisable; then
5739 if test $wxUSE_CONFIG = yes; then
5740 result=no
5741 else
5742 result=yes
5743 fi
5744 else
5745 result=$wxUSE_CONFIG
5746 fi
5747
5748 { echo "$as_me:$LINENO: result: $result" >&5
5749 echo "${ECHO_T}$result" >&6; }
5750
5751
5752
5753 enablestring=
5754 defaultval=$wxUSE_ALL_FEATURES
5755 if test -z "$defaultval"; then
5756 if test x"$enablestring" = xdisable; then
5757 defaultval=yes
5758 else
5759 defaultval=no
5760 fi
5761 fi
5762
5763 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5764 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5765 # Check whether --enable-protocols was given.
5766 if test "${enable_protocols+set}" = set; then
5767 enableval=$enable_protocols;
5768 if test "$enableval" = yes; then
5769 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5770 else
5771 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5772 fi
5773
5774 else
5775
5776 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5777
5778 fi
5779
5780
5781 eval "$wx_cv_use_protocols"
5782
5783 if test x"$enablestring" = xdisable; then
5784 if test $wxUSE_PROTOCOL = yes; then
5785 result=no
5786 else
5787 result=yes
5788 fi
5789 else
5790 result=$wxUSE_PROTOCOL
5791 fi
5792
5793 { echo "$as_me:$LINENO: result: $result" >&5
5794 echo "${ECHO_T}$result" >&6; }
5795
5796
5797 enablestring=
5798 defaultval=$wxUSE_ALL_FEATURES
5799 if test -z "$defaultval"; then
5800 if test x"$enablestring" = xdisable; then
5801 defaultval=yes
5802 else
5803 defaultval=no
5804 fi
5805 fi
5806
5807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5808 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5809 # Check whether --enable-ftp was given.
5810 if test "${enable_ftp+set}" = set; then
5811 enableval=$enable_ftp;
5812 if test "$enableval" = yes; then
5813 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5814 else
5815 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5816 fi
5817
5818 else
5819
5820 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5821
5822 fi
5823
5824
5825 eval "$wx_cv_use_ftp"
5826
5827 if test x"$enablestring" = xdisable; then
5828 if test $wxUSE_PROTOCOL_FTP = yes; then
5829 result=no
5830 else
5831 result=yes
5832 fi
5833 else
5834 result=$wxUSE_PROTOCOL_FTP
5835 fi
5836
5837 { echo "$as_me:$LINENO: result: $result" >&5
5838 echo "${ECHO_T}$result" >&6; }
5839
5840
5841 enablestring=
5842 defaultval=$wxUSE_ALL_FEATURES
5843 if test -z "$defaultval"; then
5844 if test x"$enablestring" = xdisable; then
5845 defaultval=yes
5846 else
5847 defaultval=no
5848 fi
5849 fi
5850
5851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5853 # Check whether --enable-http was given.
5854 if test "${enable_http+set}" = set; then
5855 enableval=$enable_http;
5856 if test "$enableval" = yes; then
5857 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5858 else
5859 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5860 fi
5861
5862 else
5863
5864 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5865
5866 fi
5867
5868
5869 eval "$wx_cv_use_http"
5870
5871 if test x"$enablestring" = xdisable; then
5872 if test $wxUSE_PROTOCOL_HTTP = yes; then
5873 result=no
5874 else
5875 result=yes
5876 fi
5877 else
5878 result=$wxUSE_PROTOCOL_HTTP
5879 fi
5880
5881 { echo "$as_me:$LINENO: result: $result" >&5
5882 echo "${ECHO_T}$result" >&6; }
5883
5884
5885 enablestring=
5886 defaultval=$wxUSE_ALL_FEATURES
5887 if test -z "$defaultval"; then
5888 if test x"$enablestring" = xdisable; then
5889 defaultval=yes
5890 else
5891 defaultval=no
5892 fi
5893 fi
5894
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5897 # Check whether --enable-fileproto was given.
5898 if test "${enable_fileproto+set}" = set; then
5899 enableval=$enable_fileproto;
5900 if test "$enableval" = yes; then
5901 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5902 else
5903 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5904 fi
5905
5906 else
5907
5908 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5909
5910 fi
5911
5912
5913 eval "$wx_cv_use_fileproto"
5914
5915 if test x"$enablestring" = xdisable; then
5916 if test $wxUSE_PROTOCOL_FILE = yes; then
5917 result=no
5918 else
5919 result=yes
5920 fi
5921 else
5922 result=$wxUSE_PROTOCOL_FILE
5923 fi
5924
5925 { echo "$as_me:$LINENO: result: $result" >&5
5926 echo "${ECHO_T}$result" >&6; }
5927
5928
5929 enablestring=
5930 defaultval=$wxUSE_ALL_FEATURES
5931 if test -z "$defaultval"; then
5932 if test x"$enablestring" = xdisable; then
5933 defaultval=yes
5934 else
5935 defaultval=no
5936 fi
5937 fi
5938
5939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5940 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5941 # Check whether --enable-sockets was given.
5942 if test "${enable_sockets+set}" = set; then
5943 enableval=$enable_sockets;
5944 if test "$enableval" = yes; then
5945 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5946 else
5947 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5948 fi
5949
5950 else
5951
5952 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5953
5954 fi
5955
5956
5957 eval "$wx_cv_use_sockets"
5958
5959 if test x"$enablestring" = xdisable; then
5960 if test $wxUSE_SOCKETS = yes; then
5961 result=no
5962 else
5963 result=yes
5964 fi
5965 else
5966 result=$wxUSE_SOCKETS
5967 fi
5968
5969 { echo "$as_me:$LINENO: result: $result" >&5
5970 echo "${ECHO_T}$result" >&6; }
5971
5972
5973 enablestring=
5974 defaultval=$wxUSE_ALL_FEATURES
5975 if test -z "$defaultval"; then
5976 if test x"$enablestring" = xdisable; then
5977 defaultval=yes
5978 else
5979 defaultval=no
5980 fi
5981 fi
5982
5983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5984 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5985 # Check whether --enable-ipv6 was given.
5986 if test "${enable_ipv6+set}" = set; then
5987 enableval=$enable_ipv6;
5988 if test "$enableval" = yes; then
5989 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5990 else
5991 wx_cv_use_ipv6='wxUSE_IPV6=no'
5992 fi
5993
5994 else
5995
5996 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5997
5998 fi
5999
6000
6001 eval "$wx_cv_use_ipv6"
6002
6003 if test x"$enablestring" = xdisable; then
6004 if test $wxUSE_IPV6 = yes; then
6005 result=no
6006 else
6007 result=yes
6008 fi
6009 else
6010 result=$wxUSE_IPV6
6011 fi
6012
6013 { echo "$as_me:$LINENO: result: $result" >&5
6014 echo "${ECHO_T}$result" >&6; }
6015
6016
6017 enablestring=
6018 defaultval=$wxUSE_ALL_FEATURES
6019 if test -z "$defaultval"; then
6020 if test x"$enablestring" = xdisable; then
6021 defaultval=yes
6022 else
6023 defaultval=no
6024 fi
6025 fi
6026
6027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6028 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6029 # Check whether --enable-ole was given.
6030 if test "${enable_ole+set}" = set; then
6031 enableval=$enable_ole;
6032 if test "$enableval" = yes; then
6033 wx_cv_use_ole='wxUSE_OLE=yes'
6034 else
6035 wx_cv_use_ole='wxUSE_OLE=no'
6036 fi
6037
6038 else
6039
6040 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6041
6042 fi
6043
6044
6045 eval "$wx_cv_use_ole"
6046
6047 if test x"$enablestring" = xdisable; then
6048 if test $wxUSE_OLE = yes; then
6049 result=no
6050 else
6051 result=yes
6052 fi
6053 else
6054 result=$wxUSE_OLE
6055 fi
6056
6057 { echo "$as_me:$LINENO: result: $result" >&5
6058 echo "${ECHO_T}$result" >&6; }
6059
6060
6061 enablestring=
6062 defaultval=$wxUSE_ALL_FEATURES
6063 if test -z "$defaultval"; then
6064 if test x"$enablestring" = xdisable; then
6065 defaultval=yes
6066 else
6067 defaultval=no
6068 fi
6069 fi
6070
6071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6072 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6073 # Check whether --enable-dataobj was given.
6074 if test "${enable_dataobj+set}" = set; then
6075 enableval=$enable_dataobj;
6076 if test "$enableval" = yes; then
6077 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6078 else
6079 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6080 fi
6081
6082 else
6083
6084 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6085
6086 fi
6087
6088
6089 eval "$wx_cv_use_dataobj"
6090
6091 if test x"$enablestring" = xdisable; then
6092 if test $wxUSE_DATAOBJ = yes; then
6093 result=no
6094 else
6095 result=yes
6096 fi
6097 else
6098 result=$wxUSE_DATAOBJ
6099 fi
6100
6101 { echo "$as_me:$LINENO: result: $result" >&5
6102 echo "${ECHO_T}$result" >&6; }
6103
6104
6105
6106 enablestring=
6107 defaultval=$wxUSE_ALL_FEATURES
6108 if test -z "$defaultval"; then
6109 if test x"$enablestring" = xdisable; then
6110 defaultval=yes
6111 else
6112 defaultval=no
6113 fi
6114 fi
6115
6116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6118 # Check whether --enable-ipc was given.
6119 if test "${enable_ipc+set}" = set; then
6120 enableval=$enable_ipc;
6121 if test "$enableval" = yes; then
6122 wx_cv_use_ipc='wxUSE_IPC=yes'
6123 else
6124 wx_cv_use_ipc='wxUSE_IPC=no'
6125 fi
6126
6127 else
6128
6129 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6130
6131 fi
6132
6133
6134 eval "$wx_cv_use_ipc"
6135
6136 if test x"$enablestring" = xdisable; then
6137 if test $wxUSE_IPC = yes; then
6138 result=no
6139 else
6140 result=yes
6141 fi
6142 else
6143 result=$wxUSE_IPC
6144 fi
6145
6146 { echo "$as_me:$LINENO: result: $result" >&5
6147 echo "${ECHO_T}$result" >&6; }
6148
6149
6150
6151 enablestring=
6152 defaultval=$wxUSE_ALL_FEATURES
6153 if test -z "$defaultval"; then
6154 if test x"$enablestring" = xdisable; then
6155 defaultval=yes
6156 else
6157 defaultval=no
6158 fi
6159 fi
6160
6161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6162 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6163 # Check whether --enable-baseevtloop was given.
6164 if test "${enable_baseevtloop+set}" = set; then
6165 enableval=$enable_baseevtloop;
6166 if test "$enableval" = yes; then
6167 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6168 else
6169 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6170 fi
6171
6172 else
6173
6174 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6175
6176 fi
6177
6178
6179 eval "$wx_cv_use_baseevtloop"
6180
6181 if test x"$enablestring" = xdisable; then
6182 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6183 result=no
6184 else
6185 result=yes
6186 fi
6187 else
6188 result=$wxUSE_CONSOLE_EVENTLOOP
6189 fi
6190
6191 { echo "$as_me:$LINENO: result: $result" >&5
6192 echo "${ECHO_T}$result" >&6; }
6193
6194
6195 enablestring=
6196 defaultval=$wxUSE_ALL_FEATURES
6197 if test -z "$defaultval"; then
6198 if test x"$enablestring" = xdisable; then
6199 defaultval=yes
6200 else
6201 defaultval=no
6202 fi
6203 fi
6204
6205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6206 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6207 # Check whether --enable-epollloop was given.
6208 if test "${enable_epollloop+set}" = set; then
6209 enableval=$enable_epollloop;
6210 if test "$enableval" = yes; then
6211 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6212 else
6213 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6214 fi
6215
6216 else
6217
6218 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6219
6220 fi
6221
6222
6223 eval "$wx_cv_use_epollloop"
6224
6225 if test x"$enablestring" = xdisable; then
6226 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6227 result=no
6228 else
6229 result=yes
6230 fi
6231 else
6232 result=$wxUSE_EPOLL_DISPATCHER
6233 fi
6234
6235 { echo "$as_me:$LINENO: result: $result" >&5
6236 echo "${ECHO_T}$result" >&6; }
6237
6238
6239 enablestring=
6240 defaultval=$wxUSE_ALL_FEATURES
6241 if test -z "$defaultval"; then
6242 if test x"$enablestring" = xdisable; then
6243 defaultval=yes
6244 else
6245 defaultval=no
6246 fi
6247 fi
6248
6249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6250 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6251 # Check whether --enable-selectloop was given.
6252 if test "${enable_selectloop+set}" = set; then
6253 enableval=$enable_selectloop;
6254 if test "$enableval" = yes; then
6255 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6256 else
6257 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6258 fi
6259
6260 else
6261
6262 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6263
6264 fi
6265
6266
6267 eval "$wx_cv_use_selectloop"
6268
6269 if test x"$enablestring" = xdisable; then
6270 if test $wxUSE_SELECT_DISPATCHER = yes; then
6271 result=no
6272 else
6273 result=yes
6274 fi
6275 else
6276 result=$wxUSE_SELECT_DISPATCHER
6277 fi
6278
6279 { echo "$as_me:$LINENO: result: $result" >&5
6280 echo "${ECHO_T}$result" >&6; }
6281
6282
6283
6284 enablestring=
6285 defaultval=$wxUSE_ALL_FEATURES
6286 if test -z "$defaultval"; then
6287 if test x"$enablestring" = xdisable; then
6288 defaultval=yes
6289 else
6290 defaultval=no
6291 fi
6292 fi
6293
6294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6295 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6296 # Check whether --enable-apple_ieee was given.
6297 if test "${enable_apple_ieee+set}" = set; then
6298 enableval=$enable_apple_ieee;
6299 if test "$enableval" = yes; then
6300 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6301 else
6302 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6303 fi
6304
6305 else
6306
6307 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6308
6309 fi
6310
6311
6312 eval "$wx_cv_use_apple_ieee"
6313
6314 if test x"$enablestring" = xdisable; then
6315 if test $wxUSE_APPLE_IEEE = yes; then
6316 result=no
6317 else
6318 result=yes
6319 fi
6320 else
6321 result=$wxUSE_APPLE_IEEE
6322 fi
6323
6324 { echo "$as_me:$LINENO: result: $result" >&5
6325 echo "${ECHO_T}$result" >&6; }
6326
6327
6328 enablestring=
6329 defaultval=$wxUSE_ALL_FEATURES
6330 if test -z "$defaultval"; then
6331 if test x"$enablestring" = xdisable; then
6332 defaultval=yes
6333 else
6334 defaultval=no
6335 fi
6336 fi
6337
6338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6339 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6340 # Check whether --enable-arcstream was given.
6341 if test "${enable_arcstream+set}" = set; then
6342 enableval=$enable_arcstream;
6343 if test "$enableval" = yes; then
6344 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6345 else
6346 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6347 fi
6348
6349 else
6350
6351 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6352
6353 fi
6354
6355
6356 eval "$wx_cv_use_arcstream"
6357
6358 if test x"$enablestring" = xdisable; then
6359 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6360 result=no
6361 else
6362 result=yes
6363 fi
6364 else
6365 result=$wxUSE_ARCHIVE_STREAMS
6366 fi
6367
6368 { echo "$as_me:$LINENO: result: $result" >&5
6369 echo "${ECHO_T}$result" >&6; }
6370
6371
6372 enablestring=
6373 defaultval=$wxUSE_ALL_FEATURES
6374 if test -z "$defaultval"; then
6375 if test x"$enablestring" = xdisable; then
6376 defaultval=yes
6377 else
6378 defaultval=no
6379 fi
6380 fi
6381
6382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6383 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6384 # Check whether --enable-base64 was given.
6385 if test "${enable_base64+set}" = set; then
6386 enableval=$enable_base64;
6387 if test "$enableval" = yes; then
6388 wx_cv_use_base64='wxUSE_BASE64=yes'
6389 else
6390 wx_cv_use_base64='wxUSE_BASE64=no'
6391 fi
6392
6393 else
6394
6395 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6396
6397 fi
6398
6399
6400 eval "$wx_cv_use_base64"
6401
6402 if test x"$enablestring" = xdisable; then
6403 if test $wxUSE_BASE64 = yes; then
6404 result=no
6405 else
6406 result=yes
6407 fi
6408 else
6409 result=$wxUSE_BASE64
6410 fi
6411
6412 { echo "$as_me:$LINENO: result: $result" >&5
6413 echo "${ECHO_T}$result" >&6; }
6414
6415
6416 enablestring=
6417 defaultval=$wxUSE_ALL_FEATURES
6418 if test -z "$defaultval"; then
6419 if test x"$enablestring" = xdisable; then
6420 defaultval=yes
6421 else
6422 defaultval=no
6423 fi
6424 fi
6425
6426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6428 # Check whether --enable-backtrace was given.
6429 if test "${enable_backtrace+set}" = set; then
6430 enableval=$enable_backtrace;
6431 if test "$enableval" = yes; then
6432 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6433 else
6434 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6435 fi
6436
6437 else
6438
6439 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6440
6441 fi
6442
6443
6444 eval "$wx_cv_use_backtrace"
6445
6446 if test x"$enablestring" = xdisable; then
6447 if test $wxUSE_STACKWALKER = yes; then
6448 result=no
6449 else
6450 result=yes
6451 fi
6452 else
6453 result=$wxUSE_STACKWALKER
6454 fi
6455
6456 { echo "$as_me:$LINENO: result: $result" >&5
6457 echo "${ECHO_T}$result" >&6; }
6458
6459
6460 enablestring=
6461 defaultval=$wxUSE_ALL_FEATURES
6462 if test -z "$defaultval"; then
6463 if test x"$enablestring" = xdisable; then
6464 defaultval=yes
6465 else
6466 defaultval=no
6467 fi
6468 fi
6469
6470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6471 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6472 # Check whether --enable-catch_segvs was given.
6473 if test "${enable_catch_segvs+set}" = set; then
6474 enableval=$enable_catch_segvs;
6475 if test "$enableval" = yes; then
6476 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6477 else
6478 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6479 fi
6480
6481 else
6482
6483 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6484
6485 fi
6486
6487
6488 eval "$wx_cv_use_catch_segvs"
6489
6490 if test x"$enablestring" = xdisable; then
6491 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6492 result=no
6493 else
6494 result=yes
6495 fi
6496 else
6497 result=$wxUSE_ON_FATAL_EXCEPTION
6498 fi
6499
6500 { echo "$as_me:$LINENO: result: $result" >&5
6501 echo "${ECHO_T}$result" >&6; }
6502
6503
6504 enablestring=
6505 defaultval=$wxUSE_ALL_FEATURES
6506 if test -z "$defaultval"; then
6507 if test x"$enablestring" = xdisable; then
6508 defaultval=yes
6509 else
6510 defaultval=no
6511 fi
6512 fi
6513
6514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6515 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6516 # Check whether --enable-cmdline was given.
6517 if test "${enable_cmdline+set}" = set; then
6518 enableval=$enable_cmdline;
6519 if test "$enableval" = yes; then
6520 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6521 else
6522 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6523 fi
6524
6525 else
6526
6527 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6528
6529 fi
6530
6531
6532 eval "$wx_cv_use_cmdline"
6533
6534 if test x"$enablestring" = xdisable; then
6535 if test $wxUSE_CMDLINE_PARSER = yes; then
6536 result=no
6537 else
6538 result=yes
6539 fi
6540 else
6541 result=$wxUSE_CMDLINE_PARSER
6542 fi
6543
6544 { echo "$as_me:$LINENO: result: $result" >&5
6545 echo "${ECHO_T}$result" >&6; }
6546
6547
6548 enablestring=
6549 defaultval=$wxUSE_ALL_FEATURES
6550 if test -z "$defaultval"; then
6551 if test x"$enablestring" = xdisable; then
6552 defaultval=yes
6553 else
6554 defaultval=no
6555 fi
6556 fi
6557
6558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6559 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6560 # Check whether --enable-datetime was given.
6561 if test "${enable_datetime+set}" = set; then
6562 enableval=$enable_datetime;
6563 if test "$enableval" = yes; then
6564 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6565 else
6566 wx_cv_use_datetime='wxUSE_DATETIME=no'
6567 fi
6568
6569 else
6570
6571 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6572
6573 fi
6574
6575
6576 eval "$wx_cv_use_datetime"
6577
6578 if test x"$enablestring" = xdisable; then
6579 if test $wxUSE_DATETIME = yes; then
6580 result=no
6581 else
6582 result=yes
6583 fi
6584 else
6585 result=$wxUSE_DATETIME
6586 fi
6587
6588 { echo "$as_me:$LINENO: result: $result" >&5
6589 echo "${ECHO_T}$result" >&6; }
6590
6591
6592 enablestring=
6593 defaultval=$wxUSE_ALL_FEATURES
6594 if test -z "$defaultval"; then
6595 if test x"$enablestring" = xdisable; then
6596 defaultval=yes
6597 else
6598 defaultval=no
6599 fi
6600 fi
6601
6602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6603 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6604 # Check whether --enable-debugreport was given.
6605 if test "${enable_debugreport+set}" = set; then
6606 enableval=$enable_debugreport;
6607 if test "$enableval" = yes; then
6608 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6609 else
6610 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6611 fi
6612
6613 else
6614
6615 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6616
6617 fi
6618
6619
6620 eval "$wx_cv_use_debugreport"
6621
6622 if test x"$enablestring" = xdisable; then
6623 if test $wxUSE_DEBUGREPORT = yes; then
6624 result=no
6625 else
6626 result=yes
6627 fi
6628 else
6629 result=$wxUSE_DEBUGREPORT
6630 fi
6631
6632 { echo "$as_me:$LINENO: result: $result" >&5
6633 echo "${ECHO_T}$result" >&6; }
6634
6635
6636 enablestring=
6637 defaultval=$wxUSE_ALL_FEATURES
6638 if test -z "$defaultval"; then
6639 if test x"$enablestring" = xdisable; then
6640 defaultval=yes
6641 else
6642 defaultval=no
6643 fi
6644 fi
6645
6646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6647 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6648 # Check whether --enable-dialupman was given.
6649 if test "${enable_dialupman+set}" = set; then
6650 enableval=$enable_dialupman;
6651 if test "$enableval" = yes; then
6652 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6653 else
6654 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6655 fi
6656
6657 else
6658
6659 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6660
6661 fi
6662
6663
6664 eval "$wx_cv_use_dialupman"
6665
6666 if test x"$enablestring" = xdisable; then
6667 if test $wxUSE_DIALUP_MANAGER = yes; then
6668 result=no
6669 else
6670 result=yes
6671 fi
6672 else
6673 result=$wxUSE_DIALUP_MANAGER
6674 fi
6675
6676 { echo "$as_me:$LINENO: result: $result" >&5
6677 echo "${ECHO_T}$result" >&6; }
6678
6679
6680 enablestring=
6681 defaultval=$wxUSE_ALL_FEATURES
6682 if test -z "$defaultval"; then
6683 if test x"$enablestring" = xdisable; then
6684 defaultval=yes
6685 else
6686 defaultval=no
6687 fi
6688 fi
6689
6690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6691 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6692 # Check whether --enable-dynlib was given.
6693 if test "${enable_dynlib+set}" = set; then
6694 enableval=$enable_dynlib;
6695 if test "$enableval" = yes; then
6696 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6697 else
6698 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6699 fi
6700
6701 else
6702
6703 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6704
6705 fi
6706
6707
6708 eval "$wx_cv_use_dynlib"
6709
6710 if test x"$enablestring" = xdisable; then
6711 if test $wxUSE_DYNLIB_CLASS = yes; then
6712 result=no
6713 else
6714 result=yes
6715 fi
6716 else
6717 result=$wxUSE_DYNLIB_CLASS
6718 fi
6719
6720 { echo "$as_me:$LINENO: result: $result" >&5
6721 echo "${ECHO_T}$result" >&6; }
6722
6723
6724 enablestring=
6725 defaultval=$wxUSE_ALL_FEATURES
6726 if test -z "$defaultval"; then
6727 if test x"$enablestring" = xdisable; then
6728 defaultval=yes
6729 else
6730 defaultval=no
6731 fi
6732 fi
6733
6734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6735 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6736 # Check whether --enable-dynamicloader was given.
6737 if test "${enable_dynamicloader+set}" = set; then
6738 enableval=$enable_dynamicloader;
6739 if test "$enableval" = yes; then
6740 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6741 else
6742 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6743 fi
6744
6745 else
6746
6747 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6748
6749 fi
6750
6751
6752 eval "$wx_cv_use_dynamicloader"
6753
6754 if test x"$enablestring" = xdisable; then
6755 if test $wxUSE_DYNAMIC_LOADER = yes; then
6756 result=no
6757 else
6758 result=yes
6759 fi
6760 else
6761 result=$wxUSE_DYNAMIC_LOADER
6762 fi
6763
6764 { echo "$as_me:$LINENO: result: $result" >&5
6765 echo "${ECHO_T}$result" >&6; }
6766
6767
6768 enablestring=
6769 defaultval=$wxUSE_ALL_FEATURES
6770 if test -z "$defaultval"; then
6771 if test x"$enablestring" = xdisable; then
6772 defaultval=yes
6773 else
6774 defaultval=no
6775 fi
6776 fi
6777
6778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6779 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6780 # Check whether --enable-exceptions was given.
6781 if test "${enable_exceptions+set}" = set; then
6782 enableval=$enable_exceptions;
6783 if test "$enableval" = yes; then
6784 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6785 else
6786 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6787 fi
6788
6789 else
6790
6791 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6792
6793 fi
6794
6795
6796 eval "$wx_cv_use_exceptions"
6797
6798 if test x"$enablestring" = xdisable; then
6799 if test $wxUSE_EXCEPTIONS = yes; then
6800 result=no
6801 else
6802 result=yes
6803 fi
6804 else
6805 result=$wxUSE_EXCEPTIONS
6806 fi
6807
6808 { echo "$as_me:$LINENO: result: $result" >&5
6809 echo "${ECHO_T}$result" >&6; }
6810
6811
6812 enablestring=
6813 defaultval=$wxUSE_ALL_FEATURES
6814 if test -z "$defaultval"; then
6815 if test x"$enablestring" = xdisable; then
6816 defaultval=yes
6817 else
6818 defaultval=no
6819 fi
6820 fi
6821
6822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6823 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6824 # Check whether --enable-ffile was given.
6825 if test "${enable_ffile+set}" = set; then
6826 enableval=$enable_ffile;
6827 if test "$enableval" = yes; then
6828 wx_cv_use_ffile='wxUSE_FFILE=yes'
6829 else
6830 wx_cv_use_ffile='wxUSE_FFILE=no'
6831 fi
6832
6833 else
6834
6835 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6836
6837 fi
6838
6839
6840 eval "$wx_cv_use_ffile"
6841
6842 if test x"$enablestring" = xdisable; then
6843 if test $wxUSE_FFILE = yes; then
6844 result=no
6845 else
6846 result=yes
6847 fi
6848 else
6849 result=$wxUSE_FFILE
6850 fi
6851
6852 { echo "$as_me:$LINENO: result: $result" >&5
6853 echo "${ECHO_T}$result" >&6; }
6854
6855
6856 enablestring=
6857 defaultval=$wxUSE_ALL_FEATURES
6858 if test -z "$defaultval"; then
6859 if test x"$enablestring" = xdisable; then
6860 defaultval=yes
6861 else
6862 defaultval=no
6863 fi
6864 fi
6865
6866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6867 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6868 # Check whether --enable-file was given.
6869 if test "${enable_file+set}" = set; then
6870 enableval=$enable_file;
6871 if test "$enableval" = yes; then
6872 wx_cv_use_file='wxUSE_FILE=yes'
6873 else
6874 wx_cv_use_file='wxUSE_FILE=no'
6875 fi
6876
6877 else
6878
6879 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6880
6881 fi
6882
6883
6884 eval "$wx_cv_use_file"
6885
6886 if test x"$enablestring" = xdisable; then
6887 if test $wxUSE_FILE = yes; then
6888 result=no
6889 else
6890 result=yes
6891 fi
6892 else
6893 result=$wxUSE_FILE
6894 fi
6895
6896 { echo "$as_me:$LINENO: result: $result" >&5
6897 echo "${ECHO_T}$result" >&6; }
6898
6899
6900 enablestring=
6901 defaultval=$wxUSE_ALL_FEATURES
6902 if test -z "$defaultval"; then
6903 if test x"$enablestring" = xdisable; then
6904 defaultval=yes
6905 else
6906 defaultval=no
6907 fi
6908 fi
6909
6910 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6911 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6912 # Check whether --enable-filesystem was given.
6913 if test "${enable_filesystem+set}" = set; then
6914 enableval=$enable_filesystem;
6915 if test "$enableval" = yes; then
6916 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6917 else
6918 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6919 fi
6920
6921 else
6922
6923 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6924
6925 fi
6926
6927
6928 eval "$wx_cv_use_filesystem"
6929
6930 if test x"$enablestring" = xdisable; then
6931 if test $wxUSE_FILESYSTEM = yes; then
6932 result=no
6933 else
6934 result=yes
6935 fi
6936 else
6937 result=$wxUSE_FILESYSTEM
6938 fi
6939
6940 { echo "$as_me:$LINENO: result: $result" >&5
6941 echo "${ECHO_T}$result" >&6; }
6942
6943
6944 enablestring=
6945 defaultval=$wxUSE_ALL_FEATURES
6946 if test -z "$defaultval"; then
6947 if test x"$enablestring" = xdisable; then
6948 defaultval=yes
6949 else
6950 defaultval=no
6951 fi
6952 fi
6953
6954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6955 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6956 # Check whether --enable-fontenum was given.
6957 if test "${enable_fontenum+set}" = set; then
6958 enableval=$enable_fontenum;
6959 if test "$enableval" = yes; then
6960 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6961 else
6962 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6963 fi
6964
6965 else
6966
6967 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6968
6969 fi
6970
6971
6972 eval "$wx_cv_use_fontenum"
6973
6974 if test x"$enablestring" = xdisable; then
6975 if test $wxUSE_FONTENUM = yes; then
6976 result=no
6977 else
6978 result=yes
6979 fi
6980 else
6981 result=$wxUSE_FONTENUM
6982 fi
6983
6984 { echo "$as_me:$LINENO: result: $result" >&5
6985 echo "${ECHO_T}$result" >&6; }
6986
6987
6988 enablestring=
6989 defaultval=$wxUSE_ALL_FEATURES
6990 if test -z "$defaultval"; then
6991 if test x"$enablestring" = xdisable; then
6992 defaultval=yes
6993 else
6994 defaultval=no
6995 fi
6996 fi
6997
6998 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6999 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7000 # Check whether --enable-fontmap was given.
7001 if test "${enable_fontmap+set}" = set; then
7002 enableval=$enable_fontmap;
7003 if test "$enableval" = yes; then
7004 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7005 else
7006 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7007 fi
7008
7009 else
7010
7011 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7012
7013 fi
7014
7015
7016 eval "$wx_cv_use_fontmap"
7017
7018 if test x"$enablestring" = xdisable; then
7019 if test $wxUSE_FONTMAP = yes; then
7020 result=no
7021 else
7022 result=yes
7023 fi
7024 else
7025 result=$wxUSE_FONTMAP
7026 fi
7027
7028 { echo "$as_me:$LINENO: result: $result" >&5
7029 echo "${ECHO_T}$result" >&6; }
7030
7031
7032 enablestring=
7033 defaultval=$wxUSE_ALL_FEATURES
7034 if test -z "$defaultval"; then
7035 if test x"$enablestring" = xdisable; then
7036 defaultval=yes
7037 else
7038 defaultval=no
7039 fi
7040 fi
7041
7042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7043 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7044 # Check whether --enable-fs_archive was given.
7045 if test "${enable_fs_archive+set}" = set; then
7046 enableval=$enable_fs_archive;
7047 if test "$enableval" = yes; then
7048 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7049 else
7050 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7051 fi
7052
7053 else
7054
7055 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7056
7057 fi
7058
7059
7060 eval "$wx_cv_use_fs_archive"
7061
7062 if test x"$enablestring" = xdisable; then
7063 if test $wxUSE_FS_ARCHIVE = yes; then
7064 result=no
7065 else
7066 result=yes
7067 fi
7068 else
7069 result=$wxUSE_FS_ARCHIVE
7070 fi
7071
7072 { echo "$as_me:$LINENO: result: $result" >&5
7073 echo "${ECHO_T}$result" >&6; }
7074
7075
7076 enablestring=
7077 defaultval=$wxUSE_ALL_FEATURES
7078 if test -z "$defaultval"; then
7079 if test x"$enablestring" = xdisable; then
7080 defaultval=yes
7081 else
7082 defaultval=no
7083 fi
7084 fi
7085
7086 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7088 # Check whether --enable-fs_inet was given.
7089 if test "${enable_fs_inet+set}" = set; then
7090 enableval=$enable_fs_inet;
7091 if test "$enableval" = yes; then
7092 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7093 else
7094 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7095 fi
7096
7097 else
7098
7099 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7100
7101 fi
7102
7103
7104 eval "$wx_cv_use_fs_inet"
7105
7106 if test x"$enablestring" = xdisable; then
7107 if test $wxUSE_FS_INET = yes; then
7108 result=no
7109 else
7110 result=yes
7111 fi
7112 else
7113 result=$wxUSE_FS_INET
7114 fi
7115
7116 { echo "$as_me:$LINENO: result: $result" >&5
7117 echo "${ECHO_T}$result" >&6; }
7118
7119
7120 enablestring=
7121 defaultval=$wxUSE_ALL_FEATURES
7122 if test -z "$defaultval"; then
7123 if test x"$enablestring" = xdisable; then
7124 defaultval=yes
7125 else
7126 defaultval=no
7127 fi
7128 fi
7129
7130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7132 # Check whether --enable-fs_zip was given.
7133 if test "${enable_fs_zip+set}" = set; then
7134 enableval=$enable_fs_zip;
7135 if test "$enableval" = yes; then
7136 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7137 else
7138 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7139 fi
7140
7141 else
7142
7143 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7144
7145 fi
7146
7147
7148 eval "$wx_cv_use_fs_zip"
7149
7150 if test x"$enablestring" = xdisable; then
7151 if test $wxUSE_FS_ZIP = yes; then
7152 result=no
7153 else
7154 result=yes
7155 fi
7156 else
7157 result=$wxUSE_FS_ZIP
7158 fi
7159
7160 { echo "$as_me:$LINENO: result: $result" >&5
7161 echo "${ECHO_T}$result" >&6; }
7162
7163
7164 enablestring=
7165 defaultval=$wxUSE_ALL_FEATURES
7166 if test -z "$defaultval"; then
7167 if test x"$enablestring" = xdisable; then
7168 defaultval=yes
7169 else
7170 defaultval=no
7171 fi
7172 fi
7173
7174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7175 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7176 # Check whether --enable-geometry was given.
7177 if test "${enable_geometry+set}" = set; then
7178 enableval=$enable_geometry;
7179 if test "$enableval" = yes; then
7180 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7181 else
7182 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7183 fi
7184
7185 else
7186
7187 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7188
7189 fi
7190
7191
7192 eval "$wx_cv_use_geometry"
7193
7194 if test x"$enablestring" = xdisable; then
7195 if test $wxUSE_GEOMETRY = yes; then
7196 result=no
7197 else
7198 result=yes
7199 fi
7200 else
7201 result=$wxUSE_GEOMETRY
7202 fi
7203
7204 { echo "$as_me:$LINENO: result: $result" >&5
7205 echo "${ECHO_T}$result" >&6; }
7206
7207
7208 enablestring=
7209 defaultval=$wxUSE_ALL_FEATURES
7210 if test -z "$defaultval"; then
7211 if test x"$enablestring" = xdisable; then
7212 defaultval=yes
7213 else
7214 defaultval=no
7215 fi
7216 fi
7217
7218 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7219 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7220 # Check whether --enable-log was given.
7221 if test "${enable_log+set}" = set; then
7222 enableval=$enable_log;
7223 if test "$enableval" = yes; then
7224 wx_cv_use_log='wxUSE_LOG=yes'
7225 else
7226 wx_cv_use_log='wxUSE_LOG=no'
7227 fi
7228
7229 else
7230
7231 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7232
7233 fi
7234
7235
7236 eval "$wx_cv_use_log"
7237
7238 if test x"$enablestring" = xdisable; then
7239 if test $wxUSE_LOG = yes; then
7240 result=no
7241 else
7242 result=yes
7243 fi
7244 else
7245 result=$wxUSE_LOG
7246 fi
7247
7248 { echo "$as_me:$LINENO: result: $result" >&5
7249 echo "${ECHO_T}$result" >&6; }
7250
7251
7252 enablestring=
7253 defaultval=$wxUSE_ALL_FEATURES
7254 if test -z "$defaultval"; then
7255 if test x"$enablestring" = xdisable; then
7256 defaultval=yes
7257 else
7258 defaultval=no
7259 fi
7260 fi
7261
7262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7263 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7264 # Check whether --enable-longlong was given.
7265 if test "${enable_longlong+set}" = set; then
7266 enableval=$enable_longlong;
7267 if test "$enableval" = yes; then
7268 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7269 else
7270 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7271 fi
7272
7273 else
7274
7275 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7276
7277 fi
7278
7279
7280 eval "$wx_cv_use_longlong"
7281
7282 if test x"$enablestring" = xdisable; then
7283 if test $wxUSE_LONGLONG = yes; then
7284 result=no
7285 else
7286 result=yes
7287 fi
7288 else
7289 result=$wxUSE_LONGLONG
7290 fi
7291
7292 { echo "$as_me:$LINENO: result: $result" >&5
7293 echo "${ECHO_T}$result" >&6; }
7294
7295
7296 enablestring=
7297 defaultval=$wxUSE_ALL_FEATURES
7298 if test -z "$defaultval"; then
7299 if test x"$enablestring" = xdisable; then
7300 defaultval=yes
7301 else
7302 defaultval=no
7303 fi
7304 fi
7305
7306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7307 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7308 # Check whether --enable-mimetype was given.
7309 if test "${enable_mimetype+set}" = set; then
7310 enableval=$enable_mimetype;
7311 if test "$enableval" = yes; then
7312 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7313 else
7314 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7315 fi
7316
7317 else
7318
7319 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7320
7321 fi
7322
7323
7324 eval "$wx_cv_use_mimetype"
7325
7326 if test x"$enablestring" = xdisable; then
7327 if test $wxUSE_MIMETYPE = yes; then
7328 result=no
7329 else
7330 result=yes
7331 fi
7332 else
7333 result=$wxUSE_MIMETYPE
7334 fi
7335
7336 { echo "$as_me:$LINENO: result: $result" >&5
7337 echo "${ECHO_T}$result" >&6; }
7338
7339
7340 enablestring=
7341 defaultval=$wxUSE_ALL_FEATURES
7342 if test -z "$defaultval"; then
7343 if test x"$enablestring" = xdisable; then
7344 defaultval=yes
7345 else
7346 defaultval=no
7347 fi
7348 fi
7349
7350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7351 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7352 # Check whether --enable-printfposparam was given.
7353 if test "${enable_printfposparam+set}" = set; then
7354 enableval=$enable_printfposparam;
7355 if test "$enableval" = yes; then
7356 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7357 else
7358 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7359 fi
7360
7361 else
7362
7363 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7364
7365 fi
7366
7367
7368 eval "$wx_cv_use_printfposparam"
7369
7370 if test x"$enablestring" = xdisable; then
7371 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7372 result=no
7373 else
7374 result=yes
7375 fi
7376 else
7377 result=$wxUSE_PRINTF_POS_PARAMS
7378 fi
7379
7380 { echo "$as_me:$LINENO: result: $result" >&5
7381 echo "${ECHO_T}$result" >&6; }
7382
7383
7384 enablestring=
7385 defaultval=$wxUSE_ALL_FEATURES
7386 if test -z "$defaultval"; then
7387 if test x"$enablestring" = xdisable; then
7388 defaultval=yes
7389 else
7390 defaultval=no
7391 fi
7392 fi
7393
7394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7395 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7396 # Check whether --enable-snglinst was given.
7397 if test "${enable_snglinst+set}" = set; then
7398 enableval=$enable_snglinst;
7399 if test "$enableval" = yes; then
7400 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7401 else
7402 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7403 fi
7404
7405 else
7406
7407 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7408
7409 fi
7410
7411
7412 eval "$wx_cv_use_snglinst"
7413
7414 if test x"$enablestring" = xdisable; then
7415 if test $wxUSE_SNGLINST_CHECKER = yes; then
7416 result=no
7417 else
7418 result=yes
7419 fi
7420 else
7421 result=$wxUSE_SNGLINST_CHECKER
7422 fi
7423
7424 { echo "$as_me:$LINENO: result: $result" >&5
7425 echo "${ECHO_T}$result" >&6; }
7426
7427
7428 enablestring=
7429 defaultval=$wxUSE_ALL_FEATURES
7430 if test -z "$defaultval"; then
7431 if test x"$enablestring" = xdisable; then
7432 defaultval=yes
7433 else
7434 defaultval=no
7435 fi
7436 fi
7437
7438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7440 # Check whether --enable-sound was given.
7441 if test "${enable_sound+set}" = set; then
7442 enableval=$enable_sound;
7443 if test "$enableval" = yes; then
7444 wx_cv_use_sound='wxUSE_SOUND=yes'
7445 else
7446 wx_cv_use_sound='wxUSE_SOUND=no'
7447 fi
7448
7449 else
7450
7451 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7452
7453 fi
7454
7455
7456 eval "$wx_cv_use_sound"
7457
7458 if test x"$enablestring" = xdisable; then
7459 if test $wxUSE_SOUND = yes; then
7460 result=no
7461 else
7462 result=yes
7463 fi
7464 else
7465 result=$wxUSE_SOUND
7466 fi
7467
7468 { echo "$as_me:$LINENO: result: $result" >&5
7469 echo "${ECHO_T}$result" >&6; }
7470
7471
7472 enablestring=
7473 defaultval=$wxUSE_ALL_FEATURES
7474 if test -z "$defaultval"; then
7475 if test x"$enablestring" = xdisable; then
7476 defaultval=yes
7477 else
7478 defaultval=no
7479 fi
7480 fi
7481
7482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7484 # Check whether --enable-stdpaths was given.
7485 if test "${enable_stdpaths+set}" = set; then
7486 enableval=$enable_stdpaths;
7487 if test "$enableval" = yes; then
7488 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7489 else
7490 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7491 fi
7492
7493 else
7494
7495 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7496
7497 fi
7498
7499
7500 eval "$wx_cv_use_stdpaths"
7501
7502 if test x"$enablestring" = xdisable; then
7503 if test $wxUSE_STDPATHS = yes; then
7504 result=no
7505 else
7506 result=yes
7507 fi
7508 else
7509 result=$wxUSE_STDPATHS
7510 fi
7511
7512 { echo "$as_me:$LINENO: result: $result" >&5
7513 echo "${ECHO_T}$result" >&6; }
7514
7515
7516 enablestring=
7517 defaultval=$wxUSE_ALL_FEATURES
7518 if test -z "$defaultval"; then
7519 if test x"$enablestring" = xdisable; then
7520 defaultval=yes
7521 else
7522 defaultval=no
7523 fi
7524 fi
7525
7526 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7527 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7528 # Check whether --enable-stopwatch was given.
7529 if test "${enable_stopwatch+set}" = set; then
7530 enableval=$enable_stopwatch;
7531 if test "$enableval" = yes; then
7532 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7533 else
7534 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7535 fi
7536
7537 else
7538
7539 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7540
7541 fi
7542
7543
7544 eval "$wx_cv_use_stopwatch"
7545
7546 if test x"$enablestring" = xdisable; then
7547 if test $wxUSE_STOPWATCH = yes; then
7548 result=no
7549 else
7550 result=yes
7551 fi
7552 else
7553 result=$wxUSE_STOPWATCH
7554 fi
7555
7556 { echo "$as_me:$LINENO: result: $result" >&5
7557 echo "${ECHO_T}$result" >&6; }
7558
7559
7560 enablestring=
7561 defaultval=$wxUSE_ALL_FEATURES
7562 if test -z "$defaultval"; then
7563 if test x"$enablestring" = xdisable; then
7564 defaultval=yes
7565 else
7566 defaultval=no
7567 fi
7568 fi
7569
7570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7571 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7572 # Check whether --enable-streams was given.
7573 if test "${enable_streams+set}" = set; then
7574 enableval=$enable_streams;
7575 if test "$enableval" = yes; then
7576 wx_cv_use_streams='wxUSE_STREAMS=yes'
7577 else
7578 wx_cv_use_streams='wxUSE_STREAMS=no'
7579 fi
7580
7581 else
7582
7583 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7584
7585 fi
7586
7587
7588 eval "$wx_cv_use_streams"
7589
7590 if test x"$enablestring" = xdisable; then
7591 if test $wxUSE_STREAMS = yes; then
7592 result=no
7593 else
7594 result=yes
7595 fi
7596 else
7597 result=$wxUSE_STREAMS
7598 fi
7599
7600 { echo "$as_me:$LINENO: result: $result" >&5
7601 echo "${ECHO_T}$result" >&6; }
7602
7603
7604 enablestring=
7605 defaultval=$wxUSE_ALL_FEATURES
7606 if test -z "$defaultval"; then
7607 if test x"$enablestring" = xdisable; then
7608 defaultval=yes
7609 else
7610 defaultval=no
7611 fi
7612 fi
7613
7614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7615 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7616 # Check whether --enable-system_options was given.
7617 if test "${enable_system_options+set}" = set; then
7618 enableval=$enable_system_options;
7619 if test "$enableval" = yes; then
7620 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7621 else
7622 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7623 fi
7624
7625 else
7626
7627 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7628
7629 fi
7630
7631
7632 eval "$wx_cv_use_system_options"
7633
7634 if test x"$enablestring" = xdisable; then
7635 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7636 result=no
7637 else
7638 result=yes
7639 fi
7640 else
7641 result=$wxUSE_SYSTEM_OPTIONS
7642 fi
7643
7644 { echo "$as_me:$LINENO: result: $result" >&5
7645 echo "${ECHO_T}$result" >&6; }
7646
7647
7648 enablestring=
7649 defaultval=$wxUSE_ALL_FEATURES
7650 if test -z "$defaultval"; then
7651 if test x"$enablestring" = xdisable; then
7652 defaultval=yes
7653 else
7654 defaultval=no
7655 fi
7656 fi
7657
7658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7659 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7660 # Check whether --enable-tarstream was given.
7661 if test "${enable_tarstream+set}" = set; then
7662 enableval=$enable_tarstream;
7663 if test "$enableval" = yes; then
7664 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7665 else
7666 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7667 fi
7668
7669 else
7670
7671 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7672
7673 fi
7674
7675
7676 eval "$wx_cv_use_tarstream"
7677
7678 if test x"$enablestring" = xdisable; then
7679 if test $wxUSE_TARSTREAM = yes; then
7680 result=no
7681 else
7682 result=yes
7683 fi
7684 else
7685 result=$wxUSE_TARSTREAM
7686 fi
7687
7688 { echo "$as_me:$LINENO: result: $result" >&5
7689 echo "${ECHO_T}$result" >&6; }
7690
7691
7692 enablestring=
7693 defaultval=$wxUSE_ALL_FEATURES
7694 if test -z "$defaultval"; then
7695 if test x"$enablestring" = xdisable; then
7696 defaultval=yes
7697 else
7698 defaultval=no
7699 fi
7700 fi
7701
7702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7703 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7704 # Check whether --enable-textbuf was given.
7705 if test "${enable_textbuf+set}" = set; then
7706 enableval=$enable_textbuf;
7707 if test "$enableval" = yes; then
7708 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7709 else
7710 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7711 fi
7712
7713 else
7714
7715 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7716
7717 fi
7718
7719
7720 eval "$wx_cv_use_textbuf"
7721
7722 if test x"$enablestring" = xdisable; then
7723 if test $wxUSE_TEXTBUFFER = yes; then
7724 result=no
7725 else
7726 result=yes
7727 fi
7728 else
7729 result=$wxUSE_TEXTBUFFER
7730 fi
7731
7732 { echo "$as_me:$LINENO: result: $result" >&5
7733 echo "${ECHO_T}$result" >&6; }
7734
7735
7736 enablestring=
7737 defaultval=$wxUSE_ALL_FEATURES
7738 if test -z "$defaultval"; then
7739 if test x"$enablestring" = xdisable; then
7740 defaultval=yes
7741 else
7742 defaultval=no
7743 fi
7744 fi
7745
7746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7747 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7748 # Check whether --enable-textfile was given.
7749 if test "${enable_textfile+set}" = set; then
7750 enableval=$enable_textfile;
7751 if test "$enableval" = yes; then
7752 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7753 else
7754 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7755 fi
7756
7757 else
7758
7759 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7760
7761 fi
7762
7763
7764 eval "$wx_cv_use_textfile"
7765
7766 if test x"$enablestring" = xdisable; then
7767 if test $wxUSE_TEXTFILE = yes; then
7768 result=no
7769 else
7770 result=yes
7771 fi
7772 else
7773 result=$wxUSE_TEXTFILE
7774 fi
7775
7776 { echo "$as_me:$LINENO: result: $result" >&5
7777 echo "${ECHO_T}$result" >&6; }
7778
7779
7780 enablestring=
7781 defaultval=$wxUSE_ALL_FEATURES
7782 if test -z "$defaultval"; then
7783 if test x"$enablestring" = xdisable; then
7784 defaultval=yes
7785 else
7786 defaultval=no
7787 fi
7788 fi
7789
7790 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7791 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7792 # Check whether --enable-timer was given.
7793 if test "${enable_timer+set}" = set; then
7794 enableval=$enable_timer;
7795 if test "$enableval" = yes; then
7796 wx_cv_use_timer='wxUSE_TIMER=yes'
7797 else
7798 wx_cv_use_timer='wxUSE_TIMER=no'
7799 fi
7800
7801 else
7802
7803 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7804
7805 fi
7806
7807
7808 eval "$wx_cv_use_timer"
7809
7810 if test x"$enablestring" = xdisable; then
7811 if test $wxUSE_TIMER = yes; then
7812 result=no
7813 else
7814 result=yes
7815 fi
7816 else
7817 result=$wxUSE_TIMER
7818 fi
7819
7820 { echo "$as_me:$LINENO: result: $result" >&5
7821 echo "${ECHO_T}$result" >&6; }
7822
7823
7824 enablestring=
7825 defaultval=$wxUSE_ALL_FEATURES
7826 if test -z "$defaultval"; then
7827 if test x"$enablestring" = xdisable; then
7828 defaultval=yes
7829 else
7830 defaultval=no
7831 fi
7832 fi
7833
7834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7835 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7836 # Check whether --enable-variant was given.
7837 if test "${enable_variant+set}" = set; then
7838 enableval=$enable_variant;
7839 if test "$enableval" = yes; then
7840 wx_cv_use_variant='wxUSE_VARIANT=yes'
7841 else
7842 wx_cv_use_variant='wxUSE_VARIANT=no'
7843 fi
7844
7845 else
7846
7847 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7848
7849 fi
7850
7851
7852 eval "$wx_cv_use_variant"
7853
7854 if test x"$enablestring" = xdisable; then
7855 if test $wxUSE_VARIANT = yes; then
7856 result=no
7857 else
7858 result=yes
7859 fi
7860 else
7861 result=$wxUSE_VARIANT
7862 fi
7863
7864 { echo "$as_me:$LINENO: result: $result" >&5
7865 echo "${ECHO_T}$result" >&6; }
7866
7867
7868 enablestring=
7869 defaultval=$wxUSE_ALL_FEATURES
7870 if test -z "$defaultval"; then
7871 if test x"$enablestring" = xdisable; then
7872 defaultval=yes
7873 else
7874 defaultval=no
7875 fi
7876 fi
7877
7878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7879 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7880 # Check whether --enable-zipstream was given.
7881 if test "${enable_zipstream+set}" = set; then
7882 enableval=$enable_zipstream;
7883 if test "$enableval" = yes; then
7884 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7885 else
7886 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7887 fi
7888
7889 else
7890
7891 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7892
7893 fi
7894
7895
7896 eval "$wx_cv_use_zipstream"
7897
7898 if test x"$enablestring" = xdisable; then
7899 if test $wxUSE_ZIPSTREAM = yes; then
7900 result=no
7901 else
7902 result=yes
7903 fi
7904 else
7905 result=$wxUSE_ZIPSTREAM
7906 fi
7907
7908 { echo "$as_me:$LINENO: result: $result" >&5
7909 echo "${ECHO_T}$result" >&6; }
7910
7911
7912
7913 enablestring=
7914 defaultval=$wxUSE_ALL_FEATURES
7915 if test -z "$defaultval"; then
7916 if test x"$enablestring" = xdisable; then
7917 defaultval=yes
7918 else
7919 defaultval=no
7920 fi
7921 fi
7922
7923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7924 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7925 # Check whether --enable-url was given.
7926 if test "${enable_url+set}" = set; then
7927 enableval=$enable_url;
7928 if test "$enableval" = yes; then
7929 wx_cv_use_url='wxUSE_URL=yes'
7930 else
7931 wx_cv_use_url='wxUSE_URL=no'
7932 fi
7933
7934 else
7935
7936 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7937
7938 fi
7939
7940
7941 eval "$wx_cv_use_url"
7942
7943 if test x"$enablestring" = xdisable; then
7944 if test $wxUSE_URL = yes; then
7945 result=no
7946 else
7947 result=yes
7948 fi
7949 else
7950 result=$wxUSE_URL
7951 fi
7952
7953 { echo "$as_me:$LINENO: result: $result" >&5
7954 echo "${ECHO_T}$result" >&6; }
7955
7956
7957 enablestring=
7958 defaultval=$wxUSE_ALL_FEATURES
7959 if test -z "$defaultval"; then
7960 if test x"$enablestring" = xdisable; then
7961 defaultval=yes
7962 else
7963 defaultval=no
7964 fi
7965 fi
7966
7967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7968 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7969 # Check whether --enable-protocol was given.
7970 if test "${enable_protocol+set}" = set; then
7971 enableval=$enable_protocol;
7972 if test "$enableval" = yes; then
7973 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7974 else
7975 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7976 fi
7977
7978 else
7979
7980 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7981
7982 fi
7983
7984
7985 eval "$wx_cv_use_protocol"
7986
7987 if test x"$enablestring" = xdisable; then
7988 if test $wxUSE_PROTOCOL = yes; then
7989 result=no
7990 else
7991 result=yes
7992 fi
7993 else
7994 result=$wxUSE_PROTOCOL
7995 fi
7996
7997 { echo "$as_me:$LINENO: result: $result" >&5
7998 echo "${ECHO_T}$result" >&6; }
7999
8000
8001 enablestring=
8002 defaultval=$wxUSE_ALL_FEATURES
8003 if test -z "$defaultval"; then
8004 if test x"$enablestring" = xdisable; then
8005 defaultval=yes
8006 else
8007 defaultval=no
8008 fi
8009 fi
8010
8011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8013 # Check whether --enable-protocol_http was given.
8014 if test "${enable_protocol_http+set}" = set; then
8015 enableval=$enable_protocol_http;
8016 if test "$enableval" = yes; then
8017 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8018 else
8019 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8020 fi
8021
8022 else
8023
8024 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8025
8026 fi
8027
8028
8029 eval "$wx_cv_use_protocol_http"
8030
8031 if test x"$enablestring" = xdisable; then
8032 if test $wxUSE_PROTOCOL_HTTP = yes; then
8033 result=no
8034 else
8035 result=yes
8036 fi
8037 else
8038 result=$wxUSE_PROTOCOL_HTTP
8039 fi
8040
8041 { echo "$as_me:$LINENO: result: $result" >&5
8042 echo "${ECHO_T}$result" >&6; }
8043
8044
8045 enablestring=
8046 defaultval=$wxUSE_ALL_FEATURES
8047 if test -z "$defaultval"; then
8048 if test x"$enablestring" = xdisable; then
8049 defaultval=yes
8050 else
8051 defaultval=no
8052 fi
8053 fi
8054
8055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8056 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8057 # Check whether --enable-protocol_ftp was given.
8058 if test "${enable_protocol_ftp+set}" = set; then
8059 enableval=$enable_protocol_ftp;
8060 if test "$enableval" = yes; then
8061 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8062 else
8063 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8064 fi
8065
8066 else
8067
8068 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8069
8070 fi
8071
8072
8073 eval "$wx_cv_use_protocol_ftp"
8074
8075 if test x"$enablestring" = xdisable; then
8076 if test $wxUSE_PROTOCOL_FTP = yes; then
8077 result=no
8078 else
8079 result=yes
8080 fi
8081 else
8082 result=$wxUSE_PROTOCOL_FTP
8083 fi
8084
8085 { echo "$as_me:$LINENO: result: $result" >&5
8086 echo "${ECHO_T}$result" >&6; }
8087
8088
8089 enablestring=
8090 defaultval=$wxUSE_ALL_FEATURES
8091 if test -z "$defaultval"; then
8092 if test x"$enablestring" = xdisable; then
8093 defaultval=yes
8094 else
8095 defaultval=no
8096 fi
8097 fi
8098
8099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8101 # Check whether --enable-protocol_file was given.
8102 if test "${enable_protocol_file+set}" = set; then
8103 enableval=$enable_protocol_file;
8104 if test "$enableval" = yes; then
8105 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8106 else
8107 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8108 fi
8109
8110 else
8111
8112 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8113
8114 fi
8115
8116
8117 eval "$wx_cv_use_protocol_file"
8118
8119 if test x"$enablestring" = xdisable; then
8120 if test $wxUSE_PROTOCOL_FILE = yes; then
8121 result=no
8122 else
8123 result=yes
8124 fi
8125 else
8126 result=$wxUSE_PROTOCOL_FILE
8127 fi
8128
8129 { echo "$as_me:$LINENO: result: $result" >&5
8130 echo "${ECHO_T}$result" >&6; }
8131
8132
8133
8134 enablestring=
8135 defaultval=$wxUSE_ALL_FEATURES
8136 if test -z "$defaultval"; then
8137 if test x"$enablestring" = xdisable; then
8138 defaultval=yes
8139 else
8140 defaultval=no
8141 fi
8142 fi
8143
8144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8145 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8146 # Check whether --enable-threads was given.
8147 if test "${enable_threads+set}" = set; then
8148 enableval=$enable_threads;
8149 if test "$enableval" = yes; then
8150 wx_cv_use_threads='wxUSE_THREADS=yes'
8151 else
8152 wx_cv_use_threads='wxUSE_THREADS=no'
8153 fi
8154
8155 else
8156
8157 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8158
8159 fi
8160
8161
8162 eval "$wx_cv_use_threads"
8163
8164 if test x"$enablestring" = xdisable; then
8165 if test $wxUSE_THREADS = yes; then
8166 result=no
8167 else
8168 result=yes
8169 fi
8170 else
8171 result=$wxUSE_THREADS
8172 fi
8173
8174 { echo "$as_me:$LINENO: result: $result" >&5
8175 echo "${ECHO_T}$result" >&6; }
8176
8177
8178
8179 enablestring=
8180 defaultval=
8181 if test -z "$defaultval"; then
8182 if test x"$enablestring" = xdisable; then
8183 defaultval=yes
8184 else
8185 defaultval=no
8186 fi
8187 fi
8188
8189 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8190 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8191 # Check whether --enable-iniconf was given.
8192 if test "${enable_iniconf+set}" = set; then
8193 enableval=$enable_iniconf;
8194 if test "$enableval" = yes; then
8195 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8196 else
8197 wx_cv_use_iniconf='wxUSE_INICONF=no'
8198 fi
8199
8200 else
8201
8202 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8203
8204 fi
8205
8206
8207 eval "$wx_cv_use_iniconf"
8208
8209 if test x"$enablestring" = xdisable; then
8210 if test $wxUSE_INICONF = yes; then
8211 result=no
8212 else
8213 result=yes
8214 fi
8215 else
8216 result=$wxUSE_INICONF
8217 fi
8218
8219 { echo "$as_me:$LINENO: result: $result" >&5
8220 echo "${ECHO_T}$result" >&6; }
8221
8222
8223 enablestring=
8224 defaultval=$wxUSE_ALL_FEATURES
8225 if test -z "$defaultval"; then
8226 if test x"$enablestring" = xdisable; then
8227 defaultval=yes
8228 else
8229 defaultval=no
8230 fi
8231 fi
8232
8233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8234 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8235 # Check whether --enable-regkey was given.
8236 if test "${enable_regkey+set}" = set; then
8237 enableval=$enable_regkey;
8238 if test "$enableval" = yes; then
8239 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8240 else
8241 wx_cv_use_regkey='wxUSE_REGKEY=no'
8242 fi
8243
8244 else
8245
8246 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8247
8248 fi
8249
8250
8251 eval "$wx_cv_use_regkey"
8252
8253 if test x"$enablestring" = xdisable; then
8254 if test $wxUSE_REGKEY = yes; then
8255 result=no
8256 else
8257 result=yes
8258 fi
8259 else
8260 result=$wxUSE_REGKEY
8261 fi
8262
8263 { echo "$as_me:$LINENO: result: $result" >&5
8264 echo "${ECHO_T}$result" >&6; }
8265
8266
8267 if test "$wxUSE_GUI" = "yes"; then
8268
8269
8270
8271 enablestring=
8272 defaultval=$wxUSE_ALL_FEATURES
8273 if test -z "$defaultval"; then
8274 if test x"$enablestring" = xdisable; then
8275 defaultval=yes
8276 else
8277 defaultval=no
8278 fi
8279 fi
8280
8281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8283 # Check whether --enable-docview was given.
8284 if test "${enable_docview+set}" = set; then
8285 enableval=$enable_docview;
8286 if test "$enableval" = yes; then
8287 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8288 else
8289 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8290 fi
8291
8292 else
8293
8294 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8295
8296 fi
8297
8298
8299 eval "$wx_cv_use_docview"
8300
8301 if test x"$enablestring" = xdisable; then
8302 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8303 result=no
8304 else
8305 result=yes
8306 fi
8307 else
8308 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8309 fi
8310
8311 { echo "$as_me:$LINENO: result: $result" >&5
8312 echo "${ECHO_T}$result" >&6; }
8313
8314
8315 enablestring=
8316 defaultval=$wxUSE_ALL_FEATURES
8317 if test -z "$defaultval"; then
8318 if test x"$enablestring" = xdisable; then
8319 defaultval=yes
8320 else
8321 defaultval=no
8322 fi
8323 fi
8324
8325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8326 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8327 # Check whether --enable-help was given.
8328 if test "${enable_help+set}" = set; then
8329 enableval=$enable_help;
8330 if test "$enableval" = yes; then
8331 wx_cv_use_help='wxUSE_HELP=yes'
8332 else
8333 wx_cv_use_help='wxUSE_HELP=no'
8334 fi
8335
8336 else
8337
8338 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8339
8340 fi
8341
8342
8343 eval "$wx_cv_use_help"
8344
8345 if test x"$enablestring" = xdisable; then
8346 if test $wxUSE_HELP = yes; then
8347 result=no
8348 else
8349 result=yes
8350 fi
8351 else
8352 result=$wxUSE_HELP
8353 fi
8354
8355 { echo "$as_me:$LINENO: result: $result" >&5
8356 echo "${ECHO_T}$result" >&6; }
8357
8358
8359 enablestring=
8360 defaultval=$wxUSE_ALL_FEATURES
8361 if test -z "$defaultval"; then
8362 if test x"$enablestring" = xdisable; then
8363 defaultval=yes
8364 else
8365 defaultval=no
8366 fi
8367 fi
8368
8369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8371 # Check whether --enable-mshtmlhelp was given.
8372 if test "${enable_mshtmlhelp+set}" = set; then
8373 enableval=$enable_mshtmlhelp;
8374 if test "$enableval" = yes; then
8375 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8376 else
8377 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8378 fi
8379
8380 else
8381
8382 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8383
8384 fi
8385
8386
8387 eval "$wx_cv_use_mshtmlhelp"
8388
8389 if test x"$enablestring" = xdisable; then
8390 if test $wxUSE_MS_HTML_HELP = yes; then
8391 result=no
8392 else
8393 result=yes
8394 fi
8395 else
8396 result=$wxUSE_MS_HTML_HELP
8397 fi
8398
8399 { echo "$as_me:$LINENO: result: $result" >&5
8400 echo "${ECHO_T}$result" >&6; }
8401
8402
8403 enablestring=
8404 defaultval=$wxUSE_ALL_FEATURES
8405 if test -z "$defaultval"; then
8406 if test x"$enablestring" = xdisable; then
8407 defaultval=yes
8408 else
8409 defaultval=no
8410 fi
8411 fi
8412
8413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8414 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8415 # Check whether --enable-html was given.
8416 if test "${enable_html+set}" = set; then
8417 enableval=$enable_html;
8418 if test "$enableval" = yes; then
8419 wx_cv_use_html='wxUSE_HTML=yes'
8420 else
8421 wx_cv_use_html='wxUSE_HTML=no'
8422 fi
8423
8424 else
8425
8426 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8427
8428 fi
8429
8430
8431 eval "$wx_cv_use_html"
8432
8433 if test x"$enablestring" = xdisable; then
8434 if test $wxUSE_HTML = yes; then
8435 result=no
8436 else
8437 result=yes
8438 fi
8439 else
8440 result=$wxUSE_HTML
8441 fi
8442
8443 { echo "$as_me:$LINENO: result: $result" >&5
8444 echo "${ECHO_T}$result" >&6; }
8445
8446
8447 enablestring=
8448 defaultval=$wxUSE_ALL_FEATURES
8449 if test -z "$defaultval"; then
8450 if test x"$enablestring" = xdisable; then
8451 defaultval=yes
8452 else
8453 defaultval=no
8454 fi
8455 fi
8456
8457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8458 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8459 # Check whether --enable-htmlhelp was given.
8460 if test "${enable_htmlhelp+set}" = set; then
8461 enableval=$enable_htmlhelp;
8462 if test "$enableval" = yes; then
8463 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8464 else
8465 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8466 fi
8467
8468 else
8469
8470 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8471
8472 fi
8473
8474
8475 eval "$wx_cv_use_htmlhelp"
8476
8477 if test x"$enablestring" = xdisable; then
8478 if test $wxUSE_WXHTML_HELP = yes; then
8479 result=no
8480 else
8481 result=yes
8482 fi
8483 else
8484 result=$wxUSE_WXHTML_HELP
8485 fi
8486
8487 { echo "$as_me:$LINENO: result: $result" >&5
8488 echo "${ECHO_T}$result" >&6; }
8489
8490
8491 enablestring=
8492 defaultval=$wxUSE_ALL_FEATURES
8493 if test -z "$defaultval"; then
8494 if test x"$enablestring" = xdisable; then
8495 defaultval=yes
8496 else
8497 defaultval=no
8498 fi
8499 fi
8500
8501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8502 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8503 # Check whether --enable-xrc was given.
8504 if test "${enable_xrc+set}" = set; then
8505 enableval=$enable_xrc;
8506 if test "$enableval" = yes; then
8507 wx_cv_use_xrc='wxUSE_XRC=yes'
8508 else
8509 wx_cv_use_xrc='wxUSE_XRC=no'
8510 fi
8511
8512 else
8513
8514 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8515
8516 fi
8517
8518
8519 eval "$wx_cv_use_xrc"
8520
8521 if test x"$enablestring" = xdisable; then
8522 if test $wxUSE_XRC = yes; then
8523 result=no
8524 else
8525 result=yes
8526 fi
8527 else
8528 result=$wxUSE_XRC
8529 fi
8530
8531 { echo "$as_me:$LINENO: result: $result" >&5
8532 echo "${ECHO_T}$result" >&6; }
8533
8534
8535 enablestring=
8536 defaultval=$wxUSE_ALL_FEATURES
8537 if test -z "$defaultval"; then
8538 if test x"$enablestring" = xdisable; then
8539 defaultval=yes
8540 else
8541 defaultval=no
8542 fi
8543 fi
8544
8545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8546 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8547 # Check whether --enable-aui was given.
8548 if test "${enable_aui+set}" = set; then
8549 enableval=$enable_aui;
8550 if test "$enableval" = yes; then
8551 wx_cv_use_aui='wxUSE_AUI=yes'
8552 else
8553 wx_cv_use_aui='wxUSE_AUI=no'
8554 fi
8555
8556 else
8557
8558 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8559
8560 fi
8561
8562
8563 eval "$wx_cv_use_aui"
8564
8565 if test x"$enablestring" = xdisable; then
8566 if test $wxUSE_AUI = yes; then
8567 result=no
8568 else
8569 result=yes
8570 fi
8571 else
8572 result=$wxUSE_AUI
8573 fi
8574
8575 { echo "$as_me:$LINENO: result: $result" >&5
8576 echo "${ECHO_T}$result" >&6; }
8577
8578
8579 enablestring=
8580 defaultval=$wxUSE_ALL_FEATURES
8581 if test -z "$defaultval"; then
8582 if test x"$enablestring" = xdisable; then
8583 defaultval=yes
8584 else
8585 defaultval=no
8586 fi
8587 fi
8588
8589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8590 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8591 # Check whether --enable-propgrid was given.
8592 if test "${enable_propgrid+set}" = set; then
8593 enableval=$enable_propgrid;
8594 if test "$enableval" = yes; then
8595 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8596 else
8597 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8598 fi
8599
8600 else
8601
8602 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8603
8604 fi
8605
8606
8607 eval "$wx_cv_use_propgrid"
8608
8609 if test x"$enablestring" = xdisable; then
8610 if test $wxUSE_PROPGRID = yes; then
8611 result=no
8612 else
8613 result=yes
8614 fi
8615 else
8616 result=$wxUSE_PROPGRID
8617 fi
8618
8619 { echo "$as_me:$LINENO: result: $result" >&5
8620 echo "${ECHO_T}$result" >&6; }
8621
8622
8623 enablestring=
8624 defaultval=$wxUSE_ALL_FEATURES
8625 if test -z "$defaultval"; then
8626 if test x"$enablestring" = xdisable; then
8627 defaultval=yes
8628 else
8629 defaultval=no
8630 fi
8631 fi
8632
8633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8634 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8635 # Check whether --enable-stc was given.
8636 if test "${enable_stc+set}" = set; then
8637 enableval=$enable_stc;
8638 if test "$enableval" = yes; then
8639 wx_cv_use_stc='wxUSE_STC=yes'
8640 else
8641 wx_cv_use_stc='wxUSE_STC=no'
8642 fi
8643
8644 else
8645
8646 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8647
8648 fi
8649
8650
8651 eval "$wx_cv_use_stc"
8652
8653 if test x"$enablestring" = xdisable; then
8654 if test $wxUSE_STC = yes; then
8655 result=no
8656 else
8657 result=yes
8658 fi
8659 else
8660 result=$wxUSE_STC
8661 fi
8662
8663 { echo "$as_me:$LINENO: result: $result" >&5
8664 echo "${ECHO_T}$result" >&6; }
8665
8666
8667 enablestring=
8668 defaultval=$wxUSE_ALL_FEATURES
8669 if test -z "$defaultval"; then
8670 if test x"$enablestring" = xdisable; then
8671 defaultval=yes
8672 else
8673 defaultval=no
8674 fi
8675 fi
8676
8677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8678 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8679 # Check whether --enable-constraints was given.
8680 if test "${enable_constraints+set}" = set; then
8681 enableval=$enable_constraints;
8682 if test "$enableval" = yes; then
8683 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8684 else
8685 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8686 fi
8687
8688 else
8689
8690 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8691
8692 fi
8693
8694
8695 eval "$wx_cv_use_constraints"
8696
8697 if test x"$enablestring" = xdisable; then
8698 if test $wxUSE_CONSTRAINTS = yes; then
8699 result=no
8700 else
8701 result=yes
8702 fi
8703 else
8704 result=$wxUSE_CONSTRAINTS
8705 fi
8706
8707 { echo "$as_me:$LINENO: result: $result" >&5
8708 echo "${ECHO_T}$result" >&6; }
8709
8710
8711 enablestring=
8712 defaultval=$wxUSE_ALL_FEATURES
8713 if test -z "$defaultval"; then
8714 if test x"$enablestring" = xdisable; then
8715 defaultval=yes
8716 else
8717 defaultval=no
8718 fi
8719 fi
8720
8721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8722 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8723 # Check whether --enable-loggui was given.
8724 if test "${enable_loggui+set}" = set; then
8725 enableval=$enable_loggui;
8726 if test "$enableval" = yes; then
8727 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8728 else
8729 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8730 fi
8731
8732 else
8733
8734 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8735
8736 fi
8737
8738
8739 eval "$wx_cv_use_loggui"
8740
8741 if test x"$enablestring" = xdisable; then
8742 if test $wxUSE_LOGGUI = yes; then
8743 result=no
8744 else
8745 result=yes
8746 fi
8747 else
8748 result=$wxUSE_LOGGUI
8749 fi
8750
8751 { echo "$as_me:$LINENO: result: $result" >&5
8752 echo "${ECHO_T}$result" >&6; }
8753
8754
8755 enablestring=
8756 defaultval=$wxUSE_ALL_FEATURES
8757 if test -z "$defaultval"; then
8758 if test x"$enablestring" = xdisable; then
8759 defaultval=yes
8760 else
8761 defaultval=no
8762 fi
8763 fi
8764
8765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8766 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8767 # Check whether --enable-logwin was given.
8768 if test "${enable_logwin+set}" = set; then
8769 enableval=$enable_logwin;
8770 if test "$enableval" = yes; then
8771 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8772 else
8773 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8774 fi
8775
8776 else
8777
8778 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8779
8780 fi
8781
8782
8783 eval "$wx_cv_use_logwin"
8784
8785 if test x"$enablestring" = xdisable; then
8786 if test $wxUSE_LOGWINDOW = yes; then
8787 result=no
8788 else
8789 result=yes
8790 fi
8791 else
8792 result=$wxUSE_LOGWINDOW
8793 fi
8794
8795 { echo "$as_me:$LINENO: result: $result" >&5
8796 echo "${ECHO_T}$result" >&6; }
8797
8798
8799 enablestring=
8800 defaultval=$wxUSE_ALL_FEATURES
8801 if test -z "$defaultval"; then
8802 if test x"$enablestring" = xdisable; then
8803 defaultval=yes
8804 else
8805 defaultval=no
8806 fi
8807 fi
8808
8809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8811 # Check whether --enable-logdialog was given.
8812 if test "${enable_logdialog+set}" = set; then
8813 enableval=$enable_logdialog;
8814 if test "$enableval" = yes; then
8815 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8816 else
8817 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8818 fi
8819
8820 else
8821
8822 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8823
8824 fi
8825
8826
8827 eval "$wx_cv_use_logdialog"
8828
8829 if test x"$enablestring" = xdisable; then
8830 if test $wxUSE_LOGDIALOG = yes; then
8831 result=no
8832 else
8833 result=yes
8834 fi
8835 else
8836 result=$wxUSE_LOGDIALOG
8837 fi
8838
8839 { echo "$as_me:$LINENO: result: $result" >&5
8840 echo "${ECHO_T}$result" >&6; }
8841
8842
8843 enablestring=
8844 defaultval=$wxUSE_ALL_FEATURES
8845 if test -z "$defaultval"; then
8846 if test x"$enablestring" = xdisable; then
8847 defaultval=yes
8848 else
8849 defaultval=no
8850 fi
8851 fi
8852
8853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8854 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8855 # Check whether --enable-mdi was given.
8856 if test "${enable_mdi+set}" = set; then
8857 enableval=$enable_mdi;
8858 if test "$enableval" = yes; then
8859 wx_cv_use_mdi='wxUSE_MDI=yes'
8860 else
8861 wx_cv_use_mdi='wxUSE_MDI=no'
8862 fi
8863
8864 else
8865
8866 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8867
8868 fi
8869
8870
8871 eval "$wx_cv_use_mdi"
8872
8873 if test x"$enablestring" = xdisable; then
8874 if test $wxUSE_MDI = yes; then
8875 result=no
8876 else
8877 result=yes
8878 fi
8879 else
8880 result=$wxUSE_MDI
8881 fi
8882
8883 { echo "$as_me:$LINENO: result: $result" >&5
8884 echo "${ECHO_T}$result" >&6; }
8885
8886
8887 enablestring=
8888 defaultval=$wxUSE_ALL_FEATURES
8889 if test -z "$defaultval"; then
8890 if test x"$enablestring" = xdisable; then
8891 defaultval=yes
8892 else
8893 defaultval=no
8894 fi
8895 fi
8896
8897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8898 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8899 # Check whether --enable-mdidoc was given.
8900 if test "${enable_mdidoc+set}" = set; then
8901 enableval=$enable_mdidoc;
8902 if test "$enableval" = yes; then
8903 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8904 else
8905 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8906 fi
8907
8908 else
8909
8910 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8911
8912 fi
8913
8914
8915 eval "$wx_cv_use_mdidoc"
8916
8917 if test x"$enablestring" = xdisable; then
8918 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8919 result=no
8920 else
8921 result=yes
8922 fi
8923 else
8924 result=$wxUSE_MDI_ARCHITECTURE
8925 fi
8926
8927 { echo "$as_me:$LINENO: result: $result" >&5
8928 echo "${ECHO_T}$result" >&6; }
8929
8930
8931 enablestring=
8932 defaultval=$wxUSE_ALL_FEATURES
8933 if test -z "$defaultval"; then
8934 if test x"$enablestring" = xdisable; then
8935 defaultval=yes
8936 else
8937 defaultval=no
8938 fi
8939 fi
8940
8941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8942 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8943 # Check whether --enable-mediactrl was given.
8944 if test "${enable_mediactrl+set}" = set; then
8945 enableval=$enable_mediactrl;
8946 if test "$enableval" = yes; then
8947 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8948 else
8949 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8950 fi
8951
8952 else
8953
8954 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8955
8956 fi
8957
8958
8959 eval "$wx_cv_use_mediactrl"
8960
8961 if test x"$enablestring" = xdisable; then
8962 if test $wxUSE_MEDIACTRL = yes; then
8963 result=no
8964 else
8965 result=yes
8966 fi
8967 else
8968 result=$wxUSE_MEDIACTRL
8969 fi
8970
8971 { echo "$as_me:$LINENO: result: $result" >&5
8972 echo "${ECHO_T}$result" >&6; }
8973
8974
8975 enablestring=
8976 defaultval=$wxUSE_ALL_FEATURES
8977 if test -z "$defaultval"; then
8978 if test x"$enablestring" = xdisable; then
8979 defaultval=yes
8980 else
8981 defaultval=no
8982 fi
8983 fi
8984
8985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8986 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8987 # Check whether --enable-gstreamer8 was given.
8988 if test "${enable_gstreamer8+set}" = set; then
8989 enableval=$enable_gstreamer8;
8990 if test "$enableval" = yes; then
8991 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8992 else
8993 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8994 fi
8995
8996 else
8997
8998 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8999
9000 fi
9001
9002
9003 eval "$wx_cv_use_gstreamer8"
9004
9005 if test x"$enablestring" = xdisable; then
9006 if test $wxUSE_GSTREAMER8 = yes; then
9007 result=no
9008 else
9009 result=yes
9010 fi
9011 else
9012 result=$wxUSE_GSTREAMER8
9013 fi
9014
9015 { echo "$as_me:$LINENO: result: $result" >&5
9016 echo "${ECHO_T}$result" >&6; }
9017
9018
9019 enablestring=
9020 defaultval=$wxUSE_ALL_FEATURES
9021 if test -z "$defaultval"; then
9022 if test x"$enablestring" = xdisable; then
9023 defaultval=yes
9024 else
9025 defaultval=no
9026 fi
9027 fi
9028
9029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9030 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9031 # Check whether --enable-webkit was given.
9032 if test "${enable_webkit+set}" = set; then
9033 enableval=$enable_webkit;
9034 if test "$enableval" = yes; then
9035 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9036 else
9037 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9038 fi
9039
9040 else
9041
9042 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9043
9044 fi
9045
9046
9047 eval "$wx_cv_use_webkit"
9048
9049 if test x"$enablestring" = xdisable; then
9050 if test $wxUSE_WEBKIT = yes; then
9051 result=no
9052 else
9053 result=yes
9054 fi
9055 else
9056 result=$wxUSE_WEBKIT
9057 fi
9058
9059 { echo "$as_me:$LINENO: result: $result" >&5
9060 echo "${ECHO_T}$result" >&6; }
9061
9062
9063 enablestring=
9064 defaultval=$wxUSE_ALL_FEATURES
9065 if test -z "$defaultval"; then
9066 if test x"$enablestring" = xdisable; then
9067 defaultval=yes
9068 else
9069 defaultval=no
9070 fi
9071 fi
9072
9073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9074 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9075 # Check whether --enable-richtext was given.
9076 if test "${enable_richtext+set}" = set; then
9077 enableval=$enable_richtext;
9078 if test "$enableval" = yes; then
9079 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9080 else
9081 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9082 fi
9083
9084 else
9085
9086 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9087
9088 fi
9089
9090
9091 eval "$wx_cv_use_richtext"
9092
9093 if test x"$enablestring" = xdisable; then
9094 if test $wxUSE_RICHTEXT = yes; then
9095 result=no
9096 else
9097 result=yes
9098 fi
9099 else
9100 result=$wxUSE_RICHTEXT
9101 fi
9102
9103 { echo "$as_me:$LINENO: result: $result" >&5
9104 echo "${ECHO_T}$result" >&6; }
9105
9106
9107 enablestring=
9108 defaultval=$wxUSE_ALL_FEATURES
9109 if test -z "$defaultval"; then
9110 if test x"$enablestring" = xdisable; then
9111 defaultval=yes
9112 else
9113 defaultval=no
9114 fi
9115 fi
9116
9117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9118 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9119 # Check whether --enable-graphics_ctx was given.
9120 if test "${enable_graphics_ctx+set}" = set; then
9121 enableval=$enable_graphics_ctx;
9122 if test "$enableval" = yes; then
9123 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9124 else
9125 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9126 fi
9127
9128 else
9129
9130 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9131
9132 fi
9133
9134
9135 eval "$wx_cv_use_graphics_ctx"
9136
9137 if test x"$enablestring" = xdisable; then
9138 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9139 result=no
9140 else
9141 result=yes
9142 fi
9143 else
9144 result=$wxUSE_GRAPHICS_CONTEXT
9145 fi
9146
9147 { echo "$as_me:$LINENO: result: $result" >&5
9148 echo "${ECHO_T}$result" >&6; }
9149
9150
9151 enablestring=
9152 defaultval=$wxUSE_ALL_FEATURES
9153 if test -z "$defaultval"; then
9154 if test x"$enablestring" = xdisable; then
9155 defaultval=yes
9156 else
9157 defaultval=no
9158 fi
9159 fi
9160
9161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9163 # Check whether --enable-postscript was given.
9164 if test "${enable_postscript+set}" = set; then
9165 enableval=$enable_postscript;
9166 if test "$enableval" = yes; then
9167 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9168 else
9169 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9170 fi
9171
9172 else
9173
9174 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9175
9176 fi
9177
9178
9179 eval "$wx_cv_use_postscript"
9180
9181 if test x"$enablestring" = xdisable; then
9182 if test $wxUSE_POSTSCRIPT = yes; then
9183 result=no
9184 else
9185 result=yes
9186 fi
9187 else
9188 result=$wxUSE_POSTSCRIPT
9189 fi
9190
9191 { echo "$as_me:$LINENO: result: $result" >&5
9192 echo "${ECHO_T}$result" >&6; }
9193
9194
9195 enablestring=
9196 defaultval=$wxUSE_ALL_FEATURES
9197 if test -z "$defaultval"; then
9198 if test x"$enablestring" = xdisable; then
9199 defaultval=yes
9200 else
9201 defaultval=no
9202 fi
9203 fi
9204
9205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9206 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9207 # Check whether --enable-printarch was given.
9208 if test "${enable_printarch+set}" = set; then
9209 enableval=$enable_printarch;
9210 if test "$enableval" = yes; then
9211 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9212 else
9213 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9214 fi
9215
9216 else
9217
9218 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9219
9220 fi
9221
9222
9223 eval "$wx_cv_use_printarch"
9224
9225 if test x"$enablestring" = xdisable; then
9226 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9227 result=no
9228 else
9229 result=yes
9230 fi
9231 else
9232 result=$wxUSE_PRINTING_ARCHITECTURE
9233 fi
9234
9235 { echo "$as_me:$LINENO: result: $result" >&5
9236 echo "${ECHO_T}$result" >&6; }
9237
9238
9239 enablestring=
9240 defaultval=$wxUSE_ALL_FEATURES
9241 if test -z "$defaultval"; then
9242 if test x"$enablestring" = xdisable; then
9243 defaultval=yes
9244 else
9245 defaultval=no
9246 fi
9247 fi
9248
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9251 # Check whether --enable-svg was given.
9252 if test "${enable_svg+set}" = set; then
9253 enableval=$enable_svg;
9254 if test "$enableval" = yes; then
9255 wx_cv_use_svg='wxUSE_SVG=yes'
9256 else
9257 wx_cv_use_svg='wxUSE_SVG=no'
9258 fi
9259
9260 else
9261
9262 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9263
9264 fi
9265
9266
9267 eval "$wx_cv_use_svg"
9268
9269 if test x"$enablestring" = xdisable; then
9270 if test $wxUSE_SVG = yes; then
9271 result=no
9272 else
9273 result=yes
9274 fi
9275 else
9276 result=$wxUSE_SVG
9277 fi
9278
9279 { echo "$as_me:$LINENO: result: $result" >&5
9280 echo "${ECHO_T}$result" >&6; }
9281
9282
9283
9284
9285 enablestring=
9286 defaultval=$wxUSE_ALL_FEATURES
9287 if test -z "$defaultval"; then
9288 if test x"$enablestring" = xdisable; then
9289 defaultval=yes
9290 else
9291 defaultval=no
9292 fi
9293 fi
9294
9295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9296 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9297 # Check whether --enable-clipboard was given.
9298 if test "${enable_clipboard+set}" = set; then
9299 enableval=$enable_clipboard;
9300 if test "$enableval" = yes; then
9301 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9302 else
9303 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9304 fi
9305
9306 else
9307
9308 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9309
9310 fi
9311
9312
9313 eval "$wx_cv_use_clipboard"
9314
9315 if test x"$enablestring" = xdisable; then
9316 if test $wxUSE_CLIPBOARD = yes; then
9317 result=no
9318 else
9319 result=yes
9320 fi
9321 else
9322 result=$wxUSE_CLIPBOARD
9323 fi
9324
9325 { echo "$as_me:$LINENO: result: $result" >&5
9326 echo "${ECHO_T}$result" >&6; }
9327
9328
9329 enablestring=
9330 defaultval=$wxUSE_ALL_FEATURES
9331 if test -z "$defaultval"; then
9332 if test x"$enablestring" = xdisable; then
9333 defaultval=yes
9334 else
9335 defaultval=no
9336 fi
9337 fi
9338
9339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9340 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9341 # Check whether --enable-dnd was given.
9342 if test "${enable_dnd+set}" = set; then
9343 enableval=$enable_dnd;
9344 if test "$enableval" = yes; then
9345 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9346 else
9347 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9348 fi
9349
9350 else
9351
9352 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9353
9354 fi
9355
9356
9357 eval "$wx_cv_use_dnd"
9358
9359 if test x"$enablestring" = xdisable; then
9360 if test $wxUSE_DRAG_AND_DROP = yes; then
9361 result=no
9362 else
9363 result=yes
9364 fi
9365 else
9366 result=$wxUSE_DRAG_AND_DROP
9367 fi
9368
9369 { echo "$as_me:$LINENO: result: $result" >&5
9370 echo "${ECHO_T}$result" >&6; }
9371
9372
9373 enablestring=
9374 defaultval=$wxUSE_ALL_FEATURES
9375 if test -z "$defaultval"; then
9376 if test x"$enablestring" = xdisable; then
9377 defaultval=yes
9378 else
9379 defaultval=no
9380 fi
9381 fi
9382
9383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9385 # Check whether --enable-metafile was given.
9386 if test "${enable_metafile+set}" = set; then
9387 enableval=$enable_metafile;
9388 if test "$enableval" = yes; then
9389 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9390 else
9391 wx_cv_use_metafile='wxUSE_METAFILE=no'
9392 fi
9393
9394 else
9395
9396 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9397
9398 fi
9399
9400
9401 eval "$wx_cv_use_metafile"
9402
9403 if test x"$enablestring" = xdisable; then
9404 if test $wxUSE_METAFILE = yes; then
9405 result=no
9406 else
9407 result=yes
9408 fi
9409 else
9410 result=$wxUSE_METAFILE
9411 fi
9412
9413 { echo "$as_me:$LINENO: result: $result" >&5
9414 echo "${ECHO_T}$result" >&6; }
9415
9416
9417
9418 DEFAULT_wxUSE_CONTROLS=none
9419
9420 enablestring=disable
9421 defaultval=
9422 if test -z "$defaultval"; then
9423 if test x"$enablestring" = xdisable; then
9424 defaultval=yes
9425 else
9426 defaultval=no
9427 fi
9428 fi
9429
9430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9431 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9432 # Check whether --enable-controls was given.
9433 if test "${enable_controls+set}" = set; then
9434 enableval=$enable_controls;
9435 if test "$enableval" = yes; then
9436 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9437 else
9438 wx_cv_use_controls='wxUSE_CONTROLS=no'
9439 fi
9440
9441 else
9442
9443 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9444
9445 fi
9446
9447
9448 eval "$wx_cv_use_controls"
9449
9450 if test x"$enablestring" = xdisable; then
9451 if test $wxUSE_CONTROLS = yes; then
9452 result=no
9453 else
9454 result=yes
9455 fi
9456 else
9457 result=$wxUSE_CONTROLS
9458 fi
9459
9460 { echo "$as_me:$LINENO: result: $result" >&5
9461 echo "${ECHO_T}$result" >&6; }
9462
9463
9464 if test "$wxUSE_CONTROLS" = "yes"; then
9465 DEFAULT_wxUSE_ACCEL=yes
9466 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9467 DEFAULT_wxUSE_BMPBUTTON=yes
9468 DEFAULT_wxUSE_BUTTON=yes
9469 DEFAULT_wxUSE_CALCTRL=yes
9470 DEFAULT_wxUSE_CARET=yes
9471 DEFAULT_wxUSE_COMBOBOX=yes
9472 DEFAULT_wxUSE_CHECKBOX=yes
9473 DEFAULT_wxUSE_CHECKLISTBOX=yes
9474 DEFAULT_wxUSE_CHOICE=yes
9475 DEFAULT_wxUSE_CHOICEBOOK=yes
9476 DEFAULT_wxUSE_COLLPANE=yes
9477 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9478 DEFAULT_wxUSE_COMBOBOX=yes
9479 DEFAULT_wxUSE_DATEPICKCTRL=yes
9480 DEFAULT_wxUSE_DISPLAY=yes
9481 DEFAULT_wxUSE_DETECT_SM=yes
9482 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9483 DEFAULT_wxUSE_FILECTRL=yes
9484 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9485 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9486 DEFAULT_wxUSE_GAUGE=yes
9487 DEFAULT_wxUSE_GRID=yes
9488 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9489 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9490 DEFAULT_wxUSE_IMAGLIST=yes
9491 DEFAULT_wxUSE_LISTBOOK=yes
9492 DEFAULT_wxUSE_LISTBOX=yes
9493 DEFAULT_wxUSE_LISTCTRL=yes
9494 DEFAULT_wxUSE_NOTEBOOK=yes
9495 DEFAULT_wxUSE_RADIOBOX=yes
9496 DEFAULT_wxUSE_RADIOBTN=yes
9497 DEFAULT_wxUSE_SASH=yes
9498 DEFAULT_wxUSE_SCROLLBAR=yes
9499 DEFAULT_wxUSE_SEARCHCTRL=yes
9500 DEFAULT_wxUSE_SLIDER=yes
9501 DEFAULT_wxUSE_SPINBTN=yes
9502 DEFAULT_wxUSE_SPINCTRL=yes
9503 DEFAULT_wxUSE_SPLITTER=yes
9504 DEFAULT_wxUSE_STATBMP=yes
9505 DEFAULT_wxUSE_STATBOX=yes
9506 DEFAULT_wxUSE_STATLINE=yes
9507 DEFAULT_wxUSE_STATUSBAR=yes
9508 DEFAULT_wxUSE_TAB_DIALOG=yes
9509 DEFAULT_wxUSE_TOGGLEBTN=yes
9510 DEFAULT_wxUSE_TOOLBAR=yes
9511 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9512 DEFAULT_wxUSE_TOOLTIPS=yes
9513 DEFAULT_wxUSE_TREEBOOK=yes
9514 DEFAULT_wxUSE_TOOLBOOK=yes
9515 DEFAULT_wxUSE_TREECTRL=yes
9516 DEFAULT_wxUSE_POPUPWIN=yes
9517 DEFAULT_wxUSE_TIPWINDOW=yes
9518 elif test "$wxUSE_CONTROLS" = "no"; then
9519 DEFAULT_wxUSE_ACCEL=no
9520 DEFAULT_wxUSE_ANIMATIONCTRL=no
9521 DEFAULT_wxUSE_BMPBUTTON=no
9522 DEFAULT_wxUSE_BUTTON=no
9523 DEFAULT_wxUSE_CALCTRL=no
9524 DEFAULT_wxUSE_CARET=no
9525 DEFAULT_wxUSE_COLLPANE=no
9526 DEFAULT_wxUSE_COMBOBOX=no
9527 DEFAULT_wxUSE_CHECKBOX=no
9528 DEFAULT_wxUSE_CHECKLISTBOX=no
9529 DEFAULT_wxUSE_CHOICE=no
9530 DEFAULT_wxUSE_CHOICEBOOK=no
9531 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9532 DEFAULT_wxUSE_COMBOBOX=no
9533 DEFAULT_wxUSE_DATEPICKCTRL=no
9534 DEFAULT_wxUSE_DISPLAY=no
9535 DEFAULT_wxUSE_DETECT_SM=no
9536 DEFAULT_wxUSE_DIRPICKERCTRL=no
9537 DEFAULT_wxUSE_FILECTRL=no
9538 DEFAULT_wxUSE_FILEPICKERCTRL=no
9539 DEFAULT_wxUSE_FONTPICKERCTRL=no
9540 DEFAULT_wxUSE_GAUGE=no
9541 DEFAULT_wxUSE_GRID=no
9542 DEFAULT_wxUSE_HYPERLINKCTRL=no
9543 DEFAULT_wxUSE_DATAVIEWCTRL=no
9544 DEFAULT_wxUSE_IMAGLIST=no
9545 DEFAULT_wxUSE_LISTBOOK=no
9546 DEFAULT_wxUSE_LISTBOX=no
9547 DEFAULT_wxUSE_LISTCTRL=no
9548 DEFAULT_wxUSE_NOTEBOOK=no
9549 DEFAULT_wxUSE_RADIOBOX=no
9550 DEFAULT_wxUSE_RADIOBTN=no
9551 DEFAULT_wxUSE_SASH=no
9552 DEFAULT_wxUSE_SCROLLBAR=no
9553 DEFAULT_wxUSE_SEARCHCTRL=no
9554 DEFAULT_wxUSE_SLIDER=no
9555 DEFAULT_wxUSE_SPINBTN=no
9556 DEFAULT_wxUSE_SPINCTRL=no
9557 DEFAULT_wxUSE_SPLITTER=no
9558 DEFAULT_wxUSE_STATBMP=no
9559 DEFAULT_wxUSE_STATBOX=no
9560 DEFAULT_wxUSE_STATLINE=no
9561 DEFAULT_wxUSE_STATUSBAR=no
9562 DEFAULT_wxUSE_TAB_DIALOG=no
9563 DEFAULT_wxUSE_TOGGLEBTN=no
9564 DEFAULT_wxUSE_TOOLBAR=no
9565 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9566 DEFAULT_wxUSE_TOOLTIPS=no
9567 DEFAULT_wxUSE_TREEBOOK=no
9568 DEFAULT_wxUSE_TOOLBOOK=no
9569 DEFAULT_wxUSE_TREECTRL=no
9570 DEFAULT_wxUSE_POPUPWIN=no
9571 DEFAULT_wxUSE_TIPWINDOW=no
9572 fi
9573
9574
9575 enablestring=
9576 defaultval=$wxUSE_ALL_FEATURES
9577 if test -z "$defaultval"; then
9578 if test x"$enablestring" = xdisable; then
9579 defaultval=yes
9580 else
9581 defaultval=no
9582 fi
9583 fi
9584
9585 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9586 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9587 # Check whether --enable-accel was given.
9588 if test "${enable_accel+set}" = set; then
9589 enableval=$enable_accel;
9590 if test "$enableval" = yes; then
9591 wx_cv_use_accel='wxUSE_ACCEL=yes'
9592 else
9593 wx_cv_use_accel='wxUSE_ACCEL=no'
9594 fi
9595
9596 else
9597
9598 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9599
9600 fi
9601
9602
9603 eval "$wx_cv_use_accel"
9604
9605 if test x"$enablestring" = xdisable; then
9606 if test $wxUSE_ACCEL = yes; then
9607 result=no
9608 else
9609 result=yes
9610 fi
9611 else
9612 result=$wxUSE_ACCEL
9613 fi
9614
9615 { echo "$as_me:$LINENO: result: $result" >&5
9616 echo "${ECHO_T}$result" >&6; }
9617
9618
9619 enablestring=
9620 defaultval=$wxUSE_ALL_FEATURES
9621 if test -z "$defaultval"; then
9622 if test x"$enablestring" = xdisable; then
9623 defaultval=yes
9624 else
9625 defaultval=no
9626 fi
9627 fi
9628
9629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9630 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9631 # Check whether --enable-animatectrl was given.
9632 if test "${enable_animatectrl+set}" = set; then
9633 enableval=$enable_animatectrl;
9634 if test "$enableval" = yes; then
9635 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9636 else
9637 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9638 fi
9639
9640 else
9641
9642 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9643
9644 fi
9645
9646
9647 eval "$wx_cv_use_animatectrl"
9648
9649 if test x"$enablestring" = xdisable; then
9650 if test $wxUSE_ANIMATIONCTRL = yes; then
9651 result=no
9652 else
9653 result=yes
9654 fi
9655 else
9656 result=$wxUSE_ANIMATIONCTRL
9657 fi
9658
9659 { echo "$as_me:$LINENO: result: $result" >&5
9660 echo "${ECHO_T}$result" >&6; }
9661
9662
9663 enablestring=
9664 defaultval=$wxUSE_ALL_FEATURES
9665 if test -z "$defaultval"; then
9666 if test x"$enablestring" = xdisable; then
9667 defaultval=yes
9668 else
9669 defaultval=no
9670 fi
9671 fi
9672
9673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9674 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9675 # Check whether --enable-button was given.
9676 if test "${enable_button+set}" = set; then
9677 enableval=$enable_button;
9678 if test "$enableval" = yes; then
9679 wx_cv_use_button='wxUSE_BUTTON=yes'
9680 else
9681 wx_cv_use_button='wxUSE_BUTTON=no'
9682 fi
9683
9684 else
9685
9686 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9687
9688 fi
9689
9690
9691 eval "$wx_cv_use_button"
9692
9693 if test x"$enablestring" = xdisable; then
9694 if test $wxUSE_BUTTON = yes; then
9695 result=no
9696 else
9697 result=yes
9698 fi
9699 else
9700 result=$wxUSE_BUTTON
9701 fi
9702
9703 { echo "$as_me:$LINENO: result: $result" >&5
9704 echo "${ECHO_T}$result" >&6; }
9705
9706
9707 enablestring=
9708 defaultval=$wxUSE_ALL_FEATURES
9709 if test -z "$defaultval"; then
9710 if test x"$enablestring" = xdisable; then
9711 defaultval=yes
9712 else
9713 defaultval=no
9714 fi
9715 fi
9716
9717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9718 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9719 # Check whether --enable-bmpbutton was given.
9720 if test "${enable_bmpbutton+set}" = set; then
9721 enableval=$enable_bmpbutton;
9722 if test "$enableval" = yes; then
9723 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9724 else
9725 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9726 fi
9727
9728 else
9729
9730 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9731
9732 fi
9733
9734
9735 eval "$wx_cv_use_bmpbutton"
9736
9737 if test x"$enablestring" = xdisable; then
9738 if test $wxUSE_BMPBUTTON = yes; then
9739 result=no
9740 else
9741 result=yes
9742 fi
9743 else
9744 result=$wxUSE_BMPBUTTON
9745 fi
9746
9747 { echo "$as_me:$LINENO: result: $result" >&5
9748 echo "${ECHO_T}$result" >&6; }
9749
9750
9751 enablestring=
9752 defaultval=$wxUSE_ALL_FEATURES
9753 if test -z "$defaultval"; then
9754 if test x"$enablestring" = xdisable; then
9755 defaultval=yes
9756 else
9757 defaultval=no
9758 fi
9759 fi
9760
9761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9762 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9763 # Check whether --enable-bmpcombobox was given.
9764 if test "${enable_bmpcombobox+set}" = set; then
9765 enableval=$enable_bmpcombobox;
9766 if test "$enableval" = yes; then
9767 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9768 else
9769 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9770 fi
9771
9772 else
9773
9774 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9775
9776 fi
9777
9778
9779 eval "$wx_cv_use_bmpcombobox"
9780
9781 if test x"$enablestring" = xdisable; then
9782 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9783 result=no
9784 else
9785 result=yes
9786 fi
9787 else
9788 result=$wxUSE_BITMAPCOMBOBOX
9789 fi
9790
9791 { echo "$as_me:$LINENO: result: $result" >&5
9792 echo "${ECHO_T}$result" >&6; }
9793
9794
9795 enablestring=
9796 defaultval=$wxUSE_ALL_FEATURES
9797 if test -z "$defaultval"; then
9798 if test x"$enablestring" = xdisable; then
9799 defaultval=yes
9800 else
9801 defaultval=no
9802 fi
9803 fi
9804
9805 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9806 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9807 # Check whether --enable-calendar was given.
9808 if test "${enable_calendar+set}" = set; then
9809 enableval=$enable_calendar;
9810 if test "$enableval" = yes; then
9811 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9812 else
9813 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9814 fi
9815
9816 else
9817
9818 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9819
9820 fi
9821
9822
9823 eval "$wx_cv_use_calendar"
9824
9825 if test x"$enablestring" = xdisable; then
9826 if test $wxUSE_CALCTRL = yes; then
9827 result=no
9828 else
9829 result=yes
9830 fi
9831 else
9832 result=$wxUSE_CALCTRL
9833 fi
9834
9835 { echo "$as_me:$LINENO: result: $result" >&5
9836 echo "${ECHO_T}$result" >&6; }
9837
9838
9839 enablestring=
9840 defaultval=$wxUSE_ALL_FEATURES
9841 if test -z "$defaultval"; then
9842 if test x"$enablestring" = xdisable; then
9843 defaultval=yes
9844 else
9845 defaultval=no
9846 fi
9847 fi
9848
9849 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9850 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9851 # Check whether --enable-caret was given.
9852 if test "${enable_caret+set}" = set; then
9853 enableval=$enable_caret;
9854 if test "$enableval" = yes; then
9855 wx_cv_use_caret='wxUSE_CARET=yes'
9856 else
9857 wx_cv_use_caret='wxUSE_CARET=no'
9858 fi
9859
9860 else
9861
9862 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9863
9864 fi
9865
9866
9867 eval "$wx_cv_use_caret"
9868
9869 if test x"$enablestring" = xdisable; then
9870 if test $wxUSE_CARET = yes; then
9871 result=no
9872 else
9873 result=yes
9874 fi
9875 else
9876 result=$wxUSE_CARET
9877 fi
9878
9879 { echo "$as_me:$LINENO: result: $result" >&5
9880 echo "${ECHO_T}$result" >&6; }
9881
9882
9883 enablestring=
9884 defaultval=$wxUSE_ALL_FEATURES
9885 if test -z "$defaultval"; then
9886 if test x"$enablestring" = xdisable; then
9887 defaultval=yes
9888 else
9889 defaultval=no
9890 fi
9891 fi
9892
9893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9894 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9895 # Check whether --enable-checkbox was given.
9896 if test "${enable_checkbox+set}" = set; then
9897 enableval=$enable_checkbox;
9898 if test "$enableval" = yes; then
9899 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9900 else
9901 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9902 fi
9903
9904 else
9905
9906 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9907
9908 fi
9909
9910
9911 eval "$wx_cv_use_checkbox"
9912
9913 if test x"$enablestring" = xdisable; then
9914 if test $wxUSE_CHECKBOX = yes; then
9915 result=no
9916 else
9917 result=yes
9918 fi
9919 else
9920 result=$wxUSE_CHECKBOX
9921 fi
9922
9923 { echo "$as_me:$LINENO: result: $result" >&5
9924 echo "${ECHO_T}$result" >&6; }
9925
9926
9927 enablestring=
9928 defaultval=$wxUSE_ALL_FEATURES
9929 if test -z "$defaultval"; then
9930 if test x"$enablestring" = xdisable; then
9931 defaultval=yes
9932 else
9933 defaultval=no
9934 fi
9935 fi
9936
9937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9938 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9939 # Check whether --enable-checklst was given.
9940 if test "${enable_checklst+set}" = set; then
9941 enableval=$enable_checklst;
9942 if test "$enableval" = yes; then
9943 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9944 else
9945 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9946 fi
9947
9948 else
9949
9950 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9951
9952 fi
9953
9954
9955 eval "$wx_cv_use_checklst"
9956
9957 if test x"$enablestring" = xdisable; then
9958 if test $wxUSE_CHECKLST = yes; then
9959 result=no
9960 else
9961 result=yes
9962 fi
9963 else
9964 result=$wxUSE_CHECKLST
9965 fi
9966
9967 { echo "$as_me:$LINENO: result: $result" >&5
9968 echo "${ECHO_T}$result" >&6; }
9969
9970
9971 enablestring=
9972 defaultval=$wxUSE_ALL_FEATURES
9973 if test -z "$defaultval"; then
9974 if test x"$enablestring" = xdisable; then
9975 defaultval=yes
9976 else
9977 defaultval=no
9978 fi
9979 fi
9980
9981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9983 # Check whether --enable-choice was given.
9984 if test "${enable_choice+set}" = set; then
9985 enableval=$enable_choice;
9986 if test "$enableval" = yes; then
9987 wx_cv_use_choice='wxUSE_CHOICE=yes'
9988 else
9989 wx_cv_use_choice='wxUSE_CHOICE=no'
9990 fi
9991
9992 else
9993
9994 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9995
9996 fi
9997
9998
9999 eval "$wx_cv_use_choice"
10000
10001 if test x"$enablestring" = xdisable; then
10002 if test $wxUSE_CHOICE = yes; then
10003 result=no
10004 else
10005 result=yes
10006 fi
10007 else
10008 result=$wxUSE_CHOICE
10009 fi
10010
10011 { echo "$as_me:$LINENO: result: $result" >&5
10012 echo "${ECHO_T}$result" >&6; }
10013
10014
10015 enablestring=
10016 defaultval=$wxUSE_ALL_FEATURES
10017 if test -z "$defaultval"; then
10018 if test x"$enablestring" = xdisable; then
10019 defaultval=yes
10020 else
10021 defaultval=no
10022 fi
10023 fi
10024
10025 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10026 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10027 # Check whether --enable-choicebook was given.
10028 if test "${enable_choicebook+set}" = set; then
10029 enableval=$enable_choicebook;
10030 if test "$enableval" = yes; then
10031 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10032 else
10033 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10034 fi
10035
10036 else
10037
10038 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10039
10040 fi
10041
10042
10043 eval "$wx_cv_use_choicebook"
10044
10045 if test x"$enablestring" = xdisable; then
10046 if test $wxUSE_CHOICEBOOK = yes; then
10047 result=no
10048 else
10049 result=yes
10050 fi
10051 else
10052 result=$wxUSE_CHOICEBOOK
10053 fi
10054
10055 { echo "$as_me:$LINENO: result: $result" >&5
10056 echo "${ECHO_T}$result" >&6; }
10057
10058
10059 enablestring=
10060 defaultval=$wxUSE_ALL_FEATURES
10061 if test -z "$defaultval"; then
10062 if test x"$enablestring" = xdisable; then
10063 defaultval=yes
10064 else
10065 defaultval=no
10066 fi
10067 fi
10068
10069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10070 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10071 # Check whether --enable-collpane was given.
10072 if test "${enable_collpane+set}" = set; then
10073 enableval=$enable_collpane;
10074 if test "$enableval" = yes; then
10075 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10076 else
10077 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10078 fi
10079
10080 else
10081
10082 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10083
10084 fi
10085
10086
10087 eval "$wx_cv_use_collpane"
10088
10089 if test x"$enablestring" = xdisable; then
10090 if test $wxUSE_COLLPANE = yes; then
10091 result=no
10092 else
10093 result=yes
10094 fi
10095 else
10096 result=$wxUSE_COLLPANE
10097 fi
10098
10099 { echo "$as_me:$LINENO: result: $result" >&5
10100 echo "${ECHO_T}$result" >&6; }
10101
10102
10103 enablestring=
10104 defaultval=$wxUSE_ALL_FEATURES
10105 if test -z "$defaultval"; then
10106 if test x"$enablestring" = xdisable; then
10107 defaultval=yes
10108 else
10109 defaultval=no
10110 fi
10111 fi
10112
10113 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10114 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10115 # Check whether --enable-colourpicker was given.
10116 if test "${enable_colourpicker+set}" = set; then
10117 enableval=$enable_colourpicker;
10118 if test "$enableval" = yes; then
10119 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10120 else
10121 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10122 fi
10123
10124 else
10125
10126 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10127
10128 fi
10129
10130
10131 eval "$wx_cv_use_colourpicker"
10132
10133 if test x"$enablestring" = xdisable; then
10134 if test $wxUSE_COLOURPICKERCTRL = yes; then
10135 result=no
10136 else
10137 result=yes
10138 fi
10139 else
10140 result=$wxUSE_COLOURPICKERCTRL
10141 fi
10142
10143 { echo "$as_me:$LINENO: result: $result" >&5
10144 echo "${ECHO_T}$result" >&6; }
10145
10146
10147 enablestring=
10148 defaultval=$wxUSE_ALL_FEATURES
10149 if test -z "$defaultval"; then
10150 if test x"$enablestring" = xdisable; then
10151 defaultval=yes
10152 else
10153 defaultval=no
10154 fi
10155 fi
10156
10157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10158 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10159 # Check whether --enable-combobox was given.
10160 if test "${enable_combobox+set}" = set; then
10161 enableval=$enable_combobox;
10162 if test "$enableval" = yes; then
10163 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10164 else
10165 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10166 fi
10167
10168 else
10169
10170 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10171
10172 fi
10173
10174
10175 eval "$wx_cv_use_combobox"
10176
10177 if test x"$enablestring" = xdisable; then
10178 if test $wxUSE_COMBOBOX = yes; then
10179 result=no
10180 else
10181 result=yes
10182 fi
10183 else
10184 result=$wxUSE_COMBOBOX
10185 fi
10186
10187 { echo "$as_me:$LINENO: result: $result" >&5
10188 echo "${ECHO_T}$result" >&6; }
10189
10190
10191 enablestring=
10192 defaultval=$wxUSE_ALL_FEATURES
10193 if test -z "$defaultval"; then
10194 if test x"$enablestring" = xdisable; then
10195 defaultval=yes
10196 else
10197 defaultval=no
10198 fi
10199 fi
10200
10201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10202 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10203 # Check whether --enable-comboctrl was given.
10204 if test "${enable_comboctrl+set}" = set; then
10205 enableval=$enable_comboctrl;
10206 if test "$enableval" = yes; then
10207 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10208 else
10209 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10210 fi
10211
10212 else
10213
10214 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10215
10216 fi
10217
10218
10219 eval "$wx_cv_use_comboctrl"
10220
10221 if test x"$enablestring" = xdisable; then
10222 if test $wxUSE_COMBOCTRL = yes; then
10223 result=no
10224 else
10225 result=yes
10226 fi
10227 else
10228 result=$wxUSE_COMBOCTRL
10229 fi
10230
10231 { echo "$as_me:$LINENO: result: $result" >&5
10232 echo "${ECHO_T}$result" >&6; }
10233
10234
10235 enablestring=
10236 defaultval=$wxUSE_ALL_FEATURES
10237 if test -z "$defaultval"; then
10238 if test x"$enablestring" = xdisable; then
10239 defaultval=yes
10240 else
10241 defaultval=no
10242 fi
10243 fi
10244
10245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10246 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10247 # Check whether --enable-datepick was given.
10248 if test "${enable_datepick+set}" = set; then
10249 enableval=$enable_datepick;
10250 if test "$enableval" = yes; then
10251 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10252 else
10253 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10254 fi
10255
10256 else
10257
10258 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10259
10260 fi
10261
10262
10263 eval "$wx_cv_use_datepick"
10264
10265 if test x"$enablestring" = xdisable; then
10266 if test $wxUSE_DATEPICKCTRL = yes; then
10267 result=no
10268 else
10269 result=yes
10270 fi
10271 else
10272 result=$wxUSE_DATEPICKCTRL
10273 fi
10274
10275 { echo "$as_me:$LINENO: result: $result" >&5
10276 echo "${ECHO_T}$result" >&6; }
10277
10278
10279 enablestring=
10280 defaultval=$wxUSE_ALL_FEATURES
10281 if test -z "$defaultval"; then
10282 if test x"$enablestring" = xdisable; then
10283 defaultval=yes
10284 else
10285 defaultval=no
10286 fi
10287 fi
10288
10289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10290 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10291 # Check whether --enable-dirpicker was given.
10292 if test "${enable_dirpicker+set}" = set; then
10293 enableval=$enable_dirpicker;
10294 if test "$enableval" = yes; then
10295 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10296 else
10297 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10298 fi
10299
10300 else
10301
10302 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10303
10304 fi
10305
10306
10307 eval "$wx_cv_use_dirpicker"
10308
10309 if test x"$enablestring" = xdisable; then
10310 if test $wxUSE_DIRPICKERCTRL = yes; then
10311 result=no
10312 else
10313 result=yes
10314 fi
10315 else
10316 result=$wxUSE_DIRPICKERCTRL
10317 fi
10318
10319 { echo "$as_me:$LINENO: result: $result" >&5
10320 echo "${ECHO_T}$result" >&6; }
10321
10322
10323 enablestring=
10324 defaultval=$wxUSE_ALL_FEATURES
10325 if test -z "$defaultval"; then
10326 if test x"$enablestring" = xdisable; then
10327 defaultval=yes
10328 else
10329 defaultval=no
10330 fi
10331 fi
10332
10333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10335 # Check whether --enable-display was given.
10336 if test "${enable_display+set}" = set; then
10337 enableval=$enable_display;
10338 if test "$enableval" = yes; then
10339 wx_cv_use_display='wxUSE_DISPLAY=yes'
10340 else
10341 wx_cv_use_display='wxUSE_DISPLAY=no'
10342 fi
10343
10344 else
10345
10346 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10347
10348 fi
10349
10350
10351 eval "$wx_cv_use_display"
10352
10353 if test x"$enablestring" = xdisable; then
10354 if test $wxUSE_DISPLAY = yes; then
10355 result=no
10356 else
10357 result=yes
10358 fi
10359 else
10360 result=$wxUSE_DISPLAY
10361 fi
10362
10363 { echo "$as_me:$LINENO: result: $result" >&5
10364 echo "${ECHO_T}$result" >&6; }
10365
10366
10367 enablestring=
10368 defaultval=$wxUSE_ALL_FEATURES
10369 if test -z "$defaultval"; then
10370 if test x"$enablestring" = xdisable; then
10371 defaultval=yes
10372 else
10373 defaultval=no
10374 fi
10375 fi
10376
10377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10378 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10379 # Check whether --enable-detect_sm was given.
10380 if test "${enable_detect_sm+set}" = set; then
10381 enableval=$enable_detect_sm;
10382 if test "$enableval" = yes; then
10383 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10384 else
10385 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10386 fi
10387
10388 else
10389
10390 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10391
10392 fi
10393
10394
10395 eval "$wx_cv_use_detect_sm"
10396
10397 if test x"$enablestring" = xdisable; then
10398 if test $wxUSE_DETECT_SM = yes; then
10399 result=no
10400 else
10401 result=yes
10402 fi
10403 else
10404 result=$wxUSE_DETECT_SM
10405 fi
10406
10407 { echo "$as_me:$LINENO: result: $result" >&5
10408 echo "${ECHO_T}$result" >&6; }
10409
10410
10411 enablestring=
10412 defaultval=$wxUSE_ALL_FEATURES
10413 if test -z "$defaultval"; then
10414 if test x"$enablestring" = xdisable; then
10415 defaultval=yes
10416 else
10417 defaultval=no
10418 fi
10419 fi
10420
10421 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10422 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10423 # Check whether --enable-editablebox was given.
10424 if test "${enable_editablebox+set}" = set; then
10425 enableval=$enable_editablebox;
10426 if test "$enableval" = yes; then
10427 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10428 else
10429 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10430 fi
10431
10432 else
10433
10434 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10435
10436 fi
10437
10438
10439 eval "$wx_cv_use_editablebox"
10440
10441 if test x"$enablestring" = xdisable; then
10442 if test $wxUSE_EDITABLELISTBOX = yes; then
10443 result=no
10444 else
10445 result=yes
10446 fi
10447 else
10448 result=$wxUSE_EDITABLELISTBOX
10449 fi
10450
10451 { echo "$as_me:$LINENO: result: $result" >&5
10452 echo "${ECHO_T}$result" >&6; }
10453
10454
10455 enablestring=
10456 defaultval=$wxUSE_ALL_FEATURES
10457 if test -z "$defaultval"; then
10458 if test x"$enablestring" = xdisable; then
10459 defaultval=yes
10460 else
10461 defaultval=no
10462 fi
10463 fi
10464
10465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10466 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10467 # Check whether --enable-filepicker was given.
10468 if test "${enable_filepicker+set}" = set; then
10469 enableval=$enable_filepicker;
10470 if test "$enableval" = yes; then
10471 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10472 else
10473 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10474 fi
10475
10476 else
10477
10478 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10479
10480 fi
10481
10482
10483 eval "$wx_cv_use_filepicker"
10484
10485 if test x"$enablestring" = xdisable; then
10486 if test $wxUSE_FILEPICKERCTRL = yes; then
10487 result=no
10488 else
10489 result=yes
10490 fi
10491 else
10492 result=$wxUSE_FILEPICKERCTRL
10493 fi
10494
10495 { echo "$as_me:$LINENO: result: $result" >&5
10496 echo "${ECHO_T}$result" >&6; }
10497
10498
10499 enablestring=
10500 defaultval=$wxUSE_ALL_FEATURES
10501 if test -z "$defaultval"; then
10502 if test x"$enablestring" = xdisable; then
10503 defaultval=yes
10504 else
10505 defaultval=no
10506 fi
10507 fi
10508
10509 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10510 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10511 # Check whether --enable-filectrl was given.
10512 if test "${enable_filectrl+set}" = set; then
10513 enableval=$enable_filectrl;
10514 if test "$enableval" = yes; then
10515 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10516 else
10517 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10518 fi
10519
10520 else
10521
10522 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10523
10524 fi
10525
10526
10527 eval "$wx_cv_use_filectrl"
10528
10529 if test x"$enablestring" = xdisable; then
10530 if test $wxUSE_FILECTRL = yes; then
10531 result=no
10532 else
10533 result=yes
10534 fi
10535 else
10536 result=$wxUSE_FILECTRL
10537 fi
10538
10539 { echo "$as_me:$LINENO: result: $result" >&5
10540 echo "${ECHO_T}$result" >&6; }
10541
10542
10543 enablestring=
10544 defaultval=$wxUSE_ALL_FEATURES
10545 if test -z "$defaultval"; then
10546 if test x"$enablestring" = xdisable; then
10547 defaultval=yes
10548 else
10549 defaultval=no
10550 fi
10551 fi
10552
10553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10554 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10555 # Check whether --enable-fontpicker was given.
10556 if test "${enable_fontpicker+set}" = set; then
10557 enableval=$enable_fontpicker;
10558 if test "$enableval" = yes; then
10559 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10560 else
10561 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10562 fi
10563
10564 else
10565
10566 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10567
10568 fi
10569
10570
10571 eval "$wx_cv_use_fontpicker"
10572
10573 if test x"$enablestring" = xdisable; then
10574 if test $wxUSE_FONTPICKERCTRL = yes; then
10575 result=no
10576 else
10577 result=yes
10578 fi
10579 else
10580 result=$wxUSE_FONTPICKERCTRL
10581 fi
10582
10583 { echo "$as_me:$LINENO: result: $result" >&5
10584 echo "${ECHO_T}$result" >&6; }
10585
10586
10587 enablestring=
10588 defaultval=$wxUSE_ALL_FEATURES
10589 if test -z "$defaultval"; then
10590 if test x"$enablestring" = xdisable; then
10591 defaultval=yes
10592 else
10593 defaultval=no
10594 fi
10595 fi
10596
10597 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10598 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10599 # Check whether --enable-gauge was given.
10600 if test "${enable_gauge+set}" = set; then
10601 enableval=$enable_gauge;
10602 if test "$enableval" = yes; then
10603 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10604 else
10605 wx_cv_use_gauge='wxUSE_GAUGE=no'
10606 fi
10607
10608 else
10609
10610 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10611
10612 fi
10613
10614
10615 eval "$wx_cv_use_gauge"
10616
10617 if test x"$enablestring" = xdisable; then
10618 if test $wxUSE_GAUGE = yes; then
10619 result=no
10620 else
10621 result=yes
10622 fi
10623 else
10624 result=$wxUSE_GAUGE
10625 fi
10626
10627 { echo "$as_me:$LINENO: result: $result" >&5
10628 echo "${ECHO_T}$result" >&6; }
10629
10630
10631 enablestring=
10632 defaultval=$wxUSE_ALL_FEATURES
10633 if test -z "$defaultval"; then
10634 if test x"$enablestring" = xdisable; then
10635 defaultval=yes
10636 else
10637 defaultval=no
10638 fi
10639 fi
10640
10641 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10642 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10643 # Check whether --enable-grid was given.
10644 if test "${enable_grid+set}" = set; then
10645 enableval=$enable_grid;
10646 if test "$enableval" = yes; then
10647 wx_cv_use_grid='wxUSE_GRID=yes'
10648 else
10649 wx_cv_use_grid='wxUSE_GRID=no'
10650 fi
10651
10652 else
10653
10654 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10655
10656 fi
10657
10658
10659 eval "$wx_cv_use_grid"
10660
10661 if test x"$enablestring" = xdisable; then
10662 if test $wxUSE_GRID = yes; then
10663 result=no
10664 else
10665 result=yes
10666 fi
10667 else
10668 result=$wxUSE_GRID
10669 fi
10670
10671 { echo "$as_me:$LINENO: result: $result" >&5
10672 echo "${ECHO_T}$result" >&6; }
10673
10674
10675 enablestring=
10676 defaultval=$wxUSE_ALL_FEATURES
10677 if test -z "$defaultval"; then
10678 if test x"$enablestring" = xdisable; then
10679 defaultval=yes
10680 else
10681 defaultval=no
10682 fi
10683 fi
10684
10685 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10686 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10687 # Check whether --enable-dataviewctrl was given.
10688 if test "${enable_dataviewctrl+set}" = set; then
10689 enableval=$enable_dataviewctrl;
10690 if test "$enableval" = yes; then
10691 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10692 else
10693 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10694 fi
10695
10696 else
10697
10698 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10699
10700 fi
10701
10702
10703 eval "$wx_cv_use_dataviewctrl"
10704
10705 if test x"$enablestring" = xdisable; then
10706 if test $wxUSE_DATAVIEWCTRL = yes; then
10707 result=no
10708 else
10709 result=yes
10710 fi
10711 else
10712 result=$wxUSE_DATAVIEWCTRL
10713 fi
10714
10715 { echo "$as_me:$LINENO: result: $result" >&5
10716 echo "${ECHO_T}$result" >&6; }
10717
10718
10719 enablestring=
10720 defaultval=$wxUSE_ALL_FEATURES
10721 if test -z "$defaultval"; then
10722 if test x"$enablestring" = xdisable; then
10723 defaultval=yes
10724 else
10725 defaultval=no
10726 fi
10727 fi
10728
10729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10730 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10731 # Check whether --enable-hyperlink was given.
10732 if test "${enable_hyperlink+set}" = set; then
10733 enableval=$enable_hyperlink;
10734 if test "$enableval" = yes; then
10735 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10736 else
10737 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10738 fi
10739
10740 else
10741
10742 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10743
10744 fi
10745
10746
10747 eval "$wx_cv_use_hyperlink"
10748
10749 if test x"$enablestring" = xdisable; then
10750 if test $wxUSE_HYPERLINKCTRL = yes; then
10751 result=no
10752 else
10753 result=yes
10754 fi
10755 else
10756 result=$wxUSE_HYPERLINKCTRL
10757 fi
10758
10759 { echo "$as_me:$LINENO: result: $result" >&5
10760 echo "${ECHO_T}$result" >&6; }
10761
10762
10763 enablestring=
10764 defaultval=$wxUSE_ALL_FEATURES
10765 if test -z "$defaultval"; then
10766 if test x"$enablestring" = xdisable; then
10767 defaultval=yes
10768 else
10769 defaultval=no
10770 fi
10771 fi
10772
10773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10774 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10775 # Check whether --enable-imaglist was given.
10776 if test "${enable_imaglist+set}" = set; then
10777 enableval=$enable_imaglist;
10778 if test "$enableval" = yes; then
10779 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10780 else
10781 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10782 fi
10783
10784 else
10785
10786 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10787
10788 fi
10789
10790
10791 eval "$wx_cv_use_imaglist"
10792
10793 if test x"$enablestring" = xdisable; then
10794 if test $wxUSE_IMAGLIST = yes; then
10795 result=no
10796 else
10797 result=yes
10798 fi
10799 else
10800 result=$wxUSE_IMAGLIST
10801 fi
10802
10803 { echo "$as_me:$LINENO: result: $result" >&5
10804 echo "${ECHO_T}$result" >&6; }
10805
10806
10807 enablestring=
10808 defaultval=$wxUSE_ALL_FEATURES
10809 if test -z "$defaultval"; then
10810 if test x"$enablestring" = xdisable; then
10811 defaultval=yes
10812 else
10813 defaultval=no
10814 fi
10815 fi
10816
10817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10818 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10819 # Check whether --enable-listbook was given.
10820 if test "${enable_listbook+set}" = set; then
10821 enableval=$enable_listbook;
10822 if test "$enableval" = yes; then
10823 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10824 else
10825 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10826 fi
10827
10828 else
10829
10830 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10831
10832 fi
10833
10834
10835 eval "$wx_cv_use_listbook"
10836
10837 if test x"$enablestring" = xdisable; then
10838 if test $wxUSE_LISTBOOK = yes; then
10839 result=no
10840 else
10841 result=yes
10842 fi
10843 else
10844 result=$wxUSE_LISTBOOK
10845 fi
10846
10847 { echo "$as_me:$LINENO: result: $result" >&5
10848 echo "${ECHO_T}$result" >&6; }
10849
10850
10851 enablestring=
10852 defaultval=$wxUSE_ALL_FEATURES
10853 if test -z "$defaultval"; then
10854 if test x"$enablestring" = xdisable; then
10855 defaultval=yes
10856 else
10857 defaultval=no
10858 fi
10859 fi
10860
10861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10862 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10863 # Check whether --enable-listbox was given.
10864 if test "${enable_listbox+set}" = set; then
10865 enableval=$enable_listbox;
10866 if test "$enableval" = yes; then
10867 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10868 else
10869 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10870 fi
10871
10872 else
10873
10874 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10875
10876 fi
10877
10878
10879 eval "$wx_cv_use_listbox"
10880
10881 if test x"$enablestring" = xdisable; then
10882 if test $wxUSE_LISTBOX = yes; then
10883 result=no
10884 else
10885 result=yes
10886 fi
10887 else
10888 result=$wxUSE_LISTBOX
10889 fi
10890
10891 { echo "$as_me:$LINENO: result: $result" >&5
10892 echo "${ECHO_T}$result" >&6; }
10893
10894
10895 enablestring=
10896 defaultval=$wxUSE_ALL_FEATURES
10897 if test -z "$defaultval"; then
10898 if test x"$enablestring" = xdisable; then
10899 defaultval=yes
10900 else
10901 defaultval=no
10902 fi
10903 fi
10904
10905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10906 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10907 # Check whether --enable-listctrl was given.
10908 if test "${enable_listctrl+set}" = set; then
10909 enableval=$enable_listctrl;
10910 if test "$enableval" = yes; then
10911 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10912 else
10913 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10914 fi
10915
10916 else
10917
10918 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10919
10920 fi
10921
10922
10923 eval "$wx_cv_use_listctrl"
10924
10925 if test x"$enablestring" = xdisable; then
10926 if test $wxUSE_LISTCTRL = yes; then
10927 result=no
10928 else
10929 result=yes
10930 fi
10931 else
10932 result=$wxUSE_LISTCTRL
10933 fi
10934
10935 { echo "$as_me:$LINENO: result: $result" >&5
10936 echo "${ECHO_T}$result" >&6; }
10937
10938
10939 enablestring=
10940 defaultval=$wxUSE_ALL_FEATURES
10941 if test -z "$defaultval"; then
10942 if test x"$enablestring" = xdisable; then
10943 defaultval=yes
10944 else
10945 defaultval=no
10946 fi
10947 fi
10948
10949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10950 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10951 # Check whether --enable-notebook was given.
10952 if test "${enable_notebook+set}" = set; then
10953 enableval=$enable_notebook;
10954 if test "$enableval" = yes; then
10955 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10956 else
10957 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10958 fi
10959
10960 else
10961
10962 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10963
10964 fi
10965
10966
10967 eval "$wx_cv_use_notebook"
10968
10969 if test x"$enablestring" = xdisable; then
10970 if test $wxUSE_NOTEBOOK = yes; then
10971 result=no
10972 else
10973 result=yes
10974 fi
10975 else
10976 result=$wxUSE_NOTEBOOK
10977 fi
10978
10979 { echo "$as_me:$LINENO: result: $result" >&5
10980 echo "${ECHO_T}$result" >&6; }
10981
10982
10983 enablestring=
10984 defaultval=$wxUSE_ALL_FEATURES
10985 if test -z "$defaultval"; then
10986 if test x"$enablestring" = xdisable; then
10987 defaultval=yes
10988 else
10989 defaultval=no
10990 fi
10991 fi
10992
10993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10994 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10995 # Check whether --enable-notifmsg was given.
10996 if test "${enable_notifmsg+set}" = set; then
10997 enableval=$enable_notifmsg;
10998 if test "$enableval" = yes; then
10999 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11000 else
11001 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11002 fi
11003
11004 else
11005
11006 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11007
11008 fi
11009
11010
11011 eval "$wx_cv_use_notifmsg"
11012
11013 if test x"$enablestring" = xdisable; then
11014 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
11015 result=no
11016 else
11017 result=yes
11018 fi
11019 else
11020 result=$wxUSE_NOTIFICATION_MESSAGE
11021 fi
11022
11023 { echo "$as_me:$LINENO: result: $result" >&5
11024 echo "${ECHO_T}$result" >&6; }
11025
11026
11027 enablestring=
11028 defaultval=$wxUSE_ALL_FEATURES
11029 if test -z "$defaultval"; then
11030 if test x"$enablestring" = xdisable; then
11031 defaultval=yes
11032 else
11033 defaultval=no
11034 fi
11035 fi
11036
11037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11038 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11039 # Check whether --enable-odcombobox was given.
11040 if test "${enable_odcombobox+set}" = set; then
11041 enableval=$enable_odcombobox;
11042 if test "$enableval" = yes; then
11043 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11044 else
11045 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11046 fi
11047
11048 else
11049
11050 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11051
11052 fi
11053
11054
11055 eval "$wx_cv_use_odcombobox"
11056
11057 if test x"$enablestring" = xdisable; then
11058 if test $wxUSE_ODCOMBOBOX = yes; then
11059 result=no
11060 else
11061 result=yes
11062 fi
11063 else
11064 result=$wxUSE_ODCOMBOBOX
11065 fi
11066
11067 { echo "$as_me:$LINENO: result: $result" >&5
11068 echo "${ECHO_T}$result" >&6; }
11069
11070
11071 enablestring=
11072 defaultval=$wxUSE_ALL_FEATURES
11073 if test -z "$defaultval"; then
11074 if test x"$enablestring" = xdisable; then
11075 defaultval=yes
11076 else
11077 defaultval=no
11078 fi
11079 fi
11080
11081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11082 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11083 # Check whether --enable-radiobox was given.
11084 if test "${enable_radiobox+set}" = set; then
11085 enableval=$enable_radiobox;
11086 if test "$enableval" = yes; then
11087 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11088 else
11089 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11090 fi
11091
11092 else
11093
11094 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11095
11096 fi
11097
11098
11099 eval "$wx_cv_use_radiobox"
11100
11101 if test x"$enablestring" = xdisable; then
11102 if test $wxUSE_RADIOBOX = yes; then
11103 result=no
11104 else
11105 result=yes
11106 fi
11107 else
11108 result=$wxUSE_RADIOBOX
11109 fi
11110
11111 { echo "$as_me:$LINENO: result: $result" >&5
11112 echo "${ECHO_T}$result" >&6; }
11113
11114
11115 enablestring=
11116 defaultval=$wxUSE_ALL_FEATURES
11117 if test -z "$defaultval"; then
11118 if test x"$enablestring" = xdisable; then
11119 defaultval=yes
11120 else
11121 defaultval=no
11122 fi
11123 fi
11124
11125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11126 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11127 # Check whether --enable-radiobtn was given.
11128 if test "${enable_radiobtn+set}" = set; then
11129 enableval=$enable_radiobtn;
11130 if test "$enableval" = yes; then
11131 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11132 else
11133 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11134 fi
11135
11136 else
11137
11138 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11139
11140 fi
11141
11142
11143 eval "$wx_cv_use_radiobtn"
11144
11145 if test x"$enablestring" = xdisable; then
11146 if test $wxUSE_RADIOBTN = yes; then
11147 result=no
11148 else
11149 result=yes
11150 fi
11151 else
11152 result=$wxUSE_RADIOBTN
11153 fi
11154
11155 { echo "$as_me:$LINENO: result: $result" >&5
11156 echo "${ECHO_T}$result" >&6; }
11157
11158
11159 enablestring=
11160 defaultval=$wxUSE_ALL_FEATURES
11161 if test -z "$defaultval"; then
11162 if test x"$enablestring" = xdisable; then
11163 defaultval=yes
11164 else
11165 defaultval=no
11166 fi
11167 fi
11168
11169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11170 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11171 # Check whether --enable-sash was given.
11172 if test "${enable_sash+set}" = set; then
11173 enableval=$enable_sash;
11174 if test "$enableval" = yes; then
11175 wx_cv_use_sash='wxUSE_SASH=yes'
11176 else
11177 wx_cv_use_sash='wxUSE_SASH=no'
11178 fi
11179
11180 else
11181
11182 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11183
11184 fi
11185
11186
11187 eval "$wx_cv_use_sash"
11188
11189 if test x"$enablestring" = xdisable; then
11190 if test $wxUSE_SASH = yes; then
11191 result=no
11192 else
11193 result=yes
11194 fi
11195 else
11196 result=$wxUSE_SASH
11197 fi
11198
11199 { echo "$as_me:$LINENO: result: $result" >&5
11200 echo "${ECHO_T}$result" >&6; }
11201
11202
11203 enablestring=
11204 defaultval=$wxUSE_ALL_FEATURES
11205 if test -z "$defaultval"; then
11206 if test x"$enablestring" = xdisable; then
11207 defaultval=yes
11208 else
11209 defaultval=no
11210 fi
11211 fi
11212
11213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11214 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11215 # Check whether --enable-scrollbar was given.
11216 if test "${enable_scrollbar+set}" = set; then
11217 enableval=$enable_scrollbar;
11218 if test "$enableval" = yes; then
11219 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11220 else
11221 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11222 fi
11223
11224 else
11225
11226 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11227
11228 fi
11229
11230
11231 eval "$wx_cv_use_scrollbar"
11232
11233 if test x"$enablestring" = xdisable; then
11234 if test $wxUSE_SCROLLBAR = yes; then
11235 result=no
11236 else
11237 result=yes
11238 fi
11239 else
11240 result=$wxUSE_SCROLLBAR
11241 fi
11242
11243 { echo "$as_me:$LINENO: result: $result" >&5
11244 echo "${ECHO_T}$result" >&6; }
11245
11246
11247 enablestring=
11248 defaultval=$wxUSE_ALL_FEATURES
11249 if test -z "$defaultval"; then
11250 if test x"$enablestring" = xdisable; then
11251 defaultval=yes
11252 else
11253 defaultval=no
11254 fi
11255 fi
11256
11257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11258 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11259 # Check whether --enable-searchctrl was given.
11260 if test "${enable_searchctrl+set}" = set; then
11261 enableval=$enable_searchctrl;
11262 if test "$enableval" = yes; then
11263 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11264 else
11265 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11266 fi
11267
11268 else
11269
11270 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11271
11272 fi
11273
11274
11275 eval "$wx_cv_use_searchctrl"
11276
11277 if test x"$enablestring" = xdisable; then
11278 if test $wxUSE_SEARCHCTRL = yes; then
11279 result=no
11280 else
11281 result=yes
11282 fi
11283 else
11284 result=$wxUSE_SEARCHCTRL
11285 fi
11286
11287 { echo "$as_me:$LINENO: result: $result" >&5
11288 echo "${ECHO_T}$result" >&6; }
11289
11290
11291 enablestring=
11292 defaultval=$wxUSE_ALL_FEATURES
11293 if test -z "$defaultval"; then
11294 if test x"$enablestring" = xdisable; then
11295 defaultval=yes
11296 else
11297 defaultval=no
11298 fi
11299 fi
11300
11301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11302 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11303 # Check whether --enable-slider was given.
11304 if test "${enable_slider+set}" = set; then
11305 enableval=$enable_slider;
11306 if test "$enableval" = yes; then
11307 wx_cv_use_slider='wxUSE_SLIDER=yes'
11308 else
11309 wx_cv_use_slider='wxUSE_SLIDER=no'
11310 fi
11311
11312 else
11313
11314 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11315
11316 fi
11317
11318
11319 eval "$wx_cv_use_slider"
11320
11321 if test x"$enablestring" = xdisable; then
11322 if test $wxUSE_SLIDER = yes; then
11323 result=no
11324 else
11325 result=yes
11326 fi
11327 else
11328 result=$wxUSE_SLIDER
11329 fi
11330
11331 { echo "$as_me:$LINENO: result: $result" >&5
11332 echo "${ECHO_T}$result" >&6; }
11333
11334
11335 enablestring=
11336 defaultval=$wxUSE_ALL_FEATURES
11337 if test -z "$defaultval"; then
11338 if test x"$enablestring" = xdisable; then
11339 defaultval=yes
11340 else
11341 defaultval=no
11342 fi
11343 fi
11344
11345 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11346 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11347 # Check whether --enable-spinbtn was given.
11348 if test "${enable_spinbtn+set}" = set; then
11349 enableval=$enable_spinbtn;
11350 if test "$enableval" = yes; then
11351 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11352 else
11353 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11354 fi
11355
11356 else
11357
11358 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11359
11360 fi
11361
11362
11363 eval "$wx_cv_use_spinbtn"
11364
11365 if test x"$enablestring" = xdisable; then
11366 if test $wxUSE_SPINBTN = yes; then
11367 result=no
11368 else
11369 result=yes
11370 fi
11371 else
11372 result=$wxUSE_SPINBTN
11373 fi
11374
11375 { echo "$as_me:$LINENO: result: $result" >&5
11376 echo "${ECHO_T}$result" >&6; }
11377
11378
11379 enablestring=
11380 defaultval=$wxUSE_ALL_FEATURES
11381 if test -z "$defaultval"; then
11382 if test x"$enablestring" = xdisable; then
11383 defaultval=yes
11384 else
11385 defaultval=no
11386 fi
11387 fi
11388
11389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11390 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11391 # Check whether --enable-spinctrl was given.
11392 if test "${enable_spinctrl+set}" = set; then
11393 enableval=$enable_spinctrl;
11394 if test "$enableval" = yes; then
11395 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11396 else
11397 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11398 fi
11399
11400 else
11401
11402 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11403
11404 fi
11405
11406
11407 eval "$wx_cv_use_spinctrl"
11408
11409 if test x"$enablestring" = xdisable; then
11410 if test $wxUSE_SPINCTRL = yes; then
11411 result=no
11412 else
11413 result=yes
11414 fi
11415 else
11416 result=$wxUSE_SPINCTRL
11417 fi
11418
11419 { echo "$as_me:$LINENO: result: $result" >&5
11420 echo "${ECHO_T}$result" >&6; }
11421
11422
11423 enablestring=
11424 defaultval=$wxUSE_ALL_FEATURES
11425 if test -z "$defaultval"; then
11426 if test x"$enablestring" = xdisable; then
11427 defaultval=yes
11428 else
11429 defaultval=no
11430 fi
11431 fi
11432
11433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11434 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11435 # Check whether --enable-splitter was given.
11436 if test "${enable_splitter+set}" = set; then
11437 enableval=$enable_splitter;
11438 if test "$enableval" = yes; then
11439 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11440 else
11441 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11442 fi
11443
11444 else
11445
11446 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11447
11448 fi
11449
11450
11451 eval "$wx_cv_use_splitter"
11452
11453 if test x"$enablestring" = xdisable; then
11454 if test $wxUSE_SPLITTER = yes; then
11455 result=no
11456 else
11457 result=yes
11458 fi
11459 else
11460 result=$wxUSE_SPLITTER
11461 fi
11462
11463 { echo "$as_me:$LINENO: result: $result" >&5
11464 echo "${ECHO_T}$result" >&6; }
11465
11466
11467 enablestring=
11468 defaultval=$wxUSE_ALL_FEATURES
11469 if test -z "$defaultval"; then
11470 if test x"$enablestring" = xdisable; then
11471 defaultval=yes
11472 else
11473 defaultval=no
11474 fi
11475 fi
11476
11477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11478 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11479 # Check whether --enable-statbmp was given.
11480 if test "${enable_statbmp+set}" = set; then
11481 enableval=$enable_statbmp;
11482 if test "$enableval" = yes; then
11483 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11484 else
11485 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11486 fi
11487
11488 else
11489
11490 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11491
11492 fi
11493
11494
11495 eval "$wx_cv_use_statbmp"
11496
11497 if test x"$enablestring" = xdisable; then
11498 if test $wxUSE_STATBMP = yes; then
11499 result=no
11500 else
11501 result=yes
11502 fi
11503 else
11504 result=$wxUSE_STATBMP
11505 fi
11506
11507 { echo "$as_me:$LINENO: result: $result" >&5
11508 echo "${ECHO_T}$result" >&6; }
11509
11510
11511 enablestring=
11512 defaultval=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x"$enablestring" = xdisable; then
11515 defaultval=yes
11516 else
11517 defaultval=no
11518 fi
11519 fi
11520
11521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11523 # Check whether --enable-statbox was given.
11524 if test "${enable_statbox+set}" = set; then
11525 enableval=$enable_statbox;
11526 if test "$enableval" = yes; then
11527 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11528 else
11529 wx_cv_use_statbox='wxUSE_STATBOX=no'
11530 fi
11531
11532 else
11533
11534 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11535
11536 fi
11537
11538
11539 eval "$wx_cv_use_statbox"
11540
11541 if test x"$enablestring" = xdisable; then
11542 if test $wxUSE_STATBOX = yes; then
11543 result=no
11544 else
11545 result=yes
11546 fi
11547 else
11548 result=$wxUSE_STATBOX
11549 fi
11550
11551 { echo "$as_me:$LINENO: result: $result" >&5
11552 echo "${ECHO_T}$result" >&6; }
11553
11554
11555 enablestring=
11556 defaultval=$wxUSE_ALL_FEATURES
11557 if test -z "$defaultval"; then
11558 if test x"$enablestring" = xdisable; then
11559 defaultval=yes
11560 else
11561 defaultval=no
11562 fi
11563 fi
11564
11565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11566 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11567 # Check whether --enable-statline was given.
11568 if test "${enable_statline+set}" = set; then
11569 enableval=$enable_statline;
11570 if test "$enableval" = yes; then
11571 wx_cv_use_statline='wxUSE_STATLINE=yes'
11572 else
11573 wx_cv_use_statline='wxUSE_STATLINE=no'
11574 fi
11575
11576 else
11577
11578 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11579
11580 fi
11581
11582
11583 eval "$wx_cv_use_statline"
11584
11585 if test x"$enablestring" = xdisable; then
11586 if test $wxUSE_STATLINE = yes; then
11587 result=no
11588 else
11589 result=yes
11590 fi
11591 else
11592 result=$wxUSE_STATLINE
11593 fi
11594
11595 { echo "$as_me:$LINENO: result: $result" >&5
11596 echo "${ECHO_T}$result" >&6; }
11597
11598
11599 enablestring=
11600 defaultval=$wxUSE_ALL_FEATURES
11601 if test -z "$defaultval"; then
11602 if test x"$enablestring" = xdisable; then
11603 defaultval=yes
11604 else
11605 defaultval=no
11606 fi
11607 fi
11608
11609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11610 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11611 # Check whether --enable-stattext was given.
11612 if test "${enable_stattext+set}" = set; then
11613 enableval=$enable_stattext;
11614 if test "$enableval" = yes; then
11615 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11616 else
11617 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11618 fi
11619
11620 else
11621
11622 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11623
11624 fi
11625
11626
11627 eval "$wx_cv_use_stattext"
11628
11629 if test x"$enablestring" = xdisable; then
11630 if test $wxUSE_STATTEXT = yes; then
11631 result=no
11632 else
11633 result=yes
11634 fi
11635 else
11636 result=$wxUSE_STATTEXT
11637 fi
11638
11639 { echo "$as_me:$LINENO: result: $result" >&5
11640 echo "${ECHO_T}$result" >&6; }
11641
11642
11643 enablestring=
11644 defaultval=$wxUSE_ALL_FEATURES
11645 if test -z "$defaultval"; then
11646 if test x"$enablestring" = xdisable; then
11647 defaultval=yes
11648 else
11649 defaultval=no
11650 fi
11651 fi
11652
11653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11654 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11655 # Check whether --enable-statusbar was given.
11656 if test "${enable_statusbar+set}" = set; then
11657 enableval=$enable_statusbar;
11658 if test "$enableval" = yes; then
11659 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11660 else
11661 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11662 fi
11663
11664 else
11665
11666 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11667
11668 fi
11669
11670
11671 eval "$wx_cv_use_statusbar"
11672
11673 if test x"$enablestring" = xdisable; then
11674 if test $wxUSE_STATUSBAR = yes; then
11675 result=no
11676 else
11677 result=yes
11678 fi
11679 else
11680 result=$wxUSE_STATUSBAR
11681 fi
11682
11683 { echo "$as_me:$LINENO: result: $result" >&5
11684 echo "${ECHO_T}$result" >&6; }
11685
11686
11687 enablestring=
11688 defaultval=$wxUSE_ALL_FEATURES
11689 if test -z "$defaultval"; then
11690 if test x"$enablestring" = xdisable; then
11691 defaultval=yes
11692 else
11693 defaultval=no
11694 fi
11695 fi
11696
11697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11698 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11699 # Check whether --enable-tabdialog was given.
11700 if test "${enable_tabdialog+set}" = set; then
11701 enableval=$enable_tabdialog;
11702 if test "$enableval" = yes; then
11703 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11704 else
11705 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11706 fi
11707
11708 else
11709
11710 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11711
11712 fi
11713
11714
11715 eval "$wx_cv_use_tabdialog"
11716
11717 if test x"$enablestring" = xdisable; then
11718 if test $wxUSE_TAB_DIALOG = yes; then
11719 result=no
11720 else
11721 result=yes
11722 fi
11723 else
11724 result=$wxUSE_TAB_DIALOG
11725 fi
11726
11727 { echo "$as_me:$LINENO: result: $result" >&5
11728 echo "${ECHO_T}$result" >&6; }
11729
11730
11731 enablestring=
11732 defaultval=$wxUSE_ALL_FEATURES
11733 if test -z "$defaultval"; then
11734 if test x"$enablestring" = xdisable; then
11735 defaultval=yes
11736 else
11737 defaultval=no
11738 fi
11739 fi
11740
11741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11743 # Check whether --enable-taskbaricon was given.
11744 if test "${enable_taskbaricon+set}" = set; then
11745 enableval=$enable_taskbaricon;
11746 if test "$enableval" = yes; then
11747 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11748 else
11749 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11750 fi
11751
11752 else
11753
11754 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11755
11756 fi
11757
11758
11759 eval "$wx_cv_use_taskbaricon"
11760
11761 if test x"$enablestring" = xdisable; then
11762 if test $wxUSE_TASKBARICON = yes; then
11763 result=no
11764 else
11765 result=yes
11766 fi
11767 else
11768 result=$wxUSE_TASKBARICON
11769 fi
11770
11771 { echo "$as_me:$LINENO: result: $result" >&5
11772 echo "${ECHO_T}$result" >&6; }
11773
11774
11775 enablestring=
11776 defaultval=$wxUSE_ALL_FEATURES
11777 if test -z "$defaultval"; then
11778 if test x"$enablestring" = xdisable; then
11779 defaultval=yes
11780 else
11781 defaultval=no
11782 fi
11783 fi
11784
11785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11786 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11787 # Check whether --enable-textctrl was given.
11788 if test "${enable_textctrl+set}" = set; then
11789 enableval=$enable_textctrl;
11790 if test "$enableval" = yes; then
11791 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11792 else
11793 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11794 fi
11795
11796 else
11797
11798 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11799
11800 fi
11801
11802
11803 eval "$wx_cv_use_textctrl"
11804
11805 if test x"$enablestring" = xdisable; then
11806 if test $wxUSE_TEXTCTRL = yes; then
11807 result=no
11808 else
11809 result=yes
11810 fi
11811 else
11812 result=$wxUSE_TEXTCTRL
11813 fi
11814
11815 { echo "$as_me:$LINENO: result: $result" >&5
11816 echo "${ECHO_T}$result" >&6; }
11817
11818
11819 enablestring=
11820 defaultval=$wxUSE_ALL_FEATURES
11821 if test -z "$defaultval"; then
11822 if test x"$enablestring" = xdisable; then
11823 defaultval=yes
11824 else
11825 defaultval=no
11826 fi
11827 fi
11828
11829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11830 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11831 # Check whether --enable-togglebtn was given.
11832 if test "${enable_togglebtn+set}" = set; then
11833 enableval=$enable_togglebtn;
11834 if test "$enableval" = yes; then
11835 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11836 else
11837 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11838 fi
11839
11840 else
11841
11842 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11843
11844 fi
11845
11846
11847 eval "$wx_cv_use_togglebtn"
11848
11849 if test x"$enablestring" = xdisable; then
11850 if test $wxUSE_TOGGLEBTN = yes; then
11851 result=no
11852 else
11853 result=yes
11854 fi
11855 else
11856 result=$wxUSE_TOGGLEBTN
11857 fi
11858
11859 { echo "$as_me:$LINENO: result: $result" >&5
11860 echo "${ECHO_T}$result" >&6; }
11861
11862
11863 enablestring=
11864 defaultval=$wxUSE_ALL_FEATURES
11865 if test -z "$defaultval"; then
11866 if test x"$enablestring" = xdisable; then
11867 defaultval=yes
11868 else
11869 defaultval=no
11870 fi
11871 fi
11872
11873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11874 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11875 # Check whether --enable-toolbar was given.
11876 if test "${enable_toolbar+set}" = set; then
11877 enableval=$enable_toolbar;
11878 if test "$enableval" = yes; then
11879 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11880 else
11881 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11882 fi
11883
11884 else
11885
11886 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11887
11888 fi
11889
11890
11891 eval "$wx_cv_use_toolbar"
11892
11893 if test x"$enablestring" = xdisable; then
11894 if test $wxUSE_TOOLBAR = yes; then
11895 result=no
11896 else
11897 result=yes
11898 fi
11899 else
11900 result=$wxUSE_TOOLBAR
11901 fi
11902
11903 { echo "$as_me:$LINENO: result: $result" >&5
11904 echo "${ECHO_T}$result" >&6; }
11905
11906
11907 enablestring=
11908 defaultval=$wxUSE_ALL_FEATURES
11909 if test -z "$defaultval"; then
11910 if test x"$enablestring" = xdisable; then
11911 defaultval=yes
11912 else
11913 defaultval=no
11914 fi
11915 fi
11916
11917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11918 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11919 # Check whether --enable-tbarnative was given.
11920 if test "${enable_tbarnative+set}" = set; then
11921 enableval=$enable_tbarnative;
11922 if test "$enableval" = yes; then
11923 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11924 else
11925 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11926 fi
11927
11928 else
11929
11930 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11931
11932 fi
11933
11934
11935 eval "$wx_cv_use_tbarnative"
11936
11937 if test x"$enablestring" = xdisable; then
11938 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11939 result=no
11940 else
11941 result=yes
11942 fi
11943 else
11944 result=$wxUSE_TOOLBAR_NATIVE
11945 fi
11946
11947 { echo "$as_me:$LINENO: result: $result" >&5
11948 echo "${ECHO_T}$result" >&6; }
11949
11950
11951 enablestring=
11952 defaultval=$wxUSE_ALL_FEATURES
11953 if test -z "$defaultval"; then
11954 if test x"$enablestring" = xdisable; then
11955 defaultval=yes
11956 else
11957 defaultval=no
11958 fi
11959 fi
11960
11961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11962 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11963 # Check whether --enable-treebook was given.
11964 if test "${enable_treebook+set}" = set; then
11965 enableval=$enable_treebook;
11966 if test "$enableval" = yes; then
11967 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11968 else
11969 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11970 fi
11971
11972 else
11973
11974 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11975
11976 fi
11977
11978
11979 eval "$wx_cv_use_treebook"
11980
11981 if test x"$enablestring" = xdisable; then
11982 if test $wxUSE_TREEBOOK = yes; then
11983 result=no
11984 else
11985 result=yes
11986 fi
11987 else
11988 result=$wxUSE_TREEBOOK
11989 fi
11990
11991 { echo "$as_me:$LINENO: result: $result" >&5
11992 echo "${ECHO_T}$result" >&6; }
11993
11994
11995 enablestring=
11996 defaultval=$wxUSE_ALL_FEATURES
11997 if test -z "$defaultval"; then
11998 if test x"$enablestring" = xdisable; then
11999 defaultval=yes
12000 else
12001 defaultval=no
12002 fi
12003 fi
12004
12005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12006 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12007 # Check whether --enable-toolbook was given.
12008 if test "${enable_toolbook+set}" = set; then
12009 enableval=$enable_toolbook;
12010 if test "$enableval" = yes; then
12011 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12012 else
12013 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12014 fi
12015
12016 else
12017
12018 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12019
12020 fi
12021
12022
12023 eval "$wx_cv_use_toolbook"
12024
12025 if test x"$enablestring" = xdisable; then
12026 if test $wxUSE_TOOLBOOK = yes; then
12027 result=no
12028 else
12029 result=yes
12030 fi
12031 else
12032 result=$wxUSE_TOOLBOOK
12033 fi
12034
12035 { echo "$as_me:$LINENO: result: $result" >&5
12036 echo "${ECHO_T}$result" >&6; }
12037
12038
12039 enablestring=
12040 defaultval=$wxUSE_ALL_FEATURES
12041 if test -z "$defaultval"; then
12042 if test x"$enablestring" = xdisable; then
12043 defaultval=yes
12044 else
12045 defaultval=no
12046 fi
12047 fi
12048
12049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12050 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12051 # Check whether --enable-treectrl was given.
12052 if test "${enable_treectrl+set}" = set; then
12053 enableval=$enable_treectrl;
12054 if test "$enableval" = yes; then
12055 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12056 else
12057 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12058 fi
12059
12060 else
12061
12062 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12063
12064 fi
12065
12066
12067 eval "$wx_cv_use_treectrl"
12068
12069 if test x"$enablestring" = xdisable; then
12070 if test $wxUSE_TREECTRL = yes; then
12071 result=no
12072 else
12073 result=yes
12074 fi
12075 else
12076 result=$wxUSE_TREECTRL
12077 fi
12078
12079 { echo "$as_me:$LINENO: result: $result" >&5
12080 echo "${ECHO_T}$result" >&6; }
12081
12082
12083 enablestring=
12084 defaultval=$wxUSE_ALL_FEATURES
12085 if test -z "$defaultval"; then
12086 if test x"$enablestring" = xdisable; then
12087 defaultval=yes
12088 else
12089 defaultval=no
12090 fi
12091 fi
12092
12093 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12094 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12095 # Check whether --enable-tipwindow was given.
12096 if test "${enable_tipwindow+set}" = set; then
12097 enableval=$enable_tipwindow;
12098 if test "$enableval" = yes; then
12099 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12100 else
12101 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12102 fi
12103
12104 else
12105
12106 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12107
12108 fi
12109
12110
12111 eval "$wx_cv_use_tipwindow"
12112
12113 if test x"$enablestring" = xdisable; then
12114 if test $wxUSE_TIPWINDOW = yes; then
12115 result=no
12116 else
12117 result=yes
12118 fi
12119 else
12120 result=$wxUSE_TIPWINDOW
12121 fi
12122
12123 { echo "$as_me:$LINENO: result: $result" >&5
12124 echo "${ECHO_T}$result" >&6; }
12125
12126
12127 enablestring=
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12131 defaultval=yes
12132 else
12133 defaultval=no
12134 fi
12135 fi
12136
12137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12138 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12139 # Check whether --enable-popupwin was given.
12140 if test "${enable_popupwin+set}" = set; then
12141 enableval=$enable_popupwin;
12142 if test "$enableval" = yes; then
12143 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12144 else
12145 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12146 fi
12147
12148 else
12149
12150 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12151
12152 fi
12153
12154
12155 eval "$wx_cv_use_popupwin"
12156
12157 if test x"$enablestring" = xdisable; then
12158 if test $wxUSE_POPUPWIN = yes; then
12159 result=no
12160 else
12161 result=yes
12162 fi
12163 else
12164 result=$wxUSE_POPUPWIN
12165 fi
12166
12167 { echo "$as_me:$LINENO: result: $result" >&5
12168 echo "${ECHO_T}$result" >&6; }
12169
12170
12171
12172
12173 enablestring=
12174 defaultval=$wxUSE_ALL_FEATURES
12175 if test -z "$defaultval"; then
12176 if test x"$enablestring" = xdisable; then
12177 defaultval=yes
12178 else
12179 defaultval=no
12180 fi
12181 fi
12182
12183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12184 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12185 # Check whether --enable-commondlg was given.
12186 if test "${enable_commondlg+set}" = set; then
12187 enableval=$enable_commondlg;
12188 if test "$enableval" = yes; then
12189 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12190 else
12191 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12192 fi
12193
12194 else
12195
12196 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12197
12198 fi
12199
12200
12201 eval "$wx_cv_use_commondlg"
12202
12203 if test x"$enablestring" = xdisable; then
12204 if test $wxUSE_COMMONDLGS = yes; then
12205 result=no
12206 else
12207 result=yes
12208 fi
12209 else
12210 result=$wxUSE_COMMONDLGS
12211 fi
12212
12213 { echo "$as_me:$LINENO: result: $result" >&5
12214 echo "${ECHO_T}$result" >&6; }
12215
12216
12217 enablestring=
12218 defaultval=$wxUSE_ALL_FEATURES
12219 if test -z "$defaultval"; then
12220 if test x"$enablestring" = xdisable; then
12221 defaultval=yes
12222 else
12223 defaultval=no
12224 fi
12225 fi
12226
12227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12228 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12229 # Check whether --enable-aboutdlg was given.
12230 if test "${enable_aboutdlg+set}" = set; then
12231 enableval=$enable_aboutdlg;
12232 if test "$enableval" = yes; then
12233 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12234 else
12235 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12236 fi
12237
12238 else
12239
12240 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12241
12242 fi
12243
12244
12245 eval "$wx_cv_use_aboutdlg"
12246
12247 if test x"$enablestring" = xdisable; then
12248 if test $wxUSE_ABOUTDLG = yes; then
12249 result=no
12250 else
12251 result=yes
12252 fi
12253 else
12254 result=$wxUSE_ABOUTDLG
12255 fi
12256
12257 { echo "$as_me:$LINENO: result: $result" >&5
12258 echo "${ECHO_T}$result" >&6; }
12259
12260
12261 enablestring=
12262 defaultval=$wxUSE_ALL_FEATURES
12263 if test -z "$defaultval"; then
12264 if test x"$enablestring" = xdisable; then
12265 defaultval=yes
12266 else
12267 defaultval=no
12268 fi
12269 fi
12270
12271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12272 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12273 # Check whether --enable-choicedlg was given.
12274 if test "${enable_choicedlg+set}" = set; then
12275 enableval=$enable_choicedlg;
12276 if test "$enableval" = yes; then
12277 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12278 else
12279 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12280 fi
12281
12282 else
12283
12284 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12285
12286 fi
12287
12288
12289 eval "$wx_cv_use_choicedlg"
12290
12291 if test x"$enablestring" = xdisable; then
12292 if test $wxUSE_CHOICEDLG = yes; then
12293 result=no
12294 else
12295 result=yes
12296 fi
12297 else
12298 result=$wxUSE_CHOICEDLG
12299 fi
12300
12301 { echo "$as_me:$LINENO: result: $result" >&5
12302 echo "${ECHO_T}$result" >&6; }
12303
12304
12305 enablestring=
12306 defaultval=$wxUSE_ALL_FEATURES
12307 if test -z "$defaultval"; then
12308 if test x"$enablestring" = xdisable; then
12309 defaultval=yes
12310 else
12311 defaultval=no
12312 fi
12313 fi
12314
12315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12316 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12317 # Check whether --enable-coldlg was given.
12318 if test "${enable_coldlg+set}" = set; then
12319 enableval=$enable_coldlg;
12320 if test "$enableval" = yes; then
12321 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12322 else
12323 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12324 fi
12325
12326 else
12327
12328 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12329
12330 fi
12331
12332
12333 eval "$wx_cv_use_coldlg"
12334
12335 if test x"$enablestring" = xdisable; then
12336 if test $wxUSE_COLOURDLG = yes; then
12337 result=no
12338 else
12339 result=yes
12340 fi
12341 else
12342 result=$wxUSE_COLOURDLG
12343 fi
12344
12345 { echo "$as_me:$LINENO: result: $result" >&5
12346 echo "${ECHO_T}$result" >&6; }
12347
12348
12349 enablestring=
12350 defaultval=$wxUSE_ALL_FEATURES
12351 if test -z "$defaultval"; then
12352 if test x"$enablestring" = xdisable; then
12353 defaultval=yes
12354 else
12355 defaultval=no
12356 fi
12357 fi
12358
12359 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12360 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12361 # Check whether --enable-filedlg was given.
12362 if test "${enable_filedlg+set}" = set; then
12363 enableval=$enable_filedlg;
12364 if test "$enableval" = yes; then
12365 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12366 else
12367 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12368 fi
12369
12370 else
12371
12372 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12373
12374 fi
12375
12376
12377 eval "$wx_cv_use_filedlg"
12378
12379 if test x"$enablestring" = xdisable; then
12380 if test $wxUSE_FILEDLG = yes; then
12381 result=no
12382 else
12383 result=yes
12384 fi
12385 else
12386 result=$wxUSE_FILEDLG
12387 fi
12388
12389 { echo "$as_me:$LINENO: result: $result" >&5
12390 echo "${ECHO_T}$result" >&6; }
12391
12392
12393 enablestring=
12394 defaultval=$wxUSE_ALL_FEATURES
12395 if test -z "$defaultval"; then
12396 if test x"$enablestring" = xdisable; then
12397 defaultval=yes
12398 else
12399 defaultval=no
12400 fi
12401 fi
12402
12403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12404 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12405 # Check whether --enable-finddlg was given.
12406 if test "${enable_finddlg+set}" = set; then
12407 enableval=$enable_finddlg;
12408 if test "$enableval" = yes; then
12409 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12410 else
12411 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12412 fi
12413
12414 else
12415
12416 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12417
12418 fi
12419
12420
12421 eval "$wx_cv_use_finddlg"
12422
12423 if test x"$enablestring" = xdisable; then
12424 if test $wxUSE_FINDREPLDLG = yes; then
12425 result=no
12426 else
12427 result=yes
12428 fi
12429 else
12430 result=$wxUSE_FINDREPLDLG
12431 fi
12432
12433 { echo "$as_me:$LINENO: result: $result" >&5
12434 echo "${ECHO_T}$result" >&6; }
12435
12436
12437 enablestring=
12438 defaultval=$wxUSE_ALL_FEATURES
12439 if test -z "$defaultval"; then
12440 if test x"$enablestring" = xdisable; then
12441 defaultval=yes
12442 else
12443 defaultval=no
12444 fi
12445 fi
12446
12447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12448 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12449 # Check whether --enable-fontdlg was given.
12450 if test "${enable_fontdlg+set}" = set; then
12451 enableval=$enable_fontdlg;
12452 if test "$enableval" = yes; then
12453 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12454 else
12455 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12456 fi
12457
12458 else
12459
12460 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12461
12462 fi
12463
12464
12465 eval "$wx_cv_use_fontdlg"
12466
12467 if test x"$enablestring" = xdisable; then
12468 if test $wxUSE_FONTDLG = yes; then
12469 result=no
12470 else
12471 result=yes
12472 fi
12473 else
12474 result=$wxUSE_FONTDLG
12475 fi
12476
12477 { echo "$as_me:$LINENO: result: $result" >&5
12478 echo "${ECHO_T}$result" >&6; }
12479
12480
12481 enablestring=
12482 defaultval=$wxUSE_ALL_FEATURES
12483 if test -z "$defaultval"; then
12484 if test x"$enablestring" = xdisable; then
12485 defaultval=yes
12486 else
12487 defaultval=no
12488 fi
12489 fi
12490
12491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12492 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12493 # Check whether --enable-dirdlg was given.
12494 if test "${enable_dirdlg+set}" = set; then
12495 enableval=$enable_dirdlg;
12496 if test "$enableval" = yes; then
12497 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12498 else
12499 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12500 fi
12501
12502 else
12503
12504 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12505
12506 fi
12507
12508
12509 eval "$wx_cv_use_dirdlg"
12510
12511 if test x"$enablestring" = xdisable; then
12512 if test $wxUSE_DIRDLG = yes; then
12513 result=no
12514 else
12515 result=yes
12516 fi
12517 else
12518 result=$wxUSE_DIRDLG
12519 fi
12520
12521 { echo "$as_me:$LINENO: result: $result" >&5
12522 echo "${ECHO_T}$result" >&6; }
12523
12524
12525 enablestring=
12526 defaultval=$wxUSE_ALL_FEATURES
12527 if test -z "$defaultval"; then
12528 if test x"$enablestring" = xdisable; then
12529 defaultval=yes
12530 else
12531 defaultval=no
12532 fi
12533 fi
12534
12535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12536 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12537 # Check whether --enable-msgdlg was given.
12538 if test "${enable_msgdlg+set}" = set; then
12539 enableval=$enable_msgdlg;
12540 if test "$enableval" = yes; then
12541 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12542 else
12543 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12544 fi
12545
12546 else
12547
12548 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12549
12550 fi
12551
12552
12553 eval "$wx_cv_use_msgdlg"
12554
12555 if test x"$enablestring" = xdisable; then
12556 if test $wxUSE_MSGDLG = yes; then
12557 result=no
12558 else
12559 result=yes
12560 fi
12561 else
12562 result=$wxUSE_MSGDLG
12563 fi
12564
12565 { echo "$as_me:$LINENO: result: $result" >&5
12566 echo "${ECHO_T}$result" >&6; }
12567
12568
12569 enablestring=
12570 defaultval=$wxUSE_ALL_FEATURES
12571 if test -z "$defaultval"; then
12572 if test x"$enablestring" = xdisable; then
12573 defaultval=yes
12574 else
12575 defaultval=no
12576 fi
12577 fi
12578
12579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12580 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12581 # Check whether --enable-numberdlg was given.
12582 if test "${enable_numberdlg+set}" = set; then
12583 enableval=$enable_numberdlg;
12584 if test "$enableval" = yes; then
12585 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12586 else
12587 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12588 fi
12589
12590 else
12591
12592 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12593
12594 fi
12595
12596
12597 eval "$wx_cv_use_numberdlg"
12598
12599 if test x"$enablestring" = xdisable; then
12600 if test $wxUSE_NUMBERDLG = yes; then
12601 result=no
12602 else
12603 result=yes
12604 fi
12605 else
12606 result=$wxUSE_NUMBERDLG
12607 fi
12608
12609 { echo "$as_me:$LINENO: result: $result" >&5
12610 echo "${ECHO_T}$result" >&6; }
12611
12612
12613 enablestring=
12614 defaultval=$wxUSE_ALL_FEATURES
12615 if test -z "$defaultval"; then
12616 if test x"$enablestring" = xdisable; then
12617 defaultval=yes
12618 else
12619 defaultval=no
12620 fi
12621 fi
12622
12623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12624 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12625 # Check whether --enable-splash was given.
12626 if test "${enable_splash+set}" = set; then
12627 enableval=$enable_splash;
12628 if test "$enableval" = yes; then
12629 wx_cv_use_splash='wxUSE_SPLASH=yes'
12630 else
12631 wx_cv_use_splash='wxUSE_SPLASH=no'
12632 fi
12633
12634 else
12635
12636 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12637
12638 fi
12639
12640
12641 eval "$wx_cv_use_splash"
12642
12643 if test x"$enablestring" = xdisable; then
12644 if test $wxUSE_SPLASH = yes; then
12645 result=no
12646 else
12647 result=yes
12648 fi
12649 else
12650 result=$wxUSE_SPLASH
12651 fi
12652
12653 { echo "$as_me:$LINENO: result: $result" >&5
12654 echo "${ECHO_T}$result" >&6; }
12655
12656
12657 enablestring=
12658 defaultval=$wxUSE_ALL_FEATURES
12659 if test -z "$defaultval"; then
12660 if test x"$enablestring" = xdisable; then
12661 defaultval=yes
12662 else
12663 defaultval=no
12664 fi
12665 fi
12666
12667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12668 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12669 # Check whether --enable-textdlg was given.
12670 if test "${enable_textdlg+set}" = set; then
12671 enableval=$enable_textdlg;
12672 if test "$enableval" = yes; then
12673 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12674 else
12675 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12676 fi
12677
12678 else
12679
12680 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12681
12682 fi
12683
12684
12685 eval "$wx_cv_use_textdlg"
12686
12687 if test x"$enablestring" = xdisable; then
12688 if test $wxUSE_TEXTDLG = yes; then
12689 result=no
12690 else
12691 result=yes
12692 fi
12693 else
12694 result=$wxUSE_TEXTDLG
12695 fi
12696
12697 { echo "$as_me:$LINENO: result: $result" >&5
12698 echo "${ECHO_T}$result" >&6; }
12699
12700
12701 enablestring=
12702 defaultval=$wxUSE_ALL_FEATURES
12703 if test -z "$defaultval"; then
12704 if test x"$enablestring" = xdisable; then
12705 defaultval=yes
12706 else
12707 defaultval=no
12708 fi
12709 fi
12710
12711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12712 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12713 # Check whether --enable-tipdlg was given.
12714 if test "${enable_tipdlg+set}" = set; then
12715 enableval=$enable_tipdlg;
12716 if test "$enableval" = yes; then
12717 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12718 else
12719 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12720 fi
12721
12722 else
12723
12724 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12725
12726 fi
12727
12728
12729 eval "$wx_cv_use_tipdlg"
12730
12731 if test x"$enablestring" = xdisable; then
12732 if test $wxUSE_STARTUP_TIPS = yes; then
12733 result=no
12734 else
12735 result=yes
12736 fi
12737 else
12738 result=$wxUSE_STARTUP_TIPS
12739 fi
12740
12741 { echo "$as_me:$LINENO: result: $result" >&5
12742 echo "${ECHO_T}$result" >&6; }
12743
12744
12745 enablestring=
12746 defaultval=$wxUSE_ALL_FEATURES
12747 if test -z "$defaultval"; then
12748 if test x"$enablestring" = xdisable; then
12749 defaultval=yes
12750 else
12751 defaultval=no
12752 fi
12753 fi
12754
12755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12756 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12757 # Check whether --enable-progressdlg was given.
12758 if test "${enable_progressdlg+set}" = set; then
12759 enableval=$enable_progressdlg;
12760 if test "$enableval" = yes; then
12761 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12762 else
12763 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12764 fi
12765
12766 else
12767
12768 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12769
12770 fi
12771
12772
12773 eval "$wx_cv_use_progressdlg"
12774
12775 if test x"$enablestring" = xdisable; then
12776 if test $wxUSE_PROGRESSDLG = yes; then
12777 result=no
12778 else
12779 result=yes
12780 fi
12781 else
12782 result=$wxUSE_PROGRESSDLG
12783 fi
12784
12785 { echo "$as_me:$LINENO: result: $result" >&5
12786 echo "${ECHO_T}$result" >&6; }
12787
12788
12789 enablestring=
12790 defaultval=$wxUSE_ALL_FEATURES
12791 if test -z "$defaultval"; then
12792 if test x"$enablestring" = xdisable; then
12793 defaultval=yes
12794 else
12795 defaultval=no
12796 fi
12797 fi
12798
12799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12800 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12801 # Check whether --enable-wizarddlg was given.
12802 if test "${enable_wizarddlg+set}" = set; then
12803 enableval=$enable_wizarddlg;
12804 if test "$enableval" = yes; then
12805 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12806 else
12807 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12808 fi
12809
12810 else
12811
12812 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12813
12814 fi
12815
12816
12817 eval "$wx_cv_use_wizarddlg"
12818
12819 if test x"$enablestring" = xdisable; then
12820 if test $wxUSE_WIZARDDLG = yes; then
12821 result=no
12822 else
12823 result=yes
12824 fi
12825 else
12826 result=$wxUSE_WIZARDDLG
12827 fi
12828
12829 { echo "$as_me:$LINENO: result: $result" >&5
12830 echo "${ECHO_T}$result" >&6; }
12831
12832
12833
12834
12835 enablestring=
12836 defaultval=$wxUSE_ALL_FEATURES
12837 if test -z "$defaultval"; then
12838 if test x"$enablestring" = xdisable; then
12839 defaultval=yes
12840 else
12841 defaultval=no
12842 fi
12843 fi
12844
12845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12846 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12847 # Check whether --enable-menus was given.
12848 if test "${enable_menus+set}" = set; then
12849 enableval=$enable_menus;
12850 if test "$enableval" = yes; then
12851 wx_cv_use_menus='wxUSE_MENUS=yes'
12852 else
12853 wx_cv_use_menus='wxUSE_MENUS=no'
12854 fi
12855
12856 else
12857
12858 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12859
12860 fi
12861
12862
12863 eval "$wx_cv_use_menus"
12864
12865 if test x"$enablestring" = xdisable; then
12866 if test $wxUSE_MENUS = yes; then
12867 result=no
12868 else
12869 result=yes
12870 fi
12871 else
12872 result=$wxUSE_MENUS
12873 fi
12874
12875 { echo "$as_me:$LINENO: result: $result" >&5
12876 echo "${ECHO_T}$result" >&6; }
12877
12878
12879 enablestring=
12880 defaultval=$wxUSE_ALL_FEATURES
12881 if test -z "$defaultval"; then
12882 if test x"$enablestring" = xdisable; then
12883 defaultval=yes
12884 else
12885 defaultval=no
12886 fi
12887 fi
12888
12889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12890 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12891 # Check whether --enable-miniframe was given.
12892 if test "${enable_miniframe+set}" = set; then
12893 enableval=$enable_miniframe;
12894 if test "$enableval" = yes; then
12895 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12896 else
12897 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12898 fi
12899
12900 else
12901
12902 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12903
12904 fi
12905
12906
12907 eval "$wx_cv_use_miniframe"
12908
12909 if test x"$enablestring" = xdisable; then
12910 if test $wxUSE_MINIFRAME = yes; then
12911 result=no
12912 else
12913 result=yes
12914 fi
12915 else
12916 result=$wxUSE_MINIFRAME
12917 fi
12918
12919 { echo "$as_me:$LINENO: result: $result" >&5
12920 echo "${ECHO_T}$result" >&6; }
12921
12922
12923 enablestring=
12924 defaultval=$wxUSE_ALL_FEATURES
12925 if test -z "$defaultval"; then
12926 if test x"$enablestring" = xdisable; then
12927 defaultval=yes
12928 else
12929 defaultval=no
12930 fi
12931 fi
12932
12933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12934 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12935 # Check whether --enable-tooltips was given.
12936 if test "${enable_tooltips+set}" = set; then
12937 enableval=$enable_tooltips;
12938 if test "$enableval" = yes; then
12939 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12940 else
12941 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12942 fi
12943
12944 else
12945
12946 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12947
12948 fi
12949
12950
12951 eval "$wx_cv_use_tooltips"
12952
12953 if test x"$enablestring" = xdisable; then
12954 if test $wxUSE_TOOLTIPS = yes; then
12955 result=no
12956 else
12957 result=yes
12958 fi
12959 else
12960 result=$wxUSE_TOOLTIPS
12961 fi
12962
12963 { echo "$as_me:$LINENO: result: $result" >&5
12964 echo "${ECHO_T}$result" >&6; }
12965
12966
12967 enablestring=
12968 defaultval=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x"$enablestring" = xdisable; then
12971 defaultval=yes
12972 else
12973 defaultval=no
12974 fi
12975 fi
12976
12977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12978 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12979 # Check whether --enable-splines was given.
12980 if test "${enable_splines+set}" = set; then
12981 enableval=$enable_splines;
12982 if test "$enableval" = yes; then
12983 wx_cv_use_splines='wxUSE_SPLINES=yes'
12984 else
12985 wx_cv_use_splines='wxUSE_SPLINES=no'
12986 fi
12987
12988 else
12989
12990 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12991
12992 fi
12993
12994
12995 eval "$wx_cv_use_splines"
12996
12997 if test x"$enablestring" = xdisable; then
12998 if test $wxUSE_SPLINES = yes; then
12999 result=no
13000 else
13001 result=yes
13002 fi
13003 else
13004 result=$wxUSE_SPLINES
13005 fi
13006
13007 { echo "$as_me:$LINENO: result: $result" >&5
13008 echo "${ECHO_T}$result" >&6; }
13009
13010
13011 enablestring=
13012 defaultval=$wxUSE_ALL_FEATURES
13013 if test -z "$defaultval"; then
13014 if test x"$enablestring" = xdisable; then
13015 defaultval=yes
13016 else
13017 defaultval=no
13018 fi
13019 fi
13020
13021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13022 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13023 # Check whether --enable-mousewheel was given.
13024 if test "${enable_mousewheel+set}" = set; then
13025 enableval=$enable_mousewheel;
13026 if test "$enableval" = yes; then
13027 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13028 else
13029 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13030 fi
13031
13032 else
13033
13034 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13035
13036 fi
13037
13038
13039 eval "$wx_cv_use_mousewheel"
13040
13041 if test x"$enablestring" = xdisable; then
13042 if test $wxUSE_MOUSEWHEEL = yes; then
13043 result=no
13044 else
13045 result=yes
13046 fi
13047 else
13048 result=$wxUSE_MOUSEWHEEL
13049 fi
13050
13051 { echo "$as_me:$LINENO: result: $result" >&5
13052 echo "${ECHO_T}$result" >&6; }
13053
13054
13055 enablestring=
13056 defaultval=$wxUSE_ALL_FEATURES
13057 if test -z "$defaultval"; then
13058 if test x"$enablestring" = xdisable; then
13059 defaultval=yes
13060 else
13061 defaultval=no
13062 fi
13063 fi
13064
13065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13066 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13067 # Check whether --enable-validators was given.
13068 if test "${enable_validators+set}" = set; then
13069 enableval=$enable_validators;
13070 if test "$enableval" = yes; then
13071 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13072 else
13073 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13074 fi
13075
13076 else
13077
13078 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13079
13080 fi
13081
13082
13083 eval "$wx_cv_use_validators"
13084
13085 if test x"$enablestring" = xdisable; then
13086 if test $wxUSE_VALIDATORS = yes; then
13087 result=no
13088 else
13089 result=yes
13090 fi
13091 else
13092 result=$wxUSE_VALIDATORS
13093 fi
13094
13095 { echo "$as_me:$LINENO: result: $result" >&5
13096 echo "${ECHO_T}$result" >&6; }
13097
13098
13099 enablestring=
13100 defaultval=$wxUSE_ALL_FEATURES
13101 if test -z "$defaultval"; then
13102 if test x"$enablestring" = xdisable; then
13103 defaultval=yes
13104 else
13105 defaultval=no
13106 fi
13107 fi
13108
13109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13110 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13111 # Check whether --enable-busyinfo was given.
13112 if test "${enable_busyinfo+set}" = set; then
13113 enableval=$enable_busyinfo;
13114 if test "$enableval" = yes; then
13115 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13116 else
13117 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13118 fi
13119
13120 else
13121
13122 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13123
13124 fi
13125
13126
13127 eval "$wx_cv_use_busyinfo"
13128
13129 if test x"$enablestring" = xdisable; then
13130 if test $wxUSE_BUSYINFO = yes; then
13131 result=no
13132 else
13133 result=yes
13134 fi
13135 else
13136 result=$wxUSE_BUSYINFO
13137 fi
13138
13139 { echo "$as_me:$LINENO: result: $result" >&5
13140 echo "${ECHO_T}$result" >&6; }
13141
13142
13143 enablestring=
13144 defaultval=$wxUSE_ALL_FEATURES
13145 if test -z "$defaultval"; then
13146 if test x"$enablestring" = xdisable; then
13147 defaultval=yes
13148 else
13149 defaultval=no
13150 fi
13151 fi
13152
13153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13154 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13155 # Check whether --enable-joystick was given.
13156 if test "${enable_joystick+set}" = set; then
13157 enableval=$enable_joystick;
13158 if test "$enableval" = yes; then
13159 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13160 else
13161 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13162 fi
13163
13164 else
13165
13166 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13167
13168 fi
13169
13170
13171 eval "$wx_cv_use_joystick"
13172
13173 if test x"$enablestring" = xdisable; then
13174 if test $wxUSE_JOYSTICK = yes; then
13175 result=no
13176 else
13177 result=yes
13178 fi
13179 else
13180 result=$wxUSE_JOYSTICK
13181 fi
13182
13183 { echo "$as_me:$LINENO: result: $result" >&5
13184 echo "${ECHO_T}$result" >&6; }
13185
13186
13187 enablestring=
13188 defaultval=$wxUSE_ALL_FEATURES
13189 if test -z "$defaultval"; then
13190 if test x"$enablestring" = xdisable; then
13191 defaultval=yes
13192 else
13193 defaultval=no
13194 fi
13195 fi
13196
13197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13198 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13199 # Check whether --enable-metafile was given.
13200 if test "${enable_metafile+set}" = set; then
13201 enableval=$enable_metafile;
13202 if test "$enableval" = yes; then
13203 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13204 else
13205 wx_cv_use_metafile='wxUSE_METAFILE=no'
13206 fi
13207
13208 else
13209
13210 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13211
13212 fi
13213
13214
13215 eval "$wx_cv_use_metafile"
13216
13217 if test x"$enablestring" = xdisable; then
13218 if test $wxUSE_METAFILE = yes; then
13219 result=no
13220 else
13221 result=yes
13222 fi
13223 else
13224 result=$wxUSE_METAFILE
13225 fi
13226
13227 { echo "$as_me:$LINENO: result: $result" >&5
13228 echo "${ECHO_T}$result" >&6; }
13229
13230
13231 enablestring=
13232 defaultval=$wxUSE_ALL_FEATURES
13233 if test -z "$defaultval"; then
13234 if test x"$enablestring" = xdisable; then
13235 defaultval=yes
13236 else
13237 defaultval=no
13238 fi
13239 fi
13240
13241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13242 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13243 # Check whether --enable-dragimage was given.
13244 if test "${enable_dragimage+set}" = set; then
13245 enableval=$enable_dragimage;
13246 if test "$enableval" = yes; then
13247 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13248 else
13249 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13250 fi
13251
13252 else
13253
13254 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13255
13256 fi
13257
13258
13259 eval "$wx_cv_use_dragimage"
13260
13261 if test x"$enablestring" = xdisable; then
13262 if test $wxUSE_DRAGIMAGE = yes; then
13263 result=no
13264 else
13265 result=yes
13266 fi
13267 else
13268 result=$wxUSE_DRAGIMAGE
13269 fi
13270
13271 { echo "$as_me:$LINENO: result: $result" >&5
13272 echo "${ECHO_T}$result" >&6; }
13273
13274
13275 enablestring=
13276 defaultval=$wxUSE_ALL_FEATURES
13277 if test -z "$defaultval"; then
13278 if test x"$enablestring" = xdisable; then
13279 defaultval=yes
13280 else
13281 defaultval=no
13282 fi
13283 fi
13284
13285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13286 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13287 # Check whether --enable-accessibility was given.
13288 if test "${enable_accessibility+set}" = set; then
13289 enableval=$enable_accessibility;
13290 if test "$enableval" = yes; then
13291 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13292 else
13293 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13294 fi
13295
13296 else
13297
13298 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13299
13300 fi
13301
13302
13303 eval "$wx_cv_use_accessibility"
13304
13305 if test x"$enablestring" = xdisable; then
13306 if test $wxUSE_ACCESSIBILITY = yes; then
13307 result=no
13308 else
13309 result=yes
13310 fi
13311 else
13312 result=$wxUSE_ACCESSIBILITY
13313 fi
13314
13315 { echo "$as_me:$LINENO: result: $result" >&5
13316 echo "${ECHO_T}$result" >&6; }
13317
13318
13319
13320
13321 enablestring=
13322 defaultval=$wxUSE_ALL_FEATURES
13323 if test -z "$defaultval"; then
13324 if test x"$enablestring" = xdisable; then
13325 defaultval=yes
13326 else
13327 defaultval=no
13328 fi
13329 fi
13330
13331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13332 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13333 # Check whether --enable-palette was given.
13334 if test "${enable_palette+set}" = set; then
13335 enableval=$enable_palette;
13336 if test "$enableval" = yes; then
13337 wx_cv_use_palette='wxUSE_PALETTE=yes'
13338 else
13339 wx_cv_use_palette='wxUSE_PALETTE=no'
13340 fi
13341
13342 else
13343
13344 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13345
13346 fi
13347
13348
13349 eval "$wx_cv_use_palette"
13350
13351 if test x"$enablestring" = xdisable; then
13352 if test $wxUSE_PALETTE = yes; then
13353 result=no
13354 else
13355 result=yes
13356 fi
13357 else
13358 result=$wxUSE_PALETTE
13359 fi
13360
13361 { echo "$as_me:$LINENO: result: $result" >&5
13362 echo "${ECHO_T}$result" >&6; }
13363
13364
13365 enablestring=
13366 defaultval=$wxUSE_ALL_FEATURES
13367 if test -z "$defaultval"; then
13368 if test x"$enablestring" = xdisable; then
13369 defaultval=yes
13370 else
13371 defaultval=no
13372 fi
13373 fi
13374
13375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13376 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13377 # Check whether --enable-image was given.
13378 if test "${enable_image+set}" = set; then
13379 enableval=$enable_image;
13380 if test "$enableval" = yes; then
13381 wx_cv_use_image='wxUSE_IMAGE=yes'
13382 else
13383 wx_cv_use_image='wxUSE_IMAGE=no'
13384 fi
13385
13386 else
13387
13388 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13389
13390 fi
13391
13392
13393 eval "$wx_cv_use_image"
13394
13395 if test x"$enablestring" = xdisable; then
13396 if test $wxUSE_IMAGE = yes; then
13397 result=no
13398 else
13399 result=yes
13400 fi
13401 else
13402 result=$wxUSE_IMAGE
13403 fi
13404
13405 { echo "$as_me:$LINENO: result: $result" >&5
13406 echo "${ECHO_T}$result" >&6; }
13407
13408
13409 enablestring=
13410 defaultval=$wxUSE_ALL_FEATURES
13411 if test -z "$defaultval"; then
13412 if test x"$enablestring" = xdisable; then
13413 defaultval=yes
13414 else
13415 defaultval=no
13416 fi
13417 fi
13418
13419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13420 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13421 # Check whether --enable-gif was given.
13422 if test "${enable_gif+set}" = set; then
13423 enableval=$enable_gif;
13424 if test "$enableval" = yes; then
13425 wx_cv_use_gif='wxUSE_GIF=yes'
13426 else
13427 wx_cv_use_gif='wxUSE_GIF=no'
13428 fi
13429
13430 else
13431
13432 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13433
13434 fi
13435
13436
13437 eval "$wx_cv_use_gif"
13438
13439 if test x"$enablestring" = xdisable; then
13440 if test $wxUSE_GIF = yes; then
13441 result=no
13442 else
13443 result=yes
13444 fi
13445 else
13446 result=$wxUSE_GIF
13447 fi
13448
13449 { echo "$as_me:$LINENO: result: $result" >&5
13450 echo "${ECHO_T}$result" >&6; }
13451
13452
13453 enablestring=
13454 defaultval=$wxUSE_ALL_FEATURES
13455 if test -z "$defaultval"; then
13456 if test x"$enablestring" = xdisable; then
13457 defaultval=yes
13458 else
13459 defaultval=no
13460 fi
13461 fi
13462
13463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13464 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13465 # Check whether --enable-pcx was given.
13466 if test "${enable_pcx+set}" = set; then
13467 enableval=$enable_pcx;
13468 if test "$enableval" = yes; then
13469 wx_cv_use_pcx='wxUSE_PCX=yes'
13470 else
13471 wx_cv_use_pcx='wxUSE_PCX=no'
13472 fi
13473
13474 else
13475
13476 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13477
13478 fi
13479
13480
13481 eval "$wx_cv_use_pcx"
13482
13483 if test x"$enablestring" = xdisable; then
13484 if test $wxUSE_PCX = yes; then
13485 result=no
13486 else
13487 result=yes
13488 fi
13489 else
13490 result=$wxUSE_PCX
13491 fi
13492
13493 { echo "$as_me:$LINENO: result: $result" >&5
13494 echo "${ECHO_T}$result" >&6; }
13495
13496
13497 enablestring=
13498 defaultval=$wxUSE_ALL_FEATURES
13499 if test -z "$defaultval"; then
13500 if test x"$enablestring" = xdisable; then
13501 defaultval=yes
13502 else
13503 defaultval=no
13504 fi
13505 fi
13506
13507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13508 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13509 # Check whether --enable-tga was given.
13510 if test "${enable_tga+set}" = set; then
13511 enableval=$enable_tga;
13512 if test "$enableval" = yes; then
13513 wx_cv_use_tga='wxUSE_TGA=yes'
13514 else
13515 wx_cv_use_tga='wxUSE_TGA=no'
13516 fi
13517
13518 else
13519
13520 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13521
13522 fi
13523
13524
13525 eval "$wx_cv_use_tga"
13526
13527 if test x"$enablestring" = xdisable; then
13528 if test $wxUSE_TGA = yes; then
13529 result=no
13530 else
13531 result=yes
13532 fi
13533 else
13534 result=$wxUSE_TGA
13535 fi
13536
13537 { echo "$as_me:$LINENO: result: $result" >&5
13538 echo "${ECHO_T}$result" >&6; }
13539
13540
13541 enablestring=
13542 defaultval=$wxUSE_ALL_FEATURES
13543 if test -z "$defaultval"; then
13544 if test x"$enablestring" = xdisable; then
13545 defaultval=yes
13546 else
13547 defaultval=no
13548 fi
13549 fi
13550
13551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13552 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13553 # Check whether --enable-iff was given.
13554 if test "${enable_iff+set}" = set; then
13555 enableval=$enable_iff;
13556 if test "$enableval" = yes; then
13557 wx_cv_use_iff='wxUSE_IFF=yes'
13558 else
13559 wx_cv_use_iff='wxUSE_IFF=no'
13560 fi
13561
13562 else
13563
13564 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13565
13566 fi
13567
13568
13569 eval "$wx_cv_use_iff"
13570
13571 if test x"$enablestring" = xdisable; then
13572 if test $wxUSE_IFF = yes; then
13573 result=no
13574 else
13575 result=yes
13576 fi
13577 else
13578 result=$wxUSE_IFF
13579 fi
13580
13581 { echo "$as_me:$LINENO: result: $result" >&5
13582 echo "${ECHO_T}$result" >&6; }
13583
13584
13585 enablestring=
13586 defaultval=$wxUSE_ALL_FEATURES
13587 if test -z "$defaultval"; then
13588 if test x"$enablestring" = xdisable; then
13589 defaultval=yes
13590 else
13591 defaultval=no
13592 fi
13593 fi
13594
13595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13596 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13597 # Check whether --enable-pnm was given.
13598 if test "${enable_pnm+set}" = set; then
13599 enableval=$enable_pnm;
13600 if test "$enableval" = yes; then
13601 wx_cv_use_pnm='wxUSE_PNM=yes'
13602 else
13603 wx_cv_use_pnm='wxUSE_PNM=no'
13604 fi
13605
13606 else
13607
13608 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13609
13610 fi
13611
13612
13613 eval "$wx_cv_use_pnm"
13614
13615 if test x"$enablestring" = xdisable; then
13616 if test $wxUSE_PNM = yes; then
13617 result=no
13618 else
13619 result=yes
13620 fi
13621 else
13622 result=$wxUSE_PNM
13623 fi
13624
13625 { echo "$as_me:$LINENO: result: $result" >&5
13626 echo "${ECHO_T}$result" >&6; }
13627
13628
13629 enablestring=
13630 defaultval=$wxUSE_ALL_FEATURES
13631 if test -z "$defaultval"; then
13632 if test x"$enablestring" = xdisable; then
13633 defaultval=yes
13634 else
13635 defaultval=no
13636 fi
13637 fi
13638
13639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13640 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13641 # Check whether --enable-xpm was given.
13642 if test "${enable_xpm+set}" = set; then
13643 enableval=$enable_xpm;
13644 if test "$enableval" = yes; then
13645 wx_cv_use_xpm='wxUSE_XPM=yes'
13646 else
13647 wx_cv_use_xpm='wxUSE_XPM=no'
13648 fi
13649
13650 else
13651
13652 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13653
13654 fi
13655
13656
13657 eval "$wx_cv_use_xpm"
13658
13659 if test x"$enablestring" = xdisable; then
13660 if test $wxUSE_XPM = yes; then
13661 result=no
13662 else
13663 result=yes
13664 fi
13665 else
13666 result=$wxUSE_XPM
13667 fi
13668
13669 { echo "$as_me:$LINENO: result: $result" >&5
13670 echo "${ECHO_T}$result" >&6; }
13671
13672
13673 enablestring=
13674 defaultval=$wxUSE_ALL_FEATURES
13675 if test -z "$defaultval"; then
13676 if test x"$enablestring" = xdisable; then
13677 defaultval=yes
13678 else
13679 defaultval=no
13680 fi
13681 fi
13682
13683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13684 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13685 # Check whether --enable-ico_cur was given.
13686 if test "${enable_ico_cur+set}" = set; then
13687 enableval=$enable_ico_cur;
13688 if test "$enableval" = yes; then
13689 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13690 else
13691 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13692 fi
13693
13694 else
13695
13696 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13697
13698 fi
13699
13700
13701 eval "$wx_cv_use_ico_cur"
13702
13703 if test x"$enablestring" = xdisable; then
13704 if test $wxUSE_ICO_CUR = yes; then
13705 result=no
13706 else
13707 result=yes
13708 fi
13709 else
13710 result=$wxUSE_ICO_CUR
13711 fi
13712
13713 { echo "$as_me:$LINENO: result: $result" >&5
13714 echo "${ECHO_T}$result" >&6; }
13715
13716
13717
13718
13719 enablestring=
13720 defaultval=$wxUSE_ALL_FEATURES
13721 if test -z "$defaultval"; then
13722 if test x"$enablestring" = xdisable; then
13723 defaultval=yes
13724 else
13725 defaultval=no
13726 fi
13727 fi
13728
13729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13730 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13731 # Check whether --enable-dccache was given.
13732 if test "${enable_dccache+set}" = set; then
13733 enableval=$enable_dccache;
13734 if test "$enableval" = yes; then
13735 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13736 else
13737 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13738 fi
13739
13740 else
13741
13742 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13743
13744 fi
13745
13746
13747 eval "$wx_cv_use_dccache"
13748
13749 if test x"$enablestring" = xdisable; then
13750 if test $wxUSE_DC_CACHEING = yes; then
13751 result=no
13752 else
13753 result=yes
13754 fi
13755 else
13756 result=$wxUSE_DC_CACHEING
13757 fi
13758
13759 { echo "$as_me:$LINENO: result: $result" >&5
13760 echo "${ECHO_T}$result" >&6; }
13761
13762
13763 enablestring=
13764 defaultval=$wxUSE_ALL_FEATURES
13765 if test -z "$defaultval"; then
13766 if test x"$enablestring" = xdisable; then
13767 defaultval=yes
13768 else
13769 defaultval=no
13770 fi
13771 fi
13772
13773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13774 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13775 # Check whether --enable-ps-in-msw was given.
13776 if test "${enable_ps_in_msw+set}" = set; then
13777 enableval=$enable_ps_in_msw;
13778 if test "$enableval" = yes; then
13779 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13780 else
13781 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13782 fi
13783
13784 else
13785
13786 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13787
13788 fi
13789
13790
13791 eval "$wx_cv_use_ps_in_msw"
13792
13793 if test x"$enablestring" = xdisable; then
13794 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13795 result=no
13796 else
13797 result=yes
13798 fi
13799 else
13800 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13801 fi
13802
13803 { echo "$as_me:$LINENO: result: $result" >&5
13804 echo "${ECHO_T}$result" >&6; }
13805
13806
13807 enablestring=
13808 defaultval=$wxUSE_ALL_FEATURES
13809 if test -z "$defaultval"; then
13810 if test x"$enablestring" = xdisable; then
13811 defaultval=yes
13812 else
13813 defaultval=no
13814 fi
13815 fi
13816
13817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13818 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13819 # Check whether --enable-ownerdrawn was given.
13820 if test "${enable_ownerdrawn+set}" = set; then
13821 enableval=$enable_ownerdrawn;
13822 if test "$enableval" = yes; then
13823 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13824 else
13825 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13826 fi
13827
13828 else
13829
13830 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13831
13832 fi
13833
13834
13835 eval "$wx_cv_use_ownerdrawn"
13836
13837 if test x"$enablestring" = xdisable; then
13838 if test $wxUSE_OWNER_DRAWN = yes; then
13839 result=no
13840 else
13841 result=yes
13842 fi
13843 else
13844 result=$wxUSE_OWNER_DRAWN
13845 fi
13846
13847 { echo "$as_me:$LINENO: result: $result" >&5
13848 echo "${ECHO_T}$result" >&6; }
13849
13850
13851 enablestring=
13852 defaultval=$wxUSE_ALL_FEATURES
13853 if test -z "$defaultval"; then
13854 if test x"$enablestring" = xdisable; then
13855 defaultval=yes
13856 else
13857 defaultval=no
13858 fi
13859 fi
13860
13861 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13862 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13863 # Check whether --enable-uxtheme was given.
13864 if test "${enable_uxtheme+set}" = set; then
13865 enableval=$enable_uxtheme;
13866 if test "$enableval" = yes; then
13867 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13868 else
13869 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13870 fi
13871
13872 else
13873
13874 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13875
13876 fi
13877
13878
13879 eval "$wx_cv_use_uxtheme"
13880
13881 if test x"$enablestring" = xdisable; then
13882 if test $wxUSE_UXTHEME = yes; then
13883 result=no
13884 else
13885 result=yes
13886 fi
13887 else
13888 result=$wxUSE_UXTHEME
13889 fi
13890
13891 { echo "$as_me:$LINENO: result: $result" >&5
13892 echo "${ECHO_T}$result" >&6; }
13893
13894
13895 enablestring=
13896 defaultval=$wxUSE_ALL_FEATURES
13897 if test -z "$defaultval"; then
13898 if test x"$enablestring" = xdisable; then
13899 defaultval=yes
13900 else
13901 defaultval=no
13902 fi
13903 fi
13904
13905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13906 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13907 # Check whether --enable-wxdib was given.
13908 if test "${enable_wxdib+set}" = set; then
13909 enableval=$enable_wxdib;
13910 if test "$enableval" = yes; then
13911 wx_cv_use_wxdib='wxUSE_DIB=yes'
13912 else
13913 wx_cv_use_wxdib='wxUSE_DIB=no'
13914 fi
13915
13916 else
13917
13918 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13919
13920 fi
13921
13922
13923 eval "$wx_cv_use_wxdib"
13924
13925 if test x"$enablestring" = xdisable; then
13926 if test $wxUSE_DIB = yes; then
13927 result=no
13928 else
13929 result=yes
13930 fi
13931 else
13932 result=$wxUSE_DIB
13933 fi
13934
13935 { echo "$as_me:$LINENO: result: $result" >&5
13936 echo "${ECHO_T}$result" >&6; }
13937
13938
13939 if test "$wxUSE_MSW" != 1; then
13940 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13941 fi
13942
13943
13944 enablestring=
13945 defaultval=$wxUSE_ALL_FEATURES
13946 if test -z "$defaultval"; then
13947 if test x"$enablestring" = xdisable; then
13948 defaultval=yes
13949 else
13950 defaultval=no
13951 fi
13952 fi
13953
13954 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13955 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13956 # Check whether --enable-autoidman was given.
13957 if test "${enable_autoidman+set}" = set; then
13958 enableval=$enable_autoidman;
13959 if test "$enableval" = yes; then
13960 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13961 else
13962 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13963 fi
13964
13965 else
13966
13967 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13968
13969 fi
13970
13971
13972 eval "$wx_cv_use_autoidman"
13973
13974 if test x"$enablestring" = xdisable; then
13975 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13976 result=no
13977 else
13978 result=yes
13979 fi
13980 else
13981 result=$wxUSE_AUTOID_MANAGEMENT
13982 fi
13983
13984 { echo "$as_me:$LINENO: result: $result" >&5
13985 echo "${ECHO_T}$result" >&6; }
13986
13987
13988 fi
13989
13990
13991 cat >confcache <<\_ACEOF
13992 # This file is a shell script that caches the results of configure
13993 # tests run on this system so they can be shared between configure
13994 # scripts and configure runs, see configure's option --config-cache.
13995 # It is not useful on other systems. If it contains results you don't
13996 # want to keep, you may remove or edit it.
13997 #
13998 # config.status only pays attention to the cache file if you give it
13999 # the --recheck option to rerun configure.
14000 #
14001 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14002 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14003 # following values.
14004
14005 _ACEOF
14006
14007 # The following way of writing the cache mishandles newlines in values,
14008 # but we know of no workaround that is simple, portable, and efficient.
14009 # So, we kill variables containing newlines.
14010 # Ultrix sh set writes to stderr and can't be redirected directly,
14011 # and sets the high bit in the cache file unless we assign to the vars.
14012 (
14013 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14014 eval ac_val=\$$ac_var
14015 case $ac_val in #(
14016 *${as_nl}*)
14017 case $ac_var in #(
14018 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14019 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14020 esac
14021 case $ac_var in #(
14022 _ | IFS | as_nl) ;; #(
14023 *) $as_unset $ac_var ;;
14024 esac ;;
14025 esac
14026 done
14027
14028 (set) 2>&1 |
14029 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14030 *${as_nl}ac_space=\ *)
14031 # `set' does not quote correctly, so add quotes (double-quote
14032 # substitution turns \\\\ into \\, and sed turns \\ into \).
14033 sed -n \
14034 "s/'/'\\\\''/g;
14035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14036 ;; #(
14037 *)
14038 # `set' quotes correctly as required by POSIX, so do not add quotes.
14039 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14040 ;;
14041 esac |
14042 sort
14043 ) |
14044 sed '
14045 /^ac_cv_env_/b end
14046 t clear
14047 :clear
14048 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14049 t end
14050 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14051 :end' >>confcache
14052 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14053 if test -w "$cache_file"; then
14054 test "x$cache_file" != "x/dev/null" &&
14055 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14056 echo "$as_me: updating cache $cache_file" >&6;}
14057 cat confcache >$cache_file
14058 else
14059 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14060 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14061 fi
14062 fi
14063 rm -f confcache
14064
14065 CFLAGS=${CFLAGS:=}
14066
14067
14068
14069 ac_ext=c
14070 ac_cpp='$CPP $CPPFLAGS'
14071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14074 if test -n "$ac_tool_prefix"; then
14075 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14076 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14079 if test "${ac_cv_prog_CC+set}" = set; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 else
14082 if test -n "$CC"; then
14083 ac_cv_prog_CC="$CC" # Let the user override the test.
14084 else
14085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14086 for as_dir in $PATH
14087 do
14088 IFS=$as_save_IFS
14089 test -z "$as_dir" && as_dir=.
14090 for ac_exec_ext in '' $ac_executable_extensions; do
14091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14092 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14094 break 2
14095 fi
14096 done
14097 done
14098 IFS=$as_save_IFS
14099
14100 fi
14101 fi
14102 CC=$ac_cv_prog_CC
14103 if test -n "$CC"; then
14104 { echo "$as_me:$LINENO: result: $CC" >&5
14105 echo "${ECHO_T}$CC" >&6; }
14106 else
14107 { echo "$as_me:$LINENO: result: no" >&5
14108 echo "${ECHO_T}no" >&6; }
14109 fi
14110
14111
14112 fi
14113 if test -z "$ac_cv_prog_CC"; then
14114 ac_ct_CC=$CC
14115 # Extract the first word of "gcc", so it can be a program name with args.
14116 set dummy gcc; ac_word=$2
14117 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14119 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14120 echo $ECHO_N "(cached) $ECHO_C" >&6
14121 else
14122 if test -n "$ac_ct_CC"; then
14123 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14124 else
14125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14126 for as_dir in $PATH
14127 do
14128 IFS=$as_save_IFS
14129 test -z "$as_dir" && as_dir=.
14130 for ac_exec_ext in '' $ac_executable_extensions; do
14131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14132 ac_cv_prog_ac_ct_CC="gcc"
14133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14134 break 2
14135 fi
14136 done
14137 done
14138 IFS=$as_save_IFS
14139
14140 fi
14141 fi
14142 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14143 if test -n "$ac_ct_CC"; then
14144 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14145 echo "${ECHO_T}$ac_ct_CC" >&6; }
14146 else
14147 { echo "$as_me:$LINENO: result: no" >&5
14148 echo "${ECHO_T}no" >&6; }
14149 fi
14150
14151 if test "x$ac_ct_CC" = x; then
14152 CC=""
14153 else
14154 case $cross_compiling:$ac_tool_warned in
14155 yes:)
14156 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14157 whose name does not start with the host triplet. If you think this
14158 configuration is useful to you, please write to autoconf@gnu.org." >&5
14159 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14160 whose name does not start with the host triplet. If you think this
14161 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14162 ac_tool_warned=yes ;;
14163 esac
14164 CC=$ac_ct_CC
14165 fi
14166 else
14167 CC="$ac_cv_prog_CC"
14168 fi
14169
14170 if test -z "$CC"; then
14171 if test -n "$ac_tool_prefix"; then
14172 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14173 set dummy ${ac_tool_prefix}cc; ac_word=$2
14174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14176 if test "${ac_cv_prog_CC+set}" = set; then
14177 echo $ECHO_N "(cached) $ECHO_C" >&6
14178 else
14179 if test -n "$CC"; then
14180 ac_cv_prog_CC="$CC" # Let the user override the test.
14181 else
14182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14183 for as_dir in $PATH
14184 do
14185 IFS=$as_save_IFS
14186 test -z "$as_dir" && as_dir=.
14187 for ac_exec_ext in '' $ac_executable_extensions; do
14188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14189 ac_cv_prog_CC="${ac_tool_prefix}cc"
14190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14191 break 2
14192 fi
14193 done
14194 done
14195 IFS=$as_save_IFS
14196
14197 fi
14198 fi
14199 CC=$ac_cv_prog_CC
14200 if test -n "$CC"; then
14201 { echo "$as_me:$LINENO: result: $CC" >&5
14202 echo "${ECHO_T}$CC" >&6; }
14203 else
14204 { echo "$as_me:$LINENO: result: no" >&5
14205 echo "${ECHO_T}no" >&6; }
14206 fi
14207
14208
14209 fi
14210 fi
14211 if test -z "$CC"; then
14212 # Extract the first word of "cc", so it can be a program name with args.
14213 set dummy cc; ac_word=$2
14214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14216 if test "${ac_cv_prog_CC+set}" = set; then
14217 echo $ECHO_N "(cached) $ECHO_C" >&6
14218 else
14219 if test -n "$CC"; then
14220 ac_cv_prog_CC="$CC" # Let the user override the test.
14221 else
14222 ac_prog_rejected=no
14223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14224 for as_dir in $PATH
14225 do
14226 IFS=$as_save_IFS
14227 test -z "$as_dir" && as_dir=.
14228 for ac_exec_ext in '' $ac_executable_extensions; do
14229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14230 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14231 ac_prog_rejected=yes
14232 continue
14233 fi
14234 ac_cv_prog_CC="cc"
14235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14236 break 2
14237 fi
14238 done
14239 done
14240 IFS=$as_save_IFS
14241
14242 if test $ac_prog_rejected = yes; then
14243 # We found a bogon in the path, so make sure we never use it.
14244 set dummy $ac_cv_prog_CC
14245 shift
14246 if test $# != 0; then
14247 # We chose a different compiler from the bogus one.
14248 # However, it has the same basename, so the bogon will be chosen
14249 # first if we set CC to just the basename; use the full file name.
14250 shift
14251 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14252 fi
14253 fi
14254 fi
14255 fi
14256 CC=$ac_cv_prog_CC
14257 if test -n "$CC"; then
14258 { echo "$as_me:$LINENO: result: $CC" >&5
14259 echo "${ECHO_T}$CC" >&6; }
14260 else
14261 { echo "$as_me:$LINENO: result: no" >&5
14262 echo "${ECHO_T}no" >&6; }
14263 fi
14264
14265
14266 fi
14267 if test -z "$CC"; then
14268 if test -n "$ac_tool_prefix"; then
14269 for ac_prog in cl.exe
14270 do
14271 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14272 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14275 if test "${ac_cv_prog_CC+set}" = set; then
14276 echo $ECHO_N "(cached) $ECHO_C" >&6
14277 else
14278 if test -n "$CC"; then
14279 ac_cv_prog_CC="$CC" # Let the user override the test.
14280 else
14281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14282 for as_dir in $PATH
14283 do
14284 IFS=$as_save_IFS
14285 test -z "$as_dir" && as_dir=.
14286 for ac_exec_ext in '' $ac_executable_extensions; do
14287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14288 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14290 break 2
14291 fi
14292 done
14293 done
14294 IFS=$as_save_IFS
14295
14296 fi
14297 fi
14298 CC=$ac_cv_prog_CC
14299 if test -n "$CC"; then
14300 { echo "$as_me:$LINENO: result: $CC" >&5
14301 echo "${ECHO_T}$CC" >&6; }
14302 else
14303 { echo "$as_me:$LINENO: result: no" >&5
14304 echo "${ECHO_T}no" >&6; }
14305 fi
14306
14307
14308 test -n "$CC" && break
14309 done
14310 fi
14311 if test -z "$CC"; then
14312 ac_ct_CC=$CC
14313 for ac_prog in cl.exe
14314 do
14315 # Extract the first word of "$ac_prog", so it can be a program name with args.
14316 set dummy $ac_prog; ac_word=$2
14317 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14319 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14320 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 else
14322 if test -n "$ac_ct_CC"; then
14323 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14324 else
14325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14326 for as_dir in $PATH
14327 do
14328 IFS=$as_save_IFS
14329 test -z "$as_dir" && as_dir=.
14330 for ac_exec_ext in '' $ac_executable_extensions; do
14331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14332 ac_cv_prog_ac_ct_CC="$ac_prog"
14333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14334 break 2
14335 fi
14336 done
14337 done
14338 IFS=$as_save_IFS
14339
14340 fi
14341 fi
14342 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14343 if test -n "$ac_ct_CC"; then
14344 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14345 echo "${ECHO_T}$ac_ct_CC" >&6; }
14346 else
14347 { echo "$as_me:$LINENO: result: no" >&5
14348 echo "${ECHO_T}no" >&6; }
14349 fi
14350
14351
14352 test -n "$ac_ct_CC" && break
14353 done
14354
14355 if test "x$ac_ct_CC" = x; then
14356 CC=""
14357 else
14358 case $cross_compiling:$ac_tool_warned in
14359 yes:)
14360 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14361 whose name does not start with the host triplet. If you think this
14362 configuration is useful to you, please write to autoconf@gnu.org." >&5
14363 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14364 whose name does not start with the host triplet. If you think this
14365 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14366 ac_tool_warned=yes ;;
14367 esac
14368 CC=$ac_ct_CC
14369 fi
14370 fi
14371
14372 fi
14373
14374
14375 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14376 See \`config.log' for more details." >&5
14377 echo "$as_me: error: no acceptable C compiler found in \$PATH
14378 See \`config.log' for more details." >&2;}
14379 { (exit 1); exit 1; }; }
14380
14381 # Provide some information about the compiler.
14382 echo "$as_me:$LINENO: checking for C compiler version" >&5
14383 ac_compiler=`set X $ac_compile; echo $2`
14384 { (ac_try="$ac_compiler --version >&5"
14385 case "(($ac_try" in
14386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14387 *) ac_try_echo=$ac_try;;
14388 esac
14389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14390 (eval "$ac_compiler --version >&5") 2>&5
14391 ac_status=$?
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }
14394 { (ac_try="$ac_compiler -v >&5"
14395 case "(($ac_try" in
14396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14397 *) ac_try_echo=$ac_try;;
14398 esac
14399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14400 (eval "$ac_compiler -v >&5") 2>&5
14401 ac_status=$?
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); }
14404 { (ac_try="$ac_compiler -V >&5"
14405 case "(($ac_try" in
14406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14407 *) ac_try_echo=$ac_try;;
14408 esac
14409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14410 (eval "$ac_compiler -V >&5") 2>&5
14411 ac_status=$?
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); }
14414
14415 cat >conftest.$ac_ext <<_ACEOF
14416 /* confdefs.h. */
14417 _ACEOF
14418 cat confdefs.h >>conftest.$ac_ext
14419 cat >>conftest.$ac_ext <<_ACEOF
14420 /* end confdefs.h. */
14421
14422 int
14423 main ()
14424 {
14425
14426 ;
14427 return 0;
14428 }
14429 _ACEOF
14430 ac_clean_files_save=$ac_clean_files
14431 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14432 # Try to create an executable without -o first, disregard a.out.
14433 # It will help us diagnose broken compilers, and finding out an intuition
14434 # of exeext.
14435 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14436 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14437 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14438 #
14439 # List of possible output files, starting from the most likely.
14440 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14441 # only as a last resort. b.out is created by i960 compilers.
14442 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14443 #
14444 # The IRIX 6 linker writes into existing files which may not be
14445 # executable, retaining their permissions. Remove them first so a
14446 # subsequent execution test works.
14447 ac_rmfiles=
14448 for ac_file in $ac_files
14449 do
14450 case $ac_file in
14451 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14452 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14453 esac
14454 done
14455 rm -f $ac_rmfiles
14456
14457 if { (ac_try="$ac_link_default"
14458 case "(($ac_try" in
14459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14460 *) ac_try_echo=$ac_try;;
14461 esac
14462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14463 (eval "$ac_link_default") 2>&5
14464 ac_status=$?
14465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14466 (exit $ac_status); }; then
14467 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14468 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14469 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14470 # so that the user can short-circuit this test for compilers unknown to
14471 # Autoconf.
14472 for ac_file in $ac_files ''
14473 do
14474 test -f "$ac_file" || continue
14475 case $ac_file in
14476 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14477 ;;
14478 [ab].out )
14479 # We found the default executable, but exeext='' is most
14480 # certainly right.
14481 break;;
14482 *.* )
14483 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14484 then :; else
14485 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14486 fi
14487 # We set ac_cv_exeext here because the later test for it is not
14488 # safe: cross compilers may not add the suffix if given an `-o'
14489 # argument, so we may need to know it at that point already.
14490 # Even if this section looks crufty: it has the advantage of
14491 # actually working.
14492 break;;
14493 * )
14494 break;;
14495 esac
14496 done
14497 test "$ac_cv_exeext" = no && ac_cv_exeext=
14498
14499 else
14500 ac_file=''
14501 fi
14502
14503 { echo "$as_me:$LINENO: result: $ac_file" >&5
14504 echo "${ECHO_T}$ac_file" >&6; }
14505 if test -z "$ac_file"; then
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.$ac_ext >&5
14508
14509 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14510 See \`config.log' for more details." >&5
14511 echo "$as_me: error: C compiler cannot create executables
14512 See \`config.log' for more details." >&2;}
14513 { (exit 77); exit 77; }; }
14514 fi
14515
14516 ac_exeext=$ac_cv_exeext
14517
14518 # Check that the compiler produces executables we can run. If not, either
14519 # the compiler is broken, or we cross compile.
14520 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14521 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14522 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14523 # If not cross compiling, check that we can run a simple program.
14524 if test "$cross_compiling" != yes; then
14525 if { ac_try='./$ac_file'
14526 { (case "(($ac_try" in
14527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14528 *) ac_try_echo=$ac_try;;
14529 esac
14530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14531 (eval "$ac_try") 2>&5
14532 ac_status=$?
14533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14534 (exit $ac_status); }; }; then
14535 cross_compiling=no
14536 else
14537 if test "$cross_compiling" = maybe; then
14538 cross_compiling=yes
14539 else
14540 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14541 If you meant to cross compile, use \`--host'.
14542 See \`config.log' for more details." >&5
14543 echo "$as_me: error: cannot run C compiled programs.
14544 If you meant to cross compile, use \`--host'.
14545 See \`config.log' for more details." >&2;}
14546 { (exit 1); exit 1; }; }
14547 fi
14548 fi
14549 fi
14550 { echo "$as_me:$LINENO: result: yes" >&5
14551 echo "${ECHO_T}yes" >&6; }
14552
14553 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14554 ac_clean_files=$ac_clean_files_save
14555 # Check that the compiler produces executables we can run. If not, either
14556 # the compiler is broken, or we cross compile.
14557 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14558 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14559 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14560 echo "${ECHO_T}$cross_compiling" >&6; }
14561
14562 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14563 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14564 if { (ac_try="$ac_link"
14565 case "(($ac_try" in
14566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14567 *) ac_try_echo=$ac_try;;
14568 esac
14569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14570 (eval "$ac_link") 2>&5
14571 ac_status=$?
14572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14573 (exit $ac_status); }; then
14574 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14575 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14576 # work properly (i.e., refer to `conftest.exe'), while it won't with
14577 # `rm'.
14578 for ac_file in conftest.exe conftest conftest.*; do
14579 test -f "$ac_file" || continue
14580 case $ac_file in
14581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14582 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14583 break;;
14584 * ) break;;
14585 esac
14586 done
14587 else
14588 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14589 See \`config.log' for more details." >&5
14590 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14591 See \`config.log' for more details." >&2;}
14592 { (exit 1); exit 1; }; }
14593 fi
14594
14595 rm -f conftest$ac_cv_exeext
14596 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14597 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14598
14599 rm -f conftest.$ac_ext
14600 EXEEXT=$ac_cv_exeext
14601 ac_exeext=$EXEEXT
14602 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14603 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14604 if test "${ac_cv_objext+set}" = set; then
14605 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 else
14607 cat >conftest.$ac_ext <<_ACEOF
14608 /* confdefs.h. */
14609 _ACEOF
14610 cat confdefs.h >>conftest.$ac_ext
14611 cat >>conftest.$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613
14614 int
14615 main ()
14616 {
14617
14618 ;
14619 return 0;
14620 }
14621 _ACEOF
14622 rm -f conftest.o conftest.obj
14623 if { (ac_try="$ac_compile"
14624 case "(($ac_try" in
14625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14626 *) ac_try_echo=$ac_try;;
14627 esac
14628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14629 (eval "$ac_compile") 2>&5
14630 ac_status=$?
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; then
14633 for ac_file in conftest.o conftest.obj conftest.*; do
14634 test -f "$ac_file" || continue;
14635 case $ac_file in
14636 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14637 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14638 break;;
14639 esac
14640 done
14641 else
14642 echo "$as_me: failed program was:" >&5
14643 sed 's/^/| /' conftest.$ac_ext >&5
14644
14645 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14646 See \`config.log' for more details." >&5
14647 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14648 See \`config.log' for more details." >&2;}
14649 { (exit 1); exit 1; }; }
14650 fi
14651
14652 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14653 fi
14654 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14655 echo "${ECHO_T}$ac_cv_objext" >&6; }
14656 OBJEXT=$ac_cv_objext
14657 ac_objext=$OBJEXT
14658 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14659 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14660 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14661 echo $ECHO_N "(cached) $ECHO_C" >&6
14662 else
14663 cat >conftest.$ac_ext <<_ACEOF
14664 /* confdefs.h. */
14665 _ACEOF
14666 cat confdefs.h >>conftest.$ac_ext
14667 cat >>conftest.$ac_ext <<_ACEOF
14668 /* end confdefs.h. */
14669
14670 int
14671 main ()
14672 {
14673 #ifndef __GNUC__
14674 choke me
14675 #endif
14676
14677 ;
14678 return 0;
14679 }
14680 _ACEOF
14681 rm -f conftest.$ac_objext
14682 if { (ac_try="$ac_compile"
14683 case "(($ac_try" in
14684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14685 *) ac_try_echo=$ac_try;;
14686 esac
14687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14688 (eval "$ac_compile") 2>conftest.er1
14689 ac_status=$?
14690 grep -v '^ *+' conftest.er1 >conftest.err
14691 rm -f conftest.er1
14692 cat conftest.err >&5
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } && {
14695 test -z "$ac_c_werror_flag" ||
14696 test ! -s conftest.err
14697 } && test -s conftest.$ac_objext; then
14698 ac_compiler_gnu=yes
14699 else
14700 echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.$ac_ext >&5
14702
14703 ac_compiler_gnu=no
14704 fi
14705
14706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14707 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14708
14709 fi
14710 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14711 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14712 GCC=`test $ac_compiler_gnu = yes && echo yes`
14713 ac_test_CFLAGS=${CFLAGS+set}
14714 ac_save_CFLAGS=$CFLAGS
14715 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14716 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14717 if test "${ac_cv_prog_cc_g+set}" = set; then
14718 echo $ECHO_N "(cached) $ECHO_C" >&6
14719 else
14720 ac_save_c_werror_flag=$ac_c_werror_flag
14721 ac_c_werror_flag=yes
14722 ac_cv_prog_cc_g=no
14723 CFLAGS="-g"
14724 cat >conftest.$ac_ext <<_ACEOF
14725 /* confdefs.h. */
14726 _ACEOF
14727 cat confdefs.h >>conftest.$ac_ext
14728 cat >>conftest.$ac_ext <<_ACEOF
14729 /* end confdefs.h. */
14730
14731 int
14732 main ()
14733 {
14734
14735 ;
14736 return 0;
14737 }
14738 _ACEOF
14739 rm -f conftest.$ac_objext
14740 if { (ac_try="$ac_compile"
14741 case "(($ac_try" in
14742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14743 *) ac_try_echo=$ac_try;;
14744 esac
14745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14746 (eval "$ac_compile") 2>conftest.er1
14747 ac_status=$?
14748 grep -v '^ *+' conftest.er1 >conftest.err
14749 rm -f conftest.er1
14750 cat conftest.err >&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); } && {
14753 test -z "$ac_c_werror_flag" ||
14754 test ! -s conftest.err
14755 } && test -s conftest.$ac_objext; then
14756 ac_cv_prog_cc_g=yes
14757 else
14758 echo "$as_me: failed program was:" >&5
14759 sed 's/^/| /' conftest.$ac_ext >&5
14760
14761 CFLAGS=""
14762 cat >conftest.$ac_ext <<_ACEOF
14763 /* confdefs.h. */
14764 _ACEOF
14765 cat confdefs.h >>conftest.$ac_ext
14766 cat >>conftest.$ac_ext <<_ACEOF
14767 /* end confdefs.h. */
14768
14769 int
14770 main ()
14771 {
14772
14773 ;
14774 return 0;
14775 }
14776 _ACEOF
14777 rm -f conftest.$ac_objext
14778 if { (ac_try="$ac_compile"
14779 case "(($ac_try" in
14780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14781 *) ac_try_echo=$ac_try;;
14782 esac
14783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14784 (eval "$ac_compile") 2>conftest.er1
14785 ac_status=$?
14786 grep -v '^ *+' conftest.er1 >conftest.err
14787 rm -f conftest.er1
14788 cat conftest.err >&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } && {
14791 test -z "$ac_c_werror_flag" ||
14792 test ! -s conftest.err
14793 } && test -s conftest.$ac_objext; then
14794 :
14795 else
14796 echo "$as_me: failed program was:" >&5
14797 sed 's/^/| /' conftest.$ac_ext >&5
14798
14799 ac_c_werror_flag=$ac_save_c_werror_flag
14800 CFLAGS="-g"
14801 cat >conftest.$ac_ext <<_ACEOF
14802 /* confdefs.h. */
14803 _ACEOF
14804 cat confdefs.h >>conftest.$ac_ext
14805 cat >>conftest.$ac_ext <<_ACEOF
14806 /* end confdefs.h. */
14807
14808 int
14809 main ()
14810 {
14811
14812 ;
14813 return 0;
14814 }
14815 _ACEOF
14816 rm -f conftest.$ac_objext
14817 if { (ac_try="$ac_compile"
14818 case "(($ac_try" in
14819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14820 *) ac_try_echo=$ac_try;;
14821 esac
14822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14823 (eval "$ac_compile") 2>conftest.er1
14824 ac_status=$?
14825 grep -v '^ *+' conftest.er1 >conftest.err
14826 rm -f conftest.er1
14827 cat conftest.err >&5
14828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14829 (exit $ac_status); } && {
14830 test -z "$ac_c_werror_flag" ||
14831 test ! -s conftest.err
14832 } && test -s conftest.$ac_objext; then
14833 ac_cv_prog_cc_g=yes
14834 else
14835 echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.$ac_ext >&5
14837
14838
14839 fi
14840
14841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14842 fi
14843
14844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14845 fi
14846
14847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14848 ac_c_werror_flag=$ac_save_c_werror_flag
14849 fi
14850 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14851 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14852 if test "$ac_test_CFLAGS" = set; then
14853 CFLAGS=$ac_save_CFLAGS
14854 elif test $ac_cv_prog_cc_g = yes; then
14855 if test "$GCC" = yes; then
14856 CFLAGS="-g -O2"
14857 else
14858 CFLAGS="-g"
14859 fi
14860 else
14861 if test "$GCC" = yes; then
14862 CFLAGS="-O2"
14863 else
14864 CFLAGS=
14865 fi
14866 fi
14867 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14868 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14869 if test "${ac_cv_prog_cc_c89+set}" = set; then
14870 echo $ECHO_N "(cached) $ECHO_C" >&6
14871 else
14872 ac_cv_prog_cc_c89=no
14873 ac_save_CC=$CC
14874 cat >conftest.$ac_ext <<_ACEOF
14875 /* confdefs.h. */
14876 _ACEOF
14877 cat confdefs.h >>conftest.$ac_ext
14878 cat >>conftest.$ac_ext <<_ACEOF
14879 /* end confdefs.h. */
14880 #include <stdarg.h>
14881 #include <stdio.h>
14882 #include <sys/types.h>
14883 #include <sys/stat.h>
14884 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14885 struct buf { int x; };
14886 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14887 static char *e (p, i)
14888 char **p;
14889 int i;
14890 {
14891 return p[i];
14892 }
14893 static char *f (char * (*g) (char **, int), char **p, ...)
14894 {
14895 char *s;
14896 va_list v;
14897 va_start (v,p);
14898 s = g (p, va_arg (v,int));
14899 va_end (v);
14900 return s;
14901 }
14902
14903 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14904 function prototypes and stuff, but not '\xHH' hex character constants.
14905 These don't provoke an error unfortunately, instead are silently treated
14906 as 'x'. The following induces an error, until -std is added to get
14907 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14908 array size at least. It's necessary to write '\x00'==0 to get something
14909 that's true only with -std. */
14910 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14911
14912 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14913 inside strings and character constants. */
14914 #define FOO(x) 'x'
14915 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14916
14917 int test (int i, double x);
14918 struct s1 {int (*f) (int a);};
14919 struct s2 {int (*f) (double a);};
14920 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14921 int argc;
14922 char **argv;
14923 int
14924 main ()
14925 {
14926 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14927 ;
14928 return 0;
14929 }
14930 _ACEOF
14931 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14932 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14933 do
14934 CC="$ac_save_CC $ac_arg"
14935 rm -f conftest.$ac_objext
14936 if { (ac_try="$ac_compile"
14937 case "(($ac_try" in
14938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14939 *) ac_try_echo=$ac_try;;
14940 esac
14941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14942 (eval "$ac_compile") 2>conftest.er1
14943 ac_status=$?
14944 grep -v '^ *+' conftest.er1 >conftest.err
14945 rm -f conftest.er1
14946 cat conftest.err >&5
14947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14948 (exit $ac_status); } && {
14949 test -z "$ac_c_werror_flag" ||
14950 test ! -s conftest.err
14951 } && test -s conftest.$ac_objext; then
14952 ac_cv_prog_cc_c89=$ac_arg
14953 else
14954 echo "$as_me: failed program was:" >&5
14955 sed 's/^/| /' conftest.$ac_ext >&5
14956
14957
14958 fi
14959
14960 rm -f core conftest.err conftest.$ac_objext
14961 test "x$ac_cv_prog_cc_c89" != "xno" && break
14962 done
14963 rm -f conftest.$ac_ext
14964 CC=$ac_save_CC
14965
14966 fi
14967 # AC_CACHE_VAL
14968 case "x$ac_cv_prog_cc_c89" in
14969 x)
14970 { echo "$as_me:$LINENO: result: none needed" >&5
14971 echo "${ECHO_T}none needed" >&6; } ;;
14972 xno)
14973 { echo "$as_me:$LINENO: result: unsupported" >&5
14974 echo "${ECHO_T}unsupported" >&6; } ;;
14975 *)
14976 CC="$CC $ac_cv_prog_cc_c89"
14977 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14978 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14979 esac
14980
14981
14982 ac_ext=c
14983 ac_cpp='$CPP $CPPFLAGS'
14984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14987
14988
14989
14990
14991 ac_ext=c
14992 ac_cpp='$CPP $CPPFLAGS'
14993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14996
14997 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14998 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14999 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15000 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 else
15002 cat >conftest.$ac_ext <<_ACEOF
15003 /* confdefs.h. */
15004 _ACEOF
15005 cat confdefs.h >>conftest.$ac_ext
15006 cat >>conftest.$ac_ext <<_ACEOF
15007 /* end confdefs.h. */
15008
15009 int
15010 main ()
15011 {
15012
15013 #ifndef __INTEL_COMPILER
15014 choke me
15015 #endif
15016
15017 ;
15018 return 0;
15019 }
15020 _ACEOF
15021 rm -f conftest.$ac_objext
15022 if { (ac_try="$ac_compile"
15023 case "(($ac_try" in
15024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15025 *) ac_try_echo=$ac_try;;
15026 esac
15027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15028 (eval "$ac_compile") 2>conftest.er1
15029 ac_status=$?
15030 grep -v '^ *+' conftest.er1 >conftest.err
15031 rm -f conftest.er1
15032 cat conftest.err >&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } && {
15035 test -z "$ac_c_werror_flag" ||
15036 test ! -s conftest.err
15037 } && test -s conftest.$ac_objext; then
15038 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15039 else
15040 echo "$as_me: failed program was:" >&5
15041 sed 's/^/| /' conftest.$ac_ext >&5
15042
15043 bakefile_cv_c_compiler___INTEL_COMPILER=no
15044
15045 fi
15046
15047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15048
15049
15050 fi
15051 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15052 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15053 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15054 :; INTELCC=yes
15055 else
15056 :;
15057 fi
15058 ac_ext=c
15059 ac_cpp='$CPP $CPPFLAGS'
15060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15063
15064
15065
15066
15067 if test "$INTELCC" = "yes"; then
15068
15069
15070 ac_ext=c
15071 ac_cpp='$CPP $CPPFLAGS'
15072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15075
15076 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15077 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15078 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15079 echo $ECHO_N "(cached) $ECHO_C" >&6
15080 else
15081 cat >conftest.$ac_ext <<_ACEOF
15082 /* confdefs.h. */
15083 _ACEOF
15084 cat confdefs.h >>conftest.$ac_ext
15085 cat >>conftest.$ac_ext <<_ACEOF
15086 /* end confdefs.h. */
15087
15088 int
15089 main ()
15090 {
15091
15092 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15093 choke me
15094 #endif
15095
15096 ;
15097 return 0;
15098 }
15099 _ACEOF
15100 rm -f conftest.$ac_objext
15101 if { (ac_try="$ac_compile"
15102 case "(($ac_try" in
15103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15104 *) ac_try_echo=$ac_try;;
15105 esac
15106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15107 (eval "$ac_compile") 2>conftest.er1
15108 ac_status=$?
15109 grep -v '^ *+' conftest.er1 >conftest.err
15110 rm -f conftest.er1
15111 cat conftest.err >&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); } && {
15114 test -z "$ac_c_werror_flag" ||
15115 test ! -s conftest.err
15116 } && test -s conftest.$ac_objext; then
15117 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15118 else
15119 echo "$as_me: failed program was:" >&5
15120 sed 's/^/| /' conftest.$ac_ext >&5
15121
15122 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15123
15124 fi
15125
15126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15127
15128
15129 fi
15130 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15131 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15132 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15133 :; INTELCC8=yes
15134 else
15135 :;
15136 fi
15137 ac_ext=c
15138 ac_cpp='$CPP $CPPFLAGS'
15139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15142
15143
15144
15145
15146
15147 ac_ext=c
15148 ac_cpp='$CPP $CPPFLAGS'
15149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15152
15153 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15154 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15155 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15156 echo $ECHO_N "(cached) $ECHO_C" >&6
15157 else
15158 cat >conftest.$ac_ext <<_ACEOF
15159 /* confdefs.h. */
15160 _ACEOF
15161 cat confdefs.h >>conftest.$ac_ext
15162 cat >>conftest.$ac_ext <<_ACEOF
15163 /* end confdefs.h. */
15164
15165 int
15166 main ()
15167 {
15168
15169 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15170 choke me
15171 #endif
15172
15173 ;
15174 return 0;
15175 }
15176 _ACEOF
15177 rm -f conftest.$ac_objext
15178 if { (ac_try="$ac_compile"
15179 case "(($ac_try" in
15180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15181 *) ac_try_echo=$ac_try;;
15182 esac
15183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15184 (eval "$ac_compile") 2>conftest.er1
15185 ac_status=$?
15186 grep -v '^ *+' conftest.er1 >conftest.err
15187 rm -f conftest.er1
15188 cat conftest.err >&5
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); } && {
15191 test -z "$ac_c_werror_flag" ||
15192 test ! -s conftest.err
15193 } && test -s conftest.$ac_objext; then
15194 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15195 else
15196 echo "$as_me: failed program was:" >&5
15197 sed 's/^/| /' conftest.$ac_ext >&5
15198
15199 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15200
15201 fi
15202
15203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15204
15205
15206 fi
15207 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15208 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15209 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15210 :; INTELCC10=yes
15211 else
15212 :;
15213 fi
15214 ac_ext=c
15215 ac_cpp='$CPP $CPPFLAGS'
15216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15219
15220
15221
15222 fi
15223
15224 if test "x$GCC" != "xyes"; then
15225 if test "xCC" = "xC"; then
15226 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15227 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15228 if test "${bakefile_cv_c_exto+set}" = set; then
15229 echo $ECHO_N "(cached) $ECHO_C" >&6
15230 else
15231 cat >conftest.$ac_ext <<_ACEOF
15232 /* confdefs.h. */
15233 _ACEOF
15234 cat confdefs.h >>conftest.$ac_ext
15235 cat >>conftest.$ac_ext <<_ACEOF
15236 /* end confdefs.h. */
15237
15238 int
15239 main ()
15240 {
15241
15242 ;
15243 return 0;
15244 }
15245 _ACEOF
15246 rm -f conftest.$ac_objext conftest.$ac_ext.o
15247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15248 (eval $ac_compile) 2>&5
15249 ac_status=$?
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; then
15252 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15253 case $ac_file in
15254 conftest.$ac_ext.o)
15255 bakefile_cv_c_exto="-ext o"
15256 ;;
15257 *)
15258 ;;
15259 esac
15260 done
15261 else
15262 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15263 See \`config.log' for more details." >&5
15264 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15265 See \`config.log' for more details." >&2;}
15266 { (exit 1); exit 1; }; }
15267
15268 fi
15269
15270 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15271
15272 fi
15273 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15274 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15275 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15276 if test "c" = "c"; then
15277 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15278 fi
15279 if test "c" = "cxx"; then
15280 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15281 fi
15282 fi
15283
15284 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15285 unset ac_cv_prog_cc_g
15286 ac_test_CFLAGS=${CFLAGS+set}
15287 ac_save_CFLAGS=$CFLAGS
15288 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15289 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15290 if test "${ac_cv_prog_cc_g+set}" = set; then
15291 echo $ECHO_N "(cached) $ECHO_C" >&6
15292 else
15293 ac_save_c_werror_flag=$ac_c_werror_flag
15294 ac_c_werror_flag=yes
15295 ac_cv_prog_cc_g=no
15296 CFLAGS="-g"
15297 cat >conftest.$ac_ext <<_ACEOF
15298 /* confdefs.h. */
15299 _ACEOF
15300 cat confdefs.h >>conftest.$ac_ext
15301 cat >>conftest.$ac_ext <<_ACEOF
15302 /* end confdefs.h. */
15303
15304 int
15305 main ()
15306 {
15307
15308 ;
15309 return 0;
15310 }
15311 _ACEOF
15312 rm -f conftest.$ac_objext
15313 if { (ac_try="$ac_compile"
15314 case "(($ac_try" in
15315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15316 *) ac_try_echo=$ac_try;;
15317 esac
15318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15319 (eval "$ac_compile") 2>conftest.er1
15320 ac_status=$?
15321 grep -v '^ *+' conftest.er1 >conftest.err
15322 rm -f conftest.er1
15323 cat conftest.err >&5
15324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325 (exit $ac_status); } && {
15326 test -z "$ac_c_werror_flag" ||
15327 test ! -s conftest.err
15328 } && test -s conftest.$ac_objext; then
15329 ac_cv_prog_cc_g=yes
15330 else
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.$ac_ext >&5
15333
15334 CFLAGS=""
15335 cat >conftest.$ac_ext <<_ACEOF
15336 /* confdefs.h. */
15337 _ACEOF
15338 cat confdefs.h >>conftest.$ac_ext
15339 cat >>conftest.$ac_ext <<_ACEOF
15340 /* end confdefs.h. */
15341
15342 int
15343 main ()
15344 {
15345
15346 ;
15347 return 0;
15348 }
15349 _ACEOF
15350 rm -f conftest.$ac_objext
15351 if { (ac_try="$ac_compile"
15352 case "(($ac_try" in
15353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15354 *) ac_try_echo=$ac_try;;
15355 esac
15356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15357 (eval "$ac_compile") 2>conftest.er1
15358 ac_status=$?
15359 grep -v '^ *+' conftest.er1 >conftest.err
15360 rm -f conftest.er1
15361 cat conftest.err >&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); } && {
15364 test -z "$ac_c_werror_flag" ||
15365 test ! -s conftest.err
15366 } && test -s conftest.$ac_objext; then
15367 :
15368 else
15369 echo "$as_me: failed program was:" >&5
15370 sed 's/^/| /' conftest.$ac_ext >&5
15371
15372 ac_c_werror_flag=$ac_save_c_werror_flag
15373 CFLAGS="-g"
15374 cat >conftest.$ac_ext <<_ACEOF
15375 /* confdefs.h. */
15376 _ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15380
15381 int
15382 main ()
15383 {
15384
15385 ;
15386 return 0;
15387 }
15388 _ACEOF
15389 rm -f conftest.$ac_objext
15390 if { (ac_try="$ac_compile"
15391 case "(($ac_try" in
15392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15393 *) ac_try_echo=$ac_try;;
15394 esac
15395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15396 (eval "$ac_compile") 2>conftest.er1
15397 ac_status=$?
15398 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } && {
15403 test -z "$ac_c_werror_flag" ||
15404 test ! -s conftest.err
15405 } && test -s conftest.$ac_objext; then
15406 ac_cv_prog_cc_g=yes
15407 else
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15410
15411
15412 fi
15413
15414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415 fi
15416
15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15418 fi
15419
15420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15421 ac_c_werror_flag=$ac_save_c_werror_flag
15422 fi
15423 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15424 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15425 if test "$ac_test_CFLAGS" = set; then
15426 CFLAGS=$ac_save_CFLAGS
15427 elif test $ac_cv_prog_cc_g = yes; then
15428 if test "$GCC" = yes; then
15429 CFLAGS="-g -O2"
15430 else
15431 CFLAGS="-g"
15432 fi
15433 else
15434 if test "$GCC" = yes; then
15435 CFLAGS="-O2"
15436 else
15437 CFLAGS=
15438 fi
15439 fi
15440 fi
15441 fi
15442
15443 case `uname -s` in
15444 AIX*)
15445
15446
15447 ac_ext=c
15448 ac_cpp='$CPP $CPPFLAGS'
15449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15452
15453 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15454 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15455 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15456 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 else
15458 cat >conftest.$ac_ext <<_ACEOF
15459 /* confdefs.h. */
15460 _ACEOF
15461 cat confdefs.h >>conftest.$ac_ext
15462 cat >>conftest.$ac_ext <<_ACEOF
15463 /* end confdefs.h. */
15464
15465 int
15466 main ()
15467 {
15468
15469 #ifndef __xlC__
15470 choke me
15471 #endif
15472
15473 ;
15474 return 0;
15475 }
15476 _ACEOF
15477 rm -f conftest.$ac_objext
15478 if { (ac_try="$ac_compile"
15479 case "(($ac_try" in
15480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15481 *) ac_try_echo=$ac_try;;
15482 esac
15483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15484 (eval "$ac_compile") 2>conftest.er1
15485 ac_status=$?
15486 grep -v '^ *+' conftest.er1 >conftest.err
15487 rm -f conftest.er1
15488 cat conftest.err >&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); } && {
15491 test -z "$ac_c_werror_flag" ||
15492 test ! -s conftest.err
15493 } && test -s conftest.$ac_objext; then
15494 bakefile_cv_c_compiler___xlC__=yes
15495 else
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15498
15499 bakefile_cv_c_compiler___xlC__=no
15500
15501 fi
15502
15503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15504
15505
15506 fi
15507 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15508 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15509 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15510 :; XLCC=yes
15511 else
15512 :;
15513 fi
15514 ac_ext=c
15515 ac_cpp='$CPP $CPPFLAGS'
15516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15519
15520
15521
15522 ;;
15523
15524 Darwin)
15525
15526
15527 ac_ext=c
15528 ac_cpp='$CPP $CPPFLAGS'
15529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15532
15533 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15534 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15535 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15537 else
15538 cat >conftest.$ac_ext <<_ACEOF
15539 /* confdefs.h. */
15540 _ACEOF
15541 cat confdefs.h >>conftest.$ac_ext
15542 cat >>conftest.$ac_ext <<_ACEOF
15543 /* end confdefs.h. */
15544
15545 int
15546 main ()
15547 {
15548
15549 #ifndef __MWERKS__
15550 choke me
15551 #endif
15552
15553 ;
15554 return 0;
15555 }
15556 _ACEOF
15557 rm -f conftest.$ac_objext
15558 if { (ac_try="$ac_compile"
15559 case "(($ac_try" in
15560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15561 *) ac_try_echo=$ac_try;;
15562 esac
15563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15564 (eval "$ac_compile") 2>conftest.er1
15565 ac_status=$?
15566 grep -v '^ *+' conftest.er1 >conftest.err
15567 rm -f conftest.er1
15568 cat conftest.err >&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); } && {
15571 test -z "$ac_c_werror_flag" ||
15572 test ! -s conftest.err
15573 } && test -s conftest.$ac_objext; then
15574 bakefile_cv_c_compiler___MWERKS__=yes
15575 else
15576 echo "$as_me: failed program was:" >&5
15577 sed 's/^/| /' conftest.$ac_ext >&5
15578
15579 bakefile_cv_c_compiler___MWERKS__=no
15580
15581 fi
15582
15583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584
15585
15586 fi
15587 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15588 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15589 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15590 :; MWCC=yes
15591 else
15592 :;
15593 fi
15594 ac_ext=c
15595 ac_cpp='$CPP $CPPFLAGS'
15596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15599
15600
15601
15602 if test "$MWCC" != "yes"; then
15603
15604
15605 ac_ext=c
15606 ac_cpp='$CPP $CPPFLAGS'
15607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15610
15611 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15612 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15613 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15614 echo $ECHO_N "(cached) $ECHO_C" >&6
15615 else
15616 cat >conftest.$ac_ext <<_ACEOF
15617 /* confdefs.h. */
15618 _ACEOF
15619 cat confdefs.h >>conftest.$ac_ext
15620 cat >>conftest.$ac_ext <<_ACEOF
15621 /* end confdefs.h. */
15622
15623 int
15624 main ()
15625 {
15626
15627 #ifndef __xlC__
15628 choke me
15629 #endif
15630
15631 ;
15632 return 0;
15633 }
15634 _ACEOF
15635 rm -f conftest.$ac_objext
15636 if { (ac_try="$ac_compile"
15637 case "(($ac_try" in
15638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15639 *) ac_try_echo=$ac_try;;
15640 esac
15641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15642 (eval "$ac_compile") 2>conftest.er1
15643 ac_status=$?
15644 grep -v '^ *+' conftest.er1 >conftest.err
15645 rm -f conftest.er1
15646 cat conftest.err >&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); } && {
15649 test -z "$ac_c_werror_flag" ||
15650 test ! -s conftest.err
15651 } && test -s conftest.$ac_objext; then
15652 bakefile_cv_c_compiler___xlC__=yes
15653 else
15654 echo "$as_me: failed program was:" >&5
15655 sed 's/^/| /' conftest.$ac_ext >&5
15656
15657 bakefile_cv_c_compiler___xlC__=no
15658
15659 fi
15660
15661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15662
15663
15664 fi
15665 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15666 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15667 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15668 :; XLCC=yes
15669 else
15670 :;
15671 fi
15672 ac_ext=c
15673 ac_cpp='$CPP $CPPFLAGS'
15674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15677
15678
15679
15680 fi
15681 ;;
15682
15683 IRIX*)
15684
15685
15686 ac_ext=c
15687 ac_cpp='$CPP $CPPFLAGS'
15688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15691
15692 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15693 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15694 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15695 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 else
15697 cat >conftest.$ac_ext <<_ACEOF
15698 /* confdefs.h. */
15699 _ACEOF
15700 cat confdefs.h >>conftest.$ac_ext
15701 cat >>conftest.$ac_ext <<_ACEOF
15702 /* end confdefs.h. */
15703
15704 int
15705 main ()
15706 {
15707
15708 #ifndef _SGI_COMPILER_VERSION
15709 choke me
15710 #endif
15711
15712 ;
15713 return 0;
15714 }
15715 _ACEOF
15716 rm -f conftest.$ac_objext
15717 if { (ac_try="$ac_compile"
15718 case "(($ac_try" in
15719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15720 *) ac_try_echo=$ac_try;;
15721 esac
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_compile") 2>conftest.er1
15724 ac_status=$?
15725 grep -v '^ *+' conftest.er1 >conftest.err
15726 rm -f conftest.er1
15727 cat conftest.err >&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } && {
15730 test -z "$ac_c_werror_flag" ||
15731 test ! -s conftest.err
15732 } && test -s conftest.$ac_objext; then
15733 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15734 else
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15737
15738 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15739
15740 fi
15741
15742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15743
15744
15745 fi
15746 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15747 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15748 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15749 :; SGICC=yes
15750 else
15751 :;
15752 fi
15753 ac_ext=c
15754 ac_cpp='$CPP $CPPFLAGS'
15755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15758
15759
15760
15761 ;;
15762
15763 Linux*)
15764 if test "$INTELCC" != "yes"; then
15765
15766
15767 ac_ext=c
15768 ac_cpp='$CPP $CPPFLAGS'
15769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15772
15773 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15774 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15775 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15776 echo $ECHO_N "(cached) $ECHO_C" >&6
15777 else
15778 cat >conftest.$ac_ext <<_ACEOF
15779 /* confdefs.h. */
15780 _ACEOF
15781 cat confdefs.h >>conftest.$ac_ext
15782 cat >>conftest.$ac_ext <<_ACEOF
15783 /* end confdefs.h. */
15784
15785 int
15786 main ()
15787 {
15788
15789 #ifndef __SUNPRO_C
15790 choke me
15791 #endif
15792
15793 ;
15794 return 0;
15795 }
15796 _ACEOF
15797 rm -f conftest.$ac_objext
15798 if { (ac_try="$ac_compile"
15799 case "(($ac_try" in
15800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15801 *) ac_try_echo=$ac_try;;
15802 esac
15803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15804 (eval "$ac_compile") 2>conftest.er1
15805 ac_status=$?
15806 grep -v '^ *+' conftest.er1 >conftest.err
15807 rm -f conftest.er1
15808 cat conftest.err >&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); } && {
15811 test -z "$ac_c_werror_flag" ||
15812 test ! -s conftest.err
15813 } && test -s conftest.$ac_objext; then
15814 bakefile_cv_c_compiler___SUNPRO_C=yes
15815 else
15816 echo "$as_me: failed program was:" >&5
15817 sed 's/^/| /' conftest.$ac_ext >&5
15818
15819 bakefile_cv_c_compiler___SUNPRO_C=no
15820
15821 fi
15822
15823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15824
15825
15826 fi
15827 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15828 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15829 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15830 :; SUNCC=yes
15831 else
15832 :;
15833 fi
15834 ac_ext=c
15835 ac_cpp='$CPP $CPPFLAGS'
15836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15839
15840
15841
15842 fi
15843 ;;
15844
15845 HP-UX*)
15846
15847
15848 ac_ext=c
15849 ac_cpp='$CPP $CPPFLAGS'
15850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15853
15854 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15855 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15856 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15857 echo $ECHO_N "(cached) $ECHO_C" >&6
15858 else
15859 cat >conftest.$ac_ext <<_ACEOF
15860 /* confdefs.h. */
15861 _ACEOF
15862 cat confdefs.h >>conftest.$ac_ext
15863 cat >>conftest.$ac_ext <<_ACEOF
15864 /* end confdefs.h. */
15865
15866 int
15867 main ()
15868 {
15869
15870 #ifndef __HP_cc
15871 choke me
15872 #endif
15873
15874 ;
15875 return 0;
15876 }
15877 _ACEOF
15878 rm -f conftest.$ac_objext
15879 if { (ac_try="$ac_compile"
15880 case "(($ac_try" in
15881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15882 *) ac_try_echo=$ac_try;;
15883 esac
15884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15885 (eval "$ac_compile") 2>conftest.er1
15886 ac_status=$?
15887 grep -v '^ *+' conftest.er1 >conftest.err
15888 rm -f conftest.er1
15889 cat conftest.err >&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); } && {
15892 test -z "$ac_c_werror_flag" ||
15893 test ! -s conftest.err
15894 } && test -s conftest.$ac_objext; then
15895 bakefile_cv_c_compiler___HP_cc=yes
15896 else
15897 echo "$as_me: failed program was:" >&5
15898 sed 's/^/| /' conftest.$ac_ext >&5
15899
15900 bakefile_cv_c_compiler___HP_cc=no
15901
15902 fi
15903
15904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15905
15906
15907 fi
15908 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15909 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15910 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15911 :; HPCC=yes
15912 else
15913 :;
15914 fi
15915 ac_ext=c
15916 ac_cpp='$CPP $CPPFLAGS'
15917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15920
15921
15922
15923 ;;
15924
15925 OSF1)
15926
15927
15928 ac_ext=c
15929 ac_cpp='$CPP $CPPFLAGS'
15930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15933
15934 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15935 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15936 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15937 echo $ECHO_N "(cached) $ECHO_C" >&6
15938 else
15939 cat >conftest.$ac_ext <<_ACEOF
15940 /* confdefs.h. */
15941 _ACEOF
15942 cat confdefs.h >>conftest.$ac_ext
15943 cat >>conftest.$ac_ext <<_ACEOF
15944 /* end confdefs.h. */
15945
15946 int
15947 main ()
15948 {
15949
15950 #ifndef __DECC
15951 choke me
15952 #endif
15953
15954 ;
15955 return 0;
15956 }
15957 _ACEOF
15958 rm -f conftest.$ac_objext
15959 if { (ac_try="$ac_compile"
15960 case "(($ac_try" in
15961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15962 *) ac_try_echo=$ac_try;;
15963 esac
15964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15965 (eval "$ac_compile") 2>conftest.er1
15966 ac_status=$?
15967 grep -v '^ *+' conftest.er1 >conftest.err
15968 rm -f conftest.er1
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } && {
15972 test -z "$ac_c_werror_flag" ||
15973 test ! -s conftest.err
15974 } && test -s conftest.$ac_objext; then
15975 bakefile_cv_c_compiler___DECC=yes
15976 else
15977 echo "$as_me: failed program was:" >&5
15978 sed 's/^/| /' conftest.$ac_ext >&5
15979
15980 bakefile_cv_c_compiler___DECC=no
15981
15982 fi
15983
15984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15985
15986
15987 fi
15988 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15989 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15990 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15991 :; COMPAQCC=yes
15992 else
15993 :;
15994 fi
15995 ac_ext=c
15996 ac_cpp='$CPP $CPPFLAGS'
15997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16000
16001
16002
16003 ;;
16004
16005 SunOS)
16006
16007
16008 ac_ext=c
16009 ac_cpp='$CPP $CPPFLAGS'
16010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16013
16014 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16015 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16016 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16017 echo $ECHO_N "(cached) $ECHO_C" >&6
16018 else
16019 cat >conftest.$ac_ext <<_ACEOF
16020 /* confdefs.h. */
16021 _ACEOF
16022 cat confdefs.h >>conftest.$ac_ext
16023 cat >>conftest.$ac_ext <<_ACEOF
16024 /* end confdefs.h. */
16025
16026 int
16027 main ()
16028 {
16029
16030 #ifndef __SUNPRO_C
16031 choke me
16032 #endif
16033
16034 ;
16035 return 0;
16036 }
16037 _ACEOF
16038 rm -f conftest.$ac_objext
16039 if { (ac_try="$ac_compile"
16040 case "(($ac_try" in
16041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16042 *) ac_try_echo=$ac_try;;
16043 esac
16044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16045 (eval "$ac_compile") 2>conftest.er1
16046 ac_status=$?
16047 grep -v '^ *+' conftest.er1 >conftest.err
16048 rm -f conftest.er1
16049 cat conftest.err >&5
16050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16051 (exit $ac_status); } && {
16052 test -z "$ac_c_werror_flag" ||
16053 test ! -s conftest.err
16054 } && test -s conftest.$ac_objext; then
16055 bakefile_cv_c_compiler___SUNPRO_C=yes
16056 else
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.$ac_ext >&5
16059
16060 bakefile_cv_c_compiler___SUNPRO_C=no
16061
16062 fi
16063
16064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16065
16066
16067 fi
16068 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16069 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16070 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16071 :; SUNCC=yes
16072 else
16073 :;
16074 fi
16075 ac_ext=c
16076 ac_cpp='$CPP $CPPFLAGS'
16077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16080
16081
16082
16083 ;;
16084 esac
16085 fi
16086
16087
16088
16089 ac_ext=c
16090 ac_cpp='$CPP $CPPFLAGS'
16091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16094 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16095 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16096 # On Suns, sometimes $CPP names a directory.
16097 if test -n "$CPP" && test -d "$CPP"; then
16098 CPP=
16099 fi
16100 if test -z "$CPP"; then
16101 if test "${ac_cv_prog_CPP+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 else
16104 # Double quotes because CPP needs to be expanded
16105 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16106 do
16107 ac_preproc_ok=false
16108 for ac_c_preproc_warn_flag in '' yes
16109 do
16110 # Use a header file that comes with gcc, so configuring glibc
16111 # with a fresh cross-compiler works.
16112 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16113 # <limits.h> exists even on freestanding compilers.
16114 # On the NeXT, cc -E runs the code through the compiler's parser,
16115 # not just through cpp. "Syntax error" is here to catch this case.
16116 cat >conftest.$ac_ext <<_ACEOF
16117 /* confdefs.h. */
16118 _ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16122 #ifdef __STDC__
16123 # include <limits.h>
16124 #else
16125 # include <assert.h>
16126 #endif
16127 Syntax error
16128 _ACEOF
16129 if { (ac_try="$ac_cpp conftest.$ac_ext"
16130 case "(($ac_try" in
16131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16132 *) ac_try_echo=$ac_try;;
16133 esac
16134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16135 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16136 ac_status=$?
16137 grep -v '^ *+' conftest.er1 >conftest.err
16138 rm -f conftest.er1
16139 cat conftest.err >&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); } >/dev/null && {
16142 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16143 test ! -s conftest.err
16144 }; then
16145 :
16146 else
16147 echo "$as_me: failed program was:" >&5
16148 sed 's/^/| /' conftest.$ac_ext >&5
16149
16150 # Broken: fails on valid input.
16151 continue
16152 fi
16153
16154 rm -f conftest.err conftest.$ac_ext
16155
16156 # OK, works on sane cases. Now check whether nonexistent headers
16157 # can be detected and how.
16158 cat >conftest.$ac_ext <<_ACEOF
16159 /* confdefs.h. */
16160 _ACEOF
16161 cat confdefs.h >>conftest.$ac_ext
16162 cat >>conftest.$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16164 #include <ac_nonexistent.h>
16165 _ACEOF
16166 if { (ac_try="$ac_cpp conftest.$ac_ext"
16167 case "(($ac_try" in
16168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16169 *) ac_try_echo=$ac_try;;
16170 esac
16171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16172 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16173 ac_status=$?
16174 grep -v '^ *+' conftest.er1 >conftest.err
16175 rm -f conftest.er1
16176 cat conftest.err >&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); } >/dev/null && {
16179 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16180 test ! -s conftest.err
16181 }; then
16182 # Broken: success on invalid input.
16183 continue
16184 else
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16187
16188 # Passes both tests.
16189 ac_preproc_ok=:
16190 break
16191 fi
16192
16193 rm -f conftest.err conftest.$ac_ext
16194
16195 done
16196 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16197 rm -f conftest.err conftest.$ac_ext
16198 if $ac_preproc_ok; then
16199 break
16200 fi
16201
16202 done
16203 ac_cv_prog_CPP=$CPP
16204
16205 fi
16206 CPP=$ac_cv_prog_CPP
16207 else
16208 ac_cv_prog_CPP=$CPP
16209 fi
16210 { echo "$as_me:$LINENO: result: $CPP" >&5
16211 echo "${ECHO_T}$CPP" >&6; }
16212 ac_preproc_ok=false
16213 for ac_c_preproc_warn_flag in '' yes
16214 do
16215 # Use a header file that comes with gcc, so configuring glibc
16216 # with a fresh cross-compiler works.
16217 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16218 # <limits.h> exists even on freestanding compilers.
16219 # On the NeXT, cc -E runs the code through the compiler's parser,
16220 # not just through cpp. "Syntax error" is here to catch this case.
16221 cat >conftest.$ac_ext <<_ACEOF
16222 /* confdefs.h. */
16223 _ACEOF
16224 cat confdefs.h >>conftest.$ac_ext
16225 cat >>conftest.$ac_ext <<_ACEOF
16226 /* end confdefs.h. */
16227 #ifdef __STDC__
16228 # include <limits.h>
16229 #else
16230 # include <assert.h>
16231 #endif
16232 Syntax error
16233 _ACEOF
16234 if { (ac_try="$ac_cpp conftest.$ac_ext"
16235 case "(($ac_try" in
16236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16237 *) ac_try_echo=$ac_try;;
16238 esac
16239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16240 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16241 ac_status=$?
16242 grep -v '^ *+' conftest.er1 >conftest.err
16243 rm -f conftest.er1
16244 cat conftest.err >&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } >/dev/null && {
16247 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16248 test ! -s conftest.err
16249 }; then
16250 :
16251 else
16252 echo "$as_me: failed program was:" >&5
16253 sed 's/^/| /' conftest.$ac_ext >&5
16254
16255 # Broken: fails on valid input.
16256 continue
16257 fi
16258
16259 rm -f conftest.err conftest.$ac_ext
16260
16261 # OK, works on sane cases. Now check whether nonexistent headers
16262 # can be detected and how.
16263 cat >conftest.$ac_ext <<_ACEOF
16264 /* confdefs.h. */
16265 _ACEOF
16266 cat confdefs.h >>conftest.$ac_ext
16267 cat >>conftest.$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16269 #include <ac_nonexistent.h>
16270 _ACEOF
16271 if { (ac_try="$ac_cpp conftest.$ac_ext"
16272 case "(($ac_try" in
16273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16274 *) ac_try_echo=$ac_try;;
16275 esac
16276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16277 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16278 ac_status=$?
16279 grep -v '^ *+' conftest.er1 >conftest.err
16280 rm -f conftest.er1
16281 cat conftest.err >&5
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); } >/dev/null && {
16284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16285 test ! -s conftest.err
16286 }; then
16287 # Broken: success on invalid input.
16288 continue
16289 else
16290 echo "$as_me: failed program was:" >&5
16291 sed 's/^/| /' conftest.$ac_ext >&5
16292
16293 # Passes both tests.
16294 ac_preproc_ok=:
16295 break
16296 fi
16297
16298 rm -f conftest.err conftest.$ac_ext
16299
16300 done
16301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16302 rm -f conftest.err conftest.$ac_ext
16303 if $ac_preproc_ok; then
16304 :
16305 else
16306 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16307 See \`config.log' for more details." >&5
16308 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16309 See \`config.log' for more details." >&2;}
16310 { (exit 1); exit 1; }; }
16311 fi
16312
16313 ac_ext=c
16314 ac_cpp='$CPP $CPPFLAGS'
16315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16318
16319
16320 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16321 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16322 if test "${ac_cv_path_GREP+set}" = set; then
16323 echo $ECHO_N "(cached) $ECHO_C" >&6
16324 else
16325 # Extract the first word of "grep ggrep" to use in msg output
16326 if test -z "$GREP"; then
16327 set dummy grep ggrep; ac_prog_name=$2
16328 if test "${ac_cv_path_GREP+set}" = set; then
16329 echo $ECHO_N "(cached) $ECHO_C" >&6
16330 else
16331 ac_path_GREP_found=false
16332 # Loop through the user's path and test for each of PROGNAME-LIST
16333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16334 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16335 do
16336 IFS=$as_save_IFS
16337 test -z "$as_dir" && as_dir=.
16338 for ac_prog in grep ggrep; do
16339 for ac_exec_ext in '' $ac_executable_extensions; do
16340 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16341 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16342 # Check for GNU ac_path_GREP and select it if it is found.
16343 # Check for GNU $ac_path_GREP
16344 case `"$ac_path_GREP" --version 2>&1` in
16345 *GNU*)
16346 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16347 *)
16348 ac_count=0
16349 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16350 while :
16351 do
16352 cat "conftest.in" "conftest.in" >"conftest.tmp"
16353 mv "conftest.tmp" "conftest.in"
16354 cp "conftest.in" "conftest.nl"
16355 echo 'GREP' >> "conftest.nl"
16356 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16357 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16358 ac_count=`expr $ac_count + 1`
16359 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16360 # Best one so far, save it but keep looking for a better one
16361 ac_cv_path_GREP="$ac_path_GREP"
16362 ac_path_GREP_max=$ac_count
16363 fi
16364 # 10*(2^10) chars as input seems more than enough
16365 test $ac_count -gt 10 && break
16366 done
16367 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16368 esac
16369
16370
16371 $ac_path_GREP_found && break 3
16372 done
16373 done
16374
16375 done
16376 IFS=$as_save_IFS
16377
16378
16379 fi
16380
16381 GREP="$ac_cv_path_GREP"
16382 if test -z "$GREP"; then
16383 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16384 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16385 { (exit 1); exit 1; }; }
16386 fi
16387
16388 else
16389 ac_cv_path_GREP=$GREP
16390 fi
16391
16392
16393 fi
16394 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16395 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16396 GREP="$ac_cv_path_GREP"
16397
16398
16399 { echo "$as_me:$LINENO: checking for egrep" >&5
16400 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16401 if test "${ac_cv_path_EGREP+set}" = set; then
16402 echo $ECHO_N "(cached) $ECHO_C" >&6
16403 else
16404 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16405 then ac_cv_path_EGREP="$GREP -E"
16406 else
16407 # Extract the first word of "egrep" to use in msg output
16408 if test -z "$EGREP"; then
16409 set dummy egrep; ac_prog_name=$2
16410 if test "${ac_cv_path_EGREP+set}" = set; then
16411 echo $ECHO_N "(cached) $ECHO_C" >&6
16412 else
16413 ac_path_EGREP_found=false
16414 # Loop through the user's path and test for each of PROGNAME-LIST
16415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16416 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16417 do
16418 IFS=$as_save_IFS
16419 test -z "$as_dir" && as_dir=.
16420 for ac_prog in egrep; do
16421 for ac_exec_ext in '' $ac_executable_extensions; do
16422 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16423 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16424 # Check for GNU ac_path_EGREP and select it if it is found.
16425 # Check for GNU $ac_path_EGREP
16426 case `"$ac_path_EGREP" --version 2>&1` in
16427 *GNU*)
16428 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16429 *)
16430 ac_count=0
16431 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16432 while :
16433 do
16434 cat "conftest.in" "conftest.in" >"conftest.tmp"
16435 mv "conftest.tmp" "conftest.in"
16436 cp "conftest.in" "conftest.nl"
16437 echo 'EGREP' >> "conftest.nl"
16438 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16439 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16440 ac_count=`expr $ac_count + 1`
16441 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16442 # Best one so far, save it but keep looking for a better one
16443 ac_cv_path_EGREP="$ac_path_EGREP"
16444 ac_path_EGREP_max=$ac_count
16445 fi
16446 # 10*(2^10) chars as input seems more than enough
16447 test $ac_count -gt 10 && break
16448 done
16449 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16450 esac
16451
16452
16453 $ac_path_EGREP_found && break 3
16454 done
16455 done
16456
16457 done
16458 IFS=$as_save_IFS
16459
16460
16461 fi
16462
16463 EGREP="$ac_cv_path_EGREP"
16464 if test -z "$EGREP"; then
16465 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16466 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16467 { (exit 1); exit 1; }; }
16468 fi
16469
16470 else
16471 ac_cv_path_EGREP=$EGREP
16472 fi
16473
16474
16475 fi
16476 fi
16477 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16478 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16479 EGREP="$ac_cv_path_EGREP"
16480
16481
16482 if test $ac_cv_c_compiler_gnu = yes; then
16483 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16484 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16485 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16486 echo $ECHO_N "(cached) $ECHO_C" >&6
16487 else
16488 ac_pattern="Autoconf.*'x'"
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <sgtty.h>
16496 Autoconf TIOCGETP
16497 _ACEOF
16498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16499 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16500 ac_cv_prog_gcc_traditional=yes
16501 else
16502 ac_cv_prog_gcc_traditional=no
16503 fi
16504 rm -f conftest*
16505
16506
16507 if test $ac_cv_prog_gcc_traditional = no; then
16508 cat >conftest.$ac_ext <<_ACEOF
16509 /* confdefs.h. */
16510 _ACEOF
16511 cat confdefs.h >>conftest.$ac_ext
16512 cat >>conftest.$ac_ext <<_ACEOF
16513 /* end confdefs.h. */
16514 #include <termio.h>
16515 Autoconf TCGETA
16516 _ACEOF
16517 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16518 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16519 ac_cv_prog_gcc_traditional=yes
16520 fi
16521 rm -f conftest*
16522
16523 fi
16524 fi
16525 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16526 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16527 if test $ac_cv_prog_gcc_traditional = yes; then
16528 CC="$CC -traditional"
16529 fi
16530 fi
16531
16532
16533 CXXFLAGS=${CXXFLAGS:=}
16534
16535
16536
16537 ac_ext=cpp
16538 ac_cpp='$CXXCPP $CPPFLAGS'
16539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16542 if test -z "$CXX"; then
16543 if test -n "$CCC"; then
16544 CXX=$CCC
16545 else
16546 if test -n "$ac_tool_prefix"; then
16547 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16548 do
16549 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16550 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16553 if test "${ac_cv_prog_CXX+set}" = set; then
16554 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 else
16556 if test -n "$CXX"; then
16557 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16558 else
16559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16560 for as_dir in $PATH
16561 do
16562 IFS=$as_save_IFS
16563 test -z "$as_dir" && as_dir=.
16564 for ac_exec_ext in '' $ac_executable_extensions; do
16565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16566 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16568 break 2
16569 fi
16570 done
16571 done
16572 IFS=$as_save_IFS
16573
16574 fi
16575 fi
16576 CXX=$ac_cv_prog_CXX
16577 if test -n "$CXX"; then
16578 { echo "$as_me:$LINENO: result: $CXX" >&5
16579 echo "${ECHO_T}$CXX" >&6; }
16580 else
16581 { echo "$as_me:$LINENO: result: no" >&5
16582 echo "${ECHO_T}no" >&6; }
16583 fi
16584
16585
16586 test -n "$CXX" && break
16587 done
16588 fi
16589 if test -z "$CXX"; then
16590 ac_ct_CXX=$CXX
16591 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16592 do
16593 # Extract the first word of "$ac_prog", so it can be a program name with args.
16594 set dummy $ac_prog; ac_word=$2
16595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16597 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16598 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 else
16600 if test -n "$ac_ct_CXX"; then
16601 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16602 else
16603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16604 for as_dir in $PATH
16605 do
16606 IFS=$as_save_IFS
16607 test -z "$as_dir" && as_dir=.
16608 for ac_exec_ext in '' $ac_executable_extensions; do
16609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16610 ac_cv_prog_ac_ct_CXX="$ac_prog"
16611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16612 break 2
16613 fi
16614 done
16615 done
16616 IFS=$as_save_IFS
16617
16618 fi
16619 fi
16620 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16621 if test -n "$ac_ct_CXX"; then
16622 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16623 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16624 else
16625 { echo "$as_me:$LINENO: result: no" >&5
16626 echo "${ECHO_T}no" >&6; }
16627 fi
16628
16629
16630 test -n "$ac_ct_CXX" && break
16631 done
16632
16633 if test "x$ac_ct_CXX" = x; then
16634 CXX="g++"
16635 else
16636 case $cross_compiling:$ac_tool_warned in
16637 yes:)
16638 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16639 whose name does not start with the host triplet. If you think this
16640 configuration is useful to you, please write to autoconf@gnu.org." >&5
16641 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16642 whose name does not start with the host triplet. If you think this
16643 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16644 ac_tool_warned=yes ;;
16645 esac
16646 CXX=$ac_ct_CXX
16647 fi
16648 fi
16649
16650 fi
16651 fi
16652 # Provide some information about the compiler.
16653 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16654 ac_compiler=`set X $ac_compile; echo $2`
16655 { (ac_try="$ac_compiler --version >&5"
16656 case "(($ac_try" in
16657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16658 *) ac_try_echo=$ac_try;;
16659 esac
16660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16661 (eval "$ac_compiler --version >&5") 2>&5
16662 ac_status=$?
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }
16665 { (ac_try="$ac_compiler -v >&5"
16666 case "(($ac_try" in
16667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16668 *) ac_try_echo=$ac_try;;
16669 esac
16670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16671 (eval "$ac_compiler -v >&5") 2>&5
16672 ac_status=$?
16673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16674 (exit $ac_status); }
16675 { (ac_try="$ac_compiler -V >&5"
16676 case "(($ac_try" in
16677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16678 *) ac_try_echo=$ac_try;;
16679 esac
16680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16681 (eval "$ac_compiler -V >&5") 2>&5
16682 ac_status=$?
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }
16685
16686 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16687 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16688 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16689 echo $ECHO_N "(cached) $ECHO_C" >&6
16690 else
16691 cat >conftest.$ac_ext <<_ACEOF
16692 /* confdefs.h. */
16693 _ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697
16698 int
16699 main ()
16700 {
16701 #ifndef __GNUC__
16702 choke me
16703 #endif
16704
16705 ;
16706 return 0;
16707 }
16708 _ACEOF
16709 rm -f conftest.$ac_objext
16710 if { (ac_try="$ac_compile"
16711 case "(($ac_try" in
16712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16713 *) ac_try_echo=$ac_try;;
16714 esac
16715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16716 (eval "$ac_compile") 2>conftest.er1
16717 ac_status=$?
16718 grep -v '^ *+' conftest.er1 >conftest.err
16719 rm -f conftest.er1
16720 cat conftest.err >&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } && {
16723 test -z "$ac_cxx_werror_flag" ||
16724 test ! -s conftest.err
16725 } && test -s conftest.$ac_objext; then
16726 ac_compiler_gnu=yes
16727 else
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16730
16731 ac_compiler_gnu=no
16732 fi
16733
16734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16735 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16736
16737 fi
16738 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16739 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16740 GXX=`test $ac_compiler_gnu = yes && echo yes`
16741 ac_test_CXXFLAGS=${CXXFLAGS+set}
16742 ac_save_CXXFLAGS=$CXXFLAGS
16743 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16744 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16745 if test "${ac_cv_prog_cxx_g+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 else
16748 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16749 ac_cxx_werror_flag=yes
16750 ac_cv_prog_cxx_g=no
16751 CXXFLAGS="-g"
16752 cat >conftest.$ac_ext <<_ACEOF
16753 /* confdefs.h. */
16754 _ACEOF
16755 cat confdefs.h >>conftest.$ac_ext
16756 cat >>conftest.$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758
16759 int
16760 main ()
16761 {
16762
16763 ;
16764 return 0;
16765 }
16766 _ACEOF
16767 rm -f conftest.$ac_objext
16768 if { (ac_try="$ac_compile"
16769 case "(($ac_try" in
16770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16771 *) ac_try_echo=$ac_try;;
16772 esac
16773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16774 (eval "$ac_compile") 2>conftest.er1
16775 ac_status=$?
16776 grep -v '^ *+' conftest.er1 >conftest.err
16777 rm -f conftest.er1
16778 cat conftest.err >&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } && {
16781 test -z "$ac_cxx_werror_flag" ||
16782 test ! -s conftest.err
16783 } && test -s conftest.$ac_objext; then
16784 ac_cv_prog_cxx_g=yes
16785 else
16786 echo "$as_me: failed program was:" >&5
16787 sed 's/^/| /' conftest.$ac_ext >&5
16788
16789 CXXFLAGS=""
16790 cat >conftest.$ac_ext <<_ACEOF
16791 /* confdefs.h. */
16792 _ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796
16797 int
16798 main ()
16799 {
16800
16801 ;
16802 return 0;
16803 }
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (ac_try="$ac_compile"
16807 case "(($ac_try" in
16808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16809 *) ac_try_echo=$ac_try;;
16810 esac
16811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16812 (eval "$ac_compile") 2>conftest.er1
16813 ac_status=$?
16814 grep -v '^ *+' conftest.er1 >conftest.err
16815 rm -f conftest.er1
16816 cat conftest.err >&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } && {
16819 test -z "$ac_cxx_werror_flag" ||
16820 test ! -s conftest.err
16821 } && test -s conftest.$ac_objext; then
16822 :
16823 else
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.$ac_ext >&5
16826
16827 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16828 CXXFLAGS="-g"
16829 cat >conftest.$ac_ext <<_ACEOF
16830 /* confdefs.h. */
16831 _ACEOF
16832 cat confdefs.h >>conftest.$ac_ext
16833 cat >>conftest.$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16835
16836 int
16837 main ()
16838 {
16839
16840 ;
16841 return 0;
16842 }
16843 _ACEOF
16844 rm -f conftest.$ac_objext
16845 if { (ac_try="$ac_compile"
16846 case "(($ac_try" in
16847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16848 *) ac_try_echo=$ac_try;;
16849 esac
16850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16851 (eval "$ac_compile") 2>conftest.er1
16852 ac_status=$?
16853 grep -v '^ *+' conftest.er1 >conftest.err
16854 rm -f conftest.er1
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } && {
16858 test -z "$ac_cxx_werror_flag" ||
16859 test ! -s conftest.err
16860 } && test -s conftest.$ac_objext; then
16861 ac_cv_prog_cxx_g=yes
16862 else
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.$ac_ext >&5
16865
16866
16867 fi
16868
16869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16870 fi
16871
16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 fi
16874
16875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16877 fi
16878 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16879 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16880 if test "$ac_test_CXXFLAGS" = set; then
16881 CXXFLAGS=$ac_save_CXXFLAGS
16882 elif test $ac_cv_prog_cxx_g = yes; then
16883 if test "$GXX" = yes; then
16884 CXXFLAGS="-g -O2"
16885 else
16886 CXXFLAGS="-g"
16887 fi
16888 else
16889 if test "$GXX" = yes; then
16890 CXXFLAGS="-O2"
16891 else
16892 CXXFLAGS=
16893 fi
16894 fi
16895 ac_ext=c
16896 ac_cpp='$CPP $CPPFLAGS'
16897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16900
16901
16902
16903
16904 ac_ext=cpp
16905 ac_cpp='$CXXCPP $CPPFLAGS'
16906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16909
16910 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16911 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16912 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 else
16915 cat >conftest.$ac_ext <<_ACEOF
16916 /* confdefs.h. */
16917 _ACEOF
16918 cat confdefs.h >>conftest.$ac_ext
16919 cat >>conftest.$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921
16922 int
16923 main ()
16924 {
16925
16926 #ifndef __INTEL_COMPILER
16927 choke me
16928 #endif
16929
16930 ;
16931 return 0;
16932 }
16933 _ACEOF
16934 rm -f conftest.$ac_objext
16935 if { (ac_try="$ac_compile"
16936 case "(($ac_try" in
16937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16938 *) ac_try_echo=$ac_try;;
16939 esac
16940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16941 (eval "$ac_compile") 2>conftest.er1
16942 ac_status=$?
16943 grep -v '^ *+' conftest.er1 >conftest.err
16944 rm -f conftest.er1
16945 cat conftest.err >&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); } && {
16948 test -z "$ac_cxx_werror_flag" ||
16949 test ! -s conftest.err
16950 } && test -s conftest.$ac_objext; then
16951 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16952 else
16953 echo "$as_me: failed program was:" >&5
16954 sed 's/^/| /' conftest.$ac_ext >&5
16955
16956 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16957
16958 fi
16959
16960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16961
16962
16963 fi
16964 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16965 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16966 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16967 :; INTELCXX=yes
16968 else
16969 :;
16970 fi
16971 ac_ext=c
16972 ac_cpp='$CPP $CPPFLAGS'
16973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16976
16977
16978
16979
16980 if test "$INTELCXX" = "yes"; then
16981
16982
16983 ac_ext=cpp
16984 ac_cpp='$CXXCPP $CPPFLAGS'
16985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16988
16989 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16990 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16991 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16992 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 else
16994 cat >conftest.$ac_ext <<_ACEOF
16995 /* confdefs.h. */
16996 _ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17000
17001 int
17002 main ()
17003 {
17004
17005 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
17006 choke me
17007 #endif
17008
17009 ;
17010 return 0;
17011 }
17012 _ACEOF
17013 rm -f conftest.$ac_objext
17014 if { (ac_try="$ac_compile"
17015 case "(($ac_try" in
17016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17017 *) ac_try_echo=$ac_try;;
17018 esac
17019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17020 (eval "$ac_compile") 2>conftest.er1
17021 ac_status=$?
17022 grep -v '^ *+' conftest.er1 >conftest.err
17023 rm -f conftest.er1
17024 cat conftest.err >&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } && {
17027 test -z "$ac_cxx_werror_flag" ||
17028 test ! -s conftest.err
17029 } && test -s conftest.$ac_objext; then
17030 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
17031 else
17032 echo "$as_me: failed program was:" >&5
17033 sed 's/^/| /' conftest.$ac_ext >&5
17034
17035 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
17036
17037 fi
17038
17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17040
17041
17042 fi
17043 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
17044 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
17045 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
17046 :; INTELCXX8=yes
17047 else
17048 :;
17049 fi
17050 ac_ext=c
17051 ac_cpp='$CPP $CPPFLAGS'
17052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17055
17056
17057
17058
17059
17060 ac_ext=cpp
17061 ac_cpp='$CXXCPP $CPPFLAGS'
17062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17065
17066 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17067 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17068 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 else
17071 cat >conftest.$ac_ext <<_ACEOF
17072 /* confdefs.h. */
17073 _ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077
17078 int
17079 main ()
17080 {
17081
17082 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17083 choke me
17084 #endif
17085
17086 ;
17087 return 0;
17088 }
17089 _ACEOF
17090 rm -f conftest.$ac_objext
17091 if { (ac_try="$ac_compile"
17092 case "(($ac_try" in
17093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17094 *) ac_try_echo=$ac_try;;
17095 esac
17096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17097 (eval "$ac_compile") 2>conftest.er1
17098 ac_status=$?
17099 grep -v '^ *+' conftest.er1 >conftest.err
17100 rm -f conftest.er1
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } && {
17104 test -z "$ac_cxx_werror_flag" ||
17105 test ! -s conftest.err
17106 } && test -s conftest.$ac_objext; then
17107 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17108 else
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17111
17112 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17113
17114 fi
17115
17116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17117
17118
17119 fi
17120 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17121 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17122 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17123 :; INTELCXX10=yes
17124 else
17125 :;
17126 fi
17127 ac_ext=c
17128 ac_cpp='$CPP $CPPFLAGS'
17129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17132
17133
17134
17135 fi
17136
17137 if test "x$GCXX" != "xyes"; then
17138 if test "xCXX" = "xC"; then
17139 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17140 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17141 if test "${bakefile_cv_c_exto+set}" = set; then
17142 echo $ECHO_N "(cached) $ECHO_C" >&6
17143 else
17144 cat >conftest.$ac_ext <<_ACEOF
17145 /* confdefs.h. */
17146 _ACEOF
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17150
17151 int
17152 main ()
17153 {
17154
17155 ;
17156 return 0;
17157 }
17158 _ACEOF
17159 rm -f conftest.$ac_objext conftest.$ac_ext.o
17160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17161 (eval $ac_compile) 2>&5
17162 ac_status=$?
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; then
17165 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17166 case $ac_file in
17167 conftest.$ac_ext.o)
17168 bakefile_cv_c_exto="-ext o"
17169 ;;
17170 *)
17171 ;;
17172 esac
17173 done
17174 else
17175 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17176 See \`config.log' for more details." >&5
17177 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17178 See \`config.log' for more details." >&2;}
17179 { (exit 1); exit 1; }; }
17180
17181 fi
17182
17183 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17184
17185 fi
17186 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17187 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17188 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17189 if test "c" = "c"; then
17190 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17191 fi
17192 if test "c" = "cxx"; then
17193 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17194 fi
17195 fi
17196
17197 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17198 unset ac_cv_prog_cc_g
17199 ac_test_CFLAGS=${CFLAGS+set}
17200 ac_save_CFLAGS=$CFLAGS
17201 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17202 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17203 if test "${ac_cv_prog_cc_g+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 ac_save_c_werror_flag=$ac_c_werror_flag
17207 ac_c_werror_flag=yes
17208 ac_cv_prog_cc_g=no
17209 CFLAGS="-g"
17210 cat >conftest.$ac_ext <<_ACEOF
17211 /* confdefs.h. */
17212 _ACEOF
17213 cat confdefs.h >>conftest.$ac_ext
17214 cat >>conftest.$ac_ext <<_ACEOF
17215 /* end confdefs.h. */
17216
17217 int
17218 main ()
17219 {
17220
17221 ;
17222 return 0;
17223 }
17224 _ACEOF
17225 rm -f conftest.$ac_objext
17226 if { (ac_try="$ac_compile"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17230 esac
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_compile") 2>conftest.er1
17233 ac_status=$?
17234 grep -v '^ *+' conftest.er1 >conftest.err
17235 rm -f conftest.er1
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } && {
17239 test -z "$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17241 } && test -s conftest.$ac_objext; then
17242 ac_cv_prog_cc_g=yes
17243 else
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17246
17247 CFLAGS=""
17248 cat >conftest.$ac_ext <<_ACEOF
17249 /* confdefs.h. */
17250 _ACEOF
17251 cat confdefs.h >>conftest.$ac_ext
17252 cat >>conftest.$ac_ext <<_ACEOF
17253 /* end confdefs.h. */
17254
17255 int
17256 main ()
17257 {
17258
17259 ;
17260 return 0;
17261 }
17262 _ACEOF
17263 rm -f conftest.$ac_objext
17264 if { (ac_try="$ac_compile"
17265 case "(($ac_try" in
17266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17267 *) ac_try_echo=$ac_try;;
17268 esac
17269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17270 (eval "$ac_compile") 2>conftest.er1
17271 ac_status=$?
17272 grep -v '^ *+' conftest.er1 >conftest.err
17273 rm -f conftest.er1
17274 cat conftest.err >&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 (exit $ac_status); } && {
17277 test -z "$ac_c_werror_flag" ||
17278 test ! -s conftest.err
17279 } && test -s conftest.$ac_objext; then
17280 :
17281 else
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.$ac_ext >&5
17284
17285 ac_c_werror_flag=$ac_save_c_werror_flag
17286 CFLAGS="-g"
17287 cat >conftest.$ac_ext <<_ACEOF
17288 /* confdefs.h. */
17289 _ACEOF
17290 cat confdefs.h >>conftest.$ac_ext
17291 cat >>conftest.$ac_ext <<_ACEOF
17292 /* end confdefs.h. */
17293
17294 int
17295 main ()
17296 {
17297
17298 ;
17299 return 0;
17300 }
17301 _ACEOF
17302 rm -f conftest.$ac_objext
17303 if { (ac_try="$ac_compile"
17304 case "(($ac_try" in
17305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17306 *) ac_try_echo=$ac_try;;
17307 esac
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17309 (eval "$ac_compile") 2>conftest.er1
17310 ac_status=$?
17311 grep -v '^ *+' conftest.er1 >conftest.err
17312 rm -f conftest.er1
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } && {
17316 test -z "$ac_c_werror_flag" ||
17317 test ! -s conftest.err
17318 } && test -s conftest.$ac_objext; then
17319 ac_cv_prog_cc_g=yes
17320 else
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.$ac_ext >&5
17323
17324
17325 fi
17326
17327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17328 fi
17329
17330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17331 fi
17332
17333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17334 ac_c_werror_flag=$ac_save_c_werror_flag
17335 fi
17336 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17337 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17338 if test "$ac_test_CFLAGS" = set; then
17339 CFLAGS=$ac_save_CFLAGS
17340 elif test $ac_cv_prog_cc_g = yes; then
17341 if test "$GCC" = yes; then
17342 CFLAGS="-g -O2"
17343 else
17344 CFLAGS="-g"
17345 fi
17346 else
17347 if test "$GCC" = yes; then
17348 CFLAGS="-O2"
17349 else
17350 CFLAGS=
17351 fi
17352 fi
17353 fi
17354 fi
17355
17356 case `uname -s` in
17357 AIX*)
17358
17359
17360 ac_ext=cpp
17361 ac_cpp='$CXXCPP $CPPFLAGS'
17362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17365
17366 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17367 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17368 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17369 echo $ECHO_N "(cached) $ECHO_C" >&6
17370 else
17371 cat >conftest.$ac_ext <<_ACEOF
17372 /* confdefs.h. */
17373 _ACEOF
17374 cat confdefs.h >>conftest.$ac_ext
17375 cat >>conftest.$ac_ext <<_ACEOF
17376 /* end confdefs.h. */
17377
17378 int
17379 main ()
17380 {
17381
17382 #ifndef __xlC__
17383 choke me
17384 #endif
17385
17386 ;
17387 return 0;
17388 }
17389 _ACEOF
17390 rm -f conftest.$ac_objext
17391 if { (ac_try="$ac_compile"
17392 case "(($ac_try" in
17393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17394 *) ac_try_echo=$ac_try;;
17395 esac
17396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17397 (eval "$ac_compile") 2>conftest.er1
17398 ac_status=$?
17399 grep -v '^ *+' conftest.er1 >conftest.err
17400 rm -f conftest.er1
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } && {
17404 test -z "$ac_cxx_werror_flag" ||
17405 test ! -s conftest.err
17406 } && test -s conftest.$ac_objext; then
17407 bakefile_cv_cxx_compiler___xlC__=yes
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412 bakefile_cv_cxx_compiler___xlC__=no
17413
17414 fi
17415
17416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17417
17418
17419 fi
17420 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17421 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17422 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17423 :; XLCXX=yes
17424 else
17425 :;
17426 fi
17427 ac_ext=c
17428 ac_cpp='$CPP $CPPFLAGS'
17429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17432
17433
17434
17435 ;;
17436
17437 Darwin)
17438
17439
17440 ac_ext=cpp
17441 ac_cpp='$CXXCPP $CPPFLAGS'
17442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17445
17446 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17447 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17448 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17449 echo $ECHO_N "(cached) $ECHO_C" >&6
17450 else
17451 cat >conftest.$ac_ext <<_ACEOF
17452 /* confdefs.h. */
17453 _ACEOF
17454 cat confdefs.h >>conftest.$ac_ext
17455 cat >>conftest.$ac_ext <<_ACEOF
17456 /* end confdefs.h. */
17457
17458 int
17459 main ()
17460 {
17461
17462 #ifndef __MWERKS__
17463 choke me
17464 #endif
17465
17466 ;
17467 return 0;
17468 }
17469 _ACEOF
17470 rm -f conftest.$ac_objext
17471 if { (ac_try="$ac_compile"
17472 case "(($ac_try" in
17473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17474 *) ac_try_echo=$ac_try;;
17475 esac
17476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17477 (eval "$ac_compile") 2>conftest.er1
17478 ac_status=$?
17479 grep -v '^ *+' conftest.er1 >conftest.err
17480 rm -f conftest.er1
17481 cat conftest.err >&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); } && {
17484 test -z "$ac_cxx_werror_flag" ||
17485 test ! -s conftest.err
17486 } && test -s conftest.$ac_objext; then
17487 bakefile_cv_cxx_compiler___MWERKS__=yes
17488 else
17489 echo "$as_me: failed program was:" >&5
17490 sed 's/^/| /' conftest.$ac_ext >&5
17491
17492 bakefile_cv_cxx_compiler___MWERKS__=no
17493
17494 fi
17495
17496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17497
17498
17499 fi
17500 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17501 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17502 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17503 :; MWCXX=yes
17504 else
17505 :;
17506 fi
17507 ac_ext=c
17508 ac_cpp='$CPP $CPPFLAGS'
17509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17512
17513
17514
17515 if test "$MWCXX" != "yes"; then
17516
17517
17518 ac_ext=cpp
17519 ac_cpp='$CXXCPP $CPPFLAGS'
17520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17523
17524 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17525 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17526 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17527 echo $ECHO_N "(cached) $ECHO_C" >&6
17528 else
17529 cat >conftest.$ac_ext <<_ACEOF
17530 /* confdefs.h. */
17531 _ACEOF
17532 cat confdefs.h >>conftest.$ac_ext
17533 cat >>conftest.$ac_ext <<_ACEOF
17534 /* end confdefs.h. */
17535
17536 int
17537 main ()
17538 {
17539
17540 #ifndef __xlC__
17541 choke me
17542 #endif
17543
17544 ;
17545 return 0;
17546 }
17547 _ACEOF
17548 rm -f conftest.$ac_objext
17549 if { (ac_try="$ac_compile"
17550 case "(($ac_try" in
17551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17552 *) ac_try_echo=$ac_try;;
17553 esac
17554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17555 (eval "$ac_compile") 2>conftest.er1
17556 ac_status=$?
17557 grep -v '^ *+' conftest.er1 >conftest.err
17558 rm -f conftest.er1
17559 cat conftest.err >&5
17560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17561 (exit $ac_status); } && {
17562 test -z "$ac_cxx_werror_flag" ||
17563 test ! -s conftest.err
17564 } && test -s conftest.$ac_objext; then
17565 bakefile_cv_cxx_compiler___xlC__=yes
17566 else
17567 echo "$as_me: failed program was:" >&5
17568 sed 's/^/| /' conftest.$ac_ext >&5
17569
17570 bakefile_cv_cxx_compiler___xlC__=no
17571
17572 fi
17573
17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17575
17576
17577 fi
17578 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17579 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17580 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17581 :; XLCXX=yes
17582 else
17583 :;
17584 fi
17585 ac_ext=c
17586 ac_cpp='$CPP $CPPFLAGS'
17587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17590
17591
17592
17593 fi
17594 ;;
17595
17596 IRIX*)
17597
17598
17599 ac_ext=cpp
17600 ac_cpp='$CXXCPP $CPPFLAGS'
17601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17604
17605 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17606 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17607 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17608 echo $ECHO_N "(cached) $ECHO_C" >&6
17609 else
17610 cat >conftest.$ac_ext <<_ACEOF
17611 /* confdefs.h. */
17612 _ACEOF
17613 cat confdefs.h >>conftest.$ac_ext
17614 cat >>conftest.$ac_ext <<_ACEOF
17615 /* end confdefs.h. */
17616
17617 int
17618 main ()
17619 {
17620
17621 #ifndef _SGI_COMPILER_VERSION
17622 choke me
17623 #endif
17624
17625 ;
17626 return 0;
17627 }
17628 _ACEOF
17629 rm -f conftest.$ac_objext
17630 if { (ac_try="$ac_compile"
17631 case "(($ac_try" in
17632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17633 *) ac_try_echo=$ac_try;;
17634 esac
17635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17636 (eval "$ac_compile") 2>conftest.er1
17637 ac_status=$?
17638 grep -v '^ *+' conftest.er1 >conftest.err
17639 rm -f conftest.er1
17640 cat conftest.err >&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } && {
17643 test -z "$ac_cxx_werror_flag" ||
17644 test ! -s conftest.err
17645 } && test -s conftest.$ac_objext; then
17646 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17647 else
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.$ac_ext >&5
17650
17651 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17652
17653 fi
17654
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656
17657
17658 fi
17659 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17660 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17661 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17662 :; SGICXX=yes
17663 else
17664 :;
17665 fi
17666 ac_ext=c
17667 ac_cpp='$CPP $CPPFLAGS'
17668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17671
17672
17673
17674 ;;
17675
17676 Linux*)
17677 if test "$INTELCXX" != "yes"; then
17678
17679
17680 ac_ext=cpp
17681 ac_cpp='$CXXCPP $CPPFLAGS'
17682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17685
17686 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17687 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17688 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17689 echo $ECHO_N "(cached) $ECHO_C" >&6
17690 else
17691 cat >conftest.$ac_ext <<_ACEOF
17692 /* confdefs.h. */
17693 _ACEOF
17694 cat confdefs.h >>conftest.$ac_ext
17695 cat >>conftest.$ac_ext <<_ACEOF
17696 /* end confdefs.h. */
17697
17698 int
17699 main ()
17700 {
17701
17702 #ifndef __SUNPRO_CC
17703 choke me
17704 #endif
17705
17706 ;
17707 return 0;
17708 }
17709 _ACEOF
17710 rm -f conftest.$ac_objext
17711 if { (ac_try="$ac_compile"
17712 case "(($ac_try" in
17713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17714 *) ac_try_echo=$ac_try;;
17715 esac
17716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17717 (eval "$ac_compile") 2>conftest.er1
17718 ac_status=$?
17719 grep -v '^ *+' conftest.er1 >conftest.err
17720 rm -f conftest.er1
17721 cat conftest.err >&5
17722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17723 (exit $ac_status); } && {
17724 test -z "$ac_cxx_werror_flag" ||
17725 test ! -s conftest.err
17726 } && test -s conftest.$ac_objext; then
17727 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17728 else
17729 echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.$ac_ext >&5
17731
17732 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17733
17734 fi
17735
17736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17737
17738
17739 fi
17740 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17741 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17742 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17743 :; SUNCXX=yes
17744 else
17745 :;
17746 fi
17747 ac_ext=c
17748 ac_cpp='$CPP $CPPFLAGS'
17749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17752
17753
17754
17755 fi
17756 ;;
17757
17758 HP-UX*)
17759
17760
17761 ac_ext=cpp
17762 ac_cpp='$CXXCPP $CPPFLAGS'
17763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17766
17767 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17768 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17769 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17770 echo $ECHO_N "(cached) $ECHO_C" >&6
17771 else
17772 cat >conftest.$ac_ext <<_ACEOF
17773 /* confdefs.h. */
17774 _ACEOF
17775 cat confdefs.h >>conftest.$ac_ext
17776 cat >>conftest.$ac_ext <<_ACEOF
17777 /* end confdefs.h. */
17778
17779 int
17780 main ()
17781 {
17782
17783 #ifndef __HP_aCC
17784 choke me
17785 #endif
17786
17787 ;
17788 return 0;
17789 }
17790 _ACEOF
17791 rm -f conftest.$ac_objext
17792 if { (ac_try="$ac_compile"
17793 case "(($ac_try" in
17794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17795 *) ac_try_echo=$ac_try;;
17796 esac
17797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17798 (eval "$ac_compile") 2>conftest.er1
17799 ac_status=$?
17800 grep -v '^ *+' conftest.er1 >conftest.err
17801 rm -f conftest.er1
17802 cat conftest.err >&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } && {
17805 test -z "$ac_cxx_werror_flag" ||
17806 test ! -s conftest.err
17807 } && test -s conftest.$ac_objext; then
17808 bakefile_cv_cxx_compiler___HP_aCC=yes
17809 else
17810 echo "$as_me: failed program was:" >&5
17811 sed 's/^/| /' conftest.$ac_ext >&5
17812
17813 bakefile_cv_cxx_compiler___HP_aCC=no
17814
17815 fi
17816
17817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17818
17819
17820 fi
17821 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17822 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17823 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17824 :; HPCXX=yes
17825 else
17826 :;
17827 fi
17828 ac_ext=c
17829 ac_cpp='$CPP $CPPFLAGS'
17830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17833
17834
17835
17836 ;;
17837
17838 OSF1)
17839
17840
17841 ac_ext=cpp
17842 ac_cpp='$CXXCPP $CPPFLAGS'
17843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17846
17847 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17848 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17849 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17850 echo $ECHO_N "(cached) $ECHO_C" >&6
17851 else
17852 cat >conftest.$ac_ext <<_ACEOF
17853 /* confdefs.h. */
17854 _ACEOF
17855 cat confdefs.h >>conftest.$ac_ext
17856 cat >>conftest.$ac_ext <<_ACEOF
17857 /* end confdefs.h. */
17858
17859 int
17860 main ()
17861 {
17862
17863 #ifndef __DECCXX
17864 choke me
17865 #endif
17866
17867 ;
17868 return 0;
17869 }
17870 _ACEOF
17871 rm -f conftest.$ac_objext
17872 if { (ac_try="$ac_compile"
17873 case "(($ac_try" in
17874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17875 *) ac_try_echo=$ac_try;;
17876 esac
17877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17878 (eval "$ac_compile") 2>conftest.er1
17879 ac_status=$?
17880 grep -v '^ *+' conftest.er1 >conftest.err
17881 rm -f conftest.er1
17882 cat conftest.err >&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); } && {
17885 test -z "$ac_cxx_werror_flag" ||
17886 test ! -s conftest.err
17887 } && test -s conftest.$ac_objext; then
17888 bakefile_cv_cxx_compiler___DECCXX=yes
17889 else
17890 echo "$as_me: failed program was:" >&5
17891 sed 's/^/| /' conftest.$ac_ext >&5
17892
17893 bakefile_cv_cxx_compiler___DECCXX=no
17894
17895 fi
17896
17897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17898
17899
17900 fi
17901 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17902 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17903 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17904 :; COMPAQCXX=yes
17905 else
17906 :;
17907 fi
17908 ac_ext=c
17909 ac_cpp='$CPP $CPPFLAGS'
17910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17913
17914
17915
17916 ;;
17917
17918 SunOS)
17919
17920
17921 ac_ext=cpp
17922 ac_cpp='$CXXCPP $CPPFLAGS'
17923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17926
17927 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17928 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17929 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17930 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 else
17932 cat >conftest.$ac_ext <<_ACEOF
17933 /* confdefs.h. */
17934 _ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17938
17939 int
17940 main ()
17941 {
17942
17943 #ifndef __SUNPRO_CC
17944 choke me
17945 #endif
17946
17947 ;
17948 return 0;
17949 }
17950 _ACEOF
17951 rm -f conftest.$ac_objext
17952 if { (ac_try="$ac_compile"
17953 case "(($ac_try" in
17954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17955 *) ac_try_echo=$ac_try;;
17956 esac
17957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17958 (eval "$ac_compile") 2>conftest.er1
17959 ac_status=$?
17960 grep -v '^ *+' conftest.er1 >conftest.err
17961 rm -f conftest.er1
17962 cat conftest.err >&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); } && {
17965 test -z "$ac_cxx_werror_flag" ||
17966 test ! -s conftest.err
17967 } && test -s conftest.$ac_objext; then
17968 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17969 else
17970 echo "$as_me: failed program was:" >&5
17971 sed 's/^/| /' conftest.$ac_ext >&5
17972
17973 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17974
17975 fi
17976
17977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17978
17979
17980 fi
17981 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17982 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17983 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17984 :; SUNCXX=yes
17985 else
17986 :;
17987 fi
17988 ac_ext=c
17989 ac_cpp='$CPP $CPPFLAGS'
17990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17993
17994
17995
17996 ;;
17997 esac
17998 fi
17999
18000
18001
18002 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18003 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18004 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18005 { (exit 1); exit 1; }; }
18006 fi
18007
18008 if test "x$SUNCXX" != xyes; then
18009 if test -n "$ac_tool_prefix"; then
18010 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18011 set dummy ${ac_tool_prefix}ar; ac_word=$2
18012 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18014 if test "${ac_cv_prog_AR+set}" = set; then
18015 echo $ECHO_N "(cached) $ECHO_C" >&6
18016 else
18017 if test -n "$AR"; then
18018 ac_cv_prog_AR="$AR" # Let the user override the test.
18019 else
18020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18021 for as_dir in $PATH
18022 do
18023 IFS=$as_save_IFS
18024 test -z "$as_dir" && as_dir=.
18025 for ac_exec_ext in '' $ac_executable_extensions; do
18026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18027 ac_cv_prog_AR="${ac_tool_prefix}ar"
18028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18029 break 2
18030 fi
18031 done
18032 done
18033 IFS=$as_save_IFS
18034
18035 fi
18036 fi
18037 AR=$ac_cv_prog_AR
18038 if test -n "$AR"; then
18039 { echo "$as_me:$LINENO: result: $AR" >&5
18040 echo "${ECHO_T}$AR" >&6; }
18041 else
18042 { echo "$as_me:$LINENO: result: no" >&5
18043 echo "${ECHO_T}no" >&6; }
18044 fi
18045
18046
18047 fi
18048 if test -z "$ac_cv_prog_AR"; then
18049 ac_ct_AR=$AR
18050 # Extract the first word of "ar", so it can be a program name with args.
18051 set dummy ar; ac_word=$2
18052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18054 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18055 echo $ECHO_N "(cached) $ECHO_C" >&6
18056 else
18057 if test -n "$ac_ct_AR"; then
18058 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18059 else
18060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18061 for as_dir in $PATH
18062 do
18063 IFS=$as_save_IFS
18064 test -z "$as_dir" && as_dir=.
18065 for ac_exec_ext in '' $ac_executable_extensions; do
18066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18067 ac_cv_prog_ac_ct_AR="ar"
18068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18069 break 2
18070 fi
18071 done
18072 done
18073 IFS=$as_save_IFS
18074
18075 fi
18076 fi
18077 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18078 if test -n "$ac_ct_AR"; then
18079 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18080 echo "${ECHO_T}$ac_ct_AR" >&6; }
18081 else
18082 { echo "$as_me:$LINENO: result: no" >&5
18083 echo "${ECHO_T}no" >&6; }
18084 fi
18085
18086 if test "x$ac_ct_AR" = x; then
18087 AR=""
18088 else
18089 case $cross_compiling:$ac_tool_warned in
18090 yes:)
18091 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18092 whose name does not start with the host triplet. If you think this
18093 configuration is useful to you, please write to autoconf@gnu.org." >&5
18094 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18095 whose name does not start with the host triplet. If you think this
18096 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18097 ac_tool_warned=yes ;;
18098 esac
18099 AR=$ac_ct_AR
18100 fi
18101 else
18102 AR="$ac_cv_prog_AR"
18103 fi
18104
18105 if test "x$AR" = "x" ; then
18106 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18107 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18108 { (exit 1); exit 1; }; }
18109 fi
18110 fi
18111
18112 retest_macosx_linking=no
18113
18114 #if test "$wxUSE_MAC" = 1; then
18115 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18116 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18117 # Implicitly turn on the new --with-macosx-sdk using the default
18118 # SDK which provides the behavior this option has always had.
18119 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18120 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18121 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18122 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18123 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18124 wxUSE_MACOSX_SDK=yes
18125 fi
18126 else
18127 # Complain to user if he specified an argument to --enable-universal_binary
18128 # and also 1) specified --with-macosx-sdk using the default (yes) or
18129 # 2) specified --with-macosx-sdk using a path or 3) specified
18130 # --without-macosx-sdk (no).
18131 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18132 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18133 See \`config.log' for more details." >&5
18134 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18135 See \`config.log' for more details." >&2;}
18136 { (exit 1); exit 1; }; }
18137 else
18138 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18139 # special-case the empty string because the below test simply
18140 # converts "no" to the empty string anyway.
18141 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18142 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18143 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18144 fi
18145 fi
18146 OSX_UNIV_OPTS="-arch ppc -arch i386"
18147 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18148 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18149 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18150 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18151 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18152 retest_macosx_linking=yes
18153
18154 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18155 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18156 bk_use_pch=no
18157 fi
18158 #fi
18159
18160 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18161 wxUSE_MACOSX_SDK=
18162 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18163 # TODO: Search for most recent SDK and use it.
18164 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18165 fi
18166
18167
18168 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18169 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18170 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18171 if ! test -d "$wxUSE_MACOSX_SDK"; then
18172 { { echo "$as_me:$LINENO: error: not found
18173 See \`config.log' for more details." >&5
18174 echo "$as_me: error: not found
18175 See \`config.log' for more details." >&2;}
18176 { (exit 1); exit 1; }; }
18177 else
18178 { echo "$as_me:$LINENO: result: exists" >&5
18179 echo "${ECHO_T}exists" >&6; }
18180 fi
18181 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18182 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18183 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18184 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18185 retest_macosx_linking=yes
18186 fi
18187
18188 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18189 wxUSE_MACOSX_VERSION_MIN=
18190 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18191 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18192 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18193 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18194
18195 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/'`
18196
18197 # If that failed, try again with the new key
18198 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18199
18200 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/'`
18201
18202 fi
18203
18204 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18205 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18206 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18207 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18208 else
18209 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18210 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18211 wxUSE_MACOSX_VERSION_MIN=
18212 fi
18213 else
18214 wxUSE_MACOSX_VERSION_MIN=
18215 fi
18216 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18217 if test "$wxUSE_MAC" = 1; then
18218 # otherwise configure stops on leopard for universal_binary
18219 wxUSE_MACOSX_VERSION_MIN=10.4
18220 fi
18221 fi
18222
18223 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18224 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18225 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18226 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18227 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18228 retest_macosx_linking=yes
18229 fi
18230
18231 if test "x$retest_macosx_linking" = "xyes"; then
18232 ac_ext=c
18233 ac_cpp='$CPP $CPPFLAGS'
18234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18237
18238 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18239 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18240 cat >conftest.$ac_ext <<_ACEOF
18241 /* confdefs.h. */
18242 _ACEOF
18243 cat confdefs.h >>conftest.$ac_ext
18244 cat >>conftest.$ac_ext <<_ACEOF
18245 /* end confdefs.h. */
18246
18247 int
18248 main ()
18249 {
18250
18251 ;
18252 return 0;
18253 }
18254 _ACEOF
18255 rm -f conftest.$ac_objext conftest$ac_exeext
18256 if { (ac_try="$ac_link"
18257 case "(($ac_try" in
18258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18259 *) ac_try_echo=$ac_try;;
18260 esac
18261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18262 (eval "$ac_link") 2>conftest.er1
18263 ac_status=$?
18264 grep -v '^ *+' conftest.er1 >conftest.err
18265 rm -f conftest.er1
18266 cat conftest.err >&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); } && {
18269 test -z "$ac_c_werror_flag" ||
18270 test ! -s conftest.err
18271 } && test -s conftest$ac_exeext &&
18272 $as_test_x conftest$ac_exeext; then
18273 { echo "$as_me:$LINENO: result: yes" >&5
18274 echo "${ECHO_T}yes" >&6; }
18275 else
18276 echo "$as_me: failed program was:" >&5
18277 sed 's/^/| /' conftest.$ac_ext >&5
18278
18279 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18280 See \`config.log' for more details." >&5
18281 echo "$as_me: error: no. Try a different SDK
18282 See \`config.log' for more details." >&2;}
18283 { (exit 1); exit 1; }; }; exit 1
18284 fi
18285
18286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18287 conftest$ac_exeext conftest.$ac_ext
18288 ac_ext=c
18289 ac_cpp='$CPP $CPPFLAGS'
18290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18293
18294
18295 ac_ext=cpp
18296 ac_cpp='$CXXCPP $CPPFLAGS'
18297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18300
18301 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18302 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18303 cat >conftest.$ac_ext <<_ACEOF
18304 /* confdefs.h. */
18305 _ACEOF
18306 cat confdefs.h >>conftest.$ac_ext
18307 cat >>conftest.$ac_ext <<_ACEOF
18308 /* end confdefs.h. */
18309
18310 int
18311 main ()
18312 {
18313
18314 ;
18315 return 0;
18316 }
18317 _ACEOF
18318 rm -f conftest.$ac_objext conftest$ac_exeext
18319 if { (ac_try="$ac_link"
18320 case "(($ac_try" in
18321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18322 *) ac_try_echo=$ac_try;;
18323 esac
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_link") 2>conftest.er1
18326 ac_status=$?
18327 grep -v '^ *+' conftest.er1 >conftest.err
18328 rm -f conftest.er1
18329 cat conftest.err >&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } && {
18332 test -z "$ac_cxx_werror_flag" ||
18333 test ! -s conftest.err
18334 } && test -s conftest$ac_exeext &&
18335 $as_test_x conftest$ac_exeext; then
18336 { echo "$as_me:$LINENO: result: yes" >&5
18337 echo "${ECHO_T}yes" >&6; }
18338 else
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.$ac_ext >&5
18341
18342 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18343 See \`config.log' for more details." >&5
18344 echo "$as_me: error: no. Try a different SDK
18345 See \`config.log' for more details." >&2;}
18346 { (exit 1); exit 1; }; }; exit 1
18347 fi
18348
18349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18350 conftest$ac_exeext conftest.$ac_ext
18351 ac_ext=c
18352 ac_cpp='$CPP $CPPFLAGS'
18353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18356
18357 fi
18358
18359
18360 case "${host}" in
18361
18362 *-*-darwin* )
18363 INSTALL_PROGRAM="cp -fp"
18364 INSTALL_DATA="cp -fp"
18365 ;;
18366 *)
18367 ;;
18368 esac
18369
18370
18371 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18372 CXXFLAGS="-qunique $CXXFLAGS"
18373 fi
18374
18375 case "${host}" in
18376 powerpc-*-darwin* )
18377 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18378 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18379 cat >conftest.$ac_ext <<_ACEOF
18380 /* confdefs.h. */
18381 _ACEOF
18382 cat confdefs.h >>conftest.$ac_ext
18383 cat >>conftest.$ac_ext <<_ACEOF
18384 /* end confdefs.h. */
18385
18386 int
18387 main ()
18388 {
18389 #ifndef __POWERPC__
18390 choke me for lack of PowerPC
18391 #endif
18392
18393 ;
18394 return 0;
18395 }
18396 _ACEOF
18397 rm -f conftest.$ac_objext
18398 if { (ac_try="$ac_compile"
18399 case "(($ac_try" in
18400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18401 *) ac_try_echo=$ac_try;;
18402 esac
18403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18404 (eval "$ac_compile") 2>conftest.er1
18405 ac_status=$?
18406 grep -v '^ *+' conftest.er1 >conftest.err
18407 rm -f conftest.er1
18408 cat conftest.err >&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); } && {
18411 test -z "$ac_c_werror_flag" ||
18412 test ! -s conftest.err
18413 } && test -s conftest.$ac_objext; then
18414 { echo "$as_me:$LINENO: result: yes" >&5
18415 echo "${ECHO_T}yes" >&6; }
18416 else
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18419
18420 { echo "$as_me:$LINENO: result: no" >&5
18421 echo "${ECHO_T}no" >&6; }
18422 cat >>confdefs.h <<\_ACEOF
18423 #define __POWERPC__ 1
18424 _ACEOF
18425
18426
18427 fi
18428
18429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 ;;
18431 esac
18432
18433 case "${host}" in
18434 *-*-darwin* )
18435 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18436 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18437 cat >conftest.$ac_ext <<_ACEOF
18438 /* confdefs.h. */
18439 _ACEOF
18440 cat confdefs.h >>conftest.$ac_ext
18441 cat >>conftest.$ac_ext <<_ACEOF
18442 /* end confdefs.h. */
18443 #include <CoreFoundation/CFBase.h>
18444
18445 int
18446 main ()
18447 {
18448
18449 ;
18450 return 0;
18451 }
18452 _ACEOF
18453 rm -f conftest.$ac_objext
18454 if { (ac_try="$ac_compile"
18455 case "(($ac_try" in
18456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18457 *) ac_try_echo=$ac_try;;
18458 esac
18459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18460 (eval "$ac_compile") 2>conftest.er1
18461 ac_status=$?
18462 grep -v '^ *+' conftest.er1 >conftest.err
18463 rm -f conftest.er1
18464 cat conftest.err >&5
18465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18466 (exit $ac_status); } && {
18467 test -z "$ac_c_werror_flag" ||
18468 test ! -s conftest.err
18469 } && test -s conftest.$ac_objext; then
18470 { echo "$as_me:$LINENO: result: yes" >&5
18471 echo "${ECHO_T}yes" >&6; }
18472 else
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18475
18476 { echo "$as_me:$LINENO: result: no" >&5
18477 echo "${ECHO_T}no" >&6; }
18478 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18479 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18480 cat >conftest.$ac_ext <<_ACEOF
18481 /* confdefs.h. */
18482 _ACEOF
18483 cat confdefs.h >>conftest.$ac_ext
18484 cat >>conftest.$ac_ext <<_ACEOF
18485 /* end confdefs.h. */
18486 #define __CF_USE_FRAMEWORK_INCLUDES__
18487 #include <CoreFoundation/CFBase.h>
18488
18489 int
18490 main ()
18491 {
18492
18493 ;
18494 return 0;
18495 }
18496 _ACEOF
18497 rm -f conftest.$ac_objext
18498 if { (ac_try="$ac_compile"
18499 case "(($ac_try" in
18500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18501 *) ac_try_echo=$ac_try;;
18502 esac
18503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18504 (eval "$ac_compile") 2>conftest.er1
18505 ac_status=$?
18506 grep -v '^ *+' conftest.er1 >conftest.err
18507 rm -f conftest.er1
18508 cat conftest.err >&5
18509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18510 (exit $ac_status); } && {
18511 test -z "$ac_c_werror_flag" ||
18512 test ! -s conftest.err
18513 } && test -s conftest.$ac_objext; then
18514 { echo "$as_me:$LINENO: result: yes" >&5
18515 echo "${ECHO_T}yes" >&6; }
18516 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18517 else
18518 echo "$as_me: failed program was:" >&5
18519 sed 's/^/| /' conftest.$ac_ext >&5
18520
18521 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18522 See \`config.log' for more details." >&5
18523 echo "$as_me: error: no. CoreFoundation not available.
18524 See \`config.log' for more details." >&2;}
18525 { (exit 1); exit 1; }; }
18526
18527 fi
18528
18529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530
18531
18532 fi
18533
18534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18535 ;;
18536 esac
18537
18538 wants_win32=0
18539 doesnt_want_win32=0
18540 case "${host}" in
18541 *-*-cygwin*)
18542 if test "$wxUSE_MSW" = 1 ; then
18543 wants_win32=1
18544 else
18545 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18546 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18547 if test "${wx_cv_nocygwin+set}" = set; then
18548 echo $ECHO_N "(cached) $ECHO_C" >&6
18549 else
18550
18551 cat >conftest.$ac_ext <<_ACEOF
18552 /* confdefs.h. */
18553 _ACEOF
18554 cat confdefs.h >>conftest.$ac_ext
18555 cat >>conftest.$ac_ext <<_ACEOF
18556 /* end confdefs.h. */
18557
18558 int
18559 main ()
18560 {
18561
18562 #ifdef __MINGW32__
18563 choke me
18564 #endif
18565
18566 ;
18567 return 0;
18568 }
18569 _ACEOF
18570 rm -f conftest.$ac_objext
18571 if { (ac_try="$ac_compile"
18572 case "(($ac_try" in
18573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18574 *) ac_try_echo=$ac_try;;
18575 esac
18576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18577 (eval "$ac_compile") 2>conftest.er1
18578 ac_status=$?
18579 grep -v '^ *+' conftest.er1 >conftest.err
18580 rm -f conftest.er1
18581 cat conftest.err >&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); } && {
18584 test -z "$ac_c_werror_flag" ||
18585 test ! -s conftest.err
18586 } && test -s conftest.$ac_objext; then
18587 wx_cv_nocygwin=no
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18591
18592 wx_cv_nocygwin=yes
18593
18594 fi
18595
18596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18597
18598
18599 fi
18600 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18601 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18602
18603 if test "$wx_cv_nocygwin" = "yes"; then
18604 wants_win32=1
18605 else
18606 doesnt_want_win32=1
18607 fi
18608 fi
18609 if test "$wants_win32" = 1 ; then
18610 BAKEFILE_FORCE_PLATFORM=win32
18611 fi
18612 ;;
18613 *-*-mingw*)
18614 wants_win32=1
18615 ;;
18616 esac
18617
18618 if test "$wxUSE_WINE" = "yes"; then
18619 wants_win32=1
18620 LDFLAGS_GUI="-mwindows"
18621 fi
18622
18623 if test "$wants_win32" = 1 ; then
18624 USE_UNIX=0
18625 USE_WIN32=1
18626 cat >>confdefs.h <<\_ACEOF
18627 #define __WIN32__ 1
18628 _ACEOF
18629
18630 cat >>confdefs.h <<\_ACEOF
18631 #define __WIN95__ 1
18632 _ACEOF
18633
18634 cat >>confdefs.h <<\_ACEOF
18635 #define __WINDOWS__ 1
18636 _ACEOF
18637
18638 cat >>confdefs.h <<\_ACEOF
18639 #define __GNUWIN32__ 1
18640 _ACEOF
18641
18642 cat >>confdefs.h <<\_ACEOF
18643 #define STRICT 1
18644 _ACEOF
18645
18646 fi
18647 if test "$doesnt_want_win32" = 1 ; then
18648 USE_UNIX=1
18649 USE_WIN32=0
18650 fi
18651
18652 if test "$USE_UNIX" = 1 ; then
18653 wxUSE_UNIX=yes
18654 cat >>confdefs.h <<\_ACEOF
18655 #define __UNIX__ 1
18656 _ACEOF
18657
18658 fi
18659
18660 case "${host}" in
18661 *-pc-os2_emx | *-pc-os2-emx )
18662 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18663 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18664 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18665 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18666 echo $ECHO_N "(cached) $ECHO_C" >&6
18667 else
18668 ac_check_lib_save_LIBS=$LIBS
18669 LIBS="-lcExt $LIBS"
18670 cat >conftest.$ac_ext <<_ACEOF
18671 /* confdefs.h. */
18672 _ACEOF
18673 cat confdefs.h >>conftest.$ac_ext
18674 cat >>conftest.$ac_ext <<_ACEOF
18675 /* end confdefs.h. */
18676
18677 /* Override any GCC internal prototype to avoid an error.
18678 Use char because int might match the return type of a GCC
18679 builtin and then its argument prototype would still apply. */
18680 #ifdef __cplusplus
18681 extern "C"
18682 #endif
18683 char drand48 ();
18684 int
18685 main ()
18686 {
18687 return drand48 ();
18688 ;
18689 return 0;
18690 }
18691 _ACEOF
18692 rm -f conftest.$ac_objext conftest$ac_exeext
18693 if { (ac_try="$ac_link"
18694 case "(($ac_try" in
18695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18696 *) ac_try_echo=$ac_try;;
18697 esac
18698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18699 (eval "$ac_link") 2>conftest.er1
18700 ac_status=$?
18701 grep -v '^ *+' conftest.er1 >conftest.err
18702 rm -f conftest.er1
18703 cat conftest.err >&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); } && {
18706 test -z "$ac_c_werror_flag" ||
18707 test ! -s conftest.err
18708 } && test -s conftest$ac_exeext &&
18709 $as_test_x conftest$ac_exeext; then
18710 ac_cv_lib_cExt_drand48=yes
18711 else
18712 echo "$as_me: failed program was:" >&5
18713 sed 's/^/| /' conftest.$ac_ext >&5
18714
18715 ac_cv_lib_cExt_drand48=no
18716 fi
18717
18718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18719 conftest$ac_exeext conftest.$ac_ext
18720 LIBS=$ac_check_lib_save_LIBS
18721 fi
18722 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18723 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18724 if test $ac_cv_lib_cExt_drand48 = yes; then
18725 LIBS="$LIBS -lcExt"
18726 fi
18727
18728 else
18729 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18730 fi
18731 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18732 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18733 if test "${wx_cv_gccversion+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18735 else
18736
18737 if test "$cross_compiling" = yes; then
18738 wx_cv_gccversion="EMX2"
18739
18740 else
18741 cat >conftest.$ac_ext <<_ACEOF
18742 /* confdefs.h. */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747
18748 #include <stdio.h>
18749
18750 int main()
18751 {
18752 FILE *f=fopen("conftestval", "w");
18753 if (!f) exit(1);
18754 fprintf(f,
18755 #if (__GNUC__ < 3)
18756 "EMX2"
18757 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18758 "EMX3"
18759 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18760 "Innotek5"
18761 #else
18762 "Innotek6"
18763 #endif
18764 );
18765 exit(0);
18766 }
18767
18768 _ACEOF
18769 rm -f conftest$ac_exeext
18770 if { (ac_try="$ac_link"
18771 case "(($ac_try" in
18772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18773 *) ac_try_echo=$ac_try;;
18774 esac
18775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18776 (eval "$ac_link") 2>&5
18777 ac_status=$?
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18780 { (case "(($ac_try" in
18781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18782 *) ac_try_echo=$ac_try;;
18783 esac
18784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18785 (eval "$ac_try") 2>&5
18786 ac_status=$?
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; }; then
18789 wx_cv_gccversion=`cat conftestval`
18790 else
18791 echo "$as_me: program exited with status $ac_status" >&5
18792 echo "$as_me: failed program was:" >&5
18793 sed 's/^/| /' conftest.$ac_ext >&5
18794
18795 ( exit $ac_status )
18796 wx_cv_gccversion="EMX2"
18797 fi
18798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18799 fi
18800
18801
18802
18803 fi
18804 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18805 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18806 if test "$wx_cv_gccversion" = "EMX2"; then
18807 LIBS="$LIBS -lstdcpp"
18808 LDFLAGS="$LDFLAGS -Zsysv-signals"
18809 else
18810 if test "$wx_cv_gccversion" = "EMX3"; then
18811 LIBS="$LIBS -lstdcxx -lgcc"
18812 LDFLAGS="$LDFLAGS -Zsysv-signals"
18813 else
18814 LIBS="$LIBS -lstdc++"
18815 fi
18816 fi
18817 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18818 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18819 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18820 wxUSE_OMF=yes
18821 enable_omf=yes
18822 fi
18823 ;;
18824 *)
18825
18826 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18827 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18828 if test "${ac_cv_string_strcasecmp+set}" = set; then
18829 echo $ECHO_N "(cached) $ECHO_C" >&6
18830 else
18831
18832 cat >conftest.$ac_ext <<_ACEOF
18833 /* confdefs.h. */
18834 _ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838
18839 #include <string.h>
18840
18841 int
18842 main ()
18843 {
18844
18845 strcasecmp("foo", "bar");
18846
18847 ;
18848 return 0;
18849 }
18850 _ACEOF
18851 rm -f conftest.$ac_objext conftest$ac_exeext
18852 if { (ac_try="$ac_link"
18853 case "(($ac_try" in
18854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18855 *) ac_try_echo=$ac_try;;
18856 esac
18857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_link") 2>conftest.er1
18859 ac_status=$?
18860 grep -v '^ *+' conftest.er1 >conftest.err
18861 rm -f conftest.er1
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } && {
18865 test -z "$ac_c_werror_flag" ||
18866 test ! -s conftest.err
18867 } && test -s conftest$ac_exeext &&
18868 $as_test_x conftest$ac_exeext; then
18869 ac_cv_string_strcasecmp=yes
18870 else
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.$ac_ext >&5
18873
18874 ac_cv_string_strcasecmp=no
18875
18876 fi
18877
18878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18879 conftest$ac_exeext conftest.$ac_ext
18880
18881 fi
18882 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18883 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18884
18885 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18886 cat >>confdefs.h <<\_ACEOF
18887 #define HAVE_STRCASECMP_IN_STRING_H 1
18888 _ACEOF
18889
18890 else
18891 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18892 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18893 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18894 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 else
18896
18897 cat >conftest.$ac_ext <<_ACEOF
18898 /* confdefs.h. */
18899 _ACEOF
18900 cat confdefs.h >>conftest.$ac_ext
18901 cat >>conftest.$ac_ext <<_ACEOF
18902 /* end confdefs.h. */
18903
18904 #include <strings.h>
18905
18906 int
18907 main ()
18908 {
18909
18910 strcasecmp("foo", "bar");
18911
18912 ;
18913 return 0;
18914 }
18915 _ACEOF
18916 rm -f conftest.$ac_objext conftest$ac_exeext
18917 if { (ac_try="$ac_link"
18918 case "(($ac_try" in
18919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18920 *) ac_try_echo=$ac_try;;
18921 esac
18922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18923 (eval "$ac_link") 2>conftest.er1
18924 ac_status=$?
18925 grep -v '^ *+' conftest.er1 >conftest.err
18926 rm -f conftest.er1
18927 cat conftest.err >&5
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); } && {
18930 test -z "$ac_c_werror_flag" ||
18931 test ! -s conftest.err
18932 } && test -s conftest$ac_exeext &&
18933 $as_test_x conftest$ac_exeext; then
18934 ac_cv_strings_strcasecmp=yes
18935 else
18936 echo "$as_me: failed program was:" >&5
18937 sed 's/^/| /' conftest.$ac_ext >&5
18938
18939 ac_cv_strings_strcasecmp=no
18940
18941 fi
18942
18943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18944 conftest$ac_exeext conftest.$ac_ext
18945
18946 fi
18947 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18948 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18949
18950 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18951 cat >>confdefs.h <<\_ACEOF
18952 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18953 _ACEOF
18954
18955 else
18956 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18957 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18958 { (exit 1); exit 1; }; }
18959 fi
18960 fi
18961
18962 ;;
18963 esac
18964
18965
18966 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18967 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18968 if test "${ac_cv_header_stdc+set}" = set; then
18969 echo $ECHO_N "(cached) $ECHO_C" >&6
18970 else
18971 cat >conftest.$ac_ext <<_ACEOF
18972 /* confdefs.h. */
18973 _ACEOF
18974 cat confdefs.h >>conftest.$ac_ext
18975 cat >>conftest.$ac_ext <<_ACEOF
18976 /* end confdefs.h. */
18977 #include <stdlib.h>
18978 #include <stdarg.h>
18979 #include <string.h>
18980 #include <float.h>
18981
18982 int
18983 main ()
18984 {
18985
18986 ;
18987 return 0;
18988 }
18989 _ACEOF
18990 rm -f conftest.$ac_objext
18991 if { (ac_try="$ac_compile"
18992 case "(($ac_try" in
18993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18994 *) ac_try_echo=$ac_try;;
18995 esac
18996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18997 (eval "$ac_compile") 2>conftest.er1
18998 ac_status=$?
18999 grep -v '^ *+' conftest.er1 >conftest.err
19000 rm -f conftest.er1
19001 cat conftest.err >&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } && {
19004 test -z "$ac_c_werror_flag" ||
19005 test ! -s conftest.err
19006 } && test -s conftest.$ac_objext; then
19007 ac_cv_header_stdc=yes
19008 else
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19011
19012 ac_cv_header_stdc=no
19013 fi
19014
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19016
19017 if test $ac_cv_header_stdc = yes; then
19018 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 #include <string.h>
19026
19027 _ACEOF
19028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19029 $EGREP "memchr" >/dev/null 2>&1; then
19030 :
19031 else
19032 ac_cv_header_stdc=no
19033 fi
19034 rm -f conftest*
19035
19036 fi
19037
19038 if test $ac_cv_header_stdc = yes; then
19039 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19040 cat >conftest.$ac_ext <<_ACEOF
19041 /* confdefs.h. */
19042 _ACEOF
19043 cat confdefs.h >>conftest.$ac_ext
19044 cat >>conftest.$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19046 #include <stdlib.h>
19047
19048 _ACEOF
19049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19050 $EGREP "free" >/dev/null 2>&1; then
19051 :
19052 else
19053 ac_cv_header_stdc=no
19054 fi
19055 rm -f conftest*
19056
19057 fi
19058
19059 if test $ac_cv_header_stdc = yes; then
19060 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19061 if test "$cross_compiling" = yes; then
19062 :
19063 else
19064 cat >conftest.$ac_ext <<_ACEOF
19065 /* confdefs.h. */
19066 _ACEOF
19067 cat confdefs.h >>conftest.$ac_ext
19068 cat >>conftest.$ac_ext <<_ACEOF
19069 /* end confdefs.h. */
19070 #include <ctype.h>
19071 #include <stdlib.h>
19072 #if ((' ' & 0x0FF) == 0x020)
19073 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19074 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19075 #else
19076 # define ISLOWER(c) \
19077 (('a' <= (c) && (c) <= 'i') \
19078 || ('j' <= (c) && (c) <= 'r') \
19079 || ('s' <= (c) && (c) <= 'z'))
19080 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19081 #endif
19082
19083 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19084 int
19085 main ()
19086 {
19087 int i;
19088 for (i = 0; i < 256; i++)
19089 if (XOR (islower (i), ISLOWER (i))
19090 || toupper (i) != TOUPPER (i))
19091 return 2;
19092 return 0;
19093 }
19094 _ACEOF
19095 rm -f conftest$ac_exeext
19096 if { (ac_try="$ac_link"
19097 case "(($ac_try" in
19098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19099 *) ac_try_echo=$ac_try;;
19100 esac
19101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19102 (eval "$ac_link") 2>&5
19103 ac_status=$?
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19106 { (case "(($ac_try" in
19107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19108 *) ac_try_echo=$ac_try;;
19109 esac
19110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19111 (eval "$ac_try") 2>&5
19112 ac_status=$?
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; }; then
19115 :
19116 else
19117 echo "$as_me: program exited with status $ac_status" >&5
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19120
19121 ( exit $ac_status )
19122 ac_cv_header_stdc=no
19123 fi
19124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19125 fi
19126
19127
19128 fi
19129 fi
19130 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19131 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19132 if test $ac_cv_header_stdc = yes; then
19133
19134 cat >>confdefs.h <<\_ACEOF
19135 #define STDC_HEADERS 1
19136 _ACEOF
19137
19138 fi
19139
19140 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19151 inttypes.h stdint.h unistd.h
19152 do
19153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19154 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19157 echo $ECHO_N "(cached) $ECHO_C" >&6
19158 else
19159 cat >conftest.$ac_ext <<_ACEOF
19160 /* confdefs.h. */
19161 _ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 $ac_includes_default
19166
19167 #include <$ac_header>
19168 _ACEOF
19169 rm -f conftest.$ac_objext
19170 if { (ac_try="$ac_compile"
19171 case "(($ac_try" in
19172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19173 *) ac_try_echo=$ac_try;;
19174 esac
19175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19176 (eval "$ac_compile") 2>conftest.er1
19177 ac_status=$?
19178 grep -v '^ *+' conftest.er1 >conftest.err
19179 rm -f conftest.er1
19180 cat conftest.err >&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); } && {
19183 test -z "$ac_c_werror_flag" ||
19184 test ! -s conftest.err
19185 } && test -s conftest.$ac_objext; then
19186 eval "$as_ac_Header=yes"
19187 else
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.$ac_ext >&5
19190
19191 eval "$as_ac_Header=no"
19192 fi
19193
19194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19195 fi
19196 ac_res=`eval echo '${'$as_ac_Header'}'`
19197 { echo "$as_me:$LINENO: result: $ac_res" >&5
19198 echo "${ECHO_T}$ac_res" >&6; }
19199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19200 cat >>confdefs.h <<_ACEOF
19201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19202 _ACEOF
19203
19204 fi
19205
19206 done
19207
19208
19209
19210
19211 for ac_header in langinfo.h wchar.h
19212 do
19213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19214 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19216 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19217 echo $ECHO_N "(cached) $ECHO_C" >&6
19218 else
19219 cat >conftest.$ac_ext <<_ACEOF
19220 /* confdefs.h. */
19221 _ACEOF
19222 cat confdefs.h >>conftest.$ac_ext
19223 cat >>conftest.$ac_ext <<_ACEOF
19224 /* end confdefs.h. */
19225 $ac_includes_default
19226
19227 #include <$ac_header>
19228 _ACEOF
19229 rm -f conftest.$ac_objext
19230 if { (ac_try="$ac_compile"
19231 case "(($ac_try" in
19232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19233 *) ac_try_echo=$ac_try;;
19234 esac
19235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19236 (eval "$ac_compile") 2>conftest.er1
19237 ac_status=$?
19238 grep -v '^ *+' conftest.er1 >conftest.err
19239 rm -f conftest.er1
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } && {
19243 test -z "$ac_c_werror_flag" ||
19244 test ! -s conftest.err
19245 } && test -s conftest.$ac_objext; then
19246 eval "$as_ac_Header=yes"
19247 else
19248 echo "$as_me: failed program was:" >&5
19249 sed 's/^/| /' conftest.$ac_ext >&5
19250
19251 eval "$as_ac_Header=no"
19252 fi
19253
19254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19255 fi
19256 ac_res=`eval echo '${'$as_ac_Header'}'`
19257 { echo "$as_me:$LINENO: result: $ac_res" >&5
19258 echo "${ECHO_T}$ac_res" >&6; }
19259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19260 cat >>confdefs.h <<_ACEOF
19261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19262 _ACEOF
19263
19264 fi
19265
19266 done
19267
19268
19269 if test "$ac_cv_header_wchar_h" != "yes"; then
19270
19271 for ac_header in wcstr.h
19272 do
19273 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19274 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19276 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19277 echo $ECHO_N "(cached) $ECHO_C" >&6
19278 else
19279 cat >conftest.$ac_ext <<_ACEOF
19280 /* confdefs.h. */
19281 _ACEOF
19282 cat confdefs.h >>conftest.$ac_ext
19283 cat >>conftest.$ac_ext <<_ACEOF
19284 /* end confdefs.h. */
19285 $ac_includes_default
19286
19287 #include <$ac_header>
19288 _ACEOF
19289 rm -f conftest.$ac_objext
19290 if { (ac_try="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19294 esac
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19297 ac_status=$?
19298 grep -v '^ *+' conftest.er1 >conftest.err
19299 rm -f conftest.er1
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.$ac_objext; then
19306 eval "$as_ac_Header=yes"
19307 else
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19310
19311 eval "$as_ac_Header=no"
19312 fi
19313
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19315 fi
19316 ac_res=`eval echo '${'$as_ac_Header'}'`
19317 { echo "$as_me:$LINENO: result: $ac_res" >&5
19318 echo "${ECHO_T}$ac_res" >&6; }
19319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19320 cat >>confdefs.h <<_ACEOF
19321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19322 _ACEOF
19323
19324 fi
19325
19326 done
19327
19328 fi
19329
19330 case "${host}" in
19331 *-pc-os2_emx | *-pc-os2-emx )
19332 if test $ac_cv_header_langinfo_h = "yes" \
19333 -a \( "$wx_cv_gccversion" = "EMX2" \
19334 -o "$wx_cv_gccversion" = "EMX3" \
19335 -o "$wx_cv_gccversion" = "Innotek5" \); then
19336 LIBS="$LIBS -lintl"
19337 fi
19338 ;;
19339 esac
19340
19341 if test "$USE_UNIX" = 1 ; then
19342
19343 for ac_header in sys/select.h
19344 do
19345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19346 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19348 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 else
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19358
19359 #include <$ac_header>
19360 _ACEOF
19361 rm -f conftest.$ac_objext
19362 if { (ac_try="$ac_compile"
19363 case "(($ac_try" in
19364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19365 *) ac_try_echo=$ac_try;;
19366 esac
19367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19368 (eval "$ac_compile") 2>conftest.er1
19369 ac_status=$?
19370 grep -v '^ *+' conftest.er1 >conftest.err
19371 rm -f conftest.er1
19372 cat conftest.err >&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); } && {
19375 test -z "$ac_c_werror_flag" ||
19376 test ! -s conftest.err
19377 } && test -s conftest.$ac_objext; then
19378 eval "$as_ac_Header=yes"
19379 else
19380 echo "$as_me: failed program was:" >&5
19381 sed 's/^/| /' conftest.$ac_ext >&5
19382
19383 eval "$as_ac_Header=no"
19384 fi
19385
19386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19387 fi
19388 ac_res=`eval echo '${'$as_ac_Header'}'`
19389 { echo "$as_me:$LINENO: result: $ac_res" >&5
19390 echo "${ECHO_T}$ac_res" >&6; }
19391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19392 cat >>confdefs.h <<_ACEOF
19393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19394 _ACEOF
19395
19396 fi
19397
19398 done
19399
19400 fi
19401
19402
19403 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19404 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19405 if test "${ac_cv_c_const+set}" = set; then
19406 echo $ECHO_N "(cached) $ECHO_C" >&6
19407 else
19408 cat >conftest.$ac_ext <<_ACEOF
19409 /* confdefs.h. */
19410 _ACEOF
19411 cat confdefs.h >>conftest.$ac_ext
19412 cat >>conftest.$ac_ext <<_ACEOF
19413 /* end confdefs.h. */
19414
19415 int
19416 main ()
19417 {
19418 /* FIXME: Include the comments suggested by Paul. */
19419 #ifndef __cplusplus
19420 /* Ultrix mips cc rejects this. */
19421 typedef int charset[2];
19422 const charset cs;
19423 /* SunOS 4.1.1 cc rejects this. */
19424 char const *const *pcpcc;
19425 char **ppc;
19426 /* NEC SVR4.0.2 mips cc rejects this. */
19427 struct point {int x, y;};
19428 static struct point const zero = {0,0};
19429 /* AIX XL C 1.02.0.0 rejects this.
19430 It does not let you subtract one const X* pointer from another in
19431 an arm of an if-expression whose if-part is not a constant
19432 expression */
19433 const char *g = "string";
19434 pcpcc = &g + (g ? g-g : 0);
19435 /* HPUX 7.0 cc rejects these. */
19436 ++pcpcc;
19437 ppc = (char**) pcpcc;
19438 pcpcc = (char const *const *) ppc;
19439 { /* SCO 3.2v4 cc rejects this. */
19440 char *t;
19441 char const *s = 0 ? (char *) 0 : (char const *) 0;
19442
19443 *t++ = 0;
19444 if (s) return 0;
19445 }
19446 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19447 int x[] = {25, 17};
19448 const int *foo = &x[0];
19449 ++foo;
19450 }
19451 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19452 typedef const int *iptr;
19453 iptr p = 0;
19454 ++p;
19455 }
19456 { /* AIX XL C 1.02.0.0 rejects this saying
19457 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19458 struct s { int j; const int *ap[3]; };
19459 struct s *b; b->j = 5;
19460 }
19461 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19462 const int foo = 10;
19463 if (!foo) return 0;
19464 }
19465 return !cs[0] && !zero.x;
19466 #endif
19467
19468 ;
19469 return 0;
19470 }
19471 _ACEOF
19472 rm -f conftest.$ac_objext
19473 if { (ac_try="$ac_compile"
19474 case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19477 esac
19478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_compile") 2>conftest.er1
19480 ac_status=$?
19481 grep -v '^ *+' conftest.er1 >conftest.err
19482 rm -f conftest.er1
19483 cat conftest.err >&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } && {
19486 test -z "$ac_c_werror_flag" ||
19487 test ! -s conftest.err
19488 } && test -s conftest.$ac_objext; then
19489 ac_cv_c_const=yes
19490 else
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19493
19494 ac_cv_c_const=no
19495 fi
19496
19497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19498 fi
19499 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19500 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19501 if test $ac_cv_c_const = no; then
19502
19503 cat >>confdefs.h <<\_ACEOF
19504 #define const
19505 _ACEOF
19506
19507 fi
19508
19509 { echo "$as_me:$LINENO: checking for inline" >&5
19510 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19511 if test "${ac_cv_c_inline+set}" = set; then
19512 echo $ECHO_N "(cached) $ECHO_C" >&6
19513 else
19514 ac_cv_c_inline=no
19515 for ac_kw in inline __inline__ __inline; do
19516 cat >conftest.$ac_ext <<_ACEOF
19517 /* confdefs.h. */
19518 _ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 #ifndef __cplusplus
19523 typedef int foo_t;
19524 static $ac_kw foo_t static_foo () {return 0; }
19525 $ac_kw foo_t foo () {return 0; }
19526 #endif
19527
19528 _ACEOF
19529 rm -f conftest.$ac_objext
19530 if { (ac_try="$ac_compile"
19531 case "(($ac_try" in
19532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19533 *) ac_try_echo=$ac_try;;
19534 esac
19535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19536 (eval "$ac_compile") 2>conftest.er1
19537 ac_status=$?
19538 grep -v '^ *+' conftest.er1 >conftest.err
19539 rm -f conftest.er1
19540 cat conftest.err >&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); } && {
19543 test -z "$ac_c_werror_flag" ||
19544 test ! -s conftest.err
19545 } && test -s conftest.$ac_objext; then
19546 ac_cv_c_inline=$ac_kw
19547 else
19548 echo "$as_me: failed program was:" >&5
19549 sed 's/^/| /' conftest.$ac_ext >&5
19550
19551
19552 fi
19553
19554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19555 test "$ac_cv_c_inline" != no && break
19556 done
19557
19558 fi
19559 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19560 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19561
19562
19563 case $ac_cv_c_inline in
19564 inline | yes) ;;
19565 *)
19566 case $ac_cv_c_inline in
19567 no) ac_val=;;
19568 *) ac_val=$ac_cv_c_inline;;
19569 esac
19570 cat >>confdefs.h <<_ACEOF
19571 #ifndef __cplusplus
19572 #define inline $ac_val
19573 #endif
19574 _ACEOF
19575 ;;
19576 esac
19577
19578
19579 { echo "$as_me:$LINENO: checking for short" >&5
19580 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19581 if test "${ac_cv_type_short+set}" = set; then
19582 echo $ECHO_N "(cached) $ECHO_C" >&6
19583 else
19584 cat >conftest.$ac_ext <<_ACEOF
19585 /* confdefs.h. */
19586 _ACEOF
19587 cat confdefs.h >>conftest.$ac_ext
19588 cat >>conftest.$ac_ext <<_ACEOF
19589 /* end confdefs.h. */
19590 $ac_includes_default
19591 typedef short ac__type_new_;
19592 int
19593 main ()
19594 {
19595 if ((ac__type_new_ *) 0)
19596 return 0;
19597 if (sizeof (ac__type_new_))
19598 return 0;
19599 ;
19600 return 0;
19601 }
19602 _ACEOF
19603 rm -f conftest.$ac_objext
19604 if { (ac_try="$ac_compile"
19605 case "(($ac_try" in
19606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19608 esac
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_compile") 2>conftest.er1
19611 ac_status=$?
19612 grep -v '^ *+' conftest.er1 >conftest.err
19613 rm -f conftest.er1
19614 cat conftest.err >&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } && {
19617 test -z "$ac_c_werror_flag" ||
19618 test ! -s conftest.err
19619 } && test -s conftest.$ac_objext; then
19620 ac_cv_type_short=yes
19621 else
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.$ac_ext >&5
19624
19625 ac_cv_type_short=no
19626 fi
19627
19628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19629 fi
19630 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19631 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19632
19633 # The cast to long int works around a bug in the HP C Compiler
19634 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19635 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19636 # This bug is HP SR number 8606223364.
19637 { echo "$as_me:$LINENO: checking size of short" >&5
19638 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19639 if test "${ac_cv_sizeof_short+set}" = set; then
19640 echo $ECHO_N "(cached) $ECHO_C" >&6
19641 else
19642 if test "$cross_compiling" = yes; then
19643 # Depending upon the size, compute the lo and hi bounds.
19644 cat >conftest.$ac_ext <<_ACEOF
19645 /* confdefs.h. */
19646 _ACEOF
19647 cat confdefs.h >>conftest.$ac_ext
19648 cat >>conftest.$ac_ext <<_ACEOF
19649 /* end confdefs.h. */
19650 $ac_includes_default
19651 typedef short ac__type_sizeof_;
19652 int
19653 main ()
19654 {
19655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19656 test_array [0] = 0
19657
19658 ;
19659 return 0;
19660 }
19661 _ACEOF
19662 rm -f conftest.$ac_objext
19663 if { (ac_try="$ac_compile"
19664 case "(($ac_try" in
19665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19666 *) ac_try_echo=$ac_try;;
19667 esac
19668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19669 (eval "$ac_compile") 2>conftest.er1
19670 ac_status=$?
19671 grep -v '^ *+' conftest.er1 >conftest.err
19672 rm -f conftest.er1
19673 cat conftest.err >&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } && {
19676 test -z "$ac_c_werror_flag" ||
19677 test ! -s conftest.err
19678 } && test -s conftest.$ac_objext; then
19679 ac_lo=0 ac_mid=0
19680 while :; do
19681 cat >conftest.$ac_ext <<_ACEOF
19682 /* confdefs.h. */
19683 _ACEOF
19684 cat confdefs.h >>conftest.$ac_ext
19685 cat >>conftest.$ac_ext <<_ACEOF
19686 /* end confdefs.h. */
19687 $ac_includes_default
19688 typedef short ac__type_sizeof_;
19689 int
19690 main ()
19691 {
19692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19693 test_array [0] = 0
19694
19695 ;
19696 return 0;
19697 }
19698 _ACEOF
19699 rm -f conftest.$ac_objext
19700 if { (ac_try="$ac_compile"
19701 case "(($ac_try" in
19702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19703 *) ac_try_echo=$ac_try;;
19704 esac
19705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19706 (eval "$ac_compile") 2>conftest.er1
19707 ac_status=$?
19708 grep -v '^ *+' conftest.er1 >conftest.err
19709 rm -f conftest.er1
19710 cat conftest.err >&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } && {
19713 test -z "$ac_c_werror_flag" ||
19714 test ! -s conftest.err
19715 } && test -s conftest.$ac_objext; then
19716 ac_hi=$ac_mid; break
19717 else
19718 echo "$as_me: failed program was:" >&5
19719 sed 's/^/| /' conftest.$ac_ext >&5
19720
19721 ac_lo=`expr $ac_mid + 1`
19722 if test $ac_lo -le $ac_mid; then
19723 ac_lo= ac_hi=
19724 break
19725 fi
19726 ac_mid=`expr 2 '*' $ac_mid + 1`
19727 fi
19728
19729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19730 done
19731 else
19732 echo "$as_me: failed program was:" >&5
19733 sed 's/^/| /' conftest.$ac_ext >&5
19734
19735 cat >conftest.$ac_ext <<_ACEOF
19736 /* confdefs.h. */
19737 _ACEOF
19738 cat confdefs.h >>conftest.$ac_ext
19739 cat >>conftest.$ac_ext <<_ACEOF
19740 /* end confdefs.h. */
19741 $ac_includes_default
19742 typedef short ac__type_sizeof_;
19743 int
19744 main ()
19745 {
19746 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19747 test_array [0] = 0
19748
19749 ;
19750 return 0;
19751 }
19752 _ACEOF
19753 rm -f conftest.$ac_objext
19754 if { (ac_try="$ac_compile"
19755 case "(($ac_try" in
19756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19757 *) ac_try_echo=$ac_try;;
19758 esac
19759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19760 (eval "$ac_compile") 2>conftest.er1
19761 ac_status=$?
19762 grep -v '^ *+' conftest.er1 >conftest.err
19763 rm -f conftest.er1
19764 cat conftest.err >&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } && {
19767 test -z "$ac_c_werror_flag" ||
19768 test ! -s conftest.err
19769 } && test -s conftest.$ac_objext; then
19770 ac_hi=-1 ac_mid=-1
19771 while :; do
19772 cat >conftest.$ac_ext <<_ACEOF
19773 /* confdefs.h. */
19774 _ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 $ac_includes_default
19779 typedef short ac__type_sizeof_;
19780 int
19781 main ()
19782 {
19783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19784 test_array [0] = 0
19785
19786 ;
19787 return 0;
19788 }
19789 _ACEOF
19790 rm -f conftest.$ac_objext
19791 if { (ac_try="$ac_compile"
19792 case "(($ac_try" in
19793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19794 *) ac_try_echo=$ac_try;;
19795 esac
19796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19797 (eval "$ac_compile") 2>conftest.er1
19798 ac_status=$?
19799 grep -v '^ *+' conftest.er1 >conftest.err
19800 rm -f conftest.er1
19801 cat conftest.err >&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); } && {
19804 test -z "$ac_c_werror_flag" ||
19805 test ! -s conftest.err
19806 } && test -s conftest.$ac_objext; then
19807 ac_lo=$ac_mid; break
19808 else
19809 echo "$as_me: failed program was:" >&5
19810 sed 's/^/| /' conftest.$ac_ext >&5
19811
19812 ac_hi=`expr '(' $ac_mid ')' - 1`
19813 if test $ac_mid -le $ac_hi; then
19814 ac_lo= ac_hi=
19815 break
19816 fi
19817 ac_mid=`expr 2 '*' $ac_mid`
19818 fi
19819
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 done
19822 else
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.$ac_ext >&5
19825
19826 ac_lo= ac_hi=
19827 fi
19828
19829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830 fi
19831
19832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19833 # Binary search between lo and hi bounds.
19834 while test "x$ac_lo" != "x$ac_hi"; do
19835 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19836 cat >conftest.$ac_ext <<_ACEOF
19837 /* confdefs.h. */
19838 _ACEOF
19839 cat confdefs.h >>conftest.$ac_ext
19840 cat >>conftest.$ac_ext <<_ACEOF
19841 /* end confdefs.h. */
19842 $ac_includes_default
19843 typedef short ac__type_sizeof_;
19844 int
19845 main ()
19846 {
19847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19848 test_array [0] = 0
19849
19850 ;
19851 return 0;
19852 }
19853 _ACEOF
19854 rm -f conftest.$ac_objext
19855 if { (ac_try="$ac_compile"
19856 case "(($ac_try" in
19857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19858 *) ac_try_echo=$ac_try;;
19859 esac
19860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19861 (eval "$ac_compile") 2>conftest.er1
19862 ac_status=$?
19863 grep -v '^ *+' conftest.er1 >conftest.err
19864 rm -f conftest.er1
19865 cat conftest.err >&5
19866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19867 (exit $ac_status); } && {
19868 test -z "$ac_c_werror_flag" ||
19869 test ! -s conftest.err
19870 } && test -s conftest.$ac_objext; then
19871 ac_hi=$ac_mid
19872 else
19873 echo "$as_me: failed program was:" >&5
19874 sed 's/^/| /' conftest.$ac_ext >&5
19875
19876 ac_lo=`expr '(' $ac_mid ')' + 1`
19877 fi
19878
19879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19880 done
19881 case $ac_lo in
19882 ?*) ac_cv_sizeof_short=$ac_lo;;
19883 '') if test "$ac_cv_type_short" = yes; then
19884 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19885 See \`config.log' for more details." >&5
19886 echo "$as_me: error: cannot compute sizeof (short)
19887 See \`config.log' for more details." >&2;}
19888 { (exit 77); exit 77; }; }
19889 else
19890 ac_cv_sizeof_short=0
19891 fi ;;
19892 esac
19893 else
19894 cat >conftest.$ac_ext <<_ACEOF
19895 /* confdefs.h. */
19896 _ACEOF
19897 cat confdefs.h >>conftest.$ac_ext
19898 cat >>conftest.$ac_ext <<_ACEOF
19899 /* end confdefs.h. */
19900 $ac_includes_default
19901 typedef short ac__type_sizeof_;
19902 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19903 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19904 #include <stdio.h>
19905 #include <stdlib.h>
19906 int
19907 main ()
19908 {
19909
19910 FILE *f = fopen ("conftest.val", "w");
19911 if (! f)
19912 return 1;
19913 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19914 {
19915 long int i = longval ();
19916 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19917 return 1;
19918 fprintf (f, "%ld\n", i);
19919 }
19920 else
19921 {
19922 unsigned long int i = ulongval ();
19923 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19924 return 1;
19925 fprintf (f, "%lu\n", i);
19926 }
19927 return ferror (f) || fclose (f) != 0;
19928
19929 ;
19930 return 0;
19931 }
19932 _ACEOF
19933 rm -f conftest$ac_exeext
19934 if { (ac_try="$ac_link"
19935 case "(($ac_try" in
19936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19937 *) ac_try_echo=$ac_try;;
19938 esac
19939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19940 (eval "$ac_link") 2>&5
19941 ac_status=$?
19942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19944 { (case "(($ac_try" in
19945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19946 *) ac_try_echo=$ac_try;;
19947 esac
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_try") 2>&5
19950 ac_status=$?
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; }; then
19953 ac_cv_sizeof_short=`cat conftest.val`
19954 else
19955 echo "$as_me: program exited with status $ac_status" >&5
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.$ac_ext >&5
19958
19959 ( exit $ac_status )
19960 if test "$ac_cv_type_short" = yes; then
19961 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19962 See \`config.log' for more details." >&5
19963 echo "$as_me: error: cannot compute sizeof (short)
19964 See \`config.log' for more details." >&2;}
19965 { (exit 77); exit 77; }; }
19966 else
19967 ac_cv_sizeof_short=0
19968 fi
19969 fi
19970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19971 fi
19972 rm -f conftest.val
19973 fi
19974 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19975 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19976
19977
19978
19979 cat >>confdefs.h <<_ACEOF
19980 #define SIZEOF_SHORT $ac_cv_sizeof_short
19981 _ACEOF
19982
19983
19984 { echo "$as_me:$LINENO: checking for void *" >&5
19985 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19986 if test "${ac_cv_type_void_p+set}" = set; then
19987 echo $ECHO_N "(cached) $ECHO_C" >&6
19988 else
19989 cat >conftest.$ac_ext <<_ACEOF
19990 /* confdefs.h. */
19991 _ACEOF
19992 cat confdefs.h >>conftest.$ac_ext
19993 cat >>conftest.$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 $ac_includes_default
19996 typedef void * ac__type_new_;
19997 int
19998 main ()
19999 {
20000 if ((ac__type_new_ *) 0)
20001 return 0;
20002 if (sizeof (ac__type_new_))
20003 return 0;
20004 ;
20005 return 0;
20006 }
20007 _ACEOF
20008 rm -f conftest.$ac_objext
20009 if { (ac_try="$ac_compile"
20010 case "(($ac_try" in
20011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20012 *) ac_try_echo=$ac_try;;
20013 esac
20014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20015 (eval "$ac_compile") 2>conftest.er1
20016 ac_status=$?
20017 grep -v '^ *+' conftest.er1 >conftest.err
20018 rm -f conftest.er1
20019 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } && {
20022 test -z "$ac_c_werror_flag" ||
20023 test ! -s conftest.err
20024 } && test -s conftest.$ac_objext; then
20025 ac_cv_type_void_p=yes
20026 else
20027 echo "$as_me: failed program was:" >&5
20028 sed 's/^/| /' conftest.$ac_ext >&5
20029
20030 ac_cv_type_void_p=no
20031 fi
20032
20033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20034 fi
20035 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20036 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
20037
20038 # The cast to long int works around a bug in the HP C Compiler
20039 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20040 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20041 # This bug is HP SR number 8606223364.
20042 { echo "$as_me:$LINENO: checking size of void *" >&5
20043 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
20044 if test "${ac_cv_sizeof_void_p+set}" = set; then
20045 echo $ECHO_N "(cached) $ECHO_C" >&6
20046 else
20047 if test "$cross_compiling" = yes; then
20048 # Depending upon the size, compute the lo and hi bounds.
20049 cat >conftest.$ac_ext <<_ACEOF
20050 /* confdefs.h. */
20051 _ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20055 $ac_includes_default
20056 typedef void * ac__type_sizeof_;
20057 int
20058 main ()
20059 {
20060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20061 test_array [0] = 0
20062
20063 ;
20064 return 0;
20065 }
20066 _ACEOF
20067 rm -f conftest.$ac_objext
20068 if { (ac_try="$ac_compile"
20069 case "(($ac_try" in
20070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20071 *) ac_try_echo=$ac_try;;
20072 esac
20073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20074 (eval "$ac_compile") 2>conftest.er1
20075 ac_status=$?
20076 grep -v '^ *+' conftest.er1 >conftest.err
20077 rm -f conftest.er1
20078 cat conftest.err >&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); } && {
20081 test -z "$ac_c_werror_flag" ||
20082 test ! -s conftest.err
20083 } && test -s conftest.$ac_objext; then
20084 ac_lo=0 ac_mid=0
20085 while :; do
20086 cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h. */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20093 typedef void * ac__type_sizeof_;
20094 int
20095 main ()
20096 {
20097 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20098 test_array [0] = 0
20099
20100 ;
20101 return 0;
20102 }
20103 _ACEOF
20104 rm -f conftest.$ac_objext
20105 if { (ac_try="$ac_compile"
20106 case "(($ac_try" in
20107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20108 *) ac_try_echo=$ac_try;;
20109 esac
20110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20111 (eval "$ac_compile") 2>conftest.er1
20112 ac_status=$?
20113 grep -v '^ *+' conftest.er1 >conftest.err
20114 rm -f conftest.er1
20115 cat conftest.err >&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); } && {
20118 test -z "$ac_c_werror_flag" ||
20119 test ! -s conftest.err
20120 } && test -s conftest.$ac_objext; then
20121 ac_hi=$ac_mid; break
20122 else
20123 echo "$as_me: failed program was:" >&5
20124 sed 's/^/| /' conftest.$ac_ext >&5
20125
20126 ac_lo=`expr $ac_mid + 1`
20127 if test $ac_lo -le $ac_mid; then
20128 ac_lo= ac_hi=
20129 break
20130 fi
20131 ac_mid=`expr 2 '*' $ac_mid + 1`
20132 fi
20133
20134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20135 done
20136 else
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20139
20140 cat >conftest.$ac_ext <<_ACEOF
20141 /* confdefs.h. */
20142 _ACEOF
20143 cat confdefs.h >>conftest.$ac_ext
20144 cat >>conftest.$ac_ext <<_ACEOF
20145 /* end confdefs.h. */
20146 $ac_includes_default
20147 typedef void * ac__type_sizeof_;
20148 int
20149 main ()
20150 {
20151 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20152 test_array [0] = 0
20153
20154 ;
20155 return 0;
20156 }
20157 _ACEOF
20158 rm -f conftest.$ac_objext
20159 if { (ac_try="$ac_compile"
20160 case "(($ac_try" in
20161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20162 *) ac_try_echo=$ac_try;;
20163 esac
20164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20165 (eval "$ac_compile") 2>conftest.er1
20166 ac_status=$?
20167 grep -v '^ *+' conftest.er1 >conftest.err
20168 rm -f conftest.er1
20169 cat conftest.err >&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); } && {
20172 test -z "$ac_c_werror_flag" ||
20173 test ! -s conftest.err
20174 } && test -s conftest.$ac_objext; then
20175 ac_hi=-1 ac_mid=-1
20176 while :; do
20177 cat >conftest.$ac_ext <<_ACEOF
20178 /* confdefs.h. */
20179 _ACEOF
20180 cat confdefs.h >>conftest.$ac_ext
20181 cat >>conftest.$ac_ext <<_ACEOF
20182 /* end confdefs.h. */
20183 $ac_includes_default
20184 typedef void * ac__type_sizeof_;
20185 int
20186 main ()
20187 {
20188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20189 test_array [0] = 0
20190
20191 ;
20192 return 0;
20193 }
20194 _ACEOF
20195 rm -f conftest.$ac_objext
20196 if { (ac_try="$ac_compile"
20197 case "(($ac_try" in
20198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20199 *) ac_try_echo=$ac_try;;
20200 esac
20201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20202 (eval "$ac_compile") 2>conftest.er1
20203 ac_status=$?
20204 grep -v '^ *+' conftest.er1 >conftest.err
20205 rm -f conftest.er1
20206 cat conftest.err >&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); } && {
20209 test -z "$ac_c_werror_flag" ||
20210 test ! -s conftest.err
20211 } && test -s conftest.$ac_objext; then
20212 ac_lo=$ac_mid; break
20213 else
20214 echo "$as_me: failed program was:" >&5
20215 sed 's/^/| /' conftest.$ac_ext >&5
20216
20217 ac_hi=`expr '(' $ac_mid ')' - 1`
20218 if test $ac_mid -le $ac_hi; then
20219 ac_lo= ac_hi=
20220 break
20221 fi
20222 ac_mid=`expr 2 '*' $ac_mid`
20223 fi
20224
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20226 done
20227 else
20228 echo "$as_me: failed program was:" >&5
20229 sed 's/^/| /' conftest.$ac_ext >&5
20230
20231 ac_lo= ac_hi=
20232 fi
20233
20234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20235 fi
20236
20237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20238 # Binary search between lo and hi bounds.
20239 while test "x$ac_lo" != "x$ac_hi"; do
20240 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20241 cat >conftest.$ac_ext <<_ACEOF
20242 /* confdefs.h. */
20243 _ACEOF
20244 cat confdefs.h >>conftest.$ac_ext
20245 cat >>conftest.$ac_ext <<_ACEOF
20246 /* end confdefs.h. */
20247 $ac_includes_default
20248 typedef void * ac__type_sizeof_;
20249 int
20250 main ()
20251 {
20252 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20253 test_array [0] = 0
20254
20255 ;
20256 return 0;
20257 }
20258 _ACEOF
20259 rm -f conftest.$ac_objext
20260 if { (ac_try="$ac_compile"
20261 case "(($ac_try" in
20262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20263 *) ac_try_echo=$ac_try;;
20264 esac
20265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20266 (eval "$ac_compile") 2>conftest.er1
20267 ac_status=$?
20268 grep -v '^ *+' conftest.er1 >conftest.err
20269 rm -f conftest.er1
20270 cat conftest.err >&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } && {
20273 test -z "$ac_c_werror_flag" ||
20274 test ! -s conftest.err
20275 } && test -s conftest.$ac_objext; then
20276 ac_hi=$ac_mid
20277 else
20278 echo "$as_me: failed program was:" >&5
20279 sed 's/^/| /' conftest.$ac_ext >&5
20280
20281 ac_lo=`expr '(' $ac_mid ')' + 1`
20282 fi
20283
20284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20285 done
20286 case $ac_lo in
20287 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20288 '') if test "$ac_cv_type_void_p" = yes; then
20289 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20290 See \`config.log' for more details." >&5
20291 echo "$as_me: error: cannot compute sizeof (void *)
20292 See \`config.log' for more details." >&2;}
20293 { (exit 77); exit 77; }; }
20294 else
20295 ac_cv_sizeof_void_p=0
20296 fi ;;
20297 esac
20298 else
20299 cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h. */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 $ac_includes_default
20306 typedef void * ac__type_sizeof_;
20307 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20308 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20309 #include <stdio.h>
20310 #include <stdlib.h>
20311 int
20312 main ()
20313 {
20314
20315 FILE *f = fopen ("conftest.val", "w");
20316 if (! f)
20317 return 1;
20318 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20319 {
20320 long int i = longval ();
20321 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20322 return 1;
20323 fprintf (f, "%ld\n", i);
20324 }
20325 else
20326 {
20327 unsigned long int i = ulongval ();
20328 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20329 return 1;
20330 fprintf (f, "%lu\n", i);
20331 }
20332 return ferror (f) || fclose (f) != 0;
20333
20334 ;
20335 return 0;
20336 }
20337 _ACEOF
20338 rm -f conftest$ac_exeext
20339 if { (ac_try="$ac_link"
20340 case "(($ac_try" in
20341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20342 *) ac_try_echo=$ac_try;;
20343 esac
20344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20345 (eval "$ac_link") 2>&5
20346 ac_status=$?
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20349 { (case "(($ac_try" in
20350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20351 *) ac_try_echo=$ac_try;;
20352 esac
20353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20354 (eval "$ac_try") 2>&5
20355 ac_status=$?
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); }; }; then
20358 ac_cv_sizeof_void_p=`cat conftest.val`
20359 else
20360 echo "$as_me: program exited with status $ac_status" >&5
20361 echo "$as_me: failed program was:" >&5
20362 sed 's/^/| /' conftest.$ac_ext >&5
20363
20364 ( exit $ac_status )
20365 if test "$ac_cv_type_void_p" = yes; then
20366 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20367 See \`config.log' for more details." >&5
20368 echo "$as_me: error: cannot compute sizeof (void *)
20369 See \`config.log' for more details." >&2;}
20370 { (exit 77); exit 77; }; }
20371 else
20372 ac_cv_sizeof_void_p=0
20373 fi
20374 fi
20375 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20376 fi
20377 rm -f conftest.val
20378 fi
20379 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20380 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20381
20382
20383
20384 cat >>confdefs.h <<_ACEOF
20385 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20386 _ACEOF
20387
20388
20389 { echo "$as_me:$LINENO: checking for int" >&5
20390 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20391 if test "${ac_cv_type_int+set}" = set; then
20392 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 else
20394 cat >conftest.$ac_ext <<_ACEOF
20395 /* confdefs.h. */
20396 _ACEOF
20397 cat confdefs.h >>conftest.$ac_ext
20398 cat >>conftest.$ac_ext <<_ACEOF
20399 /* end confdefs.h. */
20400 $ac_includes_default
20401 typedef int ac__type_new_;
20402 int
20403 main ()
20404 {
20405 if ((ac__type_new_ *) 0)
20406 return 0;
20407 if (sizeof (ac__type_new_))
20408 return 0;
20409 ;
20410 return 0;
20411 }
20412 _ACEOF
20413 rm -f conftest.$ac_objext
20414 if { (ac_try="$ac_compile"
20415 case "(($ac_try" in
20416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20417 *) ac_try_echo=$ac_try;;
20418 esac
20419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20420 (eval "$ac_compile") 2>conftest.er1
20421 ac_status=$?
20422 grep -v '^ *+' conftest.er1 >conftest.err
20423 rm -f conftest.er1
20424 cat conftest.err >&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); } && {
20427 test -z "$ac_c_werror_flag" ||
20428 test ! -s conftest.err
20429 } && test -s conftest.$ac_objext; then
20430 ac_cv_type_int=yes
20431 else
20432 echo "$as_me: failed program was:" >&5
20433 sed 's/^/| /' conftest.$ac_ext >&5
20434
20435 ac_cv_type_int=no
20436 fi
20437
20438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20439 fi
20440 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20441 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20442
20443 # The cast to long int works around a bug in the HP C Compiler
20444 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20445 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20446 # This bug is HP SR number 8606223364.
20447 { echo "$as_me:$LINENO: checking size of int" >&5
20448 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20449 if test "${ac_cv_sizeof_int+set}" = set; then
20450 echo $ECHO_N "(cached) $ECHO_C" >&6
20451 else
20452 if test "$cross_compiling" = yes; then
20453 # Depending upon the size, compute the lo and hi bounds.
20454 cat >conftest.$ac_ext <<_ACEOF
20455 /* confdefs.h. */
20456 _ACEOF
20457 cat confdefs.h >>conftest.$ac_ext
20458 cat >>conftest.$ac_ext <<_ACEOF
20459 /* end confdefs.h. */
20460 $ac_includes_default
20461 typedef int ac__type_sizeof_;
20462 int
20463 main ()
20464 {
20465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20466 test_array [0] = 0
20467
20468 ;
20469 return 0;
20470 }
20471 _ACEOF
20472 rm -f conftest.$ac_objext
20473 if { (ac_try="$ac_compile"
20474 case "(($ac_try" in
20475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20476 *) ac_try_echo=$ac_try;;
20477 esac
20478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20479 (eval "$ac_compile") 2>conftest.er1
20480 ac_status=$?
20481 grep -v '^ *+' conftest.er1 >conftest.err
20482 rm -f conftest.er1
20483 cat conftest.err >&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } && {
20486 test -z "$ac_c_werror_flag" ||
20487 test ! -s conftest.err
20488 } && test -s conftest.$ac_objext; then
20489 ac_lo=0 ac_mid=0
20490 while :; do
20491 cat >conftest.$ac_ext <<_ACEOF
20492 /* confdefs.h. */
20493 _ACEOF
20494 cat confdefs.h >>conftest.$ac_ext
20495 cat >>conftest.$ac_ext <<_ACEOF
20496 /* end confdefs.h. */
20497 $ac_includes_default
20498 typedef int ac__type_sizeof_;
20499 int
20500 main ()
20501 {
20502 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20503 test_array [0] = 0
20504
20505 ;
20506 return 0;
20507 }
20508 _ACEOF
20509 rm -f conftest.$ac_objext
20510 if { (ac_try="$ac_compile"
20511 case "(($ac_try" in
20512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20513 *) ac_try_echo=$ac_try;;
20514 esac
20515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20516 (eval "$ac_compile") 2>conftest.er1
20517 ac_status=$?
20518 grep -v '^ *+' conftest.er1 >conftest.err
20519 rm -f conftest.er1
20520 cat conftest.err >&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); } && {
20523 test -z "$ac_c_werror_flag" ||
20524 test ! -s conftest.err
20525 } && test -s conftest.$ac_objext; then
20526 ac_hi=$ac_mid; break
20527 else
20528 echo "$as_me: failed program was:" >&5
20529 sed 's/^/| /' conftest.$ac_ext >&5
20530
20531 ac_lo=`expr $ac_mid + 1`
20532 if test $ac_lo -le $ac_mid; then
20533 ac_lo= ac_hi=
20534 break
20535 fi
20536 ac_mid=`expr 2 '*' $ac_mid + 1`
20537 fi
20538
20539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20540 done
20541 else
20542 echo "$as_me: failed program was:" >&5
20543 sed 's/^/| /' conftest.$ac_ext >&5
20544
20545 cat >conftest.$ac_ext <<_ACEOF
20546 /* confdefs.h. */
20547 _ACEOF
20548 cat confdefs.h >>conftest.$ac_ext
20549 cat >>conftest.$ac_ext <<_ACEOF
20550 /* end confdefs.h. */
20551 $ac_includes_default
20552 typedef int ac__type_sizeof_;
20553 int
20554 main ()
20555 {
20556 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20557 test_array [0] = 0
20558
20559 ;
20560 return 0;
20561 }
20562 _ACEOF
20563 rm -f conftest.$ac_objext
20564 if { (ac_try="$ac_compile"
20565 case "(($ac_try" in
20566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20567 *) ac_try_echo=$ac_try;;
20568 esac
20569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20570 (eval "$ac_compile") 2>conftest.er1
20571 ac_status=$?
20572 grep -v '^ *+' conftest.er1 >conftest.err
20573 rm -f conftest.er1
20574 cat conftest.err >&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); } && {
20577 test -z "$ac_c_werror_flag" ||
20578 test ! -s conftest.err
20579 } && test -s conftest.$ac_objext; then
20580 ac_hi=-1 ac_mid=-1
20581 while :; do
20582 cat >conftest.$ac_ext <<_ACEOF
20583 /* confdefs.h. */
20584 _ACEOF
20585 cat confdefs.h >>conftest.$ac_ext
20586 cat >>conftest.$ac_ext <<_ACEOF
20587 /* end confdefs.h. */
20588 $ac_includes_default
20589 typedef int ac__type_sizeof_;
20590 int
20591 main ()
20592 {
20593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20594 test_array [0] = 0
20595
20596 ;
20597 return 0;
20598 }
20599 _ACEOF
20600 rm -f conftest.$ac_objext
20601 if { (ac_try="$ac_compile"
20602 case "(($ac_try" in
20603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20604 *) ac_try_echo=$ac_try;;
20605 esac
20606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20607 (eval "$ac_compile") 2>conftest.er1
20608 ac_status=$?
20609 grep -v '^ *+' conftest.er1 >conftest.err
20610 rm -f conftest.er1
20611 cat conftest.err >&5
20612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20613 (exit $ac_status); } && {
20614 test -z "$ac_c_werror_flag" ||
20615 test ! -s conftest.err
20616 } && test -s conftest.$ac_objext; then
20617 ac_lo=$ac_mid; break
20618 else
20619 echo "$as_me: failed program was:" >&5
20620 sed 's/^/| /' conftest.$ac_ext >&5
20621
20622 ac_hi=`expr '(' $ac_mid ')' - 1`
20623 if test $ac_mid -le $ac_hi; then
20624 ac_lo= ac_hi=
20625 break
20626 fi
20627 ac_mid=`expr 2 '*' $ac_mid`
20628 fi
20629
20630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20631 done
20632 else
20633 echo "$as_me: failed program was:" >&5
20634 sed 's/^/| /' conftest.$ac_ext >&5
20635
20636 ac_lo= ac_hi=
20637 fi
20638
20639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640 fi
20641
20642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20643 # Binary search between lo and hi bounds.
20644 while test "x$ac_lo" != "x$ac_hi"; do
20645 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20646 cat >conftest.$ac_ext <<_ACEOF
20647 /* confdefs.h. */
20648 _ACEOF
20649 cat confdefs.h >>conftest.$ac_ext
20650 cat >>conftest.$ac_ext <<_ACEOF
20651 /* end confdefs.h. */
20652 $ac_includes_default
20653 typedef int ac__type_sizeof_;
20654 int
20655 main ()
20656 {
20657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20658 test_array [0] = 0
20659
20660 ;
20661 return 0;
20662 }
20663 _ACEOF
20664 rm -f conftest.$ac_objext
20665 if { (ac_try="$ac_compile"
20666 case "(($ac_try" in
20667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20668 *) ac_try_echo=$ac_try;;
20669 esac
20670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20671 (eval "$ac_compile") 2>conftest.er1
20672 ac_status=$?
20673 grep -v '^ *+' conftest.er1 >conftest.err
20674 rm -f conftest.er1
20675 cat conftest.err >&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); } && {
20678 test -z "$ac_c_werror_flag" ||
20679 test ! -s conftest.err
20680 } && test -s conftest.$ac_objext; then
20681 ac_hi=$ac_mid
20682 else
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.$ac_ext >&5
20685
20686 ac_lo=`expr '(' $ac_mid ')' + 1`
20687 fi
20688
20689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20690 done
20691 case $ac_lo in
20692 ?*) ac_cv_sizeof_int=$ac_lo;;
20693 '') if test "$ac_cv_type_int" = yes; then
20694 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20695 See \`config.log' for more details." >&5
20696 echo "$as_me: error: cannot compute sizeof (int)
20697 See \`config.log' for more details." >&2;}
20698 { (exit 77); exit 77; }; }
20699 else
20700 ac_cv_sizeof_int=0
20701 fi ;;
20702 esac
20703 else
20704 cat >conftest.$ac_ext <<_ACEOF
20705 /* confdefs.h. */
20706 _ACEOF
20707 cat confdefs.h >>conftest.$ac_ext
20708 cat >>conftest.$ac_ext <<_ACEOF
20709 /* end confdefs.h. */
20710 $ac_includes_default
20711 typedef int ac__type_sizeof_;
20712 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20713 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20714 #include <stdio.h>
20715 #include <stdlib.h>
20716 int
20717 main ()
20718 {
20719
20720 FILE *f = fopen ("conftest.val", "w");
20721 if (! f)
20722 return 1;
20723 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20724 {
20725 long int i = longval ();
20726 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20727 return 1;
20728 fprintf (f, "%ld\n", i);
20729 }
20730 else
20731 {
20732 unsigned long int i = ulongval ();
20733 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20734 return 1;
20735 fprintf (f, "%lu\n", i);
20736 }
20737 return ferror (f) || fclose (f) != 0;
20738
20739 ;
20740 return 0;
20741 }
20742 _ACEOF
20743 rm -f conftest$ac_exeext
20744 if { (ac_try="$ac_link"
20745 case "(($ac_try" in
20746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20747 *) ac_try_echo=$ac_try;;
20748 esac
20749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20750 (eval "$ac_link") 2>&5
20751 ac_status=$?
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20754 { (case "(($ac_try" in
20755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20756 *) ac_try_echo=$ac_try;;
20757 esac
20758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20759 (eval "$ac_try") 2>&5
20760 ac_status=$?
20761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20762 (exit $ac_status); }; }; then
20763 ac_cv_sizeof_int=`cat conftest.val`
20764 else
20765 echo "$as_me: program exited with status $ac_status" >&5
20766 echo "$as_me: failed program was:" >&5
20767 sed 's/^/| /' conftest.$ac_ext >&5
20768
20769 ( exit $ac_status )
20770 if test "$ac_cv_type_int" = yes; then
20771 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20772 See \`config.log' for more details." >&5
20773 echo "$as_me: error: cannot compute sizeof (int)
20774 See \`config.log' for more details." >&2;}
20775 { (exit 77); exit 77; }; }
20776 else
20777 ac_cv_sizeof_int=0
20778 fi
20779 fi
20780 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20781 fi
20782 rm -f conftest.val
20783 fi
20784 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20785 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20786
20787
20788
20789 cat >>confdefs.h <<_ACEOF
20790 #define SIZEOF_INT $ac_cv_sizeof_int
20791 _ACEOF
20792
20793
20794 { echo "$as_me:$LINENO: checking for long" >&5
20795 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20796 if test "${ac_cv_type_long+set}" = set; then
20797 echo $ECHO_N "(cached) $ECHO_C" >&6
20798 else
20799 cat >conftest.$ac_ext <<_ACEOF
20800 /* confdefs.h. */
20801 _ACEOF
20802 cat confdefs.h >>conftest.$ac_ext
20803 cat >>conftest.$ac_ext <<_ACEOF
20804 /* end confdefs.h. */
20805 $ac_includes_default
20806 typedef long ac__type_new_;
20807 int
20808 main ()
20809 {
20810 if ((ac__type_new_ *) 0)
20811 return 0;
20812 if (sizeof (ac__type_new_))
20813 return 0;
20814 ;
20815 return 0;
20816 }
20817 _ACEOF
20818 rm -f conftest.$ac_objext
20819 if { (ac_try="$ac_compile"
20820 case "(($ac_try" in
20821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20823 esac
20824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20826 ac_status=$?
20827 grep -v '^ *+' conftest.er1 >conftest.err
20828 rm -f conftest.er1
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.$ac_objext; then
20835 ac_cv_type_long=yes
20836 else
20837 echo "$as_me: failed program was:" >&5
20838 sed 's/^/| /' conftest.$ac_ext >&5
20839
20840 ac_cv_type_long=no
20841 fi
20842
20843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20844 fi
20845 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20846 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20847
20848 # The cast to long int works around a bug in the HP C Compiler
20849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20851 # This bug is HP SR number 8606223364.
20852 { echo "$as_me:$LINENO: checking size of long" >&5
20853 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20854 if test "${ac_cv_sizeof_long+set}" = set; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20856 else
20857 if test "$cross_compiling" = yes; then
20858 # Depending upon the size, compute the lo and hi bounds.
20859 cat >conftest.$ac_ext <<_ACEOF
20860 /* confdefs.h. */
20861 _ACEOF
20862 cat confdefs.h >>conftest.$ac_ext
20863 cat >>conftest.$ac_ext <<_ACEOF
20864 /* end confdefs.h. */
20865 $ac_includes_default
20866 typedef long ac__type_sizeof_;
20867 int
20868 main ()
20869 {
20870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20871 test_array [0] = 0
20872
20873 ;
20874 return 0;
20875 }
20876 _ACEOF
20877 rm -f conftest.$ac_objext
20878 if { (ac_try="$ac_compile"
20879 case "(($ac_try" in
20880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20881 *) ac_try_echo=$ac_try;;
20882 esac
20883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20884 (eval "$ac_compile") 2>conftest.er1
20885 ac_status=$?
20886 grep -v '^ *+' conftest.er1 >conftest.err
20887 rm -f conftest.er1
20888 cat conftest.err >&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); } && {
20891 test -z "$ac_c_werror_flag" ||
20892 test ! -s conftest.err
20893 } && test -s conftest.$ac_objext; then
20894 ac_lo=0 ac_mid=0
20895 while :; do
20896 cat >conftest.$ac_ext <<_ACEOF
20897 /* confdefs.h. */
20898 _ACEOF
20899 cat confdefs.h >>conftest.$ac_ext
20900 cat >>conftest.$ac_ext <<_ACEOF
20901 /* end confdefs.h. */
20902 $ac_includes_default
20903 typedef long ac__type_sizeof_;
20904 int
20905 main ()
20906 {
20907 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20908 test_array [0] = 0
20909
20910 ;
20911 return 0;
20912 }
20913 _ACEOF
20914 rm -f conftest.$ac_objext
20915 if { (ac_try="$ac_compile"
20916 case "(($ac_try" in
20917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20918 *) ac_try_echo=$ac_try;;
20919 esac
20920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20921 (eval "$ac_compile") 2>conftest.er1
20922 ac_status=$?
20923 grep -v '^ *+' conftest.er1 >conftest.err
20924 rm -f conftest.er1
20925 cat conftest.err >&5
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } && {
20928 test -z "$ac_c_werror_flag" ||
20929 test ! -s conftest.err
20930 } && test -s conftest.$ac_objext; then
20931 ac_hi=$ac_mid; break
20932 else
20933 echo "$as_me: failed program was:" >&5
20934 sed 's/^/| /' conftest.$ac_ext >&5
20935
20936 ac_lo=`expr $ac_mid + 1`
20937 if test $ac_lo -le $ac_mid; then
20938 ac_lo= ac_hi=
20939 break
20940 fi
20941 ac_mid=`expr 2 '*' $ac_mid + 1`
20942 fi
20943
20944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20945 done
20946 else
20947 echo "$as_me: failed program was:" >&5
20948 sed 's/^/| /' conftest.$ac_ext >&5
20949
20950 cat >conftest.$ac_ext <<_ACEOF
20951 /* confdefs.h. */
20952 _ACEOF
20953 cat confdefs.h >>conftest.$ac_ext
20954 cat >>conftest.$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 $ac_includes_default
20957 typedef long ac__type_sizeof_;
20958 int
20959 main ()
20960 {
20961 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20962 test_array [0] = 0
20963
20964 ;
20965 return 0;
20966 }
20967 _ACEOF
20968 rm -f conftest.$ac_objext
20969 if { (ac_try="$ac_compile"
20970 case "(($ac_try" in
20971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20972 *) ac_try_echo=$ac_try;;
20973 esac
20974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20975 (eval "$ac_compile") 2>conftest.er1
20976 ac_status=$?
20977 grep -v '^ *+' conftest.er1 >conftest.err
20978 rm -f conftest.er1
20979 cat conftest.err >&5
20980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20981 (exit $ac_status); } && {
20982 test -z "$ac_c_werror_flag" ||
20983 test ! -s conftest.err
20984 } && test -s conftest.$ac_objext; then
20985 ac_hi=-1 ac_mid=-1
20986 while :; do
20987 cat >conftest.$ac_ext <<_ACEOF
20988 /* confdefs.h. */
20989 _ACEOF
20990 cat confdefs.h >>conftest.$ac_ext
20991 cat >>conftest.$ac_ext <<_ACEOF
20992 /* end confdefs.h. */
20993 $ac_includes_default
20994 typedef long ac__type_sizeof_;
20995 int
20996 main ()
20997 {
20998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20999 test_array [0] = 0
21000
21001 ;
21002 return 0;
21003 }
21004 _ACEOF
21005 rm -f conftest.$ac_objext
21006 if { (ac_try="$ac_compile"
21007 case "(($ac_try" in
21008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21009 *) ac_try_echo=$ac_try;;
21010 esac
21011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21012 (eval "$ac_compile") 2>conftest.er1
21013 ac_status=$?
21014 grep -v '^ *+' conftest.er1 >conftest.err
21015 rm -f conftest.er1
21016 cat conftest.err >&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); } && {
21019 test -z "$ac_c_werror_flag" ||
21020 test ! -s conftest.err
21021 } && test -s conftest.$ac_objext; then
21022 ac_lo=$ac_mid; break
21023 else
21024 echo "$as_me: failed program was:" >&5
21025 sed 's/^/| /' conftest.$ac_ext >&5
21026
21027 ac_hi=`expr '(' $ac_mid ')' - 1`
21028 if test $ac_mid -le $ac_hi; then
21029 ac_lo= ac_hi=
21030 break
21031 fi
21032 ac_mid=`expr 2 '*' $ac_mid`
21033 fi
21034
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21036 done
21037 else
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.$ac_ext >&5
21040
21041 ac_lo= ac_hi=
21042 fi
21043
21044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21045 fi
21046
21047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21048 # Binary search between lo and hi bounds.
21049 while test "x$ac_lo" != "x$ac_hi"; do
21050 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21051 cat >conftest.$ac_ext <<_ACEOF
21052 /* confdefs.h. */
21053 _ACEOF
21054 cat confdefs.h >>conftest.$ac_ext
21055 cat >>conftest.$ac_ext <<_ACEOF
21056 /* end confdefs.h. */
21057 $ac_includes_default
21058 typedef long ac__type_sizeof_;
21059 int
21060 main ()
21061 {
21062 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21063 test_array [0] = 0
21064
21065 ;
21066 return 0;
21067 }
21068 _ACEOF
21069 rm -f conftest.$ac_objext
21070 if { (ac_try="$ac_compile"
21071 case "(($ac_try" in
21072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21073 *) ac_try_echo=$ac_try;;
21074 esac
21075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21076 (eval "$ac_compile") 2>conftest.er1
21077 ac_status=$?
21078 grep -v '^ *+' conftest.er1 >conftest.err
21079 rm -f conftest.er1
21080 cat conftest.err >&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } && {
21083 test -z "$ac_c_werror_flag" ||
21084 test ! -s conftest.err
21085 } && test -s conftest.$ac_objext; then
21086 ac_hi=$ac_mid
21087 else
21088 echo "$as_me: failed program was:" >&5
21089 sed 's/^/| /' conftest.$ac_ext >&5
21090
21091 ac_lo=`expr '(' $ac_mid ')' + 1`
21092 fi
21093
21094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21095 done
21096 case $ac_lo in
21097 ?*) ac_cv_sizeof_long=$ac_lo;;
21098 '') if test "$ac_cv_type_long" = yes; then
21099 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21100 See \`config.log' for more details." >&5
21101 echo "$as_me: error: cannot compute sizeof (long)
21102 See \`config.log' for more details." >&2;}
21103 { (exit 77); exit 77; }; }
21104 else
21105 ac_cv_sizeof_long=0
21106 fi ;;
21107 esac
21108 else
21109 cat >conftest.$ac_ext <<_ACEOF
21110 /* confdefs.h. */
21111 _ACEOF
21112 cat confdefs.h >>conftest.$ac_ext
21113 cat >>conftest.$ac_ext <<_ACEOF
21114 /* end confdefs.h. */
21115 $ac_includes_default
21116 typedef long ac__type_sizeof_;
21117 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21118 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21119 #include <stdio.h>
21120 #include <stdlib.h>
21121 int
21122 main ()
21123 {
21124
21125 FILE *f = fopen ("conftest.val", "w");
21126 if (! f)
21127 return 1;
21128 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21129 {
21130 long int i = longval ();
21131 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21132 return 1;
21133 fprintf (f, "%ld\n", i);
21134 }
21135 else
21136 {
21137 unsigned long int i = ulongval ();
21138 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21139 return 1;
21140 fprintf (f, "%lu\n", i);
21141 }
21142 return ferror (f) || fclose (f) != 0;
21143
21144 ;
21145 return 0;
21146 }
21147 _ACEOF
21148 rm -f conftest$ac_exeext
21149 if { (ac_try="$ac_link"
21150 case "(($ac_try" in
21151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21152 *) ac_try_echo=$ac_try;;
21153 esac
21154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21155 (eval "$ac_link") 2>&5
21156 ac_status=$?
21157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21158 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21159 { (case "(($ac_try" in
21160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21161 *) ac_try_echo=$ac_try;;
21162 esac
21163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21164 (eval "$ac_try") 2>&5
21165 ac_status=$?
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); }; }; then
21168 ac_cv_sizeof_long=`cat conftest.val`
21169 else
21170 echo "$as_me: program exited with status $ac_status" >&5
21171 echo "$as_me: failed program was:" >&5
21172 sed 's/^/| /' conftest.$ac_ext >&5
21173
21174 ( exit $ac_status )
21175 if test "$ac_cv_type_long" = yes; then
21176 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21177 See \`config.log' for more details." >&5
21178 echo "$as_me: error: cannot compute sizeof (long)
21179 See \`config.log' for more details." >&2;}
21180 { (exit 77); exit 77; }; }
21181 else
21182 ac_cv_sizeof_long=0
21183 fi
21184 fi
21185 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21186 fi
21187 rm -f conftest.val
21188 fi
21189 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21190 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21191
21192
21193
21194 cat >>confdefs.h <<_ACEOF
21195 #define SIZEOF_LONG $ac_cv_sizeof_long
21196 _ACEOF
21197
21198
21199 { echo "$as_me:$LINENO: checking for size_t" >&5
21200 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21201 if test "${ac_cv_type_size_t+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
21203 else
21204 cat >conftest.$ac_ext <<_ACEOF
21205 /* confdefs.h. */
21206 _ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 $ac_includes_default
21211 typedef size_t ac__type_new_;
21212 int
21213 main ()
21214 {
21215 if ((ac__type_new_ *) 0)
21216 return 0;
21217 if (sizeof (ac__type_new_))
21218 return 0;
21219 ;
21220 return 0;
21221 }
21222 _ACEOF
21223 rm -f conftest.$ac_objext
21224 if { (ac_try="$ac_compile"
21225 case "(($ac_try" in
21226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21227 *) ac_try_echo=$ac_try;;
21228 esac
21229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21230 (eval "$ac_compile") 2>conftest.er1
21231 ac_status=$?
21232 grep -v '^ *+' conftest.er1 >conftest.err
21233 rm -f conftest.er1
21234 cat conftest.err >&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } && {
21237 test -z "$ac_c_werror_flag" ||
21238 test ! -s conftest.err
21239 } && test -s conftest.$ac_objext; then
21240 ac_cv_type_size_t=yes
21241 else
21242 echo "$as_me: failed program was:" >&5
21243 sed 's/^/| /' conftest.$ac_ext >&5
21244
21245 ac_cv_type_size_t=no
21246 fi
21247
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21249 fi
21250 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21251 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21252
21253 # The cast to long int works around a bug in the HP C Compiler
21254 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21255 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21256 # This bug is HP SR number 8606223364.
21257 { echo "$as_me:$LINENO: checking size of size_t" >&5
21258 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21259 if test "${ac_cv_sizeof_size_t+set}" = set; then
21260 echo $ECHO_N "(cached) $ECHO_C" >&6
21261 else
21262 if test "$cross_compiling" = yes; then
21263 # Depending upon the size, compute the lo and hi bounds.
21264 cat >conftest.$ac_ext <<_ACEOF
21265 /* confdefs.h. */
21266 _ACEOF
21267 cat confdefs.h >>conftest.$ac_ext
21268 cat >>conftest.$ac_ext <<_ACEOF
21269 /* end confdefs.h. */
21270 $ac_includes_default
21271 typedef size_t ac__type_sizeof_;
21272 int
21273 main ()
21274 {
21275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21276 test_array [0] = 0
21277
21278 ;
21279 return 0;
21280 }
21281 _ACEOF
21282 rm -f conftest.$ac_objext
21283 if { (ac_try="$ac_compile"
21284 case "(($ac_try" in
21285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21286 *) ac_try_echo=$ac_try;;
21287 esac
21288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21289 (eval "$ac_compile") 2>conftest.er1
21290 ac_status=$?
21291 grep -v '^ *+' conftest.er1 >conftest.err
21292 rm -f conftest.er1
21293 cat conftest.err >&5
21294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21295 (exit $ac_status); } && {
21296 test -z "$ac_c_werror_flag" ||
21297 test ! -s conftest.err
21298 } && test -s conftest.$ac_objext; then
21299 ac_lo=0 ac_mid=0
21300 while :; do
21301 cat >conftest.$ac_ext <<_ACEOF
21302 /* confdefs.h. */
21303 _ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 $ac_includes_default
21308 typedef size_t ac__type_sizeof_;
21309 int
21310 main ()
21311 {
21312 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21313 test_array [0] = 0
21314
21315 ;
21316 return 0;
21317 }
21318 _ACEOF
21319 rm -f conftest.$ac_objext
21320 if { (ac_try="$ac_compile"
21321 case "(($ac_try" in
21322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21323 *) ac_try_echo=$ac_try;;
21324 esac
21325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21326 (eval "$ac_compile") 2>conftest.er1
21327 ac_status=$?
21328 grep -v '^ *+' conftest.er1 >conftest.err
21329 rm -f conftest.er1
21330 cat conftest.err >&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } && {
21333 test -z "$ac_c_werror_flag" ||
21334 test ! -s conftest.err
21335 } && test -s conftest.$ac_objext; then
21336 ac_hi=$ac_mid; break
21337 else
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.$ac_ext >&5
21340
21341 ac_lo=`expr $ac_mid + 1`
21342 if test $ac_lo -le $ac_mid; then
21343 ac_lo= ac_hi=
21344 break
21345 fi
21346 ac_mid=`expr 2 '*' $ac_mid + 1`
21347 fi
21348
21349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21350 done
21351 else
21352 echo "$as_me: failed program was:" >&5
21353 sed 's/^/| /' conftest.$ac_ext >&5
21354
21355 cat >conftest.$ac_ext <<_ACEOF
21356 /* confdefs.h. */
21357 _ACEOF
21358 cat confdefs.h >>conftest.$ac_ext
21359 cat >>conftest.$ac_ext <<_ACEOF
21360 /* end confdefs.h. */
21361 $ac_includes_default
21362 typedef size_t ac__type_sizeof_;
21363 int
21364 main ()
21365 {
21366 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21367 test_array [0] = 0
21368
21369 ;
21370 return 0;
21371 }
21372 _ACEOF
21373 rm -f conftest.$ac_objext
21374 if { (ac_try="$ac_compile"
21375 case "(($ac_try" in
21376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21377 *) ac_try_echo=$ac_try;;
21378 esac
21379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21380 (eval "$ac_compile") 2>conftest.er1
21381 ac_status=$?
21382 grep -v '^ *+' conftest.er1 >conftest.err
21383 rm -f conftest.er1
21384 cat conftest.err >&5
21385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21386 (exit $ac_status); } && {
21387 test -z "$ac_c_werror_flag" ||
21388 test ! -s conftest.err
21389 } && test -s conftest.$ac_objext; then
21390 ac_hi=-1 ac_mid=-1
21391 while :; do
21392 cat >conftest.$ac_ext <<_ACEOF
21393 /* confdefs.h. */
21394 _ACEOF
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 $ac_includes_default
21399 typedef size_t ac__type_sizeof_;
21400 int
21401 main ()
21402 {
21403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21404 test_array [0] = 0
21405
21406 ;
21407 return 0;
21408 }
21409 _ACEOF
21410 rm -f conftest.$ac_objext
21411 if { (ac_try="$ac_compile"
21412 case "(($ac_try" in
21413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21414 *) ac_try_echo=$ac_try;;
21415 esac
21416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21417 (eval "$ac_compile") 2>conftest.er1
21418 ac_status=$?
21419 grep -v '^ *+' conftest.er1 >conftest.err
21420 rm -f conftest.er1
21421 cat conftest.err >&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); } && {
21424 test -z "$ac_c_werror_flag" ||
21425 test ! -s conftest.err
21426 } && test -s conftest.$ac_objext; then
21427 ac_lo=$ac_mid; break
21428 else
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.$ac_ext >&5
21431
21432 ac_hi=`expr '(' $ac_mid ')' - 1`
21433 if test $ac_mid -le $ac_hi; then
21434 ac_lo= ac_hi=
21435 break
21436 fi
21437 ac_mid=`expr 2 '*' $ac_mid`
21438 fi
21439
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 done
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21445
21446 ac_lo= ac_hi=
21447 fi
21448
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 fi
21451
21452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21453 # Binary search between lo and hi bounds.
21454 while test "x$ac_lo" != "x$ac_hi"; do
21455 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21456 cat >conftest.$ac_ext <<_ACEOF
21457 /* confdefs.h. */
21458 _ACEOF
21459 cat confdefs.h >>conftest.$ac_ext
21460 cat >>conftest.$ac_ext <<_ACEOF
21461 /* end confdefs.h. */
21462 $ac_includes_default
21463 typedef size_t ac__type_sizeof_;
21464 int
21465 main ()
21466 {
21467 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21468 test_array [0] = 0
21469
21470 ;
21471 return 0;
21472 }
21473 _ACEOF
21474 rm -f conftest.$ac_objext
21475 if { (ac_try="$ac_compile"
21476 case "(($ac_try" in
21477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21478 *) ac_try_echo=$ac_try;;
21479 esac
21480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21481 (eval "$ac_compile") 2>conftest.er1
21482 ac_status=$?
21483 grep -v '^ *+' conftest.er1 >conftest.err
21484 rm -f conftest.er1
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } && {
21488 test -z "$ac_c_werror_flag" ||
21489 test ! -s conftest.err
21490 } && test -s conftest.$ac_objext; then
21491 ac_hi=$ac_mid
21492 else
21493 echo "$as_me: failed program was:" >&5
21494 sed 's/^/| /' conftest.$ac_ext >&5
21495
21496 ac_lo=`expr '(' $ac_mid ')' + 1`
21497 fi
21498
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 done
21501 case $ac_lo in
21502 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21503 '') if test "$ac_cv_type_size_t" = yes; then
21504 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21505 See \`config.log' for more details." >&5
21506 echo "$as_me: error: cannot compute sizeof (size_t)
21507 See \`config.log' for more details." >&2;}
21508 { (exit 77); exit 77; }; }
21509 else
21510 ac_cv_sizeof_size_t=0
21511 fi ;;
21512 esac
21513 else
21514 cat >conftest.$ac_ext <<_ACEOF
21515 /* confdefs.h. */
21516 _ACEOF
21517 cat confdefs.h >>conftest.$ac_ext
21518 cat >>conftest.$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21520 $ac_includes_default
21521 typedef size_t ac__type_sizeof_;
21522 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21523 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21524 #include <stdio.h>
21525 #include <stdlib.h>
21526 int
21527 main ()
21528 {
21529
21530 FILE *f = fopen ("conftest.val", "w");
21531 if (! f)
21532 return 1;
21533 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21534 {
21535 long int i = longval ();
21536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21537 return 1;
21538 fprintf (f, "%ld\n", i);
21539 }
21540 else
21541 {
21542 unsigned long int i = ulongval ();
21543 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21544 return 1;
21545 fprintf (f, "%lu\n", i);
21546 }
21547 return ferror (f) || fclose (f) != 0;
21548
21549 ;
21550 return 0;
21551 }
21552 _ACEOF
21553 rm -f conftest$ac_exeext
21554 if { (ac_try="$ac_link"
21555 case "(($ac_try" in
21556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21557 *) ac_try_echo=$ac_try;;
21558 esac
21559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21560 (eval "$ac_link") 2>&5
21561 ac_status=$?
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21564 { (case "(($ac_try" in
21565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21566 *) ac_try_echo=$ac_try;;
21567 esac
21568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21569 (eval "$ac_try") 2>&5
21570 ac_status=$?
21571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21572 (exit $ac_status); }; }; then
21573 ac_cv_sizeof_size_t=`cat conftest.val`
21574 else
21575 echo "$as_me: program exited with status $ac_status" >&5
21576 echo "$as_me: failed program was:" >&5
21577 sed 's/^/| /' conftest.$ac_ext >&5
21578
21579 ( exit $ac_status )
21580 if test "$ac_cv_type_size_t" = yes; then
21581 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21582 See \`config.log' for more details." >&5
21583 echo "$as_me: error: cannot compute sizeof (size_t)
21584 See \`config.log' for more details." >&2;}
21585 { (exit 77); exit 77; }; }
21586 else
21587 ac_cv_sizeof_size_t=0
21588 fi
21589 fi
21590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21591 fi
21592 rm -f conftest.val
21593 fi
21594 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21595 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21596
21597
21598
21599 cat >>confdefs.h <<_ACEOF
21600 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21601 _ACEOF
21602
21603
21604
21605 case "${host}" in
21606 arm-*-linux* )
21607 { echo "$as_me:$LINENO: checking for long long" >&5
21608 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21609 if test "${ac_cv_type_long_long+set}" = set; then
21610 echo $ECHO_N "(cached) $ECHO_C" >&6
21611 else
21612 cat >conftest.$ac_ext <<_ACEOF
21613 /* confdefs.h. */
21614 _ACEOF
21615 cat confdefs.h >>conftest.$ac_ext
21616 cat >>conftest.$ac_ext <<_ACEOF
21617 /* end confdefs.h. */
21618 $ac_includes_default
21619 typedef long long ac__type_new_;
21620 int
21621 main ()
21622 {
21623 if ((ac__type_new_ *) 0)
21624 return 0;
21625 if (sizeof (ac__type_new_))
21626 return 0;
21627 ;
21628 return 0;
21629 }
21630 _ACEOF
21631 rm -f conftest.$ac_objext
21632 if { (ac_try="$ac_compile"
21633 case "(($ac_try" in
21634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21635 *) ac_try_echo=$ac_try;;
21636 esac
21637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21638 (eval "$ac_compile") 2>conftest.er1
21639 ac_status=$?
21640 grep -v '^ *+' conftest.er1 >conftest.err
21641 rm -f conftest.er1
21642 cat conftest.err >&5
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); } && {
21645 test -z "$ac_c_werror_flag" ||
21646 test ! -s conftest.err
21647 } && test -s conftest.$ac_objext; then
21648 ac_cv_type_long_long=yes
21649 else
21650 echo "$as_me: failed program was:" >&5
21651 sed 's/^/| /' conftest.$ac_ext >&5
21652
21653 ac_cv_type_long_long=no
21654 fi
21655
21656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21657 fi
21658 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21659 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21660
21661 # The cast to long int works around a bug in the HP C Compiler
21662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21664 # This bug is HP SR number 8606223364.
21665 { echo "$as_me:$LINENO: checking size of long long" >&5
21666 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21667 if test "${ac_cv_sizeof_long_long+set}" = set; then
21668 echo $ECHO_N "(cached) $ECHO_C" >&6
21669 else
21670 if test "$cross_compiling" = yes; then
21671 # Depending upon the size, compute the lo and hi bounds.
21672 cat >conftest.$ac_ext <<_ACEOF
21673 /* confdefs.h. */
21674 _ACEOF
21675 cat confdefs.h >>conftest.$ac_ext
21676 cat >>conftest.$ac_ext <<_ACEOF
21677 /* end confdefs.h. */
21678 $ac_includes_default
21679 typedef long long ac__type_sizeof_;
21680 int
21681 main ()
21682 {
21683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21684 test_array [0] = 0
21685
21686 ;
21687 return 0;
21688 }
21689 _ACEOF
21690 rm -f conftest.$ac_objext
21691 if { (ac_try="$ac_compile"
21692 case "(($ac_try" in
21693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21694 *) ac_try_echo=$ac_try;;
21695 esac
21696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21697 (eval "$ac_compile") 2>conftest.er1
21698 ac_status=$?
21699 grep -v '^ *+' conftest.er1 >conftest.err
21700 rm -f conftest.er1
21701 cat conftest.err >&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); } && {
21704 test -z "$ac_c_werror_flag" ||
21705 test ! -s conftest.err
21706 } && test -s conftest.$ac_objext; then
21707 ac_lo=0 ac_mid=0
21708 while :; do
21709 cat >conftest.$ac_ext <<_ACEOF
21710 /* confdefs.h. */
21711 _ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 $ac_includes_default
21716 typedef long long ac__type_sizeof_;
21717 int
21718 main ()
21719 {
21720 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21721 test_array [0] = 0
21722
21723 ;
21724 return 0;
21725 }
21726 _ACEOF
21727 rm -f conftest.$ac_objext
21728 if { (ac_try="$ac_compile"
21729 case "(($ac_try" in
21730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21731 *) ac_try_echo=$ac_try;;
21732 esac
21733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21734 (eval "$ac_compile") 2>conftest.er1
21735 ac_status=$?
21736 grep -v '^ *+' conftest.er1 >conftest.err
21737 rm -f conftest.er1
21738 cat conftest.err >&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } && {
21741 test -z "$ac_c_werror_flag" ||
21742 test ! -s conftest.err
21743 } && test -s conftest.$ac_objext; then
21744 ac_hi=$ac_mid; break
21745 else
21746 echo "$as_me: failed program was:" >&5
21747 sed 's/^/| /' conftest.$ac_ext >&5
21748
21749 ac_lo=`expr $ac_mid + 1`
21750 if test $ac_lo -le $ac_mid; then
21751 ac_lo= ac_hi=
21752 break
21753 fi
21754 ac_mid=`expr 2 '*' $ac_mid + 1`
21755 fi
21756
21757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21758 done
21759 else
21760 echo "$as_me: failed program was:" >&5
21761 sed 's/^/| /' conftest.$ac_ext >&5
21762
21763 cat >conftest.$ac_ext <<_ACEOF
21764 /* confdefs.h. */
21765 _ACEOF
21766 cat confdefs.h >>conftest.$ac_ext
21767 cat >>conftest.$ac_ext <<_ACEOF
21768 /* end confdefs.h. */
21769 $ac_includes_default
21770 typedef long long ac__type_sizeof_;
21771 int
21772 main ()
21773 {
21774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21775 test_array [0] = 0
21776
21777 ;
21778 return 0;
21779 }
21780 _ACEOF
21781 rm -f conftest.$ac_objext
21782 if { (ac_try="$ac_compile"
21783 case "(($ac_try" in
21784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21785 *) ac_try_echo=$ac_try;;
21786 esac
21787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21788 (eval "$ac_compile") 2>conftest.er1
21789 ac_status=$?
21790 grep -v '^ *+' conftest.er1 >conftest.err
21791 rm -f conftest.er1
21792 cat conftest.err >&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); } && {
21795 test -z "$ac_c_werror_flag" ||
21796 test ! -s conftest.err
21797 } && test -s conftest.$ac_objext; then
21798 ac_hi=-1 ac_mid=-1
21799 while :; do
21800 cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h. */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 $ac_includes_default
21807 typedef long long ac__type_sizeof_;
21808 int
21809 main ()
21810 {
21811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21812 test_array [0] = 0
21813
21814 ;
21815 return 0;
21816 }
21817 _ACEOF
21818 rm -f conftest.$ac_objext
21819 if { (ac_try="$ac_compile"
21820 case "(($ac_try" in
21821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21822 *) ac_try_echo=$ac_try;;
21823 esac
21824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21825 (eval "$ac_compile") 2>conftest.er1
21826 ac_status=$?
21827 grep -v '^ *+' conftest.er1 >conftest.err
21828 rm -f conftest.er1
21829 cat conftest.err >&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } && {
21832 test -z "$ac_c_werror_flag" ||
21833 test ! -s conftest.err
21834 } && test -s conftest.$ac_objext; then
21835 ac_lo=$ac_mid; break
21836 else
21837 echo "$as_me: failed program was:" >&5
21838 sed 's/^/| /' conftest.$ac_ext >&5
21839
21840 ac_hi=`expr '(' $ac_mid ')' - 1`
21841 if test $ac_mid -le $ac_hi; then
21842 ac_lo= ac_hi=
21843 break
21844 fi
21845 ac_mid=`expr 2 '*' $ac_mid`
21846 fi
21847
21848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21849 done
21850 else
21851 echo "$as_me: failed program was:" >&5
21852 sed 's/^/| /' conftest.$ac_ext >&5
21853
21854 ac_lo= ac_hi=
21855 fi
21856
21857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21858 fi
21859
21860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21861 # Binary search between lo and hi bounds.
21862 while test "x$ac_lo" != "x$ac_hi"; do
21863 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21864 cat >conftest.$ac_ext <<_ACEOF
21865 /* confdefs.h. */
21866 _ACEOF
21867 cat confdefs.h >>conftest.$ac_ext
21868 cat >>conftest.$ac_ext <<_ACEOF
21869 /* end confdefs.h. */
21870 $ac_includes_default
21871 typedef long long ac__type_sizeof_;
21872 int
21873 main ()
21874 {
21875 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21876 test_array [0] = 0
21877
21878 ;
21879 return 0;
21880 }
21881 _ACEOF
21882 rm -f conftest.$ac_objext
21883 if { (ac_try="$ac_compile"
21884 case "(($ac_try" in
21885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21886 *) ac_try_echo=$ac_try;;
21887 esac
21888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21889 (eval "$ac_compile") 2>conftest.er1
21890 ac_status=$?
21891 grep -v '^ *+' conftest.er1 >conftest.err
21892 rm -f conftest.er1
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } && {
21896 test -z "$ac_c_werror_flag" ||
21897 test ! -s conftest.err
21898 } && test -s conftest.$ac_objext; then
21899 ac_hi=$ac_mid
21900 else
21901 echo "$as_me: failed program was:" >&5
21902 sed 's/^/| /' conftest.$ac_ext >&5
21903
21904 ac_lo=`expr '(' $ac_mid ')' + 1`
21905 fi
21906
21907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21908 done
21909 case $ac_lo in
21910 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21911 '') if test "$ac_cv_type_long_long" = yes; then
21912 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21913 See \`config.log' for more details." >&5
21914 echo "$as_me: error: cannot compute sizeof (long long)
21915 See \`config.log' for more details." >&2;}
21916 { (exit 77); exit 77; }; }
21917 else
21918 ac_cv_sizeof_long_long=0
21919 fi ;;
21920 esac
21921 else
21922 cat >conftest.$ac_ext <<_ACEOF
21923 /* confdefs.h. */
21924 _ACEOF
21925 cat confdefs.h >>conftest.$ac_ext
21926 cat >>conftest.$ac_ext <<_ACEOF
21927 /* end confdefs.h. */
21928 $ac_includes_default
21929 typedef long long ac__type_sizeof_;
21930 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21931 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21932 #include <stdio.h>
21933 #include <stdlib.h>
21934 int
21935 main ()
21936 {
21937
21938 FILE *f = fopen ("conftest.val", "w");
21939 if (! f)
21940 return 1;
21941 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21942 {
21943 long int i = longval ();
21944 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21945 return 1;
21946 fprintf (f, "%ld\n", i);
21947 }
21948 else
21949 {
21950 unsigned long int i = ulongval ();
21951 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21952 return 1;
21953 fprintf (f, "%lu\n", i);
21954 }
21955 return ferror (f) || fclose (f) != 0;
21956
21957 ;
21958 return 0;
21959 }
21960 _ACEOF
21961 rm -f conftest$ac_exeext
21962 if { (ac_try="$ac_link"
21963 case "(($ac_try" in
21964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21965 *) ac_try_echo=$ac_try;;
21966 esac
21967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21968 (eval "$ac_link") 2>&5
21969 ac_status=$?
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21972 { (case "(($ac_try" in
21973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21974 *) ac_try_echo=$ac_try;;
21975 esac
21976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21977 (eval "$ac_try") 2>&5
21978 ac_status=$?
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); }; }; then
21981 ac_cv_sizeof_long_long=`cat conftest.val`
21982 else
21983 echo "$as_me: program exited with status $ac_status" >&5
21984 echo "$as_me: failed program was:" >&5
21985 sed 's/^/| /' conftest.$ac_ext >&5
21986
21987 ( exit $ac_status )
21988 if test "$ac_cv_type_long_long" = yes; then
21989 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21990 See \`config.log' for more details." >&5
21991 echo "$as_me: error: cannot compute sizeof (long long)
21992 See \`config.log' for more details." >&2;}
21993 { (exit 77); exit 77; }; }
21994 else
21995 ac_cv_sizeof_long_long=0
21996 fi
21997 fi
21998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21999 fi
22000 rm -f conftest.val
22001 fi
22002 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22003 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22004
22005
22006
22007 cat >>confdefs.h <<_ACEOF
22008 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22009 _ACEOF
22010
22011
22012 ;;
22013 *-hp-hpux* )
22014 { echo "$as_me:$LINENO: checking for long long" >&5
22015 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22016 if test "${ac_cv_type_long_long+set}" = set; then
22017 echo $ECHO_N "(cached) $ECHO_C" >&6
22018 else
22019 cat >conftest.$ac_ext <<_ACEOF
22020 /* confdefs.h. */
22021 _ACEOF
22022 cat confdefs.h >>conftest.$ac_ext
22023 cat >>conftest.$ac_ext <<_ACEOF
22024 /* end confdefs.h. */
22025 $ac_includes_default
22026 typedef long long ac__type_new_;
22027 int
22028 main ()
22029 {
22030 if ((ac__type_new_ *) 0)
22031 return 0;
22032 if (sizeof (ac__type_new_))
22033 return 0;
22034 ;
22035 return 0;
22036 }
22037 _ACEOF
22038 rm -f conftest.$ac_objext
22039 if { (ac_try="$ac_compile"
22040 case "(($ac_try" in
22041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22042 *) ac_try_echo=$ac_try;;
22043 esac
22044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22045 (eval "$ac_compile") 2>conftest.er1
22046 ac_status=$?
22047 grep -v '^ *+' conftest.er1 >conftest.err
22048 rm -f conftest.er1
22049 cat conftest.err >&5
22050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22051 (exit $ac_status); } && {
22052 test -z "$ac_c_werror_flag" ||
22053 test ! -s conftest.err
22054 } && test -s conftest.$ac_objext; then
22055 ac_cv_type_long_long=yes
22056 else
22057 echo "$as_me: failed program was:" >&5
22058 sed 's/^/| /' conftest.$ac_ext >&5
22059
22060 ac_cv_type_long_long=no
22061 fi
22062
22063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22064 fi
22065 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22066 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22067
22068 # The cast to long int works around a bug in the HP C Compiler
22069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22071 # This bug is HP SR number 8606223364.
22072 { echo "$as_me:$LINENO: checking size of long long" >&5
22073 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22074 if test "${ac_cv_sizeof_long_long+set}" = set; then
22075 echo $ECHO_N "(cached) $ECHO_C" >&6
22076 else
22077 if test "$cross_compiling" = yes; then
22078 # Depending upon the size, compute the lo and hi bounds.
22079 cat >conftest.$ac_ext <<_ACEOF
22080 /* confdefs.h. */
22081 _ACEOF
22082 cat confdefs.h >>conftest.$ac_ext
22083 cat >>conftest.$ac_ext <<_ACEOF
22084 /* end confdefs.h. */
22085 $ac_includes_default
22086 typedef long long ac__type_sizeof_;
22087 int
22088 main ()
22089 {
22090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22091 test_array [0] = 0
22092
22093 ;
22094 return 0;
22095 }
22096 _ACEOF
22097 rm -f conftest.$ac_objext
22098 if { (ac_try="$ac_compile"
22099 case "(($ac_try" in
22100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22101 *) ac_try_echo=$ac_try;;
22102 esac
22103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22104 (eval "$ac_compile") 2>conftest.er1
22105 ac_status=$?
22106 grep -v '^ *+' conftest.er1 >conftest.err
22107 rm -f conftest.er1
22108 cat conftest.err >&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); } && {
22111 test -z "$ac_c_werror_flag" ||
22112 test ! -s conftest.err
22113 } && test -s conftest.$ac_objext; then
22114 ac_lo=0 ac_mid=0
22115 while :; do
22116 cat >conftest.$ac_ext <<_ACEOF
22117 /* confdefs.h. */
22118 _ACEOF
22119 cat confdefs.h >>conftest.$ac_ext
22120 cat >>conftest.$ac_ext <<_ACEOF
22121 /* end confdefs.h. */
22122 $ac_includes_default
22123 typedef long long ac__type_sizeof_;
22124 int
22125 main ()
22126 {
22127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22128 test_array [0] = 0
22129
22130 ;
22131 return 0;
22132 }
22133 _ACEOF
22134 rm -f conftest.$ac_objext
22135 if { (ac_try="$ac_compile"
22136 case "(($ac_try" in
22137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22138 *) ac_try_echo=$ac_try;;
22139 esac
22140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22141 (eval "$ac_compile") 2>conftest.er1
22142 ac_status=$?
22143 grep -v '^ *+' conftest.er1 >conftest.err
22144 rm -f conftest.er1
22145 cat conftest.err >&5
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); } && {
22148 test -z "$ac_c_werror_flag" ||
22149 test ! -s conftest.err
22150 } && test -s conftest.$ac_objext; then
22151 ac_hi=$ac_mid; break
22152 else
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22155
22156 ac_lo=`expr $ac_mid + 1`
22157 if test $ac_lo -le $ac_mid; then
22158 ac_lo= ac_hi=
22159 break
22160 fi
22161 ac_mid=`expr 2 '*' $ac_mid + 1`
22162 fi
22163
22164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22165 done
22166 else
22167 echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.$ac_ext >&5
22169
22170 cat >conftest.$ac_ext <<_ACEOF
22171 /* confdefs.h. */
22172 _ACEOF
22173 cat confdefs.h >>conftest.$ac_ext
22174 cat >>conftest.$ac_ext <<_ACEOF
22175 /* end confdefs.h. */
22176 $ac_includes_default
22177 typedef long long ac__type_sizeof_;
22178 int
22179 main ()
22180 {
22181 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22182 test_array [0] = 0
22183
22184 ;
22185 return 0;
22186 }
22187 _ACEOF
22188 rm -f conftest.$ac_objext
22189 if { (ac_try="$ac_compile"
22190 case "(($ac_try" in
22191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22192 *) ac_try_echo=$ac_try;;
22193 esac
22194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22195 (eval "$ac_compile") 2>conftest.er1
22196 ac_status=$?
22197 grep -v '^ *+' conftest.er1 >conftest.err
22198 rm -f conftest.er1
22199 cat conftest.err >&5
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); } && {
22202 test -z "$ac_c_werror_flag" ||
22203 test ! -s conftest.err
22204 } && test -s conftest.$ac_objext; then
22205 ac_hi=-1 ac_mid=-1
22206 while :; do
22207 cat >conftest.$ac_ext <<_ACEOF
22208 /* confdefs.h. */
22209 _ACEOF
22210 cat confdefs.h >>conftest.$ac_ext
22211 cat >>conftest.$ac_ext <<_ACEOF
22212 /* end confdefs.h. */
22213 $ac_includes_default
22214 typedef long long ac__type_sizeof_;
22215 int
22216 main ()
22217 {
22218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22219 test_array [0] = 0
22220
22221 ;
22222 return 0;
22223 }
22224 _ACEOF
22225 rm -f conftest.$ac_objext
22226 if { (ac_try="$ac_compile"
22227 case "(($ac_try" in
22228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22229 *) ac_try_echo=$ac_try;;
22230 esac
22231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22232 (eval "$ac_compile") 2>conftest.er1
22233 ac_status=$?
22234 grep -v '^ *+' conftest.er1 >conftest.err
22235 rm -f conftest.er1
22236 cat conftest.err >&5
22237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22238 (exit $ac_status); } && {
22239 test -z "$ac_c_werror_flag" ||
22240 test ! -s conftest.err
22241 } && test -s conftest.$ac_objext; then
22242 ac_lo=$ac_mid; break
22243 else
22244 echo "$as_me: failed program was:" >&5
22245 sed 's/^/| /' conftest.$ac_ext >&5
22246
22247 ac_hi=`expr '(' $ac_mid ')' - 1`
22248 if test $ac_mid -le $ac_hi; then
22249 ac_lo= ac_hi=
22250 break
22251 fi
22252 ac_mid=`expr 2 '*' $ac_mid`
22253 fi
22254
22255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22256 done
22257 else
22258 echo "$as_me: failed program was:" >&5
22259 sed 's/^/| /' conftest.$ac_ext >&5
22260
22261 ac_lo= ac_hi=
22262 fi
22263
22264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22265 fi
22266
22267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22268 # Binary search between lo and hi bounds.
22269 while test "x$ac_lo" != "x$ac_hi"; do
22270 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22271 cat >conftest.$ac_ext <<_ACEOF
22272 /* confdefs.h. */
22273 _ACEOF
22274 cat confdefs.h >>conftest.$ac_ext
22275 cat >>conftest.$ac_ext <<_ACEOF
22276 /* end confdefs.h. */
22277 $ac_includes_default
22278 typedef long long ac__type_sizeof_;
22279 int
22280 main ()
22281 {
22282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22283 test_array [0] = 0
22284
22285 ;
22286 return 0;
22287 }
22288 _ACEOF
22289 rm -f conftest.$ac_objext
22290 if { (ac_try="$ac_compile"
22291 case "(($ac_try" in
22292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22293 *) ac_try_echo=$ac_try;;
22294 esac
22295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22296 (eval "$ac_compile") 2>conftest.er1
22297 ac_status=$?
22298 grep -v '^ *+' conftest.er1 >conftest.err
22299 rm -f conftest.er1
22300 cat conftest.err >&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); } && {
22303 test -z "$ac_c_werror_flag" ||
22304 test ! -s conftest.err
22305 } && test -s conftest.$ac_objext; then
22306 ac_hi=$ac_mid
22307 else
22308 echo "$as_me: failed program was:" >&5
22309 sed 's/^/| /' conftest.$ac_ext >&5
22310
22311 ac_lo=`expr '(' $ac_mid ')' + 1`
22312 fi
22313
22314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22315 done
22316 case $ac_lo in
22317 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22318 '') if test "$ac_cv_type_long_long" = yes; then
22319 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22320 See \`config.log' for more details." >&5
22321 echo "$as_me: error: cannot compute sizeof (long long)
22322 See \`config.log' for more details." >&2;}
22323 { (exit 77); exit 77; }; }
22324 else
22325 ac_cv_sizeof_long_long=0
22326 fi ;;
22327 esac
22328 else
22329 cat >conftest.$ac_ext <<_ACEOF
22330 /* confdefs.h. */
22331 _ACEOF
22332 cat confdefs.h >>conftest.$ac_ext
22333 cat >>conftest.$ac_ext <<_ACEOF
22334 /* end confdefs.h. */
22335 $ac_includes_default
22336 typedef long long ac__type_sizeof_;
22337 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22338 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22339 #include <stdio.h>
22340 #include <stdlib.h>
22341 int
22342 main ()
22343 {
22344
22345 FILE *f = fopen ("conftest.val", "w");
22346 if (! f)
22347 return 1;
22348 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22349 {
22350 long int i = longval ();
22351 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22352 return 1;
22353 fprintf (f, "%ld\n", i);
22354 }
22355 else
22356 {
22357 unsigned long int i = ulongval ();
22358 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22359 return 1;
22360 fprintf (f, "%lu\n", i);
22361 }
22362 return ferror (f) || fclose (f) != 0;
22363
22364 ;
22365 return 0;
22366 }
22367 _ACEOF
22368 rm -f conftest$ac_exeext
22369 if { (ac_try="$ac_link"
22370 case "(($ac_try" in
22371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22372 *) ac_try_echo=$ac_try;;
22373 esac
22374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22375 (eval "$ac_link") 2>&5
22376 ac_status=$?
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22379 { (case "(($ac_try" in
22380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22381 *) ac_try_echo=$ac_try;;
22382 esac
22383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22384 (eval "$ac_try") 2>&5
22385 ac_status=$?
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; }; then
22388 ac_cv_sizeof_long_long=`cat conftest.val`
22389 else
22390 echo "$as_me: program exited with status $ac_status" >&5
22391 echo "$as_me: failed program was:" >&5
22392 sed 's/^/| /' conftest.$ac_ext >&5
22393
22394 ( exit $ac_status )
22395 if test "$ac_cv_type_long_long" = yes; then
22396 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22397 See \`config.log' for more details." >&5
22398 echo "$as_me: error: cannot compute sizeof (long long)
22399 See \`config.log' for more details." >&2;}
22400 { (exit 77); exit 77; }; }
22401 else
22402 ac_cv_sizeof_long_long=0
22403 fi
22404 fi
22405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22406 fi
22407 rm -f conftest.val
22408 fi
22409 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22410 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22411
22412
22413
22414 cat >>confdefs.h <<_ACEOF
22415 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22416 _ACEOF
22417
22418
22419 if test "$ac_cv_sizeof_long_long" != 0; then
22420 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22421 fi
22422 ;;
22423 * )
22424 { echo "$as_me:$LINENO: checking for long long" >&5
22425 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22426 if test "${ac_cv_type_long_long+set}" = set; then
22427 echo $ECHO_N "(cached) $ECHO_C" >&6
22428 else
22429 cat >conftest.$ac_ext <<_ACEOF
22430 /* confdefs.h. */
22431 _ACEOF
22432 cat confdefs.h >>conftest.$ac_ext
22433 cat >>conftest.$ac_ext <<_ACEOF
22434 /* end confdefs.h. */
22435 $ac_includes_default
22436 typedef long long ac__type_new_;
22437 int
22438 main ()
22439 {
22440 if ((ac__type_new_ *) 0)
22441 return 0;
22442 if (sizeof (ac__type_new_))
22443 return 0;
22444 ;
22445 return 0;
22446 }
22447 _ACEOF
22448 rm -f conftest.$ac_objext
22449 if { (ac_try="$ac_compile"
22450 case "(($ac_try" in
22451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22452 *) ac_try_echo=$ac_try;;
22453 esac
22454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22455 (eval "$ac_compile") 2>conftest.er1
22456 ac_status=$?
22457 grep -v '^ *+' conftest.er1 >conftest.err
22458 rm -f conftest.er1
22459 cat conftest.err >&5
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); } && {
22462 test -z "$ac_c_werror_flag" ||
22463 test ! -s conftest.err
22464 } && test -s conftest.$ac_objext; then
22465 ac_cv_type_long_long=yes
22466 else
22467 echo "$as_me: failed program was:" >&5
22468 sed 's/^/| /' conftest.$ac_ext >&5
22469
22470 ac_cv_type_long_long=no
22471 fi
22472
22473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22474 fi
22475 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22476 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22477
22478 # The cast to long int works around a bug in the HP C Compiler
22479 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22480 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22481 # This bug is HP SR number 8606223364.
22482 { echo "$as_me:$LINENO: checking size of long long" >&5
22483 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22484 if test "${ac_cv_sizeof_long_long+set}" = set; then
22485 echo $ECHO_N "(cached) $ECHO_C" >&6
22486 else
22487 if test "$cross_compiling" = yes; then
22488 # Depending upon the size, compute the lo and hi bounds.
22489 cat >conftest.$ac_ext <<_ACEOF
22490 /* confdefs.h. */
22491 _ACEOF
22492 cat confdefs.h >>conftest.$ac_ext
22493 cat >>conftest.$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22495 $ac_includes_default
22496 typedef long long ac__type_sizeof_;
22497 int
22498 main ()
22499 {
22500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22501 test_array [0] = 0
22502
22503 ;
22504 return 0;
22505 }
22506 _ACEOF
22507 rm -f conftest.$ac_objext
22508 if { (ac_try="$ac_compile"
22509 case "(($ac_try" in
22510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22511 *) ac_try_echo=$ac_try;;
22512 esac
22513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22514 (eval "$ac_compile") 2>conftest.er1
22515 ac_status=$?
22516 grep -v '^ *+' conftest.er1 >conftest.err
22517 rm -f conftest.er1
22518 cat conftest.err >&5
22519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520 (exit $ac_status); } && {
22521 test -z "$ac_c_werror_flag" ||
22522 test ! -s conftest.err
22523 } && test -s conftest.$ac_objext; then
22524 ac_lo=0 ac_mid=0
22525 while :; do
22526 cat >conftest.$ac_ext <<_ACEOF
22527 /* confdefs.h. */
22528 _ACEOF
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22532 $ac_includes_default
22533 typedef long long ac__type_sizeof_;
22534 int
22535 main ()
22536 {
22537 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22538 test_array [0] = 0
22539
22540 ;
22541 return 0;
22542 }
22543 _ACEOF
22544 rm -f conftest.$ac_objext
22545 if { (ac_try="$ac_compile"
22546 case "(($ac_try" in
22547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22548 *) ac_try_echo=$ac_try;;
22549 esac
22550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22551 (eval "$ac_compile") 2>conftest.er1
22552 ac_status=$?
22553 grep -v '^ *+' conftest.er1 >conftest.err
22554 rm -f conftest.er1
22555 cat conftest.err >&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } && {
22558 test -z "$ac_c_werror_flag" ||
22559 test ! -s conftest.err
22560 } && test -s conftest.$ac_objext; then
22561 ac_hi=$ac_mid; break
22562 else
22563 echo "$as_me: failed program was:" >&5
22564 sed 's/^/| /' conftest.$ac_ext >&5
22565
22566 ac_lo=`expr $ac_mid + 1`
22567 if test $ac_lo -le $ac_mid; then
22568 ac_lo= ac_hi=
22569 break
22570 fi
22571 ac_mid=`expr 2 '*' $ac_mid + 1`
22572 fi
22573
22574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22575 done
22576 else
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.$ac_ext >&5
22579
22580 cat >conftest.$ac_ext <<_ACEOF
22581 /* confdefs.h. */
22582 _ACEOF
22583 cat confdefs.h >>conftest.$ac_ext
22584 cat >>conftest.$ac_ext <<_ACEOF
22585 /* end confdefs.h. */
22586 $ac_includes_default
22587 typedef long long ac__type_sizeof_;
22588 int
22589 main ()
22590 {
22591 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22592 test_array [0] = 0
22593
22594 ;
22595 return 0;
22596 }
22597 _ACEOF
22598 rm -f conftest.$ac_objext
22599 if { (ac_try="$ac_compile"
22600 case "(($ac_try" in
22601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22602 *) ac_try_echo=$ac_try;;
22603 esac
22604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22605 (eval "$ac_compile") 2>conftest.er1
22606 ac_status=$?
22607 grep -v '^ *+' conftest.er1 >conftest.err
22608 rm -f conftest.er1
22609 cat conftest.err >&5
22610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22611 (exit $ac_status); } && {
22612 test -z "$ac_c_werror_flag" ||
22613 test ! -s conftest.err
22614 } && test -s conftest.$ac_objext; then
22615 ac_hi=-1 ac_mid=-1
22616 while :; do
22617 cat >conftest.$ac_ext <<_ACEOF
22618 /* confdefs.h. */
22619 _ACEOF
22620 cat confdefs.h >>conftest.$ac_ext
22621 cat >>conftest.$ac_ext <<_ACEOF
22622 /* end confdefs.h. */
22623 $ac_includes_default
22624 typedef long long ac__type_sizeof_;
22625 int
22626 main ()
22627 {
22628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22629 test_array [0] = 0
22630
22631 ;
22632 return 0;
22633 }
22634 _ACEOF
22635 rm -f conftest.$ac_objext
22636 if { (ac_try="$ac_compile"
22637 case "(($ac_try" in
22638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22639 *) ac_try_echo=$ac_try;;
22640 esac
22641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22642 (eval "$ac_compile") 2>conftest.er1
22643 ac_status=$?
22644 grep -v '^ *+' conftest.er1 >conftest.err
22645 rm -f conftest.er1
22646 cat conftest.err >&5
22647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22648 (exit $ac_status); } && {
22649 test -z "$ac_c_werror_flag" ||
22650 test ! -s conftest.err
22651 } && test -s conftest.$ac_objext; then
22652 ac_lo=$ac_mid; break
22653 else
22654 echo "$as_me: failed program was:" >&5
22655 sed 's/^/| /' conftest.$ac_ext >&5
22656
22657 ac_hi=`expr '(' $ac_mid ')' - 1`
22658 if test $ac_mid -le $ac_hi; then
22659 ac_lo= ac_hi=
22660 break
22661 fi
22662 ac_mid=`expr 2 '*' $ac_mid`
22663 fi
22664
22665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22666 done
22667 else
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.$ac_ext >&5
22670
22671 ac_lo= ac_hi=
22672 fi
22673
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22675 fi
22676
22677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22678 # Binary search between lo and hi bounds.
22679 while test "x$ac_lo" != "x$ac_hi"; do
22680 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22681 cat >conftest.$ac_ext <<_ACEOF
22682 /* confdefs.h. */
22683 _ACEOF
22684 cat confdefs.h >>conftest.$ac_ext
22685 cat >>conftest.$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22687 $ac_includes_default
22688 typedef long long ac__type_sizeof_;
22689 int
22690 main ()
22691 {
22692 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22693 test_array [0] = 0
22694
22695 ;
22696 return 0;
22697 }
22698 _ACEOF
22699 rm -f conftest.$ac_objext
22700 if { (ac_try="$ac_compile"
22701 case "(($ac_try" in
22702 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22703 *) ac_try_echo=$ac_try;;
22704 esac
22705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22706 (eval "$ac_compile") 2>conftest.er1
22707 ac_status=$?
22708 grep -v '^ *+' conftest.er1 >conftest.err
22709 rm -f conftest.er1
22710 cat conftest.err >&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); } && {
22713 test -z "$ac_c_werror_flag" ||
22714 test ! -s conftest.err
22715 } && test -s conftest.$ac_objext; then
22716 ac_hi=$ac_mid
22717 else
22718 echo "$as_me: failed program was:" >&5
22719 sed 's/^/| /' conftest.$ac_ext >&5
22720
22721 ac_lo=`expr '(' $ac_mid ')' + 1`
22722 fi
22723
22724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22725 done
22726 case $ac_lo in
22727 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22728 '') if test "$ac_cv_type_long_long" = yes; then
22729 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22730 See \`config.log' for more details." >&5
22731 echo "$as_me: error: cannot compute sizeof (long long)
22732 See \`config.log' for more details." >&2;}
22733 { (exit 77); exit 77; }; }
22734 else
22735 ac_cv_sizeof_long_long=0
22736 fi ;;
22737 esac
22738 else
22739 cat >conftest.$ac_ext <<_ACEOF
22740 /* confdefs.h. */
22741 _ACEOF
22742 cat confdefs.h >>conftest.$ac_ext
22743 cat >>conftest.$ac_ext <<_ACEOF
22744 /* end confdefs.h. */
22745 $ac_includes_default
22746 typedef long long ac__type_sizeof_;
22747 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22748 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22749 #include <stdio.h>
22750 #include <stdlib.h>
22751 int
22752 main ()
22753 {
22754
22755 FILE *f = fopen ("conftest.val", "w");
22756 if (! f)
22757 return 1;
22758 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22759 {
22760 long int i = longval ();
22761 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22762 return 1;
22763 fprintf (f, "%ld\n", i);
22764 }
22765 else
22766 {
22767 unsigned long int i = ulongval ();
22768 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22769 return 1;
22770 fprintf (f, "%lu\n", i);
22771 }
22772 return ferror (f) || fclose (f) != 0;
22773
22774 ;
22775 return 0;
22776 }
22777 _ACEOF
22778 rm -f conftest$ac_exeext
22779 if { (ac_try="$ac_link"
22780 case "(($ac_try" in
22781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22782 *) ac_try_echo=$ac_try;;
22783 esac
22784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22785 (eval "$ac_link") 2>&5
22786 ac_status=$?
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22789 { (case "(($ac_try" in
22790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22791 *) ac_try_echo=$ac_try;;
22792 esac
22793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22794 (eval "$ac_try") 2>&5
22795 ac_status=$?
22796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22797 (exit $ac_status); }; }; then
22798 ac_cv_sizeof_long_long=`cat conftest.val`
22799 else
22800 echo "$as_me: program exited with status $ac_status" >&5
22801 echo "$as_me: failed program was:" >&5
22802 sed 's/^/| /' conftest.$ac_ext >&5
22803
22804 ( exit $ac_status )
22805 if test "$ac_cv_type_long_long" = yes; then
22806 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22807 See \`config.log' for more details." >&5
22808 echo "$as_me: error: cannot compute sizeof (long long)
22809 See \`config.log' for more details." >&2;}
22810 { (exit 77); exit 77; }; }
22811 else
22812 ac_cv_sizeof_long_long=0
22813 fi
22814 fi
22815 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22816 fi
22817 rm -f conftest.val
22818 fi
22819 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22820 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22821
22822
22823
22824 cat >>confdefs.h <<_ACEOF
22825 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22826 _ACEOF
22827
22828
22829 esac
22830
22831 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22832 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22833 if test "${ac_cv_type_wchar_t+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22835 else
22836 cat >conftest.$ac_ext <<_ACEOF
22837 /* confdefs.h. */
22838 _ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h. */
22842
22843 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22844 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22845 # error "fake wchar_t"
22846 #endif
22847 #ifdef HAVE_WCHAR_H
22848 # ifdef __CYGWIN__
22849 # include <stddef.h>
22850 # endif
22851 # include <wchar.h>
22852 #endif
22853 #ifdef HAVE_STDLIB_H
22854 # include <stdlib.h>
22855 #endif
22856 #include <stdio.h>
22857
22858
22859
22860 typedef wchar_t ac__type_new_;
22861 int
22862 main ()
22863 {
22864 if ((ac__type_new_ *) 0)
22865 return 0;
22866 if (sizeof (ac__type_new_))
22867 return 0;
22868 ;
22869 return 0;
22870 }
22871 _ACEOF
22872 rm -f conftest.$ac_objext
22873 if { (ac_try="$ac_compile"
22874 case "(($ac_try" in
22875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22876 *) ac_try_echo=$ac_try;;
22877 esac
22878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22879 (eval "$ac_compile") 2>conftest.er1
22880 ac_status=$?
22881 grep -v '^ *+' conftest.er1 >conftest.err
22882 rm -f conftest.er1
22883 cat conftest.err >&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } && {
22886 test -z "$ac_c_werror_flag" ||
22887 test ! -s conftest.err
22888 } && test -s conftest.$ac_objext; then
22889 ac_cv_type_wchar_t=yes
22890 else
22891 echo "$as_me: failed program was:" >&5
22892 sed 's/^/| /' conftest.$ac_ext >&5
22893
22894 ac_cv_type_wchar_t=no
22895 fi
22896
22897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22898 fi
22899 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22900 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22901
22902 # The cast to long int works around a bug in the HP C Compiler
22903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22905 # This bug is HP SR number 8606223364.
22906 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22907 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22908 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22909 echo $ECHO_N "(cached) $ECHO_C" >&6
22910 else
22911 if test "$cross_compiling" = yes; then
22912 # Depending upon the size, compute the lo and hi bounds.
22913 cat >conftest.$ac_ext <<_ACEOF
22914 /* confdefs.h. */
22915 _ACEOF
22916 cat confdefs.h >>conftest.$ac_ext
22917 cat >>conftest.$ac_ext <<_ACEOF
22918 /* end confdefs.h. */
22919
22920 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22921 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22922 # error "fake wchar_t"
22923 #endif
22924 #ifdef HAVE_WCHAR_H
22925 # ifdef __CYGWIN__
22926 # include <stddef.h>
22927 # endif
22928 # include <wchar.h>
22929 #endif
22930 #ifdef HAVE_STDLIB_H
22931 # include <stdlib.h>
22932 #endif
22933 #include <stdio.h>
22934
22935
22936
22937 typedef wchar_t ac__type_sizeof_;
22938 int
22939 main ()
22940 {
22941 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22942 test_array [0] = 0
22943
22944 ;
22945 return 0;
22946 }
22947 _ACEOF
22948 rm -f conftest.$ac_objext
22949 if { (ac_try="$ac_compile"
22950 case "(($ac_try" in
22951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22952 *) ac_try_echo=$ac_try;;
22953 esac
22954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22955 (eval "$ac_compile") 2>conftest.er1
22956 ac_status=$?
22957 grep -v '^ *+' conftest.er1 >conftest.err
22958 rm -f conftest.er1
22959 cat conftest.err >&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); } && {
22962 test -z "$ac_c_werror_flag" ||
22963 test ! -s conftest.err
22964 } && test -s conftest.$ac_objext; then
22965 ac_lo=0 ac_mid=0
22966 while :; do
22967 cat >conftest.$ac_ext <<_ACEOF
22968 /* confdefs.h. */
22969 _ACEOF
22970 cat confdefs.h >>conftest.$ac_ext
22971 cat >>conftest.$ac_ext <<_ACEOF
22972 /* end confdefs.h. */
22973
22974 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22975 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22976 # error "fake wchar_t"
22977 #endif
22978 #ifdef HAVE_WCHAR_H
22979 # ifdef __CYGWIN__
22980 # include <stddef.h>
22981 # endif
22982 # include <wchar.h>
22983 #endif
22984 #ifdef HAVE_STDLIB_H
22985 # include <stdlib.h>
22986 #endif
22987 #include <stdio.h>
22988
22989
22990
22991 typedef wchar_t ac__type_sizeof_;
22992 int
22993 main ()
22994 {
22995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22996 test_array [0] = 0
22997
22998 ;
22999 return 0;
23000 }
23001 _ACEOF
23002 rm -f conftest.$ac_objext
23003 if { (ac_try="$ac_compile"
23004 case "(($ac_try" in
23005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23006 *) ac_try_echo=$ac_try;;
23007 esac
23008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23009 (eval "$ac_compile") 2>conftest.er1
23010 ac_status=$?
23011 grep -v '^ *+' conftest.er1 >conftest.err
23012 rm -f conftest.er1
23013 cat conftest.err >&5
23014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23015 (exit $ac_status); } && {
23016 test -z "$ac_c_werror_flag" ||
23017 test ! -s conftest.err
23018 } && test -s conftest.$ac_objext; then
23019 ac_hi=$ac_mid; break
23020 else
23021 echo "$as_me: failed program was:" >&5
23022 sed 's/^/| /' conftest.$ac_ext >&5
23023
23024 ac_lo=`expr $ac_mid + 1`
23025 if test $ac_lo -le $ac_mid; then
23026 ac_lo= ac_hi=
23027 break
23028 fi
23029 ac_mid=`expr 2 '*' $ac_mid + 1`
23030 fi
23031
23032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23033 done
23034 else
23035 echo "$as_me: failed program was:" >&5
23036 sed 's/^/| /' conftest.$ac_ext >&5
23037
23038 cat >conftest.$ac_ext <<_ACEOF
23039 /* confdefs.h. */
23040 _ACEOF
23041 cat confdefs.h >>conftest.$ac_ext
23042 cat >>conftest.$ac_ext <<_ACEOF
23043 /* end confdefs.h. */
23044
23045 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23046 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23047 # error "fake wchar_t"
23048 #endif
23049 #ifdef HAVE_WCHAR_H
23050 # ifdef __CYGWIN__
23051 # include <stddef.h>
23052 # endif
23053 # include <wchar.h>
23054 #endif
23055 #ifdef HAVE_STDLIB_H
23056 # include <stdlib.h>
23057 #endif
23058 #include <stdio.h>
23059
23060
23061
23062 typedef wchar_t ac__type_sizeof_;
23063 int
23064 main ()
23065 {
23066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23067 test_array [0] = 0
23068
23069 ;
23070 return 0;
23071 }
23072 _ACEOF
23073 rm -f conftest.$ac_objext
23074 if { (ac_try="$ac_compile"
23075 case "(($ac_try" in
23076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23077 *) ac_try_echo=$ac_try;;
23078 esac
23079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23080 (eval "$ac_compile") 2>conftest.er1
23081 ac_status=$?
23082 grep -v '^ *+' conftest.er1 >conftest.err
23083 rm -f conftest.er1
23084 cat conftest.err >&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); } && {
23087 test -z "$ac_c_werror_flag" ||
23088 test ! -s conftest.err
23089 } && test -s conftest.$ac_objext; then
23090 ac_hi=-1 ac_mid=-1
23091 while :; do
23092 cat >conftest.$ac_ext <<_ACEOF
23093 /* confdefs.h. */
23094 _ACEOF
23095 cat confdefs.h >>conftest.$ac_ext
23096 cat >>conftest.$ac_ext <<_ACEOF
23097 /* end confdefs.h. */
23098
23099 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23100 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23101 # error "fake wchar_t"
23102 #endif
23103 #ifdef HAVE_WCHAR_H
23104 # ifdef __CYGWIN__
23105 # include <stddef.h>
23106 # endif
23107 # include <wchar.h>
23108 #endif
23109 #ifdef HAVE_STDLIB_H
23110 # include <stdlib.h>
23111 #endif
23112 #include <stdio.h>
23113
23114
23115
23116 typedef wchar_t ac__type_sizeof_;
23117 int
23118 main ()
23119 {
23120 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23121 test_array [0] = 0
23122
23123 ;
23124 return 0;
23125 }
23126 _ACEOF
23127 rm -f conftest.$ac_objext
23128 if { (ac_try="$ac_compile"
23129 case "(($ac_try" in
23130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23131 *) ac_try_echo=$ac_try;;
23132 esac
23133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23134 (eval "$ac_compile") 2>conftest.er1
23135 ac_status=$?
23136 grep -v '^ *+' conftest.er1 >conftest.err
23137 rm -f conftest.er1
23138 cat conftest.err >&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); } && {
23141 test -z "$ac_c_werror_flag" ||
23142 test ! -s conftest.err
23143 } && test -s conftest.$ac_objext; then
23144 ac_lo=$ac_mid; break
23145 else
23146 echo "$as_me: failed program was:" >&5
23147 sed 's/^/| /' conftest.$ac_ext >&5
23148
23149 ac_hi=`expr '(' $ac_mid ')' - 1`
23150 if test $ac_mid -le $ac_hi; then
23151 ac_lo= ac_hi=
23152 break
23153 fi
23154 ac_mid=`expr 2 '*' $ac_mid`
23155 fi
23156
23157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23158 done
23159 else
23160 echo "$as_me: failed program was:" >&5
23161 sed 's/^/| /' conftest.$ac_ext >&5
23162
23163 ac_lo= ac_hi=
23164 fi
23165
23166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 fi
23168
23169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23170 # Binary search between lo and hi bounds.
23171 while test "x$ac_lo" != "x$ac_hi"; do
23172 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23173 cat >conftest.$ac_ext <<_ACEOF
23174 /* confdefs.h. */
23175 _ACEOF
23176 cat confdefs.h >>conftest.$ac_ext
23177 cat >>conftest.$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23179
23180 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23181 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23182 # error "fake wchar_t"
23183 #endif
23184 #ifdef HAVE_WCHAR_H
23185 # ifdef __CYGWIN__
23186 # include <stddef.h>
23187 # endif
23188 # include <wchar.h>
23189 #endif
23190 #ifdef HAVE_STDLIB_H
23191 # include <stdlib.h>
23192 #endif
23193 #include <stdio.h>
23194
23195
23196
23197 typedef wchar_t ac__type_sizeof_;
23198 int
23199 main ()
23200 {
23201 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23202 test_array [0] = 0
23203
23204 ;
23205 return 0;
23206 }
23207 _ACEOF
23208 rm -f conftest.$ac_objext
23209 if { (ac_try="$ac_compile"
23210 case "(($ac_try" in
23211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23212 *) ac_try_echo=$ac_try;;
23213 esac
23214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23215 (eval "$ac_compile") 2>conftest.er1
23216 ac_status=$?
23217 grep -v '^ *+' conftest.er1 >conftest.err
23218 rm -f conftest.er1
23219 cat conftest.err >&5
23220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221 (exit $ac_status); } && {
23222 test -z "$ac_c_werror_flag" ||
23223 test ! -s conftest.err
23224 } && test -s conftest.$ac_objext; then
23225 ac_hi=$ac_mid
23226 else
23227 echo "$as_me: failed program was:" >&5
23228 sed 's/^/| /' conftest.$ac_ext >&5
23229
23230 ac_lo=`expr '(' $ac_mid ')' + 1`
23231 fi
23232
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23234 done
23235 case $ac_lo in
23236 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23237 '') if test "$ac_cv_type_wchar_t" = yes; then
23238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23239 See \`config.log' for more details." >&5
23240 echo "$as_me: error: cannot compute sizeof (wchar_t)
23241 See \`config.log' for more details." >&2;}
23242 { (exit 77); exit 77; }; }
23243 else
23244 ac_cv_sizeof_wchar_t=0
23245 fi ;;
23246 esac
23247 else
23248 cat >conftest.$ac_ext <<_ACEOF
23249 /* confdefs.h. */
23250 _ACEOF
23251 cat confdefs.h >>conftest.$ac_ext
23252 cat >>conftest.$ac_ext <<_ACEOF
23253 /* end confdefs.h. */
23254
23255 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23256 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23257 # error "fake wchar_t"
23258 #endif
23259 #ifdef HAVE_WCHAR_H
23260 # ifdef __CYGWIN__
23261 # include <stddef.h>
23262 # endif
23263 # include <wchar.h>
23264 #endif
23265 #ifdef HAVE_STDLIB_H
23266 # include <stdlib.h>
23267 #endif
23268 #include <stdio.h>
23269
23270
23271
23272 typedef wchar_t ac__type_sizeof_;
23273 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23274 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23275 #include <stdio.h>
23276 #include <stdlib.h>
23277 int
23278 main ()
23279 {
23280
23281 FILE *f = fopen ("conftest.val", "w");
23282 if (! f)
23283 return 1;
23284 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23285 {
23286 long int i = longval ();
23287 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23288 return 1;
23289 fprintf (f, "%ld\n", i);
23290 }
23291 else
23292 {
23293 unsigned long int i = ulongval ();
23294 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23295 return 1;
23296 fprintf (f, "%lu\n", i);
23297 }
23298 return ferror (f) || fclose (f) != 0;
23299
23300 ;
23301 return 0;
23302 }
23303 _ACEOF
23304 rm -f conftest$ac_exeext
23305 if { (ac_try="$ac_link"
23306 case "(($ac_try" in
23307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23308 *) ac_try_echo=$ac_try;;
23309 esac
23310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23311 (eval "$ac_link") 2>&5
23312 ac_status=$?
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23315 { (case "(($ac_try" in
23316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23317 *) ac_try_echo=$ac_try;;
23318 esac
23319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23320 (eval "$ac_try") 2>&5
23321 ac_status=$?
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); }; }; then
23324 ac_cv_sizeof_wchar_t=`cat conftest.val`
23325 else
23326 echo "$as_me: program exited with status $ac_status" >&5
23327 echo "$as_me: failed program was:" >&5
23328 sed 's/^/| /' conftest.$ac_ext >&5
23329
23330 ( exit $ac_status )
23331 if test "$ac_cv_type_wchar_t" = yes; then
23332 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23333 See \`config.log' for more details." >&5
23334 echo "$as_me: error: cannot compute sizeof (wchar_t)
23335 See \`config.log' for more details." >&2;}
23336 { (exit 77); exit 77; }; }
23337 else
23338 ac_cv_sizeof_wchar_t=0
23339 fi
23340 fi
23341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23342 fi
23343 rm -f conftest.val
23344 fi
23345 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23346 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23347
23348
23349
23350 cat >>confdefs.h <<_ACEOF
23351 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23352 _ACEOF
23353
23354
23355 if test "$ac_cv_sizeof_wchar_t" != 0; then
23356 wxUSE_WCHAR_T=yes
23357 else
23358 wxUSE_WCHAR_T=no
23359 fi
23360
23361 { echo "$as_me:$LINENO: checking for va_copy" >&5
23362 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23363 if test "${wx_cv_func_va_copy+set}" = set; then
23364 echo $ECHO_N "(cached) $ECHO_C" >&6
23365 else
23366
23367 ac_ext=cpp
23368 ac_cpp='$CXXCPP $CPPFLAGS'
23369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23372
23373 cat >conftest.$ac_ext <<_ACEOF
23374
23375 #include <stdarg.h>
23376 void foo(char *f, ...)
23377 {
23378 va_list ap1, ap2;
23379 va_start(ap1, f);
23380 va_copy(ap2, ap1);
23381 va_end(ap2);
23382 va_end(ap1);
23383 }
23384 int main()
23385 {
23386 foo("hi", 17);
23387 return 0;
23388 }
23389 _ACEOF
23390 rm -f conftest.$ac_objext conftest$ac_exeext
23391 if { (ac_try="$ac_link"
23392 case "(($ac_try" in
23393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23394 *) ac_try_echo=$ac_try;;
23395 esac
23396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23397 (eval "$ac_link") 2>conftest.er1
23398 ac_status=$?
23399 grep -v '^ *+' conftest.er1 >conftest.err
23400 rm -f conftest.er1
23401 cat conftest.err >&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && {
23404 test -z "$ac_cxx_werror_flag" ||
23405 test ! -s conftest.err
23406 } && test -s conftest$ac_exeext &&
23407 $as_test_x conftest$ac_exeext; then
23408 wx_cv_func_va_copy=yes
23409 else
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23412
23413 wx_cv_func_va_copy=no
23414
23415 fi
23416
23417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23418 conftest$ac_exeext conftest.$ac_ext
23419 ac_ext=c
23420 ac_cpp='$CPP $CPPFLAGS'
23421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23424
23425
23426
23427 fi
23428 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23429 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23430
23431 if test $wx_cv_func_va_copy = "yes"; then
23432 cat >>confdefs.h <<\_ACEOF
23433 #define HAVE_VA_COPY 1
23434 _ACEOF
23435
23436 else
23437 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23438 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23439 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23440 echo $ECHO_N "(cached) $ECHO_C" >&6
23441 else
23442
23443 if test "$cross_compiling" = yes; then
23444 wx_cv_type_va_list_lvalue=yes
23445
23446 else
23447 cat >conftest.$ac_ext <<_ACEOF
23448
23449 #include <stdarg.h>
23450 int foo(char *f, ...)
23451 {
23452 va_list ap1, ap2;
23453 va_start(ap1, f);
23454 ap2 = ap1;
23455 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23456 return 1;
23457 va_end(ap2);
23458 va_end(ap1);
23459 return 0;
23460 }
23461 int main()
23462 {
23463 return foo("hi", 17);
23464 }
23465 _ACEOF
23466 rm -f conftest$ac_exeext
23467 if { (ac_try="$ac_link"
23468 case "(($ac_try" in
23469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23470 *) ac_try_echo=$ac_try;;
23471 esac
23472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23473 (eval "$ac_link") 2>&5
23474 ac_status=$?
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23477 { (case "(($ac_try" in
23478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23479 *) ac_try_echo=$ac_try;;
23480 esac
23481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23482 (eval "$ac_try") 2>&5
23483 ac_status=$?
23484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23485 (exit $ac_status); }; }; then
23486 wx_cv_type_va_list_lvalue=yes
23487 else
23488 echo "$as_me: program exited with status $ac_status" >&5
23489 echo "$as_me: failed program was:" >&5
23490 sed 's/^/| /' conftest.$ac_ext >&5
23491
23492 ( exit $ac_status )
23493 wx_cv_type_va_list_lvalue=no
23494 fi
23495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23496 fi
23497
23498
23499
23500
23501 fi
23502 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23503 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23504
23505 if test $wx_cv_type_va_list_lvalue != "yes"; then
23506 cat >>confdefs.h <<\_ACEOF
23507 #define VA_LIST_IS_ARRAY 1
23508 _ACEOF
23509
23510 fi
23511 fi
23512
23513 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23514
23515 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23516 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23517 if test "${wx_cv_have_variadic_macros+set}" = set; then
23518 echo $ECHO_N "(cached) $ECHO_C" >&6
23519 else
23520
23521 ac_ext=cpp
23522 ac_cpp='$CXXCPP $CPPFLAGS'
23523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23526
23527 cat >conftest.$ac_ext <<_ACEOF
23528 /* confdefs.h. */
23529 _ACEOF
23530 cat confdefs.h >>conftest.$ac_ext
23531 cat >>conftest.$ac_ext <<_ACEOF
23532 /* end confdefs.h. */
23533
23534 #include <stdio.h>
23535 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23536
23537 int
23538 main ()
23539 {
23540
23541 test("%s %d %p", "test", 1, 0);
23542
23543
23544 ;
23545 return 0;
23546 }
23547 _ACEOF
23548 rm -f conftest.$ac_objext
23549 if { (ac_try="$ac_compile"
23550 case "(($ac_try" in
23551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23552 *) ac_try_echo=$ac_try;;
23553 esac
23554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23555 (eval "$ac_compile") 2>conftest.er1
23556 ac_status=$?
23557 grep -v '^ *+' conftest.er1 >conftest.err
23558 rm -f conftest.er1
23559 cat conftest.err >&5
23560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23561 (exit $ac_status); } && {
23562 test -z "$ac_cxx_werror_flag" ||
23563 test ! -s conftest.err
23564 } && test -s conftest.$ac_objext; then
23565 wx_cv_have_variadic_macros=yes
23566 else
23567 echo "$as_me: failed program was:" >&5
23568 sed 's/^/| /' conftest.$ac_ext >&5
23569
23570 wx_cv_have_variadic_macros=no
23571
23572 fi
23573
23574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23575 ac_ext=c
23576 ac_cpp='$CPP $CPPFLAGS'
23577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23580
23581
23582
23583 fi
23584 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23585 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23586
23587 if test $wx_cv_have_variadic_macros = "yes"; then
23588 cat >>confdefs.h <<\_ACEOF
23589 #define HAVE_VARIADIC_MACROS 1
23590 _ACEOF
23591
23592 fi
23593
23594 fi
23595
23596 LARGEFILE_CPPFLAGS=
23597 # Check whether --enable-largefile was given.
23598 if test "${enable_largefile+set}" = set; then
23599 enableval=$enable_largefile;
23600 fi
23601
23602 if test "$enable_largefile" != no; then
23603 wx_largefile=no
23604
23605 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23606 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23607 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23608 echo $ECHO_N "(cached) $ECHO_C" >&6
23609 else
23610
23611 cat >conftest.$ac_ext <<_ACEOF
23612 /* confdefs.h. */
23613 _ACEOF
23614 cat confdefs.h >>conftest.$ac_ext
23615 cat >>conftest.$ac_ext <<_ACEOF
23616 /* end confdefs.h. */
23617 #define _FILE_OFFSET_BITS 64
23618 #include <sys/types.h>
23619 int
23620 main ()
23621 {
23622 typedef struct {
23623 unsigned int field: sizeof(off_t) == 8;
23624 } wxlf;
23625
23626 ;
23627 return 0;
23628 }
23629 _ACEOF
23630 rm -f conftest.$ac_objext
23631 if { (ac_try="$ac_compile"
23632 case "(($ac_try" in
23633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23634 *) ac_try_echo=$ac_try;;
23635 esac
23636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23637 (eval "$ac_compile") 2>conftest.er1
23638 ac_status=$?
23639 grep -v '^ *+' conftest.er1 >conftest.err
23640 rm -f conftest.er1
23641 cat conftest.err >&5
23642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23643 (exit $ac_status); } && {
23644 test -z "$ac_c_werror_flag" ||
23645 test ! -s conftest.err
23646 } && test -s conftest.$ac_objext; then
23647 ac_cv_sys_file_offset_bits=64
23648 else
23649 echo "$as_me: failed program was:" >&5
23650 sed 's/^/| /' conftest.$ac_ext >&5
23651
23652 ac_cv_sys_file_offset_bits=no
23653 fi
23654
23655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23656
23657
23658 fi
23659 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23660 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23661
23662 if test "$ac_cv_sys_file_offset_bits" != no; then
23663 wx_largefile=yes
23664 cat >>confdefs.h <<_ACEOF
23665 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23666 _ACEOF
23667
23668 fi
23669
23670 if test "x$wx_largefile" != "xyes"; then
23671
23672 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23673 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23674 if test "${ac_cv_sys_large_files+set}" = set; then
23675 echo $ECHO_N "(cached) $ECHO_C" >&6
23676 else
23677
23678 cat >conftest.$ac_ext <<_ACEOF
23679 /* confdefs.h. */
23680 _ACEOF
23681 cat confdefs.h >>conftest.$ac_ext
23682 cat >>conftest.$ac_ext <<_ACEOF
23683 /* end confdefs.h. */
23684 #define _LARGE_FILES 1
23685 #include <sys/types.h>
23686 int
23687 main ()
23688 {
23689 typedef struct {
23690 unsigned int field: sizeof(off_t) == 8;
23691 } wxlf;
23692
23693 ;
23694 return 0;
23695 }
23696 _ACEOF
23697 rm -f conftest.$ac_objext
23698 if { (ac_try="$ac_compile"
23699 case "(($ac_try" in
23700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23701 *) ac_try_echo=$ac_try;;
23702 esac
23703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23704 (eval "$ac_compile") 2>conftest.er1
23705 ac_status=$?
23706 grep -v '^ *+' conftest.er1 >conftest.err
23707 rm -f conftest.er1
23708 cat conftest.err >&5
23709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23710 (exit $ac_status); } && {
23711 test -z "$ac_c_werror_flag" ||
23712 test ! -s conftest.err
23713 } && test -s conftest.$ac_objext; then
23714 ac_cv_sys_large_files=1
23715 else
23716 echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.$ac_ext >&5
23718
23719 ac_cv_sys_large_files=no
23720 fi
23721
23722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23723
23724
23725 fi
23726 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23727 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23728
23729 if test "$ac_cv_sys_large_files" != no; then
23730 wx_largefile=yes
23731 cat >>confdefs.h <<_ACEOF
23732 #define _LARGE_FILES $ac_cv_sys_large_files
23733 _ACEOF
23734
23735 fi
23736
23737 fi
23738
23739 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23740 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23741 if test "x$wx_largefile" = "xyes"; then
23742 cat >>confdefs.h <<\_ACEOF
23743 #define HAVE_LARGEFILE_SUPPORT 1
23744 _ACEOF
23745
23746 fi
23747 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23748 echo "${ECHO_T}$wx_largefile" >&6; }
23749 fi
23750
23751 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23752 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23753 elif test "$ac_cv_sys_large_files" = 1; then
23754 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23755 fi
23756
23757 if test -n "$LARGEFILE_CPPFLAGS"; then
23758 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23759
23760 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23761 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23762 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23763 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23764 echo $ECHO_N "(cached) $ECHO_C" >&6
23765 else
23766
23767 ac_ext=cpp
23768 ac_cpp='$CXXCPP $CPPFLAGS'
23769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23772
23773 cat >conftest.$ac_ext <<_ACEOF
23774 /* confdefs.h. */
23775 _ACEOF
23776 cat confdefs.h >>conftest.$ac_ext
23777 cat >>conftest.$ac_ext <<_ACEOF
23778 /* end confdefs.h. */
23779
23780 int
23781 main ()
23782 {
23783
23784 #ifndef __STDC_EXT__
23785 choke me
23786 #endif
23787
23788 ;
23789 return 0;
23790 }
23791 _ACEOF
23792 rm -f conftest.$ac_objext
23793 if { (ac_try="$ac_compile"
23794 case "(($ac_try" in
23795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23796 *) ac_try_echo=$ac_try;;
23797 esac
23798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23799 (eval "$ac_compile") 2>conftest.er1
23800 ac_status=$?
23801 grep -v '^ *+' conftest.er1 >conftest.err
23802 rm -f conftest.er1
23803 cat conftest.err >&5
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); } && {
23806 test -z "$ac_cxx_werror_flag" ||
23807 test ! -s conftest.err
23808 } && test -s conftest.$ac_objext; then
23809 wx_cv_STDC_EXT_required=no
23810 else
23811 echo "$as_me: failed program was:" >&5
23812 sed 's/^/| /' conftest.$ac_ext >&5
23813
23814 wx_cv_STDC_EXT_required=yes
23815
23816 fi
23817
23818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23819 ac_ext=c
23820 ac_cpp='$CPP $CPPFLAGS'
23821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23824
23825
23826
23827 fi
23828 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23829 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23830 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23831 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23832 fi
23833 fi
23834 fi
23835
23836 ac_ext=cpp
23837 ac_cpp='$CXXCPP $CPPFLAGS'
23838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841
23842 old_CPPFLAGS="$CPPFLAGS"
23843 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23844 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23845 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23846 if test "${ac_cv_sys_largefile_source+set}" = set; then
23847 echo $ECHO_N "(cached) $ECHO_C" >&6
23848 else
23849 while :; do
23850 cat >conftest.$ac_ext <<_ACEOF
23851 /* confdefs.h. */
23852 _ACEOF
23853 cat confdefs.h >>conftest.$ac_ext
23854 cat >>conftest.$ac_ext <<_ACEOF
23855 /* end confdefs.h. */
23856 #include <sys/types.h> /* for off_t */
23857 #include <stdio.h>
23858 int
23859 main ()
23860 {
23861 int (*fp) (FILE *, off_t, int) = fseeko;
23862 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23863 ;
23864 return 0;
23865 }
23866 _ACEOF
23867 rm -f conftest.$ac_objext conftest$ac_exeext
23868 if { (ac_try="$ac_link"
23869 case "(($ac_try" in
23870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23871 *) ac_try_echo=$ac_try;;
23872 esac
23873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23874 (eval "$ac_link") 2>conftest.er1
23875 ac_status=$?
23876 grep -v '^ *+' conftest.er1 >conftest.err
23877 rm -f conftest.er1
23878 cat conftest.err >&5
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); } && {
23881 test -z "$ac_cxx_werror_flag" ||
23882 test ! -s conftest.err
23883 } && test -s conftest$ac_exeext &&
23884 $as_test_x conftest$ac_exeext; then
23885 ac_cv_sys_largefile_source=no; break
23886 else
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.$ac_ext >&5
23889
23890
23891 fi
23892
23893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23894 conftest$ac_exeext conftest.$ac_ext
23895 cat >conftest.$ac_ext <<_ACEOF
23896 /* confdefs.h. */
23897 _ACEOF
23898 cat confdefs.h >>conftest.$ac_ext
23899 cat >>conftest.$ac_ext <<_ACEOF
23900 /* end confdefs.h. */
23901 #define _LARGEFILE_SOURCE 1
23902 #include <sys/types.h> /* for off_t */
23903 #include <stdio.h>
23904 int
23905 main ()
23906 {
23907 int (*fp) (FILE *, off_t, int) = fseeko;
23908 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23909 ;
23910 return 0;
23911 }
23912 _ACEOF
23913 rm -f conftest.$ac_objext conftest$ac_exeext
23914 if { (ac_try="$ac_link"
23915 case "(($ac_try" in
23916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23917 *) ac_try_echo=$ac_try;;
23918 esac
23919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23920 (eval "$ac_link") 2>conftest.er1
23921 ac_status=$?
23922 grep -v '^ *+' conftest.er1 >conftest.err
23923 rm -f conftest.er1
23924 cat conftest.err >&5
23925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23926 (exit $ac_status); } && {
23927 test -z "$ac_cxx_werror_flag" ||
23928 test ! -s conftest.err
23929 } && test -s conftest$ac_exeext &&
23930 $as_test_x conftest$ac_exeext; then
23931 ac_cv_sys_largefile_source=1; break
23932 else
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23935
23936
23937 fi
23938
23939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23940 conftest$ac_exeext conftest.$ac_ext
23941 ac_cv_sys_largefile_source=unknown
23942 break
23943 done
23944 fi
23945 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23946 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23947 case $ac_cv_sys_largefile_source in #(
23948 no | unknown) ;;
23949 *)
23950 cat >>confdefs.h <<_ACEOF
23951 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23952 _ACEOF
23953 ;;
23954 esac
23955 rm -f conftest*
23956
23957 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23958 # in glibc 2.1.3, but that breaks too many other things.
23959 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23960 if test $ac_cv_sys_largefile_source != unknown; then
23961
23962 cat >>confdefs.h <<\_ACEOF
23963 #define HAVE_FSEEKO 1
23964 _ACEOF
23965
23966 fi
23967
23968 CPPFLAGS="$old_CPPFLAGS"
23969 ac_ext=c
23970 ac_cpp='$CPP $CPPFLAGS'
23971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23974
23975 if test "$ac_cv_sys_largefile_source" != no; then
23976 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23977 fi
23978
23979 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23980 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23981 if test "${ac_cv_c_bigendian+set}" = set; then
23982 echo $ECHO_N "(cached) $ECHO_C" >&6
23983 else
23984 ac_cv_c_bigendian=unknown
23985 # See if sys/param.h defines the BYTE_ORDER macro.
23986 cat >conftest.$ac_ext <<_ACEOF
23987 /* confdefs.h. */
23988 _ACEOF
23989 cat confdefs.h >>conftest.$ac_ext
23990 cat >>conftest.$ac_ext <<_ACEOF
23991 /* end confdefs.h. */
23992 #include <sys/types.h>
23993 #include <sys/param.h>
23994 int
23995 main ()
23996 {
23997
23998 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23999 bogus endian macros
24000 #endif
24001 ;
24002 return 0;
24003 }
24004 _ACEOF
24005 rm -f conftest.$ac_objext
24006 if { (ac_try="$ac_compile"
24007 case "(($ac_try" in
24008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24009 *) ac_try_echo=$ac_try;;
24010 esac
24011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24012 (eval "$ac_compile") 2>conftest.er1
24013 ac_status=$?
24014 grep -v '^ *+' conftest.er1 >conftest.err
24015 rm -f conftest.er1
24016 cat conftest.err >&5
24017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24018 (exit $ac_status); } && {
24019 test -z "$ac_c_werror_flag" ||
24020 test ! -s conftest.err
24021 } && test -s conftest.$ac_objext; then
24022 # It does; now see whether it defined to BIG_ENDIAN or not.
24023 cat >conftest.$ac_ext <<_ACEOF
24024 /* confdefs.h. */
24025 _ACEOF
24026 cat confdefs.h >>conftest.$ac_ext
24027 cat >>conftest.$ac_ext <<_ACEOF
24028 /* end confdefs.h. */
24029 #include <sys/types.h>
24030 #include <sys/param.h>
24031 int
24032 main ()
24033 {
24034
24035 #if BYTE_ORDER != BIG_ENDIAN
24036 not big endian
24037 #endif
24038 ;
24039 return 0;
24040 }
24041 _ACEOF
24042 rm -f conftest.$ac_objext
24043 if { (ac_try="$ac_compile"
24044 case "(($ac_try" in
24045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24046 *) ac_try_echo=$ac_try;;
24047 esac
24048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24049 (eval "$ac_compile") 2>conftest.er1
24050 ac_status=$?
24051 grep -v '^ *+' conftest.er1 >conftest.err
24052 rm -f conftest.er1
24053 cat conftest.err >&5
24054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055 (exit $ac_status); } && {
24056 test -z "$ac_c_werror_flag" ||
24057 test ! -s conftest.err
24058 } && test -s conftest.$ac_objext; then
24059 ac_cv_c_bigendian=yes
24060 else
24061 echo "$as_me: failed program was:" >&5
24062 sed 's/^/| /' conftest.$ac_ext >&5
24063
24064 ac_cv_c_bigendian=no
24065 fi
24066
24067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24068 else
24069 echo "$as_me: failed program was:" >&5
24070 sed 's/^/| /' conftest.$ac_ext >&5
24071
24072
24073 fi
24074
24075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24076 if test $ac_cv_c_bigendian = unknown; then
24077 if test "$cross_compiling" = yes; then
24078 ac_cv_c_bigendian=unknown
24079 else
24080 cat >conftest.$ac_ext <<_ACEOF
24081 /* confdefs.h. */
24082 _ACEOF
24083 cat confdefs.h >>conftest.$ac_ext
24084 cat >>conftest.$ac_ext <<_ACEOF
24085 /* end confdefs.h. */
24086 main () {
24087 /* Are we little or big endian? From Harbison&Steele. */
24088 union
24089 {
24090 long l;
24091 char c[sizeof (long)];
24092 } u;
24093 u.l = 1;
24094 exit (u.c[sizeof (long) - 1] == 1);
24095 }
24096 _ACEOF
24097 rm -f conftest$ac_exeext
24098 if { (ac_try="$ac_link"
24099 case "(($ac_try" in
24100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24101 *) ac_try_echo=$ac_try;;
24102 esac
24103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24104 (eval "$ac_link") 2>&5
24105 ac_status=$?
24106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24107 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24108 { (case "(($ac_try" in
24109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24110 *) ac_try_echo=$ac_try;;
24111 esac
24112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24113 (eval "$ac_try") 2>&5
24114 ac_status=$?
24115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24116 (exit $ac_status); }; }; then
24117 ac_cv_c_bigendian=no
24118 else
24119 echo "$as_me: program exited with status $ac_status" >&5
24120 echo "$as_me: failed program was:" >&5
24121 sed 's/^/| /' conftest.$ac_ext >&5
24122
24123 ( exit $ac_status )
24124 ac_cv_c_bigendian=yes
24125 fi
24126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24127 fi
24128
24129
24130 fi
24131 fi
24132 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24133 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24134 if test $ac_cv_c_bigendian = unknown; then
24135 { 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
24136 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;}
24137 fi
24138 if test $ac_cv_c_bigendian = yes; then
24139 cat >>confdefs.h <<\_ACEOF
24140 #define WORDS_BIGENDIAN 1
24141 _ACEOF
24142
24143 fi
24144
24145
24146
24147
24148 ac_ext=cpp
24149 ac_cpp='$CXXCPP $CPPFLAGS'
24150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24153
24154
24155
24156 for ac_header in iostream
24157 do
24158 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24159 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24161 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24162 echo $ECHO_N "(cached) $ECHO_C" >&6
24163 else
24164 cat >conftest.$ac_ext <<_ACEOF
24165 /* confdefs.h. */
24166 _ACEOF
24167 cat confdefs.h >>conftest.$ac_ext
24168 cat >>conftest.$ac_ext <<_ACEOF
24169 /* end confdefs.h. */
24170
24171
24172 #include <$ac_header>
24173 _ACEOF
24174 rm -f conftest.$ac_objext
24175 if { (ac_try="$ac_compile"
24176 case "(($ac_try" in
24177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24178 *) ac_try_echo=$ac_try;;
24179 esac
24180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24181 (eval "$ac_compile") 2>conftest.er1
24182 ac_status=$?
24183 grep -v '^ *+' conftest.er1 >conftest.err
24184 rm -f conftest.er1
24185 cat conftest.err >&5
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); } && {
24188 test -z "$ac_cxx_werror_flag" ||
24189 test ! -s conftest.err
24190 } && test -s conftest.$ac_objext; then
24191 eval "$as_ac_Header=yes"
24192 else
24193 echo "$as_me: failed program was:" >&5
24194 sed 's/^/| /' conftest.$ac_ext >&5
24195
24196 eval "$as_ac_Header=no"
24197 fi
24198
24199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24200 fi
24201 ac_res=`eval echo '${'$as_ac_Header'}'`
24202 { echo "$as_me:$LINENO: result: $ac_res" >&5
24203 echo "${ECHO_T}$ac_res" >&6; }
24204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24205 cat >>confdefs.h <<_ACEOF
24206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24207 _ACEOF
24208
24209 fi
24210
24211 done
24212
24213
24214 if test "$ac_cv_header_iostream" = "yes" ; then
24215 :
24216 else
24217 cat >>confdefs.h <<\_ACEOF
24218 #define wxUSE_IOSTREAMH 1
24219 _ACEOF
24220
24221 fi
24222
24223 ac_ext=c
24224 ac_cpp='$CPP $CPPFLAGS'
24225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24228
24229
24230
24231
24232 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24233 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24234 if test "${wx_cv_explicit+set}" = set; then
24235 echo $ECHO_N "(cached) $ECHO_C" >&6
24236 else
24237
24238
24239 ac_ext=cpp
24240 ac_cpp='$CXXCPP $CPPFLAGS'
24241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24244
24245
24246 cat >conftest.$ac_ext <<_ACEOF
24247 /* confdefs.h. */
24248 _ACEOF
24249 cat confdefs.h >>conftest.$ac_ext
24250 cat >>conftest.$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24252
24253 class Foo { public: explicit Foo(int) {} };
24254
24255 int
24256 main ()
24257 {
24258
24259 return 0;
24260
24261 ;
24262 return 0;
24263 }
24264 _ACEOF
24265 rm -f conftest.$ac_objext
24266 if { (ac_try="$ac_compile"
24267 case "(($ac_try" in
24268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24269 *) ac_try_echo=$ac_try;;
24270 esac
24271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24272 (eval "$ac_compile") 2>conftest.er1
24273 ac_status=$?
24274 grep -v '^ *+' conftest.er1 >conftest.err
24275 rm -f conftest.er1
24276 cat conftest.err >&5
24277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24278 (exit $ac_status); } && {
24279 test -z "$ac_cxx_werror_flag" ||
24280 test ! -s conftest.err
24281 } && test -s conftest.$ac_objext; then
24282
24283 cat >conftest.$ac_ext <<_ACEOF
24284 /* confdefs.h. */
24285 _ACEOF
24286 cat confdefs.h >>conftest.$ac_ext
24287 cat >>conftest.$ac_ext <<_ACEOF
24288 /* end confdefs.h. */
24289
24290 class Foo { public: explicit Foo(int) {} };
24291 static void TakeFoo(const Foo& foo) { }
24292
24293 int
24294 main ()
24295 {
24296
24297 TakeFoo(17);
24298 return 0;
24299
24300 ;
24301 return 0;
24302 }
24303 _ACEOF
24304 rm -f conftest.$ac_objext
24305 if { (ac_try="$ac_compile"
24306 case "(($ac_try" in
24307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24308 *) ac_try_echo=$ac_try;;
24309 esac
24310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24311 (eval "$ac_compile") 2>conftest.er1
24312 ac_status=$?
24313 grep -v '^ *+' conftest.er1 >conftest.err
24314 rm -f conftest.er1
24315 cat conftest.err >&5
24316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24317 (exit $ac_status); } && {
24318 test -z "$ac_cxx_werror_flag" ||
24319 test ! -s conftest.err
24320 } && test -s conftest.$ac_objext; then
24321 wx_cv_explicit=no
24322 else
24323 echo "$as_me: failed program was:" >&5
24324 sed 's/^/| /' conftest.$ac_ext >&5
24325
24326 wx_cv_explicit=yes
24327
24328 fi
24329
24330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24331
24332 else
24333 echo "$as_me: failed program was:" >&5
24334 sed 's/^/| /' conftest.$ac_ext >&5
24335
24336 wx_cv_explicit=no
24337
24338 fi
24339
24340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24341
24342 ac_ext=c
24343 ac_cpp='$CPP $CPPFLAGS'
24344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24347
24348
24349 fi
24350 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24351 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24352
24353 if test "$wx_cv_explicit" = "yes"; then
24354 cat >>confdefs.h <<\_ACEOF
24355 #define HAVE_EXPLICIT 1
24356 _ACEOF
24357
24358 fi
24359
24360
24361 if test "x$SUNCXX" = xyes; then
24362 CXXFLAGS="-features=tmplife $CXXFLAGS"
24363 fi
24364
24365 if test "x$SUNCC" = xyes; then
24366 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24367 fi
24368
24369 if test "x$SGICC" = "xyes"; then
24370 CFLAGS="-woff 3970 $CFLAGS"
24371 fi
24372 if test "x$SGICXX" = "xyes"; then
24373 CXXFLAGS="-woff 3970 $CXXFLAGS"
24374 fi
24375
24376 if test "x$HPCC" = "xyes"; then
24377 CFLAGS="+W 2011,2450 $CFLAGS"
24378 fi
24379 if test "x$HPCXX" = "xyes"; then
24380 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24381 fi
24382
24383 if test "x$COMPAQCXX" = "xyes"; then
24384 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24385 fi
24386
24387 ac_ext=cpp
24388 ac_cpp='$CXXCPP $CPPFLAGS'
24389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24392
24393
24394 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24395 if test "$wxUSE_UNICODE" = "yes"; then
24396 std_string="std::wstring"
24397 char_type="wchar_t"
24398 else
24399 std_string="std::string"
24400 char_type="char"
24401 fi
24402
24403 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24404 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24405 if test "${wx_cv_class_stdstring+set}" = set; then
24406 echo $ECHO_N "(cached) $ECHO_C" >&6
24407 else
24408
24409 cat >conftest.$ac_ext <<_ACEOF
24410 /* confdefs.h. */
24411 _ACEOF
24412 cat confdefs.h >>conftest.$ac_ext
24413 cat >>conftest.$ac_ext <<_ACEOF
24414 /* end confdefs.h. */
24415 #include <string>
24416 int
24417 main ()
24418 {
24419 $std_string foo;
24420 ;
24421 return 0;
24422 }
24423 _ACEOF
24424 rm -f conftest.$ac_objext
24425 if { (ac_try="$ac_compile"
24426 case "(($ac_try" in
24427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24428 *) ac_try_echo=$ac_try;;
24429 esac
24430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24431 (eval "$ac_compile") 2>conftest.er1
24432 ac_status=$?
24433 grep -v '^ *+' conftest.er1 >conftest.err
24434 rm -f conftest.er1
24435 cat conftest.err >&5
24436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24437 (exit $ac_status); } && {
24438 test -z "$ac_cxx_werror_flag" ||
24439 test ! -s conftest.err
24440 } && test -s conftest.$ac_objext; then
24441 wx_cv_class_stdstring=yes
24442 else
24443 echo "$as_me: failed program was:" >&5
24444 sed 's/^/| /' conftest.$ac_ext >&5
24445
24446 wx_cv_class_stdstring=no
24447
24448 fi
24449
24450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24451
24452
24453 fi
24454 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24455 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24456
24457 if test "$wx_cv_class_stdstring" = yes; then
24458 if test "$wxUSE_UNICODE" = "yes"; then
24459 cat >>confdefs.h <<\_ACEOF
24460 #define HAVE_STD_WSTRING 1
24461 _ACEOF
24462
24463 fi
24464 else
24465 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24466 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24467 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24468 echo $ECHO_N "(cached) $ECHO_C" >&6
24469 else
24470
24471 cat >conftest.$ac_ext <<_ACEOF
24472 /* confdefs.h. */
24473 _ACEOF
24474 cat confdefs.h >>conftest.$ac_ext
24475 cat >>conftest.$ac_ext <<_ACEOF
24476 /* end confdefs.h. */
24477
24478 #ifdef HAVE_WCHAR_H
24479 # ifdef __CYGWIN__
24480 # include <stddef.h>
24481 # endif
24482 # include <wchar.h>
24483 #endif
24484 #ifdef HAVE_STDLIB_H
24485 # include <stdlib.h>
24486 #endif
24487 #include <stdio.h>
24488 #include <string>
24489
24490 int
24491 main ()
24492 {
24493 std::basic_string<$char_type> foo;
24494 const $char_type* dummy = foo.c_str();
24495 ;
24496 return 0;
24497 }
24498 _ACEOF
24499 rm -f conftest.$ac_objext
24500 if { (ac_try="$ac_compile"
24501 case "(($ac_try" in
24502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24503 *) ac_try_echo=$ac_try;;
24504 esac
24505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24506 (eval "$ac_compile") 2>conftest.er1
24507 ac_status=$?
24508 grep -v '^ *+' conftest.er1 >conftest.err
24509 rm -f conftest.er1
24510 cat conftest.err >&5
24511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24512 (exit $ac_status); } && {
24513 test -z "$ac_cxx_werror_flag" ||
24514 test ! -s conftest.err
24515 } && test -s conftest.$ac_objext; then
24516 wx_cv_class_stdbasicstring=yes
24517 else
24518 echo "$as_me: failed program was:" >&5
24519 sed 's/^/| /' conftest.$ac_ext >&5
24520
24521 wx_cv_class_stdbasicstring=no
24522
24523 fi
24524
24525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24526
24527
24528 fi
24529 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24530 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24531
24532 if test "$wx_cv_class_stdbasicstring" != yes; then
24533 if test "$wxUSE_STL" = "yes"; then
24534 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24535 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24536 { (exit 1); exit 1; }; }
24537 elif test "$wxUSE_STD_STRING" = "yes"; then
24538 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24539 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24540 { (exit 1); exit 1; }; }
24541 else
24542 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24543 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24544 wxUSE_STD_STRING=no
24545 fi
24546 fi
24547 fi
24548 fi
24549
24550 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24551 { echo "$as_me:$LINENO: checking for std::istream" >&5
24552 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24553 if test "${ac_cv_type_std__istream+set}" = set; then
24554 echo $ECHO_N "(cached) $ECHO_C" >&6
24555 else
24556 cat >conftest.$ac_ext <<_ACEOF
24557 /* confdefs.h. */
24558 _ACEOF
24559 cat confdefs.h >>conftest.$ac_ext
24560 cat >>conftest.$ac_ext <<_ACEOF
24561 /* end confdefs.h. */
24562 #include <iostream>
24563
24564 typedef std::istream ac__type_new_;
24565 int
24566 main ()
24567 {
24568 if ((ac__type_new_ *) 0)
24569 return 0;
24570 if (sizeof (ac__type_new_))
24571 return 0;
24572 ;
24573 return 0;
24574 }
24575 _ACEOF
24576 rm -f conftest.$ac_objext
24577 if { (ac_try="$ac_compile"
24578 case "(($ac_try" in
24579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24580 *) ac_try_echo=$ac_try;;
24581 esac
24582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24583 (eval "$ac_compile") 2>conftest.er1
24584 ac_status=$?
24585 grep -v '^ *+' conftest.er1 >conftest.err
24586 rm -f conftest.er1
24587 cat conftest.err >&5
24588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24589 (exit $ac_status); } && {
24590 test -z "$ac_cxx_werror_flag" ||
24591 test ! -s conftest.err
24592 } && test -s conftest.$ac_objext; then
24593 ac_cv_type_std__istream=yes
24594 else
24595 echo "$as_me: failed program was:" >&5
24596 sed 's/^/| /' conftest.$ac_ext >&5
24597
24598 ac_cv_type_std__istream=no
24599 fi
24600
24601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24602 fi
24603 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24604 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24605 if test $ac_cv_type_std__istream = yes; then
24606
24607 cat >>confdefs.h <<_ACEOF
24608 #define HAVE_STD__ISTREAM 1
24609 _ACEOF
24610
24611
24612 else
24613 wxUSE_STD_IOSTREAM=no
24614 fi
24615 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24616 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24617 if test "${ac_cv_type_std__ostream+set}" = set; then
24618 echo $ECHO_N "(cached) $ECHO_C" >&6
24619 else
24620 cat >conftest.$ac_ext <<_ACEOF
24621 /* confdefs.h. */
24622 _ACEOF
24623 cat confdefs.h >>conftest.$ac_ext
24624 cat >>conftest.$ac_ext <<_ACEOF
24625 /* end confdefs.h. */
24626 #include <iostream>
24627
24628 typedef std::ostream ac__type_new_;
24629 int
24630 main ()
24631 {
24632 if ((ac__type_new_ *) 0)
24633 return 0;
24634 if (sizeof (ac__type_new_))
24635 return 0;
24636 ;
24637 return 0;
24638 }
24639 _ACEOF
24640 rm -f conftest.$ac_objext
24641 if { (ac_try="$ac_compile"
24642 case "(($ac_try" in
24643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24644 *) ac_try_echo=$ac_try;;
24645 esac
24646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24647 (eval "$ac_compile") 2>conftest.er1
24648 ac_status=$?
24649 grep -v '^ *+' conftest.er1 >conftest.err
24650 rm -f conftest.er1
24651 cat conftest.err >&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); } && {
24654 test -z "$ac_cxx_werror_flag" ||
24655 test ! -s conftest.err
24656 } && test -s conftest.$ac_objext; then
24657 ac_cv_type_std__ostream=yes
24658 else
24659 echo "$as_me: failed program was:" >&5
24660 sed 's/^/| /' conftest.$ac_ext >&5
24661
24662 ac_cv_type_std__ostream=no
24663 fi
24664
24665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24666 fi
24667 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24668 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24669 if test $ac_cv_type_std__ostream = yes; then
24670
24671 cat >>confdefs.h <<_ACEOF
24672 #define HAVE_STD__OSTREAM 1
24673 _ACEOF
24674
24675
24676 else
24677 wxUSE_STD_IOSTREAM=no
24678 fi
24679
24680
24681 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24682 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24683 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24684 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24685 { (exit 1); exit 1; }; }
24686 else
24687 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24688 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24689 fi
24690 fi
24691 fi
24692
24693 if test "$wxUSE_STL" = "yes"; then
24694 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24695 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24696 if test "${wx_cv_lib_stl+set}" = set; then
24697 echo $ECHO_N "(cached) $ECHO_C" >&6
24698 else
24699 cat >conftest.$ac_ext <<_ACEOF
24700 /* confdefs.h. */
24701 _ACEOF
24702 cat confdefs.h >>conftest.$ac_ext
24703 cat >>conftest.$ac_ext <<_ACEOF
24704 /* end confdefs.h. */
24705 #include <string>
24706 #include <functional>
24707 #include <algorithm>
24708 #include <vector>
24709 #include <list>
24710 int
24711 main ()
24712 {
24713 std::vector<int> moo;
24714 std::list<int> foo;
24715 std::vector<int>::iterator it =
24716 std::find_if(moo.begin(), moo.end(),
24717 std::bind2nd(std::less<int>(), 3));
24718 ;
24719 return 0;
24720 }
24721 _ACEOF
24722 rm -f conftest.$ac_objext
24723 if { (ac_try="$ac_compile"
24724 case "(($ac_try" in
24725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24726 *) ac_try_echo=$ac_try;;
24727 esac
24728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24729 (eval "$ac_compile") 2>conftest.er1
24730 ac_status=$?
24731 grep -v '^ *+' conftest.er1 >conftest.err
24732 rm -f conftest.er1
24733 cat conftest.err >&5
24734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24735 (exit $ac_status); } && {
24736 test -z "$ac_cxx_werror_flag" ||
24737 test ! -s conftest.err
24738 } && test -s conftest.$ac_objext; then
24739 wx_cv_lib_stl=yes
24740 else
24741 echo "$as_me: failed program was:" >&5
24742 sed 's/^/| /' conftest.$ac_ext >&5
24743
24744 wx_cv_lib_stl=no
24745
24746 fi
24747
24748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24749
24750 fi
24751 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24752 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24753
24754 if test "$wx_cv_lib_stl" != yes; then
24755 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24756 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24757 { (exit 1); exit 1; }; }
24758 fi
24759
24760 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24761 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24762 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24763 echo $ECHO_N "(cached) $ECHO_C" >&6
24764 else
24765 cat >conftest.$ac_ext <<_ACEOF
24766 /* confdefs.h. */
24767 _ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24771 #include <string>
24772 int
24773 main ()
24774 {
24775 std::string foo, bar;
24776 foo.compare(bar);
24777 foo.compare(1, 1, bar);
24778 foo.compare(1, 1, bar, 1, 1);
24779 foo.compare("");
24780 foo.compare(1, 1, "");
24781 foo.compare(1, 1, "", 2);
24782 ;
24783 return 0;
24784 }
24785 _ACEOF
24786 rm -f conftest.$ac_objext
24787 if { (ac_try="$ac_compile"
24788 case "(($ac_try" in
24789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24790 *) ac_try_echo=$ac_try;;
24791 esac
24792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24793 (eval "$ac_compile") 2>conftest.er1
24794 ac_status=$?
24795 grep -v '^ *+' conftest.er1 >conftest.err
24796 rm -f conftest.er1
24797 cat conftest.err >&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); } && {
24800 test -z "$ac_cxx_werror_flag" ||
24801 test ! -s conftest.err
24802 } && test -s conftest.$ac_objext; then
24803 wx_cv_func_stdstring_compare=yes
24804 else
24805 echo "$as_me: failed program was:" >&5
24806 sed 's/^/| /' conftest.$ac_ext >&5
24807
24808 wx_cv_func_stdstring_compare=no
24809
24810 fi
24811
24812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813
24814 fi
24815 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24816 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24817
24818 if test "$wx_cv_func_stdstring_compare" = yes; then
24819 cat >>confdefs.h <<\_ACEOF
24820 #define HAVE_STD_STRING_COMPARE 1
24821 _ACEOF
24822
24823 fi
24824
24825 if test "$wx_cv_class_gnuhashmapset" = yes; then
24826 cat >>confdefs.h <<\_ACEOF
24827 #define HAVE_EXT_HASH_MAP 1
24828 _ACEOF
24829
24830 cat >>confdefs.h <<\_ACEOF
24831 #define HAVE_GNU_CXX_HASH_MAP 1
24832 _ACEOF
24833
24834 fi
24835
24836 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24837 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24838 if test "${ac_cv_header_unordered_map+set}" = set; then
24839 echo $ECHO_N "(cached) $ECHO_C" >&6
24840 else
24841 cat >conftest.$ac_ext <<_ACEOF
24842 /* confdefs.h. */
24843 _ACEOF
24844 cat confdefs.h >>conftest.$ac_ext
24845 cat >>conftest.$ac_ext <<_ACEOF
24846 /* end confdefs.h. */
24847
24848
24849
24850 #include <unordered_map>
24851 _ACEOF
24852 rm -f conftest.$ac_objext
24853 if { (ac_try="$ac_compile"
24854 case "(($ac_try" in
24855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24856 *) ac_try_echo=$ac_try;;
24857 esac
24858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24859 (eval "$ac_compile") 2>conftest.er1
24860 ac_status=$?
24861 grep -v '^ *+' conftest.er1 >conftest.err
24862 rm -f conftest.er1
24863 cat conftest.err >&5
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); } && {
24866 test -z "$ac_cxx_werror_flag" ||
24867 test ! -s conftest.err
24868 } && test -s conftest.$ac_objext; then
24869 ac_cv_header_unordered_map=yes
24870 else
24871 echo "$as_me: failed program was:" >&5
24872 sed 's/^/| /' conftest.$ac_ext >&5
24873
24874 ac_cv_header_unordered_map=no
24875 fi
24876
24877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24878 fi
24879 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24880 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24881 if test $ac_cv_header_unordered_map = yes; then
24882 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24883 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24884 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24885 echo $ECHO_N "(cached) $ECHO_C" >&6
24886 else
24887 cat >conftest.$ac_ext <<_ACEOF
24888 /* confdefs.h. */
24889 _ACEOF
24890 cat confdefs.h >>conftest.$ac_ext
24891 cat >>conftest.$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24893 #include <unordered_map>
24894 #include <unordered_set>
24895 int
24896 main ()
24897 {
24898 std::unordered_map<double*, char*> test1;
24899 std::unordered_set<char*> test2;
24900 ;
24901 return 0;
24902 }
24903 _ACEOF
24904 rm -f conftest.$ac_objext
24905 if { (ac_try="$ac_compile"
24906 case "(($ac_try" in
24907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24908 *) ac_try_echo=$ac_try;;
24909 esac
24910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24911 (eval "$ac_compile") 2>conftest.er1
24912 ac_status=$?
24913 grep -v '^ *+' conftest.er1 >conftest.err
24914 rm -f conftest.er1
24915 cat conftest.err >&5
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); } && {
24918 test -z "$ac_cxx_werror_flag" ||
24919 test ! -s conftest.err
24920 } && test -s conftest.$ac_objext; then
24921 wx_cv_class_stdunorderedmapset=yes
24922 else
24923 echo "$as_me: failed program was:" >&5
24924 sed 's/^/| /' conftest.$ac_ext >&5
24925
24926 wx_cv_class_stdunorderedmapset=no
24927 fi
24928
24929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24930
24931
24932 fi
24933 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24934 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24935 fi
24936
24937
24938
24939 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24940 cat >>confdefs.h <<\_ACEOF
24941 #define HAVE_STD_UNORDERED_MAP 1
24942 _ACEOF
24943
24944 cat >>confdefs.h <<\_ACEOF
24945 #define HAVE_STD_UNORDERED_SET 1
24946 _ACEOF
24947
24948 else
24949 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24950 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24951 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24952 echo $ECHO_N "(cached) $ECHO_C" >&6
24953 else
24954 cat >conftest.$ac_ext <<_ACEOF
24955 /* confdefs.h. */
24956 _ACEOF
24957 cat confdefs.h >>conftest.$ac_ext
24958 cat >>conftest.$ac_ext <<_ACEOF
24959 /* end confdefs.h. */
24960
24961
24962
24963 #include <tr1/unordered_map>
24964 _ACEOF
24965 rm -f conftest.$ac_objext
24966 if { (ac_try="$ac_compile"
24967 case "(($ac_try" in
24968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24969 *) ac_try_echo=$ac_try;;
24970 esac
24971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24972 (eval "$ac_compile") 2>conftest.er1
24973 ac_status=$?
24974 grep -v '^ *+' conftest.er1 >conftest.err
24975 rm -f conftest.er1
24976 cat conftest.err >&5
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); } && {
24979 test -z "$ac_cxx_werror_flag" ||
24980 test ! -s conftest.err
24981 } && test -s conftest.$ac_objext; then
24982 ac_cv_header_tr1_unordered_map=yes
24983 else
24984 echo "$as_me: failed program was:" >&5
24985 sed 's/^/| /' conftest.$ac_ext >&5
24986
24987 ac_cv_header_tr1_unordered_map=no
24988 fi
24989
24990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24991 fi
24992 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24993 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24994 if test $ac_cv_header_tr1_unordered_map = yes; then
24995 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24996 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24997 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24998 echo $ECHO_N "(cached) $ECHO_C" >&6
24999 else
25000 cat >conftest.$ac_ext <<_ACEOF
25001 /* confdefs.h. */
25002 _ACEOF
25003 cat confdefs.h >>conftest.$ac_ext
25004 cat >>conftest.$ac_ext <<_ACEOF
25005 /* end confdefs.h. */
25006 #include <tr1/unordered_map>
25007 #include <tr1/unordered_set>
25008 int
25009 main ()
25010 {
25011 std::tr1::unordered_map<double*, char*> test1;
25012 std::tr1::unordered_set<char*> test2;
25013 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
25014 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
25015 #endif
25016 ;
25017 return 0;
25018 }
25019 _ACEOF
25020 rm -f conftest.$ac_objext
25021 if { (ac_try="$ac_compile"
25022 case "(($ac_try" in
25023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25024 *) ac_try_echo=$ac_try;;
25025 esac
25026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25027 (eval "$ac_compile") 2>conftest.er1
25028 ac_status=$?
25029 grep -v '^ *+' conftest.er1 >conftest.err
25030 rm -f conftest.er1
25031 cat conftest.err >&5
25032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25033 (exit $ac_status); } && {
25034 test -z "$ac_cxx_werror_flag" ||
25035 test ! -s conftest.err
25036 } && test -s conftest.$ac_objext; then
25037 wx_cv_class_tr1unorderedmapset=yes
25038 else
25039 echo "$as_me: failed program was:" >&5
25040 sed 's/^/| /' conftest.$ac_ext >&5
25041
25042 wx_cv_class_tr1unorderedmapset=no
25043 fi
25044
25045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25046
25047
25048 fi
25049 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25050 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25051 fi
25052
25053
25054
25055 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25056 cat >>confdefs.h <<\_ACEOF
25057 #define HAVE_TR1_UNORDERED_MAP 1
25058 _ACEOF
25059
25060 cat >>confdefs.h <<\_ACEOF
25061 #define HAVE_TR1_UNORDERED_SET 1
25062 _ACEOF
25063
25064 else
25065 { echo "$as_me:$LINENO: checking for hash_map" >&5
25066 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25067 if test "${ac_cv_header_hash_map+set}" = set; then
25068 echo $ECHO_N "(cached) $ECHO_C" >&6
25069 else
25070 cat >conftest.$ac_ext <<_ACEOF
25071 /* confdefs.h. */
25072 _ACEOF
25073 cat confdefs.h >>conftest.$ac_ext
25074 cat >>conftest.$ac_ext <<_ACEOF
25075 /* end confdefs.h. */
25076
25077
25078
25079 #include <hash_map>
25080 _ACEOF
25081 rm -f conftest.$ac_objext
25082 if { (ac_try="$ac_compile"
25083 case "(($ac_try" in
25084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25085 *) ac_try_echo=$ac_try;;
25086 esac
25087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25088 (eval "$ac_compile") 2>conftest.er1
25089 ac_status=$?
25090 grep -v '^ *+' conftest.er1 >conftest.err
25091 rm -f conftest.er1
25092 cat conftest.err >&5
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); } && {
25095 test -z "$ac_cxx_werror_flag" ||
25096 test ! -s conftest.err
25097 } && test -s conftest.$ac_objext; then
25098 ac_cv_header_hash_map=yes
25099 else
25100 echo "$as_me: failed program was:" >&5
25101 sed 's/^/| /' conftest.$ac_ext >&5
25102
25103 ac_cv_header_hash_map=no
25104 fi
25105
25106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25107 fi
25108 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25109 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25110 if test $ac_cv_header_hash_map = yes; then
25111 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25112 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25113 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25114 echo $ECHO_N "(cached) $ECHO_C" >&6
25115 else
25116 cat >conftest.$ac_ext <<_ACEOF
25117 /* confdefs.h. */
25118 _ACEOF
25119 cat confdefs.h >>conftest.$ac_ext
25120 cat >>conftest.$ac_ext <<_ACEOF
25121 /* end confdefs.h. */
25122 #include <hash_map>
25123 #include <hash_set>
25124 int
25125 main ()
25126 {
25127 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25128 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25129 ;
25130 return 0;
25131 }
25132 _ACEOF
25133 rm -f conftest.$ac_objext
25134 if { (ac_try="$ac_compile"
25135 case "(($ac_try" in
25136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25137 *) ac_try_echo=$ac_try;;
25138 esac
25139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25140 (eval "$ac_compile") 2>conftest.er1
25141 ac_status=$?
25142 grep -v '^ *+' conftest.er1 >conftest.err
25143 rm -f conftest.er1
25144 cat conftest.err >&5
25145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25146 (exit $ac_status); } && {
25147 test -z "$ac_cxx_werror_flag" ||
25148 test ! -s conftest.err
25149 } && test -s conftest.$ac_objext; then
25150 wx_cv_class_stdhashmapset=yes
25151 else
25152 echo "$as_me: failed program was:" >&5
25153 sed 's/^/| /' conftest.$ac_ext >&5
25154
25155 wx_cv_class_stdhashmapset=no
25156 fi
25157
25158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25159
25160
25161 fi
25162 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25163 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25164 fi
25165
25166
25167
25168 if test "$wx_cv_class_stdhashmapset" = yes; then
25169 cat >>confdefs.h <<\_ACEOF
25170 #define HAVE_HASH_MAP 1
25171 _ACEOF
25172
25173 cat >>confdefs.h <<\_ACEOF
25174 #define HAVE_STD_HASH_MAP 1
25175 _ACEOF
25176
25177 fi
25178
25179 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25180 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25181 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25182 echo $ECHO_N "(cached) $ECHO_C" >&6
25183 else
25184 cat >conftest.$ac_ext <<_ACEOF
25185 /* confdefs.h. */
25186 _ACEOF
25187 cat confdefs.h >>conftest.$ac_ext
25188 cat >>conftest.$ac_ext <<_ACEOF
25189 /* end confdefs.h. */
25190
25191
25192
25193 #include <ext/hash_map>
25194 _ACEOF
25195 rm -f conftest.$ac_objext
25196 if { (ac_try="$ac_compile"
25197 case "(($ac_try" in
25198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25199 *) ac_try_echo=$ac_try;;
25200 esac
25201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25202 (eval "$ac_compile") 2>conftest.er1
25203 ac_status=$?
25204 grep -v '^ *+' conftest.er1 >conftest.err
25205 rm -f conftest.er1
25206 cat conftest.err >&5
25207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25208 (exit $ac_status); } && {
25209 test -z "$ac_cxx_werror_flag" ||
25210 test ! -s conftest.err
25211 } && test -s conftest.$ac_objext; then
25212 ac_cv_header_ext_hash_map=yes
25213 else
25214 echo "$as_me: failed program was:" >&5
25215 sed 's/^/| /' conftest.$ac_ext >&5
25216
25217 ac_cv_header_ext_hash_map=no
25218 fi
25219
25220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25221 fi
25222 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25223 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25224 if test $ac_cv_header_ext_hash_map = yes; then
25225 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25226 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25227 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25228 echo $ECHO_N "(cached) $ECHO_C" >&6
25229 else
25230 cat >conftest.$ac_ext <<_ACEOF
25231 /* confdefs.h. */
25232 _ACEOF
25233 cat confdefs.h >>conftest.$ac_ext
25234 cat >>conftest.$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25236 #include <ext/hash_map>
25237 #include <ext/hash_set>
25238 int
25239 main ()
25240 {
25241 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25242 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25243 ;
25244 return 0;
25245 }
25246 _ACEOF
25247 rm -f conftest.$ac_objext
25248 if { (ac_try="$ac_compile"
25249 case "(($ac_try" in
25250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25251 *) ac_try_echo=$ac_try;;
25252 esac
25253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25254 (eval "$ac_compile") 2>conftest.er1
25255 ac_status=$?
25256 grep -v '^ *+' conftest.er1 >conftest.err
25257 rm -f conftest.er1
25258 cat conftest.err >&5
25259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25260 (exit $ac_status); } && {
25261 test -z "$ac_cxx_werror_flag" ||
25262 test ! -s conftest.err
25263 } && test -s conftest.$ac_objext; then
25264 wx_cv_class_gnuhashmapset=yes
25265 else
25266 echo "$as_me: failed program was:" >&5
25267 sed 's/^/| /' conftest.$ac_ext >&5
25268
25269 wx_cv_class_gnuhashmapset=no
25270 fi
25271
25272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25273
25274
25275 fi
25276 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25277 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25278 fi
25279
25280
25281
25282 fi
25283 fi
25284 fi
25285
25286
25287
25288 if test -n "$GCC"; then
25289 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25290 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25291 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25292 echo $ECHO_N "(cached) $ECHO_C" >&6
25293 else
25294
25295 cat >conftest.$ac_ext <<_ACEOF
25296 /* confdefs.h. */
25297 _ACEOF
25298 cat confdefs.h >>conftest.$ac_ext
25299 cat >>conftest.$ac_ext <<_ACEOF
25300 /* end confdefs.h. */
25301
25302 int
25303 main ()
25304 {
25305
25306 unsigned int value=0;
25307 /* wxAtomicInc doesn't use return value here */
25308 __sync_fetch_and_add(&value, 2);
25309 __sync_sub_and_fetch(&value, 1);
25310 /* but wxAtomicDec does, so mimic that: */
25311 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25312
25313 ;
25314 return 0;
25315 }
25316 _ACEOF
25317 rm -f conftest.$ac_objext conftest$ac_exeext
25318 if { (ac_try="$ac_link"
25319 case "(($ac_try" in
25320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25321 *) ac_try_echo=$ac_try;;
25322 esac
25323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25324 (eval "$ac_link") 2>conftest.er1
25325 ac_status=$?
25326 grep -v '^ *+' conftest.er1 >conftest.err
25327 rm -f conftest.er1
25328 cat conftest.err >&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); } && {
25331 test -z "$ac_cxx_werror_flag" ||
25332 test ! -s conftest.err
25333 } && test -s conftest$ac_exeext &&
25334 $as_test_x conftest$ac_exeext; then
25335 wx_cv_cc_gcc_atomic_builtins=yes
25336 else
25337 echo "$as_me: failed program was:" >&5
25338 sed 's/^/| /' conftest.$ac_ext >&5
25339
25340 wx_cv_cc_gcc_atomic_builtins=no
25341 fi
25342
25343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25344 conftest$ac_exeext conftest.$ac_ext
25345
25346 fi
25347
25348 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25349 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25350 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25351 cat >>confdefs.h <<\_ACEOF
25352 #define HAVE_GCC_ATOMIC_BUILTINS 1
25353 _ACEOF
25354
25355 fi
25356 fi
25357
25358
25359 ac_ext=c
25360 ac_cpp='$CPP $CPPFLAGS'
25361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25364
25365
25366
25367 SEARCH_INCLUDE="\
25368 /usr/local/include \
25369 /usr/local/X11/include \
25370 /usr/local/include/X11 \
25371 /usr/local/X11R6/include \
25372 /usr/local/include/X11R6 \
25373 \
25374 /usr/Motif-2.1/include \
25375 /usr/Motif-1.2/include \
25376 /usr/include/Motif1.2 \
25377 \
25378 /usr/dt/include \
25379 /usr/openwin/include \
25380 \
25381 /usr/include/Xm \
25382 \
25383 /usr/X11R6/include \
25384 /usr/X11R6.4/include \
25385 \
25386 /usr/include/X11R6 \
25387 \
25388 /usr/X11/include \
25389 /usr/include/X11 \
25390 \
25391 /usr/XFree86/include/X11 \
25392 /usr/pkg/include \
25393 \
25394 /usr/local/X1R5/include \
25395 /usr/local/include/X11R5 \
25396 /usr/X11R5/include \
25397 /usr/include/X11R5 \
25398 \
25399 /usr/local/X11R4/include \
25400 /usr/local/include/X11R4 \
25401 /usr/X11R4/include \
25402 /usr/include/X11R4 \
25403 \
25404 /usr/openwin/share/include"
25405
25406 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25407 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25408
25409 case "${host}" in
25410 *-*-irix6* )
25411 if test "${wx_cv_std_libpath+set}" = set; then
25412 echo $ECHO_N "(cached) $ECHO_C" >&6
25413 else
25414
25415 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25416 for e in a so sl dylib dll.a; do
25417 libc="$d/libc.$e"
25418 if test -f $libc; then
25419 save_LIBS="$LIBS"
25420 LIBS="$libc"
25421 cat >conftest.$ac_ext <<_ACEOF
25422 int main() { return 0; }
25423 _ACEOF
25424 rm -f conftest.$ac_objext conftest$ac_exeext
25425 if { (ac_try="$ac_link"
25426 case "(($ac_try" in
25427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25428 *) ac_try_echo=$ac_try;;
25429 esac
25430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25431 (eval "$ac_link") 2>conftest.er1
25432 ac_status=$?
25433 grep -v '^ *+' conftest.er1 >conftest.err
25434 rm -f conftest.er1
25435 cat conftest.err >&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); } && {
25438 test -z "$ac_c_werror_flag" ||
25439 test ! -s conftest.err
25440 } && test -s conftest$ac_exeext &&
25441 $as_test_x conftest$ac_exeext; then
25442 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25443 else
25444 echo "$as_me: failed program was:" >&5
25445 sed 's/^/| /' conftest.$ac_ext >&5
25446
25447
25448 fi
25449
25450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25451 conftest$ac_exeext conftest.$ac_ext
25452 LIBS="$save_LIBS"
25453 if test "x$wx_cv_std_libpath" != "x"; then
25454 break 2
25455 fi
25456 fi
25457 done
25458 done
25459 if test "x$wx_cv_std_libpath" = "x"; then
25460 wx_cv_std_libpath="lib"
25461 fi
25462
25463
25464 fi
25465
25466 ;;
25467
25468 *-*-solaris2* )
25469 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25470 wx_cv_std_libpath="lib/64"
25471 else
25472 wx_cv_std_libpath="lib"
25473 fi
25474 ;;
25475
25476 *-*-linux* )
25477 if test "$ac_cv_sizeof_void_p" = 8 -a \
25478 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25479 wx_cv_std_libpath="lib64"
25480 else
25481 wx_cv_std_libpath="lib"
25482 fi
25483 ;;
25484
25485 *)
25486 wx_cv_std_libpath="lib";
25487 ;;
25488 esac
25489
25490 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25491 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25492
25493 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25494
25495 if test "$build" != "$host" -a "$GCC" = yes; then
25496 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25497 cross_root=`dirname $cross_root`
25498 cross_root=`dirname $cross_root`
25499
25500 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25501 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25502 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25503
25504 if test -z "$PKG_CONFIG_PATH"; then
25505 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25506 export PKG_CONFIG_PATH
25507 fi
25508
25509 if test -z "$x_includes" -o "$x_includes" = NONE; then
25510
25511 ac_find_includes=
25512 for ac_dir in $SEARCH_INCLUDE /usr/include;
25513 do
25514 if test -f "$ac_dir/X11/Intrinsic.h"; then
25515 ac_find_includes=$ac_dir
25516 break
25517 fi
25518 done
25519
25520 x_includes=$ac_find_includes
25521 fi
25522 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25523
25524 ac_find_libraries=
25525 for ac_dir in $SEARCH_LIB;
25526 do
25527 for ac_extension in a so sl dylib dll.a; do
25528 if test -f "$ac_dir/libXt.$ac_extension"; then
25529 ac_find_libraries=$ac_dir
25530 break 2
25531 fi
25532 done
25533 done
25534
25535 x_libraries=$ac_find_libraries
25536 fi
25537 fi
25538 fi
25539
25540
25541 cat >confcache <<\_ACEOF
25542 # This file is a shell script that caches the results of configure
25543 # tests run on this system so they can be shared between configure
25544 # scripts and configure runs, see configure's option --config-cache.
25545 # It is not useful on other systems. If it contains results you don't
25546 # want to keep, you may remove or edit it.
25547 #
25548 # config.status only pays attention to the cache file if you give it
25549 # the --recheck option to rerun configure.
25550 #
25551 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25552 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25553 # following values.
25554
25555 _ACEOF
25556
25557 # The following way of writing the cache mishandles newlines in values,
25558 # but we know of no workaround that is simple, portable, and efficient.
25559 # So, we kill variables containing newlines.
25560 # Ultrix sh set writes to stderr and can't be redirected directly,
25561 # and sets the high bit in the cache file unless we assign to the vars.
25562 (
25563 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25564 eval ac_val=\$$ac_var
25565 case $ac_val in #(
25566 *${as_nl}*)
25567 case $ac_var in #(
25568 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25569 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25570 esac
25571 case $ac_var in #(
25572 _ | IFS | as_nl) ;; #(
25573 *) $as_unset $ac_var ;;
25574 esac ;;
25575 esac
25576 done
25577
25578 (set) 2>&1 |
25579 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25580 *${as_nl}ac_space=\ *)
25581 # `set' does not quote correctly, so add quotes (double-quote
25582 # substitution turns \\\\ into \\, and sed turns \\ into \).
25583 sed -n \
25584 "s/'/'\\\\''/g;
25585 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25586 ;; #(
25587 *)
25588 # `set' quotes correctly as required by POSIX, so do not add quotes.
25589 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25590 ;;
25591 esac |
25592 sort
25593 ) |
25594 sed '
25595 /^ac_cv_env_/b end
25596 t clear
25597 :clear
25598 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25599 t end
25600 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25601 :end' >>confcache
25602 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25603 if test -w "$cache_file"; then
25604 test "x$cache_file" != "x/dev/null" &&
25605 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25606 echo "$as_me: updating cache $cache_file" >&6;}
25607 cat confcache >$cache_file
25608 else
25609 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25610 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25611 fi
25612 fi
25613 rm -f confcache
25614
25615 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25616 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25617 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25618 if test "${wx_cv_lib_glibc21+set}" = set; then
25619 echo $ECHO_N "(cached) $ECHO_C" >&6
25620 else
25621
25622 cat >conftest.$ac_ext <<_ACEOF
25623 /* confdefs.h. */
25624 _ACEOF
25625 cat confdefs.h >>conftest.$ac_ext
25626 cat >>conftest.$ac_ext <<_ACEOF
25627 /* end confdefs.h. */
25628 #include <features.h>
25629 int
25630 main ()
25631 {
25632
25633 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25634 not glibc 2.1
25635 #endif
25636
25637 ;
25638 return 0;
25639 }
25640 _ACEOF
25641 rm -f conftest.$ac_objext
25642 if { (ac_try="$ac_compile"
25643 case "(($ac_try" in
25644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25645 *) ac_try_echo=$ac_try;;
25646 esac
25647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25648 (eval "$ac_compile") 2>conftest.er1
25649 ac_status=$?
25650 grep -v '^ *+' conftest.er1 >conftest.err
25651 rm -f conftest.er1
25652 cat conftest.err >&5
25653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25654 (exit $ac_status); } && {
25655 test -z "$ac_c_werror_flag" ||
25656 test ! -s conftest.err
25657 } && test -s conftest.$ac_objext; then
25658
25659 wx_cv_lib_glibc21=yes
25660
25661 else
25662 echo "$as_me: failed program was:" >&5
25663 sed 's/^/| /' conftest.$ac_ext >&5
25664
25665
25666 wx_cv_lib_glibc21=no
25667
25668
25669 fi
25670
25671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25672
25673 fi
25674 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25675 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25676 if test "$wx_cv_lib_glibc21" = "yes"; then
25677 cat >>confdefs.h <<\_ACEOF
25678 #define wxHAVE_GLIBC2 1
25679 _ACEOF
25680
25681 fi
25682 fi
25683
25684 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25685 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25686 cat >>confdefs.h <<\_ACEOF
25687 #define _GNU_SOURCE 1
25688 _ACEOF
25689
25690 fi
25691 fi
25692
25693 have_cos=0
25694 have_floor=0
25695
25696 for ac_func in cos
25697 do
25698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25699 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25701 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25702 echo $ECHO_N "(cached) $ECHO_C" >&6
25703 else
25704 cat >conftest.$ac_ext <<_ACEOF
25705 /* confdefs.h. */
25706 _ACEOF
25707 cat confdefs.h >>conftest.$ac_ext
25708 cat >>conftest.$ac_ext <<_ACEOF
25709 /* end confdefs.h. */
25710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25712 #define $ac_func innocuous_$ac_func
25713
25714 /* System header to define __stub macros and hopefully few prototypes,
25715 which can conflict with char $ac_func (); below.
25716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25717 <limits.h> exists even on freestanding compilers. */
25718
25719 #ifdef __STDC__
25720 # include <limits.h>
25721 #else
25722 # include <assert.h>
25723 #endif
25724
25725 #undef $ac_func
25726
25727 /* Override any GCC internal prototype to avoid an error.
25728 Use char because int might match the return type of a GCC
25729 builtin and then its argument prototype would still apply. */
25730 #ifdef __cplusplus
25731 extern "C"
25732 #endif
25733 char $ac_func ();
25734 /* The GNU C library defines this for functions which it implements
25735 to always fail with ENOSYS. Some functions are actually named
25736 something starting with __ and the normal name is an alias. */
25737 #if defined __stub_$ac_func || defined __stub___$ac_func
25738 choke me
25739 #endif
25740
25741 int
25742 main ()
25743 {
25744 return $ac_func ();
25745 ;
25746 return 0;
25747 }
25748 _ACEOF
25749 rm -f conftest.$ac_objext conftest$ac_exeext
25750 if { (ac_try="$ac_link"
25751 case "(($ac_try" in
25752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25753 *) ac_try_echo=$ac_try;;
25754 esac
25755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25756 (eval "$ac_link") 2>conftest.er1
25757 ac_status=$?
25758 grep -v '^ *+' conftest.er1 >conftest.err
25759 rm -f conftest.er1
25760 cat conftest.err >&5
25761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762 (exit $ac_status); } && {
25763 test -z "$ac_c_werror_flag" ||
25764 test ! -s conftest.err
25765 } && test -s conftest$ac_exeext &&
25766 $as_test_x conftest$ac_exeext; then
25767 eval "$as_ac_var=yes"
25768 else
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25771
25772 eval "$as_ac_var=no"
25773 fi
25774
25775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25776 conftest$ac_exeext conftest.$ac_ext
25777 fi
25778 ac_res=`eval echo '${'$as_ac_var'}'`
25779 { echo "$as_me:$LINENO: result: $ac_res" >&5
25780 echo "${ECHO_T}$ac_res" >&6; }
25781 if test `eval echo '${'$as_ac_var'}'` = yes; then
25782 cat >>confdefs.h <<_ACEOF
25783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25784 _ACEOF
25785 have_cos=1
25786 fi
25787 done
25788
25789
25790 for ac_func in floor
25791 do
25792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25793 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25796 echo $ECHO_N "(cached) $ECHO_C" >&6
25797 else
25798 cat >conftest.$ac_ext <<_ACEOF
25799 /* confdefs.h. */
25800 _ACEOF
25801 cat confdefs.h >>conftest.$ac_ext
25802 cat >>conftest.$ac_ext <<_ACEOF
25803 /* end confdefs.h. */
25804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25806 #define $ac_func innocuous_$ac_func
25807
25808 /* System header to define __stub macros and hopefully few prototypes,
25809 which can conflict with char $ac_func (); below.
25810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25811 <limits.h> exists even on freestanding compilers. */
25812
25813 #ifdef __STDC__
25814 # include <limits.h>
25815 #else
25816 # include <assert.h>
25817 #endif
25818
25819 #undef $ac_func
25820
25821 /* Override any GCC internal prototype to avoid an error.
25822 Use char because int might match the return type of a GCC
25823 builtin and then its argument prototype would still apply. */
25824 #ifdef __cplusplus
25825 extern "C"
25826 #endif
25827 char $ac_func ();
25828 /* The GNU C library defines this for functions which it implements
25829 to always fail with ENOSYS. Some functions are actually named
25830 something starting with __ and the normal name is an alias. */
25831 #if defined __stub_$ac_func || defined __stub___$ac_func
25832 choke me
25833 #endif
25834
25835 int
25836 main ()
25837 {
25838 return $ac_func ();
25839 ;
25840 return 0;
25841 }
25842 _ACEOF
25843 rm -f conftest.$ac_objext conftest$ac_exeext
25844 if { (ac_try="$ac_link"
25845 case "(($ac_try" in
25846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25847 *) ac_try_echo=$ac_try;;
25848 esac
25849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25850 (eval "$ac_link") 2>conftest.er1
25851 ac_status=$?
25852 grep -v '^ *+' conftest.er1 >conftest.err
25853 rm -f conftest.er1
25854 cat conftest.err >&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); } && {
25857 test -z "$ac_c_werror_flag" ||
25858 test ! -s conftest.err
25859 } && test -s conftest$ac_exeext &&
25860 $as_test_x conftest$ac_exeext; then
25861 eval "$as_ac_var=yes"
25862 else
25863 echo "$as_me: failed program was:" >&5
25864 sed 's/^/| /' conftest.$ac_ext >&5
25865
25866 eval "$as_ac_var=no"
25867 fi
25868
25869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25870 conftest$ac_exeext conftest.$ac_ext
25871 fi
25872 ac_res=`eval echo '${'$as_ac_var'}'`
25873 { echo "$as_me:$LINENO: result: $ac_res" >&5
25874 echo "${ECHO_T}$ac_res" >&6; }
25875 if test `eval echo '${'$as_ac_var'}'` = yes; then
25876 cat >>confdefs.h <<_ACEOF
25877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25878 _ACEOF
25879 have_floor=1
25880 fi
25881 done
25882
25883 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25884 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25885 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25886 { echo "$as_me:$LINENO: result: yes" >&5
25887 echo "${ECHO_T}yes" >&6; }
25888 else
25889 { echo "$as_me:$LINENO: result: no" >&5
25890 echo "${ECHO_T}no" >&6; }
25891 LIBS="$LIBS -lm"
25892 # use different functions to avoid configure caching
25893 have_sin=0
25894 have_ceil=0
25895
25896 for ac_func in sin
25897 do
25898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25899 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25901 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 else
25904 cat >conftest.$ac_ext <<_ACEOF
25905 /* confdefs.h. */
25906 _ACEOF
25907 cat confdefs.h >>conftest.$ac_ext
25908 cat >>conftest.$ac_ext <<_ACEOF
25909 /* end confdefs.h. */
25910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25912 #define $ac_func innocuous_$ac_func
25913
25914 /* System header to define __stub macros and hopefully few prototypes,
25915 which can conflict with char $ac_func (); below.
25916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25917 <limits.h> exists even on freestanding compilers. */
25918
25919 #ifdef __STDC__
25920 # include <limits.h>
25921 #else
25922 # include <assert.h>
25923 #endif
25924
25925 #undef $ac_func
25926
25927 /* Override any GCC internal prototype to avoid an error.
25928 Use char because int might match the return type of a GCC
25929 builtin and then its argument prototype would still apply. */
25930 #ifdef __cplusplus
25931 extern "C"
25932 #endif
25933 char $ac_func ();
25934 /* The GNU C library defines this for functions which it implements
25935 to always fail with ENOSYS. Some functions are actually named
25936 something starting with __ and the normal name is an alias. */
25937 #if defined __stub_$ac_func || defined __stub___$ac_func
25938 choke me
25939 #endif
25940
25941 int
25942 main ()
25943 {
25944 return $ac_func ();
25945 ;
25946 return 0;
25947 }
25948 _ACEOF
25949 rm -f conftest.$ac_objext conftest$ac_exeext
25950 if { (ac_try="$ac_link"
25951 case "(($ac_try" in
25952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25953 *) ac_try_echo=$ac_try;;
25954 esac
25955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25956 (eval "$ac_link") 2>conftest.er1
25957 ac_status=$?
25958 grep -v '^ *+' conftest.er1 >conftest.err
25959 rm -f conftest.er1
25960 cat conftest.err >&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); } && {
25963 test -z "$ac_c_werror_flag" ||
25964 test ! -s conftest.err
25965 } && test -s conftest$ac_exeext &&
25966 $as_test_x conftest$ac_exeext; then
25967 eval "$as_ac_var=yes"
25968 else
25969 echo "$as_me: failed program was:" >&5
25970 sed 's/^/| /' conftest.$ac_ext >&5
25971
25972 eval "$as_ac_var=no"
25973 fi
25974
25975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25976 conftest$ac_exeext conftest.$ac_ext
25977 fi
25978 ac_res=`eval echo '${'$as_ac_var'}'`
25979 { echo "$as_me:$LINENO: result: $ac_res" >&5
25980 echo "${ECHO_T}$ac_res" >&6; }
25981 if test `eval echo '${'$as_ac_var'}'` = yes; then
25982 cat >>confdefs.h <<_ACEOF
25983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25984 _ACEOF
25985 have_sin=1
25986 fi
25987 done
25988
25989
25990 for ac_func in ceil
25991 do
25992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25993 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25995 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25996 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 else
25998 cat >conftest.$ac_ext <<_ACEOF
25999 /* confdefs.h. */
26000 _ACEOF
26001 cat confdefs.h >>conftest.$ac_ext
26002 cat >>conftest.$ac_ext <<_ACEOF
26003 /* end confdefs.h. */
26004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26006 #define $ac_func innocuous_$ac_func
26007
26008 /* System header to define __stub macros and hopefully few prototypes,
26009 which can conflict with char $ac_func (); below.
26010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26011 <limits.h> exists even on freestanding compilers. */
26012
26013 #ifdef __STDC__
26014 # include <limits.h>
26015 #else
26016 # include <assert.h>
26017 #endif
26018
26019 #undef $ac_func
26020
26021 /* Override any GCC internal prototype to avoid an error.
26022 Use char because int might match the return type of a GCC
26023 builtin and then its argument prototype would still apply. */
26024 #ifdef __cplusplus
26025 extern "C"
26026 #endif
26027 char $ac_func ();
26028 /* The GNU C library defines this for functions which it implements
26029 to always fail with ENOSYS. Some functions are actually named
26030 something starting with __ and the normal name is an alias. */
26031 #if defined __stub_$ac_func || defined __stub___$ac_func
26032 choke me
26033 #endif
26034
26035 int
26036 main ()
26037 {
26038 return $ac_func ();
26039 ;
26040 return 0;
26041 }
26042 _ACEOF
26043 rm -f conftest.$ac_objext conftest$ac_exeext
26044 if { (ac_try="$ac_link"
26045 case "(($ac_try" in
26046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26047 *) ac_try_echo=$ac_try;;
26048 esac
26049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26050 (eval "$ac_link") 2>conftest.er1
26051 ac_status=$?
26052 grep -v '^ *+' conftest.er1 >conftest.err
26053 rm -f conftest.er1
26054 cat conftest.err >&5
26055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26056 (exit $ac_status); } && {
26057 test -z "$ac_c_werror_flag" ||
26058 test ! -s conftest.err
26059 } && test -s conftest$ac_exeext &&
26060 $as_test_x conftest$ac_exeext; then
26061 eval "$as_ac_var=yes"
26062 else
26063 echo "$as_me: failed program was:" >&5
26064 sed 's/^/| /' conftest.$ac_ext >&5
26065
26066 eval "$as_ac_var=no"
26067 fi
26068
26069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26070 conftest$ac_exeext conftest.$ac_ext
26071 fi
26072 ac_res=`eval echo '${'$as_ac_var'}'`
26073 { echo "$as_me:$LINENO: result: $ac_res" >&5
26074 echo "${ECHO_T}$ac_res" >&6; }
26075 if test `eval echo '${'$as_ac_var'}'` = yes; then
26076 cat >>confdefs.h <<_ACEOF
26077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26078 _ACEOF
26079 have_ceil=1
26080 fi
26081 done
26082
26083 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26084 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26085 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26086 { echo "$as_me:$LINENO: result: yes" >&5
26087 echo "${ECHO_T}yes" >&6; }
26088 else
26089 { echo "$as_me:$LINENO: result: no" >&5
26090 echo "${ECHO_T}no" >&6; }
26091 # not sure we should warn the user, crash, etc.
26092 fi
26093 fi
26094
26095 ac_ext=cpp
26096 ac_cpp='$CXXCPP $CPPFLAGS'
26097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26100
26101 if test "wxUSE_UNICODE" = "yes"; then
26102
26103 for wx_func in wcstoull
26104 do
26105 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26106 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26107 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26108 echo $ECHO_N "(cached) $ECHO_C" >&6
26109 else
26110
26111 cat >conftest.$ac_ext <<_ACEOF
26112
26113 /* confdefs.h. */
26114 _ACEOF
26115 cat confdefs.h >>conftest.$ac_ext
26116 cat >>conftest.$ac_ext <<_ACEOF
26117 /* end confdefs.h. */
26118
26119
26120 $ac_includes_default
26121
26122 int
26123 main ()
26124 {
26125
26126 #ifndef $wx_func
26127 &$wx_func;
26128 #endif
26129
26130
26131 ;
26132 return 0;
26133 }
26134
26135 _ACEOF
26136 rm -f conftest.$ac_objext conftest$ac_exeext
26137 if { (ac_try="$ac_link"
26138 case "(($ac_try" in
26139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26140 *) ac_try_echo=$ac_try;;
26141 esac
26142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26143 (eval "$ac_link") 2>conftest.er1
26144 ac_status=$?
26145 grep -v '^ *+' conftest.er1 >conftest.err
26146 rm -f conftest.er1
26147 cat conftest.err >&5
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); } && {
26150 test -z "$ac_cxx_werror_flag" ||
26151 test ! -s conftest.err
26152 } && test -s conftest$ac_exeext &&
26153 $as_test_x conftest$ac_exeext; then
26154 eval wx_cv_func_$wx_func=yes
26155 else
26156 echo "$as_me: failed program was:" >&5
26157 sed 's/^/| /' conftest.$ac_ext >&5
26158
26159 eval wx_cv_func_$wx_func=no
26160 fi
26161
26162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26163 conftest$ac_exeext conftest.$ac_ext
26164
26165 fi
26166 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26167 { echo "$as_me:$LINENO: result: $ac_res" >&5
26168 echo "${ECHO_T}$ac_res" >&6; }
26169
26170 if eval test \$wx_cv_func_$wx_func = yes
26171 then
26172 cat >>confdefs.h <<_ACEOF
26173 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26174 _ACEOF
26175
26176
26177 else
26178 :
26179
26180 fi
26181 done
26182
26183 else
26184
26185 for wx_func in strtoull
26186 do
26187 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26188 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26189 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26191 else
26192
26193 cat >conftest.$ac_ext <<_ACEOF
26194
26195 /* confdefs.h. */
26196 _ACEOF
26197 cat confdefs.h >>conftest.$ac_ext
26198 cat >>conftest.$ac_ext <<_ACEOF
26199 /* end confdefs.h. */
26200
26201
26202 $ac_includes_default
26203
26204 int
26205 main ()
26206 {
26207
26208 #ifndef $wx_func
26209 &$wx_func;
26210 #endif
26211
26212
26213 ;
26214 return 0;
26215 }
26216
26217 _ACEOF
26218 rm -f conftest.$ac_objext conftest$ac_exeext
26219 if { (ac_try="$ac_link"
26220 case "(($ac_try" in
26221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26222 *) ac_try_echo=$ac_try;;
26223 esac
26224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26225 (eval "$ac_link") 2>conftest.er1
26226 ac_status=$?
26227 grep -v '^ *+' conftest.er1 >conftest.err
26228 rm -f conftest.er1
26229 cat conftest.err >&5
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); } && {
26232 test -z "$ac_cxx_werror_flag" ||
26233 test ! -s conftest.err
26234 } && test -s conftest$ac_exeext &&
26235 $as_test_x conftest$ac_exeext; then
26236 eval wx_cv_func_$wx_func=yes
26237 else
26238 echo "$as_me: failed program was:" >&5
26239 sed 's/^/| /' conftest.$ac_ext >&5
26240
26241 eval wx_cv_func_$wx_func=no
26242 fi
26243
26244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26245 conftest$ac_exeext conftest.$ac_ext
26246
26247 fi
26248 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26249 { echo "$as_me:$LINENO: result: $ac_res" >&5
26250 echo "${ECHO_T}$ac_res" >&6; }
26251
26252 if eval test \$wx_cv_func_$wx_func = yes
26253 then
26254 cat >>confdefs.h <<_ACEOF
26255 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26256 _ACEOF
26257
26258
26259 else
26260 :
26261
26262 fi
26263 done
26264
26265 fi
26266 ac_ext=c
26267 ac_cpp='$CPP $CPPFLAGS'
26268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26271
26272
26273
26274
26275 if test "$wxUSE_REGEX" != "no"; then
26276 cat >>confdefs.h <<\_ACEOF
26277 #define wxUSE_REGEX 1
26278 _ACEOF
26279
26280
26281 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26282 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26283 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26284 wxUSE_REGEX=builtin
26285 fi
26286
26287 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26288 { echo "$as_me:$LINENO: checking for regex.h" >&5
26289 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26290 if test "${ac_cv_header_regex_h+set}" = set; then
26291 echo $ECHO_N "(cached) $ECHO_C" >&6
26292 else
26293 cat >conftest.$ac_ext <<_ACEOF
26294 /* confdefs.h. */
26295 _ACEOF
26296 cat confdefs.h >>conftest.$ac_ext
26297 cat >>conftest.$ac_ext <<_ACEOF
26298 /* end confdefs.h. */
26299
26300
26301 #include <regex.h>
26302 _ACEOF
26303 rm -f conftest.$ac_objext
26304 if { (ac_try="$ac_compile"
26305 case "(($ac_try" in
26306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26307 *) ac_try_echo=$ac_try;;
26308 esac
26309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26310 (eval "$ac_compile") 2>conftest.er1
26311 ac_status=$?
26312 grep -v '^ *+' conftest.er1 >conftest.err
26313 rm -f conftest.er1
26314 cat conftest.err >&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); } && {
26317 test -z "$ac_c_werror_flag" ||
26318 test ! -s conftest.err
26319 } && test -s conftest.$ac_objext; then
26320 ac_cv_header_regex_h=yes
26321 else
26322 echo "$as_me: failed program was:" >&5
26323 sed 's/^/| /' conftest.$ac_ext >&5
26324
26325 ac_cv_header_regex_h=no
26326 fi
26327
26328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26329 fi
26330 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26331 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26332 if test $ac_cv_header_regex_h = yes; then
26333
26334
26335 for ac_func in regcomp re_search
26336 do
26337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26341 echo $ECHO_N "(cached) $ECHO_C" >&6
26342 else
26343 cat >conftest.$ac_ext <<_ACEOF
26344 /* confdefs.h. */
26345 _ACEOF
26346 cat confdefs.h >>conftest.$ac_ext
26347 cat >>conftest.$ac_ext <<_ACEOF
26348 /* end confdefs.h. */
26349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26351 #define $ac_func innocuous_$ac_func
26352
26353 /* System header to define __stub macros and hopefully few prototypes,
26354 which can conflict with char $ac_func (); below.
26355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26356 <limits.h> exists even on freestanding compilers. */
26357
26358 #ifdef __STDC__
26359 # include <limits.h>
26360 #else
26361 # include <assert.h>
26362 #endif
26363
26364 #undef $ac_func
26365
26366 /* Override any GCC internal prototype to avoid an error.
26367 Use char because int might match the return type of a GCC
26368 builtin and then its argument prototype would still apply. */
26369 #ifdef __cplusplus
26370 extern "C"
26371 #endif
26372 char $ac_func ();
26373 /* The GNU C library defines this for functions which it implements
26374 to always fail with ENOSYS. Some functions are actually named
26375 something starting with __ and the normal name is an alias. */
26376 #if defined __stub_$ac_func || defined __stub___$ac_func
26377 choke me
26378 #endif
26379
26380 int
26381 main ()
26382 {
26383 return $ac_func ();
26384 ;
26385 return 0;
26386 }
26387 _ACEOF
26388 rm -f conftest.$ac_objext conftest$ac_exeext
26389 if { (ac_try="$ac_link"
26390 case "(($ac_try" in
26391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26392 *) ac_try_echo=$ac_try;;
26393 esac
26394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26395 (eval "$ac_link") 2>conftest.er1
26396 ac_status=$?
26397 grep -v '^ *+' conftest.er1 >conftest.err
26398 rm -f conftest.er1
26399 cat conftest.err >&5
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); } && {
26402 test -z "$ac_c_werror_flag" ||
26403 test ! -s conftest.err
26404 } && test -s conftest$ac_exeext &&
26405 $as_test_x conftest$ac_exeext; then
26406 eval "$as_ac_var=yes"
26407 else
26408 echo "$as_me: failed program was:" >&5
26409 sed 's/^/| /' conftest.$ac_ext >&5
26410
26411 eval "$as_ac_var=no"
26412 fi
26413
26414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26415 conftest$ac_exeext conftest.$ac_ext
26416 fi
26417 ac_res=`eval echo '${'$as_ac_var'}'`
26418 { echo "$as_me:$LINENO: result: $ac_res" >&5
26419 echo "${ECHO_T}$ac_res" >&6; }
26420 if test `eval echo '${'$as_ac_var'}'` = yes; then
26421 cat >>confdefs.h <<_ACEOF
26422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26423 _ACEOF
26424
26425 fi
26426 done
26427
26428 fi
26429
26430
26431
26432 if test "x$ac_cv_func_regcomp" != "xyes"; then
26433 if test "$wxUSE_REGEX" = "sys" ; then
26434 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26435 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26436 { (exit 1); exit 1; }; }
26437 else
26438 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26439 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26440 wxUSE_REGEX=builtin
26441 fi
26442 else
26443 wxUSE_REGEX=sys
26444 cat >>confdefs.h <<\_ACEOF
26445 #define WX_NO_REGEX_ADVANCED 1
26446 _ACEOF
26447
26448 fi
26449 fi
26450 fi
26451
26452
26453 ZLIB_LINK=
26454 if test "$wxUSE_ZLIB" != "no" ; then
26455 cat >>confdefs.h <<\_ACEOF
26456 #define wxUSE_ZLIB 1
26457 _ACEOF
26458
26459
26460 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26461 if test "$USE_DARWIN" = 1; then
26462 system_zlib_h_ok="yes"
26463 else
26464 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26465 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26466 if test "${ac_cv_header_zlib_h+set}" = set; then
26467 echo $ECHO_N "(cached) $ECHO_C" >&6
26468 else
26469 if test "$cross_compiling" = yes; then
26470 unset ac_cv_header_zlib_h
26471
26472 else
26473 cat >conftest.$ac_ext <<_ACEOF
26474 /* confdefs.h. */
26475 _ACEOF
26476 cat confdefs.h >>conftest.$ac_ext
26477 cat >>conftest.$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26479
26480 #include <zlib.h>
26481 #include <stdio.h>
26482
26483 int main()
26484 {
26485 FILE *f=fopen("conftestval", "w");
26486 if (!f) exit(1);
26487 fprintf(f, "%s",
26488 ZLIB_VERSION[0] == '1' &&
26489 (ZLIB_VERSION[2] > '1' ||
26490 (ZLIB_VERSION[2] == '1' &&
26491 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26492 exit(0);
26493 }
26494
26495 _ACEOF
26496 rm -f conftest$ac_exeext
26497 if { (ac_try="$ac_link"
26498 case "(($ac_try" in
26499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26500 *) ac_try_echo=$ac_try;;
26501 esac
26502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26503 (eval "$ac_link") 2>&5
26504 ac_status=$?
26505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26506 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26507 { (case "(($ac_try" in
26508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26509 *) ac_try_echo=$ac_try;;
26510 esac
26511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26512 (eval "$ac_try") 2>&5
26513 ac_status=$?
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516 ac_cv_header_zlib_h=`cat conftestval`
26517 else
26518 echo "$as_me: program exited with status $ac_status" >&5
26519 echo "$as_me: failed program was:" >&5
26520 sed 's/^/| /' conftest.$ac_ext >&5
26521
26522 ( exit $ac_status )
26523 ac_cv_header_zlib_h=no
26524 fi
26525 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26526 fi
26527
26528
26529
26530 fi
26531 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26532 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26533 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26534 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26535 if test "${ac_cv_header_zlib_h+set}" = set; then
26536 echo $ECHO_N "(cached) $ECHO_C" >&6
26537 else
26538 cat >conftest.$ac_ext <<_ACEOF
26539 /* confdefs.h. */
26540 _ACEOF
26541 cat confdefs.h >>conftest.$ac_ext
26542 cat >>conftest.$ac_ext <<_ACEOF
26543 /* end confdefs.h. */
26544
26545
26546 #include <zlib.h>
26547 _ACEOF
26548 rm -f conftest.$ac_objext
26549 if { (ac_try="$ac_compile"
26550 case "(($ac_try" in
26551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26552 *) ac_try_echo=$ac_try;;
26553 esac
26554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26555 (eval "$ac_compile") 2>conftest.er1
26556 ac_status=$?
26557 grep -v '^ *+' conftest.er1 >conftest.err
26558 rm -f conftest.er1
26559 cat conftest.err >&5
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); } && {
26562 test -z "$ac_c_werror_flag" ||
26563 test ! -s conftest.err
26564 } && test -s conftest.$ac_objext; then
26565 ac_cv_header_zlib_h=yes
26566 else
26567 echo "$as_me: failed program was:" >&5
26568 sed 's/^/| /' conftest.$ac_ext >&5
26569
26570 ac_cv_header_zlib_h=no
26571 fi
26572
26573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26574 fi
26575 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26576 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26577
26578
26579
26580 system_zlib_h_ok=$ac_cv_header_zlib_h
26581 fi
26582
26583 if test "$system_zlib_h_ok" = "yes"; then
26584 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26585 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26586 if test "${ac_cv_lib_z_deflate+set}" = set; then
26587 echo $ECHO_N "(cached) $ECHO_C" >&6
26588 else
26589 ac_check_lib_save_LIBS=$LIBS
26590 LIBS="-lz $LIBS"
26591 cat >conftest.$ac_ext <<_ACEOF
26592 /* confdefs.h. */
26593 _ACEOF
26594 cat confdefs.h >>conftest.$ac_ext
26595 cat >>conftest.$ac_ext <<_ACEOF
26596 /* end confdefs.h. */
26597
26598 /* Override any GCC internal prototype to avoid an error.
26599 Use char because int might match the return type of a GCC
26600 builtin and then its argument prototype would still apply. */
26601 #ifdef __cplusplus
26602 extern "C"
26603 #endif
26604 char deflate ();
26605 int
26606 main ()
26607 {
26608 return deflate ();
26609 ;
26610 return 0;
26611 }
26612 _ACEOF
26613 rm -f conftest.$ac_objext conftest$ac_exeext
26614 if { (ac_try="$ac_link"
26615 case "(($ac_try" in
26616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26617 *) ac_try_echo=$ac_try;;
26618 esac
26619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26620 (eval "$ac_link") 2>conftest.er1
26621 ac_status=$?
26622 grep -v '^ *+' conftest.er1 >conftest.err
26623 rm -f conftest.er1
26624 cat conftest.err >&5
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); } && {
26627 test -z "$ac_c_werror_flag" ||
26628 test ! -s conftest.err
26629 } && test -s conftest$ac_exeext &&
26630 $as_test_x conftest$ac_exeext; then
26631 ac_cv_lib_z_deflate=yes
26632 else
26633 echo "$as_me: failed program was:" >&5
26634 sed 's/^/| /' conftest.$ac_ext >&5
26635
26636 ac_cv_lib_z_deflate=no
26637 fi
26638
26639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26640 conftest$ac_exeext conftest.$ac_ext
26641 LIBS=$ac_check_lib_save_LIBS
26642 fi
26643 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26644 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26645 if test $ac_cv_lib_z_deflate = yes; then
26646 ZLIB_LINK=" -lz"
26647 fi
26648
26649 fi
26650
26651 if test "x$ZLIB_LINK" = "x" ; then
26652 if test "$wxUSE_ZLIB" = "sys" ; then
26653 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26654 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26655 { (exit 1); exit 1; }; }
26656 else
26657 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26658 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26659 wxUSE_ZLIB=builtin
26660 fi
26661 else
26662 wxUSE_ZLIB=sys
26663 fi
26664 fi
26665 fi
26666
26667
26668 PNG_LINK=
26669 if test "$wxUSE_LIBPNG" != "no" ; then
26670 cat >>confdefs.h <<\_ACEOF
26671 #define wxUSE_LIBPNG 1
26672 _ACEOF
26673
26674
26675 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26676 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26677 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26678 wxUSE_LIBPNG=sys
26679 fi
26680
26681 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26682 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26683 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26684 wxUSE_LIBPNG=builtin
26685 fi
26686
26687 if test "$wxUSE_MGL" != 1 ; then
26688 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26689 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26690 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26691 if test "${ac_cv_header_png_h+set}" = set; then
26692 echo $ECHO_N "(cached) $ECHO_C" >&6
26693 else
26694 if test "$cross_compiling" = yes; then
26695 unset ac_cv_header_png_h
26696
26697 else
26698 cat >conftest.$ac_ext <<_ACEOF
26699 /* confdefs.h. */
26700 _ACEOF
26701 cat confdefs.h >>conftest.$ac_ext
26702 cat >>conftest.$ac_ext <<_ACEOF
26703 /* end confdefs.h. */
26704
26705 #include <png.h>
26706 #include <stdio.h>
26707
26708 int main()
26709 {
26710 FILE *f=fopen("conftestval", "w");
26711 if (!f) exit(1);
26712 fprintf(f, "%s",
26713 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26714 exit(0);
26715 }
26716
26717 _ACEOF
26718 rm -f conftest$ac_exeext
26719 if { (ac_try="$ac_link"
26720 case "(($ac_try" in
26721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26722 *) ac_try_echo=$ac_try;;
26723 esac
26724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26725 (eval "$ac_link") 2>&5
26726 ac_status=$?
26727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26728 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26729 { (case "(($ac_try" in
26730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26731 *) ac_try_echo=$ac_try;;
26732 esac
26733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26734 (eval "$ac_try") 2>&5
26735 ac_status=$?
26736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26737 (exit $ac_status); }; }; then
26738 ac_cv_header_png_h=`cat conftestval`
26739 else
26740 echo "$as_me: program exited with status $ac_status" >&5
26741 echo "$as_me: failed program was:" >&5
26742 sed 's/^/| /' conftest.$ac_ext >&5
26743
26744 ( exit $ac_status )
26745 ac_cv_header_png_h=no
26746 fi
26747 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26748 fi
26749
26750
26751
26752 fi
26753 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26754 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26755 { echo "$as_me:$LINENO: checking for png.h" >&5
26756 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26757 if test "${ac_cv_header_png_h+set}" = set; then
26758 echo $ECHO_N "(cached) $ECHO_C" >&6
26759 else
26760 cat >conftest.$ac_ext <<_ACEOF
26761 /* confdefs.h. */
26762 _ACEOF
26763 cat confdefs.h >>conftest.$ac_ext
26764 cat >>conftest.$ac_ext <<_ACEOF
26765 /* end confdefs.h. */
26766
26767
26768 #include <png.h>
26769 _ACEOF
26770 rm -f conftest.$ac_objext
26771 if { (ac_try="$ac_compile"
26772 case "(($ac_try" in
26773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26774 *) ac_try_echo=$ac_try;;
26775 esac
26776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26777 (eval "$ac_compile") 2>conftest.er1
26778 ac_status=$?
26779 grep -v '^ *+' conftest.er1 >conftest.err
26780 rm -f conftest.er1
26781 cat conftest.err >&5
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); } && {
26784 test -z "$ac_c_werror_flag" ||
26785 test ! -s conftest.err
26786 } && test -s conftest.$ac_objext; then
26787 ac_cv_header_png_h=yes
26788 else
26789 echo "$as_me: failed program was:" >&5
26790 sed 's/^/| /' conftest.$ac_ext >&5
26791
26792 ac_cv_header_png_h=no
26793 fi
26794
26795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26796 fi
26797 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26798 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26799
26800
26801
26802 if test "$ac_cv_header_png_h" = "yes"; then
26803 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26804 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26805 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26806 echo $ECHO_N "(cached) $ECHO_C" >&6
26807 else
26808 ac_check_lib_save_LIBS=$LIBS
26809 LIBS="-lpng -lz -lm $LIBS"
26810 cat >conftest.$ac_ext <<_ACEOF
26811 /* confdefs.h. */
26812 _ACEOF
26813 cat confdefs.h >>conftest.$ac_ext
26814 cat >>conftest.$ac_ext <<_ACEOF
26815 /* end confdefs.h. */
26816
26817 /* Override any GCC internal prototype to avoid an error.
26818 Use char because int might match the return type of a GCC
26819 builtin and then its argument prototype would still apply. */
26820 #ifdef __cplusplus
26821 extern "C"
26822 #endif
26823 char png_check_sig ();
26824 int
26825 main ()
26826 {
26827 return png_check_sig ();
26828 ;
26829 return 0;
26830 }
26831 _ACEOF
26832 rm -f conftest.$ac_objext conftest$ac_exeext
26833 if { (ac_try="$ac_link"
26834 case "(($ac_try" in
26835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26836 *) ac_try_echo=$ac_try;;
26837 esac
26838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26839 (eval "$ac_link") 2>conftest.er1
26840 ac_status=$?
26841 grep -v '^ *+' conftest.er1 >conftest.err
26842 rm -f conftest.er1
26843 cat conftest.err >&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } && {
26846 test -z "$ac_c_werror_flag" ||
26847 test ! -s conftest.err
26848 } && test -s conftest$ac_exeext &&
26849 $as_test_x conftest$ac_exeext; then
26850 ac_cv_lib_png_png_check_sig=yes
26851 else
26852 echo "$as_me: failed program was:" >&5
26853 sed 's/^/| /' conftest.$ac_ext >&5
26854
26855 ac_cv_lib_png_png_check_sig=no
26856 fi
26857
26858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26859 conftest$ac_exeext conftest.$ac_ext
26860 LIBS=$ac_check_lib_save_LIBS
26861 fi
26862 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26863 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26864 if test $ac_cv_lib_png_png_check_sig = yes; then
26865 PNG_LINK=" -lpng -lz"
26866 fi
26867
26868 fi
26869
26870 if test "x$PNG_LINK" = "x" ; then
26871 if test "$wxUSE_LIBPNG" = "sys" ; then
26872 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26873 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26874 { (exit 1); exit 1; }; }
26875 else
26876 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26877 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26878 wxUSE_LIBPNG=builtin
26879 fi
26880 else
26881 wxUSE_LIBPNG=sys
26882 fi
26883 fi
26884 fi
26885 fi
26886
26887
26888 JPEG_LINK=
26889 if test "$wxUSE_LIBJPEG" != "no" ; then
26890 cat >>confdefs.h <<\_ACEOF
26891 #define wxUSE_LIBJPEG 1
26892 _ACEOF
26893
26894
26895 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26896 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26897 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26898 wxUSE_LIBJPEG=sys
26899 fi
26900
26901 if test "$wxUSE_MGL" != 1 ; then
26902 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26903 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26904 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26905 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26906 echo $ECHO_N "(cached) $ECHO_C" >&6
26907 else
26908 cat >conftest.$ac_ext <<_ACEOF
26909 /* confdefs.h. */
26910 _ACEOF
26911 cat confdefs.h >>conftest.$ac_ext
26912 cat >>conftest.$ac_ext <<_ACEOF
26913 /* end confdefs.h. */
26914
26915 #undef HAVE_STDLIB_H
26916 #include <stdio.h>
26917 #include <jpeglib.h>
26918
26919 int
26920 main ()
26921 {
26922
26923
26924 ;
26925 return 0;
26926 }
26927 _ACEOF
26928 rm -f conftest.$ac_objext
26929 if { (ac_try="$ac_compile"
26930 case "(($ac_try" in
26931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26932 *) ac_try_echo=$ac_try;;
26933 esac
26934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26935 (eval "$ac_compile") 2>conftest.er1
26936 ac_status=$?
26937 grep -v '^ *+' conftest.er1 >conftest.err
26938 rm -f conftest.er1
26939 cat conftest.err >&5
26940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941 (exit $ac_status); } && {
26942 test -z "$ac_c_werror_flag" ||
26943 test ! -s conftest.err
26944 } && test -s conftest.$ac_objext; then
26945 ac_cv_header_jpeglib_h=yes
26946 else
26947 echo "$as_me: failed program was:" >&5
26948 sed 's/^/| /' conftest.$ac_ext >&5
26949
26950 ac_cv_header_jpeglib_h=no
26951
26952 fi
26953
26954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26955
26956 fi
26957
26958 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26959 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26960
26961 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26962 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26963 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26964 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26965 echo $ECHO_N "(cached) $ECHO_C" >&6
26966 else
26967 ac_check_lib_save_LIBS=$LIBS
26968 LIBS="-ljpeg $LIBS"
26969 cat >conftest.$ac_ext <<_ACEOF
26970 /* confdefs.h. */
26971 _ACEOF
26972 cat confdefs.h >>conftest.$ac_ext
26973 cat >>conftest.$ac_ext <<_ACEOF
26974 /* end confdefs.h. */
26975
26976 /* Override any GCC internal prototype to avoid an error.
26977 Use char because int might match the return type of a GCC
26978 builtin and then its argument prototype would still apply. */
26979 #ifdef __cplusplus
26980 extern "C"
26981 #endif
26982 char jpeg_read_header ();
26983 int
26984 main ()
26985 {
26986 return jpeg_read_header ();
26987 ;
26988 return 0;
26989 }
26990 _ACEOF
26991 rm -f conftest.$ac_objext conftest$ac_exeext
26992 if { (ac_try="$ac_link"
26993 case "(($ac_try" in
26994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26995 *) ac_try_echo=$ac_try;;
26996 esac
26997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26998 (eval "$ac_link") 2>conftest.er1
26999 ac_status=$?
27000 grep -v '^ *+' conftest.er1 >conftest.err
27001 rm -f conftest.er1
27002 cat conftest.err >&5
27003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27004 (exit $ac_status); } && {
27005 test -z "$ac_c_werror_flag" ||
27006 test ! -s conftest.err
27007 } && test -s conftest$ac_exeext &&
27008 $as_test_x conftest$ac_exeext; then
27009 ac_cv_lib_jpeg_jpeg_read_header=yes
27010 else
27011 echo "$as_me: failed program was:" >&5
27012 sed 's/^/| /' conftest.$ac_ext >&5
27013
27014 ac_cv_lib_jpeg_jpeg_read_header=no
27015 fi
27016
27017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27018 conftest$ac_exeext conftest.$ac_ext
27019 LIBS=$ac_check_lib_save_LIBS
27020 fi
27021 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27022 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
27023 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27024 JPEG_LINK=" -ljpeg"
27025 fi
27026
27027 fi
27028
27029 if test "x$JPEG_LINK" = "x" ; then
27030 if test "$wxUSE_LIBJPEG" = "sys" ; then
27031 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27032 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27033 { (exit 1); exit 1; }; }
27034 else
27035 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27036 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27037 wxUSE_LIBJPEG=builtin
27038 fi
27039 else
27040 wxUSE_LIBJPEG=sys
27041
27042 if test "$wxUSE_MSW" = 1; then
27043 { echo "$as_me:$LINENO: checking for boolean" >&5
27044 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27045 if test "${ac_cv_type_boolean+set}" = set; then
27046 echo $ECHO_N "(cached) $ECHO_C" >&6
27047 else
27048 cat >conftest.$ac_ext <<_ACEOF
27049 /* confdefs.h. */
27050 _ACEOF
27051 cat confdefs.h >>conftest.$ac_ext
27052 cat >>conftest.$ac_ext <<_ACEOF
27053 /* end confdefs.h. */
27054 #include <windows.h>
27055
27056 typedef boolean ac__type_new_;
27057 int
27058 main ()
27059 {
27060 if ((ac__type_new_ *) 0)
27061 return 0;
27062 if (sizeof (ac__type_new_))
27063 return 0;
27064 ;
27065 return 0;
27066 }
27067 _ACEOF
27068 rm -f conftest.$ac_objext
27069 if { (ac_try="$ac_compile"
27070 case "(($ac_try" in
27071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27072 *) ac_try_echo=$ac_try;;
27073 esac
27074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27075 (eval "$ac_compile") 2>conftest.er1
27076 ac_status=$?
27077 grep -v '^ *+' conftest.er1 >conftest.err
27078 rm -f conftest.er1
27079 cat conftest.err >&5
27080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27081 (exit $ac_status); } && {
27082 test -z "$ac_c_werror_flag" ||
27083 test ! -s conftest.err
27084 } && test -s conftest.$ac_objext; then
27085 ac_cv_type_boolean=yes
27086 else
27087 echo "$as_me: failed program was:" >&5
27088 sed 's/^/| /' conftest.$ac_ext >&5
27089
27090 ac_cv_type_boolean=no
27091 fi
27092
27093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27094 fi
27095 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27096 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27097 if test $ac_cv_type_boolean = yes; then
27098
27099 cat >>confdefs.h <<_ACEOF
27100 #define HAVE_BOOLEAN 1
27101 _ACEOF
27102
27103
27104 { echo "$as_me:$LINENO: checking for boolean" >&5
27105 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27106 if test "${ac_cv_type_boolean+set}" = set; then
27107 echo $ECHO_N "(cached) $ECHO_C" >&6
27108 else
27109 cat >conftest.$ac_ext <<_ACEOF
27110 /* confdefs.h. */
27111 _ACEOF
27112 cat confdefs.h >>conftest.$ac_ext
27113 cat >>conftest.$ac_ext <<_ACEOF
27114 /* end confdefs.h. */
27115
27116 #undef HAVE_BOOLEAN
27117 #include <stdio.h>
27118 #include <jpeglib.h>
27119
27120
27121 typedef boolean ac__type_new_;
27122 int
27123 main ()
27124 {
27125 if ((ac__type_new_ *) 0)
27126 return 0;
27127 if (sizeof (ac__type_new_))
27128 return 0;
27129 ;
27130 return 0;
27131 }
27132 _ACEOF
27133 rm -f conftest.$ac_objext
27134 if { (ac_try="$ac_compile"
27135 case "(($ac_try" in
27136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27137 *) ac_try_echo=$ac_try;;
27138 esac
27139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27140 (eval "$ac_compile") 2>conftest.er1
27141 ac_status=$?
27142 grep -v '^ *+' conftest.er1 >conftest.err
27143 rm -f conftest.er1
27144 cat conftest.err >&5
27145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27146 (exit $ac_status); } && {
27147 test -z "$ac_c_werror_flag" ||
27148 test ! -s conftest.err
27149 } && test -s conftest.$ac_objext; then
27150 ac_cv_type_boolean=yes
27151 else
27152 echo "$as_me: failed program was:" >&5
27153 sed 's/^/| /' conftest.$ac_ext >&5
27154
27155 ac_cv_type_boolean=no
27156 fi
27157
27158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27159 fi
27160 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27161 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27162
27163 # The cast to long int works around a bug in the HP C Compiler
27164 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27165 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27166 # This bug is HP SR number 8606223364.
27167 { echo "$as_me:$LINENO: checking size of boolean" >&5
27168 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27169 if test "${ac_cv_sizeof_boolean+set}" = set; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27171 else
27172 if test "$cross_compiling" = yes; then
27173 # Depending upon the size, compute the lo and hi bounds.
27174 cat >conftest.$ac_ext <<_ACEOF
27175 /* confdefs.h. */
27176 _ACEOF
27177 cat confdefs.h >>conftest.$ac_ext
27178 cat >>conftest.$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27180
27181 #undef HAVE_BOOLEAN
27182 #include <stdio.h>
27183 #include <jpeglib.h>
27184
27185
27186 typedef boolean ac__type_sizeof_;
27187 int
27188 main ()
27189 {
27190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27191 test_array [0] = 0
27192
27193 ;
27194 return 0;
27195 }
27196 _ACEOF
27197 rm -f conftest.$ac_objext
27198 if { (ac_try="$ac_compile"
27199 case "(($ac_try" in
27200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27201 *) ac_try_echo=$ac_try;;
27202 esac
27203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27204 (eval "$ac_compile") 2>conftest.er1
27205 ac_status=$?
27206 grep -v '^ *+' conftest.er1 >conftest.err
27207 rm -f conftest.er1
27208 cat conftest.err >&5
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); } && {
27211 test -z "$ac_c_werror_flag" ||
27212 test ! -s conftest.err
27213 } && test -s conftest.$ac_objext; then
27214 ac_lo=0 ac_mid=0
27215 while :; do
27216 cat >conftest.$ac_ext <<_ACEOF
27217 /* confdefs.h. */
27218 _ACEOF
27219 cat confdefs.h >>conftest.$ac_ext
27220 cat >>conftest.$ac_ext <<_ACEOF
27221 /* end confdefs.h. */
27222
27223 #undef HAVE_BOOLEAN
27224 #include <stdio.h>
27225 #include <jpeglib.h>
27226
27227
27228 typedef boolean ac__type_sizeof_;
27229 int
27230 main ()
27231 {
27232 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27233 test_array [0] = 0
27234
27235 ;
27236 return 0;
27237 }
27238 _ACEOF
27239 rm -f conftest.$ac_objext
27240 if { (ac_try="$ac_compile"
27241 case "(($ac_try" in
27242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27243 *) ac_try_echo=$ac_try;;
27244 esac
27245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27246 (eval "$ac_compile") 2>conftest.er1
27247 ac_status=$?
27248 grep -v '^ *+' conftest.er1 >conftest.err
27249 rm -f conftest.er1
27250 cat conftest.err >&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } && {
27253 test -z "$ac_c_werror_flag" ||
27254 test ! -s conftest.err
27255 } && test -s conftest.$ac_objext; then
27256 ac_hi=$ac_mid; break
27257 else
27258 echo "$as_me: failed program was:" >&5
27259 sed 's/^/| /' conftest.$ac_ext >&5
27260
27261 ac_lo=`expr $ac_mid + 1`
27262 if test $ac_lo -le $ac_mid; then
27263 ac_lo= ac_hi=
27264 break
27265 fi
27266 ac_mid=`expr 2 '*' $ac_mid + 1`
27267 fi
27268
27269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27270 done
27271 else
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27274
27275 cat >conftest.$ac_ext <<_ACEOF
27276 /* confdefs.h. */
27277 _ACEOF
27278 cat confdefs.h >>conftest.$ac_ext
27279 cat >>conftest.$ac_ext <<_ACEOF
27280 /* end confdefs.h. */
27281
27282 #undef HAVE_BOOLEAN
27283 #include <stdio.h>
27284 #include <jpeglib.h>
27285
27286
27287 typedef boolean ac__type_sizeof_;
27288 int
27289 main ()
27290 {
27291 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27292 test_array [0] = 0
27293
27294 ;
27295 return 0;
27296 }
27297 _ACEOF
27298 rm -f conftest.$ac_objext
27299 if { (ac_try="$ac_compile"
27300 case "(($ac_try" in
27301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27302 *) ac_try_echo=$ac_try;;
27303 esac
27304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27305 (eval "$ac_compile") 2>conftest.er1
27306 ac_status=$?
27307 grep -v '^ *+' conftest.er1 >conftest.err
27308 rm -f conftest.er1
27309 cat conftest.err >&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); } && {
27312 test -z "$ac_c_werror_flag" ||
27313 test ! -s conftest.err
27314 } && test -s conftest.$ac_objext; then
27315 ac_hi=-1 ac_mid=-1
27316 while :; do
27317 cat >conftest.$ac_ext <<_ACEOF
27318 /* confdefs.h. */
27319 _ACEOF
27320 cat confdefs.h >>conftest.$ac_ext
27321 cat >>conftest.$ac_ext <<_ACEOF
27322 /* end confdefs.h. */
27323
27324 #undef HAVE_BOOLEAN
27325 #include <stdio.h>
27326 #include <jpeglib.h>
27327
27328
27329 typedef boolean ac__type_sizeof_;
27330 int
27331 main ()
27332 {
27333 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27334 test_array [0] = 0
27335
27336 ;
27337 return 0;
27338 }
27339 _ACEOF
27340 rm -f conftest.$ac_objext
27341 if { (ac_try="$ac_compile"
27342 case "(($ac_try" in
27343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27344 *) ac_try_echo=$ac_try;;
27345 esac
27346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27347 (eval "$ac_compile") 2>conftest.er1
27348 ac_status=$?
27349 grep -v '^ *+' conftest.er1 >conftest.err
27350 rm -f conftest.er1
27351 cat conftest.err >&5
27352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27353 (exit $ac_status); } && {
27354 test -z "$ac_c_werror_flag" ||
27355 test ! -s conftest.err
27356 } && test -s conftest.$ac_objext; then
27357 ac_lo=$ac_mid; break
27358 else
27359 echo "$as_me: failed program was:" >&5
27360 sed 's/^/| /' conftest.$ac_ext >&5
27361
27362 ac_hi=`expr '(' $ac_mid ')' - 1`
27363 if test $ac_mid -le $ac_hi; then
27364 ac_lo= ac_hi=
27365 break
27366 fi
27367 ac_mid=`expr 2 '*' $ac_mid`
27368 fi
27369
27370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27371 done
27372 else
27373 echo "$as_me: failed program was:" >&5
27374 sed 's/^/| /' conftest.$ac_ext >&5
27375
27376 ac_lo= ac_hi=
27377 fi
27378
27379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27380 fi
27381
27382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27383 # Binary search between lo and hi bounds.
27384 while test "x$ac_lo" != "x$ac_hi"; do
27385 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27386 cat >conftest.$ac_ext <<_ACEOF
27387 /* confdefs.h. */
27388 _ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27392
27393 #undef HAVE_BOOLEAN
27394 #include <stdio.h>
27395 #include <jpeglib.h>
27396
27397
27398 typedef boolean ac__type_sizeof_;
27399 int
27400 main ()
27401 {
27402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27403 test_array [0] = 0
27404
27405 ;
27406 return 0;
27407 }
27408 _ACEOF
27409 rm -f conftest.$ac_objext
27410 if { (ac_try="$ac_compile"
27411 case "(($ac_try" in
27412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27413 *) ac_try_echo=$ac_try;;
27414 esac
27415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27416 (eval "$ac_compile") 2>conftest.er1
27417 ac_status=$?
27418 grep -v '^ *+' conftest.er1 >conftest.err
27419 rm -f conftest.er1
27420 cat conftest.err >&5
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); } && {
27423 test -z "$ac_c_werror_flag" ||
27424 test ! -s conftest.err
27425 } && test -s conftest.$ac_objext; then
27426 ac_hi=$ac_mid
27427 else
27428 echo "$as_me: failed program was:" >&5
27429 sed 's/^/| /' conftest.$ac_ext >&5
27430
27431 ac_lo=`expr '(' $ac_mid ')' + 1`
27432 fi
27433
27434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27435 done
27436 case $ac_lo in
27437 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27438 '') if test "$ac_cv_type_boolean" = yes; then
27439 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27440 See \`config.log' for more details." >&5
27441 echo "$as_me: error: cannot compute sizeof (boolean)
27442 See \`config.log' for more details." >&2;}
27443 { (exit 77); exit 77; }; }
27444 else
27445 ac_cv_sizeof_boolean=0
27446 fi ;;
27447 esac
27448 else
27449 cat >conftest.$ac_ext <<_ACEOF
27450 /* confdefs.h. */
27451 _ACEOF
27452 cat confdefs.h >>conftest.$ac_ext
27453 cat >>conftest.$ac_ext <<_ACEOF
27454 /* end confdefs.h. */
27455
27456 #undef HAVE_BOOLEAN
27457 #include <stdio.h>
27458 #include <jpeglib.h>
27459
27460
27461 typedef boolean ac__type_sizeof_;
27462 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27463 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27464 #include <stdio.h>
27465 #include <stdlib.h>
27466 int
27467 main ()
27468 {
27469
27470 FILE *f = fopen ("conftest.val", "w");
27471 if (! f)
27472 return 1;
27473 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27474 {
27475 long int i = longval ();
27476 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27477 return 1;
27478 fprintf (f, "%ld\n", i);
27479 }
27480 else
27481 {
27482 unsigned long int i = ulongval ();
27483 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27484 return 1;
27485 fprintf (f, "%lu\n", i);
27486 }
27487 return ferror (f) || fclose (f) != 0;
27488
27489 ;
27490 return 0;
27491 }
27492 _ACEOF
27493 rm -f conftest$ac_exeext
27494 if { (ac_try="$ac_link"
27495 case "(($ac_try" in
27496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27497 *) ac_try_echo=$ac_try;;
27498 esac
27499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27500 (eval "$ac_link") 2>&5
27501 ac_status=$?
27502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27504 { (case "(($ac_try" in
27505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27506 *) ac_try_echo=$ac_try;;
27507 esac
27508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27509 (eval "$ac_try") 2>&5
27510 ac_status=$?
27511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27512 (exit $ac_status); }; }; then
27513 ac_cv_sizeof_boolean=`cat conftest.val`
27514 else
27515 echo "$as_me: program exited with status $ac_status" >&5
27516 echo "$as_me: failed program was:" >&5
27517 sed 's/^/| /' conftest.$ac_ext >&5
27518
27519 ( exit $ac_status )
27520 if test "$ac_cv_type_boolean" = yes; then
27521 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27522 See \`config.log' for more details." >&5
27523 echo "$as_me: error: cannot compute sizeof (boolean)
27524 See \`config.log' for more details." >&2;}
27525 { (exit 77); exit 77; }; }
27526 else
27527 ac_cv_sizeof_boolean=0
27528 fi
27529 fi
27530 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27531 fi
27532 rm -f conftest.val
27533 fi
27534 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27535 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27536
27537
27538
27539 cat >>confdefs.h <<_ACEOF
27540 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27541 _ACEOF
27542
27543
27544 cat >>confdefs.h <<_ACEOF
27545 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27546 _ACEOF
27547
27548
27549 fi
27550
27551 fi
27552 fi
27553 fi
27554 fi
27555 fi
27556
27557
27558 TIFF_LINK=
27559 TIFF_PREREQ_LINKS=-lm
27560 if test "$wxUSE_LIBTIFF" != "no" ; then
27561 cat >>confdefs.h <<\_ACEOF
27562 #define wxUSE_LIBTIFF 1
27563 _ACEOF
27564
27565
27566 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27567 if test "$wxUSE_LIBJPEG" = "sys"; then
27568 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27569 fi
27570 if test "$wxUSE_ZLIB" = "sys"; then
27571 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27572 fi
27573 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27574 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27575 if test "${ac_cv_header_tiffio_h+set}" = set; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 else
27578 cat >conftest.$ac_ext <<_ACEOF
27579 /* confdefs.h. */
27580 _ACEOF
27581 cat confdefs.h >>conftest.$ac_ext
27582 cat >>conftest.$ac_ext <<_ACEOF
27583 /* end confdefs.h. */
27584
27585
27586
27587 #include <tiffio.h>
27588 _ACEOF
27589 rm -f conftest.$ac_objext
27590 if { (ac_try="$ac_compile"
27591 case "(($ac_try" in
27592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27593 *) ac_try_echo=$ac_try;;
27594 esac
27595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27596 (eval "$ac_compile") 2>conftest.er1
27597 ac_status=$?
27598 grep -v '^ *+' conftest.er1 >conftest.err
27599 rm -f conftest.er1
27600 cat conftest.err >&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); } && {
27603 test -z "$ac_c_werror_flag" ||
27604 test ! -s conftest.err
27605 } && test -s conftest.$ac_objext; then
27606 ac_cv_header_tiffio_h=yes
27607 else
27608 echo "$as_me: failed program was:" >&5
27609 sed 's/^/| /' conftest.$ac_ext >&5
27610
27611 ac_cv_header_tiffio_h=no
27612 fi
27613
27614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27615 fi
27616 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27617 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27618 if test $ac_cv_header_tiffio_h = yes; then
27619
27620 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27621 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27622 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27623 echo $ECHO_N "(cached) $ECHO_C" >&6
27624 else
27625 ac_check_lib_save_LIBS=$LIBS
27626 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27627 cat >conftest.$ac_ext <<_ACEOF
27628 /* confdefs.h. */
27629 _ACEOF
27630 cat confdefs.h >>conftest.$ac_ext
27631 cat >>conftest.$ac_ext <<_ACEOF
27632 /* end confdefs.h. */
27633
27634 /* Override any GCC internal prototype to avoid an error.
27635 Use char because int might match the return type of a GCC
27636 builtin and then its argument prototype would still apply. */
27637 #ifdef __cplusplus
27638 extern "C"
27639 #endif
27640 char TIFFError ();
27641 int
27642 main ()
27643 {
27644 return TIFFError ();
27645 ;
27646 return 0;
27647 }
27648 _ACEOF
27649 rm -f conftest.$ac_objext conftest$ac_exeext
27650 if { (ac_try="$ac_link"
27651 case "(($ac_try" in
27652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27653 *) ac_try_echo=$ac_try;;
27654 esac
27655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27656 (eval "$ac_link") 2>conftest.er1
27657 ac_status=$?
27658 grep -v '^ *+' conftest.er1 >conftest.err
27659 rm -f conftest.er1
27660 cat conftest.err >&5
27661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662 (exit $ac_status); } && {
27663 test -z "$ac_c_werror_flag" ||
27664 test ! -s conftest.err
27665 } && test -s conftest$ac_exeext &&
27666 $as_test_x conftest$ac_exeext; then
27667 ac_cv_lib_tiff_TIFFError=yes
27668 else
27669 echo "$as_me: failed program was:" >&5
27670 sed 's/^/| /' conftest.$ac_ext >&5
27671
27672 ac_cv_lib_tiff_TIFFError=no
27673 fi
27674
27675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27676 conftest$ac_exeext conftest.$ac_ext
27677 LIBS=$ac_check_lib_save_LIBS
27678 fi
27679 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27680 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27681 if test $ac_cv_lib_tiff_TIFFError = yes; then
27682 TIFF_LINK=" -ltiff"
27683 fi
27684
27685
27686 fi
27687
27688
27689
27690 if test "x$TIFF_LINK" = "x" ; then
27691 if test "$wxUSE_LIBTIFF" = "sys" ; then
27692 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27693 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27694 { (exit 1); exit 1; }; }
27695 else
27696 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27697 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27698 wxUSE_LIBTIFF=builtin
27699 fi
27700 else
27701 wxUSE_LIBTIFF=sys
27702 fi
27703 fi
27704 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27705 if test "$wxUSE_LIBJPEG" = "no"; then
27706 ac_configure_args="$ac_configure_args --disable-jpeg"
27707 fi
27708 subdirs="$subdirs src/tiff"
27709
27710 fi
27711 fi
27712
27713
27714 if test "$wxUSE_WCHAR_T" != "yes"; then
27715 if test "$wxUSE_EXPAT" != "no"; then
27716 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27717 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27718 wxUSE_EXPAT=no
27719 fi
27720 if test "$wxUSE_XML" != "no"; then
27721 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27722 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27723 wxUSE_XML=no
27724 fi
27725 fi
27726
27727 if test "$wxUSE_EXPAT" != "no"; then
27728 wxUSE_XML=yes
27729 cat >>confdefs.h <<\_ACEOF
27730 #define wxUSE_EXPAT 1
27731 _ACEOF
27732
27733 cat >>confdefs.h <<\_ACEOF
27734 #define wxUSE_XML 1
27735 _ACEOF
27736
27737
27738 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27739 { echo "$as_me:$LINENO: checking for expat.h" >&5
27740 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27741 if test "${ac_cv_header_expat_h+set}" = set; then
27742 echo $ECHO_N "(cached) $ECHO_C" >&6
27743 else
27744 cat >conftest.$ac_ext <<_ACEOF
27745 /* confdefs.h. */
27746 _ACEOF
27747 cat confdefs.h >>conftest.$ac_ext
27748 cat >>conftest.$ac_ext <<_ACEOF
27749 /* end confdefs.h. */
27750
27751
27752 #include <expat.h>
27753 _ACEOF
27754 rm -f conftest.$ac_objext
27755 if { (ac_try="$ac_compile"
27756 case "(($ac_try" in
27757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27758 *) ac_try_echo=$ac_try;;
27759 esac
27760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27761 (eval "$ac_compile") 2>conftest.er1
27762 ac_status=$?
27763 grep -v '^ *+' conftest.er1 >conftest.err
27764 rm -f conftest.er1
27765 cat conftest.err >&5
27766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27767 (exit $ac_status); } && {
27768 test -z "$ac_c_werror_flag" ||
27769 test ! -s conftest.err
27770 } && test -s conftest.$ac_objext; then
27771 ac_cv_header_expat_h=yes
27772 else
27773 echo "$as_me: failed program was:" >&5
27774 sed 's/^/| /' conftest.$ac_ext >&5
27775
27776 ac_cv_header_expat_h=no
27777 fi
27778
27779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27780 fi
27781 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27782 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27783 if test $ac_cv_header_expat_h = yes; then
27784 found_expat_h=1
27785 fi
27786
27787
27788 if test "x$found_expat_h" = "x1"; then
27789 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27790 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27791 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27792 echo $ECHO_N "(cached) $ECHO_C" >&6
27793 else
27794
27795 ac_ext=cpp
27796 ac_cpp='$CXXCPP $CPPFLAGS'
27797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27800
27801 cat >conftest.$ac_ext <<_ACEOF
27802 /* confdefs.h. */
27803 _ACEOF
27804 cat confdefs.h >>conftest.$ac_ext
27805 cat >>conftest.$ac_ext <<_ACEOF
27806 /* end confdefs.h. */
27807 #include <expat.h>
27808 int
27809 main ()
27810 {
27811
27812 ;
27813 return 0;
27814 }
27815 _ACEOF
27816 rm -f conftest.$ac_objext
27817 if { (ac_try="$ac_compile"
27818 case "(($ac_try" in
27819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27820 *) ac_try_echo=$ac_try;;
27821 esac
27822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27823 (eval "$ac_compile") 2>conftest.er1
27824 ac_status=$?
27825 grep -v '^ *+' conftest.er1 >conftest.err
27826 rm -f conftest.er1
27827 cat conftest.err >&5
27828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27829 (exit $ac_status); } && {
27830 test -z "$ac_cxx_werror_flag" ||
27831 test ! -s conftest.err
27832 } && test -s conftest.$ac_objext; then
27833 wx_cv_expat_is_not_broken=yes
27834 else
27835 echo "$as_me: failed program was:" >&5
27836 sed 's/^/| /' conftest.$ac_ext >&5
27837
27838 wx_cv_expat_is_not_broken=no
27839
27840 fi
27841
27842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27843 ac_ext=c
27844 ac_cpp='$CPP $CPPFLAGS'
27845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27848
27849
27850
27851 fi
27852 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27853 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27854 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27855 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27856 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27857 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27858 echo $ECHO_N "(cached) $ECHO_C" >&6
27859 else
27860 ac_check_lib_save_LIBS=$LIBS
27861 LIBS="-lexpat $LIBS"
27862 cat >conftest.$ac_ext <<_ACEOF
27863 /* confdefs.h. */
27864 _ACEOF
27865 cat confdefs.h >>conftest.$ac_ext
27866 cat >>conftest.$ac_ext <<_ACEOF
27867 /* end confdefs.h. */
27868
27869 /* Override any GCC internal prototype to avoid an error.
27870 Use char because int might match the return type of a GCC
27871 builtin and then its argument prototype would still apply. */
27872 #ifdef __cplusplus
27873 extern "C"
27874 #endif
27875 char XML_ParserCreate ();
27876 int
27877 main ()
27878 {
27879 return XML_ParserCreate ();
27880 ;
27881 return 0;
27882 }
27883 _ACEOF
27884 rm -f conftest.$ac_objext conftest$ac_exeext
27885 if { (ac_try="$ac_link"
27886 case "(($ac_try" in
27887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27888 *) ac_try_echo=$ac_try;;
27889 esac
27890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27891 (eval "$ac_link") 2>conftest.er1
27892 ac_status=$?
27893 grep -v '^ *+' conftest.er1 >conftest.err
27894 rm -f conftest.er1
27895 cat conftest.err >&5
27896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27897 (exit $ac_status); } && {
27898 test -z "$ac_c_werror_flag" ||
27899 test ! -s conftest.err
27900 } && test -s conftest$ac_exeext &&
27901 $as_test_x conftest$ac_exeext; then
27902 ac_cv_lib_expat_XML_ParserCreate=yes
27903 else
27904 echo "$as_me: failed program was:" >&5
27905 sed 's/^/| /' conftest.$ac_ext >&5
27906
27907 ac_cv_lib_expat_XML_ParserCreate=no
27908 fi
27909
27910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27911 conftest$ac_exeext conftest.$ac_ext
27912 LIBS=$ac_check_lib_save_LIBS
27913 fi
27914 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27915 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27916 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27917 EXPAT_LINK=" -lexpat"
27918 fi
27919
27920 fi
27921 fi
27922 if test "x$EXPAT_LINK" = "x" ; then
27923 if test "$wxUSE_EXPAT" = "sys" ; then
27924 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27925 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27926 { (exit 1); exit 1; }; }
27927 else
27928 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27929 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27930 wxUSE_EXPAT=builtin
27931 fi
27932 else
27933 wxUSE_EXPAT=sys
27934 fi
27935 fi
27936 if test "$wxUSE_EXPAT" = "builtin" ; then
27937 subdirs="$subdirs src/expat"
27938
27939 fi
27940 fi
27941
27942
27943
27944 if test "$wxUSE_LIBMSPACK" != "no"; then
27945 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27946 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27947 if test "${ac_cv_header_mspack_h+set}" = set; then
27948 echo $ECHO_N "(cached) $ECHO_C" >&6
27949 else
27950 cat >conftest.$ac_ext <<_ACEOF
27951 /* confdefs.h. */
27952 _ACEOF
27953 cat confdefs.h >>conftest.$ac_ext
27954 cat >>conftest.$ac_ext <<_ACEOF
27955 /* end confdefs.h. */
27956
27957
27958 #include <mspack.h>
27959 _ACEOF
27960 rm -f conftest.$ac_objext
27961 if { (ac_try="$ac_compile"
27962 case "(($ac_try" in
27963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27964 *) ac_try_echo=$ac_try;;
27965 esac
27966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27967 (eval "$ac_compile") 2>conftest.er1
27968 ac_status=$?
27969 grep -v '^ *+' conftest.er1 >conftest.err
27970 rm -f conftest.er1
27971 cat conftest.err >&5
27972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27973 (exit $ac_status); } && {
27974 test -z "$ac_c_werror_flag" ||
27975 test ! -s conftest.err
27976 } && test -s conftest.$ac_objext; then
27977 ac_cv_header_mspack_h=yes
27978 else
27979 echo "$as_me: failed program was:" >&5
27980 sed 's/^/| /' conftest.$ac_ext >&5
27981
27982 ac_cv_header_mspack_h=no
27983 fi
27984
27985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27986 fi
27987 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27988 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27989 if test $ac_cv_header_mspack_h = yes; then
27990 found_mspack_h=1
27991 fi
27992
27993
27994 if test "x$found_mspack_h" = "x1"; then
27995 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27996 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27997 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27998 echo $ECHO_N "(cached) $ECHO_C" >&6
27999 else
28000 ac_check_lib_save_LIBS=$LIBS
28001 LIBS="-lmspack $LIBS"
28002 cat >conftest.$ac_ext <<_ACEOF
28003 /* confdefs.h. */
28004 _ACEOF
28005 cat confdefs.h >>conftest.$ac_ext
28006 cat >>conftest.$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28008
28009 /* Override any GCC internal prototype to avoid an error.
28010 Use char because int might match the return type of a GCC
28011 builtin and then its argument prototype would still apply. */
28012 #ifdef __cplusplus
28013 extern "C"
28014 #endif
28015 char mspack_create_chm_decompressor ();
28016 int
28017 main ()
28018 {
28019 return mspack_create_chm_decompressor ();
28020 ;
28021 return 0;
28022 }
28023 _ACEOF
28024 rm -f conftest.$ac_objext conftest$ac_exeext
28025 if { (ac_try="$ac_link"
28026 case "(($ac_try" in
28027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28028 *) ac_try_echo=$ac_try;;
28029 esac
28030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28031 (eval "$ac_link") 2>conftest.er1
28032 ac_status=$?
28033 grep -v '^ *+' conftest.er1 >conftest.err
28034 rm -f conftest.er1
28035 cat conftest.err >&5
28036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28037 (exit $ac_status); } && {
28038 test -z "$ac_c_werror_flag" ||
28039 test ! -s conftest.err
28040 } && test -s conftest$ac_exeext &&
28041 $as_test_x conftest$ac_exeext; then
28042 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28043 else
28044 echo "$as_me: failed program was:" >&5
28045 sed 's/^/| /' conftest.$ac_ext >&5
28046
28047 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28048 fi
28049
28050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28051 conftest$ac_exeext conftest.$ac_ext
28052 LIBS=$ac_check_lib_save_LIBS
28053 fi
28054 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28055 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28056 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28057 MSPACK_LINK=" -lmspack"
28058 fi
28059
28060 fi
28061 if test "x$MSPACK_LINK" = "x" ; then
28062 wxUSE_LIBMSPACK=no
28063 fi
28064 fi
28065
28066 if test "$wxUSE_LIBMSPACK" != "no"; then
28067 cat >>confdefs.h <<\_ACEOF
28068 #define wxUSE_LIBMSPACK 1
28069 _ACEOF
28070
28071 fi
28072
28073
28074
28075 AFMINSTALL=
28076 WIN32INSTALL=
28077
28078 TOOLKIT=
28079 TOOLKIT_INCLUDE=
28080 WIDGET_SET=
28081
28082 if test "$USE_WIN32" = 1 ; then
28083
28084 for ac_header in w32api.h
28085 do
28086 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28087 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28090 echo $ECHO_N "(cached) $ECHO_C" >&6
28091 else
28092 cat >conftest.$ac_ext <<_ACEOF
28093 /* confdefs.h. */
28094 _ACEOF
28095 cat confdefs.h >>conftest.$ac_ext
28096 cat >>conftest.$ac_ext <<_ACEOF
28097 /* end confdefs.h. */
28098
28099
28100 #include <$ac_header>
28101 _ACEOF
28102 rm -f conftest.$ac_objext
28103 if { (ac_try="$ac_compile"
28104 case "(($ac_try" in
28105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28106 *) ac_try_echo=$ac_try;;
28107 esac
28108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28109 (eval "$ac_compile") 2>conftest.er1
28110 ac_status=$?
28111 grep -v '^ *+' conftest.er1 >conftest.err
28112 rm -f conftest.er1
28113 cat conftest.err >&5
28114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115 (exit $ac_status); } && {
28116 test -z "$ac_c_werror_flag" ||
28117 test ! -s conftest.err
28118 } && test -s conftest.$ac_objext; then
28119 eval "$as_ac_Header=yes"
28120 else
28121 echo "$as_me: failed program was:" >&5
28122 sed 's/^/| /' conftest.$ac_ext >&5
28123
28124 eval "$as_ac_Header=no"
28125 fi
28126
28127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28128 fi
28129 ac_res=`eval echo '${'$as_ac_Header'}'`
28130 { echo "$as_me:$LINENO: result: $ac_res" >&5
28131 echo "${ECHO_T}$ac_res" >&6; }
28132 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28133 cat >>confdefs.h <<_ACEOF
28134 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28135 _ACEOF
28136
28137 fi
28138
28139 done
28140
28141 { echo "$as_me:$LINENO: checking for windows.h" >&5
28142 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28143 if test "${ac_cv_header_windows_h+set}" = set; then
28144 echo $ECHO_N "(cached) $ECHO_C" >&6
28145 else
28146 cat >conftest.$ac_ext <<_ACEOF
28147 /* confdefs.h. */
28148 _ACEOF
28149 cat confdefs.h >>conftest.$ac_ext
28150 cat >>conftest.$ac_ext <<_ACEOF
28151 /* end confdefs.h. */
28152
28153
28154 #include <windows.h>
28155 _ACEOF
28156 rm -f conftest.$ac_objext
28157 if { (ac_try="$ac_compile"
28158 case "(($ac_try" in
28159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28160 *) ac_try_echo=$ac_try;;
28161 esac
28162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28163 (eval "$ac_compile") 2>conftest.er1
28164 ac_status=$?
28165 grep -v '^ *+' conftest.er1 >conftest.err
28166 rm -f conftest.er1
28167 cat conftest.err >&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); } && {
28170 test -z "$ac_c_werror_flag" ||
28171 test ! -s conftest.err
28172 } && test -s conftest.$ac_objext; then
28173 ac_cv_header_windows_h=yes
28174 else
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.$ac_ext >&5
28177
28178 ac_cv_header_windows_h=no
28179 fi
28180
28181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28182 fi
28183 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28184 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28185 if test $ac_cv_header_windows_h = yes; then
28186 :
28187 else
28188
28189 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28190 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28191 { (exit 1); exit 1; }; }
28192
28193 fi
28194
28195
28196
28197 case "${host}" in
28198 x86_64-*-mingw32* )
28199 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28200 ;;
28201 * )
28202 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28203 ;;
28204 esac
28205 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28206 LIBS="$LIBS -loleacc"
28207 fi
28208
28209 case "${host}" in
28210 *-*-cygwin* )
28211 LIBS="$LIBS -lkernel32 -luser32"
28212 esac
28213
28214 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28215 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28216
28217 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28218
28219 WIN32INSTALL=win32install
28220
28221 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28222 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28223 if test "${ac_cv_header_pbt_h+set}" = set; then
28224 echo $ECHO_N "(cached) $ECHO_C" >&6
28225 else
28226 cat >conftest.$ac_ext <<_ACEOF
28227 /* confdefs.h. */
28228 _ACEOF
28229 cat confdefs.h >>conftest.$ac_ext
28230 cat >>conftest.$ac_ext <<_ACEOF
28231 /* end confdefs.h. */
28232
28233
28234 #include <pbt.h>
28235 _ACEOF
28236 rm -f conftest.$ac_objext
28237 if { (ac_try="$ac_compile"
28238 case "(($ac_try" in
28239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28240 *) ac_try_echo=$ac_try;;
28241 esac
28242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28243 (eval "$ac_compile") 2>conftest.er1
28244 ac_status=$?
28245 grep -v '^ *+' conftest.er1 >conftest.err
28246 rm -f conftest.er1
28247 cat conftest.err >&5
28248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28249 (exit $ac_status); } && {
28250 test -z "$ac_c_werror_flag" ||
28251 test ! -s conftest.err
28252 } && test -s conftest.$ac_objext; then
28253 ac_cv_header_pbt_h=yes
28254 else
28255 echo "$as_me: failed program was:" >&5
28256 sed 's/^/| /' conftest.$ac_ext >&5
28257
28258 ac_cv_header_pbt_h=no
28259 fi
28260
28261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28262 fi
28263 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28264 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28265 if test $ac_cv_header_pbt_h = yes; then
28266 :
28267 else
28268 cat >>confdefs.h <<\_ACEOF
28269 #define NEED_PBT_H 1
28270 _ACEOF
28271
28272 fi
28273
28274
28275 fi
28276
28277 if test "$wxUSE_GUI" = "yes"; then
28278 USE_GUI=1
28279
28280 GUI_TK_LIBRARY=
28281
28282 WXGTK12=
28283 WXGTK127=
28284 WXGTK2=
28285 WXGPE=
28286
28287 if test "$wxUSE_COCOA" = 1 ; then
28288 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28289 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28290 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28291 wxUSE_PRINTING_ARCHITECTURE=no
28292 fi
28293 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28294 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28295 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28296 wxUSE_DRAG_AND_DROP=no
28297 fi
28298 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28299 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28300 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28301 wxUSE_DRAGIMAGE=no
28302 fi
28303 fi
28304
28305 if test "$wxUSE_MSW" = 1 ; then
28306 TOOLKIT=MSW
28307 GUIDIST=MSW_DIST
28308
28309 case "${host}" in
28310 *-*-mingw32* )
28311 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28312 esac
28313 fi
28314
28315 if test "$wxUSE_GTK" = 1; then
28316 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28317 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28318
28319 gtk_version_cached=1
28320 if test "${wx_cv_lib_gtk+set}" = set; then
28321 echo $ECHO_N "(cached) $ECHO_C" >&6
28322 else
28323
28324 gtk_version_cached=0
28325 { echo "$as_me:$LINENO: result: " >&5
28326 echo "${ECHO_T}" >&6; }
28327
28328 GTK_MODULES=
28329 if test "$wxUSE_THREADS" = "yes"; then
28330 GTK_MODULES=gthread
28331 fi
28332
28333 wx_cv_lib_gtk=
28334 if test "x$wxGTK_VERSION" != "x1"
28335 then
28336 case "${host}" in
28337 *-*-solaris2* )
28338 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28339 enable_gtktest=no
28340 fi
28341 esac
28342
28343 # Check whether --enable-gtktest was given.
28344 if test "${enable_gtktest+set}" = set; then
28345 enableval=$enable_gtktest;
28346 else
28347 enable_gtktest=yes
28348 fi
28349
28350
28351 pkg_config_args=gtk+-2.0
28352 for module in . $GTK_MODULES
28353 do
28354 case "$module" in
28355 gthread)
28356 pkg_config_args="$pkg_config_args gthread-2.0"
28357 ;;
28358 esac
28359 done
28360
28361 no_gtk=""
28362
28363 # Extract the first word of "pkg-config", so it can be a program name with args.
28364 set dummy pkg-config; ac_word=$2
28365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28367 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28368 echo $ECHO_N "(cached) $ECHO_C" >&6
28369 else
28370 case $PKG_CONFIG in
28371 [\\/]* | ?:[\\/]*)
28372 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28373 ;;
28374 *)
28375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28376 for as_dir in $PATH
28377 do
28378 IFS=$as_save_IFS
28379 test -z "$as_dir" && as_dir=.
28380 for ac_exec_ext in '' $ac_executable_extensions; do
28381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28382 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28384 break 2
28385 fi
28386 done
28387 done
28388 IFS=$as_save_IFS
28389
28390 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28391 ;;
28392 esac
28393 fi
28394 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28395 if test -n "$PKG_CONFIG"; then
28396 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28397 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28398 else
28399 { echo "$as_me:$LINENO: result: no" >&5
28400 echo "${ECHO_T}no" >&6; }
28401 fi
28402
28403
28404
28405 if test x$PKG_CONFIG != xno ; then
28406 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28407 :
28408 else
28409 echo "*** pkg-config too old; version 0.7 or better required."
28410 no_gtk=yes
28411 PKG_CONFIG=no
28412 fi
28413 else
28414 no_gtk=yes
28415 fi
28416
28417 min_gtk_version=2.4.0
28418 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28419 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28420
28421 if test x$PKG_CONFIG != xno ; then
28422 ## don't try to run the test against uninstalled libtool libs
28423 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28424 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28425 enable_gtktest=no
28426 fi
28427
28428 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28429 :
28430 else
28431 no_gtk=yes
28432 fi
28433 fi
28434
28435 if test x"$no_gtk" = x ; then
28436 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28437 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28438 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28439 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28440 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28441 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28442 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28444 if test "x$enable_gtktest" = "xyes" ; then
28445 ac_save_CFLAGS="$CFLAGS"
28446 ac_save_LIBS="$LIBS"
28447 CFLAGS="$CFLAGS $GTK_CFLAGS"
28448 LIBS="$GTK_LIBS $LIBS"
28449 rm -f conf.gtktest
28450 if test "$cross_compiling" = yes; then
28451 echo $ac_n "cross compiling; assumed OK... $ac_c"
28452 else
28453 cat >conftest.$ac_ext <<_ACEOF
28454 /* confdefs.h. */
28455 _ACEOF
28456 cat confdefs.h >>conftest.$ac_ext
28457 cat >>conftest.$ac_ext <<_ACEOF
28458 /* end confdefs.h. */
28459
28460 #include <gtk/gtk.h>
28461 #include <stdio.h>
28462 #include <stdlib.h>
28463
28464 int
28465 main ()
28466 {
28467 int major, minor, micro;
28468 char *tmp_version;
28469
28470 system ("touch conf.gtktest");
28471
28472 /* HP/UX 9 (%@#!) writes to sscanf strings */
28473 tmp_version = g_strdup("$min_gtk_version");
28474 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28475 printf("%s, bad version string\n", "$min_gtk_version");
28476 exit(1);
28477 }
28478
28479 if ((gtk_major_version != $gtk_config_major_version) ||
28480 (gtk_minor_version != $gtk_config_minor_version) ||
28481 (gtk_micro_version != $gtk_config_micro_version))
28482 {
28483 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28484 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28485 gtk_major_version, gtk_minor_version, gtk_micro_version);
28486 printf ("*** was found! If pkg-config was correct, then it is best\n");
28487 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28488 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28489 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28490 printf("*** required on your system.\n");
28491 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28492 printf("*** to point to the correct configuration files\n");
28493 }
28494 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28495 (gtk_minor_version != GTK_MINOR_VERSION) ||
28496 (gtk_micro_version != GTK_MICRO_VERSION))
28497 {
28498 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28499 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28500 printf("*** library (version %d.%d.%d)\n",
28501 gtk_major_version, gtk_minor_version, gtk_micro_version);
28502 }
28503 else
28504 {
28505 if ((gtk_major_version > major) ||
28506 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28507 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28508 {
28509 return 0;
28510 }
28511 else
28512 {
28513 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28514 gtk_major_version, gtk_minor_version, gtk_micro_version);
28515 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28516 major, minor, micro);
28517 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28518 printf("***\n");
28519 printf("*** If you have already installed a sufficiently new version, this error\n");
28520 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28521 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28522 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28523 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28524 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28525 printf("*** so that the correct libraries are found at run-time))\n");
28526 }
28527 }
28528 return 1;
28529 }
28530
28531 _ACEOF
28532 rm -f conftest$ac_exeext
28533 if { (ac_try="$ac_link"
28534 case "(($ac_try" in
28535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28536 *) ac_try_echo=$ac_try;;
28537 esac
28538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28539 (eval "$ac_link") 2>&5
28540 ac_status=$?
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28543 { (case "(($ac_try" in
28544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28545 *) ac_try_echo=$ac_try;;
28546 esac
28547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28548 (eval "$ac_try") 2>&5
28549 ac_status=$?
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552 :
28553 else
28554 echo "$as_me: program exited with status $ac_status" >&5
28555 echo "$as_me: failed program was:" >&5
28556 sed 's/^/| /' conftest.$ac_ext >&5
28557
28558 ( exit $ac_status )
28559 no_gtk=yes
28560 fi
28561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28562 fi
28563
28564
28565 CFLAGS="$ac_save_CFLAGS"
28566 LIBS="$ac_save_LIBS"
28567 fi
28568 fi
28569 if test "x$no_gtk" = x ; then
28570 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28571 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28572 wx_cv_lib_gtk=2.0
28573 else
28574 { echo "$as_me:$LINENO: result: no" >&5
28575 echo "${ECHO_T}no" >&6; }
28576 if test "$PKG_CONFIG" = "no" ; then
28577 echo "*** A new enough version of pkg-config was not found."
28578 echo "*** See http://pkgconfig.sourceforge.net"
28579 else
28580 if test -f conf.gtktest ; then
28581 :
28582 else
28583 echo "*** Could not run GTK+ test program, checking why..."
28584 ac_save_CFLAGS="$CFLAGS"
28585 ac_save_LIBS="$LIBS"
28586 CFLAGS="$CFLAGS $GTK_CFLAGS"
28587 LIBS="$LIBS $GTK_LIBS"
28588 cat >conftest.$ac_ext <<_ACEOF
28589 /* confdefs.h. */
28590 _ACEOF
28591 cat confdefs.h >>conftest.$ac_ext
28592 cat >>conftest.$ac_ext <<_ACEOF
28593 /* end confdefs.h. */
28594
28595 #include <gtk/gtk.h>
28596 #include <stdio.h>
28597
28598 int
28599 main ()
28600 {
28601 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28602 ;
28603 return 0;
28604 }
28605 _ACEOF
28606 rm -f conftest.$ac_objext conftest$ac_exeext
28607 if { (ac_try="$ac_link"
28608 case "(($ac_try" in
28609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28610 *) ac_try_echo=$ac_try;;
28611 esac
28612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28613 (eval "$ac_link") 2>conftest.er1
28614 ac_status=$?
28615 grep -v '^ *+' conftest.er1 >conftest.err
28616 rm -f conftest.er1
28617 cat conftest.err >&5
28618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28619 (exit $ac_status); } && {
28620 test -z "$ac_c_werror_flag" ||
28621 test ! -s conftest.err
28622 } && test -s conftest$ac_exeext &&
28623 $as_test_x conftest$ac_exeext; then
28624 echo "*** The test program compiled, but did not run. This usually means"
28625 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28626 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28627 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28628 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28629 echo "*** is required on your system"
28630 echo "***"
28631 echo "*** If you have an old version installed, it is best to remove it, although"
28632 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28633 else
28634 echo "$as_me: failed program was:" >&5
28635 sed 's/^/| /' conftest.$ac_ext >&5
28636
28637 echo "*** The test program failed to compile or link. See the file config.log for the"
28638 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28639 fi
28640
28641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28642 conftest$ac_exeext conftest.$ac_ext
28643 CFLAGS="$ac_save_CFLAGS"
28644 LIBS="$ac_save_LIBS"
28645 fi
28646 fi
28647 GTK_CFLAGS=""
28648 GTK_LIBS=""
28649 :
28650 fi
28651
28652
28653 rm -f conf.gtktest
28654
28655
28656 case "${host}" in
28657 *-*-solaris2* )
28658 if test "$wxUSE_SHARED" != "yes"; then
28659 GTK_LIBS="$GTK_LIBS -lX11"
28660 fi
28661 esac
28662 fi
28663
28664 if test -z "$wx_cv_lib_gtk"; then
28665 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28666
28667 # Check whether --with-gtk-prefix was given.
28668 if test "${with_gtk_prefix+set}" = set; then
28669 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28670 else
28671 gtk_config_prefix=""
28672 fi
28673
28674
28675 # Check whether --with-gtk-exec-prefix was given.
28676 if test "${with_gtk_exec_prefix+set}" = set; then
28677 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28678 else
28679 gtk_config_exec_prefix=""
28680 fi
28681
28682 # Check whether --enable-gtktest was given.
28683 if test "${enable_gtktest+set}" = set; then
28684 enableval=$enable_gtktest;
28685 else
28686 enable_gtktest=yes
28687 fi
28688
28689
28690 for module in . $GTK_MODULES
28691 do
28692 case "$module" in
28693 gthread)
28694 gtk_config_args="$gtk_config_args gthread"
28695 ;;
28696 esac
28697 done
28698
28699 if test x$gtk_config_exec_prefix != x ; then
28700 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28701 if test x${GTK_CONFIG+set} != xset ; then
28702 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28703 fi
28704 fi
28705 if test x$gtk_config_prefix != x ; then
28706 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28707 if test x${GTK_CONFIG+set} != xset ; then
28708 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28709 fi
28710 fi
28711
28712 # Extract the first word of "gtk-config", so it can be a program name with args.
28713 set dummy gtk-config; ac_word=$2
28714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28716 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28717 echo $ECHO_N "(cached) $ECHO_C" >&6
28718 else
28719 case $GTK_CONFIG in
28720 [\\/]* | ?:[\\/]*)
28721 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28722 ;;
28723 *)
28724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28725 for as_dir in $PATH
28726 do
28727 IFS=$as_save_IFS
28728 test -z "$as_dir" && as_dir=.
28729 for ac_exec_ext in '' $ac_executable_extensions; do
28730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28731 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28733 break 2
28734 fi
28735 done
28736 done
28737 IFS=$as_save_IFS
28738
28739 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28740 ;;
28741 esac
28742 fi
28743 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28744 if test -n "$GTK_CONFIG"; then
28745 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28746 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28747 else
28748 { echo "$as_me:$LINENO: result: no" >&5
28749 echo "${ECHO_T}no" >&6; }
28750 fi
28751
28752
28753 min_gtk_version=1.2.7
28754 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28755 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28756 no_gtk=""
28757 if test "$GTK_CONFIG" = "no" ; then
28758 no_gtk=yes
28759 else
28760 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28761 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28762 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28764 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28766 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28768 if test "x$enable_gtktest" = "xyes" ; then
28769 ac_save_CFLAGS="$CFLAGS"
28770 ac_save_LIBS="$LIBS"
28771 CFLAGS="$CFLAGS $GTK_CFLAGS"
28772 LIBS="$GTK_LIBS $LIBS"
28773 rm -f conf.gtktest
28774 if test "$cross_compiling" = yes; then
28775 echo $ac_n "cross compiling; assumed OK... $ac_c"
28776 else
28777 cat >conftest.$ac_ext <<_ACEOF
28778 /* confdefs.h. */
28779 _ACEOF
28780 cat confdefs.h >>conftest.$ac_ext
28781 cat >>conftest.$ac_ext <<_ACEOF
28782 /* end confdefs.h. */
28783
28784 #include <gtk/gtk.h>
28785 #include <stdio.h>
28786 #include <stdlib.h>
28787
28788 int
28789 main ()
28790 {
28791 int major, minor, micro;
28792 char *tmp_version;
28793
28794 system ("touch conf.gtktest");
28795
28796 /* HP/UX 9 (%@#!) writes to sscanf strings */
28797 tmp_version = g_strdup("$min_gtk_version");
28798 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28799 printf("%s, bad version string\n", "$min_gtk_version");
28800 exit(1);
28801 }
28802
28803 if ((gtk_major_version != $gtk_config_major_version) ||
28804 (gtk_minor_version != $gtk_config_minor_version) ||
28805 (gtk_micro_version != $gtk_config_micro_version))
28806 {
28807 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28808 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28809 gtk_major_version, gtk_minor_version, gtk_micro_version);
28810 printf ("*** was found! If gtk-config was correct, then it is best\n");
28811 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28812 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28813 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28814 printf("*** required on your system.\n");
28815 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28816 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28817 printf("*** before re-running configure\n");
28818 }
28819 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28820 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28821 (gtk_minor_version != GTK_MINOR_VERSION) ||
28822 (gtk_micro_version != GTK_MICRO_VERSION))
28823 {
28824 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28825 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28826 printf("*** library (version %d.%d.%d)\n",
28827 gtk_major_version, gtk_minor_version, gtk_micro_version);
28828 }
28829 #endif /* defined (GTK_MAJOR_VERSION) ... */
28830 else
28831 {
28832 if ((gtk_major_version > major) ||
28833 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28834 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28835 {
28836 return 0;
28837 }
28838 else
28839 {
28840 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28841 gtk_major_version, gtk_minor_version, gtk_micro_version);
28842 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28843 major, minor, micro);
28844 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28845 printf("***\n");
28846 printf("*** If you have already installed a sufficiently new version, this error\n");
28847 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28848 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28849 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28850 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28851 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28852 printf("*** so that the correct libraries are found at run-time))\n");
28853 }
28854 }
28855 return 1;
28856 }
28857
28858 _ACEOF
28859 rm -f conftest$ac_exeext
28860 if { (ac_try="$ac_link"
28861 case "(($ac_try" in
28862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28863 *) ac_try_echo=$ac_try;;
28864 esac
28865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28866 (eval "$ac_link") 2>&5
28867 ac_status=$?
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28870 { (case "(($ac_try" in
28871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28872 *) ac_try_echo=$ac_try;;
28873 esac
28874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28875 (eval "$ac_try") 2>&5
28876 ac_status=$?
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); }; }; then
28879 :
28880 else
28881 echo "$as_me: program exited with status $ac_status" >&5
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28884
28885 ( exit $ac_status )
28886 no_gtk=yes
28887 fi
28888 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28889 fi
28890
28891
28892 CFLAGS="$ac_save_CFLAGS"
28893 LIBS="$ac_save_LIBS"
28894 fi
28895 fi
28896 if test "x$no_gtk" = x ; then
28897 { echo "$as_me:$LINENO: result: yes" >&5
28898 echo "${ECHO_T}yes" >&6; }
28899 wx_cv_lib_gtk=1.2.7
28900 else
28901 { echo "$as_me:$LINENO: result: no" >&5
28902 echo "${ECHO_T}no" >&6; }
28903 if test "$GTK_CONFIG" = "no" ; then
28904 echo "*** The gtk-config script installed by GTK could not be found"
28905 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28906 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28907 echo "*** full path to gtk-config."
28908 else
28909 if test -f conf.gtktest ; then
28910 :
28911 else
28912 echo "*** Could not run GTK test program, checking why..."
28913 CFLAGS="$CFLAGS $GTK_CFLAGS"
28914 LIBS="$LIBS $GTK_LIBS"
28915 cat >conftest.$ac_ext <<_ACEOF
28916 /* confdefs.h. */
28917 _ACEOF
28918 cat confdefs.h >>conftest.$ac_ext
28919 cat >>conftest.$ac_ext <<_ACEOF
28920 /* end confdefs.h. */
28921
28922 #include <gtk/gtk.h>
28923 #include <stdio.h>
28924
28925 int
28926 main ()
28927 {
28928 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28929 ;
28930 return 0;
28931 }
28932 _ACEOF
28933 rm -f conftest.$ac_objext conftest$ac_exeext
28934 if { (ac_try="$ac_link"
28935 case "(($ac_try" in
28936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28937 *) ac_try_echo=$ac_try;;
28938 esac
28939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28940 (eval "$ac_link") 2>conftest.er1
28941 ac_status=$?
28942 grep -v '^ *+' conftest.er1 >conftest.err
28943 rm -f conftest.er1
28944 cat conftest.err >&5
28945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28946 (exit $ac_status); } && {
28947 test -z "$ac_c_werror_flag" ||
28948 test ! -s conftest.err
28949 } && test -s conftest$ac_exeext &&
28950 $as_test_x conftest$ac_exeext; then
28951 echo "*** The test program compiled, but did not run. This usually means"
28952 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28953 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28954 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28955 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28956 echo "*** is required on your system"
28957 echo "***"
28958 echo "*** If you have an old version installed, it is best to remove it, although"
28959 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28960 echo "***"
28961 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28962 echo "*** came with the system with the command"
28963 echo "***"
28964 echo "*** rpm --erase --nodeps gtk gtk-devel"
28965 else
28966 echo "$as_me: failed program was:" >&5
28967 sed 's/^/| /' conftest.$ac_ext >&5
28968
28969 echo "*** The test program failed to compile or link. See the file config.log for the"
28970 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28971 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28972 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28973 fi
28974
28975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28976 conftest$ac_exeext conftest.$ac_ext
28977 CFLAGS="$ac_save_CFLAGS"
28978 LIBS="$ac_save_LIBS"
28979 fi
28980 fi
28981 GTK_CFLAGS=""
28982 GTK_LIBS=""
28983 :
28984 fi
28985
28986
28987 rm -f conf.gtktest
28988
28989
28990 if test -z "$wx_cv_lib_gtk"; then
28991
28992 # Check whether --with-gtk-prefix was given.
28993 if test "${with_gtk_prefix+set}" = set; then
28994 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28995 else
28996 gtk_config_prefix=""
28997 fi
28998
28999
29000 # Check whether --with-gtk-exec-prefix was given.
29001 if test "${with_gtk_exec_prefix+set}" = set; then
29002 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
29003 else
29004 gtk_config_exec_prefix=""
29005 fi
29006
29007 # Check whether --enable-gtktest was given.
29008 if test "${enable_gtktest+set}" = set; then
29009 enableval=$enable_gtktest;
29010 else
29011 enable_gtktest=yes
29012 fi
29013
29014
29015 for module in . $GTK_MODULES
29016 do
29017 case "$module" in
29018 gthread)
29019 gtk_config_args="$gtk_config_args gthread"
29020 ;;
29021 esac
29022 done
29023
29024 if test x$gtk_config_exec_prefix != x ; then
29025 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29026 if test x${GTK_CONFIG+set} != xset ; then
29027 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29028 fi
29029 fi
29030 if test x$gtk_config_prefix != x ; then
29031 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29032 if test x${GTK_CONFIG+set} != xset ; then
29033 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29034 fi
29035 fi
29036
29037 # Extract the first word of "gtk-config", so it can be a program name with args.
29038 set dummy gtk-config; ac_word=$2
29039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29041 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29042 echo $ECHO_N "(cached) $ECHO_C" >&6
29043 else
29044 case $GTK_CONFIG in
29045 [\\/]* | ?:[\\/]*)
29046 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29047 ;;
29048 *)
29049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29050 for as_dir in $PATH
29051 do
29052 IFS=$as_save_IFS
29053 test -z "$as_dir" && as_dir=.
29054 for ac_exec_ext in '' $ac_executable_extensions; do
29055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29056 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29058 break 2
29059 fi
29060 done
29061 done
29062 IFS=$as_save_IFS
29063
29064 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29065 ;;
29066 esac
29067 fi
29068 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29069 if test -n "$GTK_CONFIG"; then
29070 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29071 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29072 else
29073 { echo "$as_me:$LINENO: result: no" >&5
29074 echo "${ECHO_T}no" >&6; }
29075 fi
29076
29077
29078 min_gtk_version=1.2.3
29079 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29080 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29081 no_gtk=""
29082 if test "$GTK_CONFIG" = "no" ; then
29083 no_gtk=yes
29084 else
29085 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29086 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29087 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29088 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29089 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29090 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29091 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29092 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29093 if test "x$enable_gtktest" = "xyes" ; then
29094 ac_save_CFLAGS="$CFLAGS"
29095 ac_save_LIBS="$LIBS"
29096 CFLAGS="$CFLAGS $GTK_CFLAGS"
29097 LIBS="$GTK_LIBS $LIBS"
29098 rm -f conf.gtktest
29099 if test "$cross_compiling" = yes; then
29100 echo $ac_n "cross compiling; assumed OK... $ac_c"
29101 else
29102 cat >conftest.$ac_ext <<_ACEOF
29103 /* confdefs.h. */
29104 _ACEOF
29105 cat confdefs.h >>conftest.$ac_ext
29106 cat >>conftest.$ac_ext <<_ACEOF
29107 /* end confdefs.h. */
29108
29109 #include <gtk/gtk.h>
29110 #include <stdio.h>
29111 #include <stdlib.h>
29112
29113 int
29114 main ()
29115 {
29116 int major, minor, micro;
29117 char *tmp_version;
29118
29119 system ("touch conf.gtktest");
29120
29121 /* HP/UX 9 (%@#!) writes to sscanf strings */
29122 tmp_version = g_strdup("$min_gtk_version");
29123 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29124 printf("%s, bad version string\n", "$min_gtk_version");
29125 exit(1);
29126 }
29127
29128 if ((gtk_major_version != $gtk_config_major_version) ||
29129 (gtk_minor_version != $gtk_config_minor_version) ||
29130 (gtk_micro_version != $gtk_config_micro_version))
29131 {
29132 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29133 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29134 gtk_major_version, gtk_minor_version, gtk_micro_version);
29135 printf ("*** was found! If gtk-config was correct, then it is best\n");
29136 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29137 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29138 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29139 printf("*** required on your system.\n");
29140 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29141 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29142 printf("*** before re-running configure\n");
29143 }
29144 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29145 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29146 (gtk_minor_version != GTK_MINOR_VERSION) ||
29147 (gtk_micro_version != GTK_MICRO_VERSION))
29148 {
29149 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29150 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29151 printf("*** library (version %d.%d.%d)\n",
29152 gtk_major_version, gtk_minor_version, gtk_micro_version);
29153 }
29154 #endif /* defined (GTK_MAJOR_VERSION) ... */
29155 else
29156 {
29157 if ((gtk_major_version > major) ||
29158 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29159 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29160 {
29161 return 0;
29162 }
29163 else
29164 {
29165 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29166 gtk_major_version, gtk_minor_version, gtk_micro_version);
29167 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29168 major, minor, micro);
29169 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29170 printf("***\n");
29171 printf("*** If you have already installed a sufficiently new version, this error\n");
29172 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29173 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29174 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29175 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29176 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29177 printf("*** so that the correct libraries are found at run-time))\n");
29178 }
29179 }
29180 return 1;
29181 }
29182
29183 _ACEOF
29184 rm -f conftest$ac_exeext
29185 if { (ac_try="$ac_link"
29186 case "(($ac_try" in
29187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29188 *) ac_try_echo=$ac_try;;
29189 esac
29190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29191 (eval "$ac_link") 2>&5
29192 ac_status=$?
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29195 { (case "(($ac_try" in
29196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29197 *) ac_try_echo=$ac_try;;
29198 esac
29199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29200 (eval "$ac_try") 2>&5
29201 ac_status=$?
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; }; then
29204 :
29205 else
29206 echo "$as_me: program exited with status $ac_status" >&5
29207 echo "$as_me: failed program was:" >&5
29208 sed 's/^/| /' conftest.$ac_ext >&5
29209
29210 ( exit $ac_status )
29211 no_gtk=yes
29212 fi
29213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29214 fi
29215
29216
29217 CFLAGS="$ac_save_CFLAGS"
29218 LIBS="$ac_save_LIBS"
29219 fi
29220 fi
29221 if test "x$no_gtk" = x ; then
29222 { echo "$as_me:$LINENO: result: yes" >&5
29223 echo "${ECHO_T}yes" >&6; }
29224 wx_cv_lib_gtk=1.2.3
29225 else
29226 { echo "$as_me:$LINENO: result: no" >&5
29227 echo "${ECHO_T}no" >&6; }
29228 if test "$GTK_CONFIG" = "no" ; then
29229 echo "*** The gtk-config script installed by GTK could not be found"
29230 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29231 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29232 echo "*** full path to gtk-config."
29233 else
29234 if test -f conf.gtktest ; then
29235 :
29236 else
29237 echo "*** Could not run GTK test program, checking why..."
29238 CFLAGS="$CFLAGS $GTK_CFLAGS"
29239 LIBS="$LIBS $GTK_LIBS"
29240 cat >conftest.$ac_ext <<_ACEOF
29241 /* confdefs.h. */
29242 _ACEOF
29243 cat confdefs.h >>conftest.$ac_ext
29244 cat >>conftest.$ac_ext <<_ACEOF
29245 /* end confdefs.h. */
29246
29247 #include <gtk/gtk.h>
29248 #include <stdio.h>
29249
29250 int
29251 main ()
29252 {
29253 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29254 ;
29255 return 0;
29256 }
29257 _ACEOF
29258 rm -f conftest.$ac_objext conftest$ac_exeext
29259 if { (ac_try="$ac_link"
29260 case "(($ac_try" in
29261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29262 *) ac_try_echo=$ac_try;;
29263 esac
29264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29265 (eval "$ac_link") 2>conftest.er1
29266 ac_status=$?
29267 grep -v '^ *+' conftest.er1 >conftest.err
29268 rm -f conftest.er1
29269 cat conftest.err >&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); } && {
29272 test -z "$ac_c_werror_flag" ||
29273 test ! -s conftest.err
29274 } && test -s conftest$ac_exeext &&
29275 $as_test_x conftest$ac_exeext; then
29276 echo "*** The test program compiled, but did not run. This usually means"
29277 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29278 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29279 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29280 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29281 echo "*** is required on your system"
29282 echo "***"
29283 echo "*** If you have an old version installed, it is best to remove it, although"
29284 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29285 echo "***"
29286 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29287 echo "*** came with the system with the command"
29288 echo "***"
29289 echo "*** rpm --erase --nodeps gtk gtk-devel"
29290 else
29291 echo "$as_me: failed program was:" >&5
29292 sed 's/^/| /' conftest.$ac_ext >&5
29293
29294 echo "*** The test program failed to compile or link. See the file config.log for the"
29295 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29296 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29297 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29298 fi
29299
29300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29301 conftest$ac_exeext conftest.$ac_ext
29302 CFLAGS="$ac_save_CFLAGS"
29303 LIBS="$ac_save_LIBS"
29304 fi
29305 fi
29306 GTK_CFLAGS=""
29307 GTK_LIBS=""
29308 :
29309 fi
29310
29311
29312 rm -f conf.gtktest
29313
29314 fi
29315 fi
29316 fi
29317
29318 if test -z "$wx_cv_lib_gtk"; then
29319 wx_cv_lib_gtk=none
29320 else
29321 wx_cv_cflags_gtk=$GTK_CFLAGS
29322 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29323 fi
29324
29325
29326 fi
29327
29328
29329 if test "$gtk_version_cached" = 1; then
29330 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29331 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29332 fi
29333
29334 case "$wx_cv_lib_gtk" in
29335 2.0) WXGTK2=1
29336 TOOLKIT_VERSION=2
29337 ;;
29338 1.2.7) WXGTK127=1
29339 WXGTK12=1
29340 ;;
29341 1.2.3) WXGTK12=1
29342 ;;
29343 *) { { echo "$as_me:$LINENO: error:
29344 The development files for GTK+ were not found. For GTK+ 2, please
29345 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29346 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29347 and that the version is 1.2.3 or above. Also check that the
29348 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29349 --libs' are in the LD_LIBRARY_PATH or equivalent.
29350 " >&5
29351 echo "$as_me: error:
29352 The development files for GTK+ were not found. For GTK+ 2, please
29353 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29354 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29355 and that the version is 1.2.3 or above. Also check that the
29356 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29357 --libs' are in the LD_LIBRARY_PATH or equivalent.
29358 " >&2;}
29359 { (exit 1); exit 1; }; }
29360 ;;
29361 esac
29362
29363 if test "$WXGTK2" = 1; then
29364 save_CFLAGS="$CFLAGS"
29365 save_LIBS="$LIBS"
29366 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29367 LIBS="$LIBS $wx_cv_libs_gtk"
29368
29369 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29370 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29371 cat >conftest.$ac_ext <<_ACEOF
29372 /* confdefs.h. */
29373 _ACEOF
29374 cat confdefs.h >>conftest.$ac_ext
29375 cat >>conftest.$ac_ext <<_ACEOF
29376 /* end confdefs.h. */
29377
29378 #include <gtk/gtk.h>
29379
29380 int
29381 main ()
29382 {
29383
29384 #if !GTK_CHECK_VERSION(2,10,0)
29385 Not GTK+ 2.10
29386 #endif
29387
29388 ;
29389 return 0;
29390 }
29391 _ACEOF
29392 rm -f conftest.$ac_objext
29393 if { (ac_try="$ac_compile"
29394 case "(($ac_try" in
29395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29396 *) ac_try_echo=$ac_try;;
29397 esac
29398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29399 (eval "$ac_compile") 2>conftest.er1
29400 ac_status=$?
29401 grep -v '^ *+' conftest.er1 >conftest.err
29402 rm -f conftest.er1
29403 cat conftest.err >&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); } && {
29406 test -z "$ac_c_werror_flag" ||
29407 test ! -s conftest.err
29408 } && test -s conftest.$ac_objext; then
29409
29410 cat >>confdefs.h <<\_ACEOF
29411 #define __WXGTK210__ 1
29412 _ACEOF
29413
29414 cat >>confdefs.h <<\_ACEOF
29415 #define __WXGTK26__ 1
29416 _ACEOF
29417
29418 { echo "$as_me:$LINENO: result: yes" >&5
29419 echo "${ECHO_T}yes" >&6; }
29420 ac_wxgtk210=1
29421
29422 else
29423 echo "$as_me: failed program was:" >&5
29424 sed 's/^/| /' conftest.$ac_ext >&5
29425
29426
29427 { echo "$as_me:$LINENO: result: no" >&5
29428 echo "${ECHO_T}no" >&6; }
29429 ac_wxgtk210=0
29430
29431 fi
29432
29433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29434
29435 if test "$ac_wxgtk210" = 0; then
29436 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29437 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29438 cat >conftest.$ac_ext <<_ACEOF
29439 /* confdefs.h. */
29440 _ACEOF
29441 cat confdefs.h >>conftest.$ac_ext
29442 cat >>conftest.$ac_ext <<_ACEOF
29443 /* end confdefs.h. */
29444
29445 #include <gtk/gtk.h>
29446
29447 int
29448 main ()
29449 {
29450
29451 #if !GTK_CHECK_VERSION(2,6,0)
29452 Not GTK+ 2.6
29453 #endif
29454
29455 ;
29456 return 0;
29457 }
29458 _ACEOF
29459 rm -f conftest.$ac_objext
29460 if { (ac_try="$ac_compile"
29461 case "(($ac_try" in
29462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29463 *) ac_try_echo=$ac_try;;
29464 esac
29465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29466 (eval "$ac_compile") 2>conftest.er1
29467 ac_status=$?
29468 grep -v '^ *+' conftest.er1 >conftest.err
29469 rm -f conftest.er1
29470 cat conftest.err >&5
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); } && {
29473 test -z "$ac_c_werror_flag" ||
29474 test ! -s conftest.err
29475 } && test -s conftest.$ac_objext; then
29476
29477 cat >>confdefs.h <<\_ACEOF
29478 #define __WXGTK26__ 1
29479 _ACEOF
29480
29481 { echo "$as_me:$LINENO: result: yes" >&5
29482 echo "${ECHO_T}yes" >&6; }
29483 ac_wxgtk26=1
29484
29485 else
29486 echo "$as_me: failed program was:" >&5
29487 sed 's/^/| /' conftest.$ac_ext >&5
29488
29489
29490 { echo "$as_me:$LINENO: result: no" >&5
29491 echo "${ECHO_T}no" >&6; }
29492 ac_wxgtk26=0
29493
29494 fi
29495
29496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29497 fi
29498
29499 CFLAGS="$save_CFLAGS"
29500 LIBS="$save_LIBS"
29501 else
29502 if test "$wxUSE_UNICODE" = "yes"; then
29503 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29504 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29505 wxUSE_UNICODE=no
29506 fi
29507
29508 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29509 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29510 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29511 echo $ECHO_N "(cached) $ECHO_C" >&6
29512 else
29513 ac_check_lib_save_LIBS=$LIBS
29514 LIBS="-lgdk $LIBS"
29515 cat >conftest.$ac_ext <<_ACEOF
29516 /* confdefs.h. */
29517 _ACEOF
29518 cat confdefs.h >>conftest.$ac_ext
29519 cat >>conftest.$ac_ext <<_ACEOF
29520 /* end confdefs.h. */
29521
29522 /* Override any GCC internal prototype to avoid an error.
29523 Use char because int might match the return type of a GCC
29524 builtin and then its argument prototype would still apply. */
29525 #ifdef __cplusplus
29526 extern "C"
29527 #endif
29528 char gdk_im_open ();
29529 int
29530 main ()
29531 {
29532 return gdk_im_open ();
29533 ;
29534 return 0;
29535 }
29536 _ACEOF
29537 rm -f conftest.$ac_objext conftest$ac_exeext
29538 if { (ac_try="$ac_link"
29539 case "(($ac_try" in
29540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29541 *) ac_try_echo=$ac_try;;
29542 esac
29543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29544 (eval "$ac_link") 2>conftest.er1
29545 ac_status=$?
29546 grep -v '^ *+' conftest.er1 >conftest.err
29547 rm -f conftest.er1
29548 cat conftest.err >&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); } && {
29551 test -z "$ac_c_werror_flag" ||
29552 test ! -s conftest.err
29553 } && test -s conftest$ac_exeext &&
29554 $as_test_x conftest$ac_exeext; then
29555 ac_cv_lib_gdk_gdk_im_open=yes
29556 else
29557 echo "$as_me: failed program was:" >&5
29558 sed 's/^/| /' conftest.$ac_ext >&5
29559
29560 ac_cv_lib_gdk_gdk_im_open=no
29561 fi
29562
29563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29564 conftest$ac_exeext conftest.$ac_ext
29565 LIBS=$ac_check_lib_save_LIBS
29566 fi
29567 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29568 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29569 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29570 cat >>confdefs.h <<\_ACEOF
29571 #define HAVE_XIM 1
29572 _ACEOF
29573
29574 fi
29575
29576
29577 if test "$USE_DARWIN" != 1; then
29578
29579 for ac_func in poll
29580 do
29581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29582 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29584 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29585 echo $ECHO_N "(cached) $ECHO_C" >&6
29586 else
29587 cat >conftest.$ac_ext <<_ACEOF
29588 /* confdefs.h. */
29589 _ACEOF
29590 cat confdefs.h >>conftest.$ac_ext
29591 cat >>conftest.$ac_ext <<_ACEOF
29592 /* end confdefs.h. */
29593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29595 #define $ac_func innocuous_$ac_func
29596
29597 /* System header to define __stub macros and hopefully few prototypes,
29598 which can conflict with char $ac_func (); below.
29599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29600 <limits.h> exists even on freestanding compilers. */
29601
29602 #ifdef __STDC__
29603 # include <limits.h>
29604 #else
29605 # include <assert.h>
29606 #endif
29607
29608 #undef $ac_func
29609
29610 /* Override any GCC internal prototype to avoid an error.
29611 Use char because int might match the return type of a GCC
29612 builtin and then its argument prototype would still apply. */
29613 #ifdef __cplusplus
29614 extern "C"
29615 #endif
29616 char $ac_func ();
29617 /* The GNU C library defines this for functions which it implements
29618 to always fail with ENOSYS. Some functions are actually named
29619 something starting with __ and the normal name is an alias. */
29620 #if defined __stub_$ac_func || defined __stub___$ac_func
29621 choke me
29622 #endif
29623
29624 int
29625 main ()
29626 {
29627 return $ac_func ();
29628 ;
29629 return 0;
29630 }
29631 _ACEOF
29632 rm -f conftest.$ac_objext conftest$ac_exeext
29633 if { (ac_try="$ac_link"
29634 case "(($ac_try" in
29635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29636 *) ac_try_echo=$ac_try;;
29637 esac
29638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29639 (eval "$ac_link") 2>conftest.er1
29640 ac_status=$?
29641 grep -v '^ *+' conftest.er1 >conftest.err
29642 rm -f conftest.er1
29643 cat conftest.err >&5
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); } && {
29646 test -z "$ac_c_werror_flag" ||
29647 test ! -s conftest.err
29648 } && test -s conftest$ac_exeext &&
29649 $as_test_x conftest$ac_exeext; then
29650 eval "$as_ac_var=yes"
29651 else
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.$ac_ext >&5
29654
29655 eval "$as_ac_var=no"
29656 fi
29657
29658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29659 conftest$ac_exeext conftest.$ac_ext
29660 fi
29661 ac_res=`eval echo '${'$as_ac_var'}'`
29662 { echo "$as_me:$LINENO: result: $ac_res" >&5
29663 echo "${ECHO_T}$ac_res" >&6; }
29664 if test `eval echo '${'$as_ac_var'}'` = yes; then
29665 cat >>confdefs.h <<_ACEOF
29666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29667 _ACEOF
29668
29669 fi
29670 done
29671
29672 fi
29673 fi
29674
29675 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29676 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29677
29678 AFMINSTALL=afminstall
29679 TOOLKIT=GTK
29680 GUIDIST=GTK_DIST
29681
29682 if test "$wxUSE_GPE" = "yes"; then
29683 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29684 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29685
29686 ac_find_libraries=
29687 for ac_dir in $SEARCH_LIB;
29688 do
29689 for ac_extension in a so sl dylib dll.a; do
29690 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29691 ac_find_libraries=$ac_dir
29692 break 2
29693 fi
29694 done
29695 done
29696
29697 if test "$ac_find_libraries" != "" ; then
29698
29699 if test "$ac_find_libraries" = "default location"; then
29700 ac_path_to_link=""
29701 else
29702 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29703 result=$?
29704 if test $result = 0; then
29705 ac_path_to_link=""
29706 else
29707 ac_path_to_link=" -L$ac_find_libraries"
29708 fi
29709 fi
29710
29711 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29712 WXGPE=1
29713 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29714 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29715 else
29716 { echo "$as_me:$LINENO: result: not found" >&5
29717 echo "${ECHO_T}not found" >&6; }
29718 fi
29719
29720 fi
29721 fi
29722
29723 if test "$wxUSE_MGL" = 1; then
29724 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29725 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29726 if test "x$MGL_ROOT" = x ; then
29727 { echo "$as_me:$LINENO: result: not found" >&5
29728 echo "${ECHO_T}not found" >&6; }
29729 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29730 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29731 { (exit 1); exit 1; }; }
29732 else
29733 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29734 echo "${ECHO_T}$MGL_ROOT" >&6; }
29735 fi
29736
29737 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29738 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29739 case "${host}" in
29740 *-*-linux* )
29741 if test "x$wxUSE_SHARED" = xyes ; then
29742 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29743 else
29744 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29745 fi
29746 ;;
29747 *-pc-msdosdjgpp )
29748 mgl_os_candidates="dos32/dj2"
29749 ;;
29750 *)
29751 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29752 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29753 { (exit 1); exit 1; }; }
29754 esac
29755
29756 mgl_lib_type=""
29757 mgl_os=""
29758
29759 for mgl_os_i in $mgl_os_candidates ; do
29760 if test "x$mgl_os" = x ; then
29761 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29762 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29763 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29764 mgl_lib_type=debug
29765 mgl_os=$mgl_os_i
29766 fi
29767 fi
29768 if test "x$mgl_lib_type" = x ; then
29769 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29770 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29771 mgl_lib_type=release
29772 mgl_os=$mgl_os_i
29773 fi
29774 fi
29775 fi
29776 done
29777
29778 if test "x$mgl_os" = x ; then
29779 { echo "$as_me:$LINENO: result: not found" >&5
29780 echo "${ECHO_T}not found" >&6; }
29781 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29782 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29783 { (exit 1); exit 1; }; }
29784 fi
29785 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29786 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29787
29788 wxUSE_UNIVERSAL="yes"
29789
29790 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29791 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29792
29793 AFMINSTALL=afminstall
29794 TOOLKIT=MGL
29795 GUIDIST=MGL_DIST
29796 fi
29797
29798 if test "$wxUSE_DFB" = 1; then
29799
29800
29801 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29802 if test -n "$ac_tool_prefix"; then
29803 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29804 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29807 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29808 echo $ECHO_N "(cached) $ECHO_C" >&6
29809 else
29810 case $PKG_CONFIG in
29811 [\\/]* | ?:[\\/]*)
29812 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29813 ;;
29814 *)
29815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29816 for as_dir in $PATH
29817 do
29818 IFS=$as_save_IFS
29819 test -z "$as_dir" && as_dir=.
29820 for ac_exec_ext in '' $ac_executable_extensions; do
29821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29822 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29824 break 2
29825 fi
29826 done
29827 done
29828 IFS=$as_save_IFS
29829
29830 ;;
29831 esac
29832 fi
29833 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29834 if test -n "$PKG_CONFIG"; then
29835 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29836 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29837 else
29838 { echo "$as_me:$LINENO: result: no" >&5
29839 echo "${ECHO_T}no" >&6; }
29840 fi
29841
29842
29843 fi
29844 if test -z "$ac_cv_path_PKG_CONFIG"; then
29845 ac_pt_PKG_CONFIG=$PKG_CONFIG
29846 # Extract the first word of "pkg-config", so it can be a program name with args.
29847 set dummy pkg-config; ac_word=$2
29848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29850 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29851 echo $ECHO_N "(cached) $ECHO_C" >&6
29852 else
29853 case $ac_pt_PKG_CONFIG in
29854 [\\/]* | ?:[\\/]*)
29855 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29856 ;;
29857 *)
29858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29859 for as_dir in $PATH
29860 do
29861 IFS=$as_save_IFS
29862 test -z "$as_dir" && as_dir=.
29863 for ac_exec_ext in '' $ac_executable_extensions; do
29864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29865 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29867 break 2
29868 fi
29869 done
29870 done
29871 IFS=$as_save_IFS
29872
29873 ;;
29874 esac
29875 fi
29876 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29877 if test -n "$ac_pt_PKG_CONFIG"; then
29878 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29879 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29880 else
29881 { echo "$as_me:$LINENO: result: no" >&5
29882 echo "${ECHO_T}no" >&6; }
29883 fi
29884
29885 if test "x$ac_pt_PKG_CONFIG" = x; then
29886 PKG_CONFIG=""
29887 else
29888 case $cross_compiling:$ac_tool_warned in
29889 yes:)
29890 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29891 whose name does not start with the host triplet. If you think this
29892 configuration is useful to you, please write to autoconf@gnu.org." >&5
29893 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29894 whose name does not start with the host triplet. If you think this
29895 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29896 ac_tool_warned=yes ;;
29897 esac
29898 PKG_CONFIG=$ac_pt_PKG_CONFIG
29899 fi
29900 else
29901 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29902 fi
29903
29904 fi
29905 if test -n "$PKG_CONFIG"; then
29906 _pkg_min_version=0.9.0
29907 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29908 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29909 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29910 { echo "$as_me:$LINENO: result: yes" >&5
29911 echo "${ECHO_T}yes" >&6; }
29912 else
29913 { echo "$as_me:$LINENO: result: no" >&5
29914 echo "${ECHO_T}no" >&6; }
29915 PKG_CONFIG=""
29916 fi
29917
29918 fi
29919
29920
29921 pkg_failed=no
29922 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29923 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29924
29925 if test -n "$PKG_CONFIG"; then
29926 if test -n "$DIRECTFB_CFLAGS"; then
29927 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29928 else
29929 if test -n "$PKG_CONFIG" && \
29930 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29931 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29932 ac_status=$?
29933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29934 (exit $ac_status); }; then
29935 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29936 else
29937 pkg_failed=yes
29938 fi
29939 fi
29940 else
29941 pkg_failed=untried
29942 fi
29943 if test -n "$PKG_CONFIG"; then
29944 if test -n "$DIRECTFB_LIBS"; then
29945 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29946 else
29947 if test -n "$PKG_CONFIG" && \
29948 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29949 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29950 ac_status=$?
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); }; then
29953 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29954 else
29955 pkg_failed=yes
29956 fi
29957 fi
29958 else
29959 pkg_failed=untried
29960 fi
29961
29962
29963
29964 if test $pkg_failed = yes; then
29965
29966 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29967 _pkg_short_errors_supported=yes
29968 else
29969 _pkg_short_errors_supported=no
29970 fi
29971 if test $_pkg_short_errors_supported = yes; then
29972 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29973 else
29974 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29975 fi
29976 # Put the nasty error message in config.log where it belongs
29977 echo "$DIRECTFB_PKG_ERRORS" >&5
29978
29979
29980 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29981 echo "$as_me: error: DirectFB not found." >&2;}
29982 { (exit 1); exit 1; }; }
29983
29984
29985 elif test $pkg_failed = untried; then
29986
29987 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29988 echo "$as_me: error: DirectFB not found." >&2;}
29989 { (exit 1); exit 1; }; }
29990
29991
29992 else
29993 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29994 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29995 { echo "$as_me:$LINENO: result: yes" >&5
29996 echo "${ECHO_T}yes" >&6; }
29997
29998 wxUSE_UNIVERSAL="yes"
29999 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30000 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30001 TOOLKIT=DFB
30002 GUIDIST=DFB_DIST
30003
30004 fi
30005 fi
30006
30007 if test "$wxUSE_MICROWIN" = 1; then
30008 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
30009 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
30010 if test "x$MICROWINDOWS" = x ; then
30011 { echo "$as_me:$LINENO: result: not found" >&5
30012 echo "${ECHO_T}not found" >&6; }
30013 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30014 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30015 { (exit 1); exit 1; }; }
30016 else
30017 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30018 echo "${ECHO_T}$MICROWINDOWS" >&6; }
30019 fi
30020
30021 if test -f $MICROWINDOWS/lib/libmwin.a; then
30022 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30023 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
30024 else
30025 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30026 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30027 { (exit 1); exit 1; }; }
30028 fi
30029
30030 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30031 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30032
30033 wxUSE_UNIVERSAL="yes"
30034
30035 AFMINSTALL=afminstall
30036 TOOLKIT=MICROWIN
30037 GUIDIST=MICROWIN_DIST
30038
30039 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30040 fi
30041
30042 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30043 { echo "$as_me:$LINENO: checking for X" >&5
30044 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
30045
30046
30047 # Check whether --with-x was given.
30048 if test "${with_x+set}" = set; then
30049 withval=$with_x;
30050 fi
30051
30052 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30053 if test "x$with_x" = xno; then
30054 # The user explicitly disabled X.
30055 have_x=disabled
30056 else
30057 case $x_includes,$x_libraries in #(
30058 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30059 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30060 { (exit 1); exit 1; }; };; #(
30061 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 else
30064 # One or both of the vars are not set, and there is no cached value.
30065 ac_x_includes=no ac_x_libraries=no
30066 rm -f -r conftest.dir
30067 if mkdir conftest.dir; then
30068 cd conftest.dir
30069 cat >Imakefile <<'_ACEOF'
30070 incroot:
30071 @echo incroot='${INCROOT}'
30072 usrlibdir:
30073 @echo usrlibdir='${USRLIBDIR}'
30074 libdir:
30075 @echo libdir='${LIBDIR}'
30076 _ACEOF
30077 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30078 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30079 for ac_var in incroot usrlibdir libdir; do
30080 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30081 done
30082 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30083 for ac_extension in a so sl; do
30084 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30085 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30086 ac_im_usrlibdir=$ac_im_libdir; break
30087 fi
30088 done
30089 # Screen out bogus values from the imake configuration. They are
30090 # bogus both because they are the default anyway, and because
30091 # using them would break gcc on systems where it needs fixed includes.
30092 case $ac_im_incroot in
30093 /usr/include) ac_x_includes= ;;
30094 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30095 esac
30096 case $ac_im_usrlibdir in
30097 /usr/lib | /lib) ;;
30098 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30099 esac
30100 fi
30101 cd ..
30102 rm -f -r conftest.dir
30103 fi
30104
30105 # Standard set of common directories for X headers.
30106 # Check X11 before X11Rn because it is often a symlink to the current release.
30107 ac_x_header_dirs='
30108 /usr/X11/include
30109 /usr/X11R6/include
30110 /usr/X11R5/include
30111 /usr/X11R4/include
30112
30113 /usr/include/X11
30114 /usr/include/X11R6
30115 /usr/include/X11R5
30116 /usr/include/X11R4
30117
30118 /usr/local/X11/include
30119 /usr/local/X11R6/include
30120 /usr/local/X11R5/include
30121 /usr/local/X11R4/include
30122
30123 /usr/local/include/X11
30124 /usr/local/include/X11R6
30125 /usr/local/include/X11R5
30126 /usr/local/include/X11R4
30127
30128 /usr/X386/include
30129 /usr/x386/include
30130 /usr/XFree86/include/X11
30131
30132 /usr/include
30133 /usr/local/include
30134 /usr/unsupported/include
30135 /usr/athena/include
30136 /usr/local/x11r5/include
30137 /usr/lpp/Xamples/include
30138
30139 /usr/openwin/include
30140 /usr/openwin/share/include'
30141
30142 if test "$ac_x_includes" = no; then
30143 # Guess where to find include files, by looking for Xlib.h.
30144 # First, try using that file with no special directory specified.
30145 cat >conftest.$ac_ext <<_ACEOF
30146 /* confdefs.h. */
30147 _ACEOF
30148 cat confdefs.h >>conftest.$ac_ext
30149 cat >>conftest.$ac_ext <<_ACEOF
30150 /* end confdefs.h. */
30151 #include <X11/Xlib.h>
30152 _ACEOF
30153 if { (ac_try="$ac_cpp conftest.$ac_ext"
30154 case "(($ac_try" in
30155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30156 *) ac_try_echo=$ac_try;;
30157 esac
30158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30159 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30160 ac_status=$?
30161 grep -v '^ *+' conftest.er1 >conftest.err
30162 rm -f conftest.er1
30163 cat conftest.err >&5
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } >/dev/null && {
30166 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30167 test ! -s conftest.err
30168 }; then
30169 # We can compile using X headers with no special include directory.
30170 ac_x_includes=
30171 else
30172 echo "$as_me: failed program was:" >&5
30173 sed 's/^/| /' conftest.$ac_ext >&5
30174
30175 for ac_dir in $ac_x_header_dirs; do
30176 if test -r "$ac_dir/X11/Xlib.h"; then
30177 ac_x_includes=$ac_dir
30178 break
30179 fi
30180 done
30181 fi
30182
30183 rm -f conftest.err conftest.$ac_ext
30184 fi # $ac_x_includes = no
30185
30186 if test "$ac_x_libraries" = no; then
30187 # Check for the libraries.
30188 # See if we find them without any special options.
30189 # Don't add to $LIBS permanently.
30190 ac_save_LIBS=$LIBS
30191 LIBS="-lX11 $LIBS"
30192 cat >conftest.$ac_ext <<_ACEOF
30193 /* confdefs.h. */
30194 _ACEOF
30195 cat confdefs.h >>conftest.$ac_ext
30196 cat >>conftest.$ac_ext <<_ACEOF
30197 /* end confdefs.h. */
30198 #include <X11/Xlib.h>
30199 int
30200 main ()
30201 {
30202 XrmInitialize ()
30203 ;
30204 return 0;
30205 }
30206 _ACEOF
30207 rm -f conftest.$ac_objext conftest$ac_exeext
30208 if { (ac_try="$ac_link"
30209 case "(($ac_try" in
30210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30211 *) ac_try_echo=$ac_try;;
30212 esac
30213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30214 (eval "$ac_link") 2>conftest.er1
30215 ac_status=$?
30216 grep -v '^ *+' conftest.er1 >conftest.err
30217 rm -f conftest.er1
30218 cat conftest.err >&5
30219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30220 (exit $ac_status); } && {
30221 test -z "$ac_c_werror_flag" ||
30222 test ! -s conftest.err
30223 } && test -s conftest$ac_exeext &&
30224 $as_test_x conftest$ac_exeext; then
30225 LIBS=$ac_save_LIBS
30226 # We can link X programs with no special library path.
30227 ac_x_libraries=
30228 else
30229 echo "$as_me: failed program was:" >&5
30230 sed 's/^/| /' conftest.$ac_ext >&5
30231
30232 LIBS=$ac_save_LIBS
30233 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30234 do
30235 # Don't even attempt the hair of trying to link an X program!
30236 for ac_extension in a so sl; do
30237 if test -r "$ac_dir/libX11.$ac_extension"; then
30238 ac_x_libraries=$ac_dir
30239 break 2
30240 fi
30241 done
30242 done
30243 fi
30244
30245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30246 conftest$ac_exeext conftest.$ac_ext
30247 fi # $ac_x_libraries = no
30248
30249 case $ac_x_includes,$ac_x_libraries in #(
30250 no,* | *,no | *\'*)
30251 # Didn't find X, or a directory has "'" in its name.
30252 ac_cv_have_x="have_x=no";; #(
30253 *)
30254 # Record where we found X for the cache.
30255 ac_cv_have_x="have_x=yes\
30256 ac_x_includes='$ac_x_includes'\
30257 ac_x_libraries='$ac_x_libraries'"
30258 esac
30259 fi
30260 ;; #(
30261 *) have_x=yes;;
30262 esac
30263 eval "$ac_cv_have_x"
30264 fi # $with_x != no
30265
30266 if test "$have_x" != yes; then
30267 { echo "$as_me:$LINENO: result: $have_x" >&5
30268 echo "${ECHO_T}$have_x" >&6; }
30269 no_x=yes
30270 else
30271 # If each of the values was on the command line, it overrides each guess.
30272 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30273 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30274 # Update the cache value to reflect the command line values.
30275 ac_cv_have_x="have_x=yes\
30276 ac_x_includes='$x_includes'\
30277 ac_x_libraries='$x_libraries'"
30278 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30279 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30280 fi
30281
30282 if test "$no_x" = yes; then
30283 # Not all programs may use this symbol, but it does not hurt to define it.
30284
30285 cat >>confdefs.h <<\_ACEOF
30286 #define X_DISPLAY_MISSING 1
30287 _ACEOF
30288
30289 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30290 else
30291 if test -n "$x_includes"; then
30292 X_CFLAGS="$X_CFLAGS -I$x_includes"
30293 fi
30294
30295 # It would also be nice to do this for all -L options, not just this one.
30296 if test -n "$x_libraries"; then
30297 X_LIBS="$X_LIBS -L$x_libraries"
30298 # For Solaris; some versions of Sun CC require a space after -R and
30299 # others require no space. Words are not sufficient . . . .
30300 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30301 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30302 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30303 ac_xsave_c_werror_flag=$ac_c_werror_flag
30304 ac_c_werror_flag=yes
30305 cat >conftest.$ac_ext <<_ACEOF
30306 /* confdefs.h. */
30307 _ACEOF
30308 cat confdefs.h >>conftest.$ac_ext
30309 cat >>conftest.$ac_ext <<_ACEOF
30310 /* end confdefs.h. */
30311
30312 int
30313 main ()
30314 {
30315
30316 ;
30317 return 0;
30318 }
30319 _ACEOF
30320 rm -f conftest.$ac_objext conftest$ac_exeext
30321 if { (ac_try="$ac_link"
30322 case "(($ac_try" in
30323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30324 *) ac_try_echo=$ac_try;;
30325 esac
30326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30327 (eval "$ac_link") 2>conftest.er1
30328 ac_status=$?
30329 grep -v '^ *+' conftest.er1 >conftest.err
30330 rm -f conftest.er1
30331 cat conftest.err >&5
30332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30333 (exit $ac_status); } && {
30334 test -z "$ac_c_werror_flag" ||
30335 test ! -s conftest.err
30336 } && test -s conftest$ac_exeext &&
30337 $as_test_x conftest$ac_exeext; then
30338 { echo "$as_me:$LINENO: result: no" >&5
30339 echo "${ECHO_T}no" >&6; }
30340 X_LIBS="$X_LIBS -R$x_libraries"
30341 else
30342 echo "$as_me: failed program was:" >&5
30343 sed 's/^/| /' conftest.$ac_ext >&5
30344
30345 LIBS="$ac_xsave_LIBS -R $x_libraries"
30346 cat >conftest.$ac_ext <<_ACEOF
30347 /* confdefs.h. */
30348 _ACEOF
30349 cat confdefs.h >>conftest.$ac_ext
30350 cat >>conftest.$ac_ext <<_ACEOF
30351 /* end confdefs.h. */
30352
30353 int
30354 main ()
30355 {
30356
30357 ;
30358 return 0;
30359 }
30360 _ACEOF
30361 rm -f conftest.$ac_objext conftest$ac_exeext
30362 if { (ac_try="$ac_link"
30363 case "(($ac_try" in
30364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30365 *) ac_try_echo=$ac_try;;
30366 esac
30367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30368 (eval "$ac_link") 2>conftest.er1
30369 ac_status=$?
30370 grep -v '^ *+' conftest.er1 >conftest.err
30371 rm -f conftest.er1
30372 cat conftest.err >&5
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); } && {
30375 test -z "$ac_c_werror_flag" ||
30376 test ! -s conftest.err
30377 } && test -s conftest$ac_exeext &&
30378 $as_test_x conftest$ac_exeext; then
30379 { echo "$as_me:$LINENO: result: yes" >&5
30380 echo "${ECHO_T}yes" >&6; }
30381 X_LIBS="$X_LIBS -R $x_libraries"
30382 else
30383 echo "$as_me: failed program was:" >&5
30384 sed 's/^/| /' conftest.$ac_ext >&5
30385
30386 { echo "$as_me:$LINENO: result: neither works" >&5
30387 echo "${ECHO_T}neither works" >&6; }
30388 fi
30389
30390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30391 conftest$ac_exeext conftest.$ac_ext
30392 fi
30393
30394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30395 conftest$ac_exeext conftest.$ac_ext
30396 ac_c_werror_flag=$ac_xsave_c_werror_flag
30397 LIBS=$ac_xsave_LIBS
30398 fi
30399
30400 # Check for system-dependent libraries X programs must link with.
30401 # Do this before checking for the system-independent R6 libraries
30402 # (-lICE), since we may need -lsocket or whatever for X linking.
30403
30404 if test "$ISC" = yes; then
30405 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30406 else
30407 # Martyn Johnson says this is needed for Ultrix, if the X
30408 # libraries were built with DECnet support. And Karl Berry says
30409 # the Alpha needs dnet_stub (dnet does not exist).
30410 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30411 cat >conftest.$ac_ext <<_ACEOF
30412 /* confdefs.h. */
30413 _ACEOF
30414 cat confdefs.h >>conftest.$ac_ext
30415 cat >>conftest.$ac_ext <<_ACEOF
30416 /* end confdefs.h. */
30417
30418 /* Override any GCC internal prototype to avoid an error.
30419 Use char because int might match the return type of a GCC
30420 builtin and then its argument prototype would still apply. */
30421 #ifdef __cplusplus
30422 extern "C"
30423 #endif
30424 char XOpenDisplay ();
30425 int
30426 main ()
30427 {
30428 return XOpenDisplay ();
30429 ;
30430 return 0;
30431 }
30432 _ACEOF
30433 rm -f conftest.$ac_objext conftest$ac_exeext
30434 if { (ac_try="$ac_link"
30435 case "(($ac_try" in
30436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30437 *) ac_try_echo=$ac_try;;
30438 esac
30439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30440 (eval "$ac_link") 2>conftest.er1
30441 ac_status=$?
30442 grep -v '^ *+' conftest.er1 >conftest.err
30443 rm -f conftest.er1
30444 cat conftest.err >&5
30445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30446 (exit $ac_status); } && {
30447 test -z "$ac_c_werror_flag" ||
30448 test ! -s conftest.err
30449 } && test -s conftest$ac_exeext &&
30450 $as_test_x conftest$ac_exeext; then
30451 :
30452 else
30453 echo "$as_me: failed program was:" >&5
30454 sed 's/^/| /' conftest.$ac_ext >&5
30455
30456 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30457 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30458 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30459 echo $ECHO_N "(cached) $ECHO_C" >&6
30460 else
30461 ac_check_lib_save_LIBS=$LIBS
30462 LIBS="-ldnet $LIBS"
30463 cat >conftest.$ac_ext <<_ACEOF
30464 /* confdefs.h. */
30465 _ACEOF
30466 cat confdefs.h >>conftest.$ac_ext
30467 cat >>conftest.$ac_ext <<_ACEOF
30468 /* end confdefs.h. */
30469
30470 /* Override any GCC internal prototype to avoid an error.
30471 Use char because int might match the return type of a GCC
30472 builtin and then its argument prototype would still apply. */
30473 #ifdef __cplusplus
30474 extern "C"
30475 #endif
30476 char dnet_ntoa ();
30477 int
30478 main ()
30479 {
30480 return dnet_ntoa ();
30481 ;
30482 return 0;
30483 }
30484 _ACEOF
30485 rm -f conftest.$ac_objext conftest$ac_exeext
30486 if { (ac_try="$ac_link"
30487 case "(($ac_try" in
30488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30489 *) ac_try_echo=$ac_try;;
30490 esac
30491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30492 (eval "$ac_link") 2>conftest.er1
30493 ac_status=$?
30494 grep -v '^ *+' conftest.er1 >conftest.err
30495 rm -f conftest.er1
30496 cat conftest.err >&5
30497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30498 (exit $ac_status); } && {
30499 test -z "$ac_c_werror_flag" ||
30500 test ! -s conftest.err
30501 } && test -s conftest$ac_exeext &&
30502 $as_test_x conftest$ac_exeext; then
30503 ac_cv_lib_dnet_dnet_ntoa=yes
30504 else
30505 echo "$as_me: failed program was:" >&5
30506 sed 's/^/| /' conftest.$ac_ext >&5
30507
30508 ac_cv_lib_dnet_dnet_ntoa=no
30509 fi
30510
30511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30512 conftest$ac_exeext conftest.$ac_ext
30513 LIBS=$ac_check_lib_save_LIBS
30514 fi
30515 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30516 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30517 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30518 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30519 fi
30520
30521 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30522 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30523 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30524 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30525 echo $ECHO_N "(cached) $ECHO_C" >&6
30526 else
30527 ac_check_lib_save_LIBS=$LIBS
30528 LIBS="-ldnet_stub $LIBS"
30529 cat >conftest.$ac_ext <<_ACEOF
30530 /* confdefs.h. */
30531 _ACEOF
30532 cat confdefs.h >>conftest.$ac_ext
30533 cat >>conftest.$ac_ext <<_ACEOF
30534 /* end confdefs.h. */
30535
30536 /* Override any GCC internal prototype to avoid an error.
30537 Use char because int might match the return type of a GCC
30538 builtin and then its argument prototype would still apply. */
30539 #ifdef __cplusplus
30540 extern "C"
30541 #endif
30542 char dnet_ntoa ();
30543 int
30544 main ()
30545 {
30546 return dnet_ntoa ();
30547 ;
30548 return 0;
30549 }
30550 _ACEOF
30551 rm -f conftest.$ac_objext conftest$ac_exeext
30552 if { (ac_try="$ac_link"
30553 case "(($ac_try" in
30554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30555 *) ac_try_echo=$ac_try;;
30556 esac
30557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30558 (eval "$ac_link") 2>conftest.er1
30559 ac_status=$?
30560 grep -v '^ *+' conftest.er1 >conftest.err
30561 rm -f conftest.er1
30562 cat conftest.err >&5
30563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30564 (exit $ac_status); } && {
30565 test -z "$ac_c_werror_flag" ||
30566 test ! -s conftest.err
30567 } && test -s conftest$ac_exeext &&
30568 $as_test_x conftest$ac_exeext; then
30569 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30570 else
30571 echo "$as_me: failed program was:" >&5
30572 sed 's/^/| /' conftest.$ac_ext >&5
30573
30574 ac_cv_lib_dnet_stub_dnet_ntoa=no
30575 fi
30576
30577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30578 conftest$ac_exeext conftest.$ac_ext
30579 LIBS=$ac_check_lib_save_LIBS
30580 fi
30581 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30582 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30583 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30584 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30585 fi
30586
30587 fi
30588 fi
30589
30590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30591 conftest$ac_exeext conftest.$ac_ext
30592 LIBS="$ac_xsave_LIBS"
30593
30594 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30595 # to get the SysV transport functions.
30596 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30597 # needs -lnsl.
30598 # The nsl library prevents programs from opening the X display
30599 # on Irix 5.2, according to T.E. Dickey.
30600 # The functions gethostbyname, getservbyname, and inet_addr are
30601 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30602 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30603 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30604 if test "${ac_cv_func_gethostbyname+set}" = set; then
30605 echo $ECHO_N "(cached) $ECHO_C" >&6
30606 else
30607 cat >conftest.$ac_ext <<_ACEOF
30608 /* confdefs.h. */
30609 _ACEOF
30610 cat confdefs.h >>conftest.$ac_ext
30611 cat >>conftest.$ac_ext <<_ACEOF
30612 /* end confdefs.h. */
30613 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30615 #define gethostbyname innocuous_gethostbyname
30616
30617 /* System header to define __stub macros and hopefully few prototypes,
30618 which can conflict with char gethostbyname (); below.
30619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30620 <limits.h> exists even on freestanding compilers. */
30621
30622 #ifdef __STDC__
30623 # include <limits.h>
30624 #else
30625 # include <assert.h>
30626 #endif
30627
30628 #undef gethostbyname
30629
30630 /* Override any GCC internal prototype to avoid an error.
30631 Use char because int might match the return type of a GCC
30632 builtin and then its argument prototype would still apply. */
30633 #ifdef __cplusplus
30634 extern "C"
30635 #endif
30636 char gethostbyname ();
30637 /* The GNU C library defines this for functions which it implements
30638 to always fail with ENOSYS. Some functions are actually named
30639 something starting with __ and the normal name is an alias. */
30640 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30641 choke me
30642 #endif
30643
30644 int
30645 main ()
30646 {
30647 return gethostbyname ();
30648 ;
30649 return 0;
30650 }
30651 _ACEOF
30652 rm -f conftest.$ac_objext conftest$ac_exeext
30653 if { (ac_try="$ac_link"
30654 case "(($ac_try" in
30655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30656 *) ac_try_echo=$ac_try;;
30657 esac
30658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30659 (eval "$ac_link") 2>conftest.er1
30660 ac_status=$?
30661 grep -v '^ *+' conftest.er1 >conftest.err
30662 rm -f conftest.er1
30663 cat conftest.err >&5
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); } && {
30666 test -z "$ac_c_werror_flag" ||
30667 test ! -s conftest.err
30668 } && test -s conftest$ac_exeext &&
30669 $as_test_x conftest$ac_exeext; then
30670 ac_cv_func_gethostbyname=yes
30671 else
30672 echo "$as_me: failed program was:" >&5
30673 sed 's/^/| /' conftest.$ac_ext >&5
30674
30675 ac_cv_func_gethostbyname=no
30676 fi
30677
30678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30679 conftest$ac_exeext conftest.$ac_ext
30680 fi
30681 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30682 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30683
30684 if test $ac_cv_func_gethostbyname = no; then
30685 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30686 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30687 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30688 echo $ECHO_N "(cached) $ECHO_C" >&6
30689 else
30690 ac_check_lib_save_LIBS=$LIBS
30691 LIBS="-lnsl $LIBS"
30692 cat >conftest.$ac_ext <<_ACEOF
30693 /* confdefs.h. */
30694 _ACEOF
30695 cat confdefs.h >>conftest.$ac_ext
30696 cat >>conftest.$ac_ext <<_ACEOF
30697 /* end confdefs.h. */
30698
30699 /* Override any GCC internal prototype to avoid an error.
30700 Use char because int might match the return type of a GCC
30701 builtin and then its argument prototype would still apply. */
30702 #ifdef __cplusplus
30703 extern "C"
30704 #endif
30705 char gethostbyname ();
30706 int
30707 main ()
30708 {
30709 return gethostbyname ();
30710 ;
30711 return 0;
30712 }
30713 _ACEOF
30714 rm -f conftest.$ac_objext conftest$ac_exeext
30715 if { (ac_try="$ac_link"
30716 case "(($ac_try" in
30717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30718 *) ac_try_echo=$ac_try;;
30719 esac
30720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30721 (eval "$ac_link") 2>conftest.er1
30722 ac_status=$?
30723 grep -v '^ *+' conftest.er1 >conftest.err
30724 rm -f conftest.er1
30725 cat conftest.err >&5
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); } && {
30728 test -z "$ac_c_werror_flag" ||
30729 test ! -s conftest.err
30730 } && test -s conftest$ac_exeext &&
30731 $as_test_x conftest$ac_exeext; then
30732 ac_cv_lib_nsl_gethostbyname=yes
30733 else
30734 echo "$as_me: failed program was:" >&5
30735 sed 's/^/| /' conftest.$ac_ext >&5
30736
30737 ac_cv_lib_nsl_gethostbyname=no
30738 fi
30739
30740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30741 conftest$ac_exeext conftest.$ac_ext
30742 LIBS=$ac_check_lib_save_LIBS
30743 fi
30744 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30745 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30746 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30747 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30748 fi
30749
30750 if test $ac_cv_lib_nsl_gethostbyname = no; then
30751 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30752 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30753 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30754 echo $ECHO_N "(cached) $ECHO_C" >&6
30755 else
30756 ac_check_lib_save_LIBS=$LIBS
30757 LIBS="-lbsd $LIBS"
30758 cat >conftest.$ac_ext <<_ACEOF
30759 /* confdefs.h. */
30760 _ACEOF
30761 cat confdefs.h >>conftest.$ac_ext
30762 cat >>conftest.$ac_ext <<_ACEOF
30763 /* end confdefs.h. */
30764
30765 /* Override any GCC internal prototype to avoid an error.
30766 Use char because int might match the return type of a GCC
30767 builtin and then its argument prototype would still apply. */
30768 #ifdef __cplusplus
30769 extern "C"
30770 #endif
30771 char gethostbyname ();
30772 int
30773 main ()
30774 {
30775 return gethostbyname ();
30776 ;
30777 return 0;
30778 }
30779 _ACEOF
30780 rm -f conftest.$ac_objext conftest$ac_exeext
30781 if { (ac_try="$ac_link"
30782 case "(($ac_try" in
30783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30784 *) ac_try_echo=$ac_try;;
30785 esac
30786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30787 (eval "$ac_link") 2>conftest.er1
30788 ac_status=$?
30789 grep -v '^ *+' conftest.er1 >conftest.err
30790 rm -f conftest.er1
30791 cat conftest.err >&5
30792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30793 (exit $ac_status); } && {
30794 test -z "$ac_c_werror_flag" ||
30795 test ! -s conftest.err
30796 } && test -s conftest$ac_exeext &&
30797 $as_test_x conftest$ac_exeext; then
30798 ac_cv_lib_bsd_gethostbyname=yes
30799 else
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.$ac_ext >&5
30802
30803 ac_cv_lib_bsd_gethostbyname=no
30804 fi
30805
30806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30807 conftest$ac_exeext conftest.$ac_ext
30808 LIBS=$ac_check_lib_save_LIBS
30809 fi
30810 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30811 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30812 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30813 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30814 fi
30815
30816 fi
30817 fi
30818
30819 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30820 # socket/setsockopt and other routines are undefined under SCO ODT
30821 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30822 # on later versions), says Simon Leinen: it contains gethostby*
30823 # variants that don't use the name server (or something). -lsocket
30824 # must be given before -lnsl if both are needed. We assume that
30825 # if connect needs -lnsl, so does gethostbyname.
30826 { echo "$as_me:$LINENO: checking for connect" >&5
30827 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30828 if test "${ac_cv_func_connect+set}" = set; then
30829 echo $ECHO_N "(cached) $ECHO_C" >&6
30830 else
30831 cat >conftest.$ac_ext <<_ACEOF
30832 /* confdefs.h. */
30833 _ACEOF
30834 cat confdefs.h >>conftest.$ac_ext
30835 cat >>conftest.$ac_ext <<_ACEOF
30836 /* end confdefs.h. */
30837 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30839 #define connect innocuous_connect
30840
30841 /* System header to define __stub macros and hopefully few prototypes,
30842 which can conflict with char connect (); below.
30843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30844 <limits.h> exists even on freestanding compilers. */
30845
30846 #ifdef __STDC__
30847 # include <limits.h>
30848 #else
30849 # include <assert.h>
30850 #endif
30851
30852 #undef connect
30853
30854 /* Override any GCC internal prototype to avoid an error.
30855 Use char because int might match the return type of a GCC
30856 builtin and then its argument prototype would still apply. */
30857 #ifdef __cplusplus
30858 extern "C"
30859 #endif
30860 char connect ();
30861 /* The GNU C library defines this for functions which it implements
30862 to always fail with ENOSYS. Some functions are actually named
30863 something starting with __ and the normal name is an alias. */
30864 #if defined __stub_connect || defined __stub___connect
30865 choke me
30866 #endif
30867
30868 int
30869 main ()
30870 {
30871 return connect ();
30872 ;
30873 return 0;
30874 }
30875 _ACEOF
30876 rm -f conftest.$ac_objext conftest$ac_exeext
30877 if { (ac_try="$ac_link"
30878 case "(($ac_try" in
30879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30880 *) ac_try_echo=$ac_try;;
30881 esac
30882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30883 (eval "$ac_link") 2>conftest.er1
30884 ac_status=$?
30885 grep -v '^ *+' conftest.er1 >conftest.err
30886 rm -f conftest.er1
30887 cat conftest.err >&5
30888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30889 (exit $ac_status); } && {
30890 test -z "$ac_c_werror_flag" ||
30891 test ! -s conftest.err
30892 } && test -s conftest$ac_exeext &&
30893 $as_test_x conftest$ac_exeext; then
30894 ac_cv_func_connect=yes
30895 else
30896 echo "$as_me: failed program was:" >&5
30897 sed 's/^/| /' conftest.$ac_ext >&5
30898
30899 ac_cv_func_connect=no
30900 fi
30901
30902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30903 conftest$ac_exeext conftest.$ac_ext
30904 fi
30905 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30906 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30907
30908 if test $ac_cv_func_connect = no; then
30909 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30910 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30911 if test "${ac_cv_lib_socket_connect+set}" = set; then
30912 echo $ECHO_N "(cached) $ECHO_C" >&6
30913 else
30914 ac_check_lib_save_LIBS=$LIBS
30915 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30916 cat >conftest.$ac_ext <<_ACEOF
30917 /* confdefs.h. */
30918 _ACEOF
30919 cat confdefs.h >>conftest.$ac_ext
30920 cat >>conftest.$ac_ext <<_ACEOF
30921 /* end confdefs.h. */
30922
30923 /* Override any GCC internal prototype to avoid an error.
30924 Use char because int might match the return type of a GCC
30925 builtin and then its argument prototype would still apply. */
30926 #ifdef __cplusplus
30927 extern "C"
30928 #endif
30929 char connect ();
30930 int
30931 main ()
30932 {
30933 return connect ();
30934 ;
30935 return 0;
30936 }
30937 _ACEOF
30938 rm -f conftest.$ac_objext conftest$ac_exeext
30939 if { (ac_try="$ac_link"
30940 case "(($ac_try" in
30941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30942 *) ac_try_echo=$ac_try;;
30943 esac
30944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30945 (eval "$ac_link") 2>conftest.er1
30946 ac_status=$?
30947 grep -v '^ *+' conftest.er1 >conftest.err
30948 rm -f conftest.er1
30949 cat conftest.err >&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); } && {
30952 test -z "$ac_c_werror_flag" ||
30953 test ! -s conftest.err
30954 } && test -s conftest$ac_exeext &&
30955 $as_test_x conftest$ac_exeext; then
30956 ac_cv_lib_socket_connect=yes
30957 else
30958 echo "$as_me: failed program was:" >&5
30959 sed 's/^/| /' conftest.$ac_ext >&5
30960
30961 ac_cv_lib_socket_connect=no
30962 fi
30963
30964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30965 conftest$ac_exeext conftest.$ac_ext
30966 LIBS=$ac_check_lib_save_LIBS
30967 fi
30968 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30969 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30970 if test $ac_cv_lib_socket_connect = yes; then
30971 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30972 fi
30973
30974 fi
30975
30976 # Guillermo Gomez says -lposix is necessary on A/UX.
30977 { echo "$as_me:$LINENO: checking for remove" >&5
30978 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30979 if test "${ac_cv_func_remove+set}" = set; then
30980 echo $ECHO_N "(cached) $ECHO_C" >&6
30981 else
30982 cat >conftest.$ac_ext <<_ACEOF
30983 /* confdefs.h. */
30984 _ACEOF
30985 cat confdefs.h >>conftest.$ac_ext
30986 cat >>conftest.$ac_ext <<_ACEOF
30987 /* end confdefs.h. */
30988 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30990 #define remove innocuous_remove
30991
30992 /* System header to define __stub macros and hopefully few prototypes,
30993 which can conflict with char remove (); below.
30994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30995 <limits.h> exists even on freestanding compilers. */
30996
30997 #ifdef __STDC__
30998 # include <limits.h>
30999 #else
31000 # include <assert.h>
31001 #endif
31002
31003 #undef remove
31004
31005 /* Override any GCC internal prototype to avoid an error.
31006 Use char because int might match the return type of a GCC
31007 builtin and then its argument prototype would still apply. */
31008 #ifdef __cplusplus
31009 extern "C"
31010 #endif
31011 char remove ();
31012 /* The GNU C library defines this for functions which it implements
31013 to always fail with ENOSYS. Some functions are actually named
31014 something starting with __ and the normal name is an alias. */
31015 #if defined __stub_remove || defined __stub___remove
31016 choke me
31017 #endif
31018
31019 int
31020 main ()
31021 {
31022 return remove ();
31023 ;
31024 return 0;
31025 }
31026 _ACEOF
31027 rm -f conftest.$ac_objext conftest$ac_exeext
31028 if { (ac_try="$ac_link"
31029 case "(($ac_try" in
31030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31031 *) ac_try_echo=$ac_try;;
31032 esac
31033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31034 (eval "$ac_link") 2>conftest.er1
31035 ac_status=$?
31036 grep -v '^ *+' conftest.er1 >conftest.err
31037 rm -f conftest.er1
31038 cat conftest.err >&5
31039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 (exit $ac_status); } && {
31041 test -z "$ac_c_werror_flag" ||
31042 test ! -s conftest.err
31043 } && test -s conftest$ac_exeext &&
31044 $as_test_x conftest$ac_exeext; then
31045 ac_cv_func_remove=yes
31046 else
31047 echo "$as_me: failed program was:" >&5
31048 sed 's/^/| /' conftest.$ac_ext >&5
31049
31050 ac_cv_func_remove=no
31051 fi
31052
31053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31054 conftest$ac_exeext conftest.$ac_ext
31055 fi
31056 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31057 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31058
31059 if test $ac_cv_func_remove = no; then
31060 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31061 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31062 if test "${ac_cv_lib_posix_remove+set}" = set; then
31063 echo $ECHO_N "(cached) $ECHO_C" >&6
31064 else
31065 ac_check_lib_save_LIBS=$LIBS
31066 LIBS="-lposix $LIBS"
31067 cat >conftest.$ac_ext <<_ACEOF
31068 /* confdefs.h. */
31069 _ACEOF
31070 cat confdefs.h >>conftest.$ac_ext
31071 cat >>conftest.$ac_ext <<_ACEOF
31072 /* end confdefs.h. */
31073
31074 /* Override any GCC internal prototype to avoid an error.
31075 Use char because int might match the return type of a GCC
31076 builtin and then its argument prototype would still apply. */
31077 #ifdef __cplusplus
31078 extern "C"
31079 #endif
31080 char remove ();
31081 int
31082 main ()
31083 {
31084 return remove ();
31085 ;
31086 return 0;
31087 }
31088 _ACEOF
31089 rm -f conftest.$ac_objext conftest$ac_exeext
31090 if { (ac_try="$ac_link"
31091 case "(($ac_try" in
31092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31093 *) ac_try_echo=$ac_try;;
31094 esac
31095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31096 (eval "$ac_link") 2>conftest.er1
31097 ac_status=$?
31098 grep -v '^ *+' conftest.er1 >conftest.err
31099 rm -f conftest.er1
31100 cat conftest.err >&5
31101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31102 (exit $ac_status); } && {
31103 test -z "$ac_c_werror_flag" ||
31104 test ! -s conftest.err
31105 } && test -s conftest$ac_exeext &&
31106 $as_test_x conftest$ac_exeext; then
31107 ac_cv_lib_posix_remove=yes
31108 else
31109 echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.$ac_ext >&5
31111
31112 ac_cv_lib_posix_remove=no
31113 fi
31114
31115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31116 conftest$ac_exeext conftest.$ac_ext
31117 LIBS=$ac_check_lib_save_LIBS
31118 fi
31119 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31120 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31121 if test $ac_cv_lib_posix_remove = yes; then
31122 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31123 fi
31124
31125 fi
31126
31127 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31128 { echo "$as_me:$LINENO: checking for shmat" >&5
31129 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31130 if test "${ac_cv_func_shmat+set}" = set; then
31131 echo $ECHO_N "(cached) $ECHO_C" >&6
31132 else
31133 cat >conftest.$ac_ext <<_ACEOF
31134 /* confdefs.h. */
31135 _ACEOF
31136 cat confdefs.h >>conftest.$ac_ext
31137 cat >>conftest.$ac_ext <<_ACEOF
31138 /* end confdefs.h. */
31139 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31141 #define shmat innocuous_shmat
31142
31143 /* System header to define __stub macros and hopefully few prototypes,
31144 which can conflict with char shmat (); below.
31145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31146 <limits.h> exists even on freestanding compilers. */
31147
31148 #ifdef __STDC__
31149 # include <limits.h>
31150 #else
31151 # include <assert.h>
31152 #endif
31153
31154 #undef shmat
31155
31156 /* Override any GCC internal prototype to avoid an error.
31157 Use char because int might match the return type of a GCC
31158 builtin and then its argument prototype would still apply. */
31159 #ifdef __cplusplus
31160 extern "C"
31161 #endif
31162 char shmat ();
31163 /* The GNU C library defines this for functions which it implements
31164 to always fail with ENOSYS. Some functions are actually named
31165 something starting with __ and the normal name is an alias. */
31166 #if defined __stub_shmat || defined __stub___shmat
31167 choke me
31168 #endif
31169
31170 int
31171 main ()
31172 {
31173 return shmat ();
31174 ;
31175 return 0;
31176 }
31177 _ACEOF
31178 rm -f conftest.$ac_objext conftest$ac_exeext
31179 if { (ac_try="$ac_link"
31180 case "(($ac_try" in
31181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31182 *) ac_try_echo=$ac_try;;
31183 esac
31184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31185 (eval "$ac_link") 2>conftest.er1
31186 ac_status=$?
31187 grep -v '^ *+' conftest.er1 >conftest.err
31188 rm -f conftest.er1
31189 cat conftest.err >&5
31190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31191 (exit $ac_status); } && {
31192 test -z "$ac_c_werror_flag" ||
31193 test ! -s conftest.err
31194 } && test -s conftest$ac_exeext &&
31195 $as_test_x conftest$ac_exeext; then
31196 ac_cv_func_shmat=yes
31197 else
31198 echo "$as_me: failed program was:" >&5
31199 sed 's/^/| /' conftest.$ac_ext >&5
31200
31201 ac_cv_func_shmat=no
31202 fi
31203
31204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31205 conftest$ac_exeext conftest.$ac_ext
31206 fi
31207 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31208 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31209
31210 if test $ac_cv_func_shmat = no; then
31211 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31212 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31213 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31214 echo $ECHO_N "(cached) $ECHO_C" >&6
31215 else
31216 ac_check_lib_save_LIBS=$LIBS
31217 LIBS="-lipc $LIBS"
31218 cat >conftest.$ac_ext <<_ACEOF
31219 /* confdefs.h. */
31220 _ACEOF
31221 cat confdefs.h >>conftest.$ac_ext
31222 cat >>conftest.$ac_ext <<_ACEOF
31223 /* end confdefs.h. */
31224
31225 /* Override any GCC internal prototype to avoid an error.
31226 Use char because int might match the return type of a GCC
31227 builtin and then its argument prototype would still apply. */
31228 #ifdef __cplusplus
31229 extern "C"
31230 #endif
31231 char shmat ();
31232 int
31233 main ()
31234 {
31235 return shmat ();
31236 ;
31237 return 0;
31238 }
31239 _ACEOF
31240 rm -f conftest.$ac_objext conftest$ac_exeext
31241 if { (ac_try="$ac_link"
31242 case "(($ac_try" in
31243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31244 *) ac_try_echo=$ac_try;;
31245 esac
31246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31247 (eval "$ac_link") 2>conftest.er1
31248 ac_status=$?
31249 grep -v '^ *+' conftest.er1 >conftest.err
31250 rm -f conftest.er1
31251 cat conftest.err >&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); } && {
31254 test -z "$ac_c_werror_flag" ||
31255 test ! -s conftest.err
31256 } && test -s conftest$ac_exeext &&
31257 $as_test_x conftest$ac_exeext; then
31258 ac_cv_lib_ipc_shmat=yes
31259 else
31260 echo "$as_me: failed program was:" >&5
31261 sed 's/^/| /' conftest.$ac_ext >&5
31262
31263 ac_cv_lib_ipc_shmat=no
31264 fi
31265
31266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31267 conftest$ac_exeext conftest.$ac_ext
31268 LIBS=$ac_check_lib_save_LIBS
31269 fi
31270 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31271 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31272 if test $ac_cv_lib_ipc_shmat = yes; then
31273 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31274 fi
31275
31276 fi
31277 fi
31278
31279 # Check for libraries that X11R6 Xt/Xaw programs need.
31280 ac_save_LDFLAGS=$LDFLAGS
31281 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31282 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31283 # check for ICE first), but we must link in the order -lSM -lICE or
31284 # we get undefined symbols. So assume we have SM if we have ICE.
31285 # These have to be linked with before -lX11, unlike the other
31286 # libraries we check for below, so use a different variable.
31287 # John Interrante, Karl Berry
31288 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31289 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31290 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31291 echo $ECHO_N "(cached) $ECHO_C" >&6
31292 else
31293 ac_check_lib_save_LIBS=$LIBS
31294 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31295 cat >conftest.$ac_ext <<_ACEOF
31296 /* confdefs.h. */
31297 _ACEOF
31298 cat confdefs.h >>conftest.$ac_ext
31299 cat >>conftest.$ac_ext <<_ACEOF
31300 /* end confdefs.h. */
31301
31302 /* Override any GCC internal prototype to avoid an error.
31303 Use char because int might match the return type of a GCC
31304 builtin and then its argument prototype would still apply. */
31305 #ifdef __cplusplus
31306 extern "C"
31307 #endif
31308 char IceConnectionNumber ();
31309 int
31310 main ()
31311 {
31312 return IceConnectionNumber ();
31313 ;
31314 return 0;
31315 }
31316 _ACEOF
31317 rm -f conftest.$ac_objext conftest$ac_exeext
31318 if { (ac_try="$ac_link"
31319 case "(($ac_try" in
31320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31321 *) ac_try_echo=$ac_try;;
31322 esac
31323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31324 (eval "$ac_link") 2>conftest.er1
31325 ac_status=$?
31326 grep -v '^ *+' conftest.er1 >conftest.err
31327 rm -f conftest.er1
31328 cat conftest.err >&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); } && {
31331 test -z "$ac_c_werror_flag" ||
31332 test ! -s conftest.err
31333 } && test -s conftest$ac_exeext &&
31334 $as_test_x conftest$ac_exeext; then
31335 ac_cv_lib_ICE_IceConnectionNumber=yes
31336 else
31337 echo "$as_me: failed program was:" >&5
31338 sed 's/^/| /' conftest.$ac_ext >&5
31339
31340 ac_cv_lib_ICE_IceConnectionNumber=no
31341 fi
31342
31343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31344 conftest$ac_exeext conftest.$ac_ext
31345 LIBS=$ac_check_lib_save_LIBS
31346 fi
31347 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31348 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31349 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31350 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31351 fi
31352
31353 LDFLAGS=$ac_save_LDFLAGS
31354
31355 fi
31356
31357
31358 if test "$no_x" = "yes"; then
31359 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31360 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31361 { (exit 1); exit 1; }; }
31362 fi
31363
31364 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31365 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31366 AFMINSTALL=afminstall
31367 COMPILED_X_PROGRAM=0
31368
31369 fi
31370
31371 if test "$wxUSE_X11" = 1; then
31372 if test "$wxUSE_NANOX" = "yes"; then
31373 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31374 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31375 if test "x$MICROWIN" = x ; then
31376 { echo "$as_me:$LINENO: result: not found" >&5
31377 echo "${ECHO_T}not found" >&6; }
31378 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31379 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31380 { (exit 1); exit 1; }; }
31381 else
31382 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31383 echo "${ECHO_T}$MICROWIN" >&6; }
31384 cat >>confdefs.h <<\_ACEOF
31385 #define wxUSE_NANOX 1
31386 _ACEOF
31387
31388 fi
31389 fi
31390
31391 if test "$wxUSE_UNICODE" = "yes"; then
31392
31393
31394 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31395 if test -n "$ac_tool_prefix"; then
31396 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31397 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31400 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31401 echo $ECHO_N "(cached) $ECHO_C" >&6
31402 else
31403 case $PKG_CONFIG in
31404 [\\/]* | ?:[\\/]*)
31405 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31406 ;;
31407 *)
31408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31409 for as_dir in $PATH
31410 do
31411 IFS=$as_save_IFS
31412 test -z "$as_dir" && as_dir=.
31413 for ac_exec_ext in '' $ac_executable_extensions; do
31414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31415 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31417 break 2
31418 fi
31419 done
31420 done
31421 IFS=$as_save_IFS
31422
31423 ;;
31424 esac
31425 fi
31426 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31427 if test -n "$PKG_CONFIG"; then
31428 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31429 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31430 else
31431 { echo "$as_me:$LINENO: result: no" >&5
31432 echo "${ECHO_T}no" >&6; }
31433 fi
31434
31435
31436 fi
31437 if test -z "$ac_cv_path_PKG_CONFIG"; then
31438 ac_pt_PKG_CONFIG=$PKG_CONFIG
31439 # Extract the first word of "pkg-config", so it can be a program name with args.
31440 set dummy pkg-config; ac_word=$2
31441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31443 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31444 echo $ECHO_N "(cached) $ECHO_C" >&6
31445 else
31446 case $ac_pt_PKG_CONFIG in
31447 [\\/]* | ?:[\\/]*)
31448 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31449 ;;
31450 *)
31451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31452 for as_dir in $PATH
31453 do
31454 IFS=$as_save_IFS
31455 test -z "$as_dir" && as_dir=.
31456 for ac_exec_ext in '' $ac_executable_extensions; do
31457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31458 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31460 break 2
31461 fi
31462 done
31463 done
31464 IFS=$as_save_IFS
31465
31466 ;;
31467 esac
31468 fi
31469 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31470 if test -n "$ac_pt_PKG_CONFIG"; then
31471 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31472 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31473 else
31474 { echo "$as_me:$LINENO: result: no" >&5
31475 echo "${ECHO_T}no" >&6; }
31476 fi
31477
31478 if test "x$ac_pt_PKG_CONFIG" = x; then
31479 PKG_CONFIG=""
31480 else
31481 case $cross_compiling:$ac_tool_warned in
31482 yes:)
31483 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31484 whose name does not start with the host triplet. If you think this
31485 configuration is useful to you, please write to autoconf@gnu.org." >&5
31486 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31487 whose name does not start with the host triplet. If you think this
31488 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31489 ac_tool_warned=yes ;;
31490 esac
31491 PKG_CONFIG=$ac_pt_PKG_CONFIG
31492 fi
31493 else
31494 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31495 fi
31496
31497 fi
31498 if test -n "$PKG_CONFIG"; then
31499 _pkg_min_version=0.9.0
31500 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31501 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31502 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31503 { echo "$as_me:$LINENO: result: yes" >&5
31504 echo "${ECHO_T}yes" >&6; }
31505 else
31506 { echo "$as_me:$LINENO: result: no" >&5
31507 echo "${ECHO_T}no" >&6; }
31508 PKG_CONFIG=""
31509 fi
31510
31511 fi
31512
31513
31514 pkg_failed=no
31515 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31516 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31517
31518 if test -n "$PKG_CONFIG"; then
31519 if test -n "$PANGOX_CFLAGS"; then
31520 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31521 else
31522 if test -n "$PKG_CONFIG" && \
31523 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31524 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31525 ac_status=$?
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); }; then
31528 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31529 else
31530 pkg_failed=yes
31531 fi
31532 fi
31533 else
31534 pkg_failed=untried
31535 fi
31536 if test -n "$PKG_CONFIG"; then
31537 if test -n "$PANGOX_LIBS"; then
31538 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31539 else
31540 if test -n "$PKG_CONFIG" && \
31541 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31542 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31543 ac_status=$?
31544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31545 (exit $ac_status); }; then
31546 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31547 else
31548 pkg_failed=yes
31549 fi
31550 fi
31551 else
31552 pkg_failed=untried
31553 fi
31554
31555
31556
31557 if test $pkg_failed = yes; then
31558
31559 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31560 _pkg_short_errors_supported=yes
31561 else
31562 _pkg_short_errors_supported=no
31563 fi
31564 if test $_pkg_short_errors_supported = yes; then
31565 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31566 else
31567 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31568 fi
31569 # Put the nasty error message in config.log where it belongs
31570 echo "$PANGOX_PKG_ERRORS" >&5
31571
31572
31573 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31574 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31575 { (exit 1); exit 1; }; }
31576
31577
31578 elif test $pkg_failed = untried; then
31579
31580 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31581 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31582 { (exit 1); exit 1; }; }
31583
31584
31585 else
31586 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31587 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31588 { echo "$as_me:$LINENO: result: yes" >&5
31589 echo "${ECHO_T}yes" >&6; }
31590
31591 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31592 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31593 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31594
31595 fi
31596
31597 pkg_failed=no
31598 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31599 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31600
31601 if test -n "$PKG_CONFIG"; then
31602 if test -n "$PANGOFT2_CFLAGS"; then
31603 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31604 else
31605 if test -n "$PKG_CONFIG" && \
31606 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31607 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31608 ac_status=$?
31609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31610 (exit $ac_status); }; then
31611 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31612 else
31613 pkg_failed=yes
31614 fi
31615 fi
31616 else
31617 pkg_failed=untried
31618 fi
31619 if test -n "$PKG_CONFIG"; then
31620 if test -n "$PANGOFT2_LIBS"; then
31621 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31622 else
31623 if test -n "$PKG_CONFIG" && \
31624 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31625 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31626 ac_status=$?
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; then
31629 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31630 else
31631 pkg_failed=yes
31632 fi
31633 fi
31634 else
31635 pkg_failed=untried
31636 fi
31637
31638
31639
31640 if test $pkg_failed = yes; then
31641
31642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31643 _pkg_short_errors_supported=yes
31644 else
31645 _pkg_short_errors_supported=no
31646 fi
31647 if test $_pkg_short_errors_supported = yes; then
31648 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31649 else
31650 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31651 fi
31652 # Put the nasty error message in config.log where it belongs
31653 echo "$PANGOFT2_PKG_ERRORS" >&5
31654
31655
31656 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31657 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31658 wxUSE_PRINTING_ARCHITECTURE="no"
31659
31660
31661 elif test $pkg_failed = untried; then
31662
31663 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31664 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31665 wxUSE_PRINTING_ARCHITECTURE="no"
31666
31667
31668 else
31669 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31670 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31671 { echo "$as_me:$LINENO: result: yes" >&5
31672 echo "${ECHO_T}yes" >&6; }
31673
31674 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31675 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31676 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31677
31678 fi
31679
31680 pkg_failed=no
31681 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31682 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31683
31684 if test -n "$PKG_CONFIG"; then
31685 if test -n "$PANGOXFT_CFLAGS"; then
31686 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31687 else
31688 if test -n "$PKG_CONFIG" && \
31689 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31690 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31691 ac_status=$?
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); }; then
31694 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31695 else
31696 pkg_failed=yes
31697 fi
31698 fi
31699 else
31700 pkg_failed=untried
31701 fi
31702 if test -n "$PKG_CONFIG"; then
31703 if test -n "$PANGOXFT_LIBS"; then
31704 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31705 else
31706 if test -n "$PKG_CONFIG" && \
31707 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31708 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31709 ac_status=$?
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; then
31712 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31713 else
31714 pkg_failed=yes
31715 fi
31716 fi
31717 else
31718 pkg_failed=untried
31719 fi
31720
31721
31722
31723 if test $pkg_failed = yes; then
31724
31725 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31726 _pkg_short_errors_supported=yes
31727 else
31728 _pkg_short_errors_supported=no
31729 fi
31730 if test $_pkg_short_errors_supported = yes; then
31731 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31732 else
31733 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31734 fi
31735 # Put the nasty error message in config.log where it belongs
31736 echo "$PANGOXFT_PKG_ERRORS" >&5
31737
31738
31739 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31740 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31741
31742
31743 elif test $pkg_failed = untried; then
31744
31745 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31746 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31747
31748
31749 else
31750 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31751 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31752 { echo "$as_me:$LINENO: result: yes" >&5
31753 echo "${ECHO_T}yes" >&6; }
31754
31755 cat >>confdefs.h <<\_ACEOF
31756 #define HAVE_PANGO_XFT 1
31757 _ACEOF
31758
31759 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31760 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31761 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31762
31763 fi
31764 save_LIBS="$LIBS"
31765 LIBS="$LIBS $PANGOX_LIBS"
31766
31767 for ac_func in pango_font_family_is_monospace
31768 do
31769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31770 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31772 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31773 echo $ECHO_N "(cached) $ECHO_C" >&6
31774 else
31775 cat >conftest.$ac_ext <<_ACEOF
31776 /* confdefs.h. */
31777 _ACEOF
31778 cat confdefs.h >>conftest.$ac_ext
31779 cat >>conftest.$ac_ext <<_ACEOF
31780 /* end confdefs.h. */
31781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31782 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31783 #define $ac_func innocuous_$ac_func
31784
31785 /* System header to define __stub macros and hopefully few prototypes,
31786 which can conflict with char $ac_func (); below.
31787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31788 <limits.h> exists even on freestanding compilers. */
31789
31790 #ifdef __STDC__
31791 # include <limits.h>
31792 #else
31793 # include <assert.h>
31794 #endif
31795
31796 #undef $ac_func
31797
31798 /* Override any GCC internal prototype to avoid an error.
31799 Use char because int might match the return type of a GCC
31800 builtin and then its argument prototype would still apply. */
31801 #ifdef __cplusplus
31802 extern "C"
31803 #endif
31804 char $ac_func ();
31805 /* The GNU C library defines this for functions which it implements
31806 to always fail with ENOSYS. Some functions are actually named
31807 something starting with __ and the normal name is an alias. */
31808 #if defined __stub_$ac_func || defined __stub___$ac_func
31809 choke me
31810 #endif
31811
31812 int
31813 main ()
31814 {
31815 return $ac_func ();
31816 ;
31817 return 0;
31818 }
31819 _ACEOF
31820 rm -f conftest.$ac_objext conftest$ac_exeext
31821 if { (ac_try="$ac_link"
31822 case "(($ac_try" in
31823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31824 *) ac_try_echo=$ac_try;;
31825 esac
31826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31827 (eval "$ac_link") 2>conftest.er1
31828 ac_status=$?
31829 grep -v '^ *+' conftest.er1 >conftest.err
31830 rm -f conftest.er1
31831 cat conftest.err >&5
31832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31833 (exit $ac_status); } && {
31834 test -z "$ac_c_werror_flag" ||
31835 test ! -s conftest.err
31836 } && test -s conftest$ac_exeext &&
31837 $as_test_x conftest$ac_exeext; then
31838 eval "$as_ac_var=yes"
31839 else
31840 echo "$as_me: failed program was:" >&5
31841 sed 's/^/| /' conftest.$ac_ext >&5
31842
31843 eval "$as_ac_var=no"
31844 fi
31845
31846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31847 conftest$ac_exeext conftest.$ac_ext
31848 fi
31849 ac_res=`eval echo '${'$as_ac_var'}'`
31850 { echo "$as_me:$LINENO: result: $ac_res" >&5
31851 echo "${ECHO_T}$ac_res" >&6; }
31852 if test `eval echo '${'$as_ac_var'}'` = yes; then
31853 cat >>confdefs.h <<_ACEOF
31854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31855 _ACEOF
31856
31857 fi
31858 done
31859
31860 LIBS="$save_LIBS"
31861 fi
31862
31863 wxUSE_UNIVERSAL="yes"
31864
31865 if test "$wxUSE_NANOX" = "yes"; then
31866 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31867 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"
31868 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31869 else
31870 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31871 fi
31872
31873 TOOLKIT=X11
31874 GUIDIST=X11_DIST
31875 fi
31876
31877 if test "$wxUSE_MOTIF" = 1; then
31878 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31879 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31880
31881 ac_find_includes=
31882 for ac_dir in $SEARCH_INCLUDE /usr/include;
31883 do
31884 if test -f "$ac_dir/Xm/Xm.h"; then
31885 ac_find_includes=$ac_dir
31886 break
31887 fi
31888 done
31889
31890 if test "$ac_find_includes" != "" ; then
31891 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31892 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31893
31894 if test "x$ac_find_includes" = "x/usr/include"; then
31895 ac_path_to_include=""
31896 else
31897 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31898 result=$?
31899 if test $result = 0; then
31900 ac_path_to_include=""
31901 else
31902 ac_path_to_include=" -I$ac_find_includes"
31903 fi
31904 fi
31905
31906 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31907 else
31908 save_CFLAGS=$CFLAGS
31909 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31910
31911 cat >conftest.$ac_ext <<_ACEOF
31912 /* confdefs.h. */
31913 _ACEOF
31914 cat confdefs.h >>conftest.$ac_ext
31915 cat >>conftest.$ac_ext <<_ACEOF
31916 /* end confdefs.h. */
31917
31918 #include <Xm/Xm.h>
31919
31920 int
31921 main ()
31922 {
31923
31924 int version;
31925 version = xmUseVersion;
31926
31927 ;
31928 return 0;
31929 }
31930 _ACEOF
31931 rm -f conftest.$ac_objext
31932 if { (ac_try="$ac_compile"
31933 case "(($ac_try" in
31934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31935 *) ac_try_echo=$ac_try;;
31936 esac
31937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31938 (eval "$ac_compile") 2>conftest.er1
31939 ac_status=$?
31940 grep -v '^ *+' conftest.er1 >conftest.err
31941 rm -f conftest.er1
31942 cat conftest.err >&5
31943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31944 (exit $ac_status); } && {
31945 test -z "$ac_c_werror_flag" ||
31946 test ! -s conftest.err
31947 } && test -s conftest.$ac_objext; then
31948
31949 { echo "$as_me:$LINENO: result: found in default search path" >&5
31950 echo "${ECHO_T}found in default search path" >&6; }
31951 COMPILED_X_PROGRAM=1
31952
31953 else
31954 echo "$as_me: failed program was:" >&5
31955 sed 's/^/| /' conftest.$ac_ext >&5
31956
31957
31958 { echo "$as_me:$LINENO: result: no" >&5
31959 echo "${ECHO_T}no" >&6; }
31960 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31961 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31962 { (exit 1); exit 1; }; }
31963
31964
31965 fi
31966
31967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31968
31969 CFLAGS=$save_CFLAGS
31970 fi
31971
31972
31973 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31974 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31975
31976 ac_find_libraries=
31977 for ac_dir in $SEARCH_LIB;
31978 do
31979 for ac_extension in a so sl dylib dll.a; do
31980 if test -f "$ac_dir/libXm.$ac_extension"; then
31981 ac_find_libraries=$ac_dir
31982 break 2
31983 fi
31984 done
31985 done
31986
31987
31988 if test "x$ac_find_libraries" != "x" ; then
31989 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31990 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31991
31992
31993 if test "$ac_find_libraries" = "default location"; then
31994 ac_path_to_link=""
31995 else
31996 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31997 result=$?
31998 if test $result = 0; then
31999 ac_path_to_link=""
32000 else
32001 ac_path_to_link=" -L$ac_find_libraries"
32002 fi
32003 fi
32004
32005 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32006 else
32007 save_CFLAGS=$CFLAGS
32008 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32009 save_LIBS="$LIBS"
32010 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32011
32012 cat >conftest.$ac_ext <<_ACEOF
32013 /* confdefs.h. */
32014 _ACEOF
32015 cat confdefs.h >>conftest.$ac_ext
32016 cat >>conftest.$ac_ext <<_ACEOF
32017 /* end confdefs.h. */
32018
32019 #include <Xm/Xm.h>
32020
32021 int
32022 main ()
32023 {
32024
32025 int version;
32026 version = xmUseVersion;
32027
32028 ;
32029 return 0;
32030 }
32031 _ACEOF
32032 rm -f conftest.$ac_objext conftest$ac_exeext
32033 if { (ac_try="$ac_link"
32034 case "(($ac_try" in
32035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32036 *) ac_try_echo=$ac_try;;
32037 esac
32038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32039 (eval "$ac_link") 2>conftest.er1
32040 ac_status=$?
32041 grep -v '^ *+' conftest.er1 >conftest.err
32042 rm -f conftest.er1
32043 cat conftest.err >&5
32044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32045 (exit $ac_status); } && {
32046 test -z "$ac_c_werror_flag" ||
32047 test ! -s conftest.err
32048 } && test -s conftest$ac_exeext &&
32049 $as_test_x conftest$ac_exeext; then
32050
32051 { echo "$as_me:$LINENO: result: found in default search path" >&5
32052 echo "${ECHO_T}found in default search path" >&6; }
32053 COMPILED_X_PROGRAM=1
32054
32055 else
32056 echo "$as_me: failed program was:" >&5
32057 sed 's/^/| /' conftest.$ac_ext >&5
32058
32059
32060 { echo "$as_me:$LINENO: result: no" >&5
32061 echo "${ECHO_T}no" >&6; }
32062 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32063 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32064 { (exit 1); exit 1; }; }
32065
32066
32067 fi
32068
32069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32070 conftest$ac_exeext conftest.$ac_ext
32071
32072 CFLAGS=$save_CFLAGS
32073 LIBS="$save_LIBS"
32074 fi
32075
32076 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32077 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32078 libp_link=""
32079 libsm_ice_link=""
32080 libs_found=0
32081 for libp in "" " -lXp"; do
32082 if test "$libs_found" = 0; then
32083 for libsm_ice in "" " -lSM -lICE"; do
32084 if test "$libs_found" = 0; then
32085 save_LIBS="$LIBS"
32086 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32087 save_CFLAGS=$CFLAGS
32088 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32089
32090 cat >conftest.$ac_ext <<_ACEOF
32091 /* confdefs.h. */
32092 _ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h. */
32096
32097 #include <Xm/Xm.h>
32098 #include <Xm/List.h>
32099
32100 int
32101 main ()
32102 {
32103
32104 XmString string = NULL;
32105 Widget w = NULL;
32106 int position = 0;
32107 XmListAddItem(w, string, position);
32108
32109 ;
32110 return 0;
32111 }
32112 _ACEOF
32113 rm -f conftest.$ac_objext conftest$ac_exeext
32114 if { (ac_try="$ac_link"
32115 case "(($ac_try" in
32116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32117 *) ac_try_echo=$ac_try;;
32118 esac
32119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32120 (eval "$ac_link") 2>conftest.er1
32121 ac_status=$?
32122 grep -v '^ *+' conftest.er1 >conftest.err
32123 rm -f conftest.er1
32124 cat conftest.err >&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); } && {
32127 test -z "$ac_c_werror_flag" ||
32128 test ! -s conftest.err
32129 } && test -s conftest$ac_exeext &&
32130 $as_test_x conftest$ac_exeext; then
32131
32132 libp_link="$libp"
32133 libsm_ice_link="$libsm_ice"
32134 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32135 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32136 libs_found=1
32137
32138 else
32139 echo "$as_me: failed program was:" >&5
32140 sed 's/^/| /' conftest.$ac_ext >&5
32141
32142
32143
32144 fi
32145
32146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32147 conftest$ac_exeext conftest.$ac_ext
32148
32149 LIBS="$save_LIBS"
32150 CFLAGS=$save_CFLAGS
32151 fi
32152 done
32153 fi
32154 done
32155
32156 if test "$libs_found" = 0; then
32157 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32158 echo "${ECHO_T}can't find the right libraries" >&6; }
32159 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32160 echo "$as_me: error: can't link a simple motif program" >&2;}
32161 { (exit 1); exit 1; }; }
32162 fi
32163
32164 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32165 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32166 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32167 echo $ECHO_N "(cached) $ECHO_C" >&6
32168 else
32169 ac_check_lib_save_LIBS=$LIBS
32170 LIBS="-lSgm $LIBS"
32171 cat >conftest.$ac_ext <<_ACEOF
32172 /* confdefs.h. */
32173 _ACEOF
32174 cat confdefs.h >>conftest.$ac_ext
32175 cat >>conftest.$ac_ext <<_ACEOF
32176 /* end confdefs.h. */
32177
32178 /* Override any GCC internal prototype to avoid an error.
32179 Use char because int might match the return type of a GCC
32180 builtin and then its argument prototype would still apply. */
32181 #ifdef __cplusplus
32182 extern "C"
32183 #endif
32184 char SgCreateList ();
32185 int
32186 main ()
32187 {
32188 return SgCreateList ();
32189 ;
32190 return 0;
32191 }
32192 _ACEOF
32193 rm -f conftest.$ac_objext conftest$ac_exeext
32194 if { (ac_try="$ac_link"
32195 case "(($ac_try" in
32196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32197 *) ac_try_echo=$ac_try;;
32198 esac
32199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32200 (eval "$ac_link") 2>conftest.er1
32201 ac_status=$?
32202 grep -v '^ *+' conftest.er1 >conftest.err
32203 rm -f conftest.er1
32204 cat conftest.err >&5
32205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32206 (exit $ac_status); } && {
32207 test -z "$ac_c_werror_flag" ||
32208 test ! -s conftest.err
32209 } && test -s conftest$ac_exeext &&
32210 $as_test_x conftest$ac_exeext; then
32211 ac_cv_lib_Sgm_SgCreateList=yes
32212 else
32213 echo "$as_me: failed program was:" >&5
32214 sed 's/^/| /' conftest.$ac_ext >&5
32215
32216 ac_cv_lib_Sgm_SgCreateList=no
32217 fi
32218
32219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32220 conftest$ac_exeext conftest.$ac_ext
32221 LIBS=$ac_check_lib_save_LIBS
32222 fi
32223 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32224 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32225 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32226 libsgm_link=" -lSgm"
32227 fi
32228
32229
32230 save_CFLAGS=$CFLAGS
32231 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32232
32233 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32234 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32235 if test "${wx_cv_lib_motif2+set}" = set; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32237 else
32238 cat >conftest.$ac_ext <<_ACEOF
32239 /* confdefs.h. */
32240 _ACEOF
32241 cat confdefs.h >>conftest.$ac_ext
32242 cat >>conftest.$ac_ext <<_ACEOF
32243 /* end confdefs.h. */
32244
32245 #include <Xm/Xm.h>
32246
32247 int
32248 main ()
32249 {
32250
32251 #if XmVersion < 2000
32252 Not Motif 2
32253 #endif
32254
32255 ;
32256 return 0;
32257 }
32258 _ACEOF
32259 rm -f conftest.$ac_objext
32260 if { (ac_try="$ac_compile"
32261 case "(($ac_try" in
32262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32263 *) ac_try_echo=$ac_try;;
32264 esac
32265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32266 (eval "$ac_compile") 2>conftest.er1
32267 ac_status=$?
32268 grep -v '^ *+' conftest.er1 >conftest.err
32269 rm -f conftest.er1
32270 cat conftest.err >&5
32271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32272 (exit $ac_status); } && {
32273 test -z "$ac_c_werror_flag" ||
32274 test ! -s conftest.err
32275 } && test -s conftest.$ac_objext; then
32276 wx_cv_lib_motif2="yes"
32277 else
32278 echo "$as_me: failed program was:" >&5
32279 sed 's/^/| /' conftest.$ac_ext >&5
32280
32281 wx_cv_lib_motif2="no"
32282 fi
32283
32284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32285 fi
32286 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32287 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32288 if test "$wx_cv_lib_motif2" = "yes"; then
32289 cat >>confdefs.h <<\_ACEOF
32290 #define __WXMOTIF20__ 1
32291 _ACEOF
32292
32293 else
32294 cat >>confdefs.h <<\_ACEOF
32295 #define __WXMOTIF20__ 0
32296 _ACEOF
32297
32298 fi
32299
32300 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32301 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32302 if test "${wx_cv_lib_lesstif+set}" = set; then
32303 echo $ECHO_N "(cached) $ECHO_C" >&6
32304 else
32305 cat >conftest.$ac_ext <<_ACEOF
32306 /* confdefs.h. */
32307 _ACEOF
32308 cat confdefs.h >>conftest.$ac_ext
32309 cat >>conftest.$ac_ext <<_ACEOF
32310 /* end confdefs.h. */
32311
32312 #include <Xm/Xm.h>
32313
32314 int
32315 main ()
32316 {
32317
32318 #if !defined(LesstifVersion) || LesstifVersion <= 0
32319 Not Lesstif
32320 #endif
32321
32322 ;
32323 return 0;
32324 }
32325 _ACEOF
32326 rm -f conftest.$ac_objext
32327 if { (ac_try="$ac_compile"
32328 case "(($ac_try" in
32329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32330 *) ac_try_echo=$ac_try;;
32331 esac
32332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32333 (eval "$ac_compile") 2>conftest.er1
32334 ac_status=$?
32335 grep -v '^ *+' conftest.er1 >conftest.err
32336 rm -f conftest.er1
32337 cat conftest.err >&5
32338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32339 (exit $ac_status); } && {
32340 test -z "$ac_c_werror_flag" ||
32341 test ! -s conftest.err
32342 } && test -s conftest.$ac_objext; then
32343 wx_cv_lib_lesstif="yes"
32344 else
32345 echo "$as_me: failed program was:" >&5
32346 sed 's/^/| /' conftest.$ac_ext >&5
32347
32348 wx_cv_lib_lesstif="no"
32349 fi
32350
32351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32352
32353 fi
32354 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32355 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32356 if test "$wx_cv_lib_lesstif" = "yes"; then
32357 cat >>confdefs.h <<\_ACEOF
32358 #define __WXLESSTIF__ 1
32359 _ACEOF
32360
32361 else
32362 cat >>confdefs.h <<\_ACEOF
32363 #define __WXLESSTIF__ 0
32364 _ACEOF
32365
32366 fi
32367
32368 CFLAGS=$save_CFLAGS
32369
32370 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32371 TOOLKIT=MOTIF
32372 GUIDIST=MOTIF_DIST
32373 fi
32374
32375 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32376 if test "$wxUSE_LIBXPM" = "sys"; then
32377 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32378 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32379
32380 ac_find_libraries=
32381 for ac_dir in $SEARCH_LIB;
32382 do
32383 for ac_extension in a so sl dylib dll.a; do
32384 if test -f "$ac_dir/libXpm.$ac_extension"; then
32385 ac_find_libraries=$ac_dir
32386 break 2
32387 fi
32388 done
32389 done
32390
32391 if test "$ac_find_libraries" != "" ; then
32392
32393 if test "$ac_find_libraries" = "default location"; then
32394 ac_path_to_link=""
32395 else
32396 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32397 result=$?
32398 if test $result = 0; then
32399 ac_path_to_link=""
32400 else
32401 ac_path_to_link=" -L$ac_find_libraries"
32402 fi
32403 fi
32404
32405 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32406 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32407 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32408
32409 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32410 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32411 if test "${wx_cv_x11_xpm_h+set}" = set; then
32412 echo $ECHO_N "(cached) $ECHO_C" >&6
32413 else
32414
32415 save_CFLAGS=$CFLAGS
32416 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32417
32418 cat >conftest.$ac_ext <<_ACEOF
32419 /* confdefs.h. */
32420 _ACEOF
32421 cat confdefs.h >>conftest.$ac_ext
32422 cat >>conftest.$ac_ext <<_ACEOF
32423 /* end confdefs.h. */
32424
32425 #include <X11/xpm.h>
32426
32427 int
32428 main ()
32429 {
32430
32431 int version;
32432 version = XpmLibraryVersion();
32433
32434 ;
32435 return 0;
32436 }
32437 _ACEOF
32438 rm -f conftest.$ac_objext
32439 if { (ac_try="$ac_compile"
32440 case "(($ac_try" in
32441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32442 *) ac_try_echo=$ac_try;;
32443 esac
32444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32445 (eval "$ac_compile") 2>conftest.er1
32446 ac_status=$?
32447 grep -v '^ *+' conftest.er1 >conftest.err
32448 rm -f conftest.er1
32449 cat conftest.err >&5
32450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32451 (exit $ac_status); } && {
32452 test -z "$ac_c_werror_flag" ||
32453 test ! -s conftest.err
32454 } && test -s conftest.$ac_objext; then
32455 wx_cv_x11_xpm_h=yes
32456 else
32457 echo "$as_me: failed program was:" >&5
32458 sed 's/^/| /' conftest.$ac_ext >&5
32459
32460 wx_cv_x11_xpm_h=no
32461
32462 fi
32463
32464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32465
32466 CFLAGS=$save_CFLAGS
32467
32468
32469 fi
32470 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32471 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32472
32473 if test $wx_cv_x11_xpm_h = "yes"; then
32474 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32475 cat >>confdefs.h <<\_ACEOF
32476 #define wxHAVE_LIB_XPM 1
32477 _ACEOF
32478
32479 else
32480 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32481 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32482 fi
32483 fi
32484
32485 fi
32486
32487 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32488 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32489 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32490 echo $ECHO_N "(cached) $ECHO_C" >&6
32491 else
32492 ac_check_lib_save_LIBS=$LIBS
32493 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32494 cat >conftest.$ac_ext <<_ACEOF
32495 /* confdefs.h. */
32496 _ACEOF
32497 cat confdefs.h >>conftest.$ac_ext
32498 cat >>conftest.$ac_ext <<_ACEOF
32499 /* end confdefs.h. */
32500
32501 /* Override any GCC internal prototype to avoid an error.
32502 Use char because int might match the return type of a GCC
32503 builtin and then its argument prototype would still apply. */
32504 #ifdef __cplusplus
32505 extern "C"
32506 #endif
32507 char XShapeQueryExtension ();
32508 int
32509 main ()
32510 {
32511 return XShapeQueryExtension ();
32512 ;
32513 return 0;
32514 }
32515 _ACEOF
32516 rm -f conftest.$ac_objext conftest$ac_exeext
32517 if { (ac_try="$ac_link"
32518 case "(($ac_try" in
32519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32520 *) ac_try_echo=$ac_try;;
32521 esac
32522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32523 (eval "$ac_link") 2>conftest.er1
32524 ac_status=$?
32525 grep -v '^ *+' conftest.er1 >conftest.err
32526 rm -f conftest.er1
32527 cat conftest.err >&5
32528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32529 (exit $ac_status); } && {
32530 test -z "$ac_c_werror_flag" ||
32531 test ! -s conftest.err
32532 } && test -s conftest$ac_exeext &&
32533 $as_test_x conftest$ac_exeext; then
32534 ac_cv_lib_Xext_XShapeQueryExtension=yes
32535 else
32536 echo "$as_me: failed program was:" >&5
32537 sed 's/^/| /' conftest.$ac_ext >&5
32538
32539 ac_cv_lib_Xext_XShapeQueryExtension=no
32540 fi
32541
32542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32543 conftest$ac_exeext conftest.$ac_ext
32544 LIBS=$ac_check_lib_save_LIBS
32545 fi
32546 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32547 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32548 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32549
32550 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32551 wxHAVE_XEXT_LIB=1
32552
32553 fi
32554
32555
32556 if test "$wxHAVE_XEXT_LIB" = 1; then
32557 save_CFLAGS="$CFLAGS"
32558 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32559
32560 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32561 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32562 cat >conftest.$ac_ext <<_ACEOF
32563 /* confdefs.h. */
32564 _ACEOF
32565 cat confdefs.h >>conftest.$ac_ext
32566 cat >>conftest.$ac_ext <<_ACEOF
32567 /* end confdefs.h. */
32568
32569 #include <X11/Xlib.h>
32570 #include <X11/extensions/shape.h>
32571
32572 int
32573 main ()
32574 {
32575
32576 int dummy1, dummy2;
32577 XShapeQueryExtension((Display*)NULL,
32578 (int*)NULL, (int*)NULL);
32579
32580 ;
32581 return 0;
32582 }
32583 _ACEOF
32584 rm -f conftest.$ac_objext
32585 if { (ac_try="$ac_compile"
32586 case "(($ac_try" in
32587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32588 *) ac_try_echo=$ac_try;;
32589 esac
32590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32591 (eval "$ac_compile") 2>conftest.er1
32592 ac_status=$?
32593 grep -v '^ *+' conftest.er1 >conftest.err
32594 rm -f conftest.er1
32595 cat conftest.err >&5
32596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32597 (exit $ac_status); } && {
32598 test -z "$ac_c_werror_flag" ||
32599 test ! -s conftest.err
32600 } && test -s conftest.$ac_objext; then
32601
32602 cat >>confdefs.h <<\_ACEOF
32603 #define HAVE_XSHAPE 1
32604 _ACEOF
32605
32606 { echo "$as_me:$LINENO: result: found" >&5
32607 echo "${ECHO_T}found" >&6; }
32608
32609 else
32610 echo "$as_me: failed program was:" >&5
32611 sed 's/^/| /' conftest.$ac_ext >&5
32612
32613
32614 { echo "$as_me:$LINENO: result: not found" >&5
32615 echo "${ECHO_T}not found" >&6; }
32616
32617 fi
32618
32619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32620 CFLAGS="$save_CFLAGS"
32621
32622 fi
32623 fi
32624
32625 if test "$wxUSE_OSX_CARBON" = 1; then
32626 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32627 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32628 if test "$GCC" = yes; then
32629 { echo "$as_me:$LINENO: result: gcc" >&5
32630 echo "${ECHO_T}gcc" >&6; }
32631 CPPFLAGS_PASCAL="-fpascal-strings"
32632 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32633 { echo "$as_me:$LINENO: result: xlc" >&5
32634 echo "${ECHO_T}xlc" >&6; }
32635 CPPFLAGS_PASCAL="-qmacpstr"
32636 else
32637 { echo "$as_me:$LINENO: result: none" >&5
32638 echo "${ECHO_T}none" >&6; }
32639 fi
32640
32641 if test "x$wxUSE_UNIX" = "xyes"; then
32642 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32643 else
32644 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32645 fi
32646
32647 TOOLKIT=OSX_CARBON
32648 GUIDIST=OSX_CARBON_DIST
32649 WXBASEPORT="_carbon"
32650 fi
32651
32652 if test "$wxUSE_OSX_COCOA" = 1; then
32653 TOOLKIT=OSX_COCOA
32654 GUIDIST=OSX_COCOA_DIST
32655 fi
32656
32657 if test "$wxUSE_COCOA" = 1; then
32658 TOOLKIT=COCOA
32659 GUIDIST=COCOA_DIST
32660 fi
32661
32662 if test "$wxUSE_PM" = 1; then
32663 TOOLKIT=PM
32664 GUIDIST=PM_DIST
32665 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32666 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32667 if test "${wx_cv_spbcdata+set}" = set; then
32668 echo $ECHO_N "(cached) $ECHO_C" >&6
32669 else
32670
32671 cat >conftest.$ac_ext <<_ACEOF
32672 /* confdefs.h. */
32673 _ACEOF
32674 cat confdefs.h >>conftest.$ac_ext
32675 cat >>conftest.$ac_ext <<_ACEOF
32676 /* end confdefs.h. */
32677
32678 #define INCL_PM
32679 #include <os2.h>
32680
32681 int
32682 main ()
32683 {
32684
32685 SPBCDATA test;
32686
32687 ;
32688 return 0;
32689 }
32690 _ACEOF
32691 rm -f conftest.$ac_objext
32692 if { (ac_try="$ac_compile"
32693 case "(($ac_try" in
32694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32695 *) ac_try_echo=$ac_try;;
32696 esac
32697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32698 (eval "$ac_compile") 2>conftest.er1
32699 ac_status=$?
32700 grep -v '^ *+' conftest.er1 >conftest.err
32701 rm -f conftest.er1
32702 cat conftest.err >&5
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); } && {
32705 test -z "$ac_c_werror_flag" ||
32706 test ! -s conftest.err
32707 } && test -s conftest.$ac_objext; then
32708 wx_cv_spbcdata=yes
32709 else
32710 echo "$as_me: failed program was:" >&5
32711 sed 's/^/| /' conftest.$ac_ext >&5
32712
32713 wx_cv_spbcdata=no
32714
32715 fi
32716
32717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32718
32719
32720 fi
32721 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32722 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32723
32724 if test $wx_cv_spbcdata = "yes"; then
32725 cat >>confdefs.h <<\_ACEOF
32726 #define HAVE_SPBCDATA 1
32727 _ACEOF
32728
32729 fi
32730 fi
32731
32732 if test "$TOOLKIT" = "PM" ; then
32733 TOOLKIT_DIR="os2"
32734 else
32735 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32736 fi
32737
32738 if test "$wxUSE_UNIVERSAL" = "yes"; then
32739 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32740 WIDGET_SET=univ
32741 fi
32742
32743 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32744 DISTDIR="wx\$(TOOLKIT)"
32745 else
32746 USE_GUI=0
32747
32748 TOOLKIT_DIR="base"
32749
32750 if test "$USE_WIN32" = 1 ; then
32751 TOOLKIT="MSW"
32752 fi
32753
32754 GUIDIST="BASE_DIST"
32755 DISTDIR="wxBase"
32756 fi
32757
32758
32759
32760 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32761 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32762 wxUSE_UNICODE_UTF8=yes
32763 elif test "$USE_OS2" = 1 ; then
32764 wxUSE_UNICODE_UTF8=yes
32765 else
32766 wxUSE_UNICODE_UTF8=no
32767 fi
32768 fi
32769
32770
32771 if test "$wxUSE_GUI" = "yes"; then
32772 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32773
32774 for ac_header in X11/Xlib.h
32775 do
32776 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32780 echo $ECHO_N "(cached) $ECHO_C" >&6
32781 else
32782 cat >conftest.$ac_ext <<_ACEOF
32783 /* confdefs.h. */
32784 _ACEOF
32785 cat confdefs.h >>conftest.$ac_ext
32786 cat >>conftest.$ac_ext <<_ACEOF
32787 /* end confdefs.h. */
32788
32789
32790 #include <$ac_header>
32791 _ACEOF
32792 rm -f conftest.$ac_objext
32793 if { (ac_try="$ac_compile"
32794 case "(($ac_try" in
32795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32796 *) ac_try_echo=$ac_try;;
32797 esac
32798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32799 (eval "$ac_compile") 2>conftest.er1
32800 ac_status=$?
32801 grep -v '^ *+' conftest.er1 >conftest.err
32802 rm -f conftest.er1
32803 cat conftest.err >&5
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); } && {
32806 test -z "$ac_c_werror_flag" ||
32807 test ! -s conftest.err
32808 } && test -s conftest.$ac_objext; then
32809 eval "$as_ac_Header=yes"
32810 else
32811 echo "$as_me: failed program was:" >&5
32812 sed 's/^/| /' conftest.$ac_ext >&5
32813
32814 eval "$as_ac_Header=no"
32815 fi
32816
32817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32818 fi
32819 ac_res=`eval echo '${'$as_ac_Header'}'`
32820 { echo "$as_me:$LINENO: result: $ac_res" >&5
32821 echo "${ECHO_T}$ac_res" >&6; }
32822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32823 cat >>confdefs.h <<_ACEOF
32824 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32825 _ACEOF
32826
32827 fi
32828
32829 done
32830
32831
32832 for ac_header in X11/XKBlib.h
32833 do
32834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32835 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32837 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32838 echo $ECHO_N "(cached) $ECHO_C" >&6
32839 else
32840 cat >conftest.$ac_ext <<_ACEOF
32841 /* confdefs.h. */
32842 _ACEOF
32843 cat confdefs.h >>conftest.$ac_ext
32844 cat >>conftest.$ac_ext <<_ACEOF
32845 /* end confdefs.h. */
32846
32847 #if HAVE_X11_XLIB_H
32848 #include <X11/Xlib.h>
32849 #endif
32850
32851
32852 #include <$ac_header>
32853 _ACEOF
32854 rm -f conftest.$ac_objext
32855 if { (ac_try="$ac_compile"
32856 case "(($ac_try" in
32857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32858 *) ac_try_echo=$ac_try;;
32859 esac
32860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32861 (eval "$ac_compile") 2>conftest.er1
32862 ac_status=$?
32863 grep -v '^ *+' conftest.er1 >conftest.err
32864 rm -f conftest.er1
32865 cat conftest.err >&5
32866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867 (exit $ac_status); } && {
32868 test -z "$ac_c_werror_flag" ||
32869 test ! -s conftest.err
32870 } && test -s conftest.$ac_objext; then
32871 eval "$as_ac_Header=yes"
32872 else
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.$ac_ext >&5
32875
32876 eval "$as_ac_Header=no"
32877 fi
32878
32879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32880 fi
32881 ac_res=`eval echo '${'$as_ac_Header'}'`
32882 { echo "$as_me:$LINENO: result: $ac_res" >&5
32883 echo "${ECHO_T}$ac_res" >&6; }
32884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32885 cat >>confdefs.h <<_ACEOF
32886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32887 _ACEOF
32888
32889 fi
32890
32891 done
32892
32893 fi
32894 fi
32895
32896
32897
32898 if test "$wxUSE_DISPLAY" = "yes"; then
32899 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32900 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32901 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32902
32903 ac_find_libraries=
32904 for ac_dir in $SEARCH_LIB;
32905 do
32906 for ac_extension in a so sl dylib dll.a; do
32907 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32908 ac_find_libraries=$ac_dir
32909 break 2
32910 fi
32911 done
32912 done
32913
32914 if test "$ac_find_libraries" != "" ; then
32915
32916 if test "$ac_find_libraries" = "default location"; then
32917 ac_path_to_link=""
32918 else
32919 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32920 result=$?
32921 if test $result = 0; then
32922 ac_path_to_link=""
32923 else
32924 ac_path_to_link=" -L$ac_find_libraries"
32925 fi
32926 fi
32927
32928 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32929 LDFLAGS="$LDFLAGS $ac_path_to_link"
32930 fi
32931 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32932 { echo "$as_me:$LINENO: result: yes" >&5
32933 echo "${ECHO_T}yes" >&6; }
32934
32935 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32936 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32937
32938 ac_find_libraries=
32939 for ac_dir in $SEARCH_LIB;
32940 do
32941 for ac_extension in a so sl dylib dll.a; do
32942 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32943 ac_find_libraries=$ac_dir
32944 break 2
32945 fi
32946 done
32947 done
32948
32949 if test "$ac_find_libraries" != "" ; then
32950 { echo "$as_me:$LINENO: result: yes" >&5
32951 echo "${ECHO_T}yes" >&6; }
32952
32953 for ac_header in X11/extensions/xf86vmode.h
32954 do
32955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32959 echo $ECHO_N "(cached) $ECHO_C" >&6
32960 else
32961 cat >conftest.$ac_ext <<_ACEOF
32962 /* confdefs.h. */
32963 _ACEOF
32964 cat confdefs.h >>conftest.$ac_ext
32965 cat >>conftest.$ac_ext <<_ACEOF
32966 /* end confdefs.h. */
32967
32968 #if HAVE_X11_XLIB_H
32969 #include <X11/Xlib.h>
32970 #endif
32971
32972
32973 #include <$ac_header>
32974 _ACEOF
32975 rm -f conftest.$ac_objext
32976 if { (ac_try="$ac_compile"
32977 case "(($ac_try" in
32978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32979 *) ac_try_echo=$ac_try;;
32980 esac
32981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32982 (eval "$ac_compile") 2>conftest.er1
32983 ac_status=$?
32984 grep -v '^ *+' conftest.er1 >conftest.err
32985 rm -f conftest.er1
32986 cat conftest.err >&5
32987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988 (exit $ac_status); } && {
32989 test -z "$ac_c_werror_flag" ||
32990 test ! -s conftest.err
32991 } && test -s conftest.$ac_objext; then
32992 eval "$as_ac_Header=yes"
32993 else
32994 echo "$as_me: failed program was:" >&5
32995 sed 's/^/| /' conftest.$ac_ext >&5
32996
32997 eval "$as_ac_Header=no"
32998 fi
32999
33000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33001 fi
33002 ac_res=`eval echo '${'$as_ac_Header'}'`
33003 { echo "$as_me:$LINENO: result: $ac_res" >&5
33004 echo "${ECHO_T}$ac_res" >&6; }
33005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33006 cat >>confdefs.h <<_ACEOF
33007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33008 _ACEOF
33009
33010 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33011
33012 fi
33013
33014 done
33015
33016 else
33017 { echo "$as_me:$LINENO: result: no" >&5
33018 echo "${ECHO_T}no" >&6; }
33019 fi
33020
33021 else
33022 { echo "$as_me:$LINENO: result: no" >&5
33023 echo "${ECHO_T}no" >&6; }
33024 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33025 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33026 wxUSE_DISPLAY="no"
33027 fi
33028 elif test "$wxUSE_MSW" = 1; then
33029 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
33030 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
33031 if test "${ac_cv_header_ddraw_h+set}" = set; then
33032 echo $ECHO_N "(cached) $ECHO_C" >&6
33033 else
33034 cat >conftest.$ac_ext <<_ACEOF
33035 /* confdefs.h. */
33036 _ACEOF
33037 cat confdefs.h >>conftest.$ac_ext
33038 cat >>conftest.$ac_ext <<_ACEOF
33039 /* end confdefs.h. */
33040 #include <windows.h>
33041
33042 #include <ddraw.h>
33043 _ACEOF
33044 rm -f conftest.$ac_objext
33045 if { (ac_try="$ac_compile"
33046 case "(($ac_try" in
33047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33048 *) ac_try_echo=$ac_try;;
33049 esac
33050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33051 (eval "$ac_compile") 2>conftest.er1
33052 ac_status=$?
33053 grep -v '^ *+' conftest.er1 >conftest.err
33054 rm -f conftest.er1
33055 cat conftest.err >&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); } && {
33058 test -z "$ac_c_werror_flag" ||
33059 test ! -s conftest.err
33060 } && test -s conftest.$ac_objext; then
33061 ac_cv_header_ddraw_h=yes
33062 else
33063 echo "$as_me: failed program was:" >&5
33064 sed 's/^/| /' conftest.$ac_ext >&5
33065
33066 ac_cv_header_ddraw_h=no
33067 fi
33068
33069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33070 fi
33071 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33072 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33073
33074
33075 fi
33076 fi
33077
33078 if test "$wxUSE_DETECT_SM" = "yes"; then
33079 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33080 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33081 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33082
33083 ac_find_libraries=
33084 for ac_dir in $SEARCH_LIB;
33085 do
33086 for ac_extension in a so sl dylib dll.a; do
33087 if test -f "$ac_dir/libSM.$ac_extension"; then
33088 ac_find_libraries=$ac_dir
33089 break 2
33090 fi
33091 done
33092 done
33093
33094 if test "$ac_find_libraries" != "" ; then
33095
33096 if test "$ac_find_libraries" = "default location"; then
33097 ac_path_to_link=""
33098 else
33099 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33100 result=$?
33101 if test $result = 0; then
33102 ac_path_to_link=""
33103 else
33104 ac_path_to_link=" -L$ac_find_libraries"
33105 fi
33106 fi
33107
33108 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33109 LDFLAGS="$LDFLAGS $ac_path_to_link"
33110 fi
33111 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33112 { echo "$as_me:$LINENO: result: yes" >&5
33113 echo "${ECHO_T}yes" >&6; }
33114 else
33115 { echo "$as_me:$LINENO: result: no" >&5
33116 echo "${ECHO_T}no" >&6; }
33117 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33118 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33119 wxUSE_DETECT_SM="no"
33120 fi
33121 else
33122 wxUSE_DETECT_SM="no"
33123 fi
33124 fi
33125
33126
33127
33128 USE_OPENGL=0
33129 if test "$wxUSE_OPENGL" = "yes"; then
33130 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33131 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33132 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33133 wxUSE_OPENGL="no"
33134 elif test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33135 OPENGL_LIBS="-framework OpenGL -framework AGL"
33136 elif test "$wxUSE_MSW" = 1; then
33137 OPENGL_LIBS="-lopengl32 -lglu32"
33138 else
33139 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33140 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33141
33142 ac_find_includes=
33143 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33144 do
33145 if test -f "$ac_dir/GL/gl.h"; then
33146 ac_find_includes=$ac_dir
33147 break
33148 fi
33149 done
33150
33151 if test "$ac_find_includes" != "" ; then
33152 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33153 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33154
33155 if test "x$ac_find_includes" = "x/usr/include"; then
33156 ac_path_to_include=""
33157 else
33158 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33159 result=$?
33160 if test $result = 0; then
33161 ac_path_to_include=""
33162 else
33163 ac_path_to_include=" -I$ac_find_includes"
33164 fi
33165 fi
33166
33167 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33168 else
33169 { echo "$as_me:$LINENO: result: not found" >&5
33170 echo "${ECHO_T}not found" >&6; }
33171 fi
33172
33173 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33174 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33175 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 else
33178 cat >conftest.$ac_ext <<_ACEOF
33179 /* confdefs.h. */
33180 _ACEOF
33181 cat confdefs.h >>conftest.$ac_ext
33182 cat >>conftest.$ac_ext <<_ACEOF
33183 /* end confdefs.h. */
33184
33185
33186 #include <GL/gl.h>
33187 _ACEOF
33188 rm -f conftest.$ac_objext
33189 if { (ac_try="$ac_compile"
33190 case "(($ac_try" in
33191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33192 *) ac_try_echo=$ac_try;;
33193 esac
33194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33195 (eval "$ac_compile") 2>conftest.er1
33196 ac_status=$?
33197 grep -v '^ *+' conftest.er1 >conftest.err
33198 rm -f conftest.er1
33199 cat conftest.err >&5
33200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33201 (exit $ac_status); } && {
33202 test -z "$ac_c_werror_flag" ||
33203 test ! -s conftest.err
33204 } && test -s conftest.$ac_objext; then
33205 ac_cv_header_GL_gl_h=yes
33206 else
33207 echo "$as_me: failed program was:" >&5
33208 sed 's/^/| /' conftest.$ac_ext >&5
33209
33210 ac_cv_header_GL_gl_h=no
33211 fi
33212
33213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33214 fi
33215 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33216 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33217 if test $ac_cv_header_GL_gl_h = yes; then
33218
33219 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33220 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33221 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33222 echo $ECHO_N "(cached) $ECHO_C" >&6
33223 else
33224 cat >conftest.$ac_ext <<_ACEOF
33225 /* confdefs.h. */
33226 _ACEOF
33227 cat confdefs.h >>conftest.$ac_ext
33228 cat >>conftest.$ac_ext <<_ACEOF
33229 /* end confdefs.h. */
33230
33231
33232 #include <GL/glu.h>
33233 _ACEOF
33234 rm -f conftest.$ac_objext
33235 if { (ac_try="$ac_compile"
33236 case "(($ac_try" in
33237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33238 *) ac_try_echo=$ac_try;;
33239 esac
33240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33241 (eval "$ac_compile") 2>conftest.er1
33242 ac_status=$?
33243 grep -v '^ *+' conftest.er1 >conftest.err
33244 rm -f conftest.er1
33245 cat conftest.err >&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); } && {
33248 test -z "$ac_c_werror_flag" ||
33249 test ! -s conftest.err
33250 } && test -s conftest.$ac_objext; then
33251 ac_cv_header_GL_glu_h=yes
33252 else
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.$ac_ext >&5
33255
33256 ac_cv_header_GL_glu_h=no
33257 fi
33258
33259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33260 fi
33261 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33262 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33263 if test $ac_cv_header_GL_glu_h = yes; then
33264
33265 found_gl=0
33266
33267 { echo "$as_me:$LINENO: checking for -lGL" >&5
33268 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33269
33270 ac_find_libraries=
33271 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33272 do
33273 for ac_extension in a so sl dylib dll.a; do
33274 if test -f "$ac_dir/libGL.$ac_extension"; then
33275 ac_find_libraries=$ac_dir
33276 break 2
33277 fi
33278 done
33279 done
33280
33281 if test "$ac_find_libraries" != "" ; then
33282 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33283 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33284
33285
33286 if test "$ac_find_libraries" = "default location"; then
33287 ac_path_to_link=""
33288 else
33289 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33290 result=$?
33291 if test $result = 0; then
33292 ac_path_to_link=""
33293 else
33294 ac_path_to_link=" -L$ac_find_libraries"
33295 fi
33296 fi
33297
33298 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33299 LDFLAGS_GL="$ac_path_to_link"
33300 fi
33301
33302 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33303 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33304
33305 ac_find_libraries=
33306 for ac_dir in $SEARCH_LIB;
33307 do
33308 for ac_extension in a so sl dylib dll.a; do
33309 if test -f "$ac_dir/libGLU.$ac_extension"; then
33310 ac_find_libraries=$ac_dir
33311 break 2
33312 fi
33313 done
33314 done
33315
33316 if test "$ac_find_libraries" != "" ; then
33317
33318 if test "$ac_find_libraries" = "default location"; then
33319 ac_path_to_link=""
33320 else
33321 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33322 result=$?
33323 if test $result = 0; then
33324 ac_path_to_link=""
33325 else
33326 ac_path_to_link=" -L$ac_find_libraries"
33327 fi
33328 fi
33329
33330 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33331 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33332 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33333 fi
33334
33335 found_gl=1
33336 OPENGL_LIBS="-lGL -lGLU"
33337 { echo "$as_me:$LINENO: result: yes" >&5
33338 echo "${ECHO_T}yes" >&6; }
33339 else
33340 { echo "$as_me:$LINENO: result: no" >&5
33341 echo "${ECHO_T}no" >&6; }
33342 fi
33343 else
33344 { echo "$as_me:$LINENO: result: no" >&5
33345 echo "${ECHO_T}no" >&6; }
33346 fi
33347
33348 if test "$found_gl" != 1; then
33349 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33350 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33351
33352 ac_find_libraries=
33353 for ac_dir in $SEARCH_LIB;
33354 do
33355 for ac_extension in a so sl dylib dll.a; do
33356 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33357 ac_find_libraries=$ac_dir
33358 break 2
33359 fi
33360 done
33361 done
33362
33363 if test "$ac_find_libraries" != "" ; then
33364
33365 if test "$ac_find_libraries" = "default location"; then
33366 ac_path_to_link=""
33367 else
33368 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33369 result=$?
33370 if test $result = 0; then
33371 ac_path_to_link=""
33372 else
33373 ac_path_to_link=" -L$ac_find_libraries"
33374 fi
33375 fi
33376
33377 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33378 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33379 { echo "$as_me:$LINENO: result: yes" >&5
33380 echo "${ECHO_T}yes" >&6; }
33381 else
33382 { echo "$as_me:$LINENO: result: no" >&5
33383 echo "${ECHO_T}no" >&6; }
33384 fi
33385 fi
33386
33387 fi
33388
33389
33390
33391 fi
33392
33393
33394
33395 if test "x$OPENGL_LIBS" = "x"; then
33396 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33397 echo "$as_me: error: OpenGL libraries not available" >&2;}
33398 { (exit 1); exit 1; }; }
33399 fi
33400 fi
33401
33402 if test "$wxUSE_OPENGL" = "yes"; then
33403 USE_OPENGL=1
33404 cat >>confdefs.h <<\_ACEOF
33405 #define wxUSE_OPENGL 1
33406 _ACEOF
33407
33408 cat >>confdefs.h <<\_ACEOF
33409 #define wxUSE_GLCANVAS 1
33410 _ACEOF
33411
33412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33413 fi
33414 fi
33415
33416
33417 if test -n "$TOOLKIT" ; then
33418 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33419 fi
33420
33421
33422
33423 if test "$wxUSE_SHARED" = "yes"; then
33424 case "${host}" in
33425 *-pc-msdosdjgpp )
33426 wxUSE_SHARED=no
33427 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33428 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33429 ;;
33430 esac
33431 fi
33432
33433 if test "$wxUSE_SHARED" = "yes"; then
33434
33435
33436 case "${host}" in
33437 *-*-cygwin* | *-*-mingw* )
33438 wx_cv_version_script=no
33439 ;;
33440
33441 *)
33442 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33443 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33444 if test "${wx_cv_version_script+set}" = set; then
33445 echo $ECHO_N "(cached) $ECHO_C" >&6
33446 else
33447
33448 echo "VER_1 { *; };" >conftest.sym
33449 echo "int main() { return 0; }" >conftest.cpp
33450
33451 if { ac_try='
33452 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33453 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33455 (eval $ac_try) 2>&5
33456 ac_status=$?
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); }; } ; then
33459 if test -s conftest.stderr ; then
33460 wx_cv_version_script=no
33461 else
33462 wx_cv_version_script=yes
33463 fi
33464 else
33465 wx_cv_version_script=no
33466 fi
33467
33468 if test $wx_cv_version_script = yes
33469 then
33470 echo "struct B { virtual ~B() { } }; \
33471 struct D : public B { }; \
33472 void F() { D d; }" > conftest.cpp
33473
33474 if { ac_try='
33475 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33476 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33478 (eval $ac_try) 2>&5
33479 ac_status=$?
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; } &&
33482 { ac_try='
33483 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33484 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33486 (eval $ac_try) 2>&5
33487 ac_status=$?
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); }; }
33490 then
33491 if { ac_try='
33492 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33493 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/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 then
33500 wx_cv_version_script=yes
33501 else
33502 wx_cv_version_script=no
33503 fi
33504 fi
33505 fi
33506
33507 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33508 rm -f conftest1.output conftest2.output conftest3.output
33509
33510 fi
33511 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33512 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33513
33514 if test $wx_cv_version_script = yes ; then
33515 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33516 fi
33517 ;;
33518 esac
33519
33520
33521 if test "$wxUSE_VISIBILITY" != "no"; then
33522
33523
33524 if test -n "$GCC"; then
33525 CFLAGS_VISIBILITY="-fvisibility=hidden"
33526 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33527 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33528 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33529 if test "${wx_cv_cc_visibility+set}" = set; then
33530 echo $ECHO_N "(cached) $ECHO_C" >&6
33531 else
33532
33533 wx_save_CXXFLAGS="$CXXFLAGS"
33534 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33535 ac_ext=cpp
33536 ac_cpp='$CXXCPP $CPPFLAGS'
33537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33540
33541 cat >conftest.$ac_ext <<_ACEOF
33542 /* confdefs.h. */
33543 _ACEOF
33544 cat confdefs.h >>conftest.$ac_ext
33545 cat >>conftest.$ac_ext <<_ACEOF
33546 /* end confdefs.h. */
33547
33548 /* we need gcc >= 4.0, older versions with visibility support
33549 didn't have class visibility: */
33550 #if defined(__GNUC__) && __GNUC__ < 4
33551 error this gcc is too old;
33552 #endif
33553
33554 /* visibility only makes sense for ELF shared libs: */
33555 #if !defined(__ELF__) && !defined(__APPLE__)
33556 error this platform has no visibility;
33557 #endif
33558
33559 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33560 extern __attribute__((__visibility__("default"))) int exportedvar;
33561 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33562 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33563 class __attribute__((__visibility__("default"))) Foo {
33564 Foo() {}
33565 };
33566
33567 int
33568 main ()
33569 {
33570
33571 ;
33572 return 0;
33573 }
33574 _ACEOF
33575 rm -f conftest.$ac_objext
33576 if { (ac_try="$ac_compile"
33577 case "(($ac_try" in
33578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33579 *) ac_try_echo=$ac_try;;
33580 esac
33581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33582 (eval "$ac_compile") 2>conftest.er1
33583 ac_status=$?
33584 grep -v '^ *+' conftest.er1 >conftest.err
33585 rm -f conftest.er1
33586 cat conftest.err >&5
33587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33588 (exit $ac_status); } && {
33589 test -z "$ac_cxx_werror_flag" ||
33590 test ! -s conftest.err
33591 } && test -s conftest.$ac_objext; then
33592 wx_cv_cc_visibility=yes
33593 else
33594 echo "$as_me: failed program was:" >&5
33595 sed 's/^/| /' conftest.$ac_ext >&5
33596
33597 wx_cv_cc_visibility=no
33598 fi
33599
33600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33601 ac_ext=c
33602 ac_cpp='$CPP $CPPFLAGS'
33603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33606
33607 CXXFLAGS="$wx_save_CXXFLAGS"
33608 fi
33609
33610 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33611 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33612 if test $wx_cv_cc_visibility = yes; then
33613 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33614 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33615 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33617 else
33618
33619 wx_save_CXXFLAGS="$CXXFLAGS"
33620 wx_save_LDFLAGS="$LDFLAGS"
33621 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33622 LDFLAGS="$LDFLAGS -shared -fPIC"
33623 ac_ext=cpp
33624 ac_cpp='$CXXCPP $CPPFLAGS'
33625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33628
33629 cat >conftest.$ac_ext <<_ACEOF
33630 /* confdefs.h. */
33631 _ACEOF
33632 cat confdefs.h >>conftest.$ac_ext
33633 cat >>conftest.$ac_ext <<_ACEOF
33634 /* end confdefs.h. */
33635
33636 #include <string>
33637
33638 int
33639 main ()
33640 {
33641
33642 std::string s("hello");
33643 return s.length();
33644
33645 ;
33646 return 0;
33647 }
33648 _ACEOF
33649 rm -f conftest.$ac_objext conftest$ac_exeext
33650 if { (ac_try="$ac_link"
33651 case "(($ac_try" in
33652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33653 *) ac_try_echo=$ac_try;;
33654 esac
33655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33656 (eval "$ac_link") 2>conftest.er1
33657 ac_status=$?
33658 grep -v '^ *+' conftest.er1 >conftest.err
33659 rm -f conftest.er1
33660 cat conftest.err >&5
33661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33662 (exit $ac_status); } && {
33663 test -z "$ac_cxx_werror_flag" ||
33664 test ! -s conftest.err
33665 } && test -s conftest$ac_exeext &&
33666 $as_test_x conftest$ac_exeext; then
33667 wx_cv_cc_broken_libstdcxx_visibility=no
33668 else
33669 echo "$as_me: failed program was:" >&5
33670 sed 's/^/| /' conftest.$ac_ext >&5
33671
33672 wx_cv_cc_broken_libstdcxx_visibility=yes
33673 fi
33674
33675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33676 conftest$ac_exeext conftest.$ac_ext
33677 ac_ext=c
33678 ac_cpp='$CPP $CPPFLAGS'
33679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33682
33683 CXXFLAGS="$wx_save_CXXFLAGS"
33684 LDFLAGS="$wx_save_LDFLAGS"
33685 fi
33686
33687 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33688 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33689
33690 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33691 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33692 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33693 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33694 echo $ECHO_N "(cached) $ECHO_C" >&6
33695 else
33696
33697 ac_ext=cpp
33698 ac_cpp='$CXXCPP $CPPFLAGS'
33699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33702
33703 cat >conftest.$ac_ext <<_ACEOF
33704 /* confdefs.h. */
33705 _ACEOF
33706 cat confdefs.h >>conftest.$ac_ext
33707 cat >>conftest.$ac_ext <<_ACEOF
33708 /* end confdefs.h. */
33709
33710 #pragma GCC visibility push(default)
33711 #include <string>
33712 #pragma GCC visibility pop
33713
33714 int
33715 main ()
33716 {
33717
33718 std::string s("hello");
33719 return s.length();
33720
33721 ;
33722 return 0;
33723 }
33724 _ACEOF
33725 rm -f conftest.$ac_objext conftest$ac_exeext
33726 if { (ac_try="$ac_link"
33727 case "(($ac_try" in
33728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33729 *) ac_try_echo=$ac_try;;
33730 esac
33731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33732 (eval "$ac_link") 2>conftest.er1
33733 ac_status=$?
33734 grep -v '^ *+' conftest.er1 >conftest.err
33735 rm -f conftest.er1
33736 cat conftest.err >&5
33737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33738 (exit $ac_status); } && {
33739 test -z "$ac_cxx_werror_flag" ||
33740 test ! -s conftest.err
33741 } && test -s conftest$ac_exeext &&
33742 $as_test_x conftest$ac_exeext; then
33743 wx_cv_cc_visibility_workaround=no
33744 else
33745 echo "$as_me: failed program was:" >&5
33746 sed 's/^/| /' conftest.$ac_ext >&5
33747
33748 wx_cv_cc_visibility_workaround=yes
33749 fi
33750
33751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33752 conftest$ac_exeext conftest.$ac_ext
33753 ac_ext=c
33754 ac_cpp='$CPP $CPPFLAGS'
33755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33758
33759
33760 fi
33761
33762 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33763 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33764
33765 if test $wx_cv_cc_visibility_workaround = no; then
33766 wx_cv_cc_visibility=no
33767 fi
33768 fi
33769 fi
33770
33771 if test $wx_cv_cc_visibility = yes; then
33772 cat >>confdefs.h <<\_ACEOF
33773 #define HAVE_VISIBILITY 1
33774 _ACEOF
33775
33776 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33777 cat >>confdefs.h <<\_ACEOF
33778 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33779 _ACEOF
33780
33781 fi
33782 else
33783 CFLAGS_VISIBILITY=""
33784 CXXFLAGS_VISIBILITY=""
33785 fi
33786
33787
33788 fi
33789
33790 fi
33791
33792 if test "x$SUNCXX" = xyes; then
33793 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33794 WXCONFIG_RPATH="-R\$libdir"
33795 else
33796 case "${host}" in
33797 *-*-linux* | *-*-gnu* )
33798 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33799 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33800 ;;
33801
33802 *-*-solaris2* )
33803
33804 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33805
33806 saveLdflags="$LDFLAGS"
33807 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33808 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33809 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33810 cat >conftest.$ac_ext <<_ACEOF
33811 /* confdefs.h. */
33812 _ACEOF
33813 cat confdefs.h >>conftest.$ac_ext
33814 cat >>conftest.$ac_ext <<_ACEOF
33815 /* end confdefs.h. */
33816
33817 int
33818 main ()
33819 {
33820
33821 ;
33822 return 0;
33823 }
33824 _ACEOF
33825 rm -f conftest.$ac_objext conftest$ac_exeext
33826 if { (ac_try="$ac_link"
33827 case "(($ac_try" in
33828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33829 *) ac_try_echo=$ac_try;;
33830 esac
33831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33832 (eval "$ac_link") 2>conftest.er1
33833 ac_status=$?
33834 grep -v '^ *+' conftest.er1 >conftest.err
33835 rm -f conftest.er1
33836 cat conftest.err >&5
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); } && {
33839 test -z "$ac_c_werror_flag" ||
33840 test ! -s conftest.err
33841 } && test -s conftest$ac_exeext &&
33842 $as_test_x conftest$ac_exeext; then
33843
33844 { echo "$as_me:$LINENO: result: yes" >&5
33845 echo "${ECHO_T}yes" >&6; }
33846 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33847 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33848
33849 else
33850 echo "$as_me: failed program was:" >&5
33851 sed 's/^/| /' conftest.$ac_ext >&5
33852
33853
33854 { echo "$as_me:$LINENO: result: no" >&5
33855 echo "${ECHO_T}no" >&6; }
33856 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33857 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33858 LDFLAGS="$saveLdflags -Wl,-R,/"
33859 cat >conftest.$ac_ext <<_ACEOF
33860 /* confdefs.h. */
33861 _ACEOF
33862 cat confdefs.h >>conftest.$ac_ext
33863 cat >>conftest.$ac_ext <<_ACEOF
33864 /* end confdefs.h. */
33865
33866 int
33867 main ()
33868 {
33869
33870 ;
33871 return 0;
33872 }
33873 _ACEOF
33874 rm -f conftest.$ac_objext conftest$ac_exeext
33875 if { (ac_try="$ac_link"
33876 case "(($ac_try" in
33877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33878 *) ac_try_echo=$ac_try;;
33879 esac
33880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33881 (eval "$ac_link") 2>conftest.er1
33882 ac_status=$?
33883 grep -v '^ *+' conftest.er1 >conftest.err
33884 rm -f conftest.er1
33885 cat conftest.err >&5
33886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33887 (exit $ac_status); } && {
33888 test -z "$ac_c_werror_flag" ||
33889 test ! -s conftest.err
33890 } && test -s conftest$ac_exeext &&
33891 $as_test_x conftest$ac_exeext; then
33892
33893 { echo "$as_me:$LINENO: result: yes" >&5
33894 echo "${ECHO_T}yes" >&6; }
33895 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33896 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33897
33898 else
33899 echo "$as_me: failed program was:" >&5
33900 sed 's/^/| /' conftest.$ac_ext >&5
33901
33902
33903 { echo "$as_me:$LINENO: result: no" >&5
33904 echo "${ECHO_T}no" >&6; }
33905
33906 fi
33907
33908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33909 conftest$ac_exeext conftest.$ac_ext
33910
33911 fi
33912
33913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33914 conftest$ac_exeext conftest.$ac_ext
33915 LDFLAGS="$saveLdflags"
33916 ;;
33917
33918 *-*-darwin* )
33919 install_name_tool=`which install_name_tool`
33920 if test "$install_name_tool" -a -x "$install_name_tool"; then
33921 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33922 cat <<EOF >change-install-names
33923 #!/bin/sh
33924 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33925 inst_cmd="install_name_tool "
33926 for i in \${libnames} ; do
33927 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33928 done
33929 \${inst_cmd} \${3}
33930 EOF
33931 chmod +x change-install-names
33932 fi
33933 ;;
33934
33935 *-*-cygwin* | *-*-mingw32* )
33936 ;;
33937
33938 *-*-hpux* )
33939 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33940 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33941 ;;
33942
33943 esac
33944 fi
33945
33946 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33947
33948 if test $wxUSE_RPATH = "no"; then
33949 SAMPLES_RPATH_FLAG=''
33950 SAMPLES_RPATH_POSTLINK=''
33951 WXCONFIG_RPATH=''
33952 fi
33953
33954 SHARED=1
33955
33956 else
33957
33958 config_linkage_component="-static"
33959 SHARED=0
33960
33961 fi
33962
33963
33964 UNICODE=0
33965 lib_unicode_suffix=
33966 WX_CHARTYPE="ansi"
33967 if test "$wxUSE_UNICODE" = "yes"; then
33968 lib_unicode_suffix=u
33969 WX_CHARTYPE="unicode"
33970 UNICODE=1
33971 fi
33972
33973 lib_debug_suffix=
33974 WX_DEBUGTYPE="release"
33975 DEBUG_FLAG=0
33976 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33977 lib_debug_suffix=d
33978 WX_DEBUGTYPE="debug"
33979 DEBUG_FLAG=1
33980 fi
33981
33982 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33983 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33984
33985 DEBUG_INFO=0
33986 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33987 DEBUG_INFO=1
33988 fi
33989
33990 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33991
33992 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33993
33994 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33995
33996 if test "$cross_compiling" = "yes"; then
33997 HOST_SUFFIX="-$host_alias"
33998 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33999 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34000 fi
34001
34002 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34003 if test "${TOOLKIT_DIR}" = "os2"; then
34004 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34005 else
34006 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34007 fi
34008
34009
34010
34011 if test "$wxUSE_COCOA" = 1; then
34012
34013 ac_ext=c
34014 ac_cpp='$CPP $CPPFLAGS'
34015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34018
34019 ac_ext=m
34020
34021 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34022 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
34023 cat >conftest.$ac_ext <<_ACEOF
34024 /* confdefs.h. */
34025 _ACEOF
34026 cat confdefs.h >>conftest.$ac_ext
34027 cat >>conftest.$ac_ext <<_ACEOF
34028 /* end confdefs.h. */
34029 #include <AppKit/NSEvent.h>
34030 #include <CoreFoundation/CoreFoundation.h>
34031
34032 int
34033 main ()
34034 {
34035
34036 ;
34037 return 0;
34038 }
34039 _ACEOF
34040 rm -f conftest.$ac_objext
34041 if { (ac_try="$ac_compile"
34042 case "(($ac_try" in
34043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34044 *) ac_try_echo=$ac_try;;
34045 esac
34046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34047 (eval "$ac_compile") 2>conftest.er1
34048 ac_status=$?
34049 grep -v '^ *+' conftest.er1 >conftest.err
34050 rm -f conftest.er1
34051 cat conftest.err >&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); } && {
34054 test -z "$ac_c_werror_flag" ||
34055 test ! -s conftest.err
34056 } && test -s conftest.$ac_objext; then
34057 { echo "$as_me:$LINENO: result: no" >&5
34058 echo "${ECHO_T}no" >&6; }
34059 else
34060 echo "$as_me: failed program was:" >&5
34061 sed 's/^/| /' conftest.$ac_ext >&5
34062
34063 { echo "$as_me:$LINENO: result: yes" >&5
34064 echo "${ECHO_T}yes" >&6; }
34065 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34066 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34067 cat >conftest.$ac_ext <<_ACEOF
34068 /* confdefs.h. */
34069 _ACEOF
34070 cat confdefs.h >>conftest.$ac_ext
34071 cat >>conftest.$ac_ext <<_ACEOF
34072 /* end confdefs.h. */
34073 #define __Point__ 1
34074 #include <AppKit/NSEvent.h>
34075 #include <CoreFoundation/CoreFoundation.h>
34076
34077 int
34078 main ()
34079 {
34080
34081 ;
34082 return 0;
34083 }
34084 _ACEOF
34085 rm -f conftest.$ac_objext
34086 if { (ac_try="$ac_compile"
34087 case "(($ac_try" in
34088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34089 *) ac_try_echo=$ac_try;;
34090 esac
34091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34092 (eval "$ac_compile") 2>conftest.er1
34093 ac_status=$?
34094 grep -v '^ *+' conftest.er1 >conftest.err
34095 rm -f conftest.er1
34096 cat conftest.err >&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); } && {
34099 test -z "$ac_c_werror_flag" ||
34100 test ! -s conftest.err
34101 } && test -s conftest.$ac_objext; then
34102 { echo "$as_me:$LINENO: result: yes" >&5
34103 echo "${ECHO_T}yes" >&6; }
34104 cat >>confdefs.h <<\_ACEOF
34105 #define __Point__ 1
34106 _ACEOF
34107
34108
34109 else
34110 echo "$as_me: failed program was:" >&5
34111 sed 's/^/| /' conftest.$ac_ext >&5
34112
34113 { { echo "$as_me:$LINENO: error: no
34114 See \`config.log' for more details." >&5
34115 echo "$as_me: error: no
34116 See \`config.log' for more details." >&2;}
34117 { (exit 1); exit 1; }; }
34118
34119 fi
34120
34121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34122
34123 fi
34124
34125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34126 ac_ext=c
34127 ac_cpp='$CPP $CPPFLAGS'
34128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34131
34132 fi
34133
34134
34135 { echo "$as_me:$LINENO: checking for mode_t" >&5
34136 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34137 if test "${ac_cv_type_mode_t+set}" = set; then
34138 echo $ECHO_N "(cached) $ECHO_C" >&6
34139 else
34140 cat >conftest.$ac_ext <<_ACEOF
34141 /* confdefs.h. */
34142 _ACEOF
34143 cat confdefs.h >>conftest.$ac_ext
34144 cat >>conftest.$ac_ext <<_ACEOF
34145 /* end confdefs.h. */
34146 $ac_includes_default
34147 typedef mode_t ac__type_new_;
34148 int
34149 main ()
34150 {
34151 if ((ac__type_new_ *) 0)
34152 return 0;
34153 if (sizeof (ac__type_new_))
34154 return 0;
34155 ;
34156 return 0;
34157 }
34158 _ACEOF
34159 rm -f conftest.$ac_objext
34160 if { (ac_try="$ac_compile"
34161 case "(($ac_try" in
34162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34163 *) ac_try_echo=$ac_try;;
34164 esac
34165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34166 (eval "$ac_compile") 2>conftest.er1
34167 ac_status=$?
34168 grep -v '^ *+' conftest.er1 >conftest.err
34169 rm -f conftest.er1
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } && {
34173 test -z "$ac_c_werror_flag" ||
34174 test ! -s conftest.err
34175 } && test -s conftest.$ac_objext; then
34176 ac_cv_type_mode_t=yes
34177 else
34178 echo "$as_me: failed program was:" >&5
34179 sed 's/^/| /' conftest.$ac_ext >&5
34180
34181 ac_cv_type_mode_t=no
34182 fi
34183
34184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34185 fi
34186 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34187 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34188 if test $ac_cv_type_mode_t = yes; then
34189 :
34190 else
34191
34192 cat >>confdefs.h <<_ACEOF
34193 #define mode_t int
34194 _ACEOF
34195
34196 fi
34197
34198 { echo "$as_me:$LINENO: checking for off_t" >&5
34199 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34200 if test "${ac_cv_type_off_t+set}" = set; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 else
34203 cat >conftest.$ac_ext <<_ACEOF
34204 /* confdefs.h. */
34205 _ACEOF
34206 cat confdefs.h >>conftest.$ac_ext
34207 cat >>conftest.$ac_ext <<_ACEOF
34208 /* end confdefs.h. */
34209 $ac_includes_default
34210 typedef off_t ac__type_new_;
34211 int
34212 main ()
34213 {
34214 if ((ac__type_new_ *) 0)
34215 return 0;
34216 if (sizeof (ac__type_new_))
34217 return 0;
34218 ;
34219 return 0;
34220 }
34221 _ACEOF
34222 rm -f conftest.$ac_objext
34223 if { (ac_try="$ac_compile"
34224 case "(($ac_try" in
34225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34226 *) ac_try_echo=$ac_try;;
34227 esac
34228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34229 (eval "$ac_compile") 2>conftest.er1
34230 ac_status=$?
34231 grep -v '^ *+' conftest.er1 >conftest.err
34232 rm -f conftest.er1
34233 cat conftest.err >&5
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); } && {
34236 test -z "$ac_c_werror_flag" ||
34237 test ! -s conftest.err
34238 } && test -s conftest.$ac_objext; then
34239 ac_cv_type_off_t=yes
34240 else
34241 echo "$as_me: failed program was:" >&5
34242 sed 's/^/| /' conftest.$ac_ext >&5
34243
34244 ac_cv_type_off_t=no
34245 fi
34246
34247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34248 fi
34249 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34250 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34251 if test $ac_cv_type_off_t = yes; then
34252 :
34253 else
34254
34255 cat >>confdefs.h <<_ACEOF
34256 #define off_t long int
34257 _ACEOF
34258
34259 fi
34260
34261 { echo "$as_me:$LINENO: checking for pid_t" >&5
34262 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34263 if test "${ac_cv_type_pid_t+set}" = set; then
34264 echo $ECHO_N "(cached) $ECHO_C" >&6
34265 else
34266 cat >conftest.$ac_ext <<_ACEOF
34267 /* confdefs.h. */
34268 _ACEOF
34269 cat confdefs.h >>conftest.$ac_ext
34270 cat >>conftest.$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34272 $ac_includes_default
34273 typedef pid_t ac__type_new_;
34274 int
34275 main ()
34276 {
34277 if ((ac__type_new_ *) 0)
34278 return 0;
34279 if (sizeof (ac__type_new_))
34280 return 0;
34281 ;
34282 return 0;
34283 }
34284 _ACEOF
34285 rm -f conftest.$ac_objext
34286 if { (ac_try="$ac_compile"
34287 case "(($ac_try" in
34288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34289 *) ac_try_echo=$ac_try;;
34290 esac
34291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34292 (eval "$ac_compile") 2>conftest.er1
34293 ac_status=$?
34294 grep -v '^ *+' conftest.er1 >conftest.err
34295 rm -f conftest.er1
34296 cat conftest.err >&5
34297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298 (exit $ac_status); } && {
34299 test -z "$ac_c_werror_flag" ||
34300 test ! -s conftest.err
34301 } && test -s conftest.$ac_objext; then
34302 ac_cv_type_pid_t=yes
34303 else
34304 echo "$as_me: failed program was:" >&5
34305 sed 's/^/| /' conftest.$ac_ext >&5
34306
34307 ac_cv_type_pid_t=no
34308 fi
34309
34310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34311 fi
34312 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34313 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34314 if test $ac_cv_type_pid_t = yes; then
34315 :
34316 else
34317
34318 cat >>confdefs.h <<_ACEOF
34319 #define pid_t int
34320 _ACEOF
34321
34322 fi
34323
34324 { echo "$as_me:$LINENO: checking for size_t" >&5
34325 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34326 if test "${ac_cv_type_size_t+set}" = set; then
34327 echo $ECHO_N "(cached) $ECHO_C" >&6
34328 else
34329 cat >conftest.$ac_ext <<_ACEOF
34330 /* confdefs.h. */
34331 _ACEOF
34332 cat confdefs.h >>conftest.$ac_ext
34333 cat >>conftest.$ac_ext <<_ACEOF
34334 /* end confdefs.h. */
34335 $ac_includes_default
34336 typedef size_t ac__type_new_;
34337 int
34338 main ()
34339 {
34340 if ((ac__type_new_ *) 0)
34341 return 0;
34342 if (sizeof (ac__type_new_))
34343 return 0;
34344 ;
34345 return 0;
34346 }
34347 _ACEOF
34348 rm -f conftest.$ac_objext
34349 if { (ac_try="$ac_compile"
34350 case "(($ac_try" in
34351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34352 *) ac_try_echo=$ac_try;;
34353 esac
34354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34355 (eval "$ac_compile") 2>conftest.er1
34356 ac_status=$?
34357 grep -v '^ *+' conftest.er1 >conftest.err
34358 rm -f conftest.er1
34359 cat conftest.err >&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); } && {
34362 test -z "$ac_c_werror_flag" ||
34363 test ! -s conftest.err
34364 } && test -s conftest.$ac_objext; then
34365 ac_cv_type_size_t=yes
34366 else
34367 echo "$as_me: failed program was:" >&5
34368 sed 's/^/| /' conftest.$ac_ext >&5
34369
34370 ac_cv_type_size_t=no
34371 fi
34372
34373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34374 fi
34375 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34376 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34377 if test $ac_cv_type_size_t = yes; then
34378 :
34379 else
34380
34381 cat >>confdefs.h <<_ACEOF
34382 #define size_t unsigned int
34383 _ACEOF
34384
34385 fi
34386
34387
34388 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34389 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34390 if test "${ac_cv_type_ssize_t+set}" = set; then
34391 echo $ECHO_N "(cached) $ECHO_C" >&6
34392 else
34393 cat >conftest.$ac_ext <<_ACEOF
34394 /* confdefs.h. */
34395 _ACEOF
34396 cat confdefs.h >>conftest.$ac_ext
34397 cat >>conftest.$ac_ext <<_ACEOF
34398 /* end confdefs.h. */
34399 $ac_includes_default
34400 typedef ssize_t ac__type_new_;
34401 int
34402 main ()
34403 {
34404 if ((ac__type_new_ *) 0)
34405 return 0;
34406 if (sizeof (ac__type_new_))
34407 return 0;
34408 ;
34409 return 0;
34410 }
34411 _ACEOF
34412 rm -f conftest.$ac_objext
34413 if { (ac_try="$ac_compile"
34414 case "(($ac_try" in
34415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34416 *) ac_try_echo=$ac_try;;
34417 esac
34418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34419 (eval "$ac_compile") 2>conftest.er1
34420 ac_status=$?
34421 grep -v '^ *+' conftest.er1 >conftest.err
34422 rm -f conftest.er1
34423 cat conftest.err >&5
34424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34425 (exit $ac_status); } && {
34426 test -z "$ac_c_werror_flag" ||
34427 test ! -s conftest.err
34428 } && test -s conftest.$ac_objext; then
34429 ac_cv_type_ssize_t=yes
34430 else
34431 echo "$as_me: failed program was:" >&5
34432 sed 's/^/| /' conftest.$ac_ext >&5
34433
34434 ac_cv_type_ssize_t=no
34435 fi
34436
34437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34438 fi
34439 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34440 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34441 if test $ac_cv_type_ssize_t = yes; then
34442
34443 cat >>confdefs.h <<_ACEOF
34444 #define HAVE_SSIZE_T 1
34445 _ACEOF
34446
34447
34448 fi
34449
34450
34451 ac_ext=cpp
34452 ac_cpp='$CXXCPP $CPPFLAGS'
34453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34456 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34457 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34458 if test "${wx_cv_size_t_is_uint+set}" = set; then
34459 echo $ECHO_N "(cached) $ECHO_C" >&6
34460 else
34461
34462 cat >conftest.$ac_ext <<_ACEOF
34463 /* confdefs.h. */
34464 _ACEOF
34465 cat confdefs.h >>conftest.$ac_ext
34466 cat >>conftest.$ac_ext <<_ACEOF
34467 /* end confdefs.h. */
34468 #include <stddef.h>
34469 int
34470 main ()
34471 {
34472
34473 return 0; }
34474
34475 struct Foo { void foo(size_t); void foo(unsigned int); };
34476
34477 int bar() {
34478
34479 ;
34480 return 0;
34481 }
34482 _ACEOF
34483 rm -f conftest.$ac_objext
34484 if { (ac_try="$ac_compile"
34485 case "(($ac_try" in
34486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34487 *) ac_try_echo=$ac_try;;
34488 esac
34489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34490 (eval "$ac_compile") 2>conftest.er1
34491 ac_status=$?
34492 grep -v '^ *+' conftest.er1 >conftest.err
34493 rm -f conftest.er1
34494 cat conftest.err >&5
34495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34496 (exit $ac_status); } && {
34497 test -z "$ac_cxx_werror_flag" ||
34498 test ! -s conftest.err
34499 } && test -s conftest.$ac_objext; then
34500 wx_cv_size_t_is_uint=no
34501 else
34502 echo "$as_me: failed program was:" >&5
34503 sed 's/^/| /' conftest.$ac_ext >&5
34504
34505 wx_cv_size_t_is_uint=yes
34506
34507 fi
34508
34509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34510
34511
34512 fi
34513 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34514 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34515
34516 if test "$wx_cv_size_t_is_uint" = "yes"; then
34517 cat >>confdefs.h <<\_ACEOF
34518 #define wxSIZE_T_IS_UINT 1
34519 _ACEOF
34520
34521 else
34522 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34523 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34524 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34525 echo $ECHO_N "(cached) $ECHO_C" >&6
34526 else
34527 cat >conftest.$ac_ext <<_ACEOF
34528 /* confdefs.h. */
34529 _ACEOF
34530 cat confdefs.h >>conftest.$ac_ext
34531 cat >>conftest.$ac_ext <<_ACEOF
34532 /* end confdefs.h. */
34533 #include <stddef.h>
34534 int
34535 main ()
34536 {
34537
34538 return 0; }
34539
34540 struct Foo { void foo(size_t); void foo(unsigned long); };
34541
34542 int bar() {
34543
34544 ;
34545 return 0;
34546 }
34547 _ACEOF
34548 rm -f conftest.$ac_objext
34549 if { (ac_try="$ac_compile"
34550 case "(($ac_try" in
34551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34552 *) ac_try_echo=$ac_try;;
34553 esac
34554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34555 (eval "$ac_compile") 2>conftest.er1
34556 ac_status=$?
34557 grep -v '^ *+' conftest.er1 >conftest.err
34558 rm -f conftest.er1
34559 cat conftest.err >&5
34560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34561 (exit $ac_status); } && {
34562 test -z "$ac_cxx_werror_flag" ||
34563 test ! -s conftest.err
34564 } && test -s conftest.$ac_objext; then
34565 wx_cv_size_t_is_ulong=no
34566 else
34567 echo "$as_me: failed program was:" >&5
34568 sed 's/^/| /' conftest.$ac_ext >&5
34569
34570 wx_cv_size_t_is_ulong=yes
34571
34572 fi
34573
34574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34575
34576 fi
34577 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34578 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34579
34580 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34581 cat >>confdefs.h <<\_ACEOF
34582 #define wxSIZE_T_IS_ULONG 1
34583 _ACEOF
34584
34585 fi
34586 fi
34587
34588 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34589 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34590 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34591 echo $ECHO_N "(cached) $ECHO_C" >&6
34592 else
34593 cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h. */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599 #include <wchar.h>
34600 int
34601 main ()
34602 {
34603
34604 return 0; }
34605
34606 struct Foo { void foo(wchar_t);
34607 void foo(unsigned short);
34608 void foo(unsigned int);
34609 void foo(unsigned long); };
34610
34611 int bar() {
34612
34613 ;
34614 return 0;
34615 }
34616 _ACEOF
34617 rm -f conftest.$ac_objext
34618 if { (ac_try="$ac_compile"
34619 case "(($ac_try" in
34620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34621 *) ac_try_echo=$ac_try;;
34622 esac
34623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34624 (eval "$ac_compile") 2>conftest.er1
34625 ac_status=$?
34626 grep -v '^ *+' conftest.er1 >conftest.err
34627 rm -f conftest.er1
34628 cat conftest.err >&5
34629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34630 (exit $ac_status); } && {
34631 test -z "$ac_cxx_werror_flag" ||
34632 test ! -s conftest.err
34633 } && test -s conftest.$ac_objext; then
34634 wx_cv_wchar_t_is_separate_type=yes
34635 else
34636 echo "$as_me: failed program was:" >&5
34637 sed 's/^/| /' conftest.$ac_ext >&5
34638
34639 wx_cv_wchar_t_is_separate_type=no
34640
34641 fi
34642
34643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34644
34645 fi
34646 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34647 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34648
34649 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34650 cat >>confdefs.h <<\_ACEOF
34651 #define wxWCHAR_T_IS_REAL_TYPE 1
34652 _ACEOF
34653
34654 else
34655 cat >>confdefs.h <<\_ACEOF
34656 #define wxWCHAR_T_IS_REAL_TYPE 0
34657 _ACEOF
34658
34659 fi
34660
34661 ac_ext=c
34662 ac_cpp='$CPP $CPPFLAGS'
34663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34666
34667
34668 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34669 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34670 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34671 echo $ECHO_N "(cached) $ECHO_C" >&6
34672 else
34673
34674 cat >conftest.$ac_ext <<_ACEOF
34675 /* confdefs.h. */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680 #include <pwd.h>
34681 int
34682 main ()
34683 {
34684
34685 char *p;
34686 struct passwd *pw;
34687 p = pw->pw_gecos;
34688
34689 ;
34690 return 0;
34691 }
34692 _ACEOF
34693 rm -f conftest.$ac_objext
34694 if { (ac_try="$ac_compile"
34695 case "(($ac_try" in
34696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34697 *) ac_try_echo=$ac_try;;
34698 esac
34699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34700 (eval "$ac_compile") 2>conftest.er1
34701 ac_status=$?
34702 grep -v '^ *+' conftest.er1 >conftest.err
34703 rm -f conftest.er1
34704 cat conftest.err >&5
34705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34706 (exit $ac_status); } && {
34707 test -z "$ac_c_werror_flag" ||
34708 test ! -s conftest.err
34709 } && test -s conftest.$ac_objext; then
34710
34711 wx_cv_struct_pw_gecos=yes
34712
34713 else
34714 echo "$as_me: failed program was:" >&5
34715 sed 's/^/| /' conftest.$ac_ext >&5
34716
34717
34718 wx_cv_struct_pw_gecos=no
34719
34720
34721 fi
34722
34723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34724
34725
34726 fi
34727 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34728 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34729
34730 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34731 cat >>confdefs.h <<\_ACEOF
34732 #define HAVE_PW_GECOS 1
34733 _ACEOF
34734
34735 fi
34736
34737
34738 if test "$wxUSE_WCHAR_T" = "yes"; then
34739 cat >>confdefs.h <<\_ACEOF
34740 #define wxUSE_WCHAR_T 1
34741 _ACEOF
34742
34743
34744 WCSLEN_FOUND=0
34745 WCHAR_LINK=
34746
34747 for ac_func in wcslen
34748 do
34749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34750 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34752 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34753 echo $ECHO_N "(cached) $ECHO_C" >&6
34754 else
34755 cat >conftest.$ac_ext <<_ACEOF
34756 /* confdefs.h. */
34757 _ACEOF
34758 cat confdefs.h >>conftest.$ac_ext
34759 cat >>conftest.$ac_ext <<_ACEOF
34760 /* end confdefs.h. */
34761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34762 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34763 #define $ac_func innocuous_$ac_func
34764
34765 /* System header to define __stub macros and hopefully few prototypes,
34766 which can conflict with char $ac_func (); below.
34767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34768 <limits.h> exists even on freestanding compilers. */
34769
34770 #ifdef __STDC__
34771 # include <limits.h>
34772 #else
34773 # include <assert.h>
34774 #endif
34775
34776 #undef $ac_func
34777
34778 /* Override any GCC internal prototype to avoid an error.
34779 Use char because int might match the return type of a GCC
34780 builtin and then its argument prototype would still apply. */
34781 #ifdef __cplusplus
34782 extern "C"
34783 #endif
34784 char $ac_func ();
34785 /* The GNU C library defines this for functions which it implements
34786 to always fail with ENOSYS. Some functions are actually named
34787 something starting with __ and the normal name is an alias. */
34788 #if defined __stub_$ac_func || defined __stub___$ac_func
34789 choke me
34790 #endif
34791
34792 int
34793 main ()
34794 {
34795 return $ac_func ();
34796 ;
34797 return 0;
34798 }
34799 _ACEOF
34800 rm -f conftest.$ac_objext conftest$ac_exeext
34801 if { (ac_try="$ac_link"
34802 case "(($ac_try" in
34803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34804 *) ac_try_echo=$ac_try;;
34805 esac
34806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34807 (eval "$ac_link") 2>conftest.er1
34808 ac_status=$?
34809 grep -v '^ *+' conftest.er1 >conftest.err
34810 rm -f conftest.er1
34811 cat conftest.err >&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } && {
34814 test -z "$ac_c_werror_flag" ||
34815 test ! -s conftest.err
34816 } && test -s conftest$ac_exeext &&
34817 $as_test_x conftest$ac_exeext; then
34818 eval "$as_ac_var=yes"
34819 else
34820 echo "$as_me: failed program was:" >&5
34821 sed 's/^/| /' conftest.$ac_ext >&5
34822
34823 eval "$as_ac_var=no"
34824 fi
34825
34826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34827 conftest$ac_exeext conftest.$ac_ext
34828 fi
34829 ac_res=`eval echo '${'$as_ac_var'}'`
34830 { echo "$as_me:$LINENO: result: $ac_res" >&5
34831 echo "${ECHO_T}$ac_res" >&6; }
34832 if test `eval echo '${'$as_ac_var'}'` = yes; then
34833 cat >>confdefs.h <<_ACEOF
34834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34835 _ACEOF
34836 WCSLEN_FOUND=1
34837 fi
34838 done
34839
34840
34841 if test "$WCSLEN_FOUND" = 0; then
34842 if test "$TOOLKIT" = "MSW"; then
34843 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34844 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34845 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34846 echo $ECHO_N "(cached) $ECHO_C" >&6
34847 else
34848 ac_check_lib_save_LIBS=$LIBS
34849 LIBS="-lmsvcrt $LIBS"
34850 cat >conftest.$ac_ext <<_ACEOF
34851 /* confdefs.h. */
34852 _ACEOF
34853 cat confdefs.h >>conftest.$ac_ext
34854 cat >>conftest.$ac_ext <<_ACEOF
34855 /* end confdefs.h. */
34856
34857 /* Override any GCC internal prototype to avoid an error.
34858 Use char because int might match the return type of a GCC
34859 builtin and then its argument prototype would still apply. */
34860 #ifdef __cplusplus
34861 extern "C"
34862 #endif
34863 char wcslen ();
34864 int
34865 main ()
34866 {
34867 return wcslen ();
34868 ;
34869 return 0;
34870 }
34871 _ACEOF
34872 rm -f conftest.$ac_objext conftest$ac_exeext
34873 if { (ac_try="$ac_link"
34874 case "(($ac_try" in
34875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34876 *) ac_try_echo=$ac_try;;
34877 esac
34878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34879 (eval "$ac_link") 2>conftest.er1
34880 ac_status=$?
34881 grep -v '^ *+' conftest.er1 >conftest.err
34882 rm -f conftest.er1
34883 cat conftest.err >&5
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); } && {
34886 test -z "$ac_c_werror_flag" ||
34887 test ! -s conftest.err
34888 } && test -s conftest$ac_exeext &&
34889 $as_test_x conftest$ac_exeext; then
34890 ac_cv_lib_msvcrt_wcslen=yes
34891 else
34892 echo "$as_me: failed program was:" >&5
34893 sed 's/^/| /' conftest.$ac_ext >&5
34894
34895 ac_cv_lib_msvcrt_wcslen=no
34896 fi
34897
34898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34899 conftest$ac_exeext conftest.$ac_ext
34900 LIBS=$ac_check_lib_save_LIBS
34901 fi
34902 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34903 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34904 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34905 WCHAR_OK=1
34906 fi
34907
34908 else
34909 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34910 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34911 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34912 echo $ECHO_N "(cached) $ECHO_C" >&6
34913 else
34914 ac_check_lib_save_LIBS=$LIBS
34915 LIBS="-lw $LIBS"
34916 cat >conftest.$ac_ext <<_ACEOF
34917 /* confdefs.h. */
34918 _ACEOF
34919 cat confdefs.h >>conftest.$ac_ext
34920 cat >>conftest.$ac_ext <<_ACEOF
34921 /* end confdefs.h. */
34922
34923 /* Override any GCC internal prototype to avoid an error.
34924 Use char because int might match the return type of a GCC
34925 builtin and then its argument prototype would still apply. */
34926 #ifdef __cplusplus
34927 extern "C"
34928 #endif
34929 char wcslen ();
34930 int
34931 main ()
34932 {
34933 return wcslen ();
34934 ;
34935 return 0;
34936 }
34937 _ACEOF
34938 rm -f conftest.$ac_objext conftest$ac_exeext
34939 if { (ac_try="$ac_link"
34940 case "(($ac_try" in
34941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34942 *) ac_try_echo=$ac_try;;
34943 esac
34944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34945 (eval "$ac_link") 2>conftest.er1
34946 ac_status=$?
34947 grep -v '^ *+' conftest.er1 >conftest.err
34948 rm -f conftest.er1
34949 cat conftest.err >&5
34950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34951 (exit $ac_status); } && {
34952 test -z "$ac_c_werror_flag" ||
34953 test ! -s conftest.err
34954 } && test -s conftest$ac_exeext &&
34955 $as_test_x conftest$ac_exeext; then
34956 ac_cv_lib_w_wcslen=yes
34957 else
34958 echo "$as_me: failed program was:" >&5
34959 sed 's/^/| /' conftest.$ac_ext >&5
34960
34961 ac_cv_lib_w_wcslen=no
34962 fi
34963
34964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34965 conftest$ac_exeext conftest.$ac_ext
34966 LIBS=$ac_check_lib_save_LIBS
34967 fi
34968 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34969 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34970 if test $ac_cv_lib_w_wcslen = yes; then
34971
34972 WCHAR_LINK=" -lw"
34973 WCSLEN_FOUND=1
34974
34975 fi
34976
34977 fi
34978 fi
34979
34980 if test "$WCSLEN_FOUND" = 1; then
34981 cat >>confdefs.h <<\_ACEOF
34982 #define HAVE_WCSLEN 1
34983 _ACEOF
34984
34985 fi
34986
34987
34988 for ac_func in wcsdup
34989 do
34990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34994 echo $ECHO_N "(cached) $ECHO_C" >&6
34995 else
34996 cat >conftest.$ac_ext <<_ACEOF
34997 /* confdefs.h. */
34998 _ACEOF
34999 cat confdefs.h >>conftest.$ac_ext
35000 cat >>conftest.$ac_ext <<_ACEOF
35001 /* end confdefs.h. */
35002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35004 #define $ac_func innocuous_$ac_func
35005
35006 /* System header to define __stub macros and hopefully few prototypes,
35007 which can conflict with char $ac_func (); below.
35008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35009 <limits.h> exists even on freestanding compilers. */
35010
35011 #ifdef __STDC__
35012 # include <limits.h>
35013 #else
35014 # include <assert.h>
35015 #endif
35016
35017 #undef $ac_func
35018
35019 /* Override any GCC internal prototype to avoid an error.
35020 Use char because int might match the return type of a GCC
35021 builtin and then its argument prototype would still apply. */
35022 #ifdef __cplusplus
35023 extern "C"
35024 #endif
35025 char $ac_func ();
35026 /* The GNU C library defines this for functions which it implements
35027 to always fail with ENOSYS. Some functions are actually named
35028 something starting with __ and the normal name is an alias. */
35029 #if defined __stub_$ac_func || defined __stub___$ac_func
35030 choke me
35031 #endif
35032
35033 int
35034 main ()
35035 {
35036 return $ac_func ();
35037 ;
35038 return 0;
35039 }
35040 _ACEOF
35041 rm -f conftest.$ac_objext conftest$ac_exeext
35042 if { (ac_try="$ac_link"
35043 case "(($ac_try" in
35044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35045 *) ac_try_echo=$ac_try;;
35046 esac
35047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35048 (eval "$ac_link") 2>conftest.er1
35049 ac_status=$?
35050 grep -v '^ *+' conftest.er1 >conftest.err
35051 rm -f conftest.er1
35052 cat conftest.err >&5
35053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35054 (exit $ac_status); } && {
35055 test -z "$ac_c_werror_flag" ||
35056 test ! -s conftest.err
35057 } && test -s conftest$ac_exeext &&
35058 $as_test_x conftest$ac_exeext; then
35059 eval "$as_ac_var=yes"
35060 else
35061 echo "$as_me: failed program was:" >&5
35062 sed 's/^/| /' conftest.$ac_ext >&5
35063
35064 eval "$as_ac_var=no"
35065 fi
35066
35067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35068 conftest$ac_exeext conftest.$ac_ext
35069 fi
35070 ac_res=`eval echo '${'$as_ac_var'}'`
35071 { echo "$as_me:$LINENO: result: $ac_res" >&5
35072 echo "${ECHO_T}$ac_res" >&6; }
35073 if test `eval echo '${'$as_ac_var'}'` = yes; then
35074 cat >>confdefs.h <<_ACEOF
35075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35076 _ACEOF
35077
35078 fi
35079 done
35080
35081
35082 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35083 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35084 fi
35085
35086 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35087 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35088 if test "${ac_cv_type_mbstate_t+set}" = set; then
35089 echo $ECHO_N "(cached) $ECHO_C" >&6
35090 else
35091 cat >conftest.$ac_ext <<_ACEOF
35092 /* confdefs.h. */
35093 _ACEOF
35094 cat confdefs.h >>conftest.$ac_ext
35095 cat >>conftest.$ac_ext <<_ACEOF
35096 /* end confdefs.h. */
35097 #include <wchar.h>
35098
35099 typedef mbstate_t ac__type_new_;
35100 int
35101 main ()
35102 {
35103 if ((ac__type_new_ *) 0)
35104 return 0;
35105 if (sizeof (ac__type_new_))
35106 return 0;
35107 ;
35108 return 0;
35109 }
35110 _ACEOF
35111 rm -f conftest.$ac_objext
35112 if { (ac_try="$ac_compile"
35113 case "(($ac_try" in
35114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35115 *) ac_try_echo=$ac_try;;
35116 esac
35117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35118 (eval "$ac_compile") 2>conftest.er1
35119 ac_status=$?
35120 grep -v '^ *+' conftest.er1 >conftest.err
35121 rm -f conftest.er1
35122 cat conftest.err >&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); } && {
35125 test -z "$ac_c_werror_flag" ||
35126 test ! -s conftest.err
35127 } && test -s conftest.$ac_objext; then
35128 ac_cv_type_mbstate_t=yes
35129 else
35130 echo "$as_me: failed program was:" >&5
35131 sed 's/^/| /' conftest.$ac_ext >&5
35132
35133 ac_cv_type_mbstate_t=no
35134 fi
35135
35136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35137 fi
35138 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35139 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35140 if test $ac_cv_type_mbstate_t = yes; then
35141
35142 cat >>confdefs.h <<_ACEOF
35143 #define HAVE_MBSTATE_T 1
35144 _ACEOF
35145
35146
35147 for ac_func in wcsrtombs
35148 do
35149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35153 echo $ECHO_N "(cached) $ECHO_C" >&6
35154 else
35155 cat >conftest.$ac_ext <<_ACEOF
35156 /* confdefs.h. */
35157 _ACEOF
35158 cat confdefs.h >>conftest.$ac_ext
35159 cat >>conftest.$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35163 #define $ac_func innocuous_$ac_func
35164
35165 /* System header to define __stub macros and hopefully few prototypes,
35166 which can conflict with char $ac_func (); below.
35167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35168 <limits.h> exists even on freestanding compilers. */
35169
35170 #ifdef __STDC__
35171 # include <limits.h>
35172 #else
35173 # include <assert.h>
35174 #endif
35175
35176 #undef $ac_func
35177
35178 /* Override any GCC internal prototype to avoid an error.
35179 Use char because int might match the return type of a GCC
35180 builtin and then its argument prototype would still apply. */
35181 #ifdef __cplusplus
35182 extern "C"
35183 #endif
35184 char $ac_func ();
35185 /* The GNU C library defines this for functions which it implements
35186 to always fail with ENOSYS. Some functions are actually named
35187 something starting with __ and the normal name is an alias. */
35188 #if defined __stub_$ac_func || defined __stub___$ac_func
35189 choke me
35190 #endif
35191
35192 int
35193 main ()
35194 {
35195 return $ac_func ();
35196 ;
35197 return 0;
35198 }
35199 _ACEOF
35200 rm -f conftest.$ac_objext conftest$ac_exeext
35201 if { (ac_try="$ac_link"
35202 case "(($ac_try" in
35203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35204 *) ac_try_echo=$ac_try;;
35205 esac
35206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35207 (eval "$ac_link") 2>conftest.er1
35208 ac_status=$?
35209 grep -v '^ *+' conftest.er1 >conftest.err
35210 rm -f conftest.er1
35211 cat conftest.err >&5
35212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35213 (exit $ac_status); } && {
35214 test -z "$ac_c_werror_flag" ||
35215 test ! -s conftest.err
35216 } && test -s conftest$ac_exeext &&
35217 $as_test_x conftest$ac_exeext; then
35218 eval "$as_ac_var=yes"
35219 else
35220 echo "$as_me: failed program was:" >&5
35221 sed 's/^/| /' conftest.$ac_ext >&5
35222
35223 eval "$as_ac_var=no"
35224 fi
35225
35226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35227 conftest$ac_exeext conftest.$ac_ext
35228 fi
35229 ac_res=`eval echo '${'$as_ac_var'}'`
35230 { echo "$as_me:$LINENO: result: $ac_res" >&5
35231 echo "${ECHO_T}$ac_res" >&6; }
35232 if test `eval echo '${'$as_ac_var'}'` = yes; then
35233 cat >>confdefs.h <<_ACEOF
35234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35235 _ACEOF
35236
35237 fi
35238 done
35239
35240 fi
35241
35242 else
35243 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35244 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35245 fi
35246
35247
35248
35249
35250 for ac_func in snprintf vsnprintf vsscanf
35251 do
35252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35256 echo $ECHO_N "(cached) $ECHO_C" >&6
35257 else
35258 cat >conftest.$ac_ext <<_ACEOF
35259 /* confdefs.h. */
35260 _ACEOF
35261 cat confdefs.h >>conftest.$ac_ext
35262 cat >>conftest.$ac_ext <<_ACEOF
35263 /* end confdefs.h. */
35264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35266 #define $ac_func innocuous_$ac_func
35267
35268 /* System header to define __stub macros and hopefully few prototypes,
35269 which can conflict with char $ac_func (); below.
35270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35271 <limits.h> exists even on freestanding compilers. */
35272
35273 #ifdef __STDC__
35274 # include <limits.h>
35275 #else
35276 # include <assert.h>
35277 #endif
35278
35279 #undef $ac_func
35280
35281 /* Override any GCC internal prototype to avoid an error.
35282 Use char because int might match the return type of a GCC
35283 builtin and then its argument prototype would still apply. */
35284 #ifdef __cplusplus
35285 extern "C"
35286 #endif
35287 char $ac_func ();
35288 /* The GNU C library defines this for functions which it implements
35289 to always fail with ENOSYS. Some functions are actually named
35290 something starting with __ and the normal name is an alias. */
35291 #if defined __stub_$ac_func || defined __stub___$ac_func
35292 choke me
35293 #endif
35294
35295 int
35296 main ()
35297 {
35298 return $ac_func ();
35299 ;
35300 return 0;
35301 }
35302 _ACEOF
35303 rm -f conftest.$ac_objext conftest$ac_exeext
35304 if { (ac_try="$ac_link"
35305 case "(($ac_try" in
35306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35307 *) ac_try_echo=$ac_try;;
35308 esac
35309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35310 (eval "$ac_link") 2>conftest.er1
35311 ac_status=$?
35312 grep -v '^ *+' conftest.er1 >conftest.err
35313 rm -f conftest.er1
35314 cat conftest.err >&5
35315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35316 (exit $ac_status); } && {
35317 test -z "$ac_c_werror_flag" ||
35318 test ! -s conftest.err
35319 } && test -s conftest$ac_exeext &&
35320 $as_test_x conftest$ac_exeext; then
35321 eval "$as_ac_var=yes"
35322 else
35323 echo "$as_me: failed program was:" >&5
35324 sed 's/^/| /' conftest.$ac_ext >&5
35325
35326 eval "$as_ac_var=no"
35327 fi
35328
35329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35330 conftest$ac_exeext conftest.$ac_ext
35331 fi
35332 ac_res=`eval echo '${'$as_ac_var'}'`
35333 { echo "$as_me:$LINENO: result: $ac_res" >&5
35334 echo "${ECHO_T}$ac_res" >&6; }
35335 if test `eval echo '${'$as_ac_var'}'` = yes; then
35336 cat >>confdefs.h <<_ACEOF
35337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35338 _ACEOF
35339
35340 fi
35341 done
35342
35343
35344 ac_ext=cpp
35345 ac_cpp='$CXXCPP $CPPFLAGS'
35346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35349
35350 if test "$ac_cv_func_vsnprintf" = "yes"; then
35351 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35352 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35353 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35354 echo $ECHO_N "(cached) $ECHO_C" >&6
35355 else
35356
35357 cat >conftest.$ac_ext <<_ACEOF
35358 /* confdefs.h. */
35359 _ACEOF
35360 cat confdefs.h >>conftest.$ac_ext
35361 cat >>conftest.$ac_ext <<_ACEOF
35362 /* end confdefs.h. */
35363
35364 #include <stdio.h>
35365 #include <stdarg.h>
35366 #ifdef __MSL__
35367 #if __MSL__ >= 0x6000
35368 namespace std {}
35369 using namespace std;
35370 #endif
35371 #endif
35372
35373 int
35374 main ()
35375 {
35376
35377 char *buf;
35378 va_list ap;
35379 vsnprintf(buf, 10u, "%s", ap);
35380
35381 ;
35382 return 0;
35383 }
35384 _ACEOF
35385 rm -f conftest.$ac_objext
35386 if { (ac_try="$ac_compile"
35387 case "(($ac_try" in
35388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35389 *) ac_try_echo=$ac_try;;
35390 esac
35391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35392 (eval "$ac_compile") 2>conftest.er1
35393 ac_status=$?
35394 grep -v '^ *+' conftest.er1 >conftest.err
35395 rm -f conftest.er1
35396 cat conftest.err >&5
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); } && {
35399 test -z "$ac_cxx_werror_flag" ||
35400 test ! -s conftest.err
35401 } && test -s conftest.$ac_objext; then
35402 wx_cv_func_vsnprintf_decl=yes
35403 else
35404 echo "$as_me: failed program was:" >&5
35405 sed 's/^/| /' conftest.$ac_ext >&5
35406
35407 wx_cv_func_vsnprintf_decl=no
35408
35409 fi
35410
35411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35412
35413
35414 fi
35415 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35416 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35417
35418 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35419 cat >>confdefs.h <<\_ACEOF
35420 #define HAVE_VSNPRINTF_DECL 1
35421 _ACEOF
35422
35423
35424 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35425 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35426 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35427 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 else
35429
35430 cat >conftest.$ac_ext <<_ACEOF
35431 /* confdefs.h. */
35432 _ACEOF
35433 cat confdefs.h >>conftest.$ac_ext
35434 cat >>conftest.$ac_ext <<_ACEOF
35435 /* end confdefs.h. */
35436
35437 #include <stdio.h>
35438 #include <stdarg.h>
35439 #ifdef __MSL__
35440 #if __MSL__ >= 0x6000
35441 namespace std {}
35442 using namespace std;
35443 #endif
35444 #endif
35445
35446 int
35447 main ()
35448 {
35449
35450 char *buf;
35451 va_list ap;
35452 const char *fmt = "%s";
35453 vsnprintf(buf, 10u, fmt, ap);
35454
35455 ;
35456 return 0;
35457 }
35458 _ACEOF
35459 rm -f conftest.$ac_objext
35460 if { (ac_try="$ac_compile"
35461 case "(($ac_try" in
35462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35463 *) ac_try_echo=$ac_try;;
35464 esac
35465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35466 (eval "$ac_compile") 2>conftest.er1
35467 ac_status=$?
35468 grep -v '^ *+' conftest.er1 >conftest.err
35469 rm -f conftest.er1
35470 cat conftest.err >&5
35471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472 (exit $ac_status); } && {
35473 test -z "$ac_cxx_werror_flag" ||
35474 test ! -s conftest.err
35475 } && test -s conftest.$ac_objext; then
35476 wx_cv_func_broken_vsnprintf_decl=no
35477 else
35478 echo "$as_me: failed program was:" >&5
35479 sed 's/^/| /' conftest.$ac_ext >&5
35480
35481 wx_cv_func_broken_vsnprintf_decl=yes
35482
35483 fi
35484
35485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35486
35487
35488 fi
35489 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35490 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35491
35492 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35493 cat >>confdefs.h <<\_ACEOF
35494 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35495 _ACEOF
35496
35497 fi
35498 fi
35499 fi
35500
35501 if test "$ac_cv_func_snprintf" = "yes"; then
35502 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35503 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35504 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35505 echo $ECHO_N "(cached) $ECHO_C" >&6
35506 else
35507
35508 cat >conftest.$ac_ext <<_ACEOF
35509 /* confdefs.h. */
35510 _ACEOF
35511 cat confdefs.h >>conftest.$ac_ext
35512 cat >>conftest.$ac_ext <<_ACEOF
35513 /* end confdefs.h. */
35514
35515 #include <stdio.h>
35516 #include <stdarg.h>
35517 #ifdef __MSL__
35518 #if __MSL__ >= 0x6000
35519 namespace std {}
35520 using namespace std;
35521 #endif
35522 #endif
35523
35524 int
35525 main ()
35526 {
35527
35528 char *buf;
35529 snprintf(buf, 10u, "%s", "wx");
35530
35531 ;
35532 return 0;
35533 }
35534 _ACEOF
35535 rm -f conftest.$ac_objext
35536 if { (ac_try="$ac_compile"
35537 case "(($ac_try" in
35538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35539 *) ac_try_echo=$ac_try;;
35540 esac
35541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35542 (eval "$ac_compile") 2>conftest.er1
35543 ac_status=$?
35544 grep -v '^ *+' conftest.er1 >conftest.err
35545 rm -f conftest.er1
35546 cat conftest.err >&5
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); } && {
35549 test -z "$ac_cxx_werror_flag" ||
35550 test ! -s conftest.err
35551 } && test -s conftest.$ac_objext; then
35552 wx_cv_func_snprintf_decl=yes
35553 else
35554 echo "$as_me: failed program was:" >&5
35555 sed 's/^/| /' conftest.$ac_ext >&5
35556
35557 wx_cv_func_snprintf_decl=no
35558
35559 fi
35560
35561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35562
35563
35564 fi
35565 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35566 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35567
35568 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35569 cat >>confdefs.h <<\_ACEOF
35570 #define HAVE_SNPRINTF_DECL 1
35571 _ACEOF
35572
35573 fi
35574
35575 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35576
35577 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35578 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35579 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35580 echo $ECHO_N "(cached) $ECHO_C" >&6
35581 else
35582
35583 if test "$cross_compiling" = yes; then
35584
35585 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35586 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35587 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35588 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35589 wx_cv_func_snprintf_pos_params=no
35590
35591
35592 else
35593 cat >conftest.$ac_ext <<_ACEOF
35594 /* confdefs.h. */
35595 _ACEOF
35596 cat confdefs.h >>conftest.$ac_ext
35597 cat >>conftest.$ac_ext <<_ACEOF
35598 /* end confdefs.h. */
35599
35600 #include <stdio.h>
35601
35602 int main (void)
35603 {
35604 char buffer[128];
35605 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35606 if (strcmp ("2 3 1", buffer) == 0)
35607 exit (0);
35608 exit (1);
35609 }
35610
35611 _ACEOF
35612 rm -f conftest$ac_exeext
35613 if { (ac_try="$ac_link"
35614 case "(($ac_try" in
35615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35616 *) ac_try_echo=$ac_try;;
35617 esac
35618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35619 (eval "$ac_link") 2>&5
35620 ac_status=$?
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35623 { (case "(($ac_try" in
35624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35625 *) ac_try_echo=$ac_try;;
35626 esac
35627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35628 (eval "$ac_try") 2>&5
35629 ac_status=$?
35630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35631 (exit $ac_status); }; }; then
35632 wx_cv_func_snprintf_pos_params=no
35633 else
35634 echo "$as_me: program exited with status $ac_status" >&5
35635 echo "$as_me: failed program was:" >&5
35636 sed 's/^/| /' conftest.$ac_ext >&5
35637
35638 ( exit $ac_status )
35639 wx_cv_func_snprintf_pos_params=yes
35640 fi
35641 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35642 fi
35643
35644
35645
35646
35647 fi
35648 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35649 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35650
35651 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35652 cat >>confdefs.h <<\_ACEOF
35653 #define HAVE_UNIX98_PRINTF 1
35654 _ACEOF
35655
35656 fi
35657 fi
35658 fi
35659
35660 if test "$ac_cv_func_vsscanf" = "yes"; then
35661 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35662 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35663 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35664 echo $ECHO_N "(cached) $ECHO_C" >&6
35665 else
35666
35667 cat >conftest.$ac_ext <<_ACEOF
35668 /* confdefs.h. */
35669 _ACEOF
35670 cat confdefs.h >>conftest.$ac_ext
35671 cat >>conftest.$ac_ext <<_ACEOF
35672 /* end confdefs.h. */
35673
35674 #include <stdio.h>
35675 #include <stdarg.h>
35676 #ifdef __MSL__
35677 #if __MSL__ >= 0x6000
35678 namespace std {}
35679 using namespace std;
35680 #endif
35681 #endif
35682
35683 int
35684 main ()
35685 {
35686
35687 char *buf;
35688 va_list args;
35689 vsscanf(buf, "%s", args);
35690
35691 ;
35692 return 0;
35693 }
35694 _ACEOF
35695 rm -f conftest.$ac_objext
35696 if { (ac_try="$ac_compile"
35697 case "(($ac_try" in
35698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35699 *) ac_try_echo=$ac_try;;
35700 esac
35701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35702 (eval "$ac_compile") 2>conftest.er1
35703 ac_status=$?
35704 grep -v '^ *+' conftest.er1 >conftest.err
35705 rm -f conftest.er1
35706 cat conftest.err >&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); } && {
35709 test -z "$ac_cxx_werror_flag" ||
35710 test ! -s conftest.err
35711 } && test -s conftest.$ac_objext; then
35712 wx_cv_func_vsscanf_decl=yes
35713 else
35714 echo "$as_me: failed program was:" >&5
35715 sed 's/^/| /' conftest.$ac_ext >&5
35716
35717 wx_cv_func_vsscanf_decl=no
35718
35719 fi
35720
35721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35722
35723
35724 fi
35725 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35726 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35727
35728 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35729 cat >>confdefs.h <<\_ACEOF
35730 #define HAVE_VSSCANF_DECL 1
35731 _ACEOF
35732
35733 fi
35734 fi
35735 ac_ext=c
35736 ac_cpp='$CPP $CPPFLAGS'
35737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35740
35741
35742 if test "$wxUSE_UNICODE" = yes; then
35743
35744 wchar_headers="#include <stdio.h>
35745 #include <wchar.h>"
35746 case "${host}" in
35747 *-*-solaris2* )
35748
35749 for ac_header in widec.h
35750 do
35751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35752 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35755 echo $ECHO_N "(cached) $ECHO_C" >&6
35756 else
35757 cat >conftest.$ac_ext <<_ACEOF
35758 /* confdefs.h. */
35759 _ACEOF
35760 cat confdefs.h >>conftest.$ac_ext
35761 cat >>conftest.$ac_ext <<_ACEOF
35762 /* end confdefs.h. */
35763 $ac_includes_default
35764
35765 #include <$ac_header>
35766 _ACEOF
35767 rm -f conftest.$ac_objext
35768 if { (ac_try="$ac_compile"
35769 case "(($ac_try" in
35770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35771 *) ac_try_echo=$ac_try;;
35772 esac
35773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35774 (eval "$ac_compile") 2>conftest.er1
35775 ac_status=$?
35776 grep -v '^ *+' conftest.er1 >conftest.err
35777 rm -f conftest.er1
35778 cat conftest.err >&5
35779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35780 (exit $ac_status); } && {
35781 test -z "$ac_c_werror_flag" ||
35782 test ! -s conftest.err
35783 } && test -s conftest.$ac_objext; then
35784 eval "$as_ac_Header=yes"
35785 else
35786 echo "$as_me: failed program was:" >&5
35787 sed 's/^/| /' conftest.$ac_ext >&5
35788
35789 eval "$as_ac_Header=no"
35790 fi
35791
35792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35793 fi
35794 ac_res=`eval echo '${'$as_ac_Header'}'`
35795 { echo "$as_me:$LINENO: result: $ac_res" >&5
35796 echo "${ECHO_T}$ac_res" >&6; }
35797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35798 cat >>confdefs.h <<_ACEOF
35799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35800 _ACEOF
35801
35802 fi
35803
35804 done
35805
35806 if test "$ac_cv_header_widec_h" = "yes"; then
35807 wchar_headers="$wchar_headers
35808 #include <widec.h>"
35809 fi
35810 esac
35811
35812
35813 for wx_func in putws fputws wprintf vswprintf vswscanf
35814 do
35815 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35816 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35817 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35818 echo $ECHO_N "(cached) $ECHO_C" >&6
35819 else
35820
35821 cat >conftest.$ac_ext <<_ACEOF
35822
35823 /* confdefs.h. */
35824 _ACEOF
35825 cat confdefs.h >>conftest.$ac_ext
35826 cat >>conftest.$ac_ext <<_ACEOF
35827 /* end confdefs.h. */
35828
35829 $wchar_headers
35830 $ac_includes_default
35831
35832 int
35833 main ()
35834 {
35835
35836 #ifndef $wx_func
35837 &$wx_func;
35838 #endif
35839
35840
35841 ;
35842 return 0;
35843 }
35844
35845 _ACEOF
35846 rm -f conftest.$ac_objext conftest$ac_exeext
35847 if { (ac_try="$ac_link"
35848 case "(($ac_try" in
35849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35850 *) ac_try_echo=$ac_try;;
35851 esac
35852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35853 (eval "$ac_link") 2>conftest.er1
35854 ac_status=$?
35855 grep -v '^ *+' conftest.er1 >conftest.err
35856 rm -f conftest.er1
35857 cat conftest.err >&5
35858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35859 (exit $ac_status); } && {
35860 test -z "$ac_c_werror_flag" ||
35861 test ! -s conftest.err
35862 } && test -s conftest$ac_exeext &&
35863 $as_test_x conftest$ac_exeext; then
35864 eval wx_cv_func_$wx_func=yes
35865 else
35866 echo "$as_me: failed program was:" >&5
35867 sed 's/^/| /' conftest.$ac_ext >&5
35868
35869 eval wx_cv_func_$wx_func=no
35870 fi
35871
35872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35873 conftest$ac_exeext conftest.$ac_ext
35874
35875 fi
35876 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35877 { echo "$as_me:$LINENO: result: $ac_res" >&5
35878 echo "${ECHO_T}$ac_res" >&6; }
35879
35880 if eval test \$wx_cv_func_$wx_func = yes
35881 then
35882 cat >>confdefs.h <<_ACEOF
35883 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35884 _ACEOF
35885
35886
35887 else
35888 :
35889
35890 fi
35891 done
35892
35893
35894 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35895 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35896 cat >conftest.$ac_ext <<_ACEOF
35897 /* confdefs.h. */
35898 _ACEOF
35899 cat confdefs.h >>conftest.$ac_ext
35900 cat >>conftest.$ac_ext <<_ACEOF
35901 /* end confdefs.h. */
35902 #include <wchar.h>
35903 int
35904 main ()
35905 {
35906 &_vsnwprintf;
35907 ;
35908 return 0;
35909 }
35910 _ACEOF
35911 rm -f conftest.$ac_objext
35912 if { (ac_try="$ac_compile"
35913 case "(($ac_try" in
35914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35915 *) ac_try_echo=$ac_try;;
35916 esac
35917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35918 (eval "$ac_compile") 2>conftest.er1
35919 ac_status=$?
35920 grep -v '^ *+' conftest.er1 >conftest.err
35921 rm -f conftest.er1
35922 cat conftest.err >&5
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); } && {
35925 test -z "$ac_c_werror_flag" ||
35926 test ! -s conftest.err
35927 } && test -s conftest.$ac_objext; then
35928 { echo "$as_me:$LINENO: result: yes" >&5
35929 echo "${ECHO_T}yes" >&6; }
35930 cat >>confdefs.h <<\_ACEOF
35931 #define HAVE__VSNWPRINTF 1
35932 _ACEOF
35933
35934 else
35935 echo "$as_me: failed program was:" >&5
35936 sed 's/^/| /' conftest.$ac_ext >&5
35937
35938 { echo "$as_me:$LINENO: result: no" >&5
35939 echo "${ECHO_T}no" >&6; }
35940 fi
35941
35942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35943 fi
35944
35945 if test "$wxUSE_FILE" = "yes"; then
35946
35947 for wx_func in fsync
35948 do
35949 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35950 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35951 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35952 echo $ECHO_N "(cached) $ECHO_C" >&6
35953 else
35954
35955 cat >conftest.$ac_ext <<_ACEOF
35956
35957 /* confdefs.h. */
35958 _ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35962
35963
35964 $ac_includes_default
35965
35966 int
35967 main ()
35968 {
35969
35970 #ifndef $wx_func
35971 &$wx_func;
35972 #endif
35973
35974
35975 ;
35976 return 0;
35977 }
35978
35979 _ACEOF
35980 rm -f conftest.$ac_objext conftest$ac_exeext
35981 if { (ac_try="$ac_link"
35982 case "(($ac_try" in
35983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35984 *) ac_try_echo=$ac_try;;
35985 esac
35986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35987 (eval "$ac_link") 2>conftest.er1
35988 ac_status=$?
35989 grep -v '^ *+' conftest.er1 >conftest.err
35990 rm -f conftest.er1
35991 cat conftest.err >&5
35992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35993 (exit $ac_status); } && {
35994 test -z "$ac_c_werror_flag" ||
35995 test ! -s conftest.err
35996 } && test -s conftest$ac_exeext &&
35997 $as_test_x conftest$ac_exeext; then
35998 eval wx_cv_func_$wx_func=yes
35999 else
36000 echo "$as_me: failed program was:" >&5
36001 sed 's/^/| /' conftest.$ac_ext >&5
36002
36003 eval wx_cv_func_$wx_func=no
36004 fi
36005
36006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36007 conftest$ac_exeext conftest.$ac_ext
36008
36009 fi
36010 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36011 { echo "$as_me:$LINENO: result: $ac_res" >&5
36012 echo "${ECHO_T}$ac_res" >&6; }
36013
36014 if eval test \$wx_cv_func_$wx_func = yes
36015 then
36016 cat >>confdefs.h <<_ACEOF
36017 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36018 _ACEOF
36019
36020
36021 else
36022 :
36023
36024 fi
36025 done
36026
36027 fi
36028
36029 ac_ext=cpp
36030 ac_cpp='$CXXCPP $CPPFLAGS'
36031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36034
36035
36036 for wx_func in round
36037 do
36038 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36039 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36040 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36041 echo $ECHO_N "(cached) $ECHO_C" >&6
36042 else
36043
36044 cat >conftest.$ac_ext <<_ACEOF
36045
36046 /* confdefs.h. */
36047 _ACEOF
36048 cat confdefs.h >>conftest.$ac_ext
36049 cat >>conftest.$ac_ext <<_ACEOF
36050 /* end confdefs.h. */
36051
36052 #include <math.h>
36053 $ac_includes_default
36054
36055 int
36056 main ()
36057 {
36058
36059 #ifndef $wx_func
36060 &$wx_func;
36061 #endif
36062
36063
36064 ;
36065 return 0;
36066 }
36067
36068 _ACEOF
36069 rm -f conftest.$ac_objext conftest$ac_exeext
36070 if { (ac_try="$ac_link"
36071 case "(($ac_try" in
36072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36073 *) ac_try_echo=$ac_try;;
36074 esac
36075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36076 (eval "$ac_link") 2>conftest.er1
36077 ac_status=$?
36078 grep -v '^ *+' conftest.er1 >conftest.err
36079 rm -f conftest.er1
36080 cat conftest.err >&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); } && {
36083 test -z "$ac_cxx_werror_flag" ||
36084 test ! -s conftest.err
36085 } && test -s conftest$ac_exeext &&
36086 $as_test_x conftest$ac_exeext; then
36087 eval wx_cv_func_$wx_func=yes
36088 else
36089 echo "$as_me: failed program was:" >&5
36090 sed 's/^/| /' conftest.$ac_ext >&5
36091
36092 eval wx_cv_func_$wx_func=no
36093 fi
36094
36095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36096 conftest$ac_exeext conftest.$ac_ext
36097
36098 fi
36099 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36100 { echo "$as_me:$LINENO: result: $ac_res" >&5
36101 echo "${ECHO_T}$ac_res" >&6; }
36102
36103 if eval test \$wx_cv_func_$wx_func = yes
36104 then
36105 cat >>confdefs.h <<_ACEOF
36106 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36107 _ACEOF
36108
36109
36110 else
36111 :
36112
36113 fi
36114 done
36115
36116 ac_ext=c
36117 ac_cpp='$CPP $CPPFLAGS'
36118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36121
36122
36123 if test "$TOOLKIT" != "MSW"; then
36124
36125 if test "$wxUSE_LIBICONV" != "no" ; then
36126
36127
36128
36129 # Check whether --with-libiconv-prefix was given.
36130 if test "${with_libiconv_prefix+set}" = set; then
36131 withval=$with_libiconv_prefix;
36132 for dir in `echo "$withval" | tr : ' '`; do
36133 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36134 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36135 done
36136
36137 fi
36138
36139
36140 { echo "$as_me:$LINENO: checking for iconv" >&5
36141 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36142 if test "${am_cv_func_iconv+set}" = set; then
36143 echo $ECHO_N "(cached) $ECHO_C" >&6
36144 else
36145
36146 am_cv_func_iconv="no, consider installing GNU libiconv"
36147 am_cv_lib_iconv=no
36148 cat >conftest.$ac_ext <<_ACEOF
36149 /* confdefs.h. */
36150 _ACEOF
36151 cat confdefs.h >>conftest.$ac_ext
36152 cat >>conftest.$ac_ext <<_ACEOF
36153 /* end confdefs.h. */
36154 #include <stdlib.h>
36155 #include <iconv.h>
36156 int
36157 main ()
36158 {
36159 iconv_t cd = iconv_open("","");
36160 iconv(cd,NULL,NULL,NULL,NULL);
36161 iconv_close(cd);
36162 ;
36163 return 0;
36164 }
36165 _ACEOF
36166 rm -f conftest.$ac_objext conftest$ac_exeext
36167 if { (ac_try="$ac_link"
36168 case "(($ac_try" in
36169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36170 *) ac_try_echo=$ac_try;;
36171 esac
36172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36173 (eval "$ac_link") 2>conftest.er1
36174 ac_status=$?
36175 grep -v '^ *+' conftest.er1 >conftest.err
36176 rm -f conftest.er1
36177 cat conftest.err >&5
36178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36179 (exit $ac_status); } && {
36180 test -z "$ac_c_werror_flag" ||
36181 test ! -s conftest.err
36182 } && test -s conftest$ac_exeext &&
36183 $as_test_x conftest$ac_exeext; then
36184 am_cv_func_iconv=yes
36185 else
36186 echo "$as_me: failed program was:" >&5
36187 sed 's/^/| /' conftest.$ac_ext >&5
36188
36189
36190 fi
36191
36192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36193 conftest$ac_exeext conftest.$ac_ext
36194 if test "$am_cv_func_iconv" != yes; then
36195 am_save_LIBS="$LIBS"
36196 LIBS="$LIBS -liconv"
36197 cat >conftest.$ac_ext <<_ACEOF
36198 /* confdefs.h. */
36199 _ACEOF
36200 cat confdefs.h >>conftest.$ac_ext
36201 cat >>conftest.$ac_ext <<_ACEOF
36202 /* end confdefs.h. */
36203 #include <stdlib.h>
36204 #include <iconv.h>
36205 int
36206 main ()
36207 {
36208 iconv_t cd = iconv_open("","");
36209 iconv(cd,NULL,NULL,NULL,NULL);
36210 iconv_close(cd);
36211 ;
36212 return 0;
36213 }
36214 _ACEOF
36215 rm -f conftest.$ac_objext conftest$ac_exeext
36216 if { (ac_try="$ac_link"
36217 case "(($ac_try" in
36218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36219 *) ac_try_echo=$ac_try;;
36220 esac
36221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36222 (eval "$ac_link") 2>conftest.er1
36223 ac_status=$?
36224 grep -v '^ *+' conftest.er1 >conftest.err
36225 rm -f conftest.er1
36226 cat conftest.err >&5
36227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36228 (exit $ac_status); } && {
36229 test -z "$ac_c_werror_flag" ||
36230 test ! -s conftest.err
36231 } && test -s conftest$ac_exeext &&
36232 $as_test_x conftest$ac_exeext; then
36233 am_cv_lib_iconv=yes
36234 am_cv_func_iconv=yes
36235 else
36236 echo "$as_me: failed program was:" >&5
36237 sed 's/^/| /' conftest.$ac_ext >&5
36238
36239
36240 fi
36241
36242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36243 conftest$ac_exeext conftest.$ac_ext
36244 LIBS="$am_save_LIBS"
36245 fi
36246
36247 fi
36248 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36249 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36250 if test "$am_cv_func_iconv" = yes; then
36251
36252 cat >>confdefs.h <<\_ACEOF
36253 #define HAVE_ICONV 1
36254 _ACEOF
36255
36256 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36257 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36258 if test "${wx_cv_func_iconv_const+set}" = set; then
36259 echo $ECHO_N "(cached) $ECHO_C" >&6
36260 else
36261 cat >conftest.$ac_ext <<_ACEOF
36262 /* confdefs.h. */
36263 _ACEOF
36264 cat confdefs.h >>conftest.$ac_ext
36265 cat >>conftest.$ac_ext <<_ACEOF
36266 /* end confdefs.h. */
36267
36268 #include <stdlib.h>
36269 #include <iconv.h>
36270 extern
36271 #ifdef __cplusplus
36272 "C"
36273 #endif
36274 #if defined(__STDC__) || defined(__cplusplus)
36275 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36276 #else
36277 size_t iconv();
36278 #endif
36279
36280 int
36281 main ()
36282 {
36283
36284 ;
36285 return 0;
36286 }
36287 _ACEOF
36288 rm -f conftest.$ac_objext
36289 if { (ac_try="$ac_compile"
36290 case "(($ac_try" in
36291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36292 *) ac_try_echo=$ac_try;;
36293 esac
36294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36295 (eval "$ac_compile") 2>conftest.er1
36296 ac_status=$?
36297 grep -v '^ *+' conftest.er1 >conftest.err
36298 rm -f conftest.er1
36299 cat conftest.err >&5
36300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301 (exit $ac_status); } && {
36302 test -z "$ac_c_werror_flag" ||
36303 test ! -s conftest.err
36304 } && test -s conftest.$ac_objext; then
36305 wx_cv_func_iconv_const="no"
36306 else
36307 echo "$as_me: failed program was:" >&5
36308 sed 's/^/| /' conftest.$ac_ext >&5
36309
36310 wx_cv_func_iconv_const="yes"
36311
36312 fi
36313
36314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36315
36316 fi
36317 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36318 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36319
36320 iconv_const=
36321 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36322 iconv_const="const"
36323 fi
36324
36325
36326 cat >>confdefs.h <<_ACEOF
36327 #define ICONV_CONST $iconv_const
36328 _ACEOF
36329
36330 fi
36331 LIBICONV=
36332 if test "$am_cv_lib_iconv" = yes; then
36333 LIBICONV="-liconv"
36334 fi
36335
36336
36337 LIBS="$LIBICONV $LIBS"
36338 fi
36339
36340 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36341
36342 for ac_func in sigaction
36343 do
36344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36345 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36348 echo $ECHO_N "(cached) $ECHO_C" >&6
36349 else
36350 cat >conftest.$ac_ext <<_ACEOF
36351 /* confdefs.h. */
36352 _ACEOF
36353 cat confdefs.h >>conftest.$ac_ext
36354 cat >>conftest.$ac_ext <<_ACEOF
36355 /* end confdefs.h. */
36356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36358 #define $ac_func innocuous_$ac_func
36359
36360 /* System header to define __stub macros and hopefully few prototypes,
36361 which can conflict with char $ac_func (); below.
36362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36363 <limits.h> exists even on freestanding compilers. */
36364
36365 #ifdef __STDC__
36366 # include <limits.h>
36367 #else
36368 # include <assert.h>
36369 #endif
36370
36371 #undef $ac_func
36372
36373 /* Override any GCC internal prototype to avoid an error.
36374 Use char because int might match the return type of a GCC
36375 builtin and then its argument prototype would still apply. */
36376 #ifdef __cplusplus
36377 extern "C"
36378 #endif
36379 char $ac_func ();
36380 /* The GNU C library defines this for functions which it implements
36381 to always fail with ENOSYS. Some functions are actually named
36382 something starting with __ and the normal name is an alias. */
36383 #if defined __stub_$ac_func || defined __stub___$ac_func
36384 choke me
36385 #endif
36386
36387 int
36388 main ()
36389 {
36390 return $ac_func ();
36391 ;
36392 return 0;
36393 }
36394 _ACEOF
36395 rm -f conftest.$ac_objext conftest$ac_exeext
36396 if { (ac_try="$ac_link"
36397 case "(($ac_try" in
36398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36399 *) ac_try_echo=$ac_try;;
36400 esac
36401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36402 (eval "$ac_link") 2>conftest.er1
36403 ac_status=$?
36404 grep -v '^ *+' conftest.er1 >conftest.err
36405 rm -f conftest.er1
36406 cat conftest.err >&5
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); } && {
36409 test -z "$ac_c_werror_flag" ||
36410 test ! -s conftest.err
36411 } && test -s conftest$ac_exeext &&
36412 $as_test_x conftest$ac_exeext; then
36413 eval "$as_ac_var=yes"
36414 else
36415 echo "$as_me: failed program was:" >&5
36416 sed 's/^/| /' conftest.$ac_ext >&5
36417
36418 eval "$as_ac_var=no"
36419 fi
36420
36421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36422 conftest$ac_exeext conftest.$ac_ext
36423 fi
36424 ac_res=`eval echo '${'$as_ac_var'}'`
36425 { echo "$as_me:$LINENO: result: $ac_res" >&5
36426 echo "${ECHO_T}$ac_res" >&6; }
36427 if test `eval echo '${'$as_ac_var'}'` = yes; then
36428 cat >>confdefs.h <<_ACEOF
36429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36430 _ACEOF
36431
36432 fi
36433 done
36434
36435
36436 if test "$ac_cv_func_sigaction" = "no"; then
36437 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36438 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36439 wxUSE_ON_FATAL_EXCEPTION=no
36440 fi
36441
36442 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36443 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36444 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36445 if test "${wx_cv_type_sa_handler+set}" = set; then
36446 echo $ECHO_N "(cached) $ECHO_C" >&6
36447 else
36448
36449 ac_ext=cpp
36450 ac_cpp='$CXXCPP $CPPFLAGS'
36451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36454
36455 cat >conftest.$ac_ext <<_ACEOF
36456 /* confdefs.h. */
36457 _ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36461 #include <signal.h>
36462 int
36463 main ()
36464 {
36465
36466 extern void testSigHandler(int);
36467
36468 struct sigaction sa;
36469 sa.sa_handler = testSigHandler;
36470
36471 ;
36472 return 0;
36473 }
36474 _ACEOF
36475 rm -f conftest.$ac_objext
36476 if { (ac_try="$ac_compile"
36477 case "(($ac_try" in
36478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36479 *) ac_try_echo=$ac_try;;
36480 esac
36481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36482 (eval "$ac_compile") 2>conftest.er1
36483 ac_status=$?
36484 grep -v '^ *+' conftest.er1 >conftest.err
36485 rm -f conftest.er1
36486 cat conftest.err >&5
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); } && {
36489 test -z "$ac_cxx_werror_flag" ||
36490 test ! -s conftest.err
36491 } && test -s conftest.$ac_objext; then
36492
36493 wx_cv_type_sa_handler=int
36494
36495 else
36496 echo "$as_me: failed program was:" >&5
36497 sed 's/^/| /' conftest.$ac_ext >&5
36498
36499
36500 wx_cv_type_sa_handler=void
36501
36502 fi
36503
36504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36505 ac_ext=c
36506 ac_cpp='$CPP $CPPFLAGS'
36507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36510
36511
36512 fi
36513 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36514 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36515
36516 cat >>confdefs.h <<_ACEOF
36517 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36518 _ACEOF
36519
36520 fi
36521 fi
36522
36523 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36524 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36525 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36526 if test "${wx_cv_func_backtrace+set}" = set; then
36527 echo $ECHO_N "(cached) $ECHO_C" >&6
36528 else
36529
36530 ac_ext=cpp
36531 ac_cpp='$CXXCPP $CPPFLAGS'
36532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36535
36536 cat >conftest.$ac_ext <<_ACEOF
36537 /* confdefs.h. */
36538 _ACEOF
36539 cat confdefs.h >>conftest.$ac_ext
36540 cat >>conftest.$ac_ext <<_ACEOF
36541 /* end confdefs.h. */
36542 #include <execinfo.h>
36543 int
36544 main ()
36545 {
36546
36547 void *trace[1];
36548 char **messages;
36549
36550 backtrace(trace, 1);
36551 messages = backtrace_symbols(trace, 1);
36552
36553 ;
36554 return 0;
36555 }
36556 _ACEOF
36557 rm -f conftest.$ac_objext
36558 if { (ac_try="$ac_compile"
36559 case "(($ac_try" in
36560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36561 *) ac_try_echo=$ac_try;;
36562 esac
36563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36564 (eval "$ac_compile") 2>conftest.er1
36565 ac_status=$?
36566 grep -v '^ *+' conftest.er1 >conftest.err
36567 rm -f conftest.er1
36568 cat conftest.err >&5
36569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36570 (exit $ac_status); } && {
36571 test -z "$ac_cxx_werror_flag" ||
36572 test ! -s conftest.err
36573 } && test -s conftest.$ac_objext; then
36574 wx_cv_func_backtrace=yes
36575 else
36576 echo "$as_me: failed program was:" >&5
36577 sed 's/^/| /' conftest.$ac_ext >&5
36578
36579 wx_cv_func_backtrace=no
36580
36581 fi
36582
36583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36584 ac_ext=c
36585 ac_cpp='$CPP $CPPFLAGS'
36586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36589
36590
36591
36592 fi
36593 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36594 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36595
36596
36597 if test "$wx_cv_func_backtrace" = "no"; then
36598 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36599 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36600 wxUSE_STACKWALKER=no
36601 else
36602 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36603 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36604 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36605 echo $ECHO_N "(cached) $ECHO_C" >&6
36606 else
36607
36608 ac_ext=cpp
36609 ac_cpp='$CXXCPP $CPPFLAGS'
36610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36613
36614 cat >conftest.$ac_ext <<_ACEOF
36615 /* confdefs.h. */
36616 _ACEOF
36617 cat confdefs.h >>conftest.$ac_ext
36618 cat >>conftest.$ac_ext <<_ACEOF
36619 /* end confdefs.h. */
36620 #include <cxxabi.h>
36621 int
36622 main ()
36623 {
36624
36625 int rc;
36626 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36627
36628 ;
36629 return 0;
36630 }
36631 _ACEOF
36632 rm -f conftest.$ac_objext conftest$ac_exeext
36633 if { (ac_try="$ac_link"
36634 case "(($ac_try" in
36635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36636 *) ac_try_echo=$ac_try;;
36637 esac
36638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36639 (eval "$ac_link") 2>conftest.er1
36640 ac_status=$?
36641 grep -v '^ *+' conftest.er1 >conftest.err
36642 rm -f conftest.er1
36643 cat conftest.err >&5
36644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645 (exit $ac_status); } && {
36646 test -z "$ac_cxx_werror_flag" ||
36647 test ! -s conftest.err
36648 } && test -s conftest$ac_exeext &&
36649 $as_test_x conftest$ac_exeext; then
36650 wx_cv_func_cxa_demangle=yes
36651 else
36652 echo "$as_me: failed program was:" >&5
36653 sed 's/^/| /' conftest.$ac_ext >&5
36654
36655 wx_cv_func_cxa_demangle=no
36656
36657 fi
36658
36659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36660 conftest$ac_exeext conftest.$ac_ext
36661 ac_ext=c
36662 ac_cpp='$CPP $CPPFLAGS'
36663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36666
36667
36668
36669 fi
36670 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36671 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36672
36673 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36674 cat >>confdefs.h <<\_ACEOF
36675 #define HAVE_CXA_DEMANGLE 1
36676 _ACEOF
36677
36678 fi
36679 fi
36680 fi
36681
36682 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36683 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36684 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36685 wxUSE_STACKWALKER=no
36686 fi
36687
36688
36689
36690
36691 for ac_func in mkstemp mktemp
36692 do
36693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36697 echo $ECHO_N "(cached) $ECHO_C" >&6
36698 else
36699 cat >conftest.$ac_ext <<_ACEOF
36700 /* confdefs.h. */
36701 _ACEOF
36702 cat confdefs.h >>conftest.$ac_ext
36703 cat >>conftest.$ac_ext <<_ACEOF
36704 /* end confdefs.h. */
36705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36707 #define $ac_func innocuous_$ac_func
36708
36709 /* System header to define __stub macros and hopefully few prototypes,
36710 which can conflict with char $ac_func (); below.
36711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36712 <limits.h> exists even on freestanding compilers. */
36713
36714 #ifdef __STDC__
36715 # include <limits.h>
36716 #else
36717 # include <assert.h>
36718 #endif
36719
36720 #undef $ac_func
36721
36722 /* Override any GCC internal prototype to avoid an error.
36723 Use char because int might match the return type of a GCC
36724 builtin and then its argument prototype would still apply. */
36725 #ifdef __cplusplus
36726 extern "C"
36727 #endif
36728 char $ac_func ();
36729 /* The GNU C library defines this for functions which it implements
36730 to always fail with ENOSYS. Some functions are actually named
36731 something starting with __ and the normal name is an alias. */
36732 #if defined __stub_$ac_func || defined __stub___$ac_func
36733 choke me
36734 #endif
36735
36736 int
36737 main ()
36738 {
36739 return $ac_func ();
36740 ;
36741 return 0;
36742 }
36743 _ACEOF
36744 rm -f conftest.$ac_objext conftest$ac_exeext
36745 if { (ac_try="$ac_link"
36746 case "(($ac_try" in
36747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36748 *) ac_try_echo=$ac_try;;
36749 esac
36750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36751 (eval "$ac_link") 2>conftest.er1
36752 ac_status=$?
36753 grep -v '^ *+' conftest.er1 >conftest.err
36754 rm -f conftest.er1
36755 cat conftest.err >&5
36756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757 (exit $ac_status); } && {
36758 test -z "$ac_c_werror_flag" ||
36759 test ! -s conftest.err
36760 } && test -s conftest$ac_exeext &&
36761 $as_test_x conftest$ac_exeext; then
36762 eval "$as_ac_var=yes"
36763 else
36764 echo "$as_me: failed program was:" >&5
36765 sed 's/^/| /' conftest.$ac_ext >&5
36766
36767 eval "$as_ac_var=no"
36768 fi
36769
36770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36771 conftest$ac_exeext conftest.$ac_ext
36772 fi
36773 ac_res=`eval echo '${'$as_ac_var'}'`
36774 { echo "$as_me:$LINENO: result: $ac_res" >&5
36775 echo "${ECHO_T}$ac_res" >&6; }
36776 if test `eval echo '${'$as_ac_var'}'` = yes; then
36777 cat >>confdefs.h <<_ACEOF
36778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36779 _ACEOF
36780 break
36781 fi
36782 done
36783
36784
36785 { echo "$as_me:$LINENO: checking for statfs" >&5
36786 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36787 if test "${wx_cv_func_statfs+set}" = set; then
36788 echo $ECHO_N "(cached) $ECHO_C" >&6
36789 else
36790 cat >conftest.$ac_ext <<_ACEOF
36791 /* confdefs.h. */
36792 _ACEOF
36793 cat confdefs.h >>conftest.$ac_ext
36794 cat >>conftest.$ac_ext <<_ACEOF
36795 /* end confdefs.h. */
36796
36797 #if defined(__BSD__)
36798 #include <sys/param.h>
36799 #include <sys/mount.h>
36800 #else
36801 #include <sys/vfs.h>
36802 #endif
36803
36804 int
36805 main ()
36806 {
36807
36808 long l;
36809 struct statfs fs;
36810 statfs("/", &fs);
36811 l = fs.f_bsize;
36812 l += fs.f_blocks;
36813 l += fs.f_bavail;
36814
36815 ;
36816 return 0;
36817 }
36818 _ACEOF
36819 rm -f conftest.$ac_objext
36820 if { (ac_try="$ac_compile"
36821 case "(($ac_try" in
36822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36823 *) ac_try_echo=$ac_try;;
36824 esac
36825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36826 (eval "$ac_compile") 2>conftest.er1
36827 ac_status=$?
36828 grep -v '^ *+' conftest.er1 >conftest.err
36829 rm -f conftest.er1
36830 cat conftest.err >&5
36831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36832 (exit $ac_status); } && {
36833 test -z "$ac_c_werror_flag" ||
36834 test ! -s conftest.err
36835 } && test -s conftest.$ac_objext; then
36836 wx_cv_func_statfs=yes
36837 else
36838 echo "$as_me: failed program was:" >&5
36839 sed 's/^/| /' conftest.$ac_ext >&5
36840
36841 wx_cv_func_statfs=no
36842
36843 fi
36844
36845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36846
36847 fi
36848 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36849 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36850
36851 if test "$wx_cv_func_statfs" = "yes"; then
36852 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36853 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36854 if test "${wx_cv_func_statfs_decl+set}" = set; then
36855 echo $ECHO_N "(cached) $ECHO_C" >&6
36856 else
36857 ac_ext=cpp
36858 ac_cpp='$CXXCPP $CPPFLAGS'
36859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36862
36863 cat >conftest.$ac_ext <<_ACEOF
36864 /* confdefs.h. */
36865 _ACEOF
36866 cat confdefs.h >>conftest.$ac_ext
36867 cat >>conftest.$ac_ext <<_ACEOF
36868 /* end confdefs.h. */
36869
36870 #if defined(__BSD__)
36871 #include <sys/param.h>
36872 #include <sys/mount.h>
36873 #else
36874 #include <sys/vfs.h>
36875 #endif
36876
36877 int
36878 main ()
36879 {
36880
36881 struct statfs fs;
36882 statfs("", &fs);
36883
36884 ;
36885 return 0;
36886 }
36887 _ACEOF
36888 rm -f conftest.$ac_objext
36889 if { (ac_try="$ac_compile"
36890 case "(($ac_try" in
36891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36892 *) ac_try_echo=$ac_try;;
36893 esac
36894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36895 (eval "$ac_compile") 2>conftest.er1
36896 ac_status=$?
36897 grep -v '^ *+' conftest.er1 >conftest.err
36898 rm -f conftest.er1
36899 cat conftest.err >&5
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); } && {
36902 test -z "$ac_cxx_werror_flag" ||
36903 test ! -s conftest.err
36904 } && test -s conftest.$ac_objext; then
36905 wx_cv_func_statfs_decl=yes
36906 else
36907 echo "$as_me: failed program was:" >&5
36908 sed 's/^/| /' conftest.$ac_ext >&5
36909
36910 wx_cv_func_statfs_decl=no
36911
36912 fi
36913
36914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36915 ac_ext=c
36916 ac_cpp='$CPP $CPPFLAGS'
36917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36920
36921
36922 fi
36923 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36924 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36925
36926 if test "$wx_cv_func_statfs_decl" = "yes"; then
36927 cat >>confdefs.h <<\_ACEOF
36928 #define HAVE_STATFS_DECL 1
36929 _ACEOF
36930
36931 fi
36932
36933 wx_cv_type_statvfs_t="struct statfs"
36934 cat >>confdefs.h <<\_ACEOF
36935 #define HAVE_STATFS 1
36936 _ACEOF
36937
36938 else
36939 { echo "$as_me:$LINENO: checking for statvfs" >&5
36940 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36941 if test "${wx_cv_func_statvfs+set}" = set; then
36942 echo $ECHO_N "(cached) $ECHO_C" >&6
36943 else
36944 cat >conftest.$ac_ext <<_ACEOF
36945 /* confdefs.h. */
36946 _ACEOF
36947 cat confdefs.h >>conftest.$ac_ext
36948 cat >>conftest.$ac_ext <<_ACEOF
36949 /* end confdefs.h. */
36950
36951 #include <stddef.h>
36952 #include <sys/statvfs.h>
36953
36954 int
36955 main ()
36956 {
36957
36958 statvfs("/", NULL);
36959
36960 ;
36961 return 0;
36962 }
36963 _ACEOF
36964 rm -f conftest.$ac_objext
36965 if { (ac_try="$ac_compile"
36966 case "(($ac_try" in
36967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36968 *) ac_try_echo=$ac_try;;
36969 esac
36970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36971 (eval "$ac_compile") 2>conftest.er1
36972 ac_status=$?
36973 grep -v '^ *+' conftest.er1 >conftest.err
36974 rm -f conftest.er1
36975 cat conftest.err >&5
36976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36977 (exit $ac_status); } && {
36978 test -z "$ac_c_werror_flag" ||
36979 test ! -s conftest.err
36980 } && test -s conftest.$ac_objext; then
36981 wx_cv_func_statvfs=yes
36982 else
36983 echo "$as_me: failed program was:" >&5
36984 sed 's/^/| /' conftest.$ac_ext >&5
36985
36986 wx_cv_func_statvfs=no
36987
36988 fi
36989
36990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36991
36992 fi
36993 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36994 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36995
36996 if test "$wx_cv_func_statvfs" = "yes"; then
36997 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36998 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36999 if test "${wx_cv_type_statvfs_t+set}" = set; then
37000 echo $ECHO_N "(cached) $ECHO_C" >&6
37001 else
37002 ac_ext=cpp
37003 ac_cpp='$CXXCPP $CPPFLAGS'
37004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37007
37008 cat >conftest.$ac_ext <<_ACEOF
37009 /* confdefs.h. */
37010 _ACEOF
37011 cat confdefs.h >>conftest.$ac_ext
37012 cat >>conftest.$ac_ext <<_ACEOF
37013 /* end confdefs.h. */
37014
37015 #include <sys/statvfs.h>
37016
37017 int
37018 main ()
37019 {
37020
37021 long l;
37022 statvfs_t fs;
37023 statvfs("/", &fs);
37024 l = fs.f_bsize;
37025 l += fs.f_blocks;
37026 l += fs.f_bavail;
37027
37028 ;
37029 return 0;
37030 }
37031 _ACEOF
37032 rm -f conftest.$ac_objext
37033 if { (ac_try="$ac_compile"
37034 case "(($ac_try" in
37035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37036 *) ac_try_echo=$ac_try;;
37037 esac
37038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37039 (eval "$ac_compile") 2>conftest.er1
37040 ac_status=$?
37041 grep -v '^ *+' conftest.er1 >conftest.err
37042 rm -f conftest.er1
37043 cat conftest.err >&5
37044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37045 (exit $ac_status); } && {
37046 test -z "$ac_cxx_werror_flag" ||
37047 test ! -s conftest.err
37048 } && test -s conftest.$ac_objext; then
37049 wx_cv_type_statvfs_t=statvfs_t
37050 else
37051 echo "$as_me: failed program was:" >&5
37052 sed 's/^/| /' conftest.$ac_ext >&5
37053
37054
37055 cat >conftest.$ac_ext <<_ACEOF
37056 /* confdefs.h. */
37057 _ACEOF
37058 cat confdefs.h >>conftest.$ac_ext
37059 cat >>conftest.$ac_ext <<_ACEOF
37060 /* end confdefs.h. */
37061
37062 #include <sys/statvfs.h>
37063
37064 int
37065 main ()
37066 {
37067
37068 long l;
37069 struct statvfs fs;
37070 statvfs("/", &fs);
37071 l = fs.f_bsize;
37072 l += fs.f_blocks;
37073 l += fs.f_bavail;
37074
37075 ;
37076 return 0;
37077 }
37078 _ACEOF
37079 rm -f conftest.$ac_objext
37080 if { (ac_try="$ac_compile"
37081 case "(($ac_try" in
37082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37083 *) ac_try_echo=$ac_try;;
37084 esac
37085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37086 (eval "$ac_compile") 2>conftest.er1
37087 ac_status=$?
37088 grep -v '^ *+' conftest.er1 >conftest.err
37089 rm -f conftest.er1
37090 cat conftest.err >&5
37091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37092 (exit $ac_status); } && {
37093 test -z "$ac_cxx_werror_flag" ||
37094 test ! -s conftest.err
37095 } && test -s conftest.$ac_objext; then
37096 wx_cv_type_statvfs_t="struct statvfs"
37097 else
37098 echo "$as_me: failed program was:" >&5
37099 sed 's/^/| /' conftest.$ac_ext >&5
37100
37101 wx_cv_type_statvfs_t="unknown"
37102
37103 fi
37104
37105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37106
37107
37108 fi
37109
37110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37111 ac_ext=c
37112 ac_cpp='$CPP $CPPFLAGS'
37113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37116
37117
37118 fi
37119 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37120 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37121
37122 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37123 cat >>confdefs.h <<\_ACEOF
37124 #define HAVE_STATVFS 1
37125 _ACEOF
37126
37127 fi
37128 else
37129 wx_cv_type_statvfs_t="unknown"
37130 fi
37131 fi
37132
37133 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37134 cat >>confdefs.h <<_ACEOF
37135 #define WX_STATFS_T $wx_cv_type_statvfs_t
37136 _ACEOF
37137
37138 else
37139 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37140 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37141 fi
37142
37143 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37144
37145
37146 for ac_func in fcntl flock
37147 do
37148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37149 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37151 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37152 echo $ECHO_N "(cached) $ECHO_C" >&6
37153 else
37154 cat >conftest.$ac_ext <<_ACEOF
37155 /* confdefs.h. */
37156 _ACEOF
37157 cat confdefs.h >>conftest.$ac_ext
37158 cat >>conftest.$ac_ext <<_ACEOF
37159 /* end confdefs.h. */
37160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37162 #define $ac_func innocuous_$ac_func
37163
37164 /* System header to define __stub macros and hopefully few prototypes,
37165 which can conflict with char $ac_func (); below.
37166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37167 <limits.h> exists even on freestanding compilers. */
37168
37169 #ifdef __STDC__
37170 # include <limits.h>
37171 #else
37172 # include <assert.h>
37173 #endif
37174
37175 #undef $ac_func
37176
37177 /* Override any GCC internal prototype to avoid an error.
37178 Use char because int might match the return type of a GCC
37179 builtin and then its argument prototype would still apply. */
37180 #ifdef __cplusplus
37181 extern "C"
37182 #endif
37183 char $ac_func ();
37184 /* The GNU C library defines this for functions which it implements
37185 to always fail with ENOSYS. Some functions are actually named
37186 something starting with __ and the normal name is an alias. */
37187 #if defined __stub_$ac_func || defined __stub___$ac_func
37188 choke me
37189 #endif
37190
37191 int
37192 main ()
37193 {
37194 return $ac_func ();
37195 ;
37196 return 0;
37197 }
37198 _ACEOF
37199 rm -f conftest.$ac_objext conftest$ac_exeext
37200 if { (ac_try="$ac_link"
37201 case "(($ac_try" in
37202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37203 *) ac_try_echo=$ac_try;;
37204 esac
37205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37206 (eval "$ac_link") 2>conftest.er1
37207 ac_status=$?
37208 grep -v '^ *+' conftest.er1 >conftest.err
37209 rm -f conftest.er1
37210 cat conftest.err >&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); } && {
37213 test -z "$ac_c_werror_flag" ||
37214 test ! -s conftest.err
37215 } && test -s conftest$ac_exeext &&
37216 $as_test_x conftest$ac_exeext; then
37217 eval "$as_ac_var=yes"
37218 else
37219 echo "$as_me: failed program was:" >&5
37220 sed 's/^/| /' conftest.$ac_ext >&5
37221
37222 eval "$as_ac_var=no"
37223 fi
37224
37225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37226 conftest$ac_exeext conftest.$ac_ext
37227 fi
37228 ac_res=`eval echo '${'$as_ac_var'}'`
37229 { echo "$as_me:$LINENO: result: $ac_res" >&5
37230 echo "${ECHO_T}$ac_res" >&6; }
37231 if test `eval echo '${'$as_ac_var'}'` = yes; then
37232 cat >>confdefs.h <<_ACEOF
37233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37234 _ACEOF
37235 break
37236 fi
37237 done
37238
37239
37240 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37241 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37242 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37243 wxUSE_SNGLINST_CHECKER=no
37244 fi
37245 fi
37246
37247
37248
37249 for ac_func in setenv putenv
37250 do
37251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37252 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37254 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37255 echo $ECHO_N "(cached) $ECHO_C" >&6
37256 else
37257 cat >conftest.$ac_ext <<_ACEOF
37258 /* confdefs.h. */
37259 _ACEOF
37260 cat confdefs.h >>conftest.$ac_ext
37261 cat >>conftest.$ac_ext <<_ACEOF
37262 /* end confdefs.h. */
37263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37265 #define $ac_func innocuous_$ac_func
37266
37267 /* System header to define __stub macros and hopefully few prototypes,
37268 which can conflict with char $ac_func (); below.
37269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37270 <limits.h> exists even on freestanding compilers. */
37271
37272 #ifdef __STDC__
37273 # include <limits.h>
37274 #else
37275 # include <assert.h>
37276 #endif
37277
37278 #undef $ac_func
37279
37280 /* Override any GCC internal prototype to avoid an error.
37281 Use char because int might match the return type of a GCC
37282 builtin and then its argument prototype would still apply. */
37283 #ifdef __cplusplus
37284 extern "C"
37285 #endif
37286 char $ac_func ();
37287 /* The GNU C library defines this for functions which it implements
37288 to always fail with ENOSYS. Some functions are actually named
37289 something starting with __ and the normal name is an alias. */
37290 #if defined __stub_$ac_func || defined __stub___$ac_func
37291 choke me
37292 #endif
37293
37294 int
37295 main ()
37296 {
37297 return $ac_func ();
37298 ;
37299 return 0;
37300 }
37301 _ACEOF
37302 rm -f conftest.$ac_objext conftest$ac_exeext
37303 if { (ac_try="$ac_link"
37304 case "(($ac_try" in
37305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37306 *) ac_try_echo=$ac_try;;
37307 esac
37308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37309 (eval "$ac_link") 2>conftest.er1
37310 ac_status=$?
37311 grep -v '^ *+' conftest.er1 >conftest.err
37312 rm -f conftest.er1
37313 cat conftest.err >&5
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); } && {
37316 test -z "$ac_c_werror_flag" ||
37317 test ! -s conftest.err
37318 } && test -s conftest$ac_exeext &&
37319 $as_test_x conftest$ac_exeext; then
37320 eval "$as_ac_var=yes"
37321 else
37322 echo "$as_me: failed program was:" >&5
37323 sed 's/^/| /' conftest.$ac_ext >&5
37324
37325 eval "$as_ac_var=no"
37326 fi
37327
37328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37329 conftest$ac_exeext conftest.$ac_ext
37330 fi
37331 ac_res=`eval echo '${'$as_ac_var'}'`
37332 { echo "$as_me:$LINENO: result: $ac_res" >&5
37333 echo "${ECHO_T}$ac_res" >&6; }
37334 if test `eval echo '${'$as_ac_var'}'` = yes; then
37335 cat >>confdefs.h <<_ACEOF
37336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37337 _ACEOF
37338 break
37339 fi
37340 done
37341
37342 if test "$ac_cv_func_setenv" = "yes"; then
37343
37344 for ac_func in unsetenv
37345 do
37346 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37347 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37348 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37349 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37350 echo $ECHO_N "(cached) $ECHO_C" >&6
37351 else
37352 cat >conftest.$ac_ext <<_ACEOF
37353 /* confdefs.h. */
37354 _ACEOF
37355 cat confdefs.h >>conftest.$ac_ext
37356 cat >>conftest.$ac_ext <<_ACEOF
37357 /* end confdefs.h. */
37358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37360 #define $ac_func innocuous_$ac_func
37361
37362 /* System header to define __stub macros and hopefully few prototypes,
37363 which can conflict with char $ac_func (); below.
37364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37365 <limits.h> exists even on freestanding compilers. */
37366
37367 #ifdef __STDC__
37368 # include <limits.h>
37369 #else
37370 # include <assert.h>
37371 #endif
37372
37373 #undef $ac_func
37374
37375 /* Override any GCC internal prototype to avoid an error.
37376 Use char because int might match the return type of a GCC
37377 builtin and then its argument prototype would still apply. */
37378 #ifdef __cplusplus
37379 extern "C"
37380 #endif
37381 char $ac_func ();
37382 /* The GNU C library defines this for functions which it implements
37383 to always fail with ENOSYS. Some functions are actually named
37384 something starting with __ and the normal name is an alias. */
37385 #if defined __stub_$ac_func || defined __stub___$ac_func
37386 choke me
37387 #endif
37388
37389 int
37390 main ()
37391 {
37392 return $ac_func ();
37393 ;
37394 return 0;
37395 }
37396 _ACEOF
37397 rm -f conftest.$ac_objext conftest$ac_exeext
37398 if { (ac_try="$ac_link"
37399 case "(($ac_try" in
37400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37401 *) ac_try_echo=$ac_try;;
37402 esac
37403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37404 (eval "$ac_link") 2>conftest.er1
37405 ac_status=$?
37406 grep -v '^ *+' conftest.er1 >conftest.err
37407 rm -f conftest.er1
37408 cat conftest.err >&5
37409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37410 (exit $ac_status); } && {
37411 test -z "$ac_c_werror_flag" ||
37412 test ! -s conftest.err
37413 } && test -s conftest$ac_exeext &&
37414 $as_test_x conftest$ac_exeext; then
37415 eval "$as_ac_var=yes"
37416 else
37417 echo "$as_me: failed program was:" >&5
37418 sed 's/^/| /' conftest.$ac_ext >&5
37419
37420 eval "$as_ac_var=no"
37421 fi
37422
37423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37424 conftest$ac_exeext conftest.$ac_ext
37425 fi
37426 ac_res=`eval echo '${'$as_ac_var'}'`
37427 { echo "$as_me:$LINENO: result: $ac_res" >&5
37428 echo "${ECHO_T}$ac_res" >&6; }
37429 if test `eval echo '${'$as_ac_var'}'` = yes; then
37430 cat >>confdefs.h <<_ACEOF
37431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37432 _ACEOF
37433
37434 fi
37435 done
37436
37437 fi
37438
37439 HAVE_SOME_SLEEP_FUNC=0
37440 if test "$USE_BEOS" = 1; then
37441 cat >>confdefs.h <<\_ACEOF
37442 #define HAVE_SLEEP 1
37443 _ACEOF
37444
37445 HAVE_SOME_SLEEP_FUNC=1
37446 fi
37447
37448 if test "$USE_DARWIN" = 1; then
37449 cat >>confdefs.h <<\_ACEOF
37450 #define HAVE_USLEEP 1
37451 _ACEOF
37452
37453 HAVE_SOME_SLEEP_FUNC=1
37454 fi
37455
37456 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37457 POSIX4_LINK=
37458
37459 for ac_func in nanosleep
37460 do
37461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37462 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37465 echo $ECHO_N "(cached) $ECHO_C" >&6
37466 else
37467 cat >conftest.$ac_ext <<_ACEOF
37468 /* confdefs.h. */
37469 _ACEOF
37470 cat confdefs.h >>conftest.$ac_ext
37471 cat >>conftest.$ac_ext <<_ACEOF
37472 /* end confdefs.h. */
37473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37475 #define $ac_func innocuous_$ac_func
37476
37477 /* System header to define __stub macros and hopefully few prototypes,
37478 which can conflict with char $ac_func (); below.
37479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37480 <limits.h> exists even on freestanding compilers. */
37481
37482 #ifdef __STDC__
37483 # include <limits.h>
37484 #else
37485 # include <assert.h>
37486 #endif
37487
37488 #undef $ac_func
37489
37490 /* Override any GCC internal prototype to avoid an error.
37491 Use char because int might match the return type of a GCC
37492 builtin and then its argument prototype would still apply. */
37493 #ifdef __cplusplus
37494 extern "C"
37495 #endif
37496 char $ac_func ();
37497 /* The GNU C library defines this for functions which it implements
37498 to always fail with ENOSYS. Some functions are actually named
37499 something starting with __ and the normal name is an alias. */
37500 #if defined __stub_$ac_func || defined __stub___$ac_func
37501 choke me
37502 #endif
37503
37504 int
37505 main ()
37506 {
37507 return $ac_func ();
37508 ;
37509 return 0;
37510 }
37511 _ACEOF
37512 rm -f conftest.$ac_objext conftest$ac_exeext
37513 if { (ac_try="$ac_link"
37514 case "(($ac_try" in
37515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37516 *) ac_try_echo=$ac_try;;
37517 esac
37518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37519 (eval "$ac_link") 2>conftest.er1
37520 ac_status=$?
37521 grep -v '^ *+' conftest.er1 >conftest.err
37522 rm -f conftest.er1
37523 cat conftest.err >&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); } && {
37526 test -z "$ac_c_werror_flag" ||
37527 test ! -s conftest.err
37528 } && test -s conftest$ac_exeext &&
37529 $as_test_x conftest$ac_exeext; then
37530 eval "$as_ac_var=yes"
37531 else
37532 echo "$as_me: failed program was:" >&5
37533 sed 's/^/| /' conftest.$ac_ext >&5
37534
37535 eval "$as_ac_var=no"
37536 fi
37537
37538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37539 conftest$ac_exeext conftest.$ac_ext
37540 fi
37541 ac_res=`eval echo '${'$as_ac_var'}'`
37542 { echo "$as_me:$LINENO: result: $ac_res" >&5
37543 echo "${ECHO_T}$ac_res" >&6; }
37544 if test `eval echo '${'$as_ac_var'}'` = yes; then
37545 cat >>confdefs.h <<_ACEOF
37546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37547 _ACEOF
37548 cat >>confdefs.h <<\_ACEOF
37549 #define HAVE_NANOSLEEP 1
37550 _ACEOF
37551
37552 else
37553
37554 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37555 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37556 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37557 echo $ECHO_N "(cached) $ECHO_C" >&6
37558 else
37559 ac_check_lib_save_LIBS=$LIBS
37560 LIBS="-lposix4 $LIBS"
37561 cat >conftest.$ac_ext <<_ACEOF
37562 /* confdefs.h. */
37563 _ACEOF
37564 cat confdefs.h >>conftest.$ac_ext
37565 cat >>conftest.$ac_ext <<_ACEOF
37566 /* end confdefs.h. */
37567
37568 /* Override any GCC internal prototype to avoid an error.
37569 Use char because int might match the return type of a GCC
37570 builtin and then its argument prototype would still apply. */
37571 #ifdef __cplusplus
37572 extern "C"
37573 #endif
37574 char nanosleep ();
37575 int
37576 main ()
37577 {
37578 return nanosleep ();
37579 ;
37580 return 0;
37581 }
37582 _ACEOF
37583 rm -f conftest.$ac_objext conftest$ac_exeext
37584 if { (ac_try="$ac_link"
37585 case "(($ac_try" in
37586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37587 *) ac_try_echo=$ac_try;;
37588 esac
37589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37590 (eval "$ac_link") 2>conftest.er1
37591 ac_status=$?
37592 grep -v '^ *+' conftest.er1 >conftest.err
37593 rm -f conftest.er1
37594 cat conftest.err >&5
37595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37596 (exit $ac_status); } && {
37597 test -z "$ac_c_werror_flag" ||
37598 test ! -s conftest.err
37599 } && test -s conftest$ac_exeext &&
37600 $as_test_x conftest$ac_exeext; then
37601 ac_cv_lib_posix4_nanosleep=yes
37602 else
37603 echo "$as_me: failed program was:" >&5
37604 sed 's/^/| /' conftest.$ac_ext >&5
37605
37606 ac_cv_lib_posix4_nanosleep=no
37607 fi
37608
37609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37610 conftest$ac_exeext conftest.$ac_ext
37611 LIBS=$ac_check_lib_save_LIBS
37612 fi
37613 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37614 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37615 if test $ac_cv_lib_posix4_nanosleep = yes; then
37616
37617 cat >>confdefs.h <<\_ACEOF
37618 #define HAVE_NANOSLEEP 1
37619 _ACEOF
37620
37621 POSIX4_LINK=" -lposix4"
37622
37623 else
37624
37625
37626 for wx_func in usleep
37627 do
37628 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37629 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37630 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37631 echo $ECHO_N "(cached) $ECHO_C" >&6
37632 else
37633
37634 cat >conftest.$ac_ext <<_ACEOF
37635
37636 /* confdefs.h. */
37637 _ACEOF
37638 cat confdefs.h >>conftest.$ac_ext
37639 cat >>conftest.$ac_ext <<_ACEOF
37640 /* end confdefs.h. */
37641
37642
37643 $ac_includes_default
37644
37645 int
37646 main ()
37647 {
37648
37649 #ifndef $wx_func
37650 &$wx_func;
37651 #endif
37652
37653
37654 ;
37655 return 0;
37656 }
37657
37658 _ACEOF
37659 rm -f conftest.$ac_objext conftest$ac_exeext
37660 if { (ac_try="$ac_link"
37661 case "(($ac_try" in
37662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37663 *) ac_try_echo=$ac_try;;
37664 esac
37665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37666 (eval "$ac_link") 2>conftest.er1
37667 ac_status=$?
37668 grep -v '^ *+' conftest.er1 >conftest.err
37669 rm -f conftest.er1
37670 cat conftest.err >&5
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); } && {
37673 test -z "$ac_c_werror_flag" ||
37674 test ! -s conftest.err
37675 } && test -s conftest$ac_exeext &&
37676 $as_test_x conftest$ac_exeext; then
37677 eval wx_cv_func_$wx_func=yes
37678 else
37679 echo "$as_me: failed program was:" >&5
37680 sed 's/^/| /' conftest.$ac_ext >&5
37681
37682 eval wx_cv_func_$wx_func=no
37683 fi
37684
37685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37686 conftest$ac_exeext conftest.$ac_ext
37687
37688 fi
37689 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37690 { echo "$as_me:$LINENO: result: $ac_res" >&5
37691 echo "${ECHO_T}$ac_res" >&6; }
37692
37693 if eval test \$wx_cv_func_$wx_func = yes
37694 then
37695 cat >>confdefs.h <<_ACEOF
37696 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37697 _ACEOF
37698
37699
37700 else
37701 :
37702 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37703 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37704
37705 fi
37706 done
37707
37708
37709
37710 fi
37711
37712
37713
37714 fi
37715 done
37716
37717 fi
37718
37719
37720 for wx_func in uname
37721 do
37722 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37723 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37724 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37725 echo $ECHO_N "(cached) $ECHO_C" >&6
37726 else
37727
37728 cat >conftest.$ac_ext <<_ACEOF
37729
37730 /* confdefs.h. */
37731 _ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735
37736 #include <sys/utsname.h>
37737 $ac_includes_default
37738
37739 int
37740 main ()
37741 {
37742
37743 #ifndef $wx_func
37744 &$wx_func;
37745 #endif
37746
37747
37748 ;
37749 return 0;
37750 }
37751
37752 _ACEOF
37753 rm -f conftest.$ac_objext conftest$ac_exeext
37754 if { (ac_try="$ac_link"
37755 case "(($ac_try" in
37756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37757 *) ac_try_echo=$ac_try;;
37758 esac
37759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37760 (eval "$ac_link") 2>conftest.er1
37761 ac_status=$?
37762 grep -v '^ *+' conftest.er1 >conftest.err
37763 rm -f conftest.er1
37764 cat conftest.err >&5
37765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37766 (exit $ac_status); } && {
37767 test -z "$ac_c_werror_flag" ||
37768 test ! -s conftest.err
37769 } && test -s conftest$ac_exeext &&
37770 $as_test_x conftest$ac_exeext; then
37771 eval wx_cv_func_$wx_func=yes
37772 else
37773 echo "$as_me: failed program was:" >&5
37774 sed 's/^/| /' conftest.$ac_ext >&5
37775
37776 eval wx_cv_func_$wx_func=no
37777 fi
37778
37779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37780 conftest$ac_exeext conftest.$ac_ext
37781
37782 fi
37783 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37784 { echo "$as_me:$LINENO: result: $ac_res" >&5
37785 echo "${ECHO_T}$ac_res" >&6; }
37786
37787 if eval test \$wx_cv_func_$wx_func = yes
37788 then
37789 cat >>confdefs.h <<_ACEOF
37790 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37791 _ACEOF
37792
37793
37794 else
37795 :
37796
37797 fi
37798 done
37799
37800 if test "$wx_cv_func_uname" != yes; then
37801
37802 for wx_func in gethostname
37803 do
37804 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37805 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37806 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37807 echo $ECHO_N "(cached) $ECHO_C" >&6
37808 else
37809
37810 cat >conftest.$ac_ext <<_ACEOF
37811
37812 /* confdefs.h. */
37813 _ACEOF
37814 cat confdefs.h >>conftest.$ac_ext
37815 cat >>conftest.$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
37817
37818
37819 $ac_includes_default
37820
37821 int
37822 main ()
37823 {
37824
37825 #ifndef $wx_func
37826 &$wx_func;
37827 #endif
37828
37829
37830 ;
37831 return 0;
37832 }
37833
37834 _ACEOF
37835 rm -f conftest.$ac_objext conftest$ac_exeext
37836 if { (ac_try="$ac_link"
37837 case "(($ac_try" in
37838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37839 *) ac_try_echo=$ac_try;;
37840 esac
37841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37842 (eval "$ac_link") 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } && {
37849 test -z "$ac_c_werror_flag" ||
37850 test ! -s conftest.err
37851 } && test -s conftest$ac_exeext &&
37852 $as_test_x conftest$ac_exeext; then
37853 eval wx_cv_func_$wx_func=yes
37854 else
37855 echo "$as_me: failed program was:" >&5
37856 sed 's/^/| /' conftest.$ac_ext >&5
37857
37858 eval wx_cv_func_$wx_func=no
37859 fi
37860
37861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37862 conftest$ac_exeext conftest.$ac_ext
37863
37864 fi
37865 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37866 { echo "$as_me:$LINENO: result: $ac_res" >&5
37867 echo "${ECHO_T}$ac_res" >&6; }
37868
37869 if eval test \$wx_cv_func_$wx_func = yes
37870 then
37871 cat >>confdefs.h <<_ACEOF
37872 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37873 _ACEOF
37874
37875
37876 else
37877 :
37878
37879 fi
37880 done
37881
37882 fi
37883
37884
37885 for wx_func in strtok_r
37886 do
37887 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37888 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37889 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37890 echo $ECHO_N "(cached) $ECHO_C" >&6
37891 else
37892
37893 cat >conftest.$ac_ext <<_ACEOF
37894
37895 /* confdefs.h. */
37896 _ACEOF
37897 cat confdefs.h >>conftest.$ac_ext
37898 cat >>conftest.$ac_ext <<_ACEOF
37899 /* end confdefs.h. */
37900
37901 #define _REENTRANT
37902 $ac_includes_default
37903
37904 int
37905 main ()
37906 {
37907
37908 #ifndef $wx_func
37909 &$wx_func;
37910 #endif
37911
37912
37913 ;
37914 return 0;
37915 }
37916
37917 _ACEOF
37918 rm -f conftest.$ac_objext conftest$ac_exeext
37919 if { (ac_try="$ac_link"
37920 case "(($ac_try" in
37921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37922 *) ac_try_echo=$ac_try;;
37923 esac
37924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37925 (eval "$ac_link") 2>conftest.er1
37926 ac_status=$?
37927 grep -v '^ *+' conftest.er1 >conftest.err
37928 rm -f conftest.er1
37929 cat conftest.err >&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } && {
37932 test -z "$ac_c_werror_flag" ||
37933 test ! -s conftest.err
37934 } && test -s conftest$ac_exeext &&
37935 $as_test_x conftest$ac_exeext; then
37936 eval wx_cv_func_$wx_func=yes
37937 else
37938 echo "$as_me: failed program was:" >&5
37939 sed 's/^/| /' conftest.$ac_ext >&5
37940
37941 eval wx_cv_func_$wx_func=no
37942 fi
37943
37944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37945 conftest$ac_exeext conftest.$ac_ext
37946
37947 fi
37948 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37949 { echo "$as_me:$LINENO: result: $ac_res" >&5
37950 echo "${ECHO_T}$ac_res" >&6; }
37951
37952 if eval test \$wx_cv_func_$wx_func = yes
37953 then
37954 cat >>confdefs.h <<_ACEOF
37955 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37956 _ACEOF
37957
37958
37959 else
37960 :
37961
37962 fi
37963 done
37964
37965
37966 INET_LINK=
37967
37968 for ac_func in inet_addr
37969 do
37970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37971 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37973 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37974 echo $ECHO_N "(cached) $ECHO_C" >&6
37975 else
37976 cat >conftest.$ac_ext <<_ACEOF
37977 /* confdefs.h. */
37978 _ACEOF
37979 cat confdefs.h >>conftest.$ac_ext
37980 cat >>conftest.$ac_ext <<_ACEOF
37981 /* end confdefs.h. */
37982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37984 #define $ac_func innocuous_$ac_func
37985
37986 /* System header to define __stub macros and hopefully few prototypes,
37987 which can conflict with char $ac_func (); below.
37988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37989 <limits.h> exists even on freestanding compilers. */
37990
37991 #ifdef __STDC__
37992 # include <limits.h>
37993 #else
37994 # include <assert.h>
37995 #endif
37996
37997 #undef $ac_func
37998
37999 /* Override any GCC internal prototype to avoid an error.
38000 Use char because int might match the return type of a GCC
38001 builtin and then its argument prototype would still apply. */
38002 #ifdef __cplusplus
38003 extern "C"
38004 #endif
38005 char $ac_func ();
38006 /* The GNU C library defines this for functions which it implements
38007 to always fail with ENOSYS. Some functions are actually named
38008 something starting with __ and the normal name is an alias. */
38009 #if defined __stub_$ac_func || defined __stub___$ac_func
38010 choke me
38011 #endif
38012
38013 int
38014 main ()
38015 {
38016 return $ac_func ();
38017 ;
38018 return 0;
38019 }
38020 _ACEOF
38021 rm -f conftest.$ac_objext conftest$ac_exeext
38022 if { (ac_try="$ac_link"
38023 case "(($ac_try" in
38024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38025 *) ac_try_echo=$ac_try;;
38026 esac
38027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38028 (eval "$ac_link") 2>conftest.er1
38029 ac_status=$?
38030 grep -v '^ *+' conftest.er1 >conftest.err
38031 rm -f conftest.er1
38032 cat conftest.err >&5
38033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38034 (exit $ac_status); } && {
38035 test -z "$ac_c_werror_flag" ||
38036 test ! -s conftest.err
38037 } && test -s conftest$ac_exeext &&
38038 $as_test_x conftest$ac_exeext; then
38039 eval "$as_ac_var=yes"
38040 else
38041 echo "$as_me: failed program was:" >&5
38042 sed 's/^/| /' conftest.$ac_ext >&5
38043
38044 eval "$as_ac_var=no"
38045 fi
38046
38047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38048 conftest$ac_exeext conftest.$ac_ext
38049 fi
38050 ac_res=`eval echo '${'$as_ac_var'}'`
38051 { echo "$as_me:$LINENO: result: $ac_res" >&5
38052 echo "${ECHO_T}$ac_res" >&6; }
38053 if test `eval echo '${'$as_ac_var'}'` = yes; then
38054 cat >>confdefs.h <<_ACEOF
38055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38056 _ACEOF
38057 cat >>confdefs.h <<\_ACEOF
38058 #define HAVE_INET_ADDR 1
38059 _ACEOF
38060
38061 else
38062
38063 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38064 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38065 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38066 echo $ECHO_N "(cached) $ECHO_C" >&6
38067 else
38068 ac_check_lib_save_LIBS=$LIBS
38069 LIBS="-lnsl $LIBS"
38070 cat >conftest.$ac_ext <<_ACEOF
38071 /* confdefs.h. */
38072 _ACEOF
38073 cat confdefs.h >>conftest.$ac_ext
38074 cat >>conftest.$ac_ext <<_ACEOF
38075 /* end confdefs.h. */
38076
38077 /* Override any GCC internal prototype to avoid an error.
38078 Use char because int might match the return type of a GCC
38079 builtin and then its argument prototype would still apply. */
38080 #ifdef __cplusplus
38081 extern "C"
38082 #endif
38083 char inet_addr ();
38084 int
38085 main ()
38086 {
38087 return inet_addr ();
38088 ;
38089 return 0;
38090 }
38091 _ACEOF
38092 rm -f conftest.$ac_objext conftest$ac_exeext
38093 if { (ac_try="$ac_link"
38094 case "(($ac_try" in
38095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38096 *) ac_try_echo=$ac_try;;
38097 esac
38098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38099 (eval "$ac_link") 2>conftest.er1
38100 ac_status=$?
38101 grep -v '^ *+' conftest.er1 >conftest.err
38102 rm -f conftest.er1
38103 cat conftest.err >&5
38104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38105 (exit $ac_status); } && {
38106 test -z "$ac_c_werror_flag" ||
38107 test ! -s conftest.err
38108 } && test -s conftest$ac_exeext &&
38109 $as_test_x conftest$ac_exeext; then
38110 ac_cv_lib_nsl_inet_addr=yes
38111 else
38112 echo "$as_me: failed program was:" >&5
38113 sed 's/^/| /' conftest.$ac_ext >&5
38114
38115 ac_cv_lib_nsl_inet_addr=no
38116 fi
38117
38118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38119 conftest$ac_exeext conftest.$ac_ext
38120 LIBS=$ac_check_lib_save_LIBS
38121 fi
38122 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38123 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38124 if test $ac_cv_lib_nsl_inet_addr = yes; then
38125 INET_LINK="nsl"
38126 else
38127
38128 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38129 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38130 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38131 echo $ECHO_N "(cached) $ECHO_C" >&6
38132 else
38133 ac_check_lib_save_LIBS=$LIBS
38134 LIBS="-lresolv $LIBS"
38135 cat >conftest.$ac_ext <<_ACEOF
38136 /* confdefs.h. */
38137 _ACEOF
38138 cat confdefs.h >>conftest.$ac_ext
38139 cat >>conftest.$ac_ext <<_ACEOF
38140 /* end confdefs.h. */
38141
38142 /* Override any GCC internal prototype to avoid an error.
38143 Use char because int might match the return type of a GCC
38144 builtin and then its argument prototype would still apply. */
38145 #ifdef __cplusplus
38146 extern "C"
38147 #endif
38148 char inet_addr ();
38149 int
38150 main ()
38151 {
38152 return inet_addr ();
38153 ;
38154 return 0;
38155 }
38156 _ACEOF
38157 rm -f conftest.$ac_objext conftest$ac_exeext
38158 if { (ac_try="$ac_link"
38159 case "(($ac_try" in
38160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38161 *) ac_try_echo=$ac_try;;
38162 esac
38163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38164 (eval "$ac_link") 2>conftest.er1
38165 ac_status=$?
38166 grep -v '^ *+' conftest.er1 >conftest.err
38167 rm -f conftest.er1
38168 cat conftest.err >&5
38169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170 (exit $ac_status); } && {
38171 test -z "$ac_c_werror_flag" ||
38172 test ! -s conftest.err
38173 } && test -s conftest$ac_exeext &&
38174 $as_test_x conftest$ac_exeext; then
38175 ac_cv_lib_resolv_inet_addr=yes
38176 else
38177 echo "$as_me: failed program was:" >&5
38178 sed 's/^/| /' conftest.$ac_ext >&5
38179
38180 ac_cv_lib_resolv_inet_addr=no
38181 fi
38182
38183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38184 conftest$ac_exeext conftest.$ac_ext
38185 LIBS=$ac_check_lib_save_LIBS
38186 fi
38187 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38188 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38189 if test $ac_cv_lib_resolv_inet_addr = yes; then
38190 INET_LINK="resolv"
38191 else
38192
38193 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38194 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38195 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38196 echo $ECHO_N "(cached) $ECHO_C" >&6
38197 else
38198 ac_check_lib_save_LIBS=$LIBS
38199 LIBS="-lsocket $LIBS"
38200 cat >conftest.$ac_ext <<_ACEOF
38201 /* confdefs.h. */
38202 _ACEOF
38203 cat confdefs.h >>conftest.$ac_ext
38204 cat >>conftest.$ac_ext <<_ACEOF
38205 /* end confdefs.h. */
38206
38207 /* Override any GCC internal prototype to avoid an error.
38208 Use char because int might match the return type of a GCC
38209 builtin and then its argument prototype would still apply. */
38210 #ifdef __cplusplus
38211 extern "C"
38212 #endif
38213 char inet_addr ();
38214 int
38215 main ()
38216 {
38217 return inet_addr ();
38218 ;
38219 return 0;
38220 }
38221 _ACEOF
38222 rm -f conftest.$ac_objext conftest$ac_exeext
38223 if { (ac_try="$ac_link"
38224 case "(($ac_try" in
38225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38226 *) ac_try_echo=$ac_try;;
38227 esac
38228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38229 (eval "$ac_link") 2>conftest.er1
38230 ac_status=$?
38231 grep -v '^ *+' conftest.er1 >conftest.err
38232 rm -f conftest.er1
38233 cat conftest.err >&5
38234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38235 (exit $ac_status); } && {
38236 test -z "$ac_c_werror_flag" ||
38237 test ! -s conftest.err
38238 } && test -s conftest$ac_exeext &&
38239 $as_test_x conftest$ac_exeext; then
38240 ac_cv_lib_socket_inet_addr=yes
38241 else
38242 echo "$as_me: failed program was:" >&5
38243 sed 's/^/| /' conftest.$ac_ext >&5
38244
38245 ac_cv_lib_socket_inet_addr=no
38246 fi
38247
38248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38249 conftest$ac_exeext conftest.$ac_ext
38250 LIBS=$ac_check_lib_save_LIBS
38251 fi
38252 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38253 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38254 if test $ac_cv_lib_socket_inet_addr = yes; then
38255 INET_LINK="socket"
38256
38257 fi
38258
38259
38260
38261 fi
38262
38263
38264
38265 fi
38266
38267
38268
38269 fi
38270 done
38271
38272
38273
38274 for ac_func in inet_aton
38275 do
38276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38279 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38280 echo $ECHO_N "(cached) $ECHO_C" >&6
38281 else
38282 cat >conftest.$ac_ext <<_ACEOF
38283 /* confdefs.h. */
38284 _ACEOF
38285 cat confdefs.h >>conftest.$ac_ext
38286 cat >>conftest.$ac_ext <<_ACEOF
38287 /* end confdefs.h. */
38288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38290 #define $ac_func innocuous_$ac_func
38291
38292 /* System header to define __stub macros and hopefully few prototypes,
38293 which can conflict with char $ac_func (); below.
38294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38295 <limits.h> exists even on freestanding compilers. */
38296
38297 #ifdef __STDC__
38298 # include <limits.h>
38299 #else
38300 # include <assert.h>
38301 #endif
38302
38303 #undef $ac_func
38304
38305 /* Override any GCC internal prototype to avoid an error.
38306 Use char because int might match the return type of a GCC
38307 builtin and then its argument prototype would still apply. */
38308 #ifdef __cplusplus
38309 extern "C"
38310 #endif
38311 char $ac_func ();
38312 /* The GNU C library defines this for functions which it implements
38313 to always fail with ENOSYS. Some functions are actually named
38314 something starting with __ and the normal name is an alias. */
38315 #if defined __stub_$ac_func || defined __stub___$ac_func
38316 choke me
38317 #endif
38318
38319 int
38320 main ()
38321 {
38322 return $ac_func ();
38323 ;
38324 return 0;
38325 }
38326 _ACEOF
38327 rm -f conftest.$ac_objext conftest$ac_exeext
38328 if { (ac_try="$ac_link"
38329 case "(($ac_try" in
38330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38331 *) ac_try_echo=$ac_try;;
38332 esac
38333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38334 (eval "$ac_link") 2>conftest.er1
38335 ac_status=$?
38336 grep -v '^ *+' conftest.er1 >conftest.err
38337 rm -f conftest.er1
38338 cat conftest.err >&5
38339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340 (exit $ac_status); } && {
38341 test -z "$ac_c_werror_flag" ||
38342 test ! -s conftest.err
38343 } && test -s conftest$ac_exeext &&
38344 $as_test_x conftest$ac_exeext; then
38345 eval "$as_ac_var=yes"
38346 else
38347 echo "$as_me: failed program was:" >&5
38348 sed 's/^/| /' conftest.$ac_ext >&5
38349
38350 eval "$as_ac_var=no"
38351 fi
38352
38353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38354 conftest$ac_exeext conftest.$ac_ext
38355 fi
38356 ac_res=`eval echo '${'$as_ac_var'}'`
38357 { echo "$as_me:$LINENO: result: $ac_res" >&5
38358 echo "${ECHO_T}$ac_res" >&6; }
38359 if test `eval echo '${'$as_ac_var'}'` = yes; then
38360 cat >>confdefs.h <<_ACEOF
38361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38362 _ACEOF
38363 cat >>confdefs.h <<\_ACEOF
38364 #define HAVE_INET_ATON 1
38365 _ACEOF
38366
38367 else
38368
38369 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38370 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38371 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38372 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38374 else
38375 ac_check_lib_save_LIBS=$LIBS
38376 LIBS="-l$INET_LINK $LIBS"
38377 cat >conftest.$ac_ext <<_ACEOF
38378 /* confdefs.h. */
38379 _ACEOF
38380 cat confdefs.h >>conftest.$ac_ext
38381 cat >>conftest.$ac_ext <<_ACEOF
38382 /* end confdefs.h. */
38383
38384 /* Override any GCC internal prototype to avoid an error.
38385 Use char because int might match the return type of a GCC
38386 builtin and then its argument prototype would still apply. */
38387 #ifdef __cplusplus
38388 extern "C"
38389 #endif
38390 char inet_aton ();
38391 int
38392 main ()
38393 {
38394 return inet_aton ();
38395 ;
38396 return 0;
38397 }
38398 _ACEOF
38399 rm -f conftest.$ac_objext conftest$ac_exeext
38400 if { (ac_try="$ac_link"
38401 case "(($ac_try" in
38402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38403 *) ac_try_echo=$ac_try;;
38404 esac
38405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38406 (eval "$ac_link") 2>conftest.er1
38407 ac_status=$?
38408 grep -v '^ *+' conftest.er1 >conftest.err
38409 rm -f conftest.er1
38410 cat conftest.err >&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } && {
38413 test -z "$ac_c_werror_flag" ||
38414 test ! -s conftest.err
38415 } && test -s conftest$ac_exeext &&
38416 $as_test_x conftest$ac_exeext; then
38417 eval "$as_ac_Lib=yes"
38418 else
38419 echo "$as_me: failed program was:" >&5
38420 sed 's/^/| /' conftest.$ac_ext >&5
38421
38422 eval "$as_ac_Lib=no"
38423 fi
38424
38425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38426 conftest$ac_exeext conftest.$ac_ext
38427 LIBS=$ac_check_lib_save_LIBS
38428 fi
38429 ac_res=`eval echo '${'$as_ac_Lib'}'`
38430 { echo "$as_me:$LINENO: result: $ac_res" >&5
38431 echo "${ECHO_T}$ac_res" >&6; }
38432 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38433 cat >>confdefs.h <<\_ACEOF
38434 #define HAVE_INET_ATON 1
38435 _ACEOF
38436
38437 fi
38438
38439
38440 fi
38441 done
38442
38443
38444 if test "x$INET_LINK" != "x"; then
38445 cat >>confdefs.h <<\_ACEOF
38446 #define HAVE_INET_ADDR 1
38447 _ACEOF
38448
38449 INET_LINK=" -l$INET_LINK"
38450 fi
38451
38452
38453 for wx_func in fdopen
38454 do
38455 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38456 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38457 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38458 echo $ECHO_N "(cached) $ECHO_C" >&6
38459 else
38460
38461 cat >conftest.$ac_ext <<_ACEOF
38462
38463 /* confdefs.h. */
38464 _ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h. */
38468
38469
38470 $ac_includes_default
38471
38472 int
38473 main ()
38474 {
38475
38476 #ifndef $wx_func
38477 &$wx_func;
38478 #endif
38479
38480
38481 ;
38482 return 0;
38483 }
38484
38485 _ACEOF
38486 rm -f conftest.$ac_objext conftest$ac_exeext
38487 if { (ac_try="$ac_link"
38488 case "(($ac_try" in
38489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38490 *) ac_try_echo=$ac_try;;
38491 esac
38492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38493 (eval "$ac_link") 2>conftest.er1
38494 ac_status=$?
38495 grep -v '^ *+' conftest.er1 >conftest.err
38496 rm -f conftest.er1
38497 cat conftest.err >&5
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); } && {
38500 test -z "$ac_c_werror_flag" ||
38501 test ! -s conftest.err
38502 } && test -s conftest$ac_exeext &&
38503 $as_test_x conftest$ac_exeext; then
38504 eval wx_cv_func_$wx_func=yes
38505 else
38506 echo "$as_me: failed program was:" >&5
38507 sed 's/^/| /' conftest.$ac_ext >&5
38508
38509 eval wx_cv_func_$wx_func=no
38510 fi
38511
38512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38513 conftest$ac_exeext conftest.$ac_ext
38514
38515 fi
38516 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38517 { echo "$as_me:$LINENO: result: $ac_res" >&5
38518 echo "${ECHO_T}$ac_res" >&6; }
38519
38520 if eval test \$wx_cv_func_$wx_func = yes
38521 then
38522 cat >>confdefs.h <<_ACEOF
38523 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38524 _ACEOF
38525
38526
38527 else
38528 :
38529
38530 fi
38531 done
38532
38533
38534 if test "$wxUSE_TARSTREAM" = "yes"; then
38535
38536 for wx_func in sysconf
38537 do
38538 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38539 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38540 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38541 echo $ECHO_N "(cached) $ECHO_C" >&6
38542 else
38543
38544 cat >conftest.$ac_ext <<_ACEOF
38545
38546 /* confdefs.h. */
38547 _ACEOF
38548 cat confdefs.h >>conftest.$ac_ext
38549 cat >>conftest.$ac_ext <<_ACEOF
38550 /* end confdefs.h. */
38551
38552
38553 $ac_includes_default
38554
38555 int
38556 main ()
38557 {
38558
38559 #ifndef $wx_func
38560 &$wx_func;
38561 #endif
38562
38563
38564 ;
38565 return 0;
38566 }
38567
38568 _ACEOF
38569 rm -f conftest.$ac_objext conftest$ac_exeext
38570 if { (ac_try="$ac_link"
38571 case "(($ac_try" in
38572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38573 *) ac_try_echo=$ac_try;;
38574 esac
38575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38576 (eval "$ac_link") 2>conftest.er1
38577 ac_status=$?
38578 grep -v '^ *+' conftest.er1 >conftest.err
38579 rm -f conftest.er1
38580 cat conftest.err >&5
38581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38582 (exit $ac_status); } && {
38583 test -z "$ac_c_werror_flag" ||
38584 test ! -s conftest.err
38585 } && test -s conftest$ac_exeext &&
38586 $as_test_x conftest$ac_exeext; then
38587 eval wx_cv_func_$wx_func=yes
38588 else
38589 echo "$as_me: failed program was:" >&5
38590 sed 's/^/| /' conftest.$ac_ext >&5
38591
38592 eval wx_cv_func_$wx_func=no
38593 fi
38594
38595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38596 conftest$ac_exeext conftest.$ac_ext
38597
38598 fi
38599 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38600 { echo "$as_me:$LINENO: result: $ac_res" >&5
38601 echo "${ECHO_T}$ac_res" >&6; }
38602
38603 if eval test \$wx_cv_func_$wx_func = yes
38604 then
38605 cat >>confdefs.h <<_ACEOF
38606 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38607 _ACEOF
38608
38609
38610 else
38611 :
38612
38613 fi
38614 done
38615
38616
38617
38618 for wx_func in getpwuid_r
38619 do
38620 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38621 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38622 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38623 echo $ECHO_N "(cached) $ECHO_C" >&6
38624 else
38625
38626 cat >conftest.$ac_ext <<_ACEOF
38627
38628 /* confdefs.h. */
38629 _ACEOF
38630 cat confdefs.h >>conftest.$ac_ext
38631 cat >>conftest.$ac_ext <<_ACEOF
38632 /* end confdefs.h. */
38633
38634
38635 #define _REENTRANT
38636 #include <pwd.h>
38637
38638 $ac_includes_default
38639
38640 int
38641 main ()
38642 {
38643
38644 #ifndef $wx_func
38645 &$wx_func;
38646 #endif
38647
38648 struct passwd pw, *ppw;
38649 char buf[1024];
38650 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38651
38652
38653 ;
38654 return 0;
38655 }
38656
38657 _ACEOF
38658 rm -f conftest.$ac_objext conftest$ac_exeext
38659 if { (ac_try="$ac_link"
38660 case "(($ac_try" in
38661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38662 *) ac_try_echo=$ac_try;;
38663 esac
38664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38665 (eval "$ac_link") 2>conftest.er1
38666 ac_status=$?
38667 grep -v '^ *+' conftest.er1 >conftest.err
38668 rm -f conftest.er1
38669 cat conftest.err >&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); } && {
38672 test -z "$ac_c_werror_flag" ||
38673 test ! -s conftest.err
38674 } && test -s conftest$ac_exeext &&
38675 $as_test_x conftest$ac_exeext; then
38676 eval wx_cv_func_$wx_func=yes
38677 else
38678 echo "$as_me: failed program was:" >&5
38679 sed 's/^/| /' conftest.$ac_ext >&5
38680
38681 eval wx_cv_func_$wx_func=no
38682 fi
38683
38684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38685 conftest$ac_exeext conftest.$ac_ext
38686
38687 fi
38688 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38689 { echo "$as_me:$LINENO: result: $ac_res" >&5
38690 echo "${ECHO_T}$ac_res" >&6; }
38691
38692 if eval test \$wx_cv_func_$wx_func = yes
38693 then
38694 cat >>confdefs.h <<_ACEOF
38695 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38696 _ACEOF
38697
38698
38699 else
38700 :
38701
38702 fi
38703 done
38704
38705
38706
38707 for wx_func in getgrgid_r
38708 do
38709 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38710 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38711 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38712 echo $ECHO_N "(cached) $ECHO_C" >&6
38713 else
38714
38715 cat >conftest.$ac_ext <<_ACEOF
38716
38717 /* confdefs.h. */
38718 _ACEOF
38719 cat confdefs.h >>conftest.$ac_ext
38720 cat >>conftest.$ac_ext <<_ACEOF
38721 /* end confdefs.h. */
38722
38723
38724 #define _REENTRANT
38725 #include <grp.h>
38726
38727 $ac_includes_default
38728
38729 int
38730 main ()
38731 {
38732
38733 #ifndef $wx_func
38734 &$wx_func;
38735 #endif
38736
38737 struct group grp, *pgrp;
38738 char buf[1024];
38739 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38740
38741
38742 ;
38743 return 0;
38744 }
38745
38746 _ACEOF
38747 rm -f conftest.$ac_objext conftest$ac_exeext
38748 if { (ac_try="$ac_link"
38749 case "(($ac_try" in
38750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38751 *) ac_try_echo=$ac_try;;
38752 esac
38753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38754 (eval "$ac_link") 2>conftest.er1
38755 ac_status=$?
38756 grep -v '^ *+' conftest.er1 >conftest.err
38757 rm -f conftest.er1
38758 cat conftest.err >&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } && {
38761 test -z "$ac_c_werror_flag" ||
38762 test ! -s conftest.err
38763 } && test -s conftest$ac_exeext &&
38764 $as_test_x conftest$ac_exeext; then
38765 eval wx_cv_func_$wx_func=yes
38766 else
38767 echo "$as_me: failed program was:" >&5
38768 sed 's/^/| /' conftest.$ac_ext >&5
38769
38770 eval wx_cv_func_$wx_func=no
38771 fi
38772
38773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38774 conftest$ac_exeext conftest.$ac_ext
38775
38776 fi
38777 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38778 { echo "$as_me:$LINENO: result: $ac_res" >&5
38779 echo "${ECHO_T}$ac_res" >&6; }
38780
38781 if eval test \$wx_cv_func_$wx_func = yes
38782 then
38783 cat >>confdefs.h <<_ACEOF
38784 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38785 _ACEOF
38786
38787
38788 else
38789 :
38790
38791 fi
38792 done
38793
38794 fi
38795
38796 fi
38797
38798
38799
38800 cat >confcache <<\_ACEOF
38801 # This file is a shell script that caches the results of configure
38802 # tests run on this system so they can be shared between configure
38803 # scripts and configure runs, see configure's option --config-cache.
38804 # It is not useful on other systems. If it contains results you don't
38805 # want to keep, you may remove or edit it.
38806 #
38807 # config.status only pays attention to the cache file if you give it
38808 # the --recheck option to rerun configure.
38809 #
38810 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38811 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38812 # following values.
38813
38814 _ACEOF
38815
38816 # The following way of writing the cache mishandles newlines in values,
38817 # but we know of no workaround that is simple, portable, and efficient.
38818 # So, we kill variables containing newlines.
38819 # Ultrix sh set writes to stderr and can't be redirected directly,
38820 # and sets the high bit in the cache file unless we assign to the vars.
38821 (
38822 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38823 eval ac_val=\$$ac_var
38824 case $ac_val in #(
38825 *${as_nl}*)
38826 case $ac_var in #(
38827 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38828 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38829 esac
38830 case $ac_var in #(
38831 _ | IFS | as_nl) ;; #(
38832 *) $as_unset $ac_var ;;
38833 esac ;;
38834 esac
38835 done
38836
38837 (set) 2>&1 |
38838 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38839 *${as_nl}ac_space=\ *)
38840 # `set' does not quote correctly, so add quotes (double-quote
38841 # substitution turns \\\\ into \\, and sed turns \\ into \).
38842 sed -n \
38843 "s/'/'\\\\''/g;
38844 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38845 ;; #(
38846 *)
38847 # `set' quotes correctly as required by POSIX, so do not add quotes.
38848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38849 ;;
38850 esac |
38851 sort
38852 ) |
38853 sed '
38854 /^ac_cv_env_/b end
38855 t clear
38856 :clear
38857 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38858 t end
38859 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38860 :end' >>confcache
38861 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38862 if test -w "$cache_file"; then
38863 test "x$cache_file" != "x/dev/null" &&
38864 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38865 echo "$as_me: updating cache $cache_file" >&6;}
38866 cat confcache >$cache_file
38867 else
38868 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38869 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38870 fi
38871 fi
38872 rm -f confcache
38873
38874
38875 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38876
38877
38878 THREADS_LINK=
38879 THREADS_CFLAGS=
38880
38881 if test "$wxUSE_THREADS" = "yes" ; then
38882 if test "$USE_BEOS" = 1; then
38883 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38884 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38885 wxUSE_THREADS="no"
38886 fi
38887 fi
38888
38889 if test "$wxUSE_THREADS" = "yes" ; then
38890
38891
38892 THREAD_OPTS="-pthread"
38893 if test "x$SUNCXX" = xyes; then
38894 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38895 fi
38896
38897 case "${host}" in
38898 *-*-solaris2* | *-*-sunos4* )
38899 if test "x$GCC" = "xyes"; then
38900 THREAD_OPTS="-pthreads $THREAD_OPTS"
38901 fi
38902 ;;
38903 *-*-freebsd*)
38904 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38905 ;;
38906 *-*-darwin* | *-*-cygwin* )
38907 THREAD_OPTS=""
38908 ;;
38909 *-*-aix*)
38910 THREAD_OPTS="pthreads"
38911 ;;
38912 *-hp-hpux* )
38913 if test "x$GCC" = "xyes"; then
38914 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38915 THREAD_OPTS=""
38916 else
38917 THREAD_OPTS="-mt"
38918 fi
38919 ;;
38920
38921 *-*-irix* )
38922 if test "x$GCC" = "xyes"; then
38923 THREAD_OPTS=""
38924 fi
38925 ;;
38926
38927 *-*-*UnixWare*)
38928 if test "x$GCC" != "xyes"; then
38929 THREAD_OPTS="-Ethread"
38930 fi
38931 ;;
38932 esac
38933
38934 THREAD_OPTS="$THREAD_OPTS pthread none"
38935
38936 THREADS_OK=no
38937 for flag in $THREAD_OPTS; do
38938 case $flag in
38939 none)
38940 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38941 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38942 ;;
38943
38944 -*)
38945 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38946 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38947 THREADS_CFLAGS="$flag"
38948 ;;
38949
38950 *)
38951 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38952 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38953 THREADS_LINK="-l$flag"
38954 ;;
38955 esac
38956
38957 save_LIBS="$LIBS"
38958 save_CFLAGS="$CFLAGS"
38959 LIBS="$THREADS_LINK $LIBS"
38960 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38961
38962 cat >conftest.$ac_ext <<_ACEOF
38963 /* confdefs.h. */
38964 _ACEOF
38965 cat confdefs.h >>conftest.$ac_ext
38966 cat >>conftest.$ac_ext <<_ACEOF
38967 /* end confdefs.h. */
38968 #include <pthread.h>
38969 int
38970 main ()
38971 {
38972 pthread_create(0,0,0,0);
38973 ;
38974 return 0;
38975 }
38976 _ACEOF
38977 rm -f conftest.$ac_objext conftest$ac_exeext
38978 if { (ac_try="$ac_link"
38979 case "(($ac_try" in
38980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38981 *) ac_try_echo=$ac_try;;
38982 esac
38983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38984 (eval "$ac_link") 2>conftest.er1
38985 ac_status=$?
38986 grep -v '^ *+' conftest.er1 >conftest.err
38987 rm -f conftest.er1
38988 cat conftest.err >&5
38989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38990 (exit $ac_status); } && {
38991 test -z "$ac_c_werror_flag" ||
38992 test ! -s conftest.err
38993 } && test -s conftest$ac_exeext &&
38994 $as_test_x conftest$ac_exeext; then
38995 THREADS_OK=yes
38996 else
38997 echo "$as_me: failed program was:" >&5
38998 sed 's/^/| /' conftest.$ac_ext >&5
38999
39000
39001 fi
39002
39003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39004 conftest$ac_exeext conftest.$ac_ext
39005
39006 LIBS="$save_LIBS"
39007 CFLAGS="$save_CFLAGS"
39008
39009 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39010 echo "${ECHO_T}$THREADS_OK" >&6; }
39011 if test "x$THREADS_OK" = "xyes"; then
39012 break;
39013 fi
39014
39015 THREADS_LINK=""
39016 THREADS_CFLAGS=""
39017 done
39018
39019 if test "x$THREADS_OK" != "xyes"; then
39020 wxUSE_THREADS=no
39021 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39022 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39023 else
39024 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39025 LIBS="$THREADS_LINK $LIBS"
39026
39027 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39028 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39029 flag=no
39030 case "${host}" in
39031 *-aix*)
39032 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39033 flag="-D_THREAD_SAFE"
39034 ;;
39035 *-freebsd*)
39036 flag="-D_THREAD_SAFE"
39037 ;;
39038 *-hp-hpux* )
39039 flag="-D_REENTRANT"
39040 if test "x$GCC" != "xyes"; then
39041 flag="$flag -D_RWSTD_MULTI_THREAD"
39042 fi
39043 ;;
39044 *solaris* | alpha*-osf*)
39045 flag="-D_REENTRANT"
39046 ;;
39047 esac
39048 { echo "$as_me:$LINENO: result: ${flag}" >&5
39049 echo "${ECHO_T}${flag}" >&6; }
39050 if test "x$flag" != xno; then
39051 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39052 fi
39053
39054 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39055 fi
39056 fi
39057
39058 if test "$wxUSE_THREADS" = "yes" ; then
39059
39060 for ac_func in thr_setconcurrency
39061 do
39062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39065 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39066 echo $ECHO_N "(cached) $ECHO_C" >&6
39067 else
39068 cat >conftest.$ac_ext <<_ACEOF
39069 /* confdefs.h. */
39070 _ACEOF
39071 cat confdefs.h >>conftest.$ac_ext
39072 cat >>conftest.$ac_ext <<_ACEOF
39073 /* end confdefs.h. */
39074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39076 #define $ac_func innocuous_$ac_func
39077
39078 /* System header to define __stub macros and hopefully few prototypes,
39079 which can conflict with char $ac_func (); below.
39080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39081 <limits.h> exists even on freestanding compilers. */
39082
39083 #ifdef __STDC__
39084 # include <limits.h>
39085 #else
39086 # include <assert.h>
39087 #endif
39088
39089 #undef $ac_func
39090
39091 /* Override any GCC internal prototype to avoid an error.
39092 Use char because int might match the return type of a GCC
39093 builtin and then its argument prototype would still apply. */
39094 #ifdef __cplusplus
39095 extern "C"
39096 #endif
39097 char $ac_func ();
39098 /* The GNU C library defines this for functions which it implements
39099 to always fail with ENOSYS. Some functions are actually named
39100 something starting with __ and the normal name is an alias. */
39101 #if defined __stub_$ac_func || defined __stub___$ac_func
39102 choke me
39103 #endif
39104
39105 int
39106 main ()
39107 {
39108 return $ac_func ();
39109 ;
39110 return 0;
39111 }
39112 _ACEOF
39113 rm -f conftest.$ac_objext conftest$ac_exeext
39114 if { (ac_try="$ac_link"
39115 case "(($ac_try" in
39116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39117 *) ac_try_echo=$ac_try;;
39118 esac
39119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39120 (eval "$ac_link") 2>conftest.er1
39121 ac_status=$?
39122 grep -v '^ *+' conftest.er1 >conftest.err
39123 rm -f conftest.er1
39124 cat conftest.err >&5
39125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39126 (exit $ac_status); } && {
39127 test -z "$ac_c_werror_flag" ||
39128 test ! -s conftest.err
39129 } && test -s conftest$ac_exeext &&
39130 $as_test_x conftest$ac_exeext; then
39131 eval "$as_ac_var=yes"
39132 else
39133 echo "$as_me: failed program was:" >&5
39134 sed 's/^/| /' conftest.$ac_ext >&5
39135
39136 eval "$as_ac_var=no"
39137 fi
39138
39139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39140 conftest$ac_exeext conftest.$ac_ext
39141 fi
39142 ac_res=`eval echo '${'$as_ac_var'}'`
39143 { echo "$as_me:$LINENO: result: $ac_res" >&5
39144 echo "${ECHO_T}$ac_res" >&6; }
39145 if test `eval echo '${'$as_ac_var'}'` = yes; then
39146 cat >>confdefs.h <<_ACEOF
39147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39148 _ACEOF
39149
39150 fi
39151 done
39152
39153
39154 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39155 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39156 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39157 echo $ECHO_N "(cached) $ECHO_C" >&6
39158 else
39159
39160 ac_ext=cpp
39161 ac_cpp='$CXXCPP $CPPFLAGS'
39162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39165
39166 cat >conftest.$ac_ext <<_ACEOF
39167 /* confdefs.h. */
39168 _ACEOF
39169 cat confdefs.h >>conftest.$ac_ext
39170 cat >>conftest.$ac_ext <<_ACEOF
39171 /* end confdefs.h. */
39172 #include <pthread.h>
39173 void ThreadCleanupFunc(void *p);
39174
39175 int
39176 main ()
39177 {
39178
39179 void *p;
39180 pthread_cleanup_push(ThreadCleanupFunc, p);
39181 pthread_cleanup_pop(0);
39182
39183 ;
39184 return 0;
39185 }
39186 _ACEOF
39187 rm -f conftest.$ac_objext
39188 if { (ac_try="$ac_compile"
39189 case "(($ac_try" in
39190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39191 *) ac_try_echo=$ac_try;;
39192 esac
39193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39194 (eval "$ac_compile") 2>conftest.er1
39195 ac_status=$?
39196 grep -v '^ *+' conftest.er1 >conftest.err
39197 rm -f conftest.er1
39198 cat conftest.err >&5
39199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39200 (exit $ac_status); } && {
39201 test -z "$ac_cxx_werror_flag" ||
39202 test ! -s conftest.err
39203 } && test -s conftest.$ac_objext; then
39204
39205 wx_cv_func_pthread_cleanup=yes
39206
39207 else
39208 echo "$as_me: failed program was:" >&5
39209 sed 's/^/| /' conftest.$ac_ext >&5
39210
39211
39212 wx_cv_func_pthread_cleanup=no
39213
39214
39215 fi
39216
39217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39218 ac_ext=c
39219 ac_cpp='$CPP $CPPFLAGS'
39220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39223
39224
39225 fi
39226 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39227 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39228 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39229 cat >>confdefs.h <<\_ACEOF
39230 #define wxHAVE_PTHREAD_CLEANUP 1
39231 _ACEOF
39232
39233 fi
39234
39235
39236 for ac_header in sched.h
39237 do
39238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39239 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39241 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39242 echo $ECHO_N "(cached) $ECHO_C" >&6
39243 else
39244 cat >conftest.$ac_ext <<_ACEOF
39245 /* confdefs.h. */
39246 _ACEOF
39247 cat confdefs.h >>conftest.$ac_ext
39248 cat >>conftest.$ac_ext <<_ACEOF
39249 /* end confdefs.h. */
39250 $ac_includes_default
39251
39252 #include <$ac_header>
39253 _ACEOF
39254 rm -f conftest.$ac_objext
39255 if { (ac_try="$ac_compile"
39256 case "(($ac_try" in
39257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39258 *) ac_try_echo=$ac_try;;
39259 esac
39260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39261 (eval "$ac_compile") 2>conftest.er1
39262 ac_status=$?
39263 grep -v '^ *+' conftest.er1 >conftest.err
39264 rm -f conftest.er1
39265 cat conftest.err >&5
39266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39267 (exit $ac_status); } && {
39268 test -z "$ac_c_werror_flag" ||
39269 test ! -s conftest.err
39270 } && test -s conftest.$ac_objext; then
39271 eval "$as_ac_Header=yes"
39272 else
39273 echo "$as_me: failed program was:" >&5
39274 sed 's/^/| /' conftest.$ac_ext >&5
39275
39276 eval "$as_ac_Header=no"
39277 fi
39278
39279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39280 fi
39281 ac_res=`eval echo '${'$as_ac_Header'}'`
39282 { echo "$as_me:$LINENO: result: $ac_res" >&5
39283 echo "${ECHO_T}$ac_res" >&6; }
39284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39285 cat >>confdefs.h <<_ACEOF
39286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39287 _ACEOF
39288
39289 fi
39290
39291 done
39292
39293 if test "$ac_cv_header_sched_h" = "yes"; then
39294 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39295 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39296 if test "${ac_cv_func_sched_yield+set}" = set; then
39297 echo $ECHO_N "(cached) $ECHO_C" >&6
39298 else
39299 cat >conftest.$ac_ext <<_ACEOF
39300 /* confdefs.h. */
39301 _ACEOF
39302 cat confdefs.h >>conftest.$ac_ext
39303 cat >>conftest.$ac_ext <<_ACEOF
39304 /* end confdefs.h. */
39305 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39307 #define sched_yield innocuous_sched_yield
39308
39309 /* System header to define __stub macros and hopefully few prototypes,
39310 which can conflict with char sched_yield (); below.
39311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39312 <limits.h> exists even on freestanding compilers. */
39313
39314 #ifdef __STDC__
39315 # include <limits.h>
39316 #else
39317 # include <assert.h>
39318 #endif
39319
39320 #undef sched_yield
39321
39322 /* Override any GCC internal prototype to avoid an error.
39323 Use char because int might match the return type of a GCC
39324 builtin and then its argument prototype would still apply. */
39325 #ifdef __cplusplus
39326 extern "C"
39327 #endif
39328 char sched_yield ();
39329 /* The GNU C library defines this for functions which it implements
39330 to always fail with ENOSYS. Some functions are actually named
39331 something starting with __ and the normal name is an alias. */
39332 #if defined __stub_sched_yield || defined __stub___sched_yield
39333 choke me
39334 #endif
39335
39336 int
39337 main ()
39338 {
39339 return sched_yield ();
39340 ;
39341 return 0;
39342 }
39343 _ACEOF
39344 rm -f conftest.$ac_objext conftest$ac_exeext
39345 if { (ac_try="$ac_link"
39346 case "(($ac_try" in
39347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39348 *) ac_try_echo=$ac_try;;
39349 esac
39350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39351 (eval "$ac_link") 2>conftest.er1
39352 ac_status=$?
39353 grep -v '^ *+' conftest.er1 >conftest.err
39354 rm -f conftest.er1
39355 cat conftest.err >&5
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); } && {
39358 test -z "$ac_c_werror_flag" ||
39359 test ! -s conftest.err
39360 } && test -s conftest$ac_exeext &&
39361 $as_test_x conftest$ac_exeext; then
39362 ac_cv_func_sched_yield=yes
39363 else
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39366
39367 ac_cv_func_sched_yield=no
39368 fi
39369
39370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39371 conftest$ac_exeext conftest.$ac_ext
39372 fi
39373 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39374 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39375 if test $ac_cv_func_sched_yield = yes; then
39376 cat >>confdefs.h <<\_ACEOF
39377 #define HAVE_SCHED_YIELD 1
39378 _ACEOF
39379
39380 else
39381
39382 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39383 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39384 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39385 echo $ECHO_N "(cached) $ECHO_C" >&6
39386 else
39387 ac_check_lib_save_LIBS=$LIBS
39388 LIBS="-lposix4 $LIBS"
39389 cat >conftest.$ac_ext <<_ACEOF
39390 /* confdefs.h. */
39391 _ACEOF
39392 cat confdefs.h >>conftest.$ac_ext
39393 cat >>conftest.$ac_ext <<_ACEOF
39394 /* end confdefs.h. */
39395
39396 /* Override any GCC internal prototype to avoid an error.
39397 Use char because int might match the return type of a GCC
39398 builtin and then its argument prototype would still apply. */
39399 #ifdef __cplusplus
39400 extern "C"
39401 #endif
39402 char sched_yield ();
39403 int
39404 main ()
39405 {
39406 return sched_yield ();
39407 ;
39408 return 0;
39409 }
39410 _ACEOF
39411 rm -f conftest.$ac_objext conftest$ac_exeext
39412 if { (ac_try="$ac_link"
39413 case "(($ac_try" in
39414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39415 *) ac_try_echo=$ac_try;;
39416 esac
39417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39418 (eval "$ac_link") 2>conftest.er1
39419 ac_status=$?
39420 grep -v '^ *+' conftest.er1 >conftest.err
39421 rm -f conftest.er1
39422 cat conftest.err >&5
39423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39424 (exit $ac_status); } && {
39425 test -z "$ac_c_werror_flag" ||
39426 test ! -s conftest.err
39427 } && test -s conftest$ac_exeext &&
39428 $as_test_x conftest$ac_exeext; then
39429 ac_cv_lib_posix4_sched_yield=yes
39430 else
39431 echo "$as_me: failed program was:" >&5
39432 sed 's/^/| /' conftest.$ac_ext >&5
39433
39434 ac_cv_lib_posix4_sched_yield=no
39435 fi
39436
39437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39438 conftest$ac_exeext conftest.$ac_ext
39439 LIBS=$ac_check_lib_save_LIBS
39440 fi
39441 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39442 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39443 if test $ac_cv_lib_posix4_sched_yield = yes; then
39444 cat >>confdefs.h <<\_ACEOF
39445 #define HAVE_SCHED_YIELD 1
39446 _ACEOF
39447 POSIX4_LINK=" -lposix4"
39448 else
39449 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39450 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39451
39452 fi
39453
39454
39455
39456 fi
39457
39458 fi
39459
39460 HAVE_PRIOR_FUNCS=0
39461 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39462 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39463 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39464 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 else
39466 cat >conftest.$ac_ext <<_ACEOF
39467 /* confdefs.h. */
39468 _ACEOF
39469 cat confdefs.h >>conftest.$ac_ext
39470 cat >>conftest.$ac_ext <<_ACEOF
39471 /* end confdefs.h. */
39472 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39474 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39475
39476 /* System header to define __stub macros and hopefully few prototypes,
39477 which can conflict with char pthread_attr_getschedpolicy (); below.
39478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39479 <limits.h> exists even on freestanding compilers. */
39480
39481 #ifdef __STDC__
39482 # include <limits.h>
39483 #else
39484 # include <assert.h>
39485 #endif
39486
39487 #undef pthread_attr_getschedpolicy
39488
39489 /* Override any GCC internal prototype to avoid an error.
39490 Use char because int might match the return type of a GCC
39491 builtin and then its argument prototype would still apply. */
39492 #ifdef __cplusplus
39493 extern "C"
39494 #endif
39495 char pthread_attr_getschedpolicy ();
39496 /* The GNU C library defines this for functions which it implements
39497 to always fail with ENOSYS. Some functions are actually named
39498 something starting with __ and the normal name is an alias. */
39499 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39500 choke me
39501 #endif
39502
39503 int
39504 main ()
39505 {
39506 return pthread_attr_getschedpolicy ();
39507 ;
39508 return 0;
39509 }
39510 _ACEOF
39511 rm -f conftest.$ac_objext conftest$ac_exeext
39512 if { (ac_try="$ac_link"
39513 case "(($ac_try" in
39514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39515 *) ac_try_echo=$ac_try;;
39516 esac
39517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39518 (eval "$ac_link") 2>conftest.er1
39519 ac_status=$?
39520 grep -v '^ *+' conftest.er1 >conftest.err
39521 rm -f conftest.er1
39522 cat conftest.err >&5
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); } && {
39525 test -z "$ac_c_werror_flag" ||
39526 test ! -s conftest.err
39527 } && test -s conftest$ac_exeext &&
39528 $as_test_x conftest$ac_exeext; then
39529 ac_cv_func_pthread_attr_getschedpolicy=yes
39530 else
39531 echo "$as_me: failed program was:" >&5
39532 sed 's/^/| /' conftest.$ac_ext >&5
39533
39534 ac_cv_func_pthread_attr_getschedpolicy=no
39535 fi
39536
39537 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39538 conftest$ac_exeext conftest.$ac_ext
39539 fi
39540 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39541 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39542 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39543 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39544 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39545 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39546 echo $ECHO_N "(cached) $ECHO_C" >&6
39547 else
39548 cat >conftest.$ac_ext <<_ACEOF
39549 /* confdefs.h. */
39550 _ACEOF
39551 cat confdefs.h >>conftest.$ac_ext
39552 cat >>conftest.$ac_ext <<_ACEOF
39553 /* end confdefs.h. */
39554 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39556 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39557
39558 /* System header to define __stub macros and hopefully few prototypes,
39559 which can conflict with char pthread_attr_setschedparam (); below.
39560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39561 <limits.h> exists even on freestanding compilers. */
39562
39563 #ifdef __STDC__
39564 # include <limits.h>
39565 #else
39566 # include <assert.h>
39567 #endif
39568
39569 #undef pthread_attr_setschedparam
39570
39571 /* Override any GCC internal prototype to avoid an error.
39572 Use char because int might match the return type of a GCC
39573 builtin and then its argument prototype would still apply. */
39574 #ifdef __cplusplus
39575 extern "C"
39576 #endif
39577 char pthread_attr_setschedparam ();
39578 /* The GNU C library defines this for functions which it implements
39579 to always fail with ENOSYS. Some functions are actually named
39580 something starting with __ and the normal name is an alias. */
39581 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39582 choke me
39583 #endif
39584
39585 int
39586 main ()
39587 {
39588 return pthread_attr_setschedparam ();
39589 ;
39590 return 0;
39591 }
39592 _ACEOF
39593 rm -f conftest.$ac_objext conftest$ac_exeext
39594 if { (ac_try="$ac_link"
39595 case "(($ac_try" in
39596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39597 *) ac_try_echo=$ac_try;;
39598 esac
39599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39600 (eval "$ac_link") 2>conftest.er1
39601 ac_status=$?
39602 grep -v '^ *+' conftest.er1 >conftest.err
39603 rm -f conftest.er1
39604 cat conftest.err >&5
39605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39606 (exit $ac_status); } && {
39607 test -z "$ac_c_werror_flag" ||
39608 test ! -s conftest.err
39609 } && test -s conftest$ac_exeext &&
39610 $as_test_x conftest$ac_exeext; then
39611 ac_cv_func_pthread_attr_setschedparam=yes
39612 else
39613 echo "$as_me: failed program was:" >&5
39614 sed 's/^/| /' conftest.$ac_ext >&5
39615
39616 ac_cv_func_pthread_attr_setschedparam=no
39617 fi
39618
39619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39620 conftest$ac_exeext conftest.$ac_ext
39621 fi
39622 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39623 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39624 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39625 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39626 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39627 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39628 echo $ECHO_N "(cached) $ECHO_C" >&6
39629 else
39630 cat >conftest.$ac_ext <<_ACEOF
39631 /* confdefs.h. */
39632 _ACEOF
39633 cat confdefs.h >>conftest.$ac_ext
39634 cat >>conftest.$ac_ext <<_ACEOF
39635 /* end confdefs.h. */
39636 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39638 #define sched_get_priority_max innocuous_sched_get_priority_max
39639
39640 /* System header to define __stub macros and hopefully few prototypes,
39641 which can conflict with char sched_get_priority_max (); below.
39642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39643 <limits.h> exists even on freestanding compilers. */
39644
39645 #ifdef __STDC__
39646 # include <limits.h>
39647 #else
39648 # include <assert.h>
39649 #endif
39650
39651 #undef sched_get_priority_max
39652
39653 /* Override any GCC internal prototype to avoid an error.
39654 Use char because int might match the return type of a GCC
39655 builtin and then its argument prototype would still apply. */
39656 #ifdef __cplusplus
39657 extern "C"
39658 #endif
39659 char sched_get_priority_max ();
39660 /* The GNU C library defines this for functions which it implements
39661 to always fail with ENOSYS. Some functions are actually named
39662 something starting with __ and the normal name is an alias. */
39663 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39664 choke me
39665 #endif
39666
39667 int
39668 main ()
39669 {
39670 return sched_get_priority_max ();
39671 ;
39672 return 0;
39673 }
39674 _ACEOF
39675 rm -f conftest.$ac_objext conftest$ac_exeext
39676 if { (ac_try="$ac_link"
39677 case "(($ac_try" in
39678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39679 *) ac_try_echo=$ac_try;;
39680 esac
39681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39682 (eval "$ac_link") 2>conftest.er1
39683 ac_status=$?
39684 grep -v '^ *+' conftest.er1 >conftest.err
39685 rm -f conftest.er1
39686 cat conftest.err >&5
39687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39688 (exit $ac_status); } && {
39689 test -z "$ac_c_werror_flag" ||
39690 test ! -s conftest.err
39691 } && test -s conftest$ac_exeext &&
39692 $as_test_x conftest$ac_exeext; then
39693 ac_cv_func_sched_get_priority_max=yes
39694 else
39695 echo "$as_me: failed program was:" >&5
39696 sed 's/^/| /' conftest.$ac_ext >&5
39697
39698 ac_cv_func_sched_get_priority_max=no
39699 fi
39700
39701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39702 conftest$ac_exeext conftest.$ac_ext
39703 fi
39704 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39705 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39706 if test $ac_cv_func_sched_get_priority_max = yes; then
39707 HAVE_PRIOR_FUNCS=1
39708 else
39709 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39710 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39711 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39712 echo $ECHO_N "(cached) $ECHO_C" >&6
39713 else
39714 ac_check_lib_save_LIBS=$LIBS
39715 LIBS="-lposix4 $LIBS"
39716 cat >conftest.$ac_ext <<_ACEOF
39717 /* confdefs.h. */
39718 _ACEOF
39719 cat confdefs.h >>conftest.$ac_ext
39720 cat >>conftest.$ac_ext <<_ACEOF
39721 /* end confdefs.h. */
39722
39723 /* Override any GCC internal prototype to avoid an error.
39724 Use char because int might match the return type of a GCC
39725 builtin and then its argument prototype would still apply. */
39726 #ifdef __cplusplus
39727 extern "C"
39728 #endif
39729 char sched_get_priority_max ();
39730 int
39731 main ()
39732 {
39733 return sched_get_priority_max ();
39734 ;
39735 return 0;
39736 }
39737 _ACEOF
39738 rm -f conftest.$ac_objext conftest$ac_exeext
39739 if { (ac_try="$ac_link"
39740 case "(($ac_try" in
39741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39742 *) ac_try_echo=$ac_try;;
39743 esac
39744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39745 (eval "$ac_link") 2>conftest.er1
39746 ac_status=$?
39747 grep -v '^ *+' conftest.er1 >conftest.err
39748 rm -f conftest.er1
39749 cat conftest.err >&5
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); } && {
39752 test -z "$ac_c_werror_flag" ||
39753 test ! -s conftest.err
39754 } && test -s conftest$ac_exeext &&
39755 $as_test_x conftest$ac_exeext; then
39756 ac_cv_lib_posix4_sched_get_priority_max=yes
39757 else
39758 echo "$as_me: failed program was:" >&5
39759 sed 's/^/| /' conftest.$ac_ext >&5
39760
39761 ac_cv_lib_posix4_sched_get_priority_max=no
39762 fi
39763
39764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39765 conftest$ac_exeext conftest.$ac_ext
39766 LIBS=$ac_check_lib_save_LIBS
39767 fi
39768 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39769 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39770 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39771
39772 HAVE_PRIOR_FUNCS=1
39773 POSIX4_LINK=" -lposix4"
39774
39775 fi
39776
39777
39778 fi
39779
39780
39781 fi
39782
39783
39784 fi
39785
39786
39787 if test "$HAVE_PRIOR_FUNCS" = 1; then
39788 cat >>confdefs.h <<\_ACEOF
39789 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39790 _ACEOF
39791
39792 else
39793 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39794 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39795 fi
39796
39797 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39798 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39799 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39800 echo $ECHO_N "(cached) $ECHO_C" >&6
39801 else
39802 cat >conftest.$ac_ext <<_ACEOF
39803 /* confdefs.h. */
39804 _ACEOF
39805 cat confdefs.h >>conftest.$ac_ext
39806 cat >>conftest.$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39808 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39810 #define pthread_cancel innocuous_pthread_cancel
39811
39812 /* System header to define __stub macros and hopefully few prototypes,
39813 which can conflict with char pthread_cancel (); below.
39814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39815 <limits.h> exists even on freestanding compilers. */
39816
39817 #ifdef __STDC__
39818 # include <limits.h>
39819 #else
39820 # include <assert.h>
39821 #endif
39822
39823 #undef pthread_cancel
39824
39825 /* Override any GCC internal prototype to avoid an error.
39826 Use char because int might match the return type of a GCC
39827 builtin and then its argument prototype would still apply. */
39828 #ifdef __cplusplus
39829 extern "C"
39830 #endif
39831 char pthread_cancel ();
39832 /* The GNU C library defines this for functions which it implements
39833 to always fail with ENOSYS. Some functions are actually named
39834 something starting with __ and the normal name is an alias. */
39835 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39836 choke me
39837 #endif
39838
39839 int
39840 main ()
39841 {
39842 return pthread_cancel ();
39843 ;
39844 return 0;
39845 }
39846 _ACEOF
39847 rm -f conftest.$ac_objext conftest$ac_exeext
39848 if { (ac_try="$ac_link"
39849 case "(($ac_try" in
39850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39851 *) ac_try_echo=$ac_try;;
39852 esac
39853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39854 (eval "$ac_link") 2>conftest.er1
39855 ac_status=$?
39856 grep -v '^ *+' conftest.er1 >conftest.err
39857 rm -f conftest.er1
39858 cat conftest.err >&5
39859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39860 (exit $ac_status); } && {
39861 test -z "$ac_c_werror_flag" ||
39862 test ! -s conftest.err
39863 } && test -s conftest$ac_exeext &&
39864 $as_test_x conftest$ac_exeext; then
39865 ac_cv_func_pthread_cancel=yes
39866 else
39867 echo "$as_me: failed program was:" >&5
39868 sed 's/^/| /' conftest.$ac_ext >&5
39869
39870 ac_cv_func_pthread_cancel=no
39871 fi
39872
39873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39874 conftest$ac_exeext conftest.$ac_ext
39875 fi
39876 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39877 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39878 if test $ac_cv_func_pthread_cancel = yes; then
39879 cat >>confdefs.h <<\_ACEOF
39880 #define HAVE_PTHREAD_CANCEL 1
39881 _ACEOF
39882
39883 else
39884 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39885 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39886 fi
39887
39888
39889 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39890 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39891 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39892 echo $ECHO_N "(cached) $ECHO_C" >&6
39893 else
39894 cat >conftest.$ac_ext <<_ACEOF
39895 /* confdefs.h. */
39896 _ACEOF
39897 cat confdefs.h >>conftest.$ac_ext
39898 cat >>conftest.$ac_ext <<_ACEOF
39899 /* end confdefs.h. */
39900 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39902 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39903
39904 /* System header to define __stub macros and hopefully few prototypes,
39905 which can conflict with char pthread_mutex_timedlock (); below.
39906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39907 <limits.h> exists even on freestanding compilers. */
39908
39909 #ifdef __STDC__
39910 # include <limits.h>
39911 #else
39912 # include <assert.h>
39913 #endif
39914
39915 #undef pthread_mutex_timedlock
39916
39917 /* Override any GCC internal prototype to avoid an error.
39918 Use char because int might match the return type of a GCC
39919 builtin and then its argument prototype would still apply. */
39920 #ifdef __cplusplus
39921 extern "C"
39922 #endif
39923 char pthread_mutex_timedlock ();
39924 /* The GNU C library defines this for functions which it implements
39925 to always fail with ENOSYS. Some functions are actually named
39926 something starting with __ and the normal name is an alias. */
39927 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39928 choke me
39929 #endif
39930
39931 int
39932 main ()
39933 {
39934 return pthread_mutex_timedlock ();
39935 ;
39936 return 0;
39937 }
39938 _ACEOF
39939 rm -f conftest.$ac_objext conftest$ac_exeext
39940 if { (ac_try="$ac_link"
39941 case "(($ac_try" in
39942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39943 *) ac_try_echo=$ac_try;;
39944 esac
39945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39946 (eval "$ac_link") 2>conftest.er1
39947 ac_status=$?
39948 grep -v '^ *+' conftest.er1 >conftest.err
39949 rm -f conftest.er1
39950 cat conftest.err >&5
39951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39952 (exit $ac_status); } && {
39953 test -z "$ac_c_werror_flag" ||
39954 test ! -s conftest.err
39955 } && test -s conftest$ac_exeext &&
39956 $as_test_x conftest$ac_exeext; then
39957 ac_cv_func_pthread_mutex_timedlock=yes
39958 else
39959 echo "$as_me: failed program was:" >&5
39960 sed 's/^/| /' conftest.$ac_ext >&5
39961
39962 ac_cv_func_pthread_mutex_timedlock=no
39963 fi
39964
39965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39966 conftest$ac_exeext conftest.$ac_ext
39967 fi
39968 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39969 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39970 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39971 cat >>confdefs.h <<\_ACEOF
39972 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39973 _ACEOF
39974
39975 else
39976 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39977 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39978 fi
39979
39980
39981 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39982 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39983 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39984 echo $ECHO_N "(cached) $ECHO_C" >&6
39985 else
39986 cat >conftest.$ac_ext <<_ACEOF
39987 /* confdefs.h. */
39988 _ACEOF
39989 cat confdefs.h >>conftest.$ac_ext
39990 cat >>conftest.$ac_ext <<_ACEOF
39991 /* end confdefs.h. */
39992 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39994 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39995
39996 /* System header to define __stub macros and hopefully few prototypes,
39997 which can conflict with char pthread_attr_setstacksize (); below.
39998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39999 <limits.h> exists even on freestanding compilers. */
40000
40001 #ifdef __STDC__
40002 # include <limits.h>
40003 #else
40004 # include <assert.h>
40005 #endif
40006
40007 #undef pthread_attr_setstacksize
40008
40009 /* Override any GCC internal prototype to avoid an error.
40010 Use char because int might match the return type of a GCC
40011 builtin and then its argument prototype would still apply. */
40012 #ifdef __cplusplus
40013 extern "C"
40014 #endif
40015 char pthread_attr_setstacksize ();
40016 /* The GNU C library defines this for functions which it implements
40017 to always fail with ENOSYS. Some functions are actually named
40018 something starting with __ and the normal name is an alias. */
40019 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40020 choke me
40021 #endif
40022
40023 int
40024 main ()
40025 {
40026 return pthread_attr_setstacksize ();
40027 ;
40028 return 0;
40029 }
40030 _ACEOF
40031 rm -f conftest.$ac_objext conftest$ac_exeext
40032 if { (ac_try="$ac_link"
40033 case "(($ac_try" in
40034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40035 *) ac_try_echo=$ac_try;;
40036 esac
40037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40038 (eval "$ac_link") 2>conftest.er1
40039 ac_status=$?
40040 grep -v '^ *+' conftest.er1 >conftest.err
40041 rm -f conftest.er1
40042 cat conftest.err >&5
40043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40044 (exit $ac_status); } && {
40045 test -z "$ac_c_werror_flag" ||
40046 test ! -s conftest.err
40047 } && test -s conftest$ac_exeext &&
40048 $as_test_x conftest$ac_exeext; then
40049 ac_cv_func_pthread_attr_setstacksize=yes
40050 else
40051 echo "$as_me: failed program was:" >&5
40052 sed 's/^/| /' conftest.$ac_ext >&5
40053
40054 ac_cv_func_pthread_attr_setstacksize=no
40055 fi
40056
40057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40058 conftest$ac_exeext conftest.$ac_ext
40059 fi
40060 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40061 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40062 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40063 cat >>confdefs.h <<\_ACEOF
40064 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40065 _ACEOF
40066
40067 fi
40068
40069
40070
40071 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40072 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40073 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40074 echo $ECHO_N "(cached) $ECHO_C" >&6
40075 else
40076
40077 cat >conftest.$ac_ext <<_ACEOF
40078 /* confdefs.h. */
40079 _ACEOF
40080 cat confdefs.h >>conftest.$ac_ext
40081 cat >>conftest.$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40083 #include <pthread.h>
40084 int
40085 main ()
40086 {
40087
40088 pthread_mutexattr_t attr;
40089 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40090
40091 ;
40092 return 0;
40093 }
40094 _ACEOF
40095 rm -f conftest.$ac_objext
40096 if { (ac_try="$ac_compile"
40097 case "(($ac_try" in
40098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40099 *) ac_try_echo=$ac_try;;
40100 esac
40101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40102 (eval "$ac_compile") 2>conftest.er1
40103 ac_status=$?
40104 grep -v '^ *+' conftest.er1 >conftest.err
40105 rm -f conftest.er1
40106 cat conftest.err >&5
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); } && {
40109 test -z "$ac_c_werror_flag" ||
40110 test ! -s conftest.err
40111 } && test -s conftest.$ac_objext; then
40112 wx_cv_type_pthread_mutexattr_t=yes
40113 else
40114 echo "$as_me: failed program was:" >&5
40115 sed 's/^/| /' conftest.$ac_ext >&5
40116
40117 wx_cv_type_pthread_mutexattr_t=no
40118
40119 fi
40120
40121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40122
40123 fi
40124 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40125 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40126
40127 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40128 cat >>confdefs.h <<\_ACEOF
40129 #define HAVE_PTHREAD_MUTEXATTR_T 1
40130 _ACEOF
40131
40132
40133 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40134 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40135 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40137 else
40138
40139 cat >conftest.$ac_ext <<_ACEOF
40140 /* confdefs.h. */
40141 _ACEOF
40142 cat confdefs.h >>conftest.$ac_ext
40143 cat >>conftest.$ac_ext <<_ACEOF
40144 /* end confdefs.h. */
40145 #include <pthread.h>
40146 int
40147 main ()
40148 {
40149
40150 pthread_mutexattr_t attr;
40151 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40152
40153 ;
40154 return 0;
40155 }
40156 _ACEOF
40157 rm -f conftest.$ac_objext
40158 if { (ac_try="$ac_compile"
40159 case "(($ac_try" in
40160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40161 *) ac_try_echo=$ac_try;;
40162 esac
40163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40164 (eval "$ac_compile") 2>conftest.er1
40165 ac_status=$?
40166 grep -v '^ *+' conftest.er1 >conftest.err
40167 rm -f conftest.er1
40168 cat conftest.err >&5
40169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40170 (exit $ac_status); } && {
40171 test -z "$ac_c_werror_flag" ||
40172 test ! -s conftest.err
40173 } && test -s conftest.$ac_objext; then
40174 wx_cv_func_pthread_mutexattr_settype_decl=yes
40175 else
40176 echo "$as_me: failed program was:" >&5
40177 sed 's/^/| /' conftest.$ac_ext >&5
40178
40179 wx_cv_func_pthread_mutexattr_settype_decl=no
40180
40181 fi
40182
40183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40184
40185 fi
40186 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40187 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40188 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40189 cat >>confdefs.h <<\_ACEOF
40190 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40191 _ACEOF
40192
40193 fi
40194 else
40195 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40196 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40197 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40198 echo $ECHO_N "(cached) $ECHO_C" >&6
40199 else
40200
40201 cat >conftest.$ac_ext <<_ACEOF
40202 /* confdefs.h. */
40203 _ACEOF
40204 cat confdefs.h >>conftest.$ac_ext
40205 cat >>conftest.$ac_ext <<_ACEOF
40206 /* end confdefs.h. */
40207 #include <pthread.h>
40208 int
40209 main ()
40210 {
40211
40212 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40213
40214 ;
40215 return 0;
40216 }
40217 _ACEOF
40218 rm -f conftest.$ac_objext
40219 if { (ac_try="$ac_compile"
40220 case "(($ac_try" in
40221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40222 *) ac_try_echo=$ac_try;;
40223 esac
40224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40225 (eval "$ac_compile") 2>conftest.er1
40226 ac_status=$?
40227 grep -v '^ *+' conftest.er1 >conftest.err
40228 rm -f conftest.er1
40229 cat conftest.err >&5
40230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40231 (exit $ac_status); } && {
40232 test -z "$ac_c_werror_flag" ||
40233 test ! -s conftest.err
40234 } && test -s conftest.$ac_objext; then
40235
40236 wx_cv_type_pthread_rec_mutex_init=yes
40237
40238 else
40239 echo "$as_me: failed program was:" >&5
40240 sed 's/^/| /' conftest.$ac_ext >&5
40241
40242
40243 wx_cv_type_pthread_rec_mutex_init=no
40244
40245
40246 fi
40247
40248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40249
40250 fi
40251 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40252 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40253 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40254 cat >>confdefs.h <<\_ACEOF
40255 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40256 _ACEOF
40257
40258 else
40259 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40260 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40261 fi
40262 fi
40263
40264 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40265 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40266 if test "${wx_cv_cc___thread+set}" = set; then
40267 echo $ECHO_N "(cached) $ECHO_C" >&6
40268 else
40269
40270 cat >conftest.$ac_ext <<_ACEOF
40271 /* confdefs.h. */
40272 _ACEOF
40273 cat confdefs.h >>conftest.$ac_ext
40274 cat >>conftest.$ac_ext <<_ACEOF
40275 /* end confdefs.h. */
40276 #include <pthread.h>
40277 int
40278 main ()
40279 {
40280
40281 static __thread int n = 0;
40282 static __thread int *p = 0;
40283
40284 ;
40285 return 0;
40286 }
40287 _ACEOF
40288 rm -f conftest.$ac_objext
40289 if { (ac_try="$ac_compile"
40290 case "(($ac_try" in
40291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40292 *) ac_try_echo=$ac_try;;
40293 esac
40294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40295 (eval "$ac_compile") 2>conftest.er1
40296 ac_status=$?
40297 grep -v '^ *+' conftest.er1 >conftest.err
40298 rm -f conftest.er1
40299 cat conftest.err >&5
40300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40301 (exit $ac_status); } && {
40302 test -z "$ac_c_werror_flag" ||
40303 test ! -s conftest.err
40304 } && test -s conftest.$ac_objext; then
40305 wx_cv_cc___thread=yes
40306 else
40307 echo "$as_me: failed program was:" >&5
40308 sed 's/^/| /' conftest.$ac_ext >&5
40309
40310 wx_cv_cc___thread=no
40311
40312 fi
40313
40314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40315
40316 fi
40317 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40318 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40319
40320 if test "$wx_cv_cc___thread" = "yes"; then
40321 cat >>confdefs.h <<\_ACEOF
40322 #define HAVE___THREAD_KEYWORD 1
40323 _ACEOF
40324
40325 fi
40326 fi
40327
40328 else
40329 if test "$wxUSE_THREADS" = "yes" ; then
40330 case "${host}" in
40331 x86_64-*-mingw32* )
40332 ;;
40333 *-*-mingw32* )
40334 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40335 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40336 if test "${wx_cv_cflags_mthread+set}" = set; then
40337 echo $ECHO_N "(cached) $ECHO_C" >&6
40338 else
40339
40340 CFLAGS_OLD="$CFLAGS"
40341 CFLAGS="-mthreads $CFLAGS"
40342 cat >conftest.$ac_ext <<_ACEOF
40343 /* confdefs.h. */
40344 _ACEOF
40345 cat confdefs.h >>conftest.$ac_ext
40346 cat >>conftest.$ac_ext <<_ACEOF
40347 /* end confdefs.h. */
40348
40349 int
40350 main ()
40351 {
40352
40353 ;
40354 return 0;
40355 }
40356 _ACEOF
40357 rm -f conftest.$ac_objext
40358 if { (ac_try="$ac_compile"
40359 case "(($ac_try" in
40360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40361 *) ac_try_echo=$ac_try;;
40362 esac
40363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40364 (eval "$ac_compile") 2>conftest.er1
40365 ac_status=$?
40366 grep -v '^ *+' conftest.er1 >conftest.err
40367 rm -f conftest.er1
40368 cat conftest.err >&5
40369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40370 (exit $ac_status); } && {
40371 test -z "$ac_c_werror_flag" ||
40372 test ! -s conftest.err
40373 } && test -s conftest.$ac_objext; then
40374 wx_cv_cflags_mthread=yes
40375 else
40376 echo "$as_me: failed program was:" >&5
40377 sed 's/^/| /' conftest.$ac_ext >&5
40378
40379 wx_cv_cflags_mthread=no
40380
40381 fi
40382
40383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40384
40385
40386 fi
40387 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40388 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40389
40390 if test "$wx_cv_cflags_mthread" = "yes"; then
40391 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40392 LDFLAGS="$LDFLAGS -mthreads"
40393 else
40394 CFLAGS="$CFLAGS_OLD"
40395 fi
40396 ;;
40397 *-pc-os2*emx )
40398 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40399 LDFLAGS="$LDFLAGS -Zmt"
40400 ;;
40401 esac
40402 fi
40403 fi
40404
40405 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40406 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40407 if test "${ac_cv_func_localtime_r+set}" = set; then
40408 echo $ECHO_N "(cached) $ECHO_C" >&6
40409 else
40410 cat >conftest.$ac_ext <<_ACEOF
40411 /* confdefs.h. */
40412 _ACEOF
40413 cat confdefs.h >>conftest.$ac_ext
40414 cat >>conftest.$ac_ext <<_ACEOF
40415 /* end confdefs.h. */
40416 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40418 #define localtime_r innocuous_localtime_r
40419
40420 /* System header to define __stub macros and hopefully few prototypes,
40421 which can conflict with char localtime_r (); below.
40422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40423 <limits.h> exists even on freestanding compilers. */
40424
40425 #ifdef __STDC__
40426 # include <limits.h>
40427 #else
40428 # include <assert.h>
40429 #endif
40430
40431 #undef localtime_r
40432
40433 /* Override any GCC internal prototype to avoid an error.
40434 Use char because int might match the return type of a GCC
40435 builtin and then its argument prototype would still apply. */
40436 #ifdef __cplusplus
40437 extern "C"
40438 #endif
40439 char localtime_r ();
40440 /* The GNU C library defines this for functions which it implements
40441 to always fail with ENOSYS. Some functions are actually named
40442 something starting with __ and the normal name is an alias. */
40443 #if defined __stub_localtime_r || defined __stub___localtime_r
40444 choke me
40445 #endif
40446
40447 int
40448 main ()
40449 {
40450 return localtime_r ();
40451 ;
40452 return 0;
40453 }
40454 _ACEOF
40455 rm -f conftest.$ac_objext conftest$ac_exeext
40456 if { (ac_try="$ac_link"
40457 case "(($ac_try" in
40458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40459 *) ac_try_echo=$ac_try;;
40460 esac
40461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40462 (eval "$ac_link") 2>conftest.er1
40463 ac_status=$?
40464 grep -v '^ *+' conftest.er1 >conftest.err
40465 rm -f conftest.er1
40466 cat conftest.err >&5
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); } && {
40469 test -z "$ac_c_werror_flag" ||
40470 test ! -s conftest.err
40471 } && test -s conftest$ac_exeext &&
40472 $as_test_x conftest$ac_exeext; then
40473 ac_cv_func_localtime_r=yes
40474 else
40475 echo "$as_me: failed program was:" >&5
40476 sed 's/^/| /' conftest.$ac_ext >&5
40477
40478 ac_cv_func_localtime_r=no
40479 fi
40480
40481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40482 conftest$ac_exeext conftest.$ac_ext
40483 fi
40484 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40485 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40486 if test $ac_cv_func_localtime_r = yes; then
40487 cat >>confdefs.h <<\_ACEOF
40488 #define HAVE_LOCALTIME_R 1
40489 _ACEOF
40490
40491 fi
40492
40493 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40494 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40495 if test "${ac_cv_func_gmtime_r+set}" = set; then
40496 echo $ECHO_N "(cached) $ECHO_C" >&6
40497 else
40498 cat >conftest.$ac_ext <<_ACEOF
40499 /* confdefs.h. */
40500 _ACEOF
40501 cat confdefs.h >>conftest.$ac_ext
40502 cat >>conftest.$ac_ext <<_ACEOF
40503 /* end confdefs.h. */
40504 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40506 #define gmtime_r innocuous_gmtime_r
40507
40508 /* System header to define __stub macros and hopefully few prototypes,
40509 which can conflict with char gmtime_r (); below.
40510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40511 <limits.h> exists even on freestanding compilers. */
40512
40513 #ifdef __STDC__
40514 # include <limits.h>
40515 #else
40516 # include <assert.h>
40517 #endif
40518
40519 #undef gmtime_r
40520
40521 /* Override any GCC internal prototype to avoid an error.
40522 Use char because int might match the return type of a GCC
40523 builtin and then its argument prototype would still apply. */
40524 #ifdef __cplusplus
40525 extern "C"
40526 #endif
40527 char gmtime_r ();
40528 /* The GNU C library defines this for functions which it implements
40529 to always fail with ENOSYS. Some functions are actually named
40530 something starting with __ and the normal name is an alias. */
40531 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40532 choke me
40533 #endif
40534
40535 int
40536 main ()
40537 {
40538 return gmtime_r ();
40539 ;
40540 return 0;
40541 }
40542 _ACEOF
40543 rm -f conftest.$ac_objext conftest$ac_exeext
40544 if { (ac_try="$ac_link"
40545 case "(($ac_try" in
40546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40547 *) ac_try_echo=$ac_try;;
40548 esac
40549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40550 (eval "$ac_link") 2>conftest.er1
40551 ac_status=$?
40552 grep -v '^ *+' conftest.er1 >conftest.err
40553 rm -f conftest.er1
40554 cat conftest.err >&5
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); } && {
40557 test -z "$ac_c_werror_flag" ||
40558 test ! -s conftest.err
40559 } && test -s conftest$ac_exeext &&
40560 $as_test_x conftest$ac_exeext; then
40561 ac_cv_func_gmtime_r=yes
40562 else
40563 echo "$as_me: failed program was:" >&5
40564 sed 's/^/| /' conftest.$ac_ext >&5
40565
40566 ac_cv_func_gmtime_r=no
40567 fi
40568
40569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40570 conftest$ac_exeext conftest.$ac_ext
40571 fi
40572 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40573 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40574 if test $ac_cv_func_gmtime_r = yes; then
40575 cat >>confdefs.h <<\_ACEOF
40576 #define HAVE_GMTIME_R 1
40577 _ACEOF
40578
40579 fi
40580
40581
40582
40583
40584 ac_ext=c
40585 ac_cpp='$CPP $CPPFLAGS'
40586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40589
40590 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40591 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40592
40593 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40594 echo $ECHO_N "(cached) $ECHO_C" >&6
40595 else
40596
40597
40598 ################################################################
40599
40600 ac_cv_func_which_gethostbyname_r=unknown
40601
40602 #
40603 # ONE ARGUMENT (sanity check)
40604 #
40605
40606 # This should fail, as there is no variant of gethostbyname_r() that takes
40607 # a single argument. If it actually compiles, then we can assume that
40608 # netdb.h is not declaring the function, and the compiler is thereby
40609 # assuming an implicit prototype. In which case, we're out of luck.
40610 #
40611 cat >conftest.$ac_ext <<_ACEOF
40612 /* confdefs.h. */
40613 _ACEOF
40614 cat confdefs.h >>conftest.$ac_ext
40615 cat >>conftest.$ac_ext <<_ACEOF
40616 /* end confdefs.h. */
40617 #include <netdb.h>
40618 int
40619 main ()
40620 {
40621
40622 char *name = "www.gnu.org";
40623 (void)gethostbyname_r(name) /* ; */
40624
40625 ;
40626 return 0;
40627 }
40628 _ACEOF
40629 rm -f conftest.$ac_objext
40630 if { (ac_try="$ac_compile"
40631 case "(($ac_try" in
40632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40633 *) ac_try_echo=$ac_try;;
40634 esac
40635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40636 (eval "$ac_compile") 2>conftest.er1
40637 ac_status=$?
40638 grep -v '^ *+' conftest.er1 >conftest.err
40639 rm -f conftest.er1
40640 cat conftest.err >&5
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); } && {
40643 test -z "$ac_c_werror_flag" ||
40644 test ! -s conftest.err
40645 } && test -s conftest.$ac_objext; then
40646 ac_cv_func_which_gethostbyname_r=no
40647 else
40648 echo "$as_me: failed program was:" >&5
40649 sed 's/^/| /' conftest.$ac_ext >&5
40650
40651
40652 fi
40653
40654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40655
40656 #
40657 # SIX ARGUMENTS
40658 # (e.g. Linux)
40659 #
40660
40661 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40662
40663 cat >conftest.$ac_ext <<_ACEOF
40664 /* confdefs.h. */
40665 _ACEOF
40666 cat confdefs.h >>conftest.$ac_ext
40667 cat >>conftest.$ac_ext <<_ACEOF
40668 /* end confdefs.h. */
40669 #include <netdb.h>
40670 int
40671 main ()
40672 {
40673
40674 char *name = "www.gnu.org";
40675 struct hostent ret, *retp;
40676 char buf[1024];
40677 int buflen = 1024;
40678 int my_h_errno;
40679 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40680
40681 ;
40682 return 0;
40683 }
40684 _ACEOF
40685 rm -f conftest.$ac_objext
40686 if { (ac_try="$ac_compile"
40687 case "(($ac_try" in
40688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40689 *) ac_try_echo=$ac_try;;
40690 esac
40691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40692 (eval "$ac_compile") 2>conftest.er1
40693 ac_status=$?
40694 grep -v '^ *+' conftest.er1 >conftest.err
40695 rm -f conftest.er1
40696 cat conftest.err >&5
40697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40698 (exit $ac_status); } && {
40699 test -z "$ac_c_werror_flag" ||
40700 test ! -s conftest.err
40701 } && test -s conftest.$ac_objext; then
40702 ac_cv_func_which_gethostbyname_r=six
40703 else
40704 echo "$as_me: failed program was:" >&5
40705 sed 's/^/| /' conftest.$ac_ext >&5
40706
40707
40708 fi
40709
40710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40711
40712 fi
40713
40714 #
40715 # FIVE ARGUMENTS
40716 # (e.g. Solaris)
40717 #
40718
40719 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40720
40721 cat >conftest.$ac_ext <<_ACEOF
40722 /* confdefs.h. */
40723 _ACEOF
40724 cat confdefs.h >>conftest.$ac_ext
40725 cat >>conftest.$ac_ext <<_ACEOF
40726 /* end confdefs.h. */
40727 #include <netdb.h>
40728 int
40729 main ()
40730 {
40731
40732 char *name = "www.gnu.org";
40733 struct hostent ret;
40734 char buf[1024];
40735 int buflen = 1024;
40736 int my_h_errno;
40737 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40738
40739 ;
40740 return 0;
40741 }
40742 _ACEOF
40743 rm -f conftest.$ac_objext
40744 if { (ac_try="$ac_compile"
40745 case "(($ac_try" in
40746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40747 *) ac_try_echo=$ac_try;;
40748 esac
40749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40750 (eval "$ac_compile") 2>conftest.er1
40751 ac_status=$?
40752 grep -v '^ *+' conftest.er1 >conftest.err
40753 rm -f conftest.er1
40754 cat conftest.err >&5
40755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40756 (exit $ac_status); } && {
40757 test -z "$ac_c_werror_flag" ||
40758 test ! -s conftest.err
40759 } && test -s conftest.$ac_objext; then
40760 ac_cv_func_which_gethostbyname_r=five
40761 else
40762 echo "$as_me: failed program was:" >&5
40763 sed 's/^/| /' conftest.$ac_ext >&5
40764
40765
40766 fi
40767
40768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40769
40770 fi
40771
40772 #
40773 # THREE ARGUMENTS
40774 # (e.g. AIX, HP-UX, Tru64)
40775 #
40776
40777 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40778
40779 cat >conftest.$ac_ext <<_ACEOF
40780 /* confdefs.h. */
40781 _ACEOF
40782 cat confdefs.h >>conftest.$ac_ext
40783 cat >>conftest.$ac_ext <<_ACEOF
40784 /* end confdefs.h. */
40785 #include <netdb.h>
40786 int
40787 main ()
40788 {
40789
40790 char *name = "www.gnu.org";
40791 struct hostent ret;
40792 struct hostent_data data;
40793 (void)gethostbyname_r(name, &ret, &data) /* ; */
40794
40795 ;
40796 return 0;
40797 }
40798 _ACEOF
40799 rm -f conftest.$ac_objext
40800 if { (ac_try="$ac_compile"
40801 case "(($ac_try" in
40802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40803 *) ac_try_echo=$ac_try;;
40804 esac
40805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40806 (eval "$ac_compile") 2>conftest.er1
40807 ac_status=$?
40808 grep -v '^ *+' conftest.er1 >conftest.err
40809 rm -f conftest.er1
40810 cat conftest.err >&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); } && {
40813 test -z "$ac_c_werror_flag" ||
40814 test ! -s conftest.err
40815 } && test -s conftest.$ac_objext; then
40816 ac_cv_func_which_gethostbyname_r=three
40817 else
40818 echo "$as_me: failed program was:" >&5
40819 sed 's/^/| /' conftest.$ac_ext >&5
40820
40821
40822 fi
40823
40824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40825
40826 fi
40827
40828 ################################################################
40829
40830
40831 fi
40832
40833 case "$ac_cv_func_which_gethostbyname_r" in
40834 three)
40835 { echo "$as_me:$LINENO: result: three" >&5
40836 echo "${ECHO_T}three" >&6; }
40837 cat >>confdefs.h <<\_ACEOF
40838 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40839 _ACEOF
40840
40841 ;;
40842
40843 five)
40844 { echo "$as_me:$LINENO: result: five" >&5
40845 echo "${ECHO_T}five" >&6; }
40846 cat >>confdefs.h <<\_ACEOF
40847 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40848 _ACEOF
40849
40850 ;;
40851
40852 six)
40853 { echo "$as_me:$LINENO: result: six" >&5
40854 echo "${ECHO_T}six" >&6; }
40855 cat >>confdefs.h <<\_ACEOF
40856 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40857 _ACEOF
40858
40859 ;;
40860
40861 no)
40862 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40863 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40864 ;;
40865
40866 unknown)
40867 { echo "$as_me:$LINENO: result: can't tell" >&5
40868 echo "${ECHO_T}can't tell" >&6; }
40869 ;;
40870
40871 *)
40872 { { echo "$as_me:$LINENO: error: internal error" >&5
40873 echo "$as_me: error: internal error" >&2;}
40874 { (exit 1); exit 1; }; }
40875 ;;
40876 esac
40877
40878 ac_ext=c
40879 ac_cpp='$CPP $CPPFLAGS'
40880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40883
40884
40885
40886 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40887 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40888 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40889 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40890 if test "${ac_cv_func_gethostbyname+set}" = set; then
40891 echo $ECHO_N "(cached) $ECHO_C" >&6
40892 else
40893 cat >conftest.$ac_ext <<_ACEOF
40894 /* confdefs.h. */
40895 _ACEOF
40896 cat confdefs.h >>conftest.$ac_ext
40897 cat >>conftest.$ac_ext <<_ACEOF
40898 /* end confdefs.h. */
40899 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40901 #define gethostbyname innocuous_gethostbyname
40902
40903 /* System header to define __stub macros and hopefully few prototypes,
40904 which can conflict with char gethostbyname (); below.
40905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40906 <limits.h> exists even on freestanding compilers. */
40907
40908 #ifdef __STDC__
40909 # include <limits.h>
40910 #else
40911 # include <assert.h>
40912 #endif
40913
40914 #undef gethostbyname
40915
40916 /* Override any GCC internal prototype to avoid an error.
40917 Use char because int might match the return type of a GCC
40918 builtin and then its argument prototype would still apply. */
40919 #ifdef __cplusplus
40920 extern "C"
40921 #endif
40922 char gethostbyname ();
40923 /* The GNU C library defines this for functions which it implements
40924 to always fail with ENOSYS. Some functions are actually named
40925 something starting with __ and the normal name is an alias. */
40926 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40927 choke me
40928 #endif
40929
40930 int
40931 main ()
40932 {
40933 return gethostbyname ();
40934 ;
40935 return 0;
40936 }
40937 _ACEOF
40938 rm -f conftest.$ac_objext conftest$ac_exeext
40939 if { (ac_try="$ac_link"
40940 case "(($ac_try" in
40941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40942 *) ac_try_echo=$ac_try;;
40943 esac
40944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40945 (eval "$ac_link") 2>conftest.er1
40946 ac_status=$?
40947 grep -v '^ *+' conftest.er1 >conftest.err
40948 rm -f conftest.er1
40949 cat conftest.err >&5
40950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40951 (exit $ac_status); } && {
40952 test -z "$ac_c_werror_flag" ||
40953 test ! -s conftest.err
40954 } && test -s conftest$ac_exeext &&
40955 $as_test_x conftest$ac_exeext; then
40956 ac_cv_func_gethostbyname=yes
40957 else
40958 echo "$as_me: failed program was:" >&5
40959 sed 's/^/| /' conftest.$ac_ext >&5
40960
40961 ac_cv_func_gethostbyname=no
40962 fi
40963
40964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40965 conftest$ac_exeext conftest.$ac_ext
40966 fi
40967 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40968 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40969 if test $ac_cv_func_gethostbyname = yes; then
40970 cat >>confdefs.h <<\_ACEOF
40971 #define HAVE_GETHOSTBYNAME 1
40972 _ACEOF
40973
40974 fi
40975
40976 fi
40977
40978 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40979 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40980 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40981 echo $ECHO_N "(cached) $ECHO_C" >&6
40982 else
40983
40984 ac_ext=cpp
40985 ac_cpp='$CXXCPP $CPPFLAGS'
40986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40989
40990
40991 cat >conftest.$ac_ext <<_ACEOF
40992 /* confdefs.h. */
40993 _ACEOF
40994 cat confdefs.h >>conftest.$ac_ext
40995 cat >>conftest.$ac_ext <<_ACEOF
40996 /* end confdefs.h. */
40997 #include <netdb.h>
40998 int
40999 main ()
41000 {
41001
41002 char *name;
41003 char *proto;
41004 struct servent *se, *res;
41005 char buffer[2048];
41006 int buflen = 2048;
41007 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41008
41009 ;
41010 return 0;
41011 }
41012 _ACEOF
41013 rm -f conftest.$ac_objext
41014 if { (ac_try="$ac_compile"
41015 case "(($ac_try" in
41016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41017 *) ac_try_echo=$ac_try;;
41018 esac
41019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41020 (eval "$ac_compile") 2>conftest.er1
41021 ac_status=$?
41022 grep -v '^ *+' conftest.er1 >conftest.err
41023 rm -f conftest.er1
41024 cat conftest.err >&5
41025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41026 (exit $ac_status); } && {
41027 test -z "$ac_cxx_werror_flag" ||
41028 test ! -s conftest.err
41029 } && test -s conftest.$ac_objext; then
41030 ac_cv_func_which_getservbyname_r=six
41031 else
41032 echo "$as_me: failed program was:" >&5
41033 sed 's/^/| /' conftest.$ac_ext >&5
41034
41035
41036 cat >conftest.$ac_ext <<_ACEOF
41037 /* confdefs.h. */
41038 _ACEOF
41039 cat confdefs.h >>conftest.$ac_ext
41040 cat >>conftest.$ac_ext <<_ACEOF
41041 /* end confdefs.h. */
41042 #include <netdb.h>
41043 int
41044 main ()
41045 {
41046
41047 char *name;
41048 char *proto;
41049 struct servent *se;
41050 char buffer[2048];
41051 int buflen = 2048;
41052 (void) getservbyname_r(name, proto, se, buffer, buflen)
41053
41054 ;
41055 return 0;
41056 }
41057 _ACEOF
41058 rm -f conftest.$ac_objext
41059 if { (ac_try="$ac_compile"
41060 case "(($ac_try" in
41061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41062 *) ac_try_echo=$ac_try;;
41063 esac
41064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41065 (eval "$ac_compile") 2>conftest.er1
41066 ac_status=$?
41067 grep -v '^ *+' conftest.er1 >conftest.err
41068 rm -f conftest.er1
41069 cat conftest.err >&5
41070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41071 (exit $ac_status); } && {
41072 test -z "$ac_cxx_werror_flag" ||
41073 test ! -s conftest.err
41074 } && test -s conftest.$ac_objext; then
41075 ac_cv_func_which_getservbyname_r=five
41076 else
41077 echo "$as_me: failed program was:" >&5
41078 sed 's/^/| /' conftest.$ac_ext >&5
41079
41080
41081 cat >conftest.$ac_ext <<_ACEOF
41082 /* confdefs.h. */
41083 _ACEOF
41084 cat confdefs.h >>conftest.$ac_ext
41085 cat >>conftest.$ac_ext <<_ACEOF
41086 /* end confdefs.h. */
41087 #include <netdb.h>
41088 int
41089 main ()
41090 {
41091
41092 char *name;
41093 char *proto;
41094 struct servent *se;
41095 struct servent_data data;
41096 (void) getservbyname_r(name, proto, se, &data);
41097
41098 ;
41099 return 0;
41100 }
41101 _ACEOF
41102 rm -f conftest.$ac_objext
41103 if { (ac_try="$ac_compile"
41104 case "(($ac_try" in
41105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41106 *) ac_try_echo=$ac_try;;
41107 esac
41108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41109 (eval "$ac_compile") 2>conftest.er1
41110 ac_status=$?
41111 grep -v '^ *+' conftest.er1 >conftest.err
41112 rm -f conftest.er1
41113 cat conftest.err >&5
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); } && {
41116 test -z "$ac_cxx_werror_flag" ||
41117 test ! -s conftest.err
41118 } && test -s conftest.$ac_objext; then
41119 ac_cv_func_which_getservbyname_r=four
41120 else
41121 echo "$as_me: failed program was:" >&5
41122 sed 's/^/| /' conftest.$ac_ext >&5
41123
41124 ac_cv_func_which_getservbyname_r=no
41125
41126 fi
41127
41128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41129
41130
41131 fi
41132
41133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41134
41135
41136 fi
41137
41138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41139 ac_ext=c
41140 ac_cpp='$CPP $CPPFLAGS'
41141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41144
41145
41146
41147 fi
41148 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41149 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41150
41151 if test $ac_cv_func_which_getservbyname_r = six; then
41152 cat >>confdefs.h <<\_ACEOF
41153 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41154 _ACEOF
41155
41156 elif test $ac_cv_func_which_getservbyname_r = five; then
41157 cat >>confdefs.h <<\_ACEOF
41158 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41159 _ACEOF
41160
41161 elif test $ac_cv_func_which_getservbyname_r = four; then
41162 cat >>confdefs.h <<\_ACEOF
41163 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41164 _ACEOF
41165
41166 fi
41167
41168
41169 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41170 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41171
41172 for ac_func in getservbyname
41173 do
41174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41175 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41177 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41178 echo $ECHO_N "(cached) $ECHO_C" >&6
41179 else
41180 cat >conftest.$ac_ext <<_ACEOF
41181 /* confdefs.h. */
41182 _ACEOF
41183 cat confdefs.h >>conftest.$ac_ext
41184 cat >>conftest.$ac_ext <<_ACEOF
41185 /* end confdefs.h. */
41186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41188 #define $ac_func innocuous_$ac_func
41189
41190 /* System header to define __stub macros and hopefully few prototypes,
41191 which can conflict with char $ac_func (); below.
41192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41193 <limits.h> exists even on freestanding compilers. */
41194
41195 #ifdef __STDC__
41196 # include <limits.h>
41197 #else
41198 # include <assert.h>
41199 #endif
41200
41201 #undef $ac_func
41202
41203 /* Override any GCC internal prototype to avoid an error.
41204 Use char because int might match the return type of a GCC
41205 builtin and then its argument prototype would still apply. */
41206 #ifdef __cplusplus
41207 extern "C"
41208 #endif
41209 char $ac_func ();
41210 /* The GNU C library defines this for functions which it implements
41211 to always fail with ENOSYS. Some functions are actually named
41212 something starting with __ and the normal name is an alias. */
41213 #if defined __stub_$ac_func || defined __stub___$ac_func
41214 choke me
41215 #endif
41216
41217 int
41218 main ()
41219 {
41220 return $ac_func ();
41221 ;
41222 return 0;
41223 }
41224 _ACEOF
41225 rm -f conftest.$ac_objext conftest$ac_exeext
41226 if { (ac_try="$ac_link"
41227 case "(($ac_try" in
41228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41229 *) ac_try_echo=$ac_try;;
41230 esac
41231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41232 (eval "$ac_link") 2>conftest.er1
41233 ac_status=$?
41234 grep -v '^ *+' conftest.er1 >conftest.err
41235 rm -f conftest.er1
41236 cat conftest.err >&5
41237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41238 (exit $ac_status); } && {
41239 test -z "$ac_c_werror_flag" ||
41240 test ! -s conftest.err
41241 } && test -s conftest$ac_exeext &&
41242 $as_test_x conftest$ac_exeext; then
41243 eval "$as_ac_var=yes"
41244 else
41245 echo "$as_me: failed program was:" >&5
41246 sed 's/^/| /' conftest.$ac_ext >&5
41247
41248 eval "$as_ac_var=no"
41249 fi
41250
41251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41252 conftest$ac_exeext conftest.$ac_ext
41253 fi
41254 ac_res=`eval echo '${'$as_ac_var'}'`
41255 { echo "$as_me:$LINENO: result: $ac_res" >&5
41256 echo "${ECHO_T}$ac_res" >&6; }
41257 if test `eval echo '${'$as_ac_var'}'` = yes; then
41258 cat >>confdefs.h <<_ACEOF
41259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41260 _ACEOF
41261 cat >>confdefs.h <<\_ACEOF
41262 #define HAVE_GETSERVBYNAME 1
41263 _ACEOF
41264
41265 fi
41266 done
41267
41268 fi
41269
41270 if test "$wxUSE_THREADS" = "yes"; then
41271 cat >>confdefs.h <<\_ACEOF
41272 #define wxUSE_THREADS 1
41273 _ACEOF
41274
41275
41276 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41277 else
41278 if test "$wx_cv_func_strtok_r" = "yes"; then
41279 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41280 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41281 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41282 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41283 { echo "$as_me:$LINENO: result: yes" >&5
41284 echo "${ECHO_T}yes" >&6; }
41285 else
41286 { echo "$as_me:$LINENO: result: no" >&5
41287 echo "${ECHO_T}no" >&6; }
41288 fi
41289 fi
41290 fi
41291
41292 if test "$WXGTK2" = 1 ; then
41293 cat >>confdefs.h <<_ACEOF
41294 #define __WXGTK20__ $WXGTK2
41295 _ACEOF
41296
41297 WXGTK12=1
41298 fi
41299
41300 if test "$WXGTK12" = 1 ; then
41301 cat >>confdefs.h <<_ACEOF
41302 #define __WXGTK12__ $WXGTK12
41303 _ACEOF
41304
41305 fi
41306
41307 if test "$WXGTK127" = 1 ; then
41308 cat >>confdefs.h <<_ACEOF
41309 #define __WXGTK127__ $WXGTK127
41310 _ACEOF
41311
41312 fi
41313
41314 if test "$WXGPE" = 1 ; then
41315 cat >>confdefs.h <<_ACEOF
41316 #define __WXGPE__ $WXGPE
41317 _ACEOF
41318
41319 fi
41320
41321 DEBUG_CFLAGS=
41322 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41323 DEBUG_CFLAGS="-g"
41324 fi
41325
41326 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41327 wxUSE_DEBUG_INFO=yes
41328 if test "$GCC" = yes; then
41329 DEBUG_CFLAGS="-ggdb"
41330 fi
41331 fi
41332
41333 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41334 cat >>confdefs.h <<\_ACEOF
41335 #define WXDEBUG 1
41336 _ACEOF
41337
41338 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41339 else
41340 if test "$wxUSE_GTK" = 1 ; then
41341 if test "x$wxGTK_VERSION" = "x1" ; then
41342 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41343 fi
41344 fi
41345 fi
41346
41347 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41348 cat >>confdefs.h <<\_ACEOF
41349 #define wxUSE_MEMORY_TRACING 1
41350 _ACEOF
41351
41352 cat >>confdefs.h <<\_ACEOF
41353 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41354 _ACEOF
41355
41356 cat >>confdefs.h <<\_ACEOF
41357 #define wxUSE_DEBUG_NEW_ALWAYS 1
41358 _ACEOF
41359
41360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41361 fi
41362
41363 if test "$wxUSE_DMALLOC" = "yes" ; then
41364 DMALLOC_LIBS="-ldmallocthcxx"
41365 fi
41366
41367 PROFILE_FLAGS=
41368 if test "$wxUSE_PROFILE" = "yes" ; then
41369 PROFILE_FLAGS=" -pg"
41370 fi
41371
41372 if test "$GCC" = "yes" ; then
41373 if test "$wxUSE_NO_RTTI" = "yes" ; then
41374 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41375 fi
41376 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41377 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41378 fi
41379 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41380 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41381 fi
41382
41383 case "${host}" in
41384 powerpc*-*-aix* )
41385 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41386 ;;
41387 *-hppa* )
41388 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41389 ;;
41390 esac
41391 fi
41392
41393 OPTIMISE_CFLAGS=
41394 if test "$wxUSE_OPTIMISE" = "no" ; then
41395 if test "$GCC" = yes ; then
41396 OPTIMISE_CFLAGS="-O0"
41397 fi
41398 else
41399 if test "$GCC" = yes ; then
41400 case "${host}" in
41401 *-pc-os2_emx | *-pc-os2-emx )
41402 OPTIMISE_CFLAGS="-O2"
41403 ;;
41404 *)
41405 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41406 ;;
41407 esac
41408 else
41409 OPTIMISE_CFLAGS="-O"
41410 fi
41411 fi
41412
41413
41414 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41415 cat >>confdefs.h <<\_ACEOF
41416 #define WXWIN_COMPATIBILITY_2_6 1
41417 _ACEOF
41418
41419
41420 WXWIN_COMPATIBILITY_2_8="yes"
41421 fi
41422
41423 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41424 cat >>confdefs.h <<\_ACEOF
41425 #define WXWIN_COMPATIBILITY_2_8 1
41426 _ACEOF
41427
41428 fi
41429
41430
41431 if test "$wxUSE_GUI" = "yes"; then
41432 cat >>confdefs.h <<\_ACEOF
41433 #define wxUSE_GUI 1
41434 _ACEOF
41435
41436
41437 fi
41438
41439
41440 if test "$wxUSE_UNIX" = "yes"; then
41441 cat >>confdefs.h <<\_ACEOF
41442 #define wxUSE_UNIX 1
41443 _ACEOF
41444
41445 fi
41446
41447
41448 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41449
41450 HAVE_DL_FUNCS=0
41451 HAVE_SHL_FUNCS=0
41452 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41453 if test "$USE_DOS" = 1; then
41454 HAVE_DL_FUNCS=0
41455 else
41456
41457 for ac_func in dlopen
41458 do
41459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41460 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41463 echo $ECHO_N "(cached) $ECHO_C" >&6
41464 else
41465 cat >conftest.$ac_ext <<_ACEOF
41466 /* confdefs.h. */
41467 _ACEOF
41468 cat confdefs.h >>conftest.$ac_ext
41469 cat >>conftest.$ac_ext <<_ACEOF
41470 /* end confdefs.h. */
41471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41473 #define $ac_func innocuous_$ac_func
41474
41475 /* System header to define __stub macros and hopefully few prototypes,
41476 which can conflict with char $ac_func (); below.
41477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41478 <limits.h> exists even on freestanding compilers. */
41479
41480 #ifdef __STDC__
41481 # include <limits.h>
41482 #else
41483 # include <assert.h>
41484 #endif
41485
41486 #undef $ac_func
41487
41488 /* Override any GCC internal prototype to avoid an error.
41489 Use char because int might match the return type of a GCC
41490 builtin and then its argument prototype would still apply. */
41491 #ifdef __cplusplus
41492 extern "C"
41493 #endif
41494 char $ac_func ();
41495 /* The GNU C library defines this for functions which it implements
41496 to always fail with ENOSYS. Some functions are actually named
41497 something starting with __ and the normal name is an alias. */
41498 #if defined __stub_$ac_func || defined __stub___$ac_func
41499 choke me
41500 #endif
41501
41502 int
41503 main ()
41504 {
41505 return $ac_func ();
41506 ;
41507 return 0;
41508 }
41509 _ACEOF
41510 rm -f conftest.$ac_objext conftest$ac_exeext
41511 if { (ac_try="$ac_link"
41512 case "(($ac_try" in
41513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41514 *) ac_try_echo=$ac_try;;
41515 esac
41516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41517 (eval "$ac_link") 2>conftest.er1
41518 ac_status=$?
41519 grep -v '^ *+' conftest.er1 >conftest.err
41520 rm -f conftest.er1
41521 cat conftest.err >&5
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); } && {
41524 test -z "$ac_c_werror_flag" ||
41525 test ! -s conftest.err
41526 } && test -s conftest$ac_exeext &&
41527 $as_test_x conftest$ac_exeext; then
41528 eval "$as_ac_var=yes"
41529 else
41530 echo "$as_me: failed program was:" >&5
41531 sed 's/^/| /' conftest.$ac_ext >&5
41532
41533 eval "$as_ac_var=no"
41534 fi
41535
41536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41537 conftest$ac_exeext conftest.$ac_ext
41538 fi
41539 ac_res=`eval echo '${'$as_ac_var'}'`
41540 { echo "$as_me:$LINENO: result: $ac_res" >&5
41541 echo "${ECHO_T}$ac_res" >&6; }
41542 if test `eval echo '${'$as_ac_var'}'` = yes; then
41543 cat >>confdefs.h <<_ACEOF
41544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41545 _ACEOF
41546
41547 cat >>confdefs.h <<\_ACEOF
41548 #define HAVE_DLOPEN 1
41549 _ACEOF
41550
41551 HAVE_DL_FUNCS=1
41552
41553 else
41554
41555 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41556 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41557 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41558 echo $ECHO_N "(cached) $ECHO_C" >&6
41559 else
41560 ac_check_lib_save_LIBS=$LIBS
41561 LIBS="-ldl $LIBS"
41562 cat >conftest.$ac_ext <<_ACEOF
41563 /* confdefs.h. */
41564 _ACEOF
41565 cat confdefs.h >>conftest.$ac_ext
41566 cat >>conftest.$ac_ext <<_ACEOF
41567 /* end confdefs.h. */
41568
41569 /* Override any GCC internal prototype to avoid an error.
41570 Use char because int might match the return type of a GCC
41571 builtin and then its argument prototype would still apply. */
41572 #ifdef __cplusplus
41573 extern "C"
41574 #endif
41575 char dlopen ();
41576 int
41577 main ()
41578 {
41579 return dlopen ();
41580 ;
41581 return 0;
41582 }
41583 _ACEOF
41584 rm -f conftest.$ac_objext conftest$ac_exeext
41585 if { (ac_try="$ac_link"
41586 case "(($ac_try" in
41587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41588 *) ac_try_echo=$ac_try;;
41589 esac
41590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41591 (eval "$ac_link") 2>conftest.er1
41592 ac_status=$?
41593 grep -v '^ *+' conftest.er1 >conftest.err
41594 rm -f conftest.er1
41595 cat conftest.err >&5
41596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41597 (exit $ac_status); } && {
41598 test -z "$ac_c_werror_flag" ||
41599 test ! -s conftest.err
41600 } && test -s conftest$ac_exeext &&
41601 $as_test_x conftest$ac_exeext; then
41602 ac_cv_lib_dl_dlopen=yes
41603 else
41604 echo "$as_me: failed program was:" >&5
41605 sed 's/^/| /' conftest.$ac_ext >&5
41606
41607 ac_cv_lib_dl_dlopen=no
41608 fi
41609
41610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41611 conftest$ac_exeext conftest.$ac_ext
41612 LIBS=$ac_check_lib_save_LIBS
41613 fi
41614 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41615 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41616 if test $ac_cv_lib_dl_dlopen = yes; then
41617
41618 cat >>confdefs.h <<\_ACEOF
41619 #define HAVE_DLOPEN 1
41620 _ACEOF
41621
41622 HAVE_DL_FUNCS=1
41623 DL_LINK=" -ldl$DL_LINK"
41624
41625 else
41626
41627
41628 for ac_func in shl_load
41629 do
41630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41631 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41633 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41634 echo $ECHO_N "(cached) $ECHO_C" >&6
41635 else
41636 cat >conftest.$ac_ext <<_ACEOF
41637 /* confdefs.h. */
41638 _ACEOF
41639 cat confdefs.h >>conftest.$ac_ext
41640 cat >>conftest.$ac_ext <<_ACEOF
41641 /* end confdefs.h. */
41642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41644 #define $ac_func innocuous_$ac_func
41645
41646 /* System header to define __stub macros and hopefully few prototypes,
41647 which can conflict with char $ac_func (); below.
41648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41649 <limits.h> exists even on freestanding compilers. */
41650
41651 #ifdef __STDC__
41652 # include <limits.h>
41653 #else
41654 # include <assert.h>
41655 #endif
41656
41657 #undef $ac_func
41658
41659 /* Override any GCC internal prototype to avoid an error.
41660 Use char because int might match the return type of a GCC
41661 builtin and then its argument prototype would still apply. */
41662 #ifdef __cplusplus
41663 extern "C"
41664 #endif
41665 char $ac_func ();
41666 /* The GNU C library defines this for functions which it implements
41667 to always fail with ENOSYS. Some functions are actually named
41668 something starting with __ and the normal name is an alias. */
41669 #if defined __stub_$ac_func || defined __stub___$ac_func
41670 choke me
41671 #endif
41672
41673 int
41674 main ()
41675 {
41676 return $ac_func ();
41677 ;
41678 return 0;
41679 }
41680 _ACEOF
41681 rm -f conftest.$ac_objext conftest$ac_exeext
41682 if { (ac_try="$ac_link"
41683 case "(($ac_try" in
41684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41685 *) ac_try_echo=$ac_try;;
41686 esac
41687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41688 (eval "$ac_link") 2>conftest.er1
41689 ac_status=$?
41690 grep -v '^ *+' conftest.er1 >conftest.err
41691 rm -f conftest.er1
41692 cat conftest.err >&5
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); } && {
41695 test -z "$ac_c_werror_flag" ||
41696 test ! -s conftest.err
41697 } && test -s conftest$ac_exeext &&
41698 $as_test_x conftest$ac_exeext; then
41699 eval "$as_ac_var=yes"
41700 else
41701 echo "$as_me: failed program was:" >&5
41702 sed 's/^/| /' conftest.$ac_ext >&5
41703
41704 eval "$as_ac_var=no"
41705 fi
41706
41707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41708 conftest$ac_exeext conftest.$ac_ext
41709 fi
41710 ac_res=`eval echo '${'$as_ac_var'}'`
41711 { echo "$as_me:$LINENO: result: $ac_res" >&5
41712 echo "${ECHO_T}$ac_res" >&6; }
41713 if test `eval echo '${'$as_ac_var'}'` = yes; then
41714 cat >>confdefs.h <<_ACEOF
41715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41716 _ACEOF
41717
41718 cat >>confdefs.h <<\_ACEOF
41719 #define HAVE_SHL_LOAD 1
41720 _ACEOF
41721
41722 HAVE_SHL_FUNCS=1
41723
41724 else
41725
41726 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41727 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41728 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41729 echo $ECHO_N "(cached) $ECHO_C" >&6
41730 else
41731 ac_check_lib_save_LIBS=$LIBS
41732 LIBS="-lshl_load $LIBS"
41733 cat >conftest.$ac_ext <<_ACEOF
41734 /* confdefs.h. */
41735 _ACEOF
41736 cat confdefs.h >>conftest.$ac_ext
41737 cat >>conftest.$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41739
41740 /* Override any GCC internal prototype to avoid an error.
41741 Use char because int might match the return type of a GCC
41742 builtin and then its argument prototype would still apply. */
41743 #ifdef __cplusplus
41744 extern "C"
41745 #endif
41746 char dld ();
41747 int
41748 main ()
41749 {
41750 return dld ();
41751 ;
41752 return 0;
41753 }
41754 _ACEOF
41755 rm -f conftest.$ac_objext conftest$ac_exeext
41756 if { (ac_try="$ac_link"
41757 case "(($ac_try" in
41758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41759 *) ac_try_echo=$ac_try;;
41760 esac
41761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41762 (eval "$ac_link") 2>conftest.er1
41763 ac_status=$?
41764 grep -v '^ *+' conftest.er1 >conftest.err
41765 rm -f conftest.er1
41766 cat conftest.err >&5
41767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41768 (exit $ac_status); } && {
41769 test -z "$ac_c_werror_flag" ||
41770 test ! -s conftest.err
41771 } && test -s conftest$ac_exeext &&
41772 $as_test_x conftest$ac_exeext; then
41773 ac_cv_lib_shl_load_dld=yes
41774 else
41775 echo "$as_me: failed program was:" >&5
41776 sed 's/^/| /' conftest.$ac_ext >&5
41777
41778 ac_cv_lib_shl_load_dld=no
41779 fi
41780
41781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41782 conftest$ac_exeext conftest.$ac_ext
41783 LIBS=$ac_check_lib_save_LIBS
41784 fi
41785 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41786 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41787 if test $ac_cv_lib_shl_load_dld = yes; then
41788
41789 HAVE_SHL_FUNCS=1
41790 DL_LINK=" -ldld$DL_LINK"
41791
41792 fi
41793
41794
41795 fi
41796 done
41797
41798
41799 fi
41800
41801
41802 fi
41803 done
41804
41805
41806 if test "$HAVE_DL_FUNCS" = 1; then
41807
41808 for ac_func in dlerror
41809 do
41810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41811 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41813 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41814 echo $ECHO_N "(cached) $ECHO_C" >&6
41815 else
41816 cat >conftest.$ac_ext <<_ACEOF
41817 /* confdefs.h. */
41818 _ACEOF
41819 cat confdefs.h >>conftest.$ac_ext
41820 cat >>conftest.$ac_ext <<_ACEOF
41821 /* end confdefs.h. */
41822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41824 #define $ac_func innocuous_$ac_func
41825
41826 /* System header to define __stub macros and hopefully few prototypes,
41827 which can conflict with char $ac_func (); below.
41828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41829 <limits.h> exists even on freestanding compilers. */
41830
41831 #ifdef __STDC__
41832 # include <limits.h>
41833 #else
41834 # include <assert.h>
41835 #endif
41836
41837 #undef $ac_func
41838
41839 /* Override any GCC internal prototype to avoid an error.
41840 Use char because int might match the return type of a GCC
41841 builtin and then its argument prototype would still apply. */
41842 #ifdef __cplusplus
41843 extern "C"
41844 #endif
41845 char $ac_func ();
41846 /* The GNU C library defines this for functions which it implements
41847 to always fail with ENOSYS. Some functions are actually named
41848 something starting with __ and the normal name is an alias. */
41849 #if defined __stub_$ac_func || defined __stub___$ac_func
41850 choke me
41851 #endif
41852
41853 int
41854 main ()
41855 {
41856 return $ac_func ();
41857 ;
41858 return 0;
41859 }
41860 _ACEOF
41861 rm -f conftest.$ac_objext conftest$ac_exeext
41862 if { (ac_try="$ac_link"
41863 case "(($ac_try" in
41864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41865 *) ac_try_echo=$ac_try;;
41866 esac
41867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41868 (eval "$ac_link") 2>conftest.er1
41869 ac_status=$?
41870 grep -v '^ *+' conftest.er1 >conftest.err
41871 rm -f conftest.er1
41872 cat conftest.err >&5
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); } && {
41875 test -z "$ac_c_werror_flag" ||
41876 test ! -s conftest.err
41877 } && test -s conftest$ac_exeext &&
41878 $as_test_x conftest$ac_exeext; then
41879 eval "$as_ac_var=yes"
41880 else
41881 echo "$as_me: failed program was:" >&5
41882 sed 's/^/| /' conftest.$ac_ext >&5
41883
41884 eval "$as_ac_var=no"
41885 fi
41886
41887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41888 conftest$ac_exeext conftest.$ac_ext
41889 fi
41890 ac_res=`eval echo '${'$as_ac_var'}'`
41891 { echo "$as_me:$LINENO: result: $ac_res" >&5
41892 echo "${ECHO_T}$ac_res" >&6; }
41893 if test `eval echo '${'$as_ac_var'}'` = yes; then
41894 cat >>confdefs.h <<_ACEOF
41895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41896 _ACEOF
41897 cat >>confdefs.h <<\_ACEOF
41898 #define HAVE_DLERROR 1
41899 _ACEOF
41900
41901 else
41902
41903 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41904 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41905 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41907 else
41908 ac_check_lib_save_LIBS=$LIBS
41909 LIBS="-ldl $LIBS"
41910 cat >conftest.$ac_ext <<_ACEOF
41911 /* confdefs.h. */
41912 _ACEOF
41913 cat confdefs.h >>conftest.$ac_ext
41914 cat >>conftest.$ac_ext <<_ACEOF
41915 /* end confdefs.h. */
41916
41917 /* Override any GCC internal prototype to avoid an error.
41918 Use char because int might match the return type of a GCC
41919 builtin and then its argument prototype would still apply. */
41920 #ifdef __cplusplus
41921 extern "C"
41922 #endif
41923 char dlerror ();
41924 int
41925 main ()
41926 {
41927 return dlerror ();
41928 ;
41929 return 0;
41930 }
41931 _ACEOF
41932 rm -f conftest.$ac_objext conftest$ac_exeext
41933 if { (ac_try="$ac_link"
41934 case "(($ac_try" in
41935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41936 *) ac_try_echo=$ac_try;;
41937 esac
41938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41939 (eval "$ac_link") 2>conftest.er1
41940 ac_status=$?
41941 grep -v '^ *+' conftest.er1 >conftest.err
41942 rm -f conftest.er1
41943 cat conftest.err >&5
41944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41945 (exit $ac_status); } && {
41946 test -z "$ac_c_werror_flag" ||
41947 test ! -s conftest.err
41948 } && test -s conftest$ac_exeext &&
41949 $as_test_x conftest$ac_exeext; then
41950 ac_cv_lib_dl_dlerror=yes
41951 else
41952 echo "$as_me: failed program was:" >&5
41953 sed 's/^/| /' conftest.$ac_ext >&5
41954
41955 ac_cv_lib_dl_dlerror=no
41956 fi
41957
41958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41959 conftest$ac_exeext conftest.$ac_ext
41960 LIBS=$ac_check_lib_save_LIBS
41961 fi
41962 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41963 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41964 if test $ac_cv_lib_dl_dlerror = yes; then
41965 cat >>confdefs.h <<\_ACEOF
41966 #define HAVE_DLERROR 1
41967 _ACEOF
41968
41969 fi
41970
41971
41972
41973 fi
41974 done
41975
41976 fi
41977 fi
41978
41979 if test "$USE_DARWIN" = 1; then
41980 HAVE_DL_FUNCS=1
41981 fi
41982
41983 if test "$HAVE_DL_FUNCS" = 0; then
41984 if test "$HAVE_SHL_FUNCS" = 0; then
41985 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41986 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41987 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41988 wxUSE_DYNAMIC_LOADER=no
41989 wxUSE_DYNLIB_CLASS=no
41990 else
41991 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41992 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41993 fi
41994 fi
41995 fi
41996 fi
41997 fi
41998
41999 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42000 cat >>confdefs.h <<\_ACEOF
42001 #define wxUSE_DYNAMIC_LOADER 1
42002 _ACEOF
42003
42004 fi
42005 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42006 cat >>confdefs.h <<\_ACEOF
42007 #define wxUSE_DYNLIB_CLASS 1
42008 _ACEOF
42009
42010 fi
42011
42012
42013
42014 if test "$wxUSE_PLUGINS" = "yes" ; then
42015 if test "$wxUSE_SHARED" = "no" ; then
42016 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42017 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42018 wxUSE_PLUGINS=no
42019 fi
42020 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42021 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42022 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42023 wxUSE_PLUGINS=no
42024 fi
42025 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42026 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42027 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42028 wxUSE_PLUGINS=no
42029 fi
42030 if test "$wxUSE_PLUGINS" = "yes" ; then
42031 cat >>confdefs.h <<\_ACEOF
42032 #define wxUSE_PLUGINS 1
42033 _ACEOF
42034
42035 fi
42036 fi
42037
42038
42039 if test "$wxUSE_STL" = "yes"; then
42040 cat >>confdefs.h <<\_ACEOF
42041 #define wxUSE_STL 1
42042 _ACEOF
42043
42044 fi
42045
42046 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42047 cat >>confdefs.h <<\_ACEOF
42048 #define wxUSE_EXTENDED_RTTI 1
42049 _ACEOF
42050
42051 fi
42052
42053 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42054 cat >>confdefs.h <<\_ACEOF
42055 #define wxUSE_APPLE_IEEE 1
42056 _ACEOF
42057
42058 fi
42059
42060 if test "$wxUSE_TIMER" = "yes"; then
42061 cat >>confdefs.h <<\_ACEOF
42062 #define wxUSE_TIMER 1
42063 _ACEOF
42064
42065 fi
42066
42067 if test "$USE_UNIX" = 1 ; then
42068 if test "$wxUSE_MGL" != 1; then
42069 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42070 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42071 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42072 echo $ECHO_N "(cached) $ECHO_C" >&6
42073 else
42074
42075 cat >conftest.$ac_ext <<_ACEOF
42076 /* confdefs.h. */
42077 _ACEOF
42078 cat confdefs.h >>conftest.$ac_ext
42079 cat >>conftest.$ac_ext <<_ACEOF
42080 /* end confdefs.h. */
42081
42082 #include <sys/ioctl.h>
42083 #include <sys/soundcard.h>
42084
42085 int
42086 main ()
42087 {
42088
42089 ioctl(0, SNDCTL_DSP_SPEED, 0);
42090
42091 ;
42092 return 0;
42093 }
42094 _ACEOF
42095 rm -f conftest.$ac_objext conftest$ac_exeext
42096 if { (ac_try="$ac_link"
42097 case "(($ac_try" in
42098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42099 *) ac_try_echo=$ac_try;;
42100 esac
42101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42102 (eval "$ac_link") 2>conftest.er1
42103 ac_status=$?
42104 grep -v '^ *+' conftest.er1 >conftest.err
42105 rm -f conftest.er1
42106 cat conftest.err >&5
42107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108 (exit $ac_status); } && {
42109 test -z "$ac_c_werror_flag" ||
42110 test ! -s conftest.err
42111 } && test -s conftest$ac_exeext &&
42112 $as_test_x conftest$ac_exeext; then
42113 ac_cv_header_sys_soundcard=yes
42114 else
42115 echo "$as_me: failed program was:" >&5
42116 sed 's/^/| /' conftest.$ac_ext >&5
42117
42118
42119 saveLibs="$LIBS"
42120 LIBS="$saveLibs -lossaudio"
42121 cat >conftest.$ac_ext <<_ACEOF
42122 /* confdefs.h. */
42123 _ACEOF
42124 cat confdefs.h >>conftest.$ac_ext
42125 cat >>conftest.$ac_ext <<_ACEOF
42126 /* end confdefs.h. */
42127
42128 #include <sys/ioctl.h>
42129 #include <sys/soundcard.h>
42130
42131 int
42132 main ()
42133 {
42134
42135 ioctl(0, SNDCTL_DSP_SPEED, 0);
42136
42137 ;
42138 return 0;
42139 }
42140 _ACEOF
42141 rm -f conftest.$ac_objext conftest$ac_exeext
42142 if { (ac_try="$ac_link"
42143 case "(($ac_try" in
42144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42145 *) ac_try_echo=$ac_try;;
42146 esac
42147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42148 (eval "$ac_link") 2>conftest.er1
42149 ac_status=$?
42150 grep -v '^ *+' conftest.er1 >conftest.err
42151 rm -f conftest.er1
42152 cat conftest.err >&5
42153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42154 (exit $ac_status); } && {
42155 test -z "$ac_c_werror_flag" ||
42156 test ! -s conftest.err
42157 } && test -s conftest$ac_exeext &&
42158 $as_test_x conftest$ac_exeext; then
42159 ac_cv_header_sys_soundcard=yes
42160 else
42161 echo "$as_me: failed program was:" >&5
42162 sed 's/^/| /' conftest.$ac_ext >&5
42163
42164
42165 LIBS="$saveLibs"
42166 ac_cv_header_sys_soundcard=no
42167
42168
42169 fi
42170
42171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42172 conftest$ac_exeext conftest.$ac_ext
42173
42174
42175 fi
42176
42177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42178 conftest$ac_exeext conftest.$ac_ext
42179
42180 fi
42181 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42182 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42183 fi
42184
42185 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42186 cat >>confdefs.h <<\_ACEOF
42187 #define HAVE_SYS_SOUNDCARD_H 1
42188 _ACEOF
42189
42190 fi
42191 fi
42192
42193 WITH_PLUGIN_SDL=0
42194 if test "$wxUSE_SOUND" = "yes"; then
42195 if test "$USE_UNIX" = 1 ; then
42196 if test "$wxUSE_LIBSDL" != "no"; then
42197
42198 # Check whether --with-sdl-prefix was given.
42199 if test "${with_sdl_prefix+set}" = set; then
42200 withval=$with_sdl_prefix; sdl_prefix="$withval"
42201 else
42202 sdl_prefix=""
42203 fi
42204
42205
42206 # Check whether --with-sdl-exec-prefix was given.
42207 if test "${with_sdl_exec_prefix+set}" = set; then
42208 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42209 else
42210 sdl_exec_prefix=""
42211 fi
42212
42213 # Check whether --enable-sdltest was given.
42214 if test "${enable_sdltest+set}" = set; then
42215 enableval=$enable_sdltest;
42216 else
42217 enable_sdltest=yes
42218 fi
42219
42220
42221 if test x$sdl_exec_prefix != x ; then
42222 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42223 if test x${SDL_CONFIG+set} != xset ; then
42224 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42225 fi
42226 fi
42227 if test x$sdl_prefix != x ; then
42228 sdl_args="$sdl_args --prefix=$sdl_prefix"
42229 if test x${SDL_CONFIG+set} != xset ; then
42230 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42231 fi
42232 fi
42233
42234 if test "x$prefix" != xNONE; then
42235 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42236 fi
42237 # Extract the first word of "sdl-config", so it can be a program name with args.
42238 set dummy sdl-config; ac_word=$2
42239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42241 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42242 echo $ECHO_N "(cached) $ECHO_C" >&6
42243 else
42244 case $SDL_CONFIG in
42245 [\\/]* | ?:[\\/]*)
42246 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42247 ;;
42248 *)
42249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42250 for as_dir in $PATH
42251 do
42252 IFS=$as_save_IFS
42253 test -z "$as_dir" && as_dir=.
42254 for ac_exec_ext in '' $ac_executable_extensions; do
42255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42256 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42258 break 2
42259 fi
42260 done
42261 done
42262 IFS=$as_save_IFS
42263
42264 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42265 ;;
42266 esac
42267 fi
42268 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42269 if test -n "$SDL_CONFIG"; then
42270 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42271 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42272 else
42273 { echo "$as_me:$LINENO: result: no" >&5
42274 echo "${ECHO_T}no" >&6; }
42275 fi
42276
42277
42278 min_sdl_version=1.2.0
42279 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42280 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42281 no_sdl=""
42282 if test "$SDL_CONFIG" = "no" ; then
42283 no_sdl=yes
42284 else
42285 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42286 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42287
42288 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42289 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42290 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42292 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42294 if test "x$enable_sdltest" = "xyes" ; then
42295 ac_save_CFLAGS="$CFLAGS"
42296 ac_save_CXXFLAGS="$CXXFLAGS"
42297 ac_save_LIBS="$LIBS"
42298 CFLAGS="$CFLAGS $SDL_CFLAGS"
42299 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42300 LIBS="$LIBS $SDL_LIBS"
42301 rm -f conf.sdltest
42302 if test "$cross_compiling" = yes; then
42303 echo $ac_n "cross compiling; assumed OK... $ac_c"
42304 else
42305 cat >conftest.$ac_ext <<_ACEOF
42306 /* confdefs.h. */
42307 _ACEOF
42308 cat confdefs.h >>conftest.$ac_ext
42309 cat >>conftest.$ac_ext <<_ACEOF
42310 /* end confdefs.h. */
42311
42312 #include <stdio.h>
42313 #include <stdlib.h>
42314 #include <string.h>
42315 #include "SDL.h"
42316
42317 char*
42318 my_strdup (char *str)
42319 {
42320 char *new_str;
42321
42322 if (str)
42323 {
42324 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42325 strcpy (new_str, str);
42326 }
42327 else
42328 new_str = NULL;
42329
42330 return new_str;
42331 }
42332
42333 int main (int argc, char *argv[])
42334 {
42335 int major, minor, micro;
42336 char *tmp_version;
42337
42338 /* This hangs on some systems (?)
42339 system ("touch conf.sdltest");
42340 */
42341 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42342
42343 /* HP/UX 9 (%@#!) writes to sscanf strings */
42344 tmp_version = my_strdup("$min_sdl_version");
42345 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42346 printf("%s, bad version string\n", "$min_sdl_version");
42347 exit(1);
42348 }
42349
42350 if (($sdl_major_version > major) ||
42351 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42352 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42353 {
42354 return 0;
42355 }
42356 else
42357 {
42358 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42359 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42360 printf("*** best to upgrade to the required version.\n");
42361 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42362 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42363 printf("*** config.cache before re-running configure\n");
42364 return 1;
42365 }
42366 }
42367
42368
42369 _ACEOF
42370 rm -f conftest$ac_exeext
42371 if { (ac_try="$ac_link"
42372 case "(($ac_try" in
42373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42374 *) ac_try_echo=$ac_try;;
42375 esac
42376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42377 (eval "$ac_link") 2>&5
42378 ac_status=$?
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42381 { (case "(($ac_try" in
42382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42383 *) ac_try_echo=$ac_try;;
42384 esac
42385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42386 (eval "$ac_try") 2>&5
42387 ac_status=$?
42388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42389 (exit $ac_status); }; }; then
42390 :
42391 else
42392 echo "$as_me: program exited with status $ac_status" >&5
42393 echo "$as_me: failed program was:" >&5
42394 sed 's/^/| /' conftest.$ac_ext >&5
42395
42396 ( exit $ac_status )
42397 no_sdl=yes
42398 fi
42399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42400 fi
42401
42402
42403 CFLAGS="$ac_save_CFLAGS"
42404 CXXFLAGS="$ac_save_CXXFLAGS"
42405 LIBS="$ac_save_LIBS"
42406 fi
42407 fi
42408 if test "x$no_sdl" = x ; then
42409 { echo "$as_me:$LINENO: result: yes" >&5
42410 echo "${ECHO_T}yes" >&6; }
42411
42412 EXTRALIBS_SDL="$SDL_LIBS"
42413 CFLAGS="$SDL_CFLAGS $CFLAGS"
42414 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42415 cat >>confdefs.h <<\_ACEOF
42416 #define wxUSE_LIBSDL 1
42417 _ACEOF
42418
42419
42420 else
42421 { echo "$as_me:$LINENO: result: no" >&5
42422 echo "${ECHO_T}no" >&6; }
42423 if test "$SDL_CONFIG" = "no" ; then
42424 echo "*** The sdl-config script installed by SDL could not be found"
42425 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42426 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42427 echo "*** full path to sdl-config."
42428 else
42429 if test -f conf.sdltest ; then
42430 :
42431 else
42432 echo "*** Could not run SDL test program, checking why..."
42433 CFLAGS="$CFLAGS $SDL_CFLAGS"
42434 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42435 LIBS="$LIBS $SDL_LIBS"
42436 cat >conftest.$ac_ext <<_ACEOF
42437 /* confdefs.h. */
42438 _ACEOF
42439 cat confdefs.h >>conftest.$ac_ext
42440 cat >>conftest.$ac_ext <<_ACEOF
42441 /* end confdefs.h. */
42442
42443 #include <stdio.h>
42444 #include "SDL.h"
42445
42446 int main(int argc, char *argv[])
42447 { return 0; }
42448 #undef main
42449 #define main K_and_R_C_main
42450
42451 int
42452 main ()
42453 {
42454 return 0;
42455 ;
42456 return 0;
42457 }
42458 _ACEOF
42459 rm -f conftest.$ac_objext conftest$ac_exeext
42460 if { (ac_try="$ac_link"
42461 case "(($ac_try" in
42462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42463 *) ac_try_echo=$ac_try;;
42464 esac
42465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42466 (eval "$ac_link") 2>conftest.er1
42467 ac_status=$?
42468 grep -v '^ *+' conftest.er1 >conftest.err
42469 rm -f conftest.er1
42470 cat conftest.err >&5
42471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42472 (exit $ac_status); } && {
42473 test -z "$ac_c_werror_flag" ||
42474 test ! -s conftest.err
42475 } && test -s conftest$ac_exeext &&
42476 $as_test_x conftest$ac_exeext; then
42477 echo "*** The test program compiled, but did not run. This usually means"
42478 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42479 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42480 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42481 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42482 echo "*** is required on your system"
42483 echo "***"
42484 echo "*** If you have an old version installed, it is best to remove it, although"
42485 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42486 else
42487 echo "$as_me: failed program was:" >&5
42488 sed 's/^/| /' conftest.$ac_ext >&5
42489
42490 echo "*** The test program failed to compile or link. See the file config.log for the"
42491 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42492 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42493 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42494 fi
42495
42496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42497 conftest$ac_exeext conftest.$ac_ext
42498 CFLAGS="$ac_save_CFLAGS"
42499 CXXFLAGS="$ac_save_CXXFLAGS"
42500 LIBS="$ac_save_LIBS"
42501 fi
42502 fi
42503 SDL_CFLAGS=""
42504 SDL_LIBS=""
42505 wxUSE_LIBSDL="no"
42506 fi
42507
42508
42509 rm -f conf.sdltest
42510
42511 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42512 WITH_PLUGIN_SDL=1
42513 fi
42514 fi
42515 else
42516 if test "$wxUSE_MGL" = 1; then
42517 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42518 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42519 wxUSE_SOUND="no"
42520 fi
42521 fi
42522 fi
42523
42524 if test "$wxUSE_SOUND" = "yes"; then
42525 cat >>confdefs.h <<\_ACEOF
42526 #define wxUSE_SOUND 1
42527 _ACEOF
42528
42529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42530 fi
42531
42532 if test "$WXGTK2" = 1; then
42533
42534
42535 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42536 if test -n "$ac_tool_prefix"; then
42537 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42538 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42541 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42542 echo $ECHO_N "(cached) $ECHO_C" >&6
42543 else
42544 case $PKG_CONFIG in
42545 [\\/]* | ?:[\\/]*)
42546 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42547 ;;
42548 *)
42549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42550 for as_dir in $PATH
42551 do
42552 IFS=$as_save_IFS
42553 test -z "$as_dir" && as_dir=.
42554 for ac_exec_ext in '' $ac_executable_extensions; do
42555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42556 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42558 break 2
42559 fi
42560 done
42561 done
42562 IFS=$as_save_IFS
42563
42564 ;;
42565 esac
42566 fi
42567 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42568 if test -n "$PKG_CONFIG"; then
42569 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42570 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42571 else
42572 { echo "$as_me:$LINENO: result: no" >&5
42573 echo "${ECHO_T}no" >&6; }
42574 fi
42575
42576
42577 fi
42578 if test -z "$ac_cv_path_PKG_CONFIG"; then
42579 ac_pt_PKG_CONFIG=$PKG_CONFIG
42580 # Extract the first word of "pkg-config", so it can be a program name with args.
42581 set dummy pkg-config; ac_word=$2
42582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42584 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42585 echo $ECHO_N "(cached) $ECHO_C" >&6
42586 else
42587 case $ac_pt_PKG_CONFIG in
42588 [\\/]* | ?:[\\/]*)
42589 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42590 ;;
42591 *)
42592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42593 for as_dir in $PATH
42594 do
42595 IFS=$as_save_IFS
42596 test -z "$as_dir" && as_dir=.
42597 for ac_exec_ext in '' $ac_executable_extensions; do
42598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42599 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42601 break 2
42602 fi
42603 done
42604 done
42605 IFS=$as_save_IFS
42606
42607 ;;
42608 esac
42609 fi
42610 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42611 if test -n "$ac_pt_PKG_CONFIG"; then
42612 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42613 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42614 else
42615 { echo "$as_me:$LINENO: result: no" >&5
42616 echo "${ECHO_T}no" >&6; }
42617 fi
42618
42619 if test "x$ac_pt_PKG_CONFIG" = x; then
42620 PKG_CONFIG=""
42621 else
42622 case $cross_compiling:$ac_tool_warned in
42623 yes:)
42624 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42625 whose name does not start with the host triplet. If you think this
42626 configuration is useful to you, please write to autoconf@gnu.org." >&5
42627 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42628 whose name does not start with the host triplet. If you think this
42629 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42630 ac_tool_warned=yes ;;
42631 esac
42632 PKG_CONFIG=$ac_pt_PKG_CONFIG
42633 fi
42634 else
42635 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42636 fi
42637
42638 fi
42639 if test -n "$PKG_CONFIG"; then
42640 _pkg_min_version=0.9.0
42641 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42642 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42643 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42644 { echo "$as_me:$LINENO: result: yes" >&5
42645 echo "${ECHO_T}yes" >&6; }
42646 else
42647 { echo "$as_me:$LINENO: result: no" >&5
42648 echo "${ECHO_T}no" >&6; }
42649 PKG_CONFIG=""
42650 fi
42651
42652 fi
42653
42654 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42655
42656 if test "$wxUSE_GTKPRINT" = "yes" ; then
42657
42658
42659 pkg_failed=no
42660 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42661 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42662
42663 if test -n "$PKG_CONFIG"; then
42664 if test -n "$GTKPRINT_CFLAGS"; then
42665 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42666 else
42667 if test -n "$PKG_CONFIG" && \
42668 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42669 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42670 ac_status=$?
42671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42672 (exit $ac_status); }; then
42673 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42674 else
42675 pkg_failed=yes
42676 fi
42677 fi
42678 else
42679 pkg_failed=untried
42680 fi
42681 if test -n "$PKG_CONFIG"; then
42682 if test -n "$GTKPRINT_LIBS"; then
42683 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42684 else
42685 if test -n "$PKG_CONFIG" && \
42686 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42687 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42688 ac_status=$?
42689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42690 (exit $ac_status); }; then
42691 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42692 else
42693 pkg_failed=yes
42694 fi
42695 fi
42696 else
42697 pkg_failed=untried
42698 fi
42699
42700
42701
42702 if test $pkg_failed = yes; then
42703
42704 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42705 _pkg_short_errors_supported=yes
42706 else
42707 _pkg_short_errors_supported=no
42708 fi
42709 if test $_pkg_short_errors_supported = yes; then
42710 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42711 else
42712 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42713 fi
42714 # Put the nasty error message in config.log where it belongs
42715 echo "$GTKPRINT_PKG_ERRORS" >&5
42716
42717
42718 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42719 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42720 wxUSE_GTKPRINT="no"
42721
42722
42723 elif test $pkg_failed = untried; then
42724
42725 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42726 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42727 wxUSE_GTKPRINT="no"
42728
42729
42730 else
42731 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42732 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42733 { echo "$as_me:$LINENO: result: yes" >&5
42734 echo "${ECHO_T}yes" >&6; }
42735
42736 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42737 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42738 cat >>confdefs.h <<\_ACEOF
42739 #define wxUSE_GTKPRINT 1
42740 _ACEOF
42741
42742
42743 fi
42744 fi
42745
42746 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42747
42748
42749 pkg_failed=no
42750 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42751 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42752
42753 if test -n "$PKG_CONFIG"; then
42754 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42755 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42756 else
42757 if test -n "$PKG_CONFIG" && \
42758 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42759 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42760 ac_status=$?
42761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42762 (exit $ac_status); }; then
42763 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42764 else
42765 pkg_failed=yes
42766 fi
42767 fi
42768 else
42769 pkg_failed=untried
42770 fi
42771 if test -n "$PKG_CONFIG"; then
42772 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42773 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42774 else
42775 if test -n "$PKG_CONFIG" && \
42776 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42777 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42778 ac_status=$?
42779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42780 (exit $ac_status); }; then
42781 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42782 else
42783 pkg_failed=yes
42784 fi
42785 fi
42786 else
42787 pkg_failed=untried
42788 fi
42789
42790
42791
42792 if test $pkg_failed = yes; then
42793
42794 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42795 _pkg_short_errors_supported=yes
42796 else
42797 _pkg_short_errors_supported=no
42798 fi
42799 if test $_pkg_short_errors_supported = yes; then
42800 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42801 else
42802 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42803 fi
42804 # Put the nasty error message in config.log where it belongs
42805 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42806
42807
42808 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42809 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42810 wxUSE_LIBGNOMEPRINT="no"
42811
42812
42813 elif test $pkg_failed = untried; then
42814
42815 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42816 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42817 wxUSE_LIBGNOMEPRINT="no"
42818
42819
42820 else
42821 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42822 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42823 { echo "$as_me:$LINENO: result: yes" >&5
42824 echo "${ECHO_T}yes" >&6; }
42825
42826 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42827 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42828 cat >>confdefs.h <<\_ACEOF
42829 #define wxUSE_LIBGNOMEPRINT 1
42830 _ACEOF
42831
42832
42833 fi
42834 fi
42835 fi
42836
42837 if test "$wxUSE_MIMETYPE" = "yes" ; then
42838 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42839
42840
42841 pkg_failed=no
42842 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42843 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42844
42845 if test -n "$PKG_CONFIG"; then
42846 if test -n "$GNOMEVFS_CFLAGS"; then
42847 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42848 else
42849 if test -n "$PKG_CONFIG" && \
42850 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42851 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42852 ac_status=$?
42853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42854 (exit $ac_status); }; then
42855 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42856 else
42857 pkg_failed=yes
42858 fi
42859 fi
42860 else
42861 pkg_failed=untried
42862 fi
42863 if test -n "$PKG_CONFIG"; then
42864 if test -n "$GNOMEVFS_LIBS"; then
42865 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42866 else
42867 if test -n "$PKG_CONFIG" && \
42868 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42869 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42870 ac_status=$?
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); }; then
42873 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42874 else
42875 pkg_failed=yes
42876 fi
42877 fi
42878 else
42879 pkg_failed=untried
42880 fi
42881
42882
42883
42884 if test $pkg_failed = yes; then
42885
42886 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42887 _pkg_short_errors_supported=yes
42888 else
42889 _pkg_short_errors_supported=no
42890 fi
42891 if test $_pkg_short_errors_supported = yes; then
42892 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42893 else
42894 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42895 fi
42896 # Put the nasty error message in config.log where it belongs
42897 echo "$GNOMEVFS_PKG_ERRORS" >&5
42898
42899
42900 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42901 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42902 wxUSE_LIBGNOMEVFS="no"
42903
42904
42905 elif test $pkg_failed = untried; then
42906
42907 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42908 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42909 wxUSE_LIBGNOMEVFS="no"
42910
42911
42912 else
42913 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42914 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42915 { echo "$as_me:$LINENO: result: yes" >&5
42916 echo "${ECHO_T}yes" >&6; }
42917
42918 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42919 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42920 cat >>confdefs.h <<\_ACEOF
42921 #define wxUSE_LIBGNOMEVFS 1
42922 _ACEOF
42923
42924
42925 fi
42926 fi
42927 fi
42928
42929 if test "$wxUSE_LIBHILDON" = "yes" ; then
42930
42931 pkg_failed=no
42932 { echo "$as_me:$LINENO: checking for HILDON" >&5
42933 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42934
42935 if test -n "$PKG_CONFIG"; then
42936 if test -n "$HILDON_CFLAGS"; then
42937 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42938 else
42939 if test -n "$PKG_CONFIG" && \
42940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42941 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42942 ac_status=$?
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); }; then
42945 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42946 else
42947 pkg_failed=yes
42948 fi
42949 fi
42950 else
42951 pkg_failed=untried
42952 fi
42953 if test -n "$PKG_CONFIG"; then
42954 if test -n "$HILDON_LIBS"; then
42955 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42956 else
42957 if test -n "$PKG_CONFIG" && \
42958 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42959 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42960 ac_status=$?
42961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42962 (exit $ac_status); }; then
42963 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42964 else
42965 pkg_failed=yes
42966 fi
42967 fi
42968 else
42969 pkg_failed=untried
42970 fi
42971
42972
42973
42974 if test $pkg_failed = yes; then
42975
42976 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42977 _pkg_short_errors_supported=yes
42978 else
42979 _pkg_short_errors_supported=no
42980 fi
42981 if test $_pkg_short_errors_supported = yes; then
42982 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42983 else
42984 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42985 fi
42986 # Put the nasty error message in config.log where it belongs
42987 echo "$HILDON_PKG_ERRORS" >&5
42988
42989
42990 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42991 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42992 wxUSE_LIBHILDON="no"
42993
42994
42995 elif test $pkg_failed = untried; then
42996
42997 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42998 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42999 wxUSE_LIBHILDON="no"
43000
43001
43002 else
43003 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43004 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43005 { echo "$as_me:$LINENO: result: yes" >&5
43006 echo "${ECHO_T}yes" >&6; }
43007
43008 EXTRALIBS_HILDON="$HILDON_LIBS"
43009 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43010 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43011 cat >>confdefs.h <<\_ACEOF
43012 #define wxUSE_LIBHILDON 1
43013 _ACEOF
43014
43015
43016 fi
43017 fi
43018 fi
43019
43020 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43021 cat >>confdefs.h <<\_ACEOF
43022 #define wxUSE_CMDLINE_PARSER 1
43023 _ACEOF
43024
43025 fi
43026
43027 if test "$wxUSE_STOPWATCH" = "yes"; then
43028 cat >>confdefs.h <<\_ACEOF
43029 #define wxUSE_STOPWATCH 1
43030 _ACEOF
43031
43032 fi
43033
43034 if test "$wxUSE_DATETIME" = "yes"; then
43035 cat >>confdefs.h <<\_ACEOF
43036 #define wxUSE_DATETIME 1
43037 _ACEOF
43038
43039 fi
43040
43041 if test "$wxUSE_FILE" = "yes"; then
43042 cat >>confdefs.h <<\_ACEOF
43043 #define wxUSE_FILE 1
43044 _ACEOF
43045
43046 fi
43047
43048 if test "$wxUSE_FFILE" = "yes"; then
43049 cat >>confdefs.h <<\_ACEOF
43050 #define wxUSE_FFILE 1
43051 _ACEOF
43052
43053 fi
43054
43055 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43056 if test "$wxUSE_STREAMS" != yes; then
43057 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43058 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43059 wxUSE_ARCHIVE_STREAMS=no
43060 else
43061 cat >>confdefs.h <<\_ACEOF
43062 #define wxUSE_ARCHIVE_STREAMS 1
43063 _ACEOF
43064
43065 fi
43066 fi
43067
43068 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43069 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43070 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43071 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43072 elif test "$wxUSE_ZLIB" = "no"; then
43073 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43074 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43075 else
43076 cat >>confdefs.h <<\_ACEOF
43077 #define wxUSE_ZIPSTREAM 1
43078 _ACEOF
43079
43080 fi
43081 fi
43082
43083 if test "$wxUSE_TARSTREAM" = "yes"; then
43084 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43085 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43086 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43087 else
43088 cat >>confdefs.h <<\_ACEOF
43089 #define wxUSE_TARSTREAM 1
43090 _ACEOF
43091
43092 fi
43093 fi
43094
43095 if test "$wxUSE_FILESYSTEM" = "yes"; then
43096 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43097 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43098 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43099 wxUSE_FILESYSTEM=no
43100 else
43101 cat >>confdefs.h <<\_ACEOF
43102 #define wxUSE_FILESYSTEM 1
43103 _ACEOF
43104
43105 fi
43106 fi
43107
43108 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43109 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43110 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43111 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43112 else
43113 cat >>confdefs.h <<\_ACEOF
43114 #define wxUSE_FS_ARCHIVE 1
43115 _ACEOF
43116
43117 fi
43118 fi
43119
43120 if test "$wxUSE_FS_ZIP" = "yes"; then
43121 if test "$wxUSE_FS_ARCHIVE" != yes; then
43122 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43123 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43124 else
43125 cat >>confdefs.h <<\_ACEOF
43126 #define wxUSE_FS_ZIP 1
43127 _ACEOF
43128
43129 fi
43130 fi
43131
43132 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43133 if test "$USE_UNIX" != 1; then
43134 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43135 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43136 wxUSE_ON_FATAL_EXCEPTION=no
43137 else
43138 cat >>confdefs.h <<\_ACEOF
43139 #define wxUSE_ON_FATAL_EXCEPTION 1
43140 _ACEOF
43141
43142 fi
43143 fi
43144
43145 if test "$wxUSE_STACKWALKER" = "yes"; then
43146 cat >>confdefs.h <<\_ACEOF
43147 #define wxUSE_STACKWALKER 1
43148 _ACEOF
43149
43150 fi
43151
43152 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43153 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43154 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43155 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43156 wxUSE_DEBUGREPORT=no
43157 else
43158 cat >>confdefs.h <<\_ACEOF
43159 #define wxUSE_DEBUGREPORT 1
43160 _ACEOF
43161
43162 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43164 fi
43165 fi
43166 fi
43167
43168 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43169 cat >>confdefs.h <<\_ACEOF
43170 #define wxUSE_SNGLINST_CHECKER 1
43171 _ACEOF
43172
43173 fi
43174
43175 if test "$wxUSE_BUSYINFO" = "yes"; then
43176 cat >>confdefs.h <<\_ACEOF
43177 #define wxUSE_BUSYINFO 1
43178 _ACEOF
43179
43180 fi
43181
43182 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43183 cat >>confdefs.h <<\_ACEOF
43184 #define wxUSE_STD_IOSTREAM 1
43185 _ACEOF
43186
43187 fi
43188
43189 if test "$wxUSE_STD_STRING" = "yes"; then
43190 cat >>confdefs.h <<\_ACEOF
43191 #define wxUSE_STD_STRING 1
43192 _ACEOF
43193
43194 fi
43195
43196 if test "$wxUSE_STDPATHS" = "yes"; then
43197 cat >>confdefs.h <<\_ACEOF
43198 #define wxUSE_STDPATHS 1
43199 _ACEOF
43200
43201 fi
43202
43203 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43204 cat >>confdefs.h <<\_ACEOF
43205 #define wxUSE_TEXTBUFFER 1
43206 _ACEOF
43207
43208 fi
43209
43210 if test "$wxUSE_TEXTFILE" = "yes"; then
43211 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43212 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43213 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43214 else
43215 cat >>confdefs.h <<\_ACEOF
43216 #define wxUSE_TEXTFILE 1
43217 _ACEOF
43218
43219 fi
43220 fi
43221
43222 if test "$wxUSE_CONFIG" = "yes" ; then
43223 if test "$wxUSE_TEXTFILE" != "yes"; then
43224 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43225 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43226 else
43227 cat >>confdefs.h <<\_ACEOF
43228 #define wxUSE_CONFIG 1
43229 _ACEOF
43230
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_CONFIG_NATIVE 1
43233 _ACEOF
43234
43235 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43236 fi
43237 fi
43238
43239 if test "$wxUSE_INTL" = "yes" ; then
43240 if test "$wxUSE_FILE" != "yes"; then
43241 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43242 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43243 else
43244 cat >>confdefs.h <<\_ACEOF
43245 #define wxUSE_INTL 1
43246 _ACEOF
43247
43248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43249 GUIDIST="$GUIDIST INTL_DIST"
43250 fi
43251 fi
43252
43253 if test "$wxUSE_XLOCALE" = "yes" ; then
43254 cat >>confdefs.h <<\_ACEOF
43255 #define wxUSE_XLOCALE 1
43256 _ACEOF
43257
43258 { echo "$as_me:$LINENO: checking for locale_t" >&5
43259 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43260 if test "${ac_cv_type_locale_t+set}" = set; then
43261 echo $ECHO_N "(cached) $ECHO_C" >&6
43262 else
43263 cat >conftest.$ac_ext <<_ACEOF
43264 /* confdefs.h. */
43265 _ACEOF
43266 cat confdefs.h >>conftest.$ac_ext
43267 cat >>conftest.$ac_ext <<_ACEOF
43268 /* end confdefs.h. */
43269 #include <xlocale.h>
43270 #include <locale.h>
43271
43272 typedef locale_t ac__type_new_;
43273 int
43274 main ()
43275 {
43276 if ((ac__type_new_ *) 0)
43277 return 0;
43278 if (sizeof (ac__type_new_))
43279 return 0;
43280 ;
43281 return 0;
43282 }
43283 _ACEOF
43284 rm -f conftest.$ac_objext
43285 if { (ac_try="$ac_compile"
43286 case "(($ac_try" in
43287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43288 *) ac_try_echo=$ac_try;;
43289 esac
43290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43291 (eval "$ac_compile") 2>conftest.er1
43292 ac_status=$?
43293 grep -v '^ *+' conftest.er1 >conftest.err
43294 rm -f conftest.er1
43295 cat conftest.err >&5
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); } && {
43298 test -z "$ac_c_werror_flag" ||
43299 test ! -s conftest.err
43300 } && test -s conftest.$ac_objext; then
43301 ac_cv_type_locale_t=yes
43302 else
43303 echo "$as_me: failed program was:" >&5
43304 sed 's/^/| /' conftest.$ac_ext >&5
43305
43306 ac_cv_type_locale_t=no
43307 fi
43308
43309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43310 fi
43311 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43312 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43313 if test $ac_cv_type_locale_t = yes; then
43314
43315 cat >>confdefs.h <<_ACEOF
43316 #define HAVE_LOCALE_T 1
43317 _ACEOF
43318
43319
43320 fi
43321
43322 fi
43323
43324 if test "$wxUSE_LOG" = "yes"; then
43325 cat >>confdefs.h <<\_ACEOF
43326 #define wxUSE_LOG 1
43327 _ACEOF
43328
43329
43330 if test "$wxUSE_LOGGUI" = "yes"; then
43331 cat >>confdefs.h <<\_ACEOF
43332 #define wxUSE_LOGGUI 1
43333 _ACEOF
43334
43335 fi
43336
43337 if test "$wxUSE_LOGWINDOW" = "yes"; then
43338 cat >>confdefs.h <<\_ACEOF
43339 #define wxUSE_LOGWINDOW 1
43340 _ACEOF
43341
43342 fi
43343
43344 if test "$wxUSE_LOGDIALOG" = "yes"; then
43345 cat >>confdefs.h <<\_ACEOF
43346 #define wxUSE_LOG_DIALOG 1
43347 _ACEOF
43348
43349 fi
43350
43351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43352 fi
43353
43354 if test "$wxUSE_LONGLONG" = "yes"; then
43355 cat >>confdefs.h <<\_ACEOF
43356 #define wxUSE_LONGLONG 1
43357 _ACEOF
43358
43359 fi
43360
43361 if test "$wxUSE_GEOMETRY" = "yes"; then
43362 cat >>confdefs.h <<\_ACEOF
43363 #define wxUSE_GEOMETRY 1
43364 _ACEOF
43365
43366 fi
43367
43368 if test "$wxUSE_BASE64" = "yes"; then
43369 cat >>confdefs.h <<\_ACEOF
43370 #define wxUSE_BASE64 1
43371 _ACEOF
43372
43373 fi
43374
43375 if test "$wxUSE_STREAMS" = "yes" ; then
43376 cat >>confdefs.h <<\_ACEOF
43377 #define wxUSE_STREAMS 1
43378 _ACEOF
43379
43380 fi
43381
43382 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43383 cat >>confdefs.h <<\_ACEOF
43384 #define wxUSE_PRINTF_POS_PARAMS 1
43385 _ACEOF
43386
43387 fi
43388
43389 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43390 cat >>confdefs.h <<\_ACEOF
43391 #define wxUSE_OBJC_UNIQUIFYING 1
43392 _ACEOF
43393
43394 fi
43395
43396
43397 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43398 cat >>confdefs.h <<\_ACEOF
43399 #define wxUSE_CONSOLE_EVENTLOOP 1
43400 _ACEOF
43401
43402
43403 if test "$wxUSE_UNIX" = "yes"; then
43404 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43405 cat >>confdefs.h <<\_ACEOF
43406 #define wxUSE_SELECT_DISPATCHER 1
43407 _ACEOF
43408
43409 fi
43410
43411 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43412
43413 for ac_header in sys/epoll.h
43414 do
43415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43419 echo $ECHO_N "(cached) $ECHO_C" >&6
43420 else
43421 cat >conftest.$ac_ext <<_ACEOF
43422 /* confdefs.h. */
43423 _ACEOF
43424 cat confdefs.h >>conftest.$ac_ext
43425 cat >>conftest.$ac_ext <<_ACEOF
43426 /* end confdefs.h. */
43427 $ac_includes_default
43428
43429 #include <$ac_header>
43430 _ACEOF
43431 rm -f conftest.$ac_objext
43432 if { (ac_try="$ac_compile"
43433 case "(($ac_try" in
43434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43435 *) ac_try_echo=$ac_try;;
43436 esac
43437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43438 (eval "$ac_compile") 2>conftest.er1
43439 ac_status=$?
43440 grep -v '^ *+' conftest.er1 >conftest.err
43441 rm -f conftest.er1
43442 cat conftest.err >&5
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); } && {
43445 test -z "$ac_c_werror_flag" ||
43446 test ! -s conftest.err
43447 } && test -s conftest.$ac_objext; then
43448 eval "$as_ac_Header=yes"
43449 else
43450 echo "$as_me: failed program was:" >&5
43451 sed 's/^/| /' conftest.$ac_ext >&5
43452
43453 eval "$as_ac_Header=no"
43454 fi
43455
43456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43457 fi
43458 ac_res=`eval echo '${'$as_ac_Header'}'`
43459 { echo "$as_me:$LINENO: result: $ac_res" >&5
43460 echo "${ECHO_T}$ac_res" >&6; }
43461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43462 cat >>confdefs.h <<_ACEOF
43463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43464 _ACEOF
43465
43466 fi
43467
43468 done
43469
43470 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43471 cat >>confdefs.h <<\_ACEOF
43472 #define wxUSE_EPOLL_DISPATCHER 1
43473 _ACEOF
43474
43475 else
43476 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43477 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43478 fi
43479 fi
43480 fi
43481 fi
43482
43483
43484
43485
43486 for ac_func in gettimeofday ftime
43487 do
43488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43489 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43491 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43492 echo $ECHO_N "(cached) $ECHO_C" >&6
43493 else
43494 cat >conftest.$ac_ext <<_ACEOF
43495 /* confdefs.h. */
43496 _ACEOF
43497 cat confdefs.h >>conftest.$ac_ext
43498 cat >>conftest.$ac_ext <<_ACEOF
43499 /* end confdefs.h. */
43500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43502 #define $ac_func innocuous_$ac_func
43503
43504 /* System header to define __stub macros and hopefully few prototypes,
43505 which can conflict with char $ac_func (); below.
43506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43507 <limits.h> exists even on freestanding compilers. */
43508
43509 #ifdef __STDC__
43510 # include <limits.h>
43511 #else
43512 # include <assert.h>
43513 #endif
43514
43515 #undef $ac_func
43516
43517 /* Override any GCC internal prototype to avoid an error.
43518 Use char because int might match the return type of a GCC
43519 builtin and then its argument prototype would still apply. */
43520 #ifdef __cplusplus
43521 extern "C"
43522 #endif
43523 char $ac_func ();
43524 /* The GNU C library defines this for functions which it implements
43525 to always fail with ENOSYS. Some functions are actually named
43526 something starting with __ and the normal name is an alias. */
43527 #if defined __stub_$ac_func || defined __stub___$ac_func
43528 choke me
43529 #endif
43530
43531 int
43532 main ()
43533 {
43534 return $ac_func ();
43535 ;
43536 return 0;
43537 }
43538 _ACEOF
43539 rm -f conftest.$ac_objext conftest$ac_exeext
43540 if { (ac_try="$ac_link"
43541 case "(($ac_try" in
43542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43543 *) ac_try_echo=$ac_try;;
43544 esac
43545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43546 (eval "$ac_link") 2>conftest.er1
43547 ac_status=$?
43548 grep -v '^ *+' conftest.er1 >conftest.err
43549 rm -f conftest.er1
43550 cat conftest.err >&5
43551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43552 (exit $ac_status); } && {
43553 test -z "$ac_c_werror_flag" ||
43554 test ! -s conftest.err
43555 } && test -s conftest$ac_exeext &&
43556 $as_test_x conftest$ac_exeext; then
43557 eval "$as_ac_var=yes"
43558 else
43559 echo "$as_me: failed program was:" >&5
43560 sed 's/^/| /' conftest.$ac_ext >&5
43561
43562 eval "$as_ac_var=no"
43563 fi
43564
43565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43566 conftest$ac_exeext conftest.$ac_ext
43567 fi
43568 ac_res=`eval echo '${'$as_ac_var'}'`
43569 { echo "$as_me:$LINENO: result: $ac_res" >&5
43570 echo "${ECHO_T}$ac_res" >&6; }
43571 if test `eval echo '${'$as_ac_var'}'` = yes; then
43572 cat >>confdefs.h <<_ACEOF
43573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43574 _ACEOF
43575 break
43576 fi
43577 done
43578
43579
43580 if test "$ac_cv_func_gettimeofday" = "yes"; then
43581 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43582 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43583 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43584 echo $ECHO_N "(cached) $ECHO_C" >&6
43585 else
43586
43587 cat >conftest.$ac_ext <<_ACEOF
43588 /* confdefs.h. */
43589 _ACEOF
43590 cat confdefs.h >>conftest.$ac_ext
43591 cat >>conftest.$ac_ext <<_ACEOF
43592 /* end confdefs.h. */
43593
43594 #include <sys/time.h>
43595 #include <unistd.h>
43596
43597 int
43598 main ()
43599 {
43600
43601 struct timeval tv;
43602 gettimeofday(&tv, NULL);
43603
43604 ;
43605 return 0;
43606 }
43607 _ACEOF
43608 rm -f conftest.$ac_objext
43609 if { (ac_try="$ac_compile"
43610 case "(($ac_try" in
43611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43612 *) ac_try_echo=$ac_try;;
43613 esac
43614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43615 (eval "$ac_compile") 2>conftest.er1
43616 ac_status=$?
43617 grep -v '^ *+' conftest.er1 >conftest.err
43618 rm -f conftest.er1
43619 cat conftest.err >&5
43620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43621 (exit $ac_status); } && {
43622 test -z "$ac_c_werror_flag" ||
43623 test ! -s conftest.err
43624 } && test -s conftest.$ac_objext; then
43625 wx_cv_func_gettimeofday_has_2_args=yes
43626 else
43627 echo "$as_me: failed program was:" >&5
43628 sed 's/^/| /' conftest.$ac_ext >&5
43629
43630 cat >conftest.$ac_ext <<_ACEOF
43631 /* confdefs.h. */
43632 _ACEOF
43633 cat confdefs.h >>conftest.$ac_ext
43634 cat >>conftest.$ac_ext <<_ACEOF
43635 /* end confdefs.h. */
43636
43637 #include <sys/time.h>
43638 #include <unistd.h>
43639
43640 int
43641 main ()
43642 {
43643
43644 struct timeval tv;
43645 gettimeofday(&tv);
43646
43647 ;
43648 return 0;
43649 }
43650 _ACEOF
43651 rm -f conftest.$ac_objext
43652 if { (ac_try="$ac_compile"
43653 case "(($ac_try" in
43654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43655 *) ac_try_echo=$ac_try;;
43656 esac
43657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43658 (eval "$ac_compile") 2>conftest.er1
43659 ac_status=$?
43660 grep -v '^ *+' conftest.er1 >conftest.err
43661 rm -f conftest.er1
43662 cat conftest.err >&5
43663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43664 (exit $ac_status); } && {
43665 test -z "$ac_c_werror_flag" ||
43666 test ! -s conftest.err
43667 } && test -s conftest.$ac_objext; then
43668 wx_cv_func_gettimeofday_has_2_args=no
43669 else
43670 echo "$as_me: failed program was:" >&5
43671 sed 's/^/| /' conftest.$ac_ext >&5
43672
43673
43674 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43675 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43676 wx_cv_func_gettimeofday_has_2_args=unknown
43677
43678
43679 fi
43680
43681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43682
43683 fi
43684
43685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43686
43687 fi
43688 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43689 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43690
43691 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43692 cat >>confdefs.h <<\_ACEOF
43693 #define WX_GETTIMEOFDAY_NO_TZ 1
43694 _ACEOF
43695
43696 fi
43697 fi
43698
43699 if test "$wxUSE_DATETIME" = "yes"; then
43700 { echo "$as_me:$LINENO: checking for strptime" >&5
43701 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43702 if test "${ac_cv_func_strptime+set}" = set; then
43703 echo $ECHO_N "(cached) $ECHO_C" >&6
43704 else
43705 cat >conftest.$ac_ext <<_ACEOF
43706 /* confdefs.h. */
43707 _ACEOF
43708 cat confdefs.h >>conftest.$ac_ext
43709 cat >>conftest.$ac_ext <<_ACEOF
43710 /* end confdefs.h. */
43711 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43713 #define strptime innocuous_strptime
43714
43715 /* System header to define __stub macros and hopefully few prototypes,
43716 which can conflict with char strptime (); below.
43717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43718 <limits.h> exists even on freestanding compilers. */
43719
43720 #ifdef __STDC__
43721 # include <limits.h>
43722 #else
43723 # include <assert.h>
43724 #endif
43725
43726 #undef strptime
43727
43728 /* Override any GCC internal prototype to avoid an error.
43729 Use char because int might match the return type of a GCC
43730 builtin and then its argument prototype would still apply. */
43731 #ifdef __cplusplus
43732 extern "C"
43733 #endif
43734 char strptime ();
43735 /* The GNU C library defines this for functions which it implements
43736 to always fail with ENOSYS. Some functions are actually named
43737 something starting with __ and the normal name is an alias. */
43738 #if defined __stub_strptime || defined __stub___strptime
43739 choke me
43740 #endif
43741
43742 int
43743 main ()
43744 {
43745 return strptime ();
43746 ;
43747 return 0;
43748 }
43749 _ACEOF
43750 rm -f conftest.$ac_objext conftest$ac_exeext
43751 if { (ac_try="$ac_link"
43752 case "(($ac_try" in
43753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43754 *) ac_try_echo=$ac_try;;
43755 esac
43756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43757 (eval "$ac_link") 2>conftest.er1
43758 ac_status=$?
43759 grep -v '^ *+' conftest.er1 >conftest.err
43760 rm -f conftest.er1
43761 cat conftest.err >&5
43762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763 (exit $ac_status); } && {
43764 test -z "$ac_c_werror_flag" ||
43765 test ! -s conftest.err
43766 } && test -s conftest$ac_exeext &&
43767 $as_test_x conftest$ac_exeext; then
43768 ac_cv_func_strptime=yes
43769 else
43770 echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.$ac_ext >&5
43772
43773 ac_cv_func_strptime=no
43774 fi
43775
43776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43777 conftest$ac_exeext conftest.$ac_ext
43778 fi
43779 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43780 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43781
43782 if test "$ac_cv_func_strptime" = "yes"; then
43783 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43784 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43785 if test "${wx_cv_func_strptime_decl+set}" = set; then
43786 echo $ECHO_N "(cached) $ECHO_C" >&6
43787 else
43788
43789 ac_ext=cpp
43790 ac_cpp='$CXXCPP $CPPFLAGS'
43791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43794
43795 cat >conftest.$ac_ext <<_ACEOF
43796 /* confdefs.h. */
43797 _ACEOF
43798 cat confdefs.h >>conftest.$ac_ext
43799 cat >>conftest.$ac_ext <<_ACEOF
43800 /* end confdefs.h. */
43801
43802 #include <time.h>
43803
43804 int
43805 main ()
43806 {
43807
43808 struct tm t;
43809 strptime("foo", "bar", &t);
43810
43811 ;
43812 return 0;
43813 }
43814 _ACEOF
43815 rm -f conftest.$ac_objext
43816 if { (ac_try="$ac_compile"
43817 case "(($ac_try" in
43818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43819 *) ac_try_echo=$ac_try;;
43820 esac
43821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43822 (eval "$ac_compile") 2>conftest.er1
43823 ac_status=$?
43824 grep -v '^ *+' conftest.er1 >conftest.err
43825 rm -f conftest.er1
43826 cat conftest.err >&5
43827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828 (exit $ac_status); } && {
43829 test -z "$ac_cxx_werror_flag" ||
43830 test ! -s conftest.err
43831 } && test -s conftest.$ac_objext; then
43832 wx_cv_func_strptime_decl=yes
43833 else
43834 echo "$as_me: failed program was:" >&5
43835 sed 's/^/| /' conftest.$ac_ext >&5
43836
43837 wx_cv_func_strptime_decl=no
43838
43839 fi
43840
43841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43842 ac_ext=c
43843 ac_cpp='$CPP $CPPFLAGS'
43844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43847
43848
43849
43850 fi
43851 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43852 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43853 fi
43854 if test "$wx_cv_func_strptime_decl" = "yes"; then
43855 cat >>confdefs.h <<\_ACEOF
43856 #define HAVE_STRPTIME_DECL 1
43857 _ACEOF
43858
43859 else
43860 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43861 fi
43862 if test "$ac_cv_func_strptime" = "yes"; then
43863 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43864 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43865 if test "${wx_cv_func_strptime_ok+set}" = set; then
43866 echo $ECHO_N "(cached) $ECHO_C" >&6
43867 else
43868 if test "$cross_compiling" = yes; then
43869 wx_cv_func_strptime_ok=no
43870
43871 else
43872 cat >conftest.$ac_ext <<_ACEOF
43873
43874 #include <stdlib.h>
43875 #include <time.h>
43876 #include "confdefs.h"
43877
43878 $wx_strptime_decl
43879
43880 int main()
43881 {
43882 struct tm t;
43883 return !!strptime("", "%x", &t);
43884 }
43885
43886 _ACEOF
43887 rm -f conftest$ac_exeext
43888 if { (ac_try="$ac_link"
43889 case "(($ac_try" in
43890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43891 *) ac_try_echo=$ac_try;;
43892 esac
43893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43894 (eval "$ac_link") 2>&5
43895 ac_status=$?
43896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43898 { (case "(($ac_try" in
43899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43900 *) ac_try_echo=$ac_try;;
43901 esac
43902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43903 (eval "$ac_try") 2>&5
43904 ac_status=$?
43905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43906 (exit $ac_status); }; }; then
43907 wx_cv_func_strptime_ok=yes
43908 else
43909 echo "$as_me: program exited with status $ac_status" >&5
43910 echo "$as_me: failed program was:" >&5
43911 sed 's/^/| /' conftest.$ac_ext >&5
43912
43913 ( exit $ac_status )
43914 wx_cv_func_strptime_ok=no
43915 fi
43916 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43917 fi
43918
43919
43920
43921 fi
43922 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43923 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43924
43925 if test "$wx_cv_func_strptime_ok" = "yes"; then
43926 cat >>confdefs.h <<\_ACEOF
43927 #define HAVE_STRPTIME 1
43928 _ACEOF
43929
43930 fi
43931 fi
43932
43933 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43934 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43935 if test "${wx_cv_var_timezone+set}" = set; then
43936 echo $ECHO_N "(cached) $ECHO_C" >&6
43937 else
43938
43939 ac_ext=cpp
43940 ac_cpp='$CXXCPP $CPPFLAGS'
43941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43944
43945 cat >conftest.$ac_ext <<_ACEOF
43946 /* confdefs.h. */
43947 _ACEOF
43948 cat confdefs.h >>conftest.$ac_ext
43949 cat >>conftest.$ac_ext <<_ACEOF
43950 /* end confdefs.h. */
43951
43952 #include <time.h>
43953
43954 int
43955 main ()
43956 {
43957
43958 int tz;
43959 tz = timezone;
43960
43961 ;
43962 return 0;
43963 }
43964 _ACEOF
43965 rm -f conftest.$ac_objext
43966 if { (ac_try="$ac_compile"
43967 case "(($ac_try" in
43968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43969 *) ac_try_echo=$ac_try;;
43970 esac
43971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43972 (eval "$ac_compile") 2>conftest.er1
43973 ac_status=$?
43974 grep -v '^ *+' conftest.er1 >conftest.err
43975 rm -f conftest.er1
43976 cat conftest.err >&5
43977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43978 (exit $ac_status); } && {
43979 test -z "$ac_cxx_werror_flag" ||
43980 test ! -s conftest.err
43981 } && test -s conftest.$ac_objext; then
43982
43983 wx_cv_var_timezone=timezone
43984
43985 else
43986 echo "$as_me: failed program was:" >&5
43987 sed 's/^/| /' conftest.$ac_ext >&5
43988
43989
43990 cat >conftest.$ac_ext <<_ACEOF
43991 /* confdefs.h. */
43992 _ACEOF
43993 cat confdefs.h >>conftest.$ac_ext
43994 cat >>conftest.$ac_ext <<_ACEOF
43995 /* end confdefs.h. */
43996
43997 #include <time.h>
43998
43999 int
44000 main ()
44001 {
44002
44003 int tz;
44004 tz = _timezone;
44005
44006 ;
44007 return 0;
44008 }
44009 _ACEOF
44010 rm -f conftest.$ac_objext
44011 if { (ac_try="$ac_compile"
44012 case "(($ac_try" in
44013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44014 *) ac_try_echo=$ac_try;;
44015 esac
44016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44017 (eval "$ac_compile") 2>conftest.er1
44018 ac_status=$?
44019 grep -v '^ *+' conftest.er1 >conftest.err
44020 rm -f conftest.er1
44021 cat conftest.err >&5
44022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44023 (exit $ac_status); } && {
44024 test -z "$ac_cxx_werror_flag" ||
44025 test ! -s conftest.err
44026 } && test -s conftest.$ac_objext; then
44027
44028 wx_cv_var_timezone=_timezone
44029
44030 else
44031 echo "$as_me: failed program was:" >&5
44032 sed 's/^/| /' conftest.$ac_ext >&5
44033
44034
44035 cat >conftest.$ac_ext <<_ACEOF
44036 /* confdefs.h. */
44037 _ACEOF
44038 cat confdefs.h >>conftest.$ac_ext
44039 cat >>conftest.$ac_ext <<_ACEOF
44040 /* end confdefs.h. */
44041
44042 #include <time.h>
44043
44044 int
44045 main ()
44046 {
44047
44048 int tz;
44049 tz = __timezone;
44050
44051 ;
44052 return 0;
44053 }
44054 _ACEOF
44055 rm -f conftest.$ac_objext
44056 if { (ac_try="$ac_compile"
44057 case "(($ac_try" in
44058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44059 *) ac_try_echo=$ac_try;;
44060 esac
44061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44062 (eval "$ac_compile") 2>conftest.er1
44063 ac_status=$?
44064 grep -v '^ *+' conftest.er1 >conftest.err
44065 rm -f conftest.er1
44066 cat conftest.err >&5
44067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44068 (exit $ac_status); } && {
44069 test -z "$ac_cxx_werror_flag" ||
44070 test ! -s conftest.err
44071 } && test -s conftest.$ac_objext; then
44072
44073 wx_cv_var_timezone=__timezone
44074
44075 else
44076 echo "$as_me: failed program was:" >&5
44077 sed 's/^/| /' conftest.$ac_ext >&5
44078
44079
44080 if test "$USE_DOS" = 0 ; then
44081 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44082 echo "$as_me: WARNING: no timezone variable" >&2;}
44083 fi
44084
44085
44086 fi
44087
44088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44089
44090
44091 fi
44092
44093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44094
44095
44096 fi
44097
44098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44099 ac_ext=c
44100 ac_cpp='$CPP $CPPFLAGS'
44101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44104
44105
44106
44107 fi
44108 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44109 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44110
44111 if test "x$wx_cv_var_timezone" != x ; then
44112 cat >>confdefs.h <<_ACEOF
44113 #define WX_TIMEZONE $wx_cv_var_timezone
44114 _ACEOF
44115
44116 fi
44117
44118
44119 for ac_func in localtime
44120 do
44121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44122 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44124 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44125 echo $ECHO_N "(cached) $ECHO_C" >&6
44126 else
44127 cat >conftest.$ac_ext <<_ACEOF
44128 /* confdefs.h. */
44129 _ACEOF
44130 cat confdefs.h >>conftest.$ac_ext
44131 cat >>conftest.$ac_ext <<_ACEOF
44132 /* end confdefs.h. */
44133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44135 #define $ac_func innocuous_$ac_func
44136
44137 /* System header to define __stub macros and hopefully few prototypes,
44138 which can conflict with char $ac_func (); below.
44139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44140 <limits.h> exists even on freestanding compilers. */
44141
44142 #ifdef __STDC__
44143 # include <limits.h>
44144 #else
44145 # include <assert.h>
44146 #endif
44147
44148 #undef $ac_func
44149
44150 /* Override any GCC internal prototype to avoid an error.
44151 Use char because int might match the return type of a GCC
44152 builtin and then its argument prototype would still apply. */
44153 #ifdef __cplusplus
44154 extern "C"
44155 #endif
44156 char $ac_func ();
44157 /* The GNU C library defines this for functions which it implements
44158 to always fail with ENOSYS. Some functions are actually named
44159 something starting with __ and the normal name is an alias. */
44160 #if defined __stub_$ac_func || defined __stub___$ac_func
44161 choke me
44162 #endif
44163
44164 int
44165 main ()
44166 {
44167 return $ac_func ();
44168 ;
44169 return 0;
44170 }
44171 _ACEOF
44172 rm -f conftest.$ac_objext conftest$ac_exeext
44173 if { (ac_try="$ac_link"
44174 case "(($ac_try" in
44175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44176 *) ac_try_echo=$ac_try;;
44177 esac
44178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44179 (eval "$ac_link") 2>conftest.er1
44180 ac_status=$?
44181 grep -v '^ *+' conftest.er1 >conftest.err
44182 rm -f conftest.er1
44183 cat conftest.err >&5
44184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44185 (exit $ac_status); } && {
44186 test -z "$ac_c_werror_flag" ||
44187 test ! -s conftest.err
44188 } && test -s conftest$ac_exeext &&
44189 $as_test_x conftest$ac_exeext; then
44190 eval "$as_ac_var=yes"
44191 else
44192 echo "$as_me: failed program was:" >&5
44193 sed 's/^/| /' conftest.$ac_ext >&5
44194
44195 eval "$as_ac_var=no"
44196 fi
44197
44198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44199 conftest$ac_exeext conftest.$ac_ext
44200 fi
44201 ac_res=`eval echo '${'$as_ac_var'}'`
44202 { echo "$as_me:$LINENO: result: $ac_res" >&5
44203 echo "${ECHO_T}$ac_res" >&6; }
44204 if test `eval echo '${'$as_ac_var'}'` = yes; then
44205 cat >>confdefs.h <<_ACEOF
44206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44207 _ACEOF
44208
44209 fi
44210 done
44211
44212
44213 if test "$ac_cv_func_localtime" = "yes"; then
44214 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44215 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44216 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44217 echo $ECHO_N "(cached) $ECHO_C" >&6
44218 else
44219
44220 cat >conftest.$ac_ext <<_ACEOF
44221 /* confdefs.h. */
44222 _ACEOF
44223 cat confdefs.h >>conftest.$ac_ext
44224 cat >>conftest.$ac_ext <<_ACEOF
44225 /* end confdefs.h. */
44226
44227 #include <time.h>
44228
44229 int
44230 main ()
44231 {
44232
44233 struct tm tm;
44234 tm.tm_gmtoff++;
44235
44236 ;
44237 return 0;
44238 }
44239 _ACEOF
44240 rm -f conftest.$ac_objext
44241 if { (ac_try="$ac_compile"
44242 case "(($ac_try" in
44243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44244 *) ac_try_echo=$ac_try;;
44245 esac
44246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44247 (eval "$ac_compile") 2>conftest.er1
44248 ac_status=$?
44249 grep -v '^ *+' conftest.er1 >conftest.err
44250 rm -f conftest.er1
44251 cat conftest.err >&5
44252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44253 (exit $ac_status); } && {
44254 test -z "$ac_c_werror_flag" ||
44255 test ! -s conftest.err
44256 } && test -s conftest.$ac_objext; then
44257
44258 wx_cv_struct_tm_has_gmtoff=yes
44259
44260 else
44261 echo "$as_me: failed program was:" >&5
44262 sed 's/^/| /' conftest.$ac_ext >&5
44263
44264 wx_cv_struct_tm_has_gmtoff=no
44265
44266 fi
44267
44268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44269
44270 fi
44271 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44272 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44273 fi
44274
44275 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44276 cat >>confdefs.h <<\_ACEOF
44277 #define WX_GMTOFF_IN_TM 1
44278 _ACEOF
44279
44280 fi
44281
44282 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44283 fi
44284
44285
44286 if test "$wxUSE_SOCKETS" = "yes"; then
44287 if test "$wxUSE_MGL" = 1; then
44288 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44289 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44290 wxUSE_SOCKETS="no"
44291 fi
44292 fi
44293
44294 if test "$wxUSE_SOCKETS" = "yes"; then
44295 if test "$TOOLKIT" != "MSW"; then
44296 { echo "$as_me:$LINENO: checking for socket" >&5
44297 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44298 if test "${ac_cv_func_socket+set}" = set; then
44299 echo $ECHO_N "(cached) $ECHO_C" >&6
44300 else
44301 cat >conftest.$ac_ext <<_ACEOF
44302 /* confdefs.h. */
44303 _ACEOF
44304 cat confdefs.h >>conftest.$ac_ext
44305 cat >>conftest.$ac_ext <<_ACEOF
44306 /* end confdefs.h. */
44307 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44309 #define socket innocuous_socket
44310
44311 /* System header to define __stub macros and hopefully few prototypes,
44312 which can conflict with char socket (); below.
44313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44314 <limits.h> exists even on freestanding compilers. */
44315
44316 #ifdef __STDC__
44317 # include <limits.h>
44318 #else
44319 # include <assert.h>
44320 #endif
44321
44322 #undef socket
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 /* The GNU C library defines this for functions which it implements
44332 to always fail with ENOSYS. Some functions are actually named
44333 something starting with __ and the normal name is an alias. */
44334 #if defined __stub_socket || defined __stub___socket
44335 choke me
44336 #endif
44337
44338 int
44339 main ()
44340 {
44341 return socket ();
44342 ;
44343 return 0;
44344 }
44345 _ACEOF
44346 rm -f conftest.$ac_objext conftest$ac_exeext
44347 if { (ac_try="$ac_link"
44348 case "(($ac_try" in
44349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44350 *) ac_try_echo=$ac_try;;
44351 esac
44352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44353 (eval "$ac_link") 2>conftest.er1
44354 ac_status=$?
44355 grep -v '^ *+' conftest.er1 >conftest.err
44356 rm -f conftest.er1
44357 cat conftest.err >&5
44358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44359 (exit $ac_status); } && {
44360 test -z "$ac_c_werror_flag" ||
44361 test ! -s conftest.err
44362 } && test -s conftest$ac_exeext &&
44363 $as_test_x conftest$ac_exeext; then
44364 ac_cv_func_socket=yes
44365 else
44366 echo "$as_me: failed program was:" >&5
44367 sed 's/^/| /' conftest.$ac_ext >&5
44368
44369 ac_cv_func_socket=no
44370 fi
44371
44372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44373 conftest$ac_exeext conftest.$ac_ext
44374 fi
44375 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44376 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44377 if test $ac_cv_func_socket = yes; then
44378 :
44379 else
44380
44381 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44382 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44383 if test "${ac_cv_lib_socket_socket+set}" = set; then
44384 echo $ECHO_N "(cached) $ECHO_C" >&6
44385 else
44386 ac_check_lib_save_LIBS=$LIBS
44387 LIBS="-lsocket $LIBS"
44388 cat >conftest.$ac_ext <<_ACEOF
44389 /* confdefs.h. */
44390 _ACEOF
44391 cat confdefs.h >>conftest.$ac_ext
44392 cat >>conftest.$ac_ext <<_ACEOF
44393 /* end confdefs.h. */
44394
44395 /* Override any GCC internal prototype to avoid an error.
44396 Use char because int might match the return type of a GCC
44397 builtin and then its argument prototype would still apply. */
44398 #ifdef __cplusplus
44399 extern "C"
44400 #endif
44401 char socket ();
44402 int
44403 main ()
44404 {
44405 return socket ();
44406 ;
44407 return 0;
44408 }
44409 _ACEOF
44410 rm -f conftest.$ac_objext conftest$ac_exeext
44411 if { (ac_try="$ac_link"
44412 case "(($ac_try" in
44413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44414 *) ac_try_echo=$ac_try;;
44415 esac
44416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44417 (eval "$ac_link") 2>conftest.er1
44418 ac_status=$?
44419 grep -v '^ *+' conftest.er1 >conftest.err
44420 rm -f conftest.er1
44421 cat conftest.err >&5
44422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44423 (exit $ac_status); } && {
44424 test -z "$ac_c_werror_flag" ||
44425 test ! -s conftest.err
44426 } && test -s conftest$ac_exeext &&
44427 $as_test_x conftest$ac_exeext; then
44428 ac_cv_lib_socket_socket=yes
44429 else
44430 echo "$as_me: failed program was:" >&5
44431 sed 's/^/| /' conftest.$ac_ext >&5
44432
44433 ac_cv_lib_socket_socket=no
44434 fi
44435
44436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44437 conftest$ac_exeext conftest.$ac_ext
44438 LIBS=$ac_check_lib_save_LIBS
44439 fi
44440 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44441 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44442 if test $ac_cv_lib_socket_socket = yes; then
44443 if test "$INET_LINK" != " -lsocket"; then
44444 INET_LINK="$INET_LINK -lsocket"
44445 fi
44446 else
44447
44448 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44449 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44450 wxUSE_SOCKETS=no
44451
44452
44453 fi
44454
44455
44456
44457 fi
44458
44459 fi
44460 fi
44461
44462 if test "$wxUSE_SOCKETS" = "yes" ; then
44463 if test "$TOOLKIT" != "MSW"; then
44464 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44465 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44466 if test "${wx_cv_type_getsockname3+set}" = set; then
44467 echo $ECHO_N "(cached) $ECHO_C" >&6
44468 else
44469
44470 ac_ext=cpp
44471 ac_cpp='$CXXCPP $CPPFLAGS'
44472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44475
44476 cat >conftest.$ac_ext <<_ACEOF
44477 /* confdefs.h. */
44478 _ACEOF
44479 cat confdefs.h >>conftest.$ac_ext
44480 cat >>conftest.$ac_ext <<_ACEOF
44481 /* end confdefs.h. */
44482
44483 #include <sys/types.h>
44484 #include <sys/socket.h>
44485
44486 int
44487 main ()
44488 {
44489
44490 socklen_t len;
44491 getsockname(0, 0, &len);
44492
44493 ;
44494 return 0;
44495 }
44496 _ACEOF
44497 rm -f conftest.$ac_objext
44498 if { (ac_try="$ac_compile"
44499 case "(($ac_try" in
44500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44501 *) ac_try_echo=$ac_try;;
44502 esac
44503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44504 (eval "$ac_compile") 2>conftest.er1
44505 ac_status=$?
44506 grep -v '^ *+' conftest.er1 >conftest.err
44507 rm -f conftest.er1
44508 cat conftest.err >&5
44509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44510 (exit $ac_status); } && {
44511 test -z "$ac_cxx_werror_flag" ||
44512 test ! -s conftest.err
44513 } && test -s conftest.$ac_objext; then
44514 wx_cv_type_getsockname3=socklen_t
44515 else
44516 echo "$as_me: failed program was:" >&5
44517 sed 's/^/| /' conftest.$ac_ext >&5
44518
44519
44520 CFLAGS_OLD="$CFLAGS"
44521 if test "$GCC" = yes ; then
44522 CFLAGS="-Werror $CFLAGS"
44523 fi
44524
44525 cat >conftest.$ac_ext <<_ACEOF
44526 /* confdefs.h. */
44527 _ACEOF
44528 cat confdefs.h >>conftest.$ac_ext
44529 cat >>conftest.$ac_ext <<_ACEOF
44530 /* end confdefs.h. */
44531
44532 #include <sys/types.h>
44533 #include <sys/socket.h>
44534
44535 int
44536 main ()
44537 {
44538
44539 size_t len;
44540 getsockname(0, 0, &len);
44541
44542 ;
44543 return 0;
44544 }
44545 _ACEOF
44546 rm -f conftest.$ac_objext
44547 if { (ac_try="$ac_compile"
44548 case "(($ac_try" in
44549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44550 *) ac_try_echo=$ac_try;;
44551 esac
44552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44553 (eval "$ac_compile") 2>conftest.er1
44554 ac_status=$?
44555 grep -v '^ *+' conftest.er1 >conftest.err
44556 rm -f conftest.er1
44557 cat conftest.err >&5
44558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44559 (exit $ac_status); } && {
44560 test -z "$ac_cxx_werror_flag" ||
44561 test ! -s conftest.err
44562 } && test -s conftest.$ac_objext; then
44563 wx_cv_type_getsockname3=size_t
44564 else
44565 echo "$as_me: failed program was:" >&5
44566 sed 's/^/| /' conftest.$ac_ext >&5
44567
44568 cat >conftest.$ac_ext <<_ACEOF
44569 /* confdefs.h. */
44570 _ACEOF
44571 cat confdefs.h >>conftest.$ac_ext
44572 cat >>conftest.$ac_ext <<_ACEOF
44573 /* end confdefs.h. */
44574
44575 #include <sys/types.h>
44576 #include <sys/socket.h>
44577
44578 int
44579 main ()
44580 {
44581
44582 int len;
44583 getsockname(0, 0, &len);
44584
44585 ;
44586 return 0;
44587 }
44588 _ACEOF
44589 rm -f conftest.$ac_objext
44590 if { (ac_try="$ac_compile"
44591 case "(($ac_try" in
44592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44593 *) ac_try_echo=$ac_try;;
44594 esac
44595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44596 (eval "$ac_compile") 2>conftest.er1
44597 ac_status=$?
44598 grep -v '^ *+' conftest.er1 >conftest.err
44599 rm -f conftest.er1
44600 cat conftest.err >&5
44601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44602 (exit $ac_status); } && {
44603 test -z "$ac_cxx_werror_flag" ||
44604 test ! -s conftest.err
44605 } && test -s conftest.$ac_objext; then
44606 wx_cv_type_getsockname3=int
44607 else
44608 echo "$as_me: failed program was:" >&5
44609 sed 's/^/| /' conftest.$ac_ext >&5
44610
44611 wx_cv_type_getsockname3=unknown
44612
44613 fi
44614
44615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44616
44617 fi
44618
44619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44620
44621 CFLAGS="$CFLAGS_OLD"
44622
44623
44624 fi
44625
44626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44627 ac_ext=c
44628 ac_cpp='$CPP $CPPFLAGS'
44629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44632
44633
44634 fi
44635 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44636 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44637
44638 if test "$wx_cv_type_getsockname3" = "unknown"; then
44639 wxUSE_SOCKETS=no
44640 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44641 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44642 else
44643 cat >>confdefs.h <<_ACEOF
44644 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44645 _ACEOF
44646
44647 fi
44648 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44649 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44650 if test "${wx_cv_type_getsockopt5+set}" = set; then
44651 echo $ECHO_N "(cached) $ECHO_C" >&6
44652 else
44653
44654 ac_ext=cpp
44655 ac_cpp='$CXXCPP $CPPFLAGS'
44656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44659
44660 cat >conftest.$ac_ext <<_ACEOF
44661 /* confdefs.h. */
44662 _ACEOF
44663 cat confdefs.h >>conftest.$ac_ext
44664 cat >>conftest.$ac_ext <<_ACEOF
44665 /* end confdefs.h. */
44666
44667 #include <sys/types.h>
44668 #include <sys/socket.h>
44669
44670 int
44671 main ()
44672 {
44673
44674 socklen_t len;
44675 getsockopt(0, 0, 0, 0, &len);
44676
44677 ;
44678 return 0;
44679 }
44680 _ACEOF
44681 rm -f conftest.$ac_objext
44682 if { (ac_try="$ac_compile"
44683 case "(($ac_try" in
44684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44685 *) ac_try_echo=$ac_try;;
44686 esac
44687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44688 (eval "$ac_compile") 2>conftest.er1
44689 ac_status=$?
44690 grep -v '^ *+' conftest.er1 >conftest.err
44691 rm -f conftest.er1
44692 cat conftest.err >&5
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); } && {
44695 test -z "$ac_cxx_werror_flag" ||
44696 test ! -s conftest.err
44697 } && test -s conftest.$ac_objext; then
44698 wx_cv_type_getsockopt5=socklen_t
44699 else
44700 echo "$as_me: failed program was:" >&5
44701 sed 's/^/| /' conftest.$ac_ext >&5
44702
44703
44704 cat >conftest.$ac_ext <<_ACEOF
44705 /* confdefs.h. */
44706 _ACEOF
44707 cat confdefs.h >>conftest.$ac_ext
44708 cat >>conftest.$ac_ext <<_ACEOF
44709 /* end confdefs.h. */
44710
44711 #include <sys/types.h>
44712 #include <sys/socket.h>
44713
44714 int
44715 main ()
44716 {
44717
44718 size_t len;
44719 getsockopt(0, 0, 0, 0, &len);
44720
44721 ;
44722 return 0;
44723 }
44724 _ACEOF
44725 rm -f conftest.$ac_objext
44726 if { (ac_try="$ac_compile"
44727 case "(($ac_try" in
44728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44729 *) ac_try_echo=$ac_try;;
44730 esac
44731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44732 (eval "$ac_compile") 2>conftest.er1
44733 ac_status=$?
44734 grep -v '^ *+' conftest.er1 >conftest.err
44735 rm -f conftest.er1
44736 cat conftest.err >&5
44737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44738 (exit $ac_status); } && {
44739 test -z "$ac_cxx_werror_flag" ||
44740 test ! -s conftest.err
44741 } && test -s conftest.$ac_objext; then
44742 wx_cv_type_getsockopt5=size_t
44743 else
44744 echo "$as_me: failed program was:" >&5
44745 sed 's/^/| /' conftest.$ac_ext >&5
44746
44747 cat >conftest.$ac_ext <<_ACEOF
44748 /* confdefs.h. */
44749 _ACEOF
44750 cat confdefs.h >>conftest.$ac_ext
44751 cat >>conftest.$ac_ext <<_ACEOF
44752 /* end confdefs.h. */
44753
44754 #include <sys/types.h>
44755 #include <sys/socket.h>
44756
44757 int
44758 main ()
44759 {
44760
44761 int len;
44762 getsockopt(0, 0, 0, 0, &len);
44763
44764 ;
44765 return 0;
44766 }
44767 _ACEOF
44768 rm -f conftest.$ac_objext
44769 if { (ac_try="$ac_compile"
44770 case "(($ac_try" in
44771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44772 *) ac_try_echo=$ac_try;;
44773 esac
44774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44775 (eval "$ac_compile") 2>conftest.er1
44776 ac_status=$?
44777 grep -v '^ *+' conftest.er1 >conftest.err
44778 rm -f conftest.er1
44779 cat conftest.err >&5
44780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44781 (exit $ac_status); } && {
44782 test -z "$ac_cxx_werror_flag" ||
44783 test ! -s conftest.err
44784 } && test -s conftest.$ac_objext; then
44785 wx_cv_type_getsockopt5=int
44786 else
44787 echo "$as_me: failed program was:" >&5
44788 sed 's/^/| /' conftest.$ac_ext >&5
44789
44790 wx_cv_type_getsockopt5=unknown
44791
44792 fi
44793
44794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44795
44796 fi
44797
44798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44799
44800
44801 fi
44802
44803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44804 ac_ext=c
44805 ac_cpp='$CPP $CPPFLAGS'
44806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44809
44810
44811 fi
44812 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44813 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44814
44815 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44816 wxUSE_SOCKETS=no
44817 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44818 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44819 else
44820 cat >>confdefs.h <<_ACEOF
44821 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44822 _ACEOF
44823
44824 fi
44825 fi
44826 fi
44827
44828 if test "$wxUSE_SOCKETS" = "yes" ; then
44829 if test "$wxUSE_IPV6" = "yes"; then
44830 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44831 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44832 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44833 echo $ECHO_N "(cached) $ECHO_C" >&6
44834 else
44835
44836 cat >conftest.$ac_ext <<_ACEOF
44837 /* confdefs.h. */
44838 _ACEOF
44839 cat confdefs.h >>conftest.$ac_ext
44840 cat >>conftest.$ac_ext <<_ACEOF
44841 /* end confdefs.h. */
44842
44843 #include <sys/types.h>
44844 #include <sys/socket.h>
44845 #include <netinet/in.h>
44846
44847 int
44848 main ()
44849 {
44850
44851 struct sockaddr_in6 sa6;
44852
44853 ;
44854 return 0;
44855 }
44856 _ACEOF
44857 rm -f conftest.$ac_objext
44858 if { (ac_try="$ac_compile"
44859 case "(($ac_try" in
44860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44861 *) ac_try_echo=$ac_try;;
44862 esac
44863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44864 (eval "$ac_compile") 2>conftest.er1
44865 ac_status=$?
44866 grep -v '^ *+' conftest.er1 >conftest.err
44867 rm -f conftest.er1
44868 cat conftest.err >&5
44869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44870 (exit $ac_status); } && {
44871 test -z "$ac_c_werror_flag" ||
44872 test ! -s conftest.err
44873 } && test -s conftest.$ac_objext; then
44874 wx_cv_type_sockaddr_in6=yes
44875 else
44876 echo "$as_me: failed program was:" >&5
44877 sed 's/^/| /' conftest.$ac_ext >&5
44878
44879 wx_cv_type_sockaddr_in6=no
44880
44881 fi
44882
44883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44884
44885
44886 fi
44887 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44888 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44889
44890 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44891 cat >>confdefs.h <<\_ACEOF
44892 #define wxUSE_IPV6 1
44893 _ACEOF
44894
44895 else
44896 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44897 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44898 fi
44899 fi
44900
44901 cat >>confdefs.h <<\_ACEOF
44902 #define wxUSE_SOCKETS 1
44903 _ACEOF
44904
44905 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44906 fi
44907
44908 if test "$wxUSE_PROTOCOL" = "yes"; then
44909 if test "$wxUSE_SOCKETS" != "yes"; then
44910 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44911 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44912 wxUSE_PROTOCOL=no
44913 fi
44914 fi
44915
44916 if test "$wxUSE_PROTOCOL" = "yes"; then
44917 cat >>confdefs.h <<\_ACEOF
44918 #define wxUSE_PROTOCOL 1
44919 _ACEOF
44920
44921
44922 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44923 cat >>confdefs.h <<\_ACEOF
44924 #define wxUSE_PROTOCOL_HTTP 1
44925 _ACEOF
44926
44927 fi
44928 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44929 cat >>confdefs.h <<\_ACEOF
44930 #define wxUSE_PROTOCOL_FTP 1
44931 _ACEOF
44932
44933 fi
44934 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44935 cat >>confdefs.h <<\_ACEOF
44936 #define wxUSE_PROTOCOL_FILE 1
44937 _ACEOF
44938
44939 fi
44940 else
44941 if test "$wxUSE_FS_INET" = "yes"; then
44942 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44943 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44944 wxUSE_FS_INET="no"
44945 fi
44946 fi
44947
44948 if test "$wxUSE_URL" = "yes"; then
44949 if test "$wxUSE_PROTOCOL" != "yes"; then
44950 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44951 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44952 wxUSE_URL=no
44953 fi
44954 if test "$wxUSE_URL" = "yes"; then
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_URL 1
44957 _ACEOF
44958
44959 fi
44960 fi
44961
44962 if test "$wxUSE_VARIANT" = "yes"; then
44963 cat >>confdefs.h <<\_ACEOF
44964 #define wxUSE_VARIANT 1
44965 _ACEOF
44966
44967 fi
44968
44969 if test "$wxUSE_FS_INET" = "yes"; then
44970 cat >>confdefs.h <<\_ACEOF
44971 #define wxUSE_FS_INET 1
44972 _ACEOF
44973
44974 fi
44975
44976
44977 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44978 wxUSE_JOYSTICK=no
44979
44980 if test "$TOOLKIT" = "MSW"; then
44981 wxUSE_JOYSTICK=yes
44982
44983 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
44984 if test "$USE_DARWIN" = 1; then
44985 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44986 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44987 ac_ext=cpp
44988 ac_cpp='$CXXCPP $CPPFLAGS'
44989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44992
44993 cat >conftest.$ac_ext <<_ACEOF
44994 /* confdefs.h. */
44995 _ACEOF
44996 cat confdefs.h >>conftest.$ac_ext
44997 cat >>conftest.$ac_ext <<_ACEOF
44998 /* end confdefs.h. */
44999 #include <IOKit/hid/IOHIDLib.h>
45000 int
45001 main ()
45002 {
45003 IOHIDQueueInterface *qi = NULL;
45004 IOHIDCallbackFunction cb = NULL;
45005 qi->setEventCallout(NULL, cb, NULL, NULL);
45006 ;
45007 return 0;
45008 }
45009 _ACEOF
45010 rm -f conftest.$ac_objext
45011 if { (ac_try="$ac_compile"
45012 case "(($ac_try" in
45013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45014 *) ac_try_echo=$ac_try;;
45015 esac
45016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45017 (eval "$ac_compile") 2>conftest.er1
45018 ac_status=$?
45019 grep -v '^ *+' conftest.er1 >conftest.err
45020 rm -f conftest.er1
45021 cat conftest.err >&5
45022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45023 (exit $ac_status); } && {
45024 test -z "$ac_cxx_werror_flag" ||
45025 test ! -s conftest.err
45026 } && test -s conftest.$ac_objext; then
45027 wxUSE_JOYSTICK=yes
45028
45029 else
45030 echo "$as_me: failed program was:" >&5
45031 sed 's/^/| /' conftest.$ac_ext >&5
45032
45033
45034 fi
45035
45036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45037 ac_ext=c
45038 ac_cpp='$CPP $CPPFLAGS'
45039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45042
45043 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45044 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45045 fi
45046
45047 else
45048 if test "$wxUSE_MGL" != 1; then
45049
45050 for ac_header in linux/joystick.h
45051 do
45052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45053 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45055 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45056 echo $ECHO_N "(cached) $ECHO_C" >&6
45057 else
45058 cat >conftest.$ac_ext <<_ACEOF
45059 /* confdefs.h. */
45060 _ACEOF
45061 cat confdefs.h >>conftest.$ac_ext
45062 cat >>conftest.$ac_ext <<_ACEOF
45063 /* end confdefs.h. */
45064 $ac_includes_default
45065
45066 #include <$ac_header>
45067 _ACEOF
45068 rm -f conftest.$ac_objext
45069 if { (ac_try="$ac_compile"
45070 case "(($ac_try" in
45071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45072 *) ac_try_echo=$ac_try;;
45073 esac
45074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45075 (eval "$ac_compile") 2>conftest.er1
45076 ac_status=$?
45077 grep -v '^ *+' conftest.er1 >conftest.err
45078 rm -f conftest.er1
45079 cat conftest.err >&5
45080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45081 (exit $ac_status); } && {
45082 test -z "$ac_c_werror_flag" ||
45083 test ! -s conftest.err
45084 } && test -s conftest.$ac_objext; then
45085 eval "$as_ac_Header=yes"
45086 else
45087 echo "$as_me: failed program was:" >&5
45088 sed 's/^/| /' conftest.$ac_ext >&5
45089
45090 eval "$as_ac_Header=no"
45091 fi
45092
45093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45094 fi
45095 ac_res=`eval echo '${'$as_ac_Header'}'`
45096 { echo "$as_me:$LINENO: result: $ac_res" >&5
45097 echo "${ECHO_T}$ac_res" >&6; }
45098 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45099 cat >>confdefs.h <<_ACEOF
45100 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45101 _ACEOF
45102 wxUSE_JOYSTICK=yes
45103 fi
45104
45105 done
45106
45107 fi
45108 fi
45109
45110 if test "$wxUSE_JOYSTICK" = "yes"; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_JOYSTICK 1
45113 _ACEOF
45114
45115 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45116 else
45117 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45118 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45119 fi
45120 fi
45121
45122
45123
45124 if test "$wxUSE_FONTENUM" = "yes" ; then
45125 cat >>confdefs.h <<\_ACEOF
45126 #define wxUSE_FONTENUM 1
45127 _ACEOF
45128
45129 fi
45130
45131 if test "$wxUSE_FONTMAP" = "yes" ; then
45132 cat >>confdefs.h <<\_ACEOF
45133 #define wxUSE_FONTMAP 1
45134 _ACEOF
45135
45136 fi
45137
45138 if test "$wxUSE_UNICODE" = "yes" ; then
45139 cat >>confdefs.h <<\_ACEOF
45140 #define wxUSE_UNICODE 1
45141 _ACEOF
45142
45143
45144 if test "$USE_WIN32" != 1; then
45145 wxUSE_UNICODE_MSLU=no
45146 fi
45147
45148 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45149 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45150 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45151 if test "${ac_cv_lib_unicows_main+set}" = set; then
45152 echo $ECHO_N "(cached) $ECHO_C" >&6
45153 else
45154 ac_check_lib_save_LIBS=$LIBS
45155 LIBS="-lunicows $LIBS"
45156 cat >conftest.$ac_ext <<_ACEOF
45157 /* confdefs.h. */
45158 _ACEOF
45159 cat confdefs.h >>conftest.$ac_ext
45160 cat >>conftest.$ac_ext <<_ACEOF
45161 /* end confdefs.h. */
45162
45163
45164 int
45165 main ()
45166 {
45167 return main ();
45168 ;
45169 return 0;
45170 }
45171 _ACEOF
45172 rm -f conftest.$ac_objext conftest$ac_exeext
45173 if { (ac_try="$ac_link"
45174 case "(($ac_try" in
45175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45176 *) ac_try_echo=$ac_try;;
45177 esac
45178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45179 (eval "$ac_link") 2>conftest.er1
45180 ac_status=$?
45181 grep -v '^ *+' conftest.er1 >conftest.err
45182 rm -f conftest.er1
45183 cat conftest.err >&5
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); } && {
45186 test -z "$ac_c_werror_flag" ||
45187 test ! -s conftest.err
45188 } && test -s conftest$ac_exeext &&
45189 $as_test_x conftest$ac_exeext; then
45190 ac_cv_lib_unicows_main=yes
45191 else
45192 echo "$as_me: failed program was:" >&5
45193 sed 's/^/| /' conftest.$ac_ext >&5
45194
45195 ac_cv_lib_unicows_main=no
45196 fi
45197
45198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45199 conftest$ac_exeext conftest.$ac_ext
45200 LIBS=$ac_check_lib_save_LIBS
45201 fi
45202 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45203 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45204 if test $ac_cv_lib_unicows_main = yes; then
45205
45206 cat >>confdefs.h <<\_ACEOF
45207 #define wxUSE_UNICODE_MSLU 1
45208 _ACEOF
45209
45210
45211 else
45212
45213 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45214 Applications will only run on Windows NT/2000/XP!" >&5
45215 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45216 Applications will only run on Windows NT/2000/XP!" >&2;}
45217 wxUSE_UNICODE_MSLU=no
45218
45219 fi
45220
45221 fi
45222 fi
45223
45224 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45225 cat >>confdefs.h <<\_ACEOF
45226 #define wxUSE_UNICODE_UTF8 1
45227 _ACEOF
45228
45229
45230 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_UTF8_LOCALE_ONLY 1
45233 _ACEOF
45234
45235 fi
45236 fi
45237
45238
45239 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45240 cat >>confdefs.h <<\_ACEOF
45241 #define wxUSE_CONSTRAINTS 1
45242 _ACEOF
45243
45244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45245 fi
45246
45247 if test "$wxUSE_MDI" = "yes"; then
45248 cat >>confdefs.h <<\_ACEOF
45249 #define wxUSE_MDI 1
45250 _ACEOF
45251
45252
45253 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_MDI_ARCHITECTURE 1
45256 _ACEOF
45257
45258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45259 fi
45260 fi
45261
45262 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45263 cat >>confdefs.h <<\_ACEOF
45264 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45265 _ACEOF
45266
45267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45268 fi
45269
45270 if test "$wxUSE_HELP" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_HELP 1
45273 _ACEOF
45274
45275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45276
45277 if test "$wxUSE_MSW" = 1; then
45278 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45279 cat >>confdefs.h <<\_ACEOF
45280 #define wxUSE_MS_HTML_HELP 1
45281 _ACEOF
45282
45283 fi
45284 fi
45285
45286 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45287 if test "$wxUSE_HTML" = "yes"; then
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_WXHTML_HELP 1
45290 _ACEOF
45291
45292 else
45293 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45294 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45295 wxUSE_WXHTML_HELP=no
45296 fi
45297 fi
45298 fi
45299
45300 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45301 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45302 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45303 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45304 else
45305 cat >>confdefs.h <<\_ACEOF
45306 #define wxUSE_PRINTING_ARCHITECTURE 1
45307 _ACEOF
45308
45309 fi
45310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45311 fi
45312
45313 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_POSTSCRIPT 1
45316 _ACEOF
45317
45318 fi
45319
45320 cat >>confdefs.h <<\_ACEOF
45321 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45322 _ACEOF
45323
45324
45325 if test "$wxUSE_SVG" = "yes"; then
45326 cat >>confdefs.h <<\_ACEOF
45327 #define wxUSE_SVG 1
45328 _ACEOF
45329
45330 fi
45331
45332
45333 if test "$wxUSE_METAFILE" = "yes"; then
45334 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45335 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45336 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45337 wxUSE_METAFILE=no
45338 fi
45339 fi
45340
45341
45342 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45343 -o "$wxUSE_CLIPBOARD" = "yes" \
45344 -o "$wxUSE_OLE" = "yes" \
45345 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45346 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45347 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45348 if test "${ac_cv_header_ole2_h+set}" = set; then
45349 echo $ECHO_N "(cached) $ECHO_C" >&6
45350 else
45351 cat >conftest.$ac_ext <<_ACEOF
45352 /* confdefs.h. */
45353 _ACEOF
45354 cat confdefs.h >>conftest.$ac_ext
45355 cat >>conftest.$ac_ext <<_ACEOF
45356 /* end confdefs.h. */
45357
45358
45359 #include <ole2.h>
45360 _ACEOF
45361 rm -f conftest.$ac_objext
45362 if { (ac_try="$ac_compile"
45363 case "(($ac_try" in
45364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45365 *) ac_try_echo=$ac_try;;
45366 esac
45367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45368 (eval "$ac_compile") 2>conftest.er1
45369 ac_status=$?
45370 grep -v '^ *+' conftest.er1 >conftest.err
45371 rm -f conftest.er1
45372 cat conftest.err >&5
45373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45374 (exit $ac_status); } && {
45375 test -z "$ac_c_werror_flag" ||
45376 test ! -s conftest.err
45377 } && test -s conftest.$ac_objext; then
45378 ac_cv_header_ole2_h=yes
45379 else
45380 echo "$as_me: failed program was:" >&5
45381 sed 's/^/| /' conftest.$ac_ext >&5
45382
45383 ac_cv_header_ole2_h=no
45384 fi
45385
45386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45387 fi
45388 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45389 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45390
45391
45392
45393 if test "$ac_cv_header_ole2_h" = "yes" ; then
45394 if test "$GCC" = yes ; then
45395 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45396 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45397 cat >conftest.$ac_ext <<_ACEOF
45398 /* confdefs.h. */
45399 _ACEOF
45400 cat confdefs.h >>conftest.$ac_ext
45401 cat >>conftest.$ac_ext <<_ACEOF
45402 /* end confdefs.h. */
45403 #include <windows.h>
45404 #include <ole2.h>
45405 int
45406 main ()
45407 {
45408
45409 ;
45410 return 0;
45411 }
45412 _ACEOF
45413 rm -f conftest.$ac_objext
45414 if { (ac_try="$ac_compile"
45415 case "(($ac_try" in
45416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45417 *) ac_try_echo=$ac_try;;
45418 esac
45419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45420 (eval "$ac_compile") 2>conftest.er1
45421 ac_status=$?
45422 grep -v '^ *+' conftest.er1 >conftest.err
45423 rm -f conftest.er1
45424 cat conftest.err >&5
45425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45426 (exit $ac_status); } && {
45427 test -z "$ac_c_werror_flag" ||
45428 test ! -s conftest.err
45429 } && test -s conftest.$ac_objext; then
45430 { echo "$as_me:$LINENO: result: no" >&5
45431 echo "${ECHO_T}no" >&6; }
45432 else
45433 echo "$as_me: failed program was:" >&5
45434 sed 's/^/| /' conftest.$ac_ext >&5
45435
45436 { echo "$as_me:$LINENO: result: yes" >&5
45437 echo "${ECHO_T}yes" >&6; }
45438 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45439 fi
45440
45441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45442 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45443 if test "$wxUSE_OLE" = "yes" ; then
45444 cat >>confdefs.h <<\_ACEOF
45445 #define wxUSE_OLE 1
45446 _ACEOF
45447
45448 cat >>confdefs.h <<\_ACEOF
45449 #define wxUSE_OLE_AUTOMATION 1
45450 _ACEOF
45451
45452 cat >>confdefs.h <<\_ACEOF
45453 #define wxUSE_ACTIVEX 1
45454 _ACEOF
45455
45456 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45457 fi
45458 fi
45459
45460 if test "$wxUSE_DATAOBJ" = "yes" ; then
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_DATAOBJ 1
45463 _ACEOF
45464
45465 fi
45466 else
45467 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45468 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45469
45470 wxUSE_CLIPBOARD=no
45471 wxUSE_DRAG_AND_DROP=no
45472 wxUSE_DATAOBJ=no
45473 wxUSE_OLE=no
45474 fi
45475
45476 if test "$wxUSE_METAFILE" = "yes"; then
45477 cat >>confdefs.h <<\_ACEOF
45478 #define wxUSE_METAFILE 1
45479 _ACEOF
45480
45481
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_ENH_METAFILE 1
45484 _ACEOF
45485
45486 fi
45487 fi
45488
45489 if test "$wxUSE_IPC" = "yes"; then
45490 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45491 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45492 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45493 wxUSE_IPC=no
45494 fi
45495
45496 if test "$wxUSE_IPC" = "yes"; then
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_IPC 1
45499 _ACEOF
45500
45501 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45502 fi
45503 fi
45504
45505 if test "$wxUSE_DATAOBJ" = "yes"; then
45506 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45507 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45508 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45509 wxUSE_DATAOBJ=no
45510 else
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_DATAOBJ 1
45513 _ACEOF
45514
45515 fi
45516 else
45517 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45518 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45519 wxUSE_CLIPBOARD=no
45520 wxUSE_DRAG_AND_DROP=no
45521 fi
45522
45523 if test "$wxUSE_CLIPBOARD" = "yes"; then
45524 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45525 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45526 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45527 wxUSE_CLIPBOARD=no
45528 fi
45529
45530 if test "$wxUSE_CLIPBOARD" = "yes"; then
45531 cat >>confdefs.h <<\_ACEOF
45532 #define wxUSE_CLIPBOARD 1
45533 _ACEOF
45534
45535 fi
45536 fi
45537
45538 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45539 if test "$wxUSE_GTK" = 1; then
45540 if test "$WXGTK12" != 1; then
45541 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45542 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45543 wxUSE_DRAG_AND_DROP=no
45544 fi
45545 fi
45546
45547 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45548 "$wxUSE_DFB" = 1; then
45549 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45550 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45551 wxUSE_DRAG_AND_DROP=no
45552 fi
45553
45554 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45555 cat >>confdefs.h <<\_ACEOF
45556 #define wxUSE_DRAG_AND_DROP 1
45557 _ACEOF
45558
45559 fi
45560
45561 fi
45562
45563 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45565 fi
45566
45567 if test "$wxUSE_SPLINES" = "yes" ; then
45568 cat >>confdefs.h <<\_ACEOF
45569 #define wxUSE_SPLINES 1
45570 _ACEOF
45571
45572 fi
45573
45574 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_MOUSEWHEEL 1
45577 _ACEOF
45578
45579 fi
45580
45581
45582 USES_CONTROLS=0
45583 if test "$wxUSE_CONTROLS" = "yes"; then
45584 USES_CONTROLS=1
45585 fi
45586
45587 if test "$wxUSE_ACCEL" = "yes"; then
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_ACCEL 1
45590 _ACEOF
45591
45592 USES_CONTROLS=1
45593 fi
45594
45595 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_ANIMATIONCTRL 1
45598 _ACEOF
45599
45600 USES_CONTROLS=1
45601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45602 fi
45603
45604 if test "$wxUSE_BUTTON" = "yes"; then
45605 cat >>confdefs.h <<\_ACEOF
45606 #define wxUSE_BUTTON 1
45607 _ACEOF
45608
45609 USES_CONTROLS=1
45610 fi
45611
45612 if test "$wxUSE_BMPBUTTON" = "yes"; then
45613 cat >>confdefs.h <<\_ACEOF
45614 #define wxUSE_BMPBUTTON 1
45615 _ACEOF
45616
45617 USES_CONTROLS=1
45618 fi
45619
45620 if test "$wxUSE_CALCTRL" = "yes"; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_CALENDARCTRL 1
45623 _ACEOF
45624
45625 USES_CONTROLS=1
45626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45627 fi
45628
45629 if test "$wxUSE_CARET" = "yes"; then
45630 cat >>confdefs.h <<\_ACEOF
45631 #define wxUSE_CARET 1
45632 _ACEOF
45633
45634 USES_CONTROLS=1
45635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45636 fi
45637
45638 if test "$wxUSE_COLLPANE" = "yes"; then
45639 cat >>confdefs.h <<\_ACEOF
45640 #define wxUSE_COLLPANE 1
45641 _ACEOF
45642
45643 USES_CONTROLS=1
45644 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45645 fi
45646
45647 if test "$wxUSE_COMBOBOX" = "yes"; then
45648 cat >>confdefs.h <<\_ACEOF
45649 #define wxUSE_COMBOBOX 1
45650 _ACEOF
45651
45652 USES_CONTROLS=1
45653 fi
45654
45655 if test "$wxUSE_COMBOCTRL" = "yes"; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_COMBOCTRL 1
45658 _ACEOF
45659
45660 USES_CONTROLS=1
45661 fi
45662
45663 if test "$wxUSE_CHOICE" = "yes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_CHOICE 1
45666 _ACEOF
45667
45668 USES_CONTROLS=1
45669 fi
45670
45671 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45672 cat >>confdefs.h <<\_ACEOF
45673 #define wxUSE_CHOICEBOOK 1
45674 _ACEOF
45675
45676 USES_CONTROLS=1
45677 fi
45678
45679 if test "$wxUSE_CHECKBOX" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_CHECKBOX 1
45682 _ACEOF
45683
45684 USES_CONTROLS=1
45685 fi
45686
45687 if test "$wxUSE_CHECKLST" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_CHECKLISTBOX 1
45690 _ACEOF
45691
45692 USES_CONTROLS=1
45693 fi
45694
45695 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define wxUSE_COLOURPICKERCTRL 1
45698 _ACEOF
45699
45700 USES_CONTROLS=1
45701 fi
45702
45703 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_DATEPICKCTRL 1
45706 _ACEOF
45707
45708 USES_CONTROLS=1
45709 fi
45710
45711 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_DIRPICKERCTRL 1
45714 _ACEOF
45715
45716 USES_CONTROLS=1
45717 fi
45718
45719 if test "$wxUSE_FILECTRL" = "yes"; then
45720 cat >>confdefs.h <<\_ACEOF
45721 #define wxUSE_FILECTRL 1
45722 _ACEOF
45723
45724 USES_CONTROLS=1
45725 fi
45726
45727 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45728 cat >>confdefs.h <<\_ACEOF
45729 #define wxUSE_FILEPICKERCTRL 1
45730 _ACEOF
45731
45732 USES_CONTROLS=1
45733 fi
45734
45735 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_FONTPICKERCTRL 1
45738 _ACEOF
45739
45740 USES_CONTROLS=1
45741 fi
45742
45743 if test "$wxUSE_DISPLAY" = "yes"; then
45744 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45745 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45746 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45747 wxUSE_DISPLAY=no
45748 else
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_DISPLAY 1
45751 _ACEOF
45752
45753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45754 fi
45755 fi
45756
45757 if test "$wxUSE_DETECT_SM" = "yes"; then
45758 cat >>confdefs.h <<\_ACEOF
45759 #define wxUSE_DETECT_SM 1
45760 _ACEOF
45761
45762 fi
45763
45764 if test "$wxUSE_GAUGE" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_GAUGE 1
45767 _ACEOF
45768
45769 USES_CONTROLS=1
45770 fi
45771
45772 if test "$wxUSE_GRID" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_GRID 1
45775 _ACEOF
45776
45777 USES_CONTROLS=1
45778 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45779 fi
45780
45781 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45782 cat >>confdefs.h <<\_ACEOF
45783 #define wxUSE_HYPERLINKCTRL 1
45784 _ACEOF
45785
45786 USES_CONTROLS=1
45787 fi
45788
45789 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45790 cat >>confdefs.h <<\_ACEOF
45791 #define wxUSE_BITMAPCOMBOBOX 1
45792 _ACEOF
45793
45794 USES_CONTROLS=1
45795 fi
45796
45797 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_DATAVIEWCTRL 1
45800 _ACEOF
45801
45802 USES_CONTROLS=1
45803 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45804 fi
45805
45806 if test "$wxUSE_IMAGLIST" = "yes"; then
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_IMAGLIST 1
45809 _ACEOF
45810
45811 fi
45812
45813 if test "$wxUSE_LISTBOOK" = "yes"; then
45814 cat >>confdefs.h <<\_ACEOF
45815 #define wxUSE_LISTBOOK 1
45816 _ACEOF
45817
45818 USES_CONTROLS=1
45819 fi
45820
45821 if test "$wxUSE_LISTBOX" = "yes"; then
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_LISTBOX 1
45824 _ACEOF
45825
45826 USES_CONTROLS=1
45827 fi
45828
45829 if test "$wxUSE_LISTCTRL" = "yes"; then
45830 if test "$wxUSE_IMAGLIST" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_LISTCTRL 1
45833 _ACEOF
45834
45835 USES_CONTROLS=1
45836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45837 else
45838 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45839 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45840 fi
45841 fi
45842
45843 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45844 cat >>confdefs.h <<\_ACEOF
45845 #define wxUSE_EDITABLELISTBOX 1
45846 _ACEOF
45847
45848 USES_CONTROLS=1
45849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45850 fi
45851
45852 if test "$wxUSE_NOTEBOOK" = "yes"; then
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_NOTEBOOK 1
45855 _ACEOF
45856
45857 USES_CONTROLS=1
45858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45859 fi
45860
45861 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_NOTIFICATION_MESSAGE 1
45864 _ACEOF
45865
45866 fi
45867
45868 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_ODCOMBOBOX 1
45871 _ACEOF
45872
45873 USES_CONTROLS=1
45874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45875 fi
45876
45877 if test "$wxUSE_RADIOBOX" = "yes"; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_RADIOBOX 1
45880 _ACEOF
45881
45882 USES_CONTROLS=1
45883 fi
45884
45885 if test "$wxUSE_RADIOBTN" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_RADIOBTN 1
45888 _ACEOF
45889
45890 USES_CONTROLS=1
45891 fi
45892
45893 if test "$wxUSE_SASH" = "yes"; then
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_SASH 1
45896 _ACEOF
45897
45898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45899 fi
45900
45901 if test "$wxUSE_SCROLLBAR" = "yes"; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_SCROLLBAR 1
45904 _ACEOF
45905
45906 USES_CONTROLS=1
45907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45908 fi
45909
45910 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_SEARCHCTRL 1
45913 _ACEOF
45914
45915 USES_CONTROLS=1
45916 fi
45917
45918 if test "$wxUSE_SLIDER" = "yes"; then
45919 cat >>confdefs.h <<\_ACEOF
45920 #define wxUSE_SLIDER 1
45921 _ACEOF
45922
45923 USES_CONTROLS=1
45924 fi
45925
45926 if test "$wxUSE_SPINBTN" = "yes"; then
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_SPINBTN 1
45929 _ACEOF
45930
45931 USES_CONTROLS=1
45932 fi
45933
45934 if test "$wxUSE_SPINCTRL" = "yes"; then
45935 cat >>confdefs.h <<\_ACEOF
45936 #define wxUSE_SPINCTRL 1
45937 _ACEOF
45938
45939 USES_CONTROLS=1
45940 fi
45941
45942 if test "$wxUSE_SPLITTER" = "yes"; then
45943 cat >>confdefs.h <<\_ACEOF
45944 #define wxUSE_SPLITTER 1
45945 _ACEOF
45946
45947 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45948 fi
45949
45950 if test "$wxUSE_STATBMP" = "yes"; then
45951 cat >>confdefs.h <<\_ACEOF
45952 #define wxUSE_STATBMP 1
45953 _ACEOF
45954
45955 USES_CONTROLS=1
45956 fi
45957
45958 if test "$wxUSE_STATBOX" = "yes"; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_STATBOX 1
45961 _ACEOF
45962
45963 USES_CONTROLS=1
45964 fi
45965
45966 if test "$wxUSE_STATTEXT" = "yes"; then
45967 cat >>confdefs.h <<\_ACEOF
45968 #define wxUSE_STATTEXT 1
45969 _ACEOF
45970
45971 USES_CONTROLS=1
45972 fi
45973
45974 if test "$wxUSE_STATLINE" = "yes"; then
45975 cat >>confdefs.h <<\_ACEOF
45976 #define wxUSE_STATLINE 1
45977 _ACEOF
45978
45979 USES_CONTROLS=1
45980 fi
45981
45982 if test "$wxUSE_STATUSBAR" = "yes"; then
45983 cat >>confdefs.h <<\_ACEOF
45984 #define wxUSE_NATIVE_STATUSBAR 1
45985 _ACEOF
45986
45987 cat >>confdefs.h <<\_ACEOF
45988 #define wxUSE_STATUSBAR 1
45989 _ACEOF
45990
45991 USES_CONTROLS=1
45992
45993 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45994 fi
45995
45996 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45997 cat >>confdefs.h <<\_ACEOF
45998 #define wxUSE_TAB_DIALOG 1
45999 _ACEOF
46000
46001 fi
46002
46003 if test "$wxUSE_TEXTCTRL" = "yes"; then
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_TEXTCTRL 1
46006 _ACEOF
46007
46008 USES_CONTROLS=1
46009 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46010
46011 cat >>confdefs.h <<\_ACEOF
46012 #define wxUSE_RICHEDIT 1
46013 _ACEOF
46014
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_RICHEDIT2 1
46017 _ACEOF
46018
46019 fi
46020
46021 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46022 if test "$wxUSE_COCOA" = 1 ; then
46023 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46024 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46025 wxUSE_TOGGLEBTN=no
46026 fi
46027
46028 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_TOGGLEBTN 1
46031 _ACEOF
46032
46033 USES_CONTROLS=1
46034 fi
46035 fi
46036
46037 if test "$wxUSE_TOOLBAR" = "yes"; then
46038 cat >>confdefs.h <<\_ACEOF
46039 #define wxUSE_TOOLBAR 1
46040 _ACEOF
46041
46042 USES_CONTROLS=1
46043
46044 if test "$wxUSE_UNIVERSAL" = "yes"; then
46045 wxUSE_TOOLBAR_NATIVE="no"
46046 else
46047 wxUSE_TOOLBAR_NATIVE="yes"
46048 cat >>confdefs.h <<\_ACEOF
46049 #define wxUSE_TOOLBAR_NATIVE 1
46050 _ACEOF
46051
46052 fi
46053
46054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46055 fi
46056
46057 if test "$wxUSE_TOOLTIPS" = "yes"; then
46058 if test "$wxUSE_MOTIF" = 1; then
46059 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46060 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46061 else
46062 if test "$wxUSE_UNIVERSAL" = "yes"; then
46063 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46064 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46065 else
46066 cat >>confdefs.h <<\_ACEOF
46067 #define wxUSE_TOOLTIPS 1
46068 _ACEOF
46069
46070 fi
46071 fi
46072 fi
46073
46074 if test "$wxUSE_TREEBOOK" = "yes"; then
46075 cat >>confdefs.h <<\_ACEOF
46076 #define wxUSE_TREEBOOK 1
46077 _ACEOF
46078
46079 USES_CONTROLS=1
46080 fi
46081
46082 if test "$wxUSE_TOOLBOOK" = "yes"; then
46083 cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_TOOLBOOK 1
46085 _ACEOF
46086
46087 USES_CONTROLS=1
46088 fi
46089
46090 if test "$wxUSE_TREECTRL" = "yes"; then
46091 if test "$wxUSE_IMAGLIST" = "yes"; then
46092 cat >>confdefs.h <<\_ACEOF
46093 #define wxUSE_TREECTRL 1
46094 _ACEOF
46095
46096 USES_CONTROLS=1
46097 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46098 else
46099 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46100 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46101 fi
46102 fi
46103
46104 if test "$wxUSE_POPUPWIN" = "yes"; then
46105 if test "$wxUSE_COCOA" = 1 ; then
46106 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46107 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46108 else
46109 if test "$wxUSE_PM" = 1; then
46110 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46111 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46112 else
46113 cat >>confdefs.h <<\_ACEOF
46114 #define wxUSE_POPUPWIN 1
46115 _ACEOF
46116
46117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46118
46119 USES_CONTROLS=1
46120 fi
46121 fi
46122 fi
46123
46124 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46125 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46126 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46127 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46128 else
46129 cat >>confdefs.h <<\_ACEOF
46130 #define wxUSE_DIALUP_MANAGER 1
46131 _ACEOF
46132
46133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46134 fi
46135 fi
46136
46137 if test "$wxUSE_TIPWINDOW" = "yes"; then
46138 if test "$wxUSE_PM" = 1; then
46139 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46140 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46141 else
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_TIPWINDOW 1
46144 _ACEOF
46145
46146 fi
46147 fi
46148
46149 if test "$USES_CONTROLS" = 1; then
46150 cat >>confdefs.h <<\_ACEOF
46151 #define wxUSE_CONTROLS 1
46152 _ACEOF
46153
46154 fi
46155
46156
46157 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46158 cat >>confdefs.h <<\_ACEOF
46159 #define wxUSE_ACCESSIBILITY 1
46160 _ACEOF
46161
46162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46163 fi
46164
46165 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_DRAGIMAGE 1
46168 _ACEOF
46169
46170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46171 fi
46172
46173 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46174 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46175 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46176 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46177 else
46178 cat >>confdefs.h <<\_ACEOF
46179 #define wxUSE_EXCEPTIONS 1
46180 _ACEOF
46181
46182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46183 fi
46184 fi
46185
46186 USE_HTML=0
46187 if test "$wxUSE_HTML" = "yes"; then
46188 cat >>confdefs.h <<\_ACEOF
46189 #define wxUSE_HTML 1
46190 _ACEOF
46191
46192 USE_HTML=1
46193 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46194 fi
46195 if test "$wxUSE_WEBKIT" = "yes"; then
46196 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46197 old_CPPFLAGS="$CPPFLAGS"
46198 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46199 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46200 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46201 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46202 echo $ECHO_N "(cached) $ECHO_C" >&6
46203 else
46204 cat >conftest.$ac_ext <<_ACEOF
46205 /* confdefs.h. */
46206 _ACEOF
46207 cat confdefs.h >>conftest.$ac_ext
46208 cat >>conftest.$ac_ext <<_ACEOF
46209 /* end confdefs.h. */
46210
46211 #include <Carbon/Carbon.h>
46212 #include <WebKit/WebKit.h>
46213
46214
46215 #include <WebKit/HIWebView.h>
46216 _ACEOF
46217 rm -f conftest.$ac_objext
46218 if { (ac_try="$ac_compile"
46219 case "(($ac_try" in
46220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46221 *) ac_try_echo=$ac_try;;
46222 esac
46223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46224 (eval "$ac_compile") 2>conftest.er1
46225 ac_status=$?
46226 grep -v '^ *+' conftest.er1 >conftest.err
46227 rm -f conftest.er1
46228 cat conftest.err >&5
46229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46230 (exit $ac_status); } && {
46231 test -z "$ac_c_werror_flag" ||
46232 test ! -s conftest.err
46233 } && test -s conftest.$ac_objext; then
46234 ac_cv_header_WebKit_HIWebView_h=yes
46235 else
46236 echo "$as_me: failed program was:" >&5
46237 sed 's/^/| /' conftest.$ac_ext >&5
46238
46239 ac_cv_header_WebKit_HIWebView_h=no
46240 fi
46241
46242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46243 fi
46244 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46245 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46246 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46247
46248 cat >>confdefs.h <<\_ACEOF
46249 #define wxUSE_WEBKIT 1
46250 _ACEOF
46251
46252 WEBKIT_LINK="-framework WebKit"
46253
46254 else
46255
46256 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46257 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46258 wxUSE_WEBKIT=no
46259
46260 fi
46261
46262
46263 CPPFLAGS="$old_CPPFLAGS"
46264 elif test "$wxUSE_COCOA" = 1; then
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_WEBKIT 1
46267 _ACEOF
46268
46269 else
46270 wxUSE_WEBKIT=no
46271 fi
46272 if test "$wxUSE_WEBKIT" = "yes"; then
46273 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46274 fi
46275 fi
46276
46277 USE_XRC=0
46278 if test "$wxUSE_XRC" = "yes"; then
46279 if test "$wxUSE_XML" != "yes"; then
46280 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46281 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46282 wxUSE_XRC=no
46283 else
46284 cat >>confdefs.h <<\_ACEOF
46285 #define wxUSE_XRC 1
46286 _ACEOF
46287
46288 USE_XRC=1
46289 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46290 fi
46291 fi
46292
46293 USE_AUI=0
46294 if test "$wxUSE_AUI" = "yes"; then
46295 cat >>confdefs.h <<\_ACEOF
46296 #define wxUSE_AUI 1
46297 _ACEOF
46298
46299 USE_AUI=1
46300 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46301 fi
46302
46303 USE_PROPGRID=0
46304 if test "$wxUSE_PROPGRID" = "yes"; then
46305 cat >>confdefs.h <<\_ACEOF
46306 #define wxUSE_PROPGRID 1
46307 _ACEOF
46308
46309 USE_PROPGRID=1
46310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46311 fi
46312
46313 USE_STC=0
46314 if test "$wxUSE_STC" = "yes"; then
46315 cat >>confdefs.h <<\_ACEOF
46316 #define wxUSE_STC 1
46317 _ACEOF
46318
46319 USE_STC=1
46320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46321 fi
46322
46323 if test "$wxUSE_MENUS" = "yes"; then
46324 cat >>confdefs.h <<\_ACEOF
46325 #define wxUSE_MENUS 1
46326 _ACEOF
46327
46328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46329 fi
46330
46331 if test "$wxUSE_METAFILE" = "yes"; then
46332 cat >>confdefs.h <<\_ACEOF
46333 #define wxUSE_METAFILE 1
46334 _ACEOF
46335
46336 fi
46337
46338 if test "$wxUSE_MIMETYPE" = "yes"; then
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_MIMETYPE 1
46341 _ACEOF
46342
46343 fi
46344
46345 if test "$wxUSE_MINIFRAME" = "yes"; then
46346 cat >>confdefs.h <<\_ACEOF
46347 #define wxUSE_MINIFRAME 1
46348 _ACEOF
46349
46350 fi
46351
46352 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46353 cat >>confdefs.h <<\_ACEOF
46354 #define wxUSE_SYSTEM_OPTIONS 1
46355 _ACEOF
46356
46357 fi
46358
46359 if test "$wxUSE_TASKBARICON" = "yes"; then
46360 cat >>confdefs.h <<\_ACEOF
46361 #define wxUSE_TASKBARICON 1
46362 _ACEOF
46363
46364 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46365 fi
46366
46367
46368 if test "$wxUSE_VALIDATORS" = "yes"; then
46369 cat >>confdefs.h <<\_ACEOF
46370 #define wxUSE_VALIDATORS 1
46371 _ACEOF
46372
46373 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46374 fi
46375
46376 if test "$wxUSE_PALETTE" = "yes" ; then
46377 if test "$wxUSE_DFB" = 1; then
46378 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46379 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46380 wxUSE_PALETTE=no
46381 else
46382 cat >>confdefs.h <<\_ACEOF
46383 #define wxUSE_PALETTE 1
46384 _ACEOF
46385
46386 fi
46387 fi
46388
46389 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46390 LIBS=" -lunicows $LIBS"
46391 fi
46392
46393 USE_RICHTEXT=0
46394 if test "$wxUSE_RICHTEXT" = "yes"; then
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_RICHTEXT 1
46397 _ACEOF
46398
46399 USE_RICHTEXT=1
46400 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46401 fi
46402
46403
46404 if test "$wxUSE_IMAGE" = "yes" ; then
46405 cat >>confdefs.h <<\_ACEOF
46406 #define wxUSE_IMAGE 1
46407 _ACEOF
46408
46409
46410 if test "$wxUSE_GIF" = "yes" ; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_GIF 1
46413 _ACEOF
46414
46415 fi
46416
46417 if test "$wxUSE_PCX" = "yes" ; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_PCX 1
46420 _ACEOF
46421
46422 fi
46423
46424 if test "$wxUSE_TGA" = "yes" ; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_TGA 1
46427 _ACEOF
46428
46429 fi
46430
46431 if test "$wxUSE_IFF" = "yes" ; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_IFF 1
46434 _ACEOF
46435
46436 fi
46437
46438 if test "$wxUSE_PNM" = "yes" ; then
46439 cat >>confdefs.h <<\_ACEOF
46440 #define wxUSE_PNM 1
46441 _ACEOF
46442
46443 fi
46444
46445 if test "$wxUSE_XPM" = "yes" ; then
46446 cat >>confdefs.h <<\_ACEOF
46447 #define wxUSE_XPM 1
46448 _ACEOF
46449
46450 fi
46451
46452 if test "$wxUSE_ICO_CUR" = "yes" ; then
46453 cat >>confdefs.h <<\_ACEOF
46454 #define wxUSE_ICO_CUR 1
46455 _ACEOF
46456
46457 fi
46458 fi
46459
46460
46461 if test "$wxUSE_ABOUTDLG" = "yes"; then
46462 cat >>confdefs.h <<\_ACEOF
46463 #define wxUSE_ABOUTDLG 1
46464 _ACEOF
46465
46466 fi
46467
46468 if test "$wxUSE_CHOICEDLG" = "yes"; then
46469 cat >>confdefs.h <<\_ACEOF
46470 #define wxUSE_CHOICEDLG 1
46471 _ACEOF
46472
46473 fi
46474
46475 if test "$wxUSE_COLOURDLG" = "yes"; then
46476 cat >>confdefs.h <<\_ACEOF
46477 #define wxUSE_COLOURDLG 1
46478 _ACEOF
46479
46480 fi
46481
46482 if test "$wxUSE_FILEDLG" = "yes"; then
46483 cat >>confdefs.h <<\_ACEOF
46484 #define wxUSE_FILEDLG 1
46485 _ACEOF
46486
46487 fi
46488
46489 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46490 cat >>confdefs.h <<\_ACEOF
46491 #define wxUSE_FINDREPLDLG 1
46492 _ACEOF
46493
46494 fi
46495
46496 if test "$wxUSE_FONTDLG" = "yes"; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_FONTDLG 1
46499 _ACEOF
46500
46501 fi
46502
46503 if test "$wxUSE_DIRDLG" = "yes"; then
46504 if test "$wxUSE_TREECTRL" != "yes"; then
46505 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46506 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46507 else
46508 cat >>confdefs.h <<\_ACEOF
46509 #define wxUSE_DIRDLG 1
46510 _ACEOF
46511
46512 fi
46513 fi
46514
46515 if test "$wxUSE_MSGDLG" = "yes"; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_MSGDLG 1
46518 _ACEOF
46519
46520 fi
46521
46522 if test "$wxUSE_NUMBERDLG" = "yes"; then
46523 cat >>confdefs.h <<\_ACEOF
46524 #define wxUSE_NUMBERDLG 1
46525 _ACEOF
46526
46527 fi
46528
46529 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46530 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46531 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46532 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46533 else
46534 cat >>confdefs.h <<\_ACEOF
46535 #define wxUSE_PROGRESSDLG 1
46536 _ACEOF
46537
46538 fi
46539 fi
46540
46541 if test "$wxUSE_SPLASH" = "yes"; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_SPLASH 1
46544 _ACEOF
46545
46546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46547 fi
46548
46549 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46550 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46551 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46552 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46553 else
46554 cat >>confdefs.h <<\_ACEOF
46555 #define wxUSE_STARTUP_TIPS 1
46556 _ACEOF
46557
46558 fi
46559 fi
46560
46561 if test "$wxUSE_TEXTDLG" = "yes"; then
46562 cat >>confdefs.h <<\_ACEOF
46563 #define wxUSE_TEXTDLG 1
46564 _ACEOF
46565
46566 fi
46567
46568 if test "$wxUSE_WIZARDDLG" = "yes"; then
46569 cat >>confdefs.h <<\_ACEOF
46570 #define wxUSE_WIZARDDLG 1
46571 _ACEOF
46572
46573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46574 fi
46575
46576
46577 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46578 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46579 cat >>confdefs.h <<\_ACEOF
46580 #define wxUSE_OWNER_DRAWN 1
46581 _ACEOF
46582
46583 fi
46584 fi
46585
46586
46587 if test "$wxUSE_MSW" = 1 ; then
46588
46589 if test "$wxUSE_DC_CACHEING" = "yes"; then
46590 cat >>confdefs.h <<\_ACEOF
46591 #define wxUSE_DC_CACHEING 1
46592 _ACEOF
46593
46594 fi
46595
46596 if test "$wxUSE_DIB" = "yes"; then
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_WXDIB 1
46599 _ACEOF
46600
46601 fi
46602
46603 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46604 cat >>confdefs.h <<\_ACEOF
46605 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46606 _ACEOF
46607
46608 fi
46609
46610 if test "$wxUSE_UXTHEME" = "yes"; then
46611 cat >>confdefs.h <<\_ACEOF
46612 #define wxUSE_UXTHEME 1
46613 _ACEOF
46614
46615 fi
46616
46617 fi
46618
46619 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46620 cat >>confdefs.h <<\_ACEOF
46621 #define wxUSE_AUTOID_MANAGEMENT 1
46622 _ACEOF
46623
46624 fi
46625
46626 if test "$USE_WIN32" = 1 ; then
46627 if test "$wxUSE_INICONF" = "yes"; then
46628 cat >>confdefs.h <<\_ACEOF
46629 #define wxUSE_INICONF 1
46630 _ACEOF
46631
46632 fi
46633
46634 if test "$wxUSE_REGKEY" = "yes"; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_REGKEY 1
46637 _ACEOF
46638
46639 fi
46640 fi
46641
46642
46643 if test "$wxUSE_MAC" = 1; then
46644 wxUSE_GRAPHICS_CONTEXT="yes"
46645 fi
46646
46647 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46648 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46649 cat >>confdefs.h <<\_ACEOF
46650 #define wxUSE_GRAPHICS_CONTEXT 1
46651 _ACEOF
46652
46653 elif test "$wxUSE_GTK" != 1; then
46654 cat >>confdefs.h <<\_ACEOF
46655 #define wxUSE_GRAPHICS_CONTEXT 1
46656 _ACEOF
46657
46658 else
46659
46660 pkg_failed=no
46661 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46662 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46663
46664 if test -n "$PKG_CONFIG"; then
46665 if test -n "$CAIRO_CFLAGS"; then
46666 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46667 else
46668 if test -n "$PKG_CONFIG" && \
46669 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46670 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46671 ac_status=$?
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); }; then
46674 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46675 else
46676 pkg_failed=yes
46677 fi
46678 fi
46679 else
46680 pkg_failed=untried
46681 fi
46682 if test -n "$PKG_CONFIG"; then
46683 if test -n "$CAIRO_LIBS"; then
46684 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46685 else
46686 if test -n "$PKG_CONFIG" && \
46687 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46688 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46689 ac_status=$?
46690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46691 (exit $ac_status); }; then
46692 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46693 else
46694 pkg_failed=yes
46695 fi
46696 fi
46697 else
46698 pkg_failed=untried
46699 fi
46700
46701
46702
46703 if test $pkg_failed = yes; then
46704
46705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46706 _pkg_short_errors_supported=yes
46707 else
46708 _pkg_short_errors_supported=no
46709 fi
46710 if test $_pkg_short_errors_supported = yes; then
46711 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46712 else
46713 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46714 fi
46715 # Put the nasty error message in config.log where it belongs
46716 echo "$CAIRO_PKG_ERRORS" >&5
46717
46718 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46719 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46720
46721 elif test $pkg_failed = untried; then
46722 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46723 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46724
46725 else
46726 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46727 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46728 { echo "$as_me:$LINENO: result: yes" >&5
46729 echo "${ECHO_T}yes" >&6; }
46730 cat >>confdefs.h <<\_ACEOF
46731 #define wxUSE_GRAPHICS_CONTEXT 1
46732 _ACEOF
46733
46734 fi
46735 fi
46736 fi
46737
46738
46739 USE_MEDIA=0
46740
46741 if test "$wxUSE_MEDIACTRL" = "yes"; then
46742 USE_MEDIA=1
46743
46744 if test "$wxUSE_GTK" = 1; then
46745 wxUSE_GSTREAMER="no"
46746
46747 GST_VERSION_MAJOR=0
46748 GST_VERSION_MINOR=10
46749 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46750
46751 if test "$wxUSE_GSTREAMER8" = "no"; then
46752
46753 pkg_failed=no
46754 { echo "$as_me:$LINENO: checking for GST" >&5
46755 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46756
46757 if test -n "$PKG_CONFIG"; then
46758 if test -n "$GST_CFLAGS"; then
46759 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46760 else
46761 if test -n "$PKG_CONFIG" && \
46762 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46763 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46764 ac_status=$?
46765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46766 (exit $ac_status); }; then
46767 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46768 else
46769 pkg_failed=yes
46770 fi
46771 fi
46772 else
46773 pkg_failed=untried
46774 fi
46775 if test -n "$PKG_CONFIG"; then
46776 if test -n "$GST_LIBS"; then
46777 pkg_cv_GST_LIBS="$GST_LIBS"
46778 else
46779 if test -n "$PKG_CONFIG" && \
46780 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46781 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46782 ac_status=$?
46783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46784 (exit $ac_status); }; then
46785 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46786 else
46787 pkg_failed=yes
46788 fi
46789 fi
46790 else
46791 pkg_failed=untried
46792 fi
46793
46794
46795
46796 if test $pkg_failed = yes; then
46797
46798 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46799 _pkg_short_errors_supported=yes
46800 else
46801 _pkg_short_errors_supported=no
46802 fi
46803 if test $_pkg_short_errors_supported = yes; then
46804 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46805 else
46806 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46807 fi
46808 # Put the nasty error message in config.log where it belongs
46809 echo "$GST_PKG_ERRORS" >&5
46810
46811
46812 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46813 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46814 GST_VERSION_MINOR=8
46815
46816
46817 elif test $pkg_failed = untried; then
46818
46819 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46820 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46821 GST_VERSION_MINOR=8
46822
46823
46824 else
46825 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46826 GST_LIBS=$pkg_cv_GST_LIBS
46827 { echo "$as_me:$LINENO: result: yes" >&5
46828 echo "${ECHO_T}yes" >&6; }
46829
46830 wxUSE_GSTREAMER="yes"
46831 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46832
46833 fi
46834 else
46835 GST_VERSION_MINOR=8
46836 fi
46837
46838 if test $GST_VERSION_MINOR = "8"; then
46839 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46840
46841 pkg_failed=no
46842 { echo "$as_me:$LINENO: checking for GST" >&5
46843 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46844
46845 if test -n "$PKG_CONFIG"; then
46846 if test -n "$GST_CFLAGS"; then
46847 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46848 else
46849 if test -n "$PKG_CONFIG" && \
46850 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46851 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46852 ac_status=$?
46853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46854 (exit $ac_status); }; then
46855 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46856 else
46857 pkg_failed=yes
46858 fi
46859 fi
46860 else
46861 pkg_failed=untried
46862 fi
46863 if test -n "$PKG_CONFIG"; then
46864 if test -n "$GST_LIBS"; then
46865 pkg_cv_GST_LIBS="$GST_LIBS"
46866 else
46867 if test -n "$PKG_CONFIG" && \
46868 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46869 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46870 ac_status=$?
46871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46872 (exit $ac_status); }; then
46873 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46874 else
46875 pkg_failed=yes
46876 fi
46877 fi
46878 else
46879 pkg_failed=untried
46880 fi
46881
46882
46883
46884 if test $pkg_failed = yes; then
46885
46886 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46887 _pkg_short_errors_supported=yes
46888 else
46889 _pkg_short_errors_supported=no
46890 fi
46891 if test $_pkg_short_errors_supported = yes; then
46892 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46893 else
46894 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46895 fi
46896 # Put the nasty error message in config.log where it belongs
46897 echo "$GST_PKG_ERRORS" >&5
46898
46899
46900 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46901 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46902
46903 elif test $pkg_failed = untried; then
46904
46905 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46906 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46907
46908 else
46909 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46910 GST_LIBS=$pkg_cv_GST_LIBS
46911 { echo "$as_me:$LINENO: result: yes" >&5
46912 echo "${ECHO_T}yes" >&6; }
46913 wxUSE_GSTREAMER="yes"
46914 fi
46915 fi
46916
46917
46918 if test "$wxUSE_GSTREAMER" = "yes"; then
46919 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46920 EXTRALIBS_MEDIA="$GST_LIBS"
46921
46922 cat >>confdefs.h <<\_ACEOF
46923 #define wxUSE_GSTREAMER 1
46924 _ACEOF
46925
46926 else
46927 USE_MEDIA=0
46928 fi
46929 fi
46930
46931 if test $USE_MEDIA = 1; then
46932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46933 cat >>confdefs.h <<\_ACEOF
46934 #define wxUSE_MEDIACTRL 1
46935 _ACEOF
46936
46937 fi
46938 fi
46939
46940
46941 if test "$cross_compiling" = "yes"; then
46942 OSINFO="\"$host\""
46943 else
46944 OSINFO=`uname -s -r -m`
46945 OSINFO="\"$OSINFO\""
46946 fi
46947
46948 cat >>confdefs.h <<_ACEOF
46949 #define WXWIN_OS_DESCRIPTION $OSINFO
46950 _ACEOF
46951
46952
46953
46954 if test "x$prefix" != "xNONE"; then
46955 wxPREFIX=$prefix
46956 else
46957 wxPREFIX=$ac_default_prefix
46958 fi
46959
46960 cat >>confdefs.h <<_ACEOF
46961 #define wxINSTALL_PREFIX "$wxPREFIX"
46962 _ACEOF
46963
46964
46965
46966
46967 STD_BASE_LIBS="base"
46968 STD_GUI_LIBS=""
46969 BUILT_WX_LIBS="base"
46970 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46971
46972 if test "$wxUSE_SOCKETS" = "yes" ; then
46973 STD_BASE_LIBS="net $STD_BASE_LIBS"
46974 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46975 fi
46976 if test "$wxUSE_XML" = "yes" ; then
46977 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46978 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46979 fi
46980
46981 if test "$wxUSE_GUI" = "yes"; then
46982 STD_GUI_LIBS="adv core"
46983 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46984
46985 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46986 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46987 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46988 fi
46989 if test "$wxUSE_HTML" = "yes" ; then
46990 STD_GUI_LIBS="html $STD_GUI_LIBS"
46991 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46992 fi
46993 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46994 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46995 fi
46996 if test "$wxUSE_OPENGL" = "yes" ; then
46997 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46998 fi
46999 if test "$wxUSE_AUI" = "yes" ; then
47000 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47001 fi
47002 if test "$wxUSE_PROPGRID" = "yes" ; then
47003 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47004 fi
47005 if test "$wxUSE_RICHTEXT" = "yes" ; then
47006 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47007 fi
47008 if test "$wxUSE_STC" = "yes" ; then
47009 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47010 fi
47011 if test "$wxUSE_XRC" = "yes" ; then
47012 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47013 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47014 fi
47015 fi
47016
47017
47018
47019
47020
47021
47022
47023
47024 if test "$wxUSE_MAC" = 1 ; then
47025 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47026 if test "$USE_DARWIN" = 1; then
47027 LDFLAGS="$LDFLAGS -framework QuickTime"
47028 fi
47029 fi
47030 if test "$USE_DARWIN" = 1; then
47031 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47032 fi
47033 fi
47034 if test "$wxUSE_COCOA" = 1 ; then
47035 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47036 if test "$wxUSE_MEDIACTRL" = "yes"; then
47037 LDFLAGS="$LDFLAGS -framework QuickTime"
47038 fi
47039 fi
47040 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47041 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47042 fi
47043
47044 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47045
47046 if test "$wxUSE_GUI" = "yes"; then
47047
47048
47049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47050 erase event exec font image minimal mobile \
47051 mobile/wxedit mobile/styles render \
47052 shaped svg taborder vscroll widgets"
47053
47054 if test "$wxUSE_MONOLITHIC" != "yes"; then
47055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47056 fi
47057 if test "$TOOLKIT" = "MSW"; then
47058 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47059 if test "$wxUSE_UNIVERSAL" != "yes"; then
47060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47061 fi
47062 fi
47063 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47065 fi
47066 else
47067 SAMPLES_SUBDIRS="console"
47068 if test "$wxUSE_SOCKETS" = "yes" ; then
47069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47070 fi
47071 if test "$wxUSE_IPC" = "yes" ; then
47072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47073 fi
47074 fi
47075
47076
47077 if test "x$INTELCC" = "xyes" ; then
47078 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47079 elif test "$GCC" = yes ; then
47080 CWARNINGS="-Wall -Wundef"
47081 fi
47082
47083 if test "x$INTELCXX" = "xyes" ; then
47084 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47085 elif test "$GXX" = yes ; then
47086 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47087 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47088 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47089 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47090 echo $ECHO_N "(cached) $ECHO_C" >&6
47091 else
47092 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47093
47094 ac_ext=cpp
47095 ac_cpp='$CXXCPP $CPPFLAGS'
47096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47099
47100 ac_save_CXXFLAGS="$CXXFLAGS"
47101 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47102 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47103 cat >conftest.$ac_ext <<_ACEOF
47104 /* confdefs.h. */
47105 _ACEOF
47106 cat confdefs.h >>conftest.$ac_ext
47107 cat >>conftest.$ac_ext <<_ACEOF
47108 /* end confdefs.h. */
47109
47110 int
47111 main ()
47112 {
47113 return 0;
47114 ;
47115 return 0;
47116 }
47117 _ACEOF
47118 rm -f conftest.$ac_objext
47119 if { (ac_try="$ac_compile"
47120 case "(($ac_try" in
47121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47122 *) ac_try_echo=$ac_try;;
47123 esac
47124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47125 (eval "$ac_compile") 2>conftest.er1
47126 ac_status=$?
47127 grep -v '^ *+' conftest.er1 >conftest.err
47128 rm -f conftest.er1
47129 cat conftest.err >&5
47130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47131 (exit $ac_status); } && {
47132 test -z "$ac_cxx_werror_flag" ||
47133 test ! -s conftest.err
47134 } && test -s conftest.$ac_objext; then
47135 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47136 else
47137 echo "$as_me: failed program was:" >&5
47138 sed 's/^/| /' conftest.$ac_ext >&5
47139
47140
47141 fi
47142
47143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47144 done
47145 CXXFLAGS="$ac_save_CXXFLAGS"
47146 ac_ext=c
47147 ac_cpp='$CPP $CPPFLAGS'
47148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47151
47152
47153 fi
47154 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47155 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47156 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47157 .ok|.ok,*) ;;
47158 .|.no|.no,*) ;;
47159 *)
47160 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47161 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47162 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47163 ac_status=$?
47164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47165 (exit $ac_status); }
47166 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47167 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47168 ac_status=$?
47169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47170 (exit $ac_status); }
47171 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47172 fi
47173 ;;
47174 esac
47175
47176 fi
47177
47178
47179 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47180 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47181
47182
47183 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47184 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47185 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47186 $CPPFLAGS `
47187
47188 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47189 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47190 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47191 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47192 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47193
47194 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47195
47196
47197 if test "x$MWCC" = "xyes"; then
47198
47199 CC="$CC -cwd source -I-"
47200 CXX="$CXX -cwd source -I-"
47201 fi
47202
47203
47204 LIBS=`echo $LIBS`
47205 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47206 EXTRALIBS_XML="$EXPAT_LINK"
47207 EXTRALIBS_HTML="$MSPACK_LINK"
47208 EXTRALIBS_MEDIA="$GST_LIBS"
47209 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47210 if test "$wxUSE_GUI" = "yes"; then
47211 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47212 fi
47213 if test "$wxUSE_OPENGL" = "yes"; then
47214 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47215 fi
47216
47217 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47218
47219 WXCONFIG_LIBS="$LIBS"
47220
47221 if test "$wxUSE_REGEX" = "builtin" ; then
47222 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47223 fi
47224 if test "$wxUSE_EXPAT" = "builtin" ; then
47225 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47226 fi
47227 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47228 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47229 fi
47230 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47231 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47232 fi
47233 if test "$wxUSE_LIBPNG" = "builtin" ; then
47234 wxconfig_3rdparty="png $wxconfig_3rdparty"
47235 fi
47236 if test "$wxUSE_ZLIB" = "builtin" ; then
47237 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47238 fi
47239
47240 for i in $wxconfig_3rdparty ; do
47241 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47242 done
47243
47244
47245 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47246 WXUNIV=1
47247
47248 case "$wxUNIV_THEMES" in
47249 ''|all)
47250 cat >>confdefs.h <<\_ACEOF
47251 #define wxUSE_ALL_THEMES 1
47252 _ACEOF
47253
47254 ;;
47255
47256 *)
47257 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47258 cat >>confdefs.h <<_ACEOF
47259 #define wxUSE_THEME_$t 1
47260 _ACEOF
47261
47262 done
47263 esac
47264 else
47265 WXUNIV=0
47266 fi
47267
47268
47269
47270
47271
47272
47273
47274
47275 if test $wxUSE_MONOLITHIC = "yes" ; then
47276 MONOLITHIC=1
47277 else
47278 MONOLITHIC=0
47279 fi
47280
47281 if test $wxUSE_PLUGINS = "yes" ; then
47282 USE_PLUGINS=1
47283 else
47284 USE_PLUGINS=0
47285 fi
47286
47287 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47288 USE_QA=1
47289 else
47290 USE_QA=0
47291 fi
47292
47293 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47294 OFFICIAL_BUILD=1
47295 else
47296 OFFICIAL_BUILD=0
47297 fi
47298
47299
47300
47301
47302
47303
47304
47305
47306
47307
47308
47309
47310
47311
47312
47313
47314
47315
47316
47317
47318
47319
47320
47321
47322
47323
47324
47325
47326 TOOLKIT_LOWERCASE=xxx
47327 if test "$TOOLKIT" = "MAC"; then
47328 TOOLKIT_LOWERCASE=osx_carbon
47329 fi
47330 if test "$TOOLKIT" = "OSX_CARBON"; then
47331 TOOLKIT_LOWERCASE=osx_carbon
47332 fi
47333 if test "$TOOLKIT" = "OSX_COCOA"; then
47334 TOOLKIT_LOWERCASE=osx_cocoa
47335 fi
47336 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47337 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47338 fi
47339
47340
47341
47342
47343
47344
47345
47346
47347 case "$TOOLKIT" in
47348 GTK)
47349 TOOLKIT_DESC="GTK+"
47350 if test "$WXGTK2" = 1; then
47351 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47352 if test "$wxUSE_GTKPRINT" = "yes" ; then
47353 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47354 fi
47355 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47356 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47357 fi
47358 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47359 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47360 fi
47361 if test "$wxUSE_LIBHILDON" = "yes"; then
47362 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47363 fi
47364
47365 if test "$TOOLKIT_EXTRA" != ""; then
47366 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47367 fi
47368 fi
47369 ;;
47370
47371 ?*)
47372 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47373 ;;
47374
47375 *)
47376 TOOLKIT_DESC="base only"
47377 ;;
47378 esac
47379
47380 if test "$wxUSE_WINE" = "yes"; then
47381 BAKEFILE_FORCE_PLATFORM=win32
47382 fi
47383
47384 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47385 then
47386 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47387 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47388 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47389 echo $ECHO_N "(cached) $ECHO_C" >&6
47390 else
47391
47392 echo '#include <stdio.h>
47393 const wchar_t test_var[] = L"awidetest";' > conftest.h
47394
47395 echo '#include "conftest.h"
47396 int main()
47397 {
47398 printf("%ls", test_var);
47399 return 0;
47400 }' > conftest.cpp
47401
47402 wx_cv_gcc_pch_bug="pch not supported"
47403
47404 if $CXX conftest.h >/dev/null 2>&1
47405 then
47406 wx_cv_gcc_pch_bug=
47407
47408 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47409 then
47410 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47411 grep awidetest >/dev/null
47412 then
47413 wx_cv_gcc_pch_bug=no
47414 else
47415 wx_cv_gcc_pch_bug=yes
47416 fi
47417 fi
47418 fi
47419
47420 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47421
47422 fi
47423 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47424 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47425
47426 if test "$wx_cv_gcc_pch_bug" = yes; then
47427 bk_use_pch=no
47428 fi
47429 fi
47430
47431
47432
47433
47434
47435
47436
47437 if test "x$BAKEFILE_HOST" = "x"; then
47438 if test "x${host}" = "x" ; then
47439 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47440 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47441 { (exit 1); exit 1; }; }
47442 fi
47443
47444 BAKEFILE_HOST="${host}"
47445 fi
47446
47447 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47448
47449 if test -n "$ac_tool_prefix"; then
47450 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47451 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47454 if test "${ac_cv_prog_RANLIB+set}" = set; then
47455 echo $ECHO_N "(cached) $ECHO_C" >&6
47456 else
47457 if test -n "$RANLIB"; then
47458 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47459 else
47460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47461 for as_dir in $PATH
47462 do
47463 IFS=$as_save_IFS
47464 test -z "$as_dir" && as_dir=.
47465 for ac_exec_ext in '' $ac_executable_extensions; do
47466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47467 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47469 break 2
47470 fi
47471 done
47472 done
47473 IFS=$as_save_IFS
47474
47475 fi
47476 fi
47477 RANLIB=$ac_cv_prog_RANLIB
47478 if test -n "$RANLIB"; then
47479 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47480 echo "${ECHO_T}$RANLIB" >&6; }
47481 else
47482 { echo "$as_me:$LINENO: result: no" >&5
47483 echo "${ECHO_T}no" >&6; }
47484 fi
47485
47486
47487 fi
47488 if test -z "$ac_cv_prog_RANLIB"; then
47489 ac_ct_RANLIB=$RANLIB
47490 # Extract the first word of "ranlib", so it can be a program name with args.
47491 set dummy ranlib; ac_word=$2
47492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47494 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47495 echo $ECHO_N "(cached) $ECHO_C" >&6
47496 else
47497 if test -n "$ac_ct_RANLIB"; then
47498 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47499 else
47500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47501 for as_dir in $PATH
47502 do
47503 IFS=$as_save_IFS
47504 test -z "$as_dir" && as_dir=.
47505 for ac_exec_ext in '' $ac_executable_extensions; do
47506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47507 ac_cv_prog_ac_ct_RANLIB="ranlib"
47508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47509 break 2
47510 fi
47511 done
47512 done
47513 IFS=$as_save_IFS
47514
47515 fi
47516 fi
47517 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47518 if test -n "$ac_ct_RANLIB"; then
47519 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47520 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47521 else
47522 { echo "$as_me:$LINENO: result: no" >&5
47523 echo "${ECHO_T}no" >&6; }
47524 fi
47525
47526 if test "x$ac_ct_RANLIB" = x; then
47527 RANLIB=":"
47528 else
47529 case $cross_compiling:$ac_tool_warned in
47530 yes:)
47531 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47532 whose name does not start with the host triplet. If you think this
47533 configuration is useful to you, please write to autoconf@gnu.org." >&5
47534 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47535 whose name does not start with the host triplet. If you think this
47536 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47537 ac_tool_warned=yes ;;
47538 esac
47539 RANLIB=$ac_ct_RANLIB
47540 fi
47541 else
47542 RANLIB="$ac_cv_prog_RANLIB"
47543 fi
47544
47545 # Find a good install program. We prefer a C program (faster),
47546 # so one script is as good as another. But avoid the broken or
47547 # incompatible versions:
47548 # SysV /etc/install, /usr/sbin/install
47549 # SunOS /usr/etc/install
47550 # IRIX /sbin/install
47551 # AIX /bin/install
47552 # AmigaOS /C/install, which installs bootblocks on floppy discs
47553 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47554 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47555 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47556 # OS/2's system install, which has a completely different semantic
47557 # ./install, which can be erroneously created by make from ./install.sh.
47558 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47559 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47560 if test -z "$INSTALL"; then
47561 if test "${ac_cv_path_install+set}" = set; then
47562 echo $ECHO_N "(cached) $ECHO_C" >&6
47563 else
47564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47565 for as_dir in $PATH
47566 do
47567 IFS=$as_save_IFS
47568 test -z "$as_dir" && as_dir=.
47569 # Account for people who put trailing slashes in PATH elements.
47570 case $as_dir/ in
47571 ./ | .// | /cC/* | \
47572 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47573 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47574 /usr/ucb/* ) ;;
47575 *)
47576 # OSF1 and SCO ODT 3.0 have their own names for install.
47577 # Don't use installbsd from OSF since it installs stuff as root
47578 # by default.
47579 for ac_prog in ginstall scoinst install; do
47580 for ac_exec_ext in '' $ac_executable_extensions; do
47581 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47582 if test $ac_prog = install &&
47583 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47584 # AIX install. It has an incompatible calling convention.
47585 :
47586 elif test $ac_prog = install &&
47587 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47588 # program-specific install script used by HP pwplus--don't use.
47589 :
47590 else
47591 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47592 break 3
47593 fi
47594 fi
47595 done
47596 done
47597 ;;
47598 esac
47599 done
47600 IFS=$as_save_IFS
47601
47602
47603 fi
47604 if test "${ac_cv_path_install+set}" = set; then
47605 INSTALL=$ac_cv_path_install
47606 else
47607 # As a last resort, use the slow shell script. Don't cache a
47608 # value for INSTALL within a source directory, because that will
47609 # break other packages using the cache if that directory is
47610 # removed, or if the value is a relative name.
47611 INSTALL=$ac_install_sh
47612 fi
47613 fi
47614 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47615 echo "${ECHO_T}$INSTALL" >&6; }
47616
47617 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47618 # It thinks the first close brace ends the variable substitution.
47619 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47620
47621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47622
47623 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47624
47625 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47626 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47627 LN_S=$as_ln_s
47628 if test "$LN_S" = "ln -s"; then
47629 { echo "$as_me:$LINENO: result: yes" >&5
47630 echo "${ECHO_T}yes" >&6; }
47631 else
47632 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47633 echo "${ECHO_T}no, using $LN_S" >&6; }
47634 fi
47635
47636
47637 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47638 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47639 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47640 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47641 echo $ECHO_N "(cached) $ECHO_C" >&6
47642 else
47643 cat >conftest.make <<\_ACEOF
47644 SHELL = /bin/sh
47645 all:
47646 @echo '@@@%%%=$(MAKE)=@@@%%%'
47647 _ACEOF
47648 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47649 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47650 *@@@%%%=?*=@@@%%%*)
47651 eval ac_cv_prog_make_${ac_make}_set=yes;;
47652 *)
47653 eval ac_cv_prog_make_${ac_make}_set=no;;
47654 esac
47655 rm -f conftest.make
47656 fi
47657 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47658 { echo "$as_me:$LINENO: result: yes" >&5
47659 echo "${ECHO_T}yes" >&6; }
47660 SET_MAKE=
47661 else
47662 { echo "$as_me:$LINENO: result: no" >&5
47663 echo "${ECHO_T}no" >&6; }
47664 SET_MAKE="MAKE=${MAKE-make}"
47665 fi
47666
47667
47668
47669 if test "x$SUNCXX" = "xyes"; then
47670 AR=$CXX
47671 AROPTIONS="-xar -o"
47672
47673 elif test "x$SGICC" = "xyes"; then
47674 AR=$CXX
47675 AROPTIONS="-ar -o"
47676
47677 else
47678 if test -n "$ac_tool_prefix"; then
47679 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47680 set dummy ${ac_tool_prefix}ar; ac_word=$2
47681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47683 if test "${ac_cv_prog_AR+set}" = set; then
47684 echo $ECHO_N "(cached) $ECHO_C" >&6
47685 else
47686 if test -n "$AR"; then
47687 ac_cv_prog_AR="$AR" # Let the user override the test.
47688 else
47689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47690 for as_dir in $PATH
47691 do
47692 IFS=$as_save_IFS
47693 test -z "$as_dir" && as_dir=.
47694 for ac_exec_ext in '' $ac_executable_extensions; do
47695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47696 ac_cv_prog_AR="${ac_tool_prefix}ar"
47697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47698 break 2
47699 fi
47700 done
47701 done
47702 IFS=$as_save_IFS
47703
47704 fi
47705 fi
47706 AR=$ac_cv_prog_AR
47707 if test -n "$AR"; then
47708 { echo "$as_me:$LINENO: result: $AR" >&5
47709 echo "${ECHO_T}$AR" >&6; }
47710 else
47711 { echo "$as_me:$LINENO: result: no" >&5
47712 echo "${ECHO_T}no" >&6; }
47713 fi
47714
47715
47716 fi
47717 if test -z "$ac_cv_prog_AR"; then
47718 ac_ct_AR=$AR
47719 # Extract the first word of "ar", so it can be a program name with args.
47720 set dummy ar; ac_word=$2
47721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47723 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47724 echo $ECHO_N "(cached) $ECHO_C" >&6
47725 else
47726 if test -n "$ac_ct_AR"; then
47727 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47728 else
47729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47730 for as_dir in $PATH
47731 do
47732 IFS=$as_save_IFS
47733 test -z "$as_dir" && as_dir=.
47734 for ac_exec_ext in '' $ac_executable_extensions; do
47735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47736 ac_cv_prog_ac_ct_AR="ar"
47737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47738 break 2
47739 fi
47740 done
47741 done
47742 IFS=$as_save_IFS
47743
47744 fi
47745 fi
47746 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47747 if test -n "$ac_ct_AR"; then
47748 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47749 echo "${ECHO_T}$ac_ct_AR" >&6; }
47750 else
47751 { echo "$as_me:$LINENO: result: no" >&5
47752 echo "${ECHO_T}no" >&6; }
47753 fi
47754
47755 if test "x$ac_ct_AR" = x; then
47756 AR="ar"
47757 else
47758 case $cross_compiling:$ac_tool_warned in
47759 yes:)
47760 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47761 whose name does not start with the host triplet. If you think this
47762 configuration is useful to you, please write to autoconf@gnu.org." >&5
47763 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47764 whose name does not start with the host triplet. If you think this
47765 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47766 ac_tool_warned=yes ;;
47767 esac
47768 AR=$ac_ct_AR
47769 fi
47770 else
47771 AR="$ac_cv_prog_AR"
47772 fi
47773
47774 AROPTIONS=rcu
47775 fi
47776
47777
47778 if test -n "$ac_tool_prefix"; then
47779 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47780 set dummy ${ac_tool_prefix}strip; ac_word=$2
47781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47783 if test "${ac_cv_prog_STRIP+set}" = set; then
47784 echo $ECHO_N "(cached) $ECHO_C" >&6
47785 else
47786 if test -n "$STRIP"; then
47787 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47788 else
47789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47790 for as_dir in $PATH
47791 do
47792 IFS=$as_save_IFS
47793 test -z "$as_dir" && as_dir=.
47794 for ac_exec_ext in '' $ac_executable_extensions; do
47795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47796 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47798 break 2
47799 fi
47800 done
47801 done
47802 IFS=$as_save_IFS
47803
47804 fi
47805 fi
47806 STRIP=$ac_cv_prog_STRIP
47807 if test -n "$STRIP"; then
47808 { echo "$as_me:$LINENO: result: $STRIP" >&5
47809 echo "${ECHO_T}$STRIP" >&6; }
47810 else
47811 { echo "$as_me:$LINENO: result: no" >&5
47812 echo "${ECHO_T}no" >&6; }
47813 fi
47814
47815
47816 fi
47817 if test -z "$ac_cv_prog_STRIP"; then
47818 ac_ct_STRIP=$STRIP
47819 # Extract the first word of "strip", so it can be a program name with args.
47820 set dummy strip; ac_word=$2
47821 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47823 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47824 echo $ECHO_N "(cached) $ECHO_C" >&6
47825 else
47826 if test -n "$ac_ct_STRIP"; then
47827 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47828 else
47829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47830 for as_dir in $PATH
47831 do
47832 IFS=$as_save_IFS
47833 test -z "$as_dir" && as_dir=.
47834 for ac_exec_ext in '' $ac_executable_extensions; do
47835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47836 ac_cv_prog_ac_ct_STRIP="strip"
47837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47838 break 2
47839 fi
47840 done
47841 done
47842 IFS=$as_save_IFS
47843
47844 fi
47845 fi
47846 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47847 if test -n "$ac_ct_STRIP"; then
47848 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47849 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47850 else
47851 { echo "$as_me:$LINENO: result: no" >&5
47852 echo "${ECHO_T}no" >&6; }
47853 fi
47854
47855 if test "x$ac_ct_STRIP" = x; then
47856 STRIP=":"
47857 else
47858 case $cross_compiling:$ac_tool_warned in
47859 yes:)
47860 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47861 whose name does not start with the host triplet. If you think this
47862 configuration is useful to you, please write to autoconf@gnu.org." >&5
47863 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47864 whose name does not start with the host triplet. If you think this
47865 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47866 ac_tool_warned=yes ;;
47867 esac
47868 STRIP=$ac_ct_STRIP
47869 fi
47870 else
47871 STRIP="$ac_cv_prog_STRIP"
47872 fi
47873
47874 if test -n "$ac_tool_prefix"; then
47875 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47876 set dummy ${ac_tool_prefix}nm; ac_word=$2
47877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47879 if test "${ac_cv_prog_NM+set}" = set; then
47880 echo $ECHO_N "(cached) $ECHO_C" >&6
47881 else
47882 if test -n "$NM"; then
47883 ac_cv_prog_NM="$NM" # Let the user override the test.
47884 else
47885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47886 for as_dir in $PATH
47887 do
47888 IFS=$as_save_IFS
47889 test -z "$as_dir" && as_dir=.
47890 for ac_exec_ext in '' $ac_executable_extensions; do
47891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47892 ac_cv_prog_NM="${ac_tool_prefix}nm"
47893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47894 break 2
47895 fi
47896 done
47897 done
47898 IFS=$as_save_IFS
47899
47900 fi
47901 fi
47902 NM=$ac_cv_prog_NM
47903 if test -n "$NM"; then
47904 { echo "$as_me:$LINENO: result: $NM" >&5
47905 echo "${ECHO_T}$NM" >&6; }
47906 else
47907 { echo "$as_me:$LINENO: result: no" >&5
47908 echo "${ECHO_T}no" >&6; }
47909 fi
47910
47911
47912 fi
47913 if test -z "$ac_cv_prog_NM"; then
47914 ac_ct_NM=$NM
47915 # Extract the first word of "nm", so it can be a program name with args.
47916 set dummy nm; ac_word=$2
47917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47919 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47920 echo $ECHO_N "(cached) $ECHO_C" >&6
47921 else
47922 if test -n "$ac_ct_NM"; then
47923 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47924 else
47925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47926 for as_dir in $PATH
47927 do
47928 IFS=$as_save_IFS
47929 test -z "$as_dir" && as_dir=.
47930 for ac_exec_ext in '' $ac_executable_extensions; do
47931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47932 ac_cv_prog_ac_ct_NM="nm"
47933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47934 break 2
47935 fi
47936 done
47937 done
47938 IFS=$as_save_IFS
47939
47940 fi
47941 fi
47942 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47943 if test -n "$ac_ct_NM"; then
47944 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47945 echo "${ECHO_T}$ac_ct_NM" >&6; }
47946 else
47947 { echo "$as_me:$LINENO: result: no" >&5
47948 echo "${ECHO_T}no" >&6; }
47949 fi
47950
47951 if test "x$ac_ct_NM" = x; then
47952 NM=":"
47953 else
47954 case $cross_compiling:$ac_tool_warned in
47955 yes:)
47956 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47957 whose name does not start with the host triplet. If you think this
47958 configuration is useful to you, please write to autoconf@gnu.org." >&5
47959 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47960 whose name does not start with the host triplet. If you think this
47961 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47962 ac_tool_warned=yes ;;
47963 esac
47964 NM=$ac_ct_NM
47965 fi
47966 else
47967 NM="$ac_cv_prog_NM"
47968 fi
47969
47970
47971 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47972 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47973 INSTALL_TEST_DIR=acbftest$$
47974 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47975 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47976 rmdir $INSTALL_TEST_DIR
47977 INSTALL_DIR='$(INSTALL) -d'
47978 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47979 echo "${ECHO_T}$INSTALL -d" >&6; }
47980 else
47981 INSTALL_DIR="mkdir -p"
47982 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47983 echo "${ECHO_T}mkdir -p" >&6; }
47984 fi
47985
47986
47987 LDFLAGS_GUI=
47988 case ${BAKEFILE_HOST} in
47989 *-*-cygwin* | *-*-mingw32* )
47990 LDFLAGS_GUI="-mwindows"
47991 esac
47992
47993
47994 fi
47995
47996 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47997 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47998 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47999 echo $ECHO_N "(cached) $ECHO_C" >&6
48000 else
48001
48002 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48003 egrep -s GNU > /dev/null); then
48004 bakefile_cv_prog_makeisgnu="yes"
48005 else
48006 bakefile_cv_prog_makeisgnu="no"
48007 fi
48008
48009 fi
48010 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48011 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48012
48013 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48014 IF_GNU_MAKE=""
48015 else
48016 IF_GNU_MAKE="#"
48017 fi
48018
48019
48020
48021 PLATFORM_UNIX=0
48022 PLATFORM_WIN32=0
48023 PLATFORM_MSDOS=0
48024 PLATFORM_MAC=0
48025 PLATFORM_MACOS=0
48026 PLATFORM_MACOSX=0
48027 PLATFORM_OS2=0
48028 PLATFORM_BEOS=0
48029
48030 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48031 case "${BAKEFILE_HOST}" in
48032 *-*-mingw32* )
48033 PLATFORM_WIN32=1
48034 ;;
48035 *-pc-msdosdjgpp )
48036 PLATFORM_MSDOS=1
48037 ;;
48038 *-pc-os2_emx | *-pc-os2-emx )
48039 PLATFORM_OS2=1
48040 ;;
48041 *-*-darwin* )
48042 PLATFORM_MAC=1
48043 PLATFORM_MACOSX=1
48044 ;;
48045 *-*-beos* )
48046 PLATFORM_BEOS=1
48047 ;;
48048 powerpc-apple-macos* )
48049 PLATFORM_MAC=1
48050 PLATFORM_MACOS=1
48051 ;;
48052 * )
48053 PLATFORM_UNIX=1
48054 ;;
48055 esac
48056 else
48057 case "$BAKEFILE_FORCE_PLATFORM" in
48058 win32 )
48059 PLATFORM_WIN32=1
48060 ;;
48061 msdos )
48062 PLATFORM_MSDOS=1
48063 ;;
48064 os2 )
48065 PLATFORM_OS2=1
48066 ;;
48067 darwin )
48068 PLATFORM_MAC=1
48069 PLATFORM_MACOSX=1
48070 ;;
48071 unix )
48072 PLATFORM_UNIX=1
48073 ;;
48074 beos )
48075 PLATFORM_BEOS=1
48076 ;;
48077 * )
48078 ;;
48079 esac
48080 fi
48081
48082
48083
48084
48085
48086
48087
48088
48089
48090
48091
48092 # Check whether --enable-omf was given.
48093 if test "${enable_omf+set}" = set; then
48094 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48095 fi
48096
48097
48098 case "${BAKEFILE_HOST}" in
48099 *-*-darwin* )
48100 if test "x$GCC" = "xyes"; then
48101 CFLAGS="$CFLAGS -fno-common"
48102 CXXFLAGS="$CXXFLAGS -fno-common"
48103 fi
48104 if test "x$XLCC" = "xyes"; then
48105 CFLAGS="$CFLAGS -qnocommon"
48106 CXXFLAGS="$CXXFLAGS -qnocommon"
48107 fi
48108 ;;
48109
48110 *-pc-os2_emx | *-pc-os2-emx )
48111 if test "x$bk_os2_use_omf" = "xyes" ; then
48112 AR=emxomfar
48113 RANLIB=:
48114 LDFLAGS="-Zomf $LDFLAGS"
48115 CFLAGS="-Zomf $CFLAGS"
48116 CXXFLAGS="-Zomf $CXXFLAGS"
48117 OS2_LIBEXT="lib"
48118 else
48119 OS2_LIBEXT="a"
48120 fi
48121 ;;
48122
48123 i*86-*-beos* )
48124 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48125 ;;
48126 esac
48127
48128
48129 SO_SUFFIX="so"
48130 SO_SUFFIX_MODULE="so"
48131 EXEEXT=""
48132 LIBPREFIX="lib"
48133 LIBEXT=".a"
48134 DLLPREFIX="lib"
48135 DLLPREFIX_MODULE=""
48136 DLLIMP_SUFFIX=""
48137 dlldir="$libdir"
48138
48139 case "${BAKEFILE_HOST}" in
48140 ia64-hp-hpux* )
48141 ;;
48142 *-hp-hpux* )
48143 SO_SUFFIX="sl"
48144 SO_SUFFIX_MODULE="sl"
48145 ;;
48146 *-*-aix* )
48147 SO_SUFFIX="a"
48148 SO_SUFFIX_MODULE="a"
48149 ;;
48150 *-*-cygwin* )
48151 SO_SUFFIX="dll"
48152 SO_SUFFIX_MODULE="dll"
48153 DLLIMP_SUFFIX="dll.a"
48154 EXEEXT=".exe"
48155 DLLPREFIX="cyg"
48156 dlldir="$bindir"
48157 ;;
48158 *-*-mingw32* )
48159 SO_SUFFIX="dll"
48160 SO_SUFFIX_MODULE="dll"
48161 DLLIMP_SUFFIX="dll.a"
48162 EXEEXT=".exe"
48163 DLLPREFIX=""
48164 dlldir="$bindir"
48165 ;;
48166 *-pc-msdosdjgpp )
48167 EXEEXT=".exe"
48168 DLLPREFIX=""
48169 dlldir="$bindir"
48170 ;;
48171 *-pc-os2_emx | *-pc-os2-emx )
48172 SO_SUFFIX="dll"
48173 SO_SUFFIX_MODULE="dll"
48174 DLLIMP_SUFFIX=$OS2_LIBEXT
48175 EXEEXT=".exe"
48176 DLLPREFIX=""
48177 LIBPREFIX=""
48178 LIBEXT=".$OS2_LIBEXT"
48179 dlldir="$bindir"
48180 ;;
48181 *-*-darwin* )
48182 SO_SUFFIX="dylib"
48183 SO_SUFFIX_MODULE="bundle"
48184 ;;
48185 esac
48186
48187 if test "x$DLLIMP_SUFFIX" = "x" ; then
48188 DLLIMP_SUFFIX="$SO_SUFFIX"
48189 fi
48190
48191
48192
48193
48194
48195
48196
48197
48198
48199
48200
48201
48202 PIC_FLAG=""
48203 if test "x$GCC" = "xyes"; then
48204 PIC_FLAG="-fPIC"
48205 fi
48206
48207 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48208 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48209 WINDOWS_IMPLIB=0
48210
48211 case "${BAKEFILE_HOST}" in
48212 *-hp-hpux* )
48213 if test "x$GCC" != "xyes"; then
48214 LDFLAGS="$LDFLAGS -L/usr/lib"
48215
48216 SHARED_LD_CC="${CC} -b -o"
48217 SHARED_LD_CXX="${CXX} -b -o"
48218 PIC_FLAG="+Z"
48219 fi
48220 ;;
48221
48222 *-*-linux* )
48223 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48224 PIC_FLAG="-KPIC"
48225 elif test "x$SUNCXX" = "xyes"; then
48226 SHARED_LD_CC="${CC} -G -o"
48227 SHARED_LD_CXX="${CXX} -G -o"
48228 PIC_FLAG="-KPIC"
48229 fi
48230 ;;
48231
48232 *-*-solaris2* )
48233 if test "x$SUNCXX" = xyes ; then
48234 SHARED_LD_CC="${CC} -G -o"
48235 SHARED_LD_CXX="${CXX} -G -o"
48236 PIC_FLAG="-KPIC"
48237 fi
48238 ;;
48239
48240 *-*-darwin* )
48241
48242 D='$'
48243 cat <<EOF >shared-ld-sh
48244 #!/bin/sh
48245 #-----------------------------------------------------------------------------
48246 #-- Name: distrib/mac/shared-ld-sh
48247 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48248 #-- Author: Gilles Depeyrot
48249 #-- Copyright: (c) 2002 Gilles Depeyrot
48250 #-- Licence: any use permitted
48251 #-----------------------------------------------------------------------------
48252
48253 verbose=0
48254 args=""
48255 objects=""
48256 linking_flag="-dynamiclib"
48257 ldargs="-r -keep_private_externs -nostdlib"
48258
48259 if test "x${D}CXX" = "x"; then
48260 CXX="c++"
48261 fi
48262
48263 while test ${D}# -gt 0; do
48264 case ${D}1 in
48265
48266 -v)
48267 verbose=1
48268 ;;
48269
48270 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48271 # collect these options and values
48272 args="${D}{args} ${D}1 ${D}2"
48273 shift
48274 ;;
48275
48276 -arch|-isysroot)
48277 # collect these options and values
48278 ldargs="${D}{ldargs} ${D}1 ${D}2"
48279 shift
48280 ;;
48281
48282 -s|-Wl,*)
48283 # collect these load args
48284 ldargs="${D}{ldargs} ${D}1"
48285 ;;
48286
48287 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48288 # collect these options
48289 args="${D}{args} ${D}1"
48290 ;;
48291
48292 -dynamiclib|-bundle)
48293 linking_flag="${D}1"
48294 ;;
48295
48296 -*)
48297 echo "shared-ld: unhandled option '${D}1'"
48298 exit 1
48299 ;;
48300
48301 *.o | *.a | *.dylib)
48302 # collect object files
48303 objects="${D}{objects} ${D}1"
48304 ;;
48305
48306 *)
48307 echo "shared-ld: unhandled argument '${D}1'"
48308 exit 1
48309 ;;
48310
48311 esac
48312 shift
48313 done
48314
48315 status=0
48316
48317 #
48318 # Link one module containing all the others
48319 #
48320 if test ${D}{verbose} = 1; then
48321 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48322 fi
48323 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48324 status=${D}?
48325
48326 #
48327 # Link the shared library from the single module created, but only if the
48328 # previous command didn't fail:
48329 #
48330 if test ${D}{status} = 0; then
48331 if test ${D}{verbose} = 1; then
48332 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48333 fi
48334 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48335 status=${D}?
48336 fi
48337
48338 #
48339 # Remove intermediate module
48340 #
48341 rm -f master.${D}${D}.o
48342
48343 exit ${D}status
48344 EOF
48345
48346 chmod +x shared-ld-sh
48347
48348 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48349 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48350
48351
48352 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48353 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48354 if test "${bakefile_cv_gcc31+set}" = set; then
48355 echo $ECHO_N "(cached) $ECHO_C" >&6
48356 else
48357
48358 cat >conftest.$ac_ext <<_ACEOF
48359 /* confdefs.h. */
48360 _ACEOF
48361 cat confdefs.h >>conftest.$ac_ext
48362 cat >>conftest.$ac_ext <<_ACEOF
48363 /* end confdefs.h. */
48364
48365 int
48366 main ()
48367 {
48368
48369 #if (__GNUC__ < 3) || \
48370 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48371 This is old gcc
48372 #endif
48373
48374 ;
48375 return 0;
48376 }
48377 _ACEOF
48378 rm -f conftest.$ac_objext
48379 if { (ac_try="$ac_compile"
48380 case "(($ac_try" in
48381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48382 *) ac_try_echo=$ac_try;;
48383 esac
48384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48385 (eval "$ac_compile") 2>conftest.er1
48386 ac_status=$?
48387 grep -v '^ *+' conftest.er1 >conftest.err
48388 rm -f conftest.er1
48389 cat conftest.err >&5
48390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48391 (exit $ac_status); } && {
48392 test -z "$ac_c_werror_flag" ||
48393 test ! -s conftest.err
48394 } && test -s conftest.$ac_objext; then
48395
48396 bakefile_cv_gcc31=yes
48397
48398 else
48399 echo "$as_me: failed program was:" >&5
48400 sed 's/^/| /' conftest.$ac_ext >&5
48401
48402
48403 bakefile_cv_gcc31=no
48404
48405
48406 fi
48407
48408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48409
48410 fi
48411 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48412 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48413 if test "$bakefile_cv_gcc31" = "no"; then
48414 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48415 SHARED_LD_CXX="$SHARED_LD_CC"
48416 else
48417 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48418 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48419 fi
48420
48421 if test "x$GCC" == "xyes"; then
48422 PIC_FLAG="-dynamic -fPIC"
48423 fi
48424 if test "x$XLCC" = "xyes"; then
48425 PIC_FLAG="-dynamic -DPIC"
48426 fi
48427 ;;
48428
48429 *-*-aix* )
48430 if test "x$GCC" = "xyes"; then
48431 PIC_FLAG=""
48432
48433 case "${BAKEFILE_HOST}" in
48434 *-*-aix5* )
48435 LD_EXPFULL="-Wl,-bexpfull"
48436 ;;
48437 esac
48438
48439 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48440 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48441 else
48442 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48443 set dummy makeC++SharedLib; ac_word=$2
48444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48446 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48447 echo $ECHO_N "(cached) $ECHO_C" >&6
48448 else
48449 if test -n "$AIX_CXX_LD"; then
48450 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48451 else
48452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48453 for as_dir in $PATH
48454 do
48455 IFS=$as_save_IFS
48456 test -z "$as_dir" && as_dir=.
48457 for ac_exec_ext in '' $ac_executable_extensions; do
48458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48459 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48461 break 2
48462 fi
48463 done
48464 done
48465 IFS=$as_save_IFS
48466
48467 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48468 fi
48469 fi
48470 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48471 if test -n "$AIX_CXX_LD"; then
48472 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48473 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48474 else
48475 { echo "$as_me:$LINENO: result: no" >&5
48476 echo "${ECHO_T}no" >&6; }
48477 fi
48478
48479
48480 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48481 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48482 fi
48483 ;;
48484
48485 *-*-beos* )
48486 SHARED_LD_CC="${LD} -nostart -o"
48487 SHARED_LD_CXX="${LD} -nostart -o"
48488 ;;
48489
48490 *-*-irix* )
48491 if test "x$GCC" != "xyes"; then
48492 PIC_FLAG="-KPIC"
48493 fi
48494 ;;
48495
48496 *-*-cygwin* | *-*-mingw32* )
48497 PIC_FLAG=""
48498 SHARED_LD_CC="\$(CC) -shared -o"
48499 SHARED_LD_CXX="\$(CXX) -shared -o"
48500 WINDOWS_IMPLIB=1
48501 ;;
48502
48503 *-pc-os2_emx | *-pc-os2-emx )
48504 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48505 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48506 PIC_FLAG=""
48507
48508 D='$'
48509 cat <<EOF >dllar.sh
48510 #!/bin/sh
48511 #
48512 # dllar - a tool to build both a .dll and an .a file
48513 # from a set of object (.o) files for EMX/OS2.
48514 #
48515 # Written by Andrew Zabolotny, bit@freya.etu.ru
48516 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48517 #
48518 # This script will accept a set of files on the command line.
48519 # All the public symbols from the .o files will be exported into
48520 # a .DEF file, then linker will be run (through gcc) against them to
48521 # build a shared library consisting of all given .o files. All libraries
48522 # (.a) will be first decompressed into component .o files then act as
48523 # described above. You can optionally give a description (-d "description")
48524 # which will be put into .DLL. To see the list of accepted options (as well
48525 # as command-line format) simply run this program without options. The .DLL
48526 # is built to be imported by name (there is no guarantee that new versions
48527 # of the library you build will have same ordinals for same symbols).
48528 #
48529 # dllar is free software; you can redistribute it and/or modify
48530 # it under the terms of the GNU General Public License as published by
48531 # the Free Software Foundation; either version 2, or (at your option)
48532 # any later version.
48533 #
48534 # dllar is distributed in the hope that it will be useful,
48535 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48536 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48537 # GNU General Public License for more details.
48538 #
48539 # You should have received a copy of the GNU General Public License
48540 # along with dllar; see the file COPYING. If not, write to the Free
48541 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48542 # 02111-1307, USA.
48543
48544 # To successfuly run this program you will need:
48545 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48546 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48547 # - gcc
48548 # (used to build the .dll)
48549 # - emxexp
48550 # (used to create .def file from .o files)
48551 # - emximp
48552 # (used to create .a file from .def file)
48553 # - GNU text utilites (cat, sort, uniq)
48554 # used to process emxexp output
48555 # - GNU file utilities (mv, rm)
48556 # - GNU sed
48557 # - lxlite (optional, see flag below)
48558 # (used for general .dll cleanup)
48559 #
48560
48561 flag_USE_LXLITE=1;
48562
48563 #
48564 # helper functions
48565 # basnam, variant of basename, which does _not_ remove the path, _iff_
48566 # second argument (suffix to remove) is given
48567 basnam(){
48568 case ${D}# in
48569 1)
48570 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48571 ;;
48572 2)
48573 echo ${D}1 | sed 's/'${D}2'${D}//'
48574 ;;
48575 *)
48576 echo "error in basnam ${D}*"
48577 exit 8
48578 ;;
48579 esac
48580 }
48581
48582 # Cleanup temporary files and output
48583 CleanUp() {
48584 cd ${D}curDir
48585 for i in ${D}inputFiles ; do
48586 case ${D}i in
48587 *!)
48588 rm -rf \`basnam ${D}i !\`
48589 ;;
48590 *)
48591 ;;
48592 esac
48593 done
48594
48595 # Kill result in case of failure as there is just to many stupid make/nmake
48596 # things out there which doesn't do this.
48597 if [ ${D}# -eq 0 ]; then
48598 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48599 fi
48600 }
48601
48602 # Print usage and exit script with rc=1.
48603 PrintHelp() {
48604 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48605 echo ' [-name-mangler-script script.sh]'
48606 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48607 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48608 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48609 echo ' [*.o] [*.a]'
48610 echo '*> "output_file" should have no extension.'
48611 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48612 echo ' The import library name is derived from this and is set to "name".a,'
48613 echo ' unless overridden by -import'
48614 echo '*> "importlib_name" should have no extension.'
48615 echo ' If it has the .o, or .a extension, it is automatically removed.'
48616 echo ' This name is used as the import library name and may be longer and'
48617 echo ' more descriptive than the DLL name which has to follow the old '
48618 echo ' 8.3 convention of FAT.'
48619 echo '*> "script.sh may be given to override the output_file name by a'
48620 echo ' different name. It is mainly useful if the regular make process'
48621 echo ' of some package does not take into account OS/2 restriction of'
48622 echo ' DLL name lengths. It takes the importlib name as input and is'
48623 echo ' supposed to procude a shorter name as output. The script should'
48624 echo ' expect to get importlib_name without extension and should produce'
48625 echo ' a (max.) 8 letter name without extension.'
48626 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48627 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48628 echo ' These flags will be put at the start of GCC command line.'
48629 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48630 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48631 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48632 echo ' If the last character of a symbol is "*", all symbols beginning'
48633 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48634 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48635 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48636 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48637 echo ' C runtime DLLs.'
48638 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48639 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48640 echo ' unchanged to GCC at the end of command line.'
48641 echo '*> If you create a DLL from a library and you do not specify -o,'
48642 echo ' the basename for DLL and import library will be set to library name,'
48643 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48644 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48645 echo ' library will be renamed into gcc_s.a.'
48646 echo '--------'
48647 echo 'Example:'
48648 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48649 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48650 CleanUp
48651 exit 1
48652 }
48653
48654 # Execute a command.
48655 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48656 # @Uses Whatever CleanUp() uses.
48657 doCommand() {
48658 echo "${D}*"
48659 eval ${D}*
48660 rcCmd=${D}?
48661
48662 if [ ${D}rcCmd -ne 0 ]; then
48663 echo "command failed, exit code="${D}rcCmd
48664 CleanUp
48665 exit ${D}rcCmd
48666 fi
48667 }
48668
48669 # main routine
48670 # setup globals
48671 cmdLine=${D}*
48672 outFile=""
48673 outimpFile=""
48674 inputFiles=""
48675 renameScript=""
48676 description=""
48677 CC=gcc.exe
48678 CFLAGS="-s -Zcrtdll"
48679 EXTRA_CFLAGS=""
48680 EXPORT_BY_ORDINALS=0
48681 exclude_symbols=""
48682 library_flags=""
48683 curDir=\`pwd\`
48684 curDirS=curDir
48685 case ${D}curDirS in
48686 */)
48687 ;;
48688 *)
48689 curDirS=${D}{curDirS}"/"
48690 ;;
48691 esac
48692 # Parse commandline
48693 libsToLink=0
48694 omfLinking=0
48695 while [ ${D}1 ]; do
48696 case ${D}1 in
48697 -ord*)
48698 EXPORT_BY_ORDINALS=1;
48699 ;;
48700 -o*)
48701 shift
48702 outFile=${D}1
48703 ;;
48704 -i*)
48705 shift
48706 outimpFile=${D}1
48707 ;;
48708 -name-mangler-script)
48709 shift
48710 renameScript=${D}1
48711 ;;
48712 -d*)
48713 shift
48714 description=${D}1
48715 ;;
48716 -f*)
48717 shift
48718 CFLAGS=${D}1
48719 ;;
48720 -c*)
48721 shift
48722 CC=${D}1
48723 ;;
48724 -h*)
48725 PrintHelp
48726 ;;
48727 -ex*)
48728 shift
48729 exclude_symbols=${D}{exclude_symbols}${D}1" "
48730 ;;
48731 -libf*)
48732 shift
48733 library_flags=${D}{library_flags}${D}1" "
48734 ;;
48735 -nocrt*)
48736 CFLAGS="-s"
48737 ;;
48738 -nolxl*)
48739 flag_USE_LXLITE=0
48740 ;;
48741 -* | /*)
48742 case ${D}1 in
48743 -L* | -l*)
48744 libsToLink=1
48745 ;;
48746 -Zomf)
48747 omfLinking=1
48748 ;;
48749 *)
48750 ;;
48751 esac
48752 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48753 ;;
48754 *.dll)
48755 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48756 if [ ${D}omfLinking -eq 1 ]; then
48757 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48758 else
48759 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48760 fi
48761 ;;
48762 *)
48763 found=0;
48764 if [ ${D}libsToLink -ne 0 ]; then
48765 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48766 else
48767 for file in ${D}1 ; do
48768 if [ -f ${D}file ]; then
48769 inputFiles="${D}{inputFiles} ${D}file"
48770 found=1
48771 fi
48772 done
48773 if [ ${D}found -eq 0 ]; then
48774 echo "ERROR: No file(s) found: "${D}1
48775 exit 8
48776 fi
48777 fi
48778 ;;
48779 esac
48780 shift
48781 done # iterate cmdline words
48782
48783 #
48784 if [ -z "${D}inputFiles" ]; then
48785 echo "dllar: no input files"
48786 PrintHelp
48787 fi
48788
48789 # Now extract all .o files from .a files
48790 newInputFiles=""
48791 for file in ${D}inputFiles ; do
48792 case ${D}file in
48793 *.a | *.lib)
48794 case ${D}file in
48795 *.a)
48796 suffix=".a"
48797 AR="ar"
48798 ;;
48799 *.lib)
48800 suffix=".lib"
48801 AR="emxomfar"
48802 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48803 ;;
48804 *)
48805 ;;
48806 esac
48807 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48808 mkdir ${D}dirname
48809 if [ ${D}? -ne 0 ]; then
48810 echo "Failed to create subdirectory ./${D}dirname"
48811 CleanUp
48812 exit 8;
48813 fi
48814 # Append '!' to indicate archive
48815 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48816 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48817 cd ${D}curDir
48818 found=0;
48819 for subfile in ${D}dirname/*.o* ; do
48820 if [ -f ${D}subfile ]; then
48821 found=1
48822 if [ -s ${D}subfile ]; then
48823 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48824 newInputFiles="${D}newInputFiles ${D}subfile"
48825 fi
48826 fi
48827 done
48828 if [ ${D}found -eq 0 ]; then
48829 echo "WARNING: there are no files in archive \\'${D}file\\'"
48830 fi
48831 ;;
48832 *)
48833 newInputFiles="${D}{newInputFiles} ${D}file"
48834 ;;
48835 esac
48836 done
48837 inputFiles="${D}newInputFiles"
48838
48839 # Output filename(s).
48840 do_backup=0;
48841 if [ -z ${D}outFile ]; then
48842 do_backup=1;
48843 set outFile ${D}inputFiles; outFile=${D}2
48844 fi
48845
48846 # If it is an archive, remove the '!' and the '_%' suffixes
48847 case ${D}outFile in
48848 *_%!)
48849 outFile=\`basnam ${D}outFile _%!\`
48850 ;;
48851 *)
48852 ;;
48853 esac
48854 case ${D}outFile in
48855 *.dll)
48856 outFile=\`basnam ${D}outFile .dll\`
48857 ;;
48858 *.DLL)
48859 outFile=\`basnam ${D}outFile .DLL\`
48860 ;;
48861 *.o)
48862 outFile=\`basnam ${D}outFile .o\`
48863 ;;
48864 *.obj)
48865 outFile=\`basnam ${D}outFile .obj\`
48866 ;;
48867 *.a)
48868 outFile=\`basnam ${D}outFile .a\`
48869 ;;
48870 *.lib)
48871 outFile=\`basnam ${D}outFile .lib\`
48872 ;;
48873 *)
48874 ;;
48875 esac
48876 case ${D}outimpFile in
48877 *.a)
48878 outimpFile=\`basnam ${D}outimpFile .a\`
48879 ;;
48880 *.lib)
48881 outimpFile=\`basnam ${D}outimpFile .lib\`
48882 ;;
48883 *)
48884 ;;
48885 esac
48886 if [ -z ${D}outimpFile ]; then
48887 outimpFile=${D}outFile
48888 fi
48889 defFile="${D}{outFile}.def"
48890 arcFile="${D}{outimpFile}.a"
48891 arcFile2="${D}{outimpFile}.lib"
48892
48893 #create ${D}dllFile as something matching 8.3 restrictions,
48894 if [ -z ${D}renameScript ] ; then
48895 dllFile="${D}outFile"
48896 else
48897 dllFile=\`${D}renameScript ${D}outimpFile\`
48898 fi
48899
48900 if [ ${D}do_backup -ne 0 ] ; then
48901 if [ -f ${D}arcFile ] ; then
48902 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48903 fi
48904 if [ -f ${D}arcFile2 ] ; then
48905 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48906 fi
48907 fi
48908
48909 # Extract public symbols from all the object files.
48910 tmpdefFile=${D}{defFile}_%
48911 rm -f ${D}tmpdefFile
48912 for file in ${D}inputFiles ; do
48913 case ${D}file in
48914 *!)
48915 ;;
48916 *)
48917 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48918 ;;
48919 esac
48920 done
48921
48922 # Create the def file.
48923 rm -f ${D}defFile
48924 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48925 dllFile="${D}{dllFile}.dll"
48926 if [ ! -z ${D}description ]; then
48927 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48928 fi
48929 echo "EXPORTS" >> ${D}defFile
48930
48931 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48932 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48933
48934 # Checks if the export is ok or not.
48935 for word in ${D}exclude_symbols; do
48936 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48937 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48938 done
48939
48940
48941 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48942 sed "=" < ${D}tmpdefFile | \\
48943 sed '
48944 N
48945 : loop
48946 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48947 t loop
48948 ' > ${D}{tmpdefFile}%
48949 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48950 else
48951 rm -f ${D}{tmpdefFile}%
48952 fi
48953 cat ${D}tmpdefFile >> ${D}defFile
48954 rm -f ${D}tmpdefFile
48955
48956 # Do linking, create implib, and apply lxlite.
48957 gccCmdl="";
48958 for file in ${D}inputFiles ; do
48959 case ${D}file in
48960 *!)
48961 ;;
48962 *)
48963 gccCmdl="${D}gccCmdl ${D}file"
48964 ;;
48965 esac
48966 done
48967 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48968 touch "${D}{outFile}.dll"
48969
48970 doCommand "emximp -o ${D}arcFile ${D}defFile"
48971 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48972 add_flags="";
48973 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48974 add_flags="-ynd"
48975 fi
48976 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48977 fi
48978 doCommand "emxomf -s -l ${D}arcFile"
48979
48980 # Successful exit.
48981 CleanUp 1
48982 exit 0
48983 EOF
48984
48985 chmod +x dllar.sh
48986 ;;
48987
48988 powerpc-apple-macos* | \
48989 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48990 *-*-mirbsd* | \
48991 *-*-sunos4* | \
48992 *-*-osf* | \
48993 *-*-dgux5* | \
48994 *-*-sysv5* | \
48995 *-pc-msdosdjgpp )
48996 ;;
48997
48998 *)
48999 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49000 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49001 { (exit 1); exit 1; }; }
49002 esac
49003
49004 if test "x$PIC_FLAG" != "x" ; then
49005 PIC_FLAG="$PIC_FLAG -DPIC"
49006 fi
49007
49008 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49009 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49010 fi
49011 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49012 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49013 fi
49014
49015
49016
49017
49018
49019
49020
49021
49022
49023 USE_SOVERSION=0
49024 USE_SOVERLINUX=0
49025 USE_SOVERSOLARIS=0
49026 USE_SOVERCYGWIN=0
49027 USE_SOSYMLINKS=0
49028 USE_MACVERSION=0
49029 SONAME_FLAG=
49030
49031 case "${BAKEFILE_HOST}" in
49032 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49033 *-*-k*bsd*-gnu | *-*-mirbsd* )
49034 if test "x$SUNCXX" = "xyes"; then
49035 SONAME_FLAG="-h "
49036 else
49037 SONAME_FLAG="-Wl,-soname,"
49038 fi
49039 USE_SOVERSION=1
49040 USE_SOVERLINUX=1
49041 USE_SOSYMLINKS=1
49042 ;;
49043
49044 *-*-solaris2* )
49045 SONAME_FLAG="-h "
49046 USE_SOVERSION=1
49047 USE_SOVERSOLARIS=1
49048 USE_SOSYMLINKS=1
49049 ;;
49050
49051 *-*-darwin* )
49052 USE_MACVERSION=1
49053 USE_SOVERSION=1
49054 USE_SOSYMLINKS=1
49055 ;;
49056
49057 *-*-cygwin* )
49058 USE_SOVERSION=1
49059 USE_SOVERCYGWIN=1
49060 ;;
49061 esac
49062
49063
49064
49065
49066
49067
49068
49069
49070
49071
49072 # Check whether --enable-dependency-tracking was given.
49073 if test "${enable_dependency_tracking+set}" = set; then
49074 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49075 fi
49076
49077
49078 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49079 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49080
49081 BK_DEPS=""
49082 if test "x$bk_use_trackdeps" = "xno" ; then
49083 DEPS_TRACKING=0
49084 { echo "$as_me:$LINENO: result: disabled" >&5
49085 echo "${ECHO_T}disabled" >&6; }
49086 else
49087 DEPS_TRACKING=1
49088
49089 if test "x$GCC" = "xyes"; then
49090 DEPSMODE=gcc
49091 case "${BAKEFILE_HOST}" in
49092 *-*-darwin* )
49093 DEPSFLAG="-no-cpp-precomp -MMD"
49094 ;;
49095 * )
49096 DEPSFLAG="-MMD"
49097 ;;
49098 esac
49099 { echo "$as_me:$LINENO: result: gcc" >&5
49100 echo "${ECHO_T}gcc" >&6; }
49101 elif test "x$MWCC" = "xyes"; then
49102 DEPSMODE=mwcc
49103 DEPSFLAG="-MM"
49104 { echo "$as_me:$LINENO: result: mwcc" >&5
49105 echo "${ECHO_T}mwcc" >&6; }
49106 elif test "x$SUNCC" = "xyes"; then
49107 DEPSMODE=unixcc
49108 DEPSFLAG="-xM1"
49109 { echo "$as_me:$LINENO: result: Sun cc" >&5
49110 echo "${ECHO_T}Sun cc" >&6; }
49111 elif test "x$SGICC" = "xyes"; then
49112 DEPSMODE=unixcc
49113 DEPSFLAG="-M"
49114 { echo "$as_me:$LINENO: result: SGI cc" >&5
49115 echo "${ECHO_T}SGI cc" >&6; }
49116 elif test "x$HPCC" = "xyes"; then
49117 DEPSMODE=unixcc
49118 DEPSFLAG="+make"
49119 { echo "$as_me:$LINENO: result: HP cc" >&5
49120 echo "${ECHO_T}HP cc" >&6; }
49121 elif test "x$COMPAQCC" = "xyes"; then
49122 DEPSMODE=gcc
49123 DEPSFLAG="-MD"
49124 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49125 echo "${ECHO_T}Compaq cc" >&6; }
49126 else
49127 DEPS_TRACKING=0
49128 { echo "$as_me:$LINENO: result: none" >&5
49129 echo "${ECHO_T}none" >&6; }
49130 fi
49131
49132 if test $DEPS_TRACKING = 1 ; then
49133
49134 D='$'
49135 cat <<EOF >bk-deps
49136 #!/bin/sh
49137
49138 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49139 # script. It is used to track C/C++ files dependencies in portable way.
49140 #
49141 # Permission is given to use this file in any way.
49142
49143 DEPSMODE=${DEPSMODE}
49144 DEPSFLAG="${DEPSFLAG}"
49145 DEPSDIRBASE=.deps
49146
49147 if test ${D}DEPSMODE = gcc ; then
49148 ${D}* ${D}{DEPSFLAG}
49149 status=${D}?
49150
49151 # determine location of created files:
49152 while test ${D}# -gt 0; do
49153 case "${D}1" in
49154 -o )
49155 shift
49156 objfile=${D}1
49157 ;;
49158 -* )
49159 ;;
49160 * )
49161 srcfile=${D}1
49162 ;;
49163 esac
49164 shift
49165 done
49166 objfilebase=\`basename ${D}objfile\`
49167 builddir=\`dirname ${D}objfile\`
49168 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49169 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49170 depsdir=${D}builddir/${D}DEPSDIRBASE
49171 mkdir -p ${D}depsdir
49172
49173 # if the compiler failed, we're done:
49174 if test ${D}{status} != 0 ; then
49175 rm -f ${D}depfile
49176 exit ${D}{status}
49177 fi
49178
49179 # move created file to the location we want it in:
49180 if test -f ${D}depfile ; then
49181 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49182 rm -f ${D}depfile
49183 else
49184 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49185 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49186 if test ! -f ${D}depfile ; then
49187 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49188 depfile="${D}objfile.d"
49189 fi
49190 if test -f ${D}depfile ; then
49191 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49192 rm -f ${D}depfile
49193 fi
49194 fi
49195 exit 0
49196
49197 elif test ${D}DEPSMODE = mwcc ; then
49198 ${D}* || exit ${D}?
49199 # Run mwcc again with -MM and redirect into the dep file we want
49200 # NOTE: We can't use shift here because we need ${D}* to be valid
49201 prevarg=
49202 for arg in ${D}* ; do
49203 if test "${D}prevarg" = "-o"; then
49204 objfile=${D}arg
49205 else
49206 case "${D}arg" in
49207 -* )
49208 ;;
49209 * )
49210 srcfile=${D}arg
49211 ;;
49212 esac
49213 fi
49214 prevarg="${D}arg"
49215 done
49216
49217 objfilebase=\`basename ${D}objfile\`
49218 builddir=\`dirname ${D}objfile\`
49219 depsdir=${D}builddir/${D}DEPSDIRBASE
49220 mkdir -p ${D}depsdir
49221
49222 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49223 exit 0
49224
49225 elif test ${D}DEPSMODE = unixcc; then
49226 ${D}* || exit ${D}?
49227 # Run compiler again with deps flag and redirect into the dep file.
49228 # It doesn't work if the '-o FILE' option is used, but without it the
49229 # dependency file will contain the wrong name for the object. So it is
49230 # removed from the command line, and the dep file is fixed with sed.
49231 cmd=""
49232 while test ${D}# -gt 0; do
49233 case "${D}1" in
49234 -o )
49235 shift
49236 objfile=${D}1
49237 ;;
49238 * )
49239 eval arg${D}#=\\${D}1
49240 cmd="${D}cmd \\${D}arg${D}#"
49241 ;;
49242 esac
49243 shift
49244 done
49245
49246 objfilebase=\`basename ${D}objfile\`
49247 builddir=\`dirname ${D}objfile\`
49248 depsdir=${D}builddir/${D}DEPSDIRBASE
49249 mkdir -p ${D}depsdir
49250
49251 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49252 exit 0
49253
49254 else
49255 ${D}*
49256 exit ${D}?
49257 fi
49258 EOF
49259
49260 chmod +x bk-deps
49261 BK_DEPS="`pwd`/bk-deps"
49262 fi
49263 fi
49264
49265
49266
49267
49268
49269 case ${BAKEFILE_HOST} in
49270 *-*-cygwin* | *-*-mingw32* )
49271 if test -n "$ac_tool_prefix"; then
49272 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49273 set dummy ${ac_tool_prefix}windres; ac_word=$2
49274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49276 if test "${ac_cv_prog_WINDRES+set}" = set; then
49277 echo $ECHO_N "(cached) $ECHO_C" >&6
49278 else
49279 if test -n "$WINDRES"; then
49280 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49281 else
49282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49283 for as_dir in $PATH
49284 do
49285 IFS=$as_save_IFS
49286 test -z "$as_dir" && as_dir=.
49287 for ac_exec_ext in '' $ac_executable_extensions; do
49288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49289 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49291 break 2
49292 fi
49293 done
49294 done
49295 IFS=$as_save_IFS
49296
49297 fi
49298 fi
49299 WINDRES=$ac_cv_prog_WINDRES
49300 if test -n "$WINDRES"; then
49301 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49302 echo "${ECHO_T}$WINDRES" >&6; }
49303 else
49304 { echo "$as_me:$LINENO: result: no" >&5
49305 echo "${ECHO_T}no" >&6; }
49306 fi
49307
49308
49309 fi
49310 if test -z "$ac_cv_prog_WINDRES"; then
49311 ac_ct_WINDRES=$WINDRES
49312 # Extract the first word of "windres", so it can be a program name with args.
49313 set dummy windres; ac_word=$2
49314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49316 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49317 echo $ECHO_N "(cached) $ECHO_C" >&6
49318 else
49319 if test -n "$ac_ct_WINDRES"; then
49320 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49321 else
49322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49323 for as_dir in $PATH
49324 do
49325 IFS=$as_save_IFS
49326 test -z "$as_dir" && as_dir=.
49327 for ac_exec_ext in '' $ac_executable_extensions; do
49328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49329 ac_cv_prog_ac_ct_WINDRES="windres"
49330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49331 break 2
49332 fi
49333 done
49334 done
49335 IFS=$as_save_IFS
49336
49337 fi
49338 fi
49339 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49340 if test -n "$ac_ct_WINDRES"; then
49341 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49342 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49343 else
49344 { echo "$as_me:$LINENO: result: no" >&5
49345 echo "${ECHO_T}no" >&6; }
49346 fi
49347
49348 if test "x$ac_ct_WINDRES" = x; then
49349 WINDRES=""
49350 else
49351 case $cross_compiling:$ac_tool_warned in
49352 yes:)
49353 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49354 whose name does not start with the host triplet. If you think this
49355 configuration is useful to you, please write to autoconf@gnu.org." >&5
49356 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49357 whose name does not start with the host triplet. If you think this
49358 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49359 ac_tool_warned=yes ;;
49360 esac
49361 WINDRES=$ac_ct_WINDRES
49362 fi
49363 else
49364 WINDRES="$ac_cv_prog_WINDRES"
49365 fi
49366
49367 ;;
49368
49369 *-*-darwin* | powerpc-apple-macos* )
49370 # Extract the first word of "Rez", so it can be a program name with args.
49371 set dummy Rez; ac_word=$2
49372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49374 if test "${ac_cv_prog_REZ+set}" = set; then
49375 echo $ECHO_N "(cached) $ECHO_C" >&6
49376 else
49377 if test -n "$REZ"; then
49378 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49379 else
49380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49381 for as_dir in $PATH
49382 do
49383 IFS=$as_save_IFS
49384 test -z "$as_dir" && as_dir=.
49385 for ac_exec_ext in '' $ac_executable_extensions; do
49386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49387 ac_cv_prog_REZ="Rez"
49388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49389 break 2
49390 fi
49391 done
49392 done
49393 IFS=$as_save_IFS
49394
49395 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49396 fi
49397 fi
49398 REZ=$ac_cv_prog_REZ
49399 if test -n "$REZ"; then
49400 { echo "$as_me:$LINENO: result: $REZ" >&5
49401 echo "${ECHO_T}$REZ" >&6; }
49402 else
49403 { echo "$as_me:$LINENO: result: no" >&5
49404 echo "${ECHO_T}no" >&6; }
49405 fi
49406
49407
49408 # Extract the first word of "SetFile", so it can be a program name with args.
49409 set dummy SetFile; ac_word=$2
49410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49412 if test "${ac_cv_prog_SETFILE+set}" = set; then
49413 echo $ECHO_N "(cached) $ECHO_C" >&6
49414 else
49415 if test -n "$SETFILE"; then
49416 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49417 else
49418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49419 for as_dir in $PATH
49420 do
49421 IFS=$as_save_IFS
49422 test -z "$as_dir" && as_dir=.
49423 for ac_exec_ext in '' $ac_executable_extensions; do
49424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49425 ac_cv_prog_SETFILE="SetFile"
49426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49427 break 2
49428 fi
49429 done
49430 done
49431 IFS=$as_save_IFS
49432
49433 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49434 fi
49435 fi
49436 SETFILE=$ac_cv_prog_SETFILE
49437 if test -n "$SETFILE"; then
49438 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49439 echo "${ECHO_T}$SETFILE" >&6; }
49440 else
49441 { echo "$as_me:$LINENO: result: no" >&5
49442 echo "${ECHO_T}no" >&6; }
49443 fi
49444
49445
49446 ;;
49447 esac
49448
49449
49450
49451
49452
49453
49454
49455
49456
49457 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49458
49459
49460 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49461
49462
49463
49464 # Check whether --enable-precomp-headers was given.
49465 if test "${enable_precomp_headers+set}" = set; then
49466 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49467 fi
49468
49469
49470 GCC_PCH=0
49471 ICC_PCH=0
49472 USE_PCH=0
49473 BK_MAKE_PCH=""
49474
49475 case ${BAKEFILE_HOST} in
49476 *-*-cygwin* )
49477 bk_use_pch="no"
49478 ;;
49479 esac
49480
49481 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49482 if test "x$GCC" = "xyes"; then
49483 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49484 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49485 cat >conftest.$ac_ext <<_ACEOF
49486 /* confdefs.h. */
49487 _ACEOF
49488 cat confdefs.h >>conftest.$ac_ext
49489 cat >>conftest.$ac_ext <<_ACEOF
49490 /* end confdefs.h. */
49491
49492 int
49493 main ()
49494 {
49495
49496 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49497 There is no PCH support
49498 #endif
49499 #if (__GNUC__ < 3)
49500 There is no PCH support
49501 #endif
49502 #if (__GNUC__ == 3) && \
49503 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49504 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49505 ( defined(__INTEL_COMPILER) )
49506 There is no PCH support
49507 #endif
49508
49509 ;
49510 return 0;
49511 }
49512 _ACEOF
49513 rm -f conftest.$ac_objext
49514 if { (ac_try="$ac_compile"
49515 case "(($ac_try" in
49516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49517 *) ac_try_echo=$ac_try;;
49518 esac
49519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49520 (eval "$ac_compile") 2>conftest.er1
49521 ac_status=$?
49522 grep -v '^ *+' conftest.er1 >conftest.err
49523 rm -f conftest.er1
49524 cat conftest.err >&5
49525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49526 (exit $ac_status); } && {
49527 test -z "$ac_c_werror_flag" ||
49528 test ! -s conftest.err
49529 } && test -s conftest.$ac_objext; then
49530
49531 { echo "$as_me:$LINENO: result: yes" >&5
49532 echo "${ECHO_T}yes" >&6; }
49533 GCC_PCH=1
49534
49535 else
49536 echo "$as_me: failed program was:" >&5
49537 sed 's/^/| /' conftest.$ac_ext >&5
49538
49539
49540 if test "$INTELCXX8" = "yes"; then
49541 { echo "$as_me:$LINENO: result: yes" >&5
49542 echo "${ECHO_T}yes" >&6; }
49543 ICC_PCH=1
49544 if test "$INTELCXX10" = "yes"; then
49545 ICC_PCH_CREATE_SWITCH="-pch-create"
49546 ICC_PCH_USE_SWITCH="-pch-use"
49547 else
49548 ICC_PCH_CREATE_SWITCH="-create-pch"
49549 ICC_PCH_USE_SWITCH="-use-pch"
49550 fi
49551 else
49552 { echo "$as_me:$LINENO: result: no" >&5
49553 echo "${ECHO_T}no" >&6; }
49554 fi
49555
49556 fi
49557
49558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49559 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49560 USE_PCH=1
49561
49562 D='$'
49563 cat <<EOF >bk-make-pch
49564 #!/bin/sh
49565
49566 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49567 # script. It is used to generated precompiled headers.
49568 #
49569 # Permission is given to use this file in any way.
49570
49571 outfile="${D}{1}"
49572 header="${D}{2}"
49573 shift
49574 shift
49575
49576 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49577
49578 compiler=""
49579 headerfile=""
49580
49581 while test ${D}{#} -gt 0; do
49582 add_to_cmdline=1
49583 case "${D}{1}" in
49584 -I* )
49585 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49586 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49587 headerfile="${D}{incdir}/${D}{header}"
49588 fi
49589 ;;
49590 -use-pch|-use_pch|-pch-use )
49591 shift
49592 add_to_cmdline=0
49593 ;;
49594 esac
49595 if test ${D}add_to_cmdline = 1 ; then
49596 compiler="${D}{compiler} ${D}{1}"
49597 fi
49598 shift
49599 done
49600
49601 if test "x${D}{headerfile}" = "x" ; then
49602 echo "error: can't find header ${D}{header} in include paths" >&2
49603 else
49604 if test -f ${D}{outfile} ; then
49605 rm -f ${D}{outfile}
49606 else
49607 mkdir -p \`dirname ${D}{outfile}\`
49608 fi
49609 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49610 mkdir -p ${D}{builddir}/.deps
49611 if test "x${GCC_PCH}" = "x1" ; then
49612 # can do this because gcc is >= 3.4:
49613 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49614 elif test "x${ICC_PCH}" = "x1" ; then
49615 filename=pch_gen-${D}${D}
49616 file=${D}{filename}.c
49617 dfile=${D}{filename}.d
49618 cat > ${D}file <<EOT
49619 #include "${D}header"
49620 EOT
49621 # using -MF icc complains about differing command lines in creation/use
49622 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49623 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49624 rm -f ${D}file ${D}dfile ${D}{filename}.o
49625 fi
49626 exit ${D}{?}
49627 fi
49628 EOF
49629
49630 chmod +x bk-make-pch
49631 BK_MAKE_PCH="`pwd`/bk-make-pch"
49632 fi
49633 fi
49634 fi
49635
49636
49637
49638
49639
49640
49641
49642 COND_BUILD_DEBUG="#"
49643 if test "x$BUILD" = "xdebug" ; then
49644 COND_BUILD_DEBUG=""
49645 fi
49646
49647 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49648 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49649 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49650 fi
49651
49652 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49653 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49654 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49655 fi
49656
49657 COND_BUILD_DEBUG_UNICODE_0="#"
49658 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49659 COND_BUILD_DEBUG_UNICODE_0=""
49660 fi
49661
49662 COND_BUILD_DEBUG_UNICODE_1="#"
49663 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49664 COND_BUILD_DEBUG_UNICODE_1=""
49665 fi
49666
49667 COND_BUILD_RELEASE="#"
49668 if test "x$BUILD" = "xrelease" ; then
49669 COND_BUILD_RELEASE=""
49670 fi
49671
49672 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49673 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49674 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49675 fi
49676
49677 COND_BUILD_RELEASE_UNICODE_0="#"
49678 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49679 COND_BUILD_RELEASE_UNICODE_0=""
49680 fi
49681
49682 COND_BUILD_RELEASE_UNICODE_1="#"
49683 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49684 COND_BUILD_RELEASE_UNICODE_1=""
49685 fi
49686
49687 COND_BUILD_debug="#"
49688 if test "x$BUILD" = "xdebug" ; then
49689 COND_BUILD_debug=""
49690 fi
49691
49692 COND_BUILD_debug_DEBUG_FLAG_default="#"
49693 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49694 COND_BUILD_debug_DEBUG_FLAG_default=""
49695 fi
49696
49697 COND_BUILD_debug_DEBUG_INFO_default="#"
49698 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49699 COND_BUILD_debug_DEBUG_INFO_default=""
49700 fi
49701
49702 COND_BUILD_debug_UNICODE_0="#"
49703 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49704 COND_BUILD_debug_UNICODE_0=""
49705 fi
49706
49707 COND_BUILD_debug_UNICODE_1="#"
49708 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49709 COND_BUILD_debug_UNICODE_1=""
49710 fi
49711
49712 COND_BUILD_release="#"
49713 if test "x$BUILD" = "xrelease" ; then
49714 COND_BUILD_release=""
49715 fi
49716
49717 COND_BUILD_release_DEBUG_INFO_default="#"
49718 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49719 COND_BUILD_release_DEBUG_INFO_default=""
49720 fi
49721
49722 COND_BUILD_release_UNICODE_0="#"
49723 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49724 COND_BUILD_release_UNICODE_0=""
49725 fi
49726
49727 COND_BUILD_release_UNICODE_1="#"
49728 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49729 COND_BUILD_release_UNICODE_1=""
49730 fi
49731
49732 COND_DEBUG_FLAG_1="#"
49733 if test "x$DEBUG_FLAG" = "x1" ; then
49734 COND_DEBUG_FLAG_1=""
49735 fi
49736
49737 COND_DEBUG_INFO_0="#"
49738 if test "x$DEBUG_INFO" = "x0" ; then
49739 COND_DEBUG_INFO_0=""
49740 fi
49741
49742 COND_DEBUG_INFO_1="#"
49743 if test "x$DEBUG_INFO" = "x1" ; then
49744 COND_DEBUG_INFO_1=""
49745 fi
49746
49747 COND_DEPS_TRACKING_0="#"
49748 if test "x$DEPS_TRACKING" = "x0" ; then
49749 COND_DEPS_TRACKING_0=""
49750 fi
49751
49752 COND_DEPS_TRACKING_1="#"
49753 if test "x$DEPS_TRACKING" = "x1" ; then
49754 COND_DEPS_TRACKING_1=""
49755 fi
49756
49757 COND_GCC_PCH_1="#"
49758 if test "x$GCC_PCH" = "x1" ; then
49759 COND_GCC_PCH_1=""
49760 fi
49761
49762 COND_ICC_PCH_1="#"
49763 if test "x$ICC_PCH" = "x1" ; then
49764 COND_ICC_PCH_1=""
49765 fi
49766
49767 COND_MONOLITHIC_0="#"
49768 if test "x$MONOLITHIC" = "x0" ; then
49769 COND_MONOLITHIC_0=""
49770 fi
49771
49772 COND_MONOLITHIC_0_SHARED_0="#"
49773 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49774 COND_MONOLITHIC_0_SHARED_0=""
49775 fi
49776
49777 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49778 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49779 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49780 fi
49781
49782 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49783 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49785 fi
49786
49787 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49788 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49789 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49790 fi
49791
49792 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49793 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49794 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49795 fi
49796
49797 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49798 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49799 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49800 fi
49801
49802 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49803 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49804 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49805 fi
49806
49807 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49809 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49810 fi
49811
49812 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49814 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49815 fi
49816
49817 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49819 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49820 fi
49821
49822 COND_MONOLITHIC_0_SHARED_1="#"
49823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49824 COND_MONOLITHIC_0_SHARED_1=""
49825 fi
49826
49827 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49829 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49830 fi
49831
49832 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49834 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49835 fi
49836
49837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49840 fi
49841
49842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49845 fi
49846
49847 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49849 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49850 fi
49851
49852 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
49853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
49854 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
49855 fi
49856
49857 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49859 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49860 fi
49861
49862 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49865 fi
49866
49867 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49869 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49870 fi
49871
49872 COND_MONOLITHIC_0_USE_AUI_1="#"
49873 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49874 COND_MONOLITHIC_0_USE_AUI_1=""
49875 fi
49876
49877 COND_MONOLITHIC_0_USE_GUI_1="#"
49878 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49879 COND_MONOLITHIC_0_USE_GUI_1=""
49880 fi
49881
49882 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49883 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49884 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49885 fi
49886
49887 COND_MONOLITHIC_0_USE_HTML_1="#"
49888 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49889 COND_MONOLITHIC_0_USE_HTML_1=""
49890 fi
49891
49892 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49893 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49894 COND_MONOLITHIC_0_USE_MEDIA_1=""
49895 fi
49896
49897 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
49898 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49899 COND_MONOLITHIC_0_USE_PROPGRID_1=""
49900 fi
49901
49902 COND_MONOLITHIC_0_USE_QA_1="#"
49903 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49904 COND_MONOLITHIC_0_USE_QA_1=""
49905 fi
49906
49907 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49908 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49909 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49910 fi
49911
49912 COND_MONOLITHIC_0_USE_STC_1="#"
49913 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49914 COND_MONOLITHIC_0_USE_STC_1=""
49915 fi
49916
49917 COND_MONOLITHIC_0_USE_XRC_1="#"
49918 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49919 COND_MONOLITHIC_0_USE_XRC_1=""
49920 fi
49921
49922 COND_MONOLITHIC_1="#"
49923 if test "x$MONOLITHIC" = "x1" ; then
49924 COND_MONOLITHIC_1=""
49925 fi
49926
49927 COND_MONOLITHIC_1_SHARED_0="#"
49928 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49929 COND_MONOLITHIC_1_SHARED_0=""
49930 fi
49931
49932 COND_MONOLITHIC_1_SHARED_1="#"
49933 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49934 COND_MONOLITHIC_1_SHARED_1=""
49935 fi
49936
49937 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49938 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49939 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49940 fi
49941
49942 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49943 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49944 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49945 fi
49946
49947 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49948 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49949 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49950 fi
49951
49952 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49953 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49954 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49955 fi
49956
49957 COND_PLATFORM_MACOSX_1="#"
49958 if test "x$PLATFORM_MACOSX" = "x1" ; then
49959 COND_PLATFORM_MACOSX_1=""
49960 fi
49961
49962 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49963 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49964 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49965 fi
49966
49967 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
49968 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
49969 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
49970 fi
49971
49972 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
49973 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49974 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
49975 fi
49976
49977 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
49978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
49979 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
49980 fi
49981
49982 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
49983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49984 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
49985 fi
49986
49987 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49988 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49989 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49990 fi
49991
49992 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49993 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49994 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49995 fi
49996
49997 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49998 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49999 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50000 fi
50001
50002 COND_PLATFORM_MACOS_1="#"
50003 if test "x$PLATFORM_MACOS" = "x1" ; then
50004 COND_PLATFORM_MACOS_1=""
50005 fi
50006
50007 COND_PLATFORM_MAC_0="#"
50008 if test "x$PLATFORM_MAC" = "x0" ; then
50009 COND_PLATFORM_MAC_0=""
50010 fi
50011
50012 COND_PLATFORM_MAC_1="#"
50013 if test "x$PLATFORM_MAC" = "x1" ; then
50014 COND_PLATFORM_MAC_1=""
50015 fi
50016
50017 COND_PLATFORM_MSDOS_0="#"
50018 if test "x$PLATFORM_MSDOS" = "x0" ; then
50019 COND_PLATFORM_MSDOS_0=""
50020 fi
50021
50022 COND_PLATFORM_MSDOS_1="#"
50023 if test "x$PLATFORM_MSDOS" = "x1" ; then
50024 COND_PLATFORM_MSDOS_1=""
50025 fi
50026
50027 COND_PLATFORM_OS2_1="#"
50028 if test "x$PLATFORM_OS2" = "x1" ; then
50029 COND_PLATFORM_OS2_1=""
50030 fi
50031
50032 COND_PLATFORM_UNIX_0="#"
50033 if test "x$PLATFORM_UNIX" = "x0" ; then
50034 COND_PLATFORM_UNIX_0=""
50035 fi
50036
50037 COND_PLATFORM_UNIX_1="#"
50038 if test "x$PLATFORM_UNIX" = "x1" ; then
50039 COND_PLATFORM_UNIX_1=""
50040 fi
50041
50042 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50043 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50044 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50045 fi
50046
50047 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50048 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50049 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50050 fi
50051
50052 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50053 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50054 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50055 fi
50056
50057 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50058 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50059 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50060 fi
50061
50062 COND_PLATFORM_WIN32_0="#"
50063 if test "x$PLATFORM_WIN32" = "x0" ; then
50064 COND_PLATFORM_WIN32_0=""
50065 fi
50066
50067 COND_PLATFORM_WIN32_1="#"
50068 if test "x$PLATFORM_WIN32" = "x1" ; then
50069 COND_PLATFORM_WIN32_1=""
50070 fi
50071
50072 COND_SHARED_0="#"
50073 if test "x$SHARED" = "x0" ; then
50074 COND_SHARED_0=""
50075 fi
50076
50077 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50078 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50079 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50080 fi
50081
50082 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50083 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50084 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50085 fi
50086
50087 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50088 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50089 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50090 fi
50091
50092 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50093 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50094 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50095 fi
50096
50097 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50098 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50099 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50100 fi
50101
50102 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50103 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50104 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50105 fi
50106
50107 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50108 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50109 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50110 fi
50111
50112 COND_SHARED_0_USE_STC_1="#"
50113 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50114 COND_SHARED_0_USE_STC_1=""
50115 fi
50116
50117 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50118 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50119 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50120 fi
50121
50122 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50123 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50124 COND_SHARED_0_wxUSE_REGEX_builtin=""
50125 fi
50126
50127 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50128 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50129 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50130 fi
50131
50132 COND_SHARED_1="#"
50133 if test "x$SHARED" = "x1" ; then
50134 COND_SHARED_1=""
50135 fi
50136
50137 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50138 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50139 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50140 fi
50141
50142 COND_TOOLKIT_="#"
50143 if test "x$TOOLKIT" = "x" ; then
50144 COND_TOOLKIT_=""
50145 fi
50146
50147 COND_TOOLKIT_COCOA="#"
50148 if test "x$TOOLKIT" = "xCOCOA" ; then
50149 COND_TOOLKIT_COCOA=""
50150 fi
50151
50152 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50153 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50154 COND_TOOLKIT_COCOA_USE_GUI_1=""
50155 fi
50156
50157 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50158 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50159 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50160 fi
50161
50162 COND_TOOLKIT_DFB="#"
50163 if test "x$TOOLKIT" = "xDFB" ; then
50164 COND_TOOLKIT_DFB=""
50165 fi
50166
50167 COND_TOOLKIT_DFB_USE_GUI_1="#"
50168 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50169 COND_TOOLKIT_DFB_USE_GUI_1=""
50170 fi
50171
50172 COND_TOOLKIT_GTK="#"
50173 if test "x$TOOLKIT" = "xGTK" ; then
50174 COND_TOOLKIT_GTK=""
50175 fi
50176
50177 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50178 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50179 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50180 fi
50181
50182 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50183 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50184 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50185 fi
50186
50187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50188 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50189 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50190 fi
50191
50192 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50193 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50195 fi
50196
50197 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50198 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50199 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50200 fi
50201
50202 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50203 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50204 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50205 fi
50206
50207 COND_TOOLKIT_GTK_USE_GUI_1="#"
50208 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50209 COND_TOOLKIT_GTK_USE_GUI_1=""
50210 fi
50211
50212 COND_TOOLKIT_MAC="#"
50213 if test "x$TOOLKIT" = "xMAC" ; then
50214 COND_TOOLKIT_MAC=""
50215 fi
50216
50217 COND_TOOLKIT_MGL="#"
50218 if test "x$TOOLKIT" = "xMGL" ; then
50219 COND_TOOLKIT_MGL=""
50220 fi
50221
50222 COND_TOOLKIT_MGL_USE_GUI_1="#"
50223 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50224 COND_TOOLKIT_MGL_USE_GUI_1=""
50225 fi
50226
50227 COND_TOOLKIT_MOTIF="#"
50228 if test "x$TOOLKIT" = "xMOTIF" ; then
50229 COND_TOOLKIT_MOTIF=""
50230 fi
50231
50232 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50233 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50234 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50235 fi
50236
50237 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50238 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50239 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50240 fi
50241
50242 COND_TOOLKIT_MSW="#"
50243 if test "x$TOOLKIT" = "xMSW" ; then
50244 COND_TOOLKIT_MSW=""
50245 fi
50246
50247 COND_TOOLKIT_MSW_USE_GUI_1="#"
50248 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50249 COND_TOOLKIT_MSW_USE_GUI_1=""
50250 fi
50251
50252 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50253 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50254 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50255 fi
50256
50257 COND_TOOLKIT_MSW_WXUNIV_0="#"
50258 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50259 COND_TOOLKIT_MSW_WXUNIV_0=""
50260 fi
50261
50262 COND_TOOLKIT_OSX_CARBON="#"
50263 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50264 COND_TOOLKIT_OSX_CARBON=""
50265 fi
50266
50267 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50268 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50269 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50270 fi
50271
50272 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50273 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50274 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50275 fi
50276
50277 COND_TOOLKIT_OSX_COCOA="#"
50278 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50279 COND_TOOLKIT_OSX_COCOA=""
50280 fi
50281
50282 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50283 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50284 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50285 fi
50286
50287 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50288 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50289 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50290 fi
50291
50292 COND_TOOLKIT_OSX_IPHONE="#"
50293 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50294 COND_TOOLKIT_OSX_IPHONE=""
50295 fi
50296
50297 COND_TOOLKIT_PM="#"
50298 if test "x$TOOLKIT" = "xPM" ; then
50299 COND_TOOLKIT_PM=""
50300 fi
50301
50302 COND_TOOLKIT_PM_USE_GUI_1="#"
50303 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50304 COND_TOOLKIT_PM_USE_GUI_1=""
50305 fi
50306
50307 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50308 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50309 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50310 fi
50311
50312 COND_TOOLKIT_WINCE="#"
50313 if test "x$TOOLKIT" = "xWINCE" ; then
50314 COND_TOOLKIT_WINCE=""
50315 fi
50316
50317 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50318 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50319 COND_TOOLKIT_WINCE_USE_GUI_1=""
50320 fi
50321
50322 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50323 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50324 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50325 fi
50326
50327 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50328 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50329 COND_TOOLKIT_WINCE_WXUNIV_0=""
50330 fi
50331
50332 COND_TOOLKIT_X11="#"
50333 if test "x$TOOLKIT" = "xX11" ; then
50334 COND_TOOLKIT_X11=""
50335 fi
50336
50337 COND_TOOLKIT_X11_USE_GUI_1="#"
50338 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50339 COND_TOOLKIT_X11_USE_GUI_1=""
50340 fi
50341
50342 COND_UNICODE_1="#"
50343 if test "x$UNICODE" = "x1" ; then
50344 COND_UNICODE_1=""
50345 fi
50346
50347 COND_USE_EXCEPTIONS_0="#"
50348 if test "x$USE_EXCEPTIONS" = "x0" ; then
50349 COND_USE_EXCEPTIONS_0=""
50350 fi
50351
50352 COND_USE_EXCEPTIONS_1="#"
50353 if test "x$USE_EXCEPTIONS" = "x1" ; then
50354 COND_USE_EXCEPTIONS_1=""
50355 fi
50356
50357 COND_USE_GUI_0="#"
50358 if test "x$USE_GUI" = "x0" ; then
50359 COND_USE_GUI_0=""
50360 fi
50361
50362 COND_USE_GUI_1="#"
50363 if test "x$USE_GUI" = "x1" ; then
50364 COND_USE_GUI_1=""
50365 fi
50366
50367 COND_USE_GUI_1_USE_OPENGL_1="#"
50368 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50369 COND_USE_GUI_1_USE_OPENGL_1=""
50370 fi
50371
50372 COND_USE_GUI_1_WXUNIV_0="#"
50373 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50374 COND_USE_GUI_1_WXUNIV_0=""
50375 fi
50376
50377 COND_USE_GUI_1_WXUNIV_1="#"
50378 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50379 COND_USE_GUI_1_WXUNIV_1=""
50380 fi
50381
50382 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50383 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50384 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50385 fi
50386
50387 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50388 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50389 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50390 fi
50391
50392 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50393 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50394 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50395 fi
50396
50397 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50398 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50399 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50400 fi
50401
50402 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50403 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50404 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50405 fi
50406
50407 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50408 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50409 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50410 fi
50411
50412 COND_USE_OPENGL_1="#"
50413 if test "x$USE_OPENGL" = "x1" ; then
50414 COND_USE_OPENGL_1=""
50415 fi
50416
50417 COND_USE_PCH_1="#"
50418 if test "x$USE_PCH" = "x1" ; then
50419 COND_USE_PCH_1=""
50420 fi
50421
50422 COND_USE_PLUGINS_0="#"
50423 if test "x$USE_PLUGINS" = "x0" ; then
50424 COND_USE_PLUGINS_0=""
50425 fi
50426
50427 COND_USE_RTTI_0="#"
50428 if test "x$USE_RTTI" = "x0" ; then
50429 COND_USE_RTTI_0=""
50430 fi
50431
50432 COND_USE_RTTI_1="#"
50433 if test "x$USE_RTTI" = "x1" ; then
50434 COND_USE_RTTI_1=""
50435 fi
50436
50437 COND_USE_SOSYMLINKS_1="#"
50438 if test "x$USE_SOSYMLINKS" = "x1" ; then
50439 COND_USE_SOSYMLINKS_1=""
50440 fi
50441
50442 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50443 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50444 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50445 fi
50446
50447 COND_USE_SOVERLINUX_1="#"
50448 if test "x$USE_SOVERLINUX" = "x1" ; then
50449 COND_USE_SOVERLINUX_1=""
50450 fi
50451
50452 COND_USE_SOVERSION_0="#"
50453 if test "x$USE_SOVERSION" = "x0" ; then
50454 COND_USE_SOVERSION_0=""
50455 fi
50456
50457 COND_USE_SOVERSOLARIS_1="#"
50458 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50459 COND_USE_SOVERSOLARIS_1=""
50460 fi
50461
50462 COND_USE_STC_1="#"
50463 if test "x$USE_STC" = "x1" ; then
50464 COND_USE_STC_1=""
50465 fi
50466
50467 COND_USE_THREADS_0="#"
50468 if test "x$USE_THREADS" = "x0" ; then
50469 COND_USE_THREADS_0=""
50470 fi
50471
50472 COND_USE_THREADS_1="#"
50473 if test "x$USE_THREADS" = "x1" ; then
50474 COND_USE_THREADS_1=""
50475 fi
50476
50477 COND_USE_XRC_1="#"
50478 if test "x$USE_XRC" = "x1" ; then
50479 COND_USE_XRC_1=""
50480 fi
50481
50482 COND_WINDOWS_IMPLIB_1="#"
50483 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50484 COND_WINDOWS_IMPLIB_1=""
50485 fi
50486
50487 COND_WITH_PLUGIN_SDL_1="#"
50488 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50489 COND_WITH_PLUGIN_SDL_1=""
50490 fi
50491
50492 COND_WXUNIV_0="#"
50493 if test "x$WXUNIV" = "x0" ; then
50494 COND_WXUNIV_0=""
50495 fi
50496
50497 COND_WXUNIV_1="#"
50498 if test "x$WXUNIV" = "x1" ; then
50499 COND_WXUNIV_1=""
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 COND_wxUSE_EXPAT_builtin="#"
50533 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50534 COND_wxUSE_EXPAT_builtin=""
50535 fi
50536
50537 COND_wxUSE_LIBJPEG_builtin="#"
50538 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50539 COND_wxUSE_LIBJPEG_builtin=""
50540 fi
50541
50542 COND_wxUSE_LIBPNG_builtin="#"
50543 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50544 COND_wxUSE_LIBPNG_builtin=""
50545 fi
50546
50547 COND_wxUSE_LIBTIFF_builtin="#"
50548 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50549 COND_wxUSE_LIBTIFF_builtin=""
50550 fi
50551
50552 COND_wxUSE_REGEX_builtin="#"
50553 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50554 COND_wxUSE_REGEX_builtin=""
50555 fi
50556
50557 COND_wxUSE_ZLIB_builtin="#"
50558 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50559 COND_wxUSE_ZLIB_builtin=""
50560 fi
50561
50562
50563
50564 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50565 { { 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
50566 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;}
50567 { (exit 1); exit 1; }; }
50568 fi
50569
50570 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50571 { { 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
50572 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;}
50573 { (exit 1); exit 1; }; }
50574 fi
50575
50576
50577 case ${INSTALL} in
50578 /* ) # Absolute
50579 ;;
50580 ?:* ) # Drive letter, considered as absolute.
50581 ;;
50582 *)
50583 INSTALL=`pwd`/${INSTALL} ;;
50584 esac
50585
50586 if test "$wxUSE_GUI" = "yes"; then
50587
50588 if test "$wxUSE_MSW" = 1 ; then
50589 if test "x$WINDRES" = "x"; then
50590 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50591 echo "$as_me: error: Required windres program not found" >&2;}
50592 { (exit 1); exit 1; }; }
50593 fi
50594
50595 RESCOMP="$WINDRES"
50596 fi
50597
50598 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50599 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50600 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50601
50602 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50603
50604 # Extract the first word of "DeRez", so it can be a program name with args.
50605 set dummy DeRez; ac_word=$2
50606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50608 if test "${ac_cv_prog_DEREZ+set}" = set; then
50609 echo $ECHO_N "(cached) $ECHO_C" >&6
50610 else
50611 if test -n "$DEREZ"; then
50612 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50613 else
50614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50615 for as_dir in $PATH
50616 do
50617 IFS=$as_save_IFS
50618 test -z "$as_dir" && as_dir=.
50619 for ac_exec_ext in '' $ac_executable_extensions; do
50620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50621 ac_cv_prog_DEREZ="DeRez"
50622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50623 break 2
50624 fi
50625 done
50626 done
50627 IFS=$as_save_IFS
50628
50629 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50630 fi
50631 fi
50632 DEREZ=$ac_cv_prog_DEREZ
50633 if test -n "$DEREZ"; then
50634 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50635 echo "${ECHO_T}$DEREZ" >&6; }
50636 else
50637 { echo "$as_me:$LINENO: result: no" >&5
50638 echo "${ECHO_T}no" >&6; }
50639 fi
50640
50641
50642
50643 MACSETFILE="\$(SETFILE)"
50644
50645 if test "$wxUSE_OSX_CARBON" = 1; then
50646 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50647 RESCOMP="$REZ"
50648 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50649 else
50650 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50651 RESCOMP="cat /dev/null \| $REZ"
50652 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50653 fi
50654
50655 else
50656 MACSETFILE="@true"
50657
50658 if test "$wxUSE_PM" = 1; then
50659 RESCOMP="emxbind"
50660 WXCONFIG_RESFLAGS="-ep"
50661
50662 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50663 else
50664 POSTLINK_COMMAND="@true"
50665 fi
50666 fi
50667
50668 fi
50669
50670
50671 if test $GCC_PCH = 1
50672 then
50673 if test "$wx_cv_gcc_pch_bug" = yes; then
50674 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50675 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50676 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50677 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50678 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50679 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50680 fi
50681
50682 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50683 # the headers that benefit from precompilation are mostly C++ headers.
50684 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50685 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50686 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50687 fi
50688
50689
50690 if test "$wxUSE_MAC" = 1 ; then
50691 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50692 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50693 mv temp bk-deps
50694 chmod +x bk-deps
50695 fi
50696 fi
50697
50698 if test "$wxUSE_SHARED" = "yes"; then
50699 case "${host}" in
50700 *-pc-os2_emx | *-pc-os2-emx )
50701 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50702 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50703 cp -p ${srcdir}/src/os2/dllnames.sh .
50704 cp -p ${srcdir}/src/os2/dllar.sh .
50705 ;;
50706 esac
50707 fi
50708 if test "$wxUSE_OMF" = "yes"; then
50709 case "${host}" in
50710 *-pc-os2_emx | *-pc-os2-emx )
50711 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50712 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50713 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50714 ;;
50715 esac
50716 fi
50717
50718 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50719
50720
50721 case "${host}" in
50722 *-*-solaris2* )
50723 if test "$GCC" = yes; then
50724 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50725 LIBS=`echo $LIBS | sed 's/-mt//'`
50726 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50727 fi
50728 ;;
50729
50730 *-*-linux* )
50731 if test "x$SUNCXX" = xyes; then
50732 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50733 LIBS=`echo $LIBS | sed 's/-pthread//'`
50734 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50735 fi
50736 ;;
50737 esac
50738
50739 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50740 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50741 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50742 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50743
50744 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
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
50776
50777
50778
50779
50780
50781
50782
50783
50784
50785
50786
50787
50788
50789
50790
50791
50792
50793
50794
50795
50796
50797
50798
50799
50800
50801
50802
50803
50804
50805 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50806 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50807 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50808 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50809 echo $ECHO_N "(cached) $ECHO_C" >&6
50810 else
50811 cat >conftest.make <<\_ACEOF
50812 SHELL = /bin/sh
50813 all:
50814 @echo '@@@%%%=$(MAKE)=@@@%%%'
50815 _ACEOF
50816 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50817 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50818 *@@@%%%=?*=@@@%%%*)
50819 eval ac_cv_prog_make_${ac_make}_set=yes;;
50820 *)
50821 eval ac_cv_prog_make_${ac_make}_set=no;;
50822 esac
50823 rm -f conftest.make
50824 fi
50825 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50826 { echo "$as_me:$LINENO: result: yes" >&5
50827 echo "${ECHO_T}yes" >&6; }
50828 SET_MAKE=
50829 else
50830 { echo "$as_me:$LINENO: result: no" >&5
50831 echo "${ECHO_T}no" >&6; }
50832 SET_MAKE="MAKE=${MAKE-make}"
50833 fi
50834
50835
50836
50837 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50838
50839
50840 if test "$USE_WIN32" = 1; then
50841 ac_config_commands="$ac_config_commands
50842 rcdefs.h
50843 "
50844
50845 fi
50846
50847 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50848
50849
50850 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50851
50852
50853 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50854
50855
50856 if test "$wx_cv_version_script" = "yes"; then
50857 ac_config_files="$ac_config_files version-script"
50858
50859 fi
50860 ac_config_files="$ac_config_files Makefile"
50861
50862
50863 ac_config_commands="$ac_config_commands wx-config"
50864
50865
50866
50867 if test "$wxWITH_SUBDIRS" != "no"; then
50868 if test "$wxUSE_GUI" = "yes"; then
50869 SUBDIRS="samples demos utils"
50870 else
50871 SUBDIRS="samples utils"
50872 fi
50873
50874
50875
50876 # Check whether --with-cppunit-prefix was given.
50877 if test "${with_cppunit_prefix+set}" = set; then
50878 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50879 else
50880 cppunit_config_prefix=""
50881 fi
50882
50883
50884 # Check whether --with-cppunit-exec-prefix was given.
50885 if test "${with_cppunit_exec_prefix+set}" = set; then
50886 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50887 else
50888 cppunit_config_exec_prefix=""
50889 fi
50890
50891
50892 if test x$cppunit_config_exec_prefix != x ; then
50893 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50894 if test x${CPPUNIT_CONFIG+set} != xset ; then
50895 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50896 fi
50897 fi
50898 if test x$cppunit_config_prefix != x ; then
50899 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50900 if test x${CPPUNIT_CONFIG+set} != xset ; then
50901 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50902 fi
50903 fi
50904
50905 # Extract the first word of "cppunit-config", so it can be a program name with args.
50906 set dummy cppunit-config; ac_word=$2
50907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50909 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50910 echo $ECHO_N "(cached) $ECHO_C" >&6
50911 else
50912 case $CPPUNIT_CONFIG in
50913 [\\/]* | ?:[\\/]*)
50914 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50915 ;;
50916 *)
50917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50918 for as_dir in $PATH
50919 do
50920 IFS=$as_save_IFS
50921 test -z "$as_dir" && as_dir=.
50922 for ac_exec_ext in '' $ac_executable_extensions; do
50923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50924 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50926 break 2
50927 fi
50928 done
50929 done
50930 IFS=$as_save_IFS
50931
50932 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50933 ;;
50934 esac
50935 fi
50936 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50937 if test -n "$CPPUNIT_CONFIG"; then
50938 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50939 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50940 else
50941 { echo "$as_me:$LINENO: result: no" >&5
50942 echo "${ECHO_T}no" >&6; }
50943 fi
50944
50945
50946 cppunit_version_min=1.8.0
50947
50948 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50949 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50950 no_cppunit=""
50951 if test "$CPPUNIT_CONFIG" = "no" ; then
50952 { echo "$as_me:$LINENO: result: no" >&5
50953 echo "${ECHO_T}no" >&6; }
50954 no_cppunit=yes
50955 else
50956 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50957 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50958 cppunit_version=`$CPPUNIT_CONFIG --version`
50959
50960 cppunit_major_version=`echo $cppunit_version | \
50961 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50962 cppunit_minor_version=`echo $cppunit_version | \
50963 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50964 cppunit_micro_version=`echo $cppunit_version | \
50965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50966
50967 cppunit_major_min=`echo $cppunit_version_min | \
50968 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50969 cppunit_minor_min=`echo $cppunit_version_min | \
50970 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50971 cppunit_micro_min=`echo $cppunit_version_min | \
50972 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50973
50974 cppunit_version_proper=`expr \
50975 $cppunit_major_version \> $cppunit_major_min \| \
50976 $cppunit_major_version \= $cppunit_major_min \& \
50977 $cppunit_minor_version \> $cppunit_minor_min \| \
50978 $cppunit_major_version \= $cppunit_major_min \& \
50979 $cppunit_minor_version \= $cppunit_minor_min \& \
50980 $cppunit_micro_version \>= $cppunit_micro_min `
50981
50982 if test "$cppunit_version_proper" = "1" ; then
50983 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50984 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50985 else
50986 { echo "$as_me:$LINENO: result: no" >&5
50987 echo "${ECHO_T}no" >&6; }
50988 no_cppunit=yes
50989 fi
50990 fi
50991
50992 if test "x$no_cppunit" = x ; then
50993 SUBDIRS="$SUBDIRS tests"
50994 else
50995 CPPUNIT_CFLAGS=""
50996 CPPUNIT_LIBS=""
50997 :
50998 fi
50999
51000
51001
51002
51003
51004 for subdir in $SUBDIRS; do
51005 if test -d ${srcdir}/${subdir} ; then
51006 if test "$wxUSE_GUI" = "yes"; then
51007 if test ${subdir} = "samples"; then
51008 makefiles="samples/Makefile.in $makefiles"
51009 for sample in $SAMPLES_SUBDIRS; do
51010 if test -d $srcdir/samples/$sample; then
51011 makefiles="samples/$sample/Makefile.in $makefiles"
51012 fi
51013 done
51014 else
51015 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51016 eval "disabled=\$$disabled_var"
51017 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51018 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51019 fi
51020 else
51021 if test ${subdir} = "samples"; then
51022 makefiles="samples/Makefile.in $makefiles"
51023 for sample in `echo $SAMPLES_SUBDIRS`; do
51024 if test -d $srcdir/samples/$sample; then
51025 makefiles="samples/$sample/Makefile.in $makefiles"
51026 fi
51027 done
51028 elif test ${subdir} = "utils"; then
51029 makefiles=""
51030 for util in ifacecheck ; do
51031 if test -d $srcdir/utils/$util ; then
51032 makefiles="utils/$util/src/Makefile.in \
51033 $makefiles"
51034 fi
51035 done
51036 else
51037 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51038 fi
51039 fi
51040
51041 for mkin in $makefiles ; do
51042 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51043 ac_config_files="$ac_config_files $mk"
51044
51045 done
51046 fi
51047 done
51048 fi
51049 cat >confcache <<\_ACEOF
51050 # This file is a shell script that caches the results of configure
51051 # tests run on this system so they can be shared between configure
51052 # scripts and configure runs, see configure's option --config-cache.
51053 # It is not useful on other systems. If it contains results you don't
51054 # want to keep, you may remove or edit it.
51055 #
51056 # config.status only pays attention to the cache file if you give it
51057 # the --recheck option to rerun configure.
51058 #
51059 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51060 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51061 # following values.
51062
51063 _ACEOF
51064
51065 # The following way of writing the cache mishandles newlines in values,
51066 # but we know of no workaround that is simple, portable, and efficient.
51067 # So, we kill variables containing newlines.
51068 # Ultrix sh set writes to stderr and can't be redirected directly,
51069 # and sets the high bit in the cache file unless we assign to the vars.
51070 (
51071 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51072 eval ac_val=\$$ac_var
51073 case $ac_val in #(
51074 *${as_nl}*)
51075 case $ac_var in #(
51076 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51077 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51078 esac
51079 case $ac_var in #(
51080 _ | IFS | as_nl) ;; #(
51081 *) $as_unset $ac_var ;;
51082 esac ;;
51083 esac
51084 done
51085
51086 (set) 2>&1 |
51087 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51088 *${as_nl}ac_space=\ *)
51089 # `set' does not quote correctly, so add quotes (double-quote
51090 # substitution turns \\\\ into \\, and sed turns \\ into \).
51091 sed -n \
51092 "s/'/'\\\\''/g;
51093 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51094 ;; #(
51095 *)
51096 # `set' quotes correctly as required by POSIX, so do not add quotes.
51097 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51098 ;;
51099 esac |
51100 sort
51101 ) |
51102 sed '
51103 /^ac_cv_env_/b end
51104 t clear
51105 :clear
51106 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51107 t end
51108 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51109 :end' >>confcache
51110 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51111 if test -w "$cache_file"; then
51112 test "x$cache_file" != "x/dev/null" &&
51113 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51114 echo "$as_me: updating cache $cache_file" >&6;}
51115 cat confcache >$cache_file
51116 else
51117 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51118 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51119 fi
51120 fi
51121 rm -f confcache
51122
51123 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51124 # Let make expand exec_prefix.
51125 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51126
51127 DEFS=-DHAVE_CONFIG_H
51128
51129 ac_libobjs=
51130 ac_ltlibobjs=
51131 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51132 # 1. Remove the extension, and $U if already installed.
51133 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51134 ac_i=`echo "$ac_i" | sed "$ac_script"`
51135 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51136 # will be set to the directory where LIBOBJS objects are built.
51137 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51138 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51139 done
51140 LIBOBJS=$ac_libobjs
51141
51142 LTLIBOBJS=$ac_ltlibobjs
51143
51144
51145
51146 : ${CONFIG_STATUS=./config.status}
51147 ac_clean_files_save=$ac_clean_files
51148 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51149 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51150 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51151 cat >$CONFIG_STATUS <<_ACEOF
51152 #! $SHELL
51153 # Generated by $as_me.
51154 # Run this file to recreate the current configuration.
51155 # Compiler output produced by configure, useful for debugging
51156 # configure, is in config.log if it exists.
51157
51158 debug=false
51159 ac_cs_recheck=false
51160 ac_cs_silent=false
51161 SHELL=\${CONFIG_SHELL-$SHELL}
51162 _ACEOF
51163
51164 cat >>$CONFIG_STATUS <<\_ACEOF
51165 ## --------------------- ##
51166 ## M4sh Initialization. ##
51167 ## --------------------- ##
51168
51169 # Be more Bourne compatible
51170 DUALCASE=1; export DUALCASE # for MKS sh
51171 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51172 emulate sh
51173 NULLCMD=:
51174 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51175 # is contrary to our usage. Disable this feature.
51176 alias -g '${1+"$@"}'='"$@"'
51177 setopt NO_GLOB_SUBST
51178 else
51179 case `(set -o) 2>/dev/null` in
51180 *posix*) set -o posix ;;
51181 esac
51182
51183 fi
51184
51185
51186
51187
51188 # PATH needs CR
51189 # Avoid depending upon Character Ranges.
51190 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51191 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51192 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51193 as_cr_digits='0123456789'
51194 as_cr_alnum=$as_cr_Letters$as_cr_digits
51195
51196 # The user is always right.
51197 if test "${PATH_SEPARATOR+set}" != set; then
51198 echo "#! /bin/sh" >conf$$.sh
51199 echo "exit 0" >>conf$$.sh
51200 chmod +x conf$$.sh
51201 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51202 PATH_SEPARATOR=';'
51203 else
51204 PATH_SEPARATOR=:
51205 fi
51206 rm -f conf$$.sh
51207 fi
51208
51209 # Support unset when possible.
51210 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51211 as_unset=unset
51212 else
51213 as_unset=false
51214 fi
51215
51216
51217 # IFS
51218 # We need space, tab and new line, in precisely that order. Quoting is
51219 # there to prevent editors from complaining about space-tab.
51220 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51221 # splitting by setting IFS to empty value.)
51222 as_nl='
51223 '
51224 IFS=" "" $as_nl"
51225
51226 # Find who we are. Look in the path if we contain no directory separator.
51227 case $0 in
51228 *[\\/]* ) as_myself=$0 ;;
51229 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51230 for as_dir in $PATH
51231 do
51232 IFS=$as_save_IFS
51233 test -z "$as_dir" && as_dir=.
51234 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51235 done
51236 IFS=$as_save_IFS
51237
51238 ;;
51239 esac
51240 # We did not find ourselves, most probably we were run as `sh COMMAND'
51241 # in which case we are not to be found in the path.
51242 if test "x$as_myself" = x; then
51243 as_myself=$0
51244 fi
51245 if test ! -f "$as_myself"; then
51246 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51247 { (exit 1); exit 1; }
51248 fi
51249
51250 # Work around bugs in pre-3.0 UWIN ksh.
51251 for as_var in ENV MAIL MAILPATH
51252 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51253 done
51254 PS1='$ '
51255 PS2='> '
51256 PS4='+ '
51257
51258 # NLS nuisances.
51259 for as_var in \
51260 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51261 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51262 LC_TELEPHONE LC_TIME
51263 do
51264 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51265 eval $as_var=C; export $as_var
51266 else
51267 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51268 fi
51269 done
51270
51271 # Required to use basename.
51272 if expr a : '\(a\)' >/dev/null 2>&1 &&
51273 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51274 as_expr=expr
51275 else
51276 as_expr=false
51277 fi
51278
51279 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51280 as_basename=basename
51281 else
51282 as_basename=false
51283 fi
51284
51285
51286 # Name of the executable.
51287 as_me=`$as_basename -- "$0" ||
51288 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51289 X"$0" : 'X\(//\)$' \| \
51290 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51291 echo X/"$0" |
51292 sed '/^.*\/\([^/][^/]*\)\/*$/{
51293 s//\1/
51294 q
51295 }
51296 /^X\/\(\/\/\)$/{
51297 s//\1/
51298 q
51299 }
51300 /^X\/\(\/\).*/{
51301 s//\1/
51302 q
51303 }
51304 s/.*/./; q'`
51305
51306 # CDPATH.
51307 $as_unset CDPATH
51308
51309
51310
51311 as_lineno_1=$LINENO
51312 as_lineno_2=$LINENO
51313 test "x$as_lineno_1" != "x$as_lineno_2" &&
51314 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51315
51316 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51317 # uniformly replaced by the line number. The first 'sed' inserts a
51318 # line-number line after each line using $LINENO; the second 'sed'
51319 # does the real work. The second script uses 'N' to pair each
51320 # line-number line with the line containing $LINENO, and appends
51321 # trailing '-' during substitution so that $LINENO is not a special
51322 # case at line end.
51323 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51324 # scripts with optimization help from Paolo Bonzini. Blame Lee
51325 # E. McMahon (1931-1989) for sed's syntax. :-)
51326 sed -n '
51327 p
51328 /[$]LINENO/=
51329 ' <$as_myself |
51330 sed '
51331 s/[$]LINENO.*/&-/
51332 t lineno
51333 b
51334 :lineno
51335 N
51336 :loop
51337 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51338 t loop
51339 s/-\n.*//
51340 ' >$as_me.lineno &&
51341 chmod +x "$as_me.lineno" ||
51342 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51343 { (exit 1); exit 1; }; }
51344
51345 # Don't try to exec as it changes $[0], causing all sort of problems
51346 # (the dirname of $[0] is not the place where we might find the
51347 # original and so on. Autoconf is especially sensitive to this).
51348 . "./$as_me.lineno"
51349 # Exit status is that of the last command.
51350 exit
51351 }
51352
51353
51354 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51355 as_dirname=dirname
51356 else
51357 as_dirname=false
51358 fi
51359
51360 ECHO_C= ECHO_N= ECHO_T=
51361 case `echo -n x` in
51362 -n*)
51363 case `echo 'x\c'` in
51364 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51365 *) ECHO_C='\c';;
51366 esac;;
51367 *)
51368 ECHO_N='-n';;
51369 esac
51370
51371 if expr a : '\(a\)' >/dev/null 2>&1 &&
51372 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51373 as_expr=expr
51374 else
51375 as_expr=false
51376 fi
51377
51378 rm -f conf$$ conf$$.exe conf$$.file
51379 if test -d conf$$.dir; then
51380 rm -f conf$$.dir/conf$$.file
51381 else
51382 rm -f conf$$.dir
51383 mkdir conf$$.dir
51384 fi
51385 echo >conf$$.file
51386 if ln -s conf$$.file conf$$ 2>/dev/null; then
51387 as_ln_s='ln -s'
51388 # ... but there are two gotchas:
51389 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51390 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51391 # In both cases, we have to default to `cp -p'.
51392 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51393 as_ln_s='cp -p'
51394 elif ln conf$$.file conf$$ 2>/dev/null; then
51395 as_ln_s=ln
51396 else
51397 as_ln_s='cp -p'
51398 fi
51399 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51400 rmdir conf$$.dir 2>/dev/null
51401
51402 if mkdir -p . 2>/dev/null; then
51403 as_mkdir_p=:
51404 else
51405 test -d ./-p && rmdir ./-p
51406 as_mkdir_p=false
51407 fi
51408
51409 if test -x / >/dev/null 2>&1; then
51410 as_test_x='test -x'
51411 else
51412 if ls -dL / >/dev/null 2>&1; then
51413 as_ls_L_option=L
51414 else
51415 as_ls_L_option=
51416 fi
51417 as_test_x='
51418 eval sh -c '\''
51419 if test -d "$1"; then
51420 test -d "$1/.";
51421 else
51422 case $1 in
51423 -*)set "./$1";;
51424 esac;
51425 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51426 ???[sx]*):;;*)false;;esac;fi
51427 '\'' sh
51428 '
51429 fi
51430 as_executable_p=$as_test_x
51431
51432 # Sed expression to map a string onto a valid CPP name.
51433 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51434
51435 # Sed expression to map a string onto a valid variable name.
51436 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51437
51438
51439 exec 6>&1
51440
51441 # Save the log message, to keep $[0] and so on meaningful, and to
51442 # report actual input values of CONFIG_FILES etc. instead of their
51443 # values after options handling.
51444 ac_log="
51445 This file was extended by wxWidgets $as_me 2.9.0, which was
51446 generated by GNU Autoconf 2.61. Invocation command line was
51447
51448 CONFIG_FILES = $CONFIG_FILES
51449 CONFIG_HEADERS = $CONFIG_HEADERS
51450 CONFIG_LINKS = $CONFIG_LINKS
51451 CONFIG_COMMANDS = $CONFIG_COMMANDS
51452 $ $0 $@
51453
51454 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51455 "
51456
51457 _ACEOF
51458
51459 cat >>$CONFIG_STATUS <<_ACEOF
51460 # Files that config.status was made for.
51461 config_files="$ac_config_files"
51462 config_headers="$ac_config_headers"
51463 config_commands="$ac_config_commands"
51464
51465 _ACEOF
51466
51467 cat >>$CONFIG_STATUS <<\_ACEOF
51468 ac_cs_usage="\
51469 \`$as_me' instantiates files from templates according to the
51470 current configuration.
51471
51472 Usage: $0 [OPTIONS] [FILE]...
51473
51474 -h, --help print this help, then exit
51475 -V, --version print version number and configuration settings, then exit
51476 -q, --quiet do not print progress messages
51477 -d, --debug don't remove temporary files
51478 --recheck update $as_me by reconfiguring in the same conditions
51479 --file=FILE[:TEMPLATE]
51480 instantiate the configuration file FILE
51481 --header=FILE[:TEMPLATE]
51482 instantiate the configuration header FILE
51483
51484 Configuration files:
51485 $config_files
51486
51487 Configuration headers:
51488 $config_headers
51489
51490 Configuration commands:
51491 $config_commands
51492
51493 Report bugs to <bug-autoconf@gnu.org>."
51494
51495 _ACEOF
51496 cat >>$CONFIG_STATUS <<_ACEOF
51497 ac_cs_version="\\
51498 wxWidgets config.status 2.9.0
51499 configured by $0, generated by GNU Autoconf 2.61,
51500 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51501
51502 Copyright (C) 2006 Free Software Foundation, Inc.
51503 This config.status script is free software; the Free Software Foundation
51504 gives unlimited permission to copy, distribute and modify it."
51505
51506 ac_pwd='$ac_pwd'
51507 srcdir='$srcdir'
51508 INSTALL='$INSTALL'
51509 _ACEOF
51510
51511 cat >>$CONFIG_STATUS <<\_ACEOF
51512 # If no file are specified by the user, then we need to provide default
51513 # value. By we need to know if files were specified by the user.
51514 ac_need_defaults=:
51515 while test $# != 0
51516 do
51517 case $1 in
51518 --*=*)
51519 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51520 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51521 ac_shift=:
51522 ;;
51523 *)
51524 ac_option=$1
51525 ac_optarg=$2
51526 ac_shift=shift
51527 ;;
51528 esac
51529
51530 case $ac_option in
51531 # Handling of the options.
51532 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51533 ac_cs_recheck=: ;;
51534 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51535 echo "$ac_cs_version"; exit ;;
51536 --debug | --debu | --deb | --de | --d | -d )
51537 debug=: ;;
51538 --file | --fil | --fi | --f )
51539 $ac_shift
51540 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51541 ac_need_defaults=false;;
51542 --header | --heade | --head | --hea )
51543 $ac_shift
51544 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51545 ac_need_defaults=false;;
51546 --he | --h)
51547 # Conflict between --help and --header
51548 { echo "$as_me: error: ambiguous option: $1
51549 Try \`$0 --help' for more information." >&2
51550 { (exit 1); exit 1; }; };;
51551 --help | --hel | -h )
51552 echo "$ac_cs_usage"; exit ;;
51553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51554 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51555 ac_cs_silent=: ;;
51556
51557 # This is an error.
51558 -*) { echo "$as_me: error: unrecognized option: $1
51559 Try \`$0 --help' for more information." >&2
51560 { (exit 1); exit 1; }; } ;;
51561
51562 *) ac_config_targets="$ac_config_targets $1"
51563 ac_need_defaults=false ;;
51564
51565 esac
51566 shift
51567 done
51568
51569 ac_configure_extra_args=
51570
51571 if $ac_cs_silent; then
51572 exec 6>/dev/null
51573 ac_configure_extra_args="$ac_configure_extra_args --silent"
51574 fi
51575
51576 _ACEOF
51577 cat >>$CONFIG_STATUS <<_ACEOF
51578 if \$ac_cs_recheck; then
51579 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51580 CONFIG_SHELL=$SHELL
51581 export CONFIG_SHELL
51582 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51583 fi
51584
51585 _ACEOF
51586 cat >>$CONFIG_STATUS <<\_ACEOF
51587 exec 5>>config.log
51588 {
51589 echo
51590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51591 ## Running $as_me. ##
51592 _ASBOX
51593 echo "$ac_log"
51594 } >&5
51595
51596 _ACEOF
51597 cat >>$CONFIG_STATUS <<_ACEOF
51598 #
51599 # INIT-COMMANDS
51600 #
51601
51602 CPP="$CPP"
51603 infile="$srcdir/include/wx/msw/genrcdefs.h"
51604 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51605
51606
51607 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51608 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51609 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51610 LN_S="${LN_S}"
51611
51612
51613 _ACEOF
51614
51615 cat >>$CONFIG_STATUS <<\_ACEOF
51616
51617 # Handling of arguments.
51618 for ac_config_target in $ac_config_targets
51619 do
51620 case $ac_config_target in
51621 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51622 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51623 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51624 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51625 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51626 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51627 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51628 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51629 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51630
51631 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51632 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51633 { (exit 1); exit 1; }; };;
51634 esac
51635 done
51636
51637
51638 # If the user did not use the arguments to specify the items to instantiate,
51639 # then the envvar interface is used. Set only those that are not.
51640 # We use the long form for the default assignment because of an extremely
51641 # bizarre bug on SunOS 4.1.3.
51642 if $ac_need_defaults; then
51643 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51644 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51645 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51646 fi
51647
51648 # Have a temporary directory for convenience. Make it in the build tree
51649 # simply because there is no reason against having it here, and in addition,
51650 # creating and moving files from /tmp can sometimes cause problems.
51651 # Hook for its removal unless debugging.
51652 # Note that there is a small window in which the directory will not be cleaned:
51653 # after its creation but before its name has been assigned to `$tmp'.
51654 $debug ||
51655 {
51656 tmp=
51657 trap 'exit_status=$?
51658 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51659 ' 0
51660 trap '{ (exit 1); exit 1; }' 1 2 13 15
51661 }
51662 # Create a (secure) tmp directory for tmp files.
51663
51664 {
51665 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51666 test -n "$tmp" && test -d "$tmp"
51667 } ||
51668 {
51669 tmp=./conf$$-$RANDOM
51670 (umask 077 && mkdir "$tmp")
51671 } ||
51672 {
51673 echo "$me: cannot create a temporary directory in ." >&2
51674 { (exit 1); exit 1; }
51675 }
51676
51677 #
51678 # Set up the sed scripts for CONFIG_FILES section.
51679 #
51680
51681 # No need to generate the scripts if there are no CONFIG_FILES.
51682 # This happens for instance when ./config.status config.h
51683 if test -n "$CONFIG_FILES"; then
51684
51685 _ACEOF
51686
51687
51688
51689 ac_delim='%!_!# '
51690 for ac_last_try in false false false false false :; do
51691 cat >conf$$subs.sed <<_ACEOF
51692 SHELL!$SHELL$ac_delim
51693 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51694 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51695 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51696 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51697 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51698 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51699 exec_prefix!$exec_prefix$ac_delim
51700 prefix!$prefix$ac_delim
51701 program_transform_name!$program_transform_name$ac_delim
51702 bindir!$bindir$ac_delim
51703 sbindir!$sbindir$ac_delim
51704 libexecdir!$libexecdir$ac_delim
51705 datarootdir!$datarootdir$ac_delim
51706 datadir!$datadir$ac_delim
51707 sysconfdir!$sysconfdir$ac_delim
51708 sharedstatedir!$sharedstatedir$ac_delim
51709 localstatedir!$localstatedir$ac_delim
51710 includedir!$includedir$ac_delim
51711 oldincludedir!$oldincludedir$ac_delim
51712 docdir!$docdir$ac_delim
51713 infodir!$infodir$ac_delim
51714 htmldir!$htmldir$ac_delim
51715 dvidir!$dvidir$ac_delim
51716 pdfdir!$pdfdir$ac_delim
51717 psdir!$psdir$ac_delim
51718 libdir!$libdir$ac_delim
51719 localedir!$localedir$ac_delim
51720 mandir!$mandir$ac_delim
51721 DEFS!$DEFS$ac_delim
51722 ECHO_C!$ECHO_C$ac_delim
51723 ECHO_N!$ECHO_N$ac_delim
51724 ECHO_T!$ECHO_T$ac_delim
51725 LIBS!$LIBS$ac_delim
51726 build_alias!$build_alias$ac_delim
51727 host_alias!$host_alias$ac_delim
51728 target_alias!$target_alias$ac_delim
51729 build!$build$ac_delim
51730 build_cpu!$build_cpu$ac_delim
51731 build_vendor!$build_vendor$ac_delim
51732 build_os!$build_os$ac_delim
51733 host!$host$ac_delim
51734 host_cpu!$host_cpu$ac_delim
51735 host_vendor!$host_vendor$ac_delim
51736 host_os!$host_os$ac_delim
51737 target!$target$ac_delim
51738 target_cpu!$target_cpu$ac_delim
51739 target_vendor!$target_vendor$ac_delim
51740 target_os!$target_os$ac_delim
51741 wx_top_builddir!$wx_top_builddir$ac_delim
51742 CC!$CC$ac_delim
51743 CFLAGS!$CFLAGS$ac_delim
51744 LDFLAGS!$LDFLAGS$ac_delim
51745 CPPFLAGS!$CPPFLAGS$ac_delim
51746 ac_ct_CC!$ac_ct_CC$ac_delim
51747 EXEEXT!$EXEEXT$ac_delim
51748 OBJEXT!$OBJEXT$ac_delim
51749 CPP!$CPP$ac_delim
51750 GREP!$GREP$ac_delim
51751 EGREP!$EGREP$ac_delim
51752 CXX!$CXX$ac_delim
51753 CXXFLAGS!$CXXFLAGS$ac_delim
51754 ac_ct_CXX!$ac_ct_CXX$ac_delim
51755 AR!$AR$ac_delim
51756 subdirs!$subdirs$ac_delim
51757 PKG_CONFIG!$PKG_CONFIG$ac_delim
51758 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51759 GTK_LIBS!$GTK_LIBS$ac_delim
51760 GTK_CONFIG!$GTK_CONFIG$ac_delim
51761 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51762 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51763 XMKMF!$XMKMF$ac_delim
51764 X_CFLAGS!$X_CFLAGS$ac_delim
51765 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51766 X_LIBS!$X_LIBS$ac_delim
51767 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51768 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51769 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51770 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51771 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51772 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51773 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51774 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51775 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51776 LIBICONV!$LIBICONV$ac_delim
51777 SDL_CONFIG!$SDL_CONFIG$ac_delim
51778 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51779 SDL_LIBS!$SDL_LIBS$ac_delim
51780 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51781 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51782 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51783 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51784 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51785 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51786 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51787 HILDON_LIBS!$HILDON_LIBS$ac_delim
51788 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51789 _ACEOF
51790
51791 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51792 break
51793 elif $ac_last_try; then
51794 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51795 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51796 { (exit 1); exit 1; }; }
51797 else
51798 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51799 fi
51800 done
51801
51802 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51803 if test -n "$ac_eof"; then
51804 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51805 ac_eof=`expr $ac_eof + 1`
51806 fi
51807
51808 cat >>$CONFIG_STATUS <<_ACEOF
51809 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51810 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51811 _ACEOF
51812 sed '
51813 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51814 s/^/s,@/; s/!/@,|#_!!_#|/
51815 :n
51816 t n
51817 s/'"$ac_delim"'$/,g/; t
51818 s/$/\\/; p
51819 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51820 ' >>$CONFIG_STATUS <conf$$subs.sed
51821 rm -f conf$$subs.sed
51822 cat >>$CONFIG_STATUS <<_ACEOF
51823 CEOF$ac_eof
51824 _ACEOF
51825
51826
51827 ac_delim='%!_!# '
51828 for ac_last_try in false false false false false :; do
51829 cat >conf$$subs.sed <<_ACEOF
51830 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51831 GST_CFLAGS!$GST_CFLAGS$ac_delim
51832 GST_LIBS!$GST_LIBS$ac_delim
51833 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51834 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51835 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51836 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51837 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51838 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51839 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51840 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51841 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51842 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51843 VENDOR!$VENDOR$ac_delim
51844 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51845 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51846 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51847 WXUNIV!$WXUNIV$ac_delim
51848 MONOLITHIC!$MONOLITHIC$ac_delim
51849 USE_PLUGINS!$USE_PLUGINS$ac_delim
51850 CXXWARNINGS!$CXXWARNINGS$ac_delim
51851 EXTRALIBS!$EXTRALIBS$ac_delim
51852 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51853 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51854 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51855 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51856 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51857 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51858 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51859 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51860 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51861 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51862 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51863 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51864 UNICODE!$UNICODE$ac_delim
51865 BUILD!$BUILD$ac_delim
51866 DEBUG_INFO!$DEBUG_INFO$ac_delim
51867 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51868 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51869 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51870 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51871 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51872 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51873 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51874 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51875 RANLIB!$RANLIB$ac_delim
51876 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51877 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51878 INSTALL_DATA!$INSTALL_DATA$ac_delim
51879 LN_S!$LN_S$ac_delim
51880 SET_MAKE!$SET_MAKE$ac_delim
51881 MAKE_SET!$MAKE_SET$ac_delim
51882 AROPTIONS!$AROPTIONS$ac_delim
51883 STRIP!$STRIP$ac_delim
51884 NM!$NM$ac_delim
51885 INSTALL_DIR!$INSTALL_DIR$ac_delim
51886 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51887 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51888 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51889 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51890 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51891 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51892 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51893 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51894 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51895 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51896 SO_SUFFIX!$SO_SUFFIX$ac_delim
51897 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51898 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51899 LIBPREFIX!$LIBPREFIX$ac_delim
51900 LIBEXT!$LIBEXT$ac_delim
51901 DLLPREFIX!$DLLPREFIX$ac_delim
51902 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51903 dlldir!$dlldir$ac_delim
51904 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51905 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51906 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51907 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51908 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51909 PIC_FLAG!$PIC_FLAG$ac_delim
51910 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51911 USE_SOVERSION!$USE_SOVERSION$ac_delim
51912 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51913 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51914 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51915 USE_MACVERSION!$USE_MACVERSION$ac_delim
51916 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51917 SONAME_FLAG!$SONAME_FLAG$ac_delim
51918 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51919 BK_DEPS!$BK_DEPS$ac_delim
51920 WINDRES!$WINDRES$ac_delim
51921 REZ!$REZ$ac_delim
51922 SETFILE!$SETFILE$ac_delim
51923 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
51924 GCC_PCH!$GCC_PCH$ac_delim
51925 ICC_PCH!$ICC_PCH$ac_delim
51926 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
51927 _ACEOF
51928
51929 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51930 break
51931 elif $ac_last_try; then
51932 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51933 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51934 { (exit 1); exit 1; }; }
51935 else
51936 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51937 fi
51938 done
51939
51940 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51941 if test -n "$ac_eof"; then
51942 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51943 ac_eof=`expr $ac_eof + 1`
51944 fi
51945
51946 cat >>$CONFIG_STATUS <<_ACEOF
51947 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51948 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51949 _ACEOF
51950 sed '
51951 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51952 s/^/s,@/; s/!/@,|#_!!_#|/
51953 :n
51954 t n
51955 s/'"$ac_delim"'$/,g/; t
51956 s/$/\\/; p
51957 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51958 ' >>$CONFIG_STATUS <conf$$subs.sed
51959 rm -f conf$$subs.sed
51960 cat >>$CONFIG_STATUS <<_ACEOF
51961 CEOF$ac_eof
51962 _ACEOF
51963
51964
51965 ac_delim='%!_!# '
51966 for ac_last_try in false false false false false :; do
51967 cat >conf$$subs.sed <<_ACEOF
51968 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
51969 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51970 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51971 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51972 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51973 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51974 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51975 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51976 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51977 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51978 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51979 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
51980 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
51981 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
51982 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
51983 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
51984 COND_BUILD_release!$COND_BUILD_release$ac_delim
51985 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
51986 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
51987 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
51988 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51989 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51990 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51991 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51992 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51993 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51994 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51995 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51996 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51997 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51998 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51999 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52000 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52002 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52003 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52004 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52005 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52006 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52007 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52008 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52009 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52010 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52011 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52012 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52013 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52014 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52015 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52016 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52017 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52018 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52019 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52020 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52021 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52022 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52023 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52024 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52025 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52026 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52027 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52028 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52029 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52030 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52031 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52032 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52033 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52034 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52035 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52036 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
52037 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52038 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
52039 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52040 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52041 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52042 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52043 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52044 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52045 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52046 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52047 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52048 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52049 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52050 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52051 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52052 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52053 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52054 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52055 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52056 COND_SHARED_0!$COND_SHARED_0$ac_delim
52057 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52058 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52059 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52060 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52061 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52062 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52063 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52064 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52065 _ACEOF
52066
52067 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52068 break
52069 elif $ac_last_try; then
52070 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52071 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52072 { (exit 1); exit 1; }; }
52073 else
52074 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52075 fi
52076 done
52077
52078 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52079 if test -n "$ac_eof"; then
52080 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52081 ac_eof=`expr $ac_eof + 1`
52082 fi
52083
52084 cat >>$CONFIG_STATUS <<_ACEOF
52085 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52086 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52087 _ACEOF
52088 sed '
52089 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52090 s/^/s,@/; s/!/@,|#_!!_#|/
52091 :n
52092 t n
52093 s/'"$ac_delim"'$/,g/; t
52094 s/$/\\/; p
52095 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52096 ' >>$CONFIG_STATUS <conf$$subs.sed
52097 rm -f conf$$subs.sed
52098 cat >>$CONFIG_STATUS <<_ACEOF
52099 CEOF$ac_eof
52100 _ACEOF
52101
52102
52103 ac_delim='%!_!# '
52104 for ac_last_try in false false false false false :; do
52105 cat >conf$$subs.sed <<_ACEOF
52106 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52107 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52108 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52109 COND_SHARED_1!$COND_SHARED_1$ac_delim
52110 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52111 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52112 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52113 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52114 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52115 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52116 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52117 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52118 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52119 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52120 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52121 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52122 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52123 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52124 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52125 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52126 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52127 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52128 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52129 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52130 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52131 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52132 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52133 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52134 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52135 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52136 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52137 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52138 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52139 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52140 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52141 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52142 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52143 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52144 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52145 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52146 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52147 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52148 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52149 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52150 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52151 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52152 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52153 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52154 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52155 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52156 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52157 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52158 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52159 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52160 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52161 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52162 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52163 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52164 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52165 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52166 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52167 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52168 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52169 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52170 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52171 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52172 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52173 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52174 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52175 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52176 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52177 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52178 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52179 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52180 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52181 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52182 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52183 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52184 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52185 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52186 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52187 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52188 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52189 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52190 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52191 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52192 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52193 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52194 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52195 DEREZ!$DEREZ$ac_delim
52196 SHARED!$SHARED$ac_delim
52197 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52198 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52199 USE_GUI!$USE_GUI$ac_delim
52200 AFMINSTALL!$AFMINSTALL$ac_delim
52201 WIN32INSTALL!$WIN32INSTALL$ac_delim
52202 TOOLKIT!$TOOLKIT$ac_delim
52203 _ACEOF
52204
52205 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52206 break
52207 elif $ac_last_try; then
52208 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52209 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52210 { (exit 1); exit 1; }; }
52211 else
52212 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52213 fi
52214 done
52215
52216 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52217 if test -n "$ac_eof"; then
52218 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52219 ac_eof=`expr $ac_eof + 1`
52220 fi
52221
52222 cat >>$CONFIG_STATUS <<_ACEOF
52223 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52224 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52225 _ACEOF
52226 sed '
52227 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52228 s/^/s,@/; s/!/@,|#_!!_#|/
52229 :n
52230 t n
52231 s/'"$ac_delim"'$/,g/; t
52232 s/$/\\/; p
52233 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52234 ' >>$CONFIG_STATUS <conf$$subs.sed
52235 rm -f conf$$subs.sed
52236 cat >>$CONFIG_STATUS <<_ACEOF
52237 CEOF$ac_eof
52238 _ACEOF
52239
52240
52241 ac_delim='%!_!# '
52242 for ac_last_try in false false false false false :; do
52243 cat >conf$$subs.sed <<_ACEOF
52244 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52245 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52246 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52247 cross_compiling!$cross_compiling$ac_delim
52248 WIDGET_SET!$WIDGET_SET$ac_delim
52249 WX_RELEASE!$WX_RELEASE$ac_delim
52250 WX_VERSION!$WX_VERSION$ac_delim
52251 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52252 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52253 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52254 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52255 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52256 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52257 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52258 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52259 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52260 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52261 GUIDIST!$GUIDIST$ac_delim
52262 DISTDIR!$DISTDIR$ac_delim
52263 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52264 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52265 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52266 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52267 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52268 RESCOMP!$RESCOMP$ac_delim
52269 RESFLAGS!$RESFLAGS$ac_delim
52270 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52271 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52272 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52273 LIBWXMACRES!$LIBWXMACRES$ac_delim
52274 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52275 MACSETFILE!$MACSETFILE$ac_delim
52276 GCC!$GCC$ac_delim
52277 DLLTOOL!$DLLTOOL$ac_delim
52278 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52279 LIBOBJS!$LIBOBJS$ac_delim
52280 LTLIBOBJS!$LTLIBOBJS$ac_delim
52281 _ACEOF
52282
52283 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 37; then
52284 break
52285 elif $ac_last_try; then
52286 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52287 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52288 { (exit 1); exit 1; }; }
52289 else
52290 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52291 fi
52292 done
52293
52294 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52295 if test -n "$ac_eof"; then
52296 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52297 ac_eof=`expr $ac_eof + 1`
52298 fi
52299
52300 cat >>$CONFIG_STATUS <<_ACEOF
52301 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52302 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52303 _ACEOF
52304 sed '
52305 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52306 s/^/s,@/; s/!/@,|#_!!_#|/
52307 :n
52308 t n
52309 s/'"$ac_delim"'$/,g/; t
52310 s/$/\\/; p
52311 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52312 ' >>$CONFIG_STATUS <conf$$subs.sed
52313 rm -f conf$$subs.sed
52314 cat >>$CONFIG_STATUS <<_ACEOF
52315 :end
52316 s/|#_!!_#|//g
52317 CEOF$ac_eof
52318 _ACEOF
52319
52320
52321 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52322 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52323 # trailing colons and then remove the whole line if VPATH becomes empty
52324 # (actually we leave an empty line to preserve line numbers).
52325 if test "x$srcdir" = x.; then
52326 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52327 s/:*\$(srcdir):*/:/
52328 s/:*\${srcdir}:*/:/
52329 s/:*@srcdir@:*/:/
52330 s/^\([^=]*=[ ]*\):*/\1/
52331 s/:*$//
52332 s/^[^=]*=[ ]*$//
52333 }'
52334 fi
52335
52336 cat >>$CONFIG_STATUS <<\_ACEOF
52337 fi # test -n "$CONFIG_FILES"
52338
52339
52340 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52341 do
52342 case $ac_tag in
52343 :[FHLC]) ac_mode=$ac_tag; continue;;
52344 esac
52345 case $ac_mode$ac_tag in
52346 :[FHL]*:*);;
52347 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52348 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52349 { (exit 1); exit 1; }; };;
52350 :[FH]-) ac_tag=-:-;;
52351 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52352 esac
52353 ac_save_IFS=$IFS
52354 IFS=:
52355 set x $ac_tag
52356 IFS=$ac_save_IFS
52357 shift
52358 ac_file=$1
52359 shift
52360
52361 case $ac_mode in
52362 :L) ac_source=$1;;
52363 :[FH])
52364 ac_file_inputs=
52365 for ac_f
52366 do
52367 case $ac_f in
52368 -) ac_f="$tmp/stdin";;
52369 *) # Look for the file first in the build tree, then in the source tree
52370 # (if the path is not absolute). The absolute path cannot be DOS-style,
52371 # because $ac_f cannot contain `:'.
52372 test -f "$ac_f" ||
52373 case $ac_f in
52374 [\\/$]*) false;;
52375 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52376 esac ||
52377 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52378 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52379 { (exit 1); exit 1; }; };;
52380 esac
52381 ac_file_inputs="$ac_file_inputs $ac_f"
52382 done
52383
52384 # Let's still pretend it is `configure' which instantiates (i.e., don't
52385 # use $as_me), people would be surprised to read:
52386 # /* config.h. Generated by config.status. */
52387 configure_input="Generated from "`IFS=:
52388 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52389 if test x"$ac_file" != x-; then
52390 configure_input="$ac_file. $configure_input"
52391 { echo "$as_me:$LINENO: creating $ac_file" >&5
52392 echo "$as_me: creating $ac_file" >&6;}
52393 fi
52394
52395 case $ac_tag in
52396 *:-:* | *:-) cat >"$tmp/stdin";;
52397 esac
52398 ;;
52399 esac
52400
52401 ac_dir=`$as_dirname -- "$ac_file" ||
52402 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52403 X"$ac_file" : 'X\(//\)[^/]' \| \
52404 X"$ac_file" : 'X\(//\)$' \| \
52405 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52406 echo X"$ac_file" |
52407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52408 s//\1/
52409 q
52410 }
52411 /^X\(\/\/\)[^/].*/{
52412 s//\1/
52413 q
52414 }
52415 /^X\(\/\/\)$/{
52416 s//\1/
52417 q
52418 }
52419 /^X\(\/\).*/{
52420 s//\1/
52421 q
52422 }
52423 s/.*/./; q'`
52424 { as_dir="$ac_dir"
52425 case $as_dir in #(
52426 -*) as_dir=./$as_dir;;
52427 esac
52428 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52429 as_dirs=
52430 while :; do
52431 case $as_dir in #(
52432 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52433 *) as_qdir=$as_dir;;
52434 esac
52435 as_dirs="'$as_qdir' $as_dirs"
52436 as_dir=`$as_dirname -- "$as_dir" ||
52437 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52438 X"$as_dir" : 'X\(//\)[^/]' \| \
52439 X"$as_dir" : 'X\(//\)$' \| \
52440 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52441 echo X"$as_dir" |
52442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52443 s//\1/
52444 q
52445 }
52446 /^X\(\/\/\)[^/].*/{
52447 s//\1/
52448 q
52449 }
52450 /^X\(\/\/\)$/{
52451 s//\1/
52452 q
52453 }
52454 /^X\(\/\).*/{
52455 s//\1/
52456 q
52457 }
52458 s/.*/./; q'`
52459 test -d "$as_dir" && break
52460 done
52461 test -z "$as_dirs" || eval "mkdir $as_dirs"
52462 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52463 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52464 { (exit 1); exit 1; }; }; }
52465 ac_builddir=.
52466
52467 case "$ac_dir" in
52468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52469 *)
52470 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52471 # A ".." for each directory in $ac_dir_suffix.
52472 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52473 case $ac_top_builddir_sub in
52474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52476 esac ;;
52477 esac
52478 ac_abs_top_builddir=$ac_pwd
52479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52480 # for backward compatibility:
52481 ac_top_builddir=$ac_top_build_prefix
52482
52483 case $srcdir in
52484 .) # We are building in place.
52485 ac_srcdir=.
52486 ac_top_srcdir=$ac_top_builddir_sub
52487 ac_abs_top_srcdir=$ac_pwd ;;
52488 [\\/]* | ?:[\\/]* ) # Absolute name.
52489 ac_srcdir=$srcdir$ac_dir_suffix;
52490 ac_top_srcdir=$srcdir
52491 ac_abs_top_srcdir=$srcdir ;;
52492 *) # Relative name.
52493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52494 ac_top_srcdir=$ac_top_build_prefix$srcdir
52495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52496 esac
52497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52498
52499
52500 case $ac_mode in
52501 :F)
52502 #
52503 # CONFIG_FILE
52504 #
52505
52506 case $INSTALL in
52507 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52508 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52509 esac
52510 _ACEOF
52511
52512 cat >>$CONFIG_STATUS <<\_ACEOF
52513 # If the template does not know about datarootdir, expand it.
52514 # FIXME: This hack should be removed a few years after 2.60.
52515 ac_datarootdir_hack=; ac_datarootdir_seen=
52516
52517 case `sed -n '/datarootdir/ {
52518 p
52519 q
52520 }
52521 /@datadir@/p
52522 /@docdir@/p
52523 /@infodir@/p
52524 /@localedir@/p
52525 /@mandir@/p
52526 ' $ac_file_inputs` in
52527 *datarootdir*) ac_datarootdir_seen=yes;;
52528 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52529 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52530 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52531 _ACEOF
52532 cat >>$CONFIG_STATUS <<_ACEOF
52533 ac_datarootdir_hack='
52534 s&@datadir@&$datadir&g
52535 s&@docdir@&$docdir&g
52536 s&@infodir@&$infodir&g
52537 s&@localedir@&$localedir&g
52538 s&@mandir@&$mandir&g
52539 s&\\\${datarootdir}&$datarootdir&g' ;;
52540 esac
52541 _ACEOF
52542
52543 # Neutralize VPATH when `$srcdir' = `.'.
52544 # Shell code in configure.ac might set extrasub.
52545 # FIXME: do we really want to maintain this feature?
52546 cat >>$CONFIG_STATUS <<_ACEOF
52547 sed "$ac_vpsub
52548 $extrasub
52549 _ACEOF
52550 cat >>$CONFIG_STATUS <<\_ACEOF
52551 :t
52552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52553 s&@configure_input@&$configure_input&;t t
52554 s&@top_builddir@&$ac_top_builddir_sub&;t t
52555 s&@srcdir@&$ac_srcdir&;t t
52556 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52557 s&@top_srcdir@&$ac_top_srcdir&;t t
52558 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52559 s&@builddir@&$ac_builddir&;t t
52560 s&@abs_builddir@&$ac_abs_builddir&;t t
52561 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52562 s&@INSTALL@&$ac_INSTALL&;t t
52563 $ac_datarootdir_hack
52564 " $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
52565
52566 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52567 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52568 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52569 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52570 which seems to be undefined. Please make sure it is defined." >&5
52571 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52572 which seems to be undefined. Please make sure it is defined." >&2;}
52573
52574 rm -f "$tmp/stdin"
52575 case $ac_file in
52576 -) cat "$tmp/out"; rm -f "$tmp/out";;
52577 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52578 esac
52579 ;;
52580 :H)
52581 #
52582 # CONFIG_HEADER
52583 #
52584 _ACEOF
52585
52586 # Transform confdefs.h into a sed script `conftest.defines', that
52587 # substitutes the proper values into config.h.in to produce config.h.
52588 rm -f conftest.defines conftest.tail
52589 # First, append a space to every undef/define line, to ease matching.
52590 echo 's/$/ /' >conftest.defines
52591 # Then, protect against being on the right side of a sed subst, or in
52592 # an unquoted here document, in config.status. If some macros were
52593 # called several times there might be several #defines for the same
52594 # symbol, which is useless. But do not sort them, since the last
52595 # AC_DEFINE must be honored.
52596 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52597 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52598 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52599 # PARAMS is the parameter list in the macro definition--in most cases, it's
52600 # just an empty string.
52601 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52602 ac_dB='\\)[ (].*,\\1define\\2'
52603 ac_dC=' '
52604 ac_dD=' ,'
52605
52606 uniq confdefs.h |
52607 sed -n '
52608 t rset
52609 :rset
52610 s/^[ ]*#[ ]*define[ ][ ]*//
52611 t ok
52612 d
52613 :ok
52614 s/[\\&,]/\\&/g
52615 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52616 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52617 ' >>conftest.defines
52618
52619 # Remove the space that was appended to ease matching.
52620 # Then replace #undef with comments. This is necessary, for
52621 # example, in the case of _POSIX_SOURCE, which is predefined and required
52622 # on some systems where configure will not decide to define it.
52623 # (The regexp can be short, since the line contains either #define or #undef.)
52624 echo 's/ $//
52625 s,^[ #]*u.*,/* & */,' >>conftest.defines
52626
52627 # Break up conftest.defines:
52628 ac_max_sed_lines=50
52629
52630 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52631 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52632 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52633 # et cetera.
52634 ac_in='$ac_file_inputs'
52635 ac_out='"$tmp/out1"'
52636 ac_nxt='"$tmp/out2"'
52637
52638 while :
52639 do
52640 # Write a here document:
52641 cat >>$CONFIG_STATUS <<_ACEOF
52642 # First, check the format of the line:
52643 cat >"\$tmp/defines.sed" <<\\CEOF
52644 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52645 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52646 b
52647 :def
52648 _ACEOF
52649 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52650 echo 'CEOF
52651 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52652 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52653 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52654 grep . conftest.tail >/dev/null || break
52655 rm -f conftest.defines
52656 mv conftest.tail conftest.defines
52657 done
52658 rm -f conftest.defines conftest.tail
52659
52660 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52661 cat >>$CONFIG_STATUS <<\_ACEOF
52662 if test x"$ac_file" != x-; then
52663 echo "/* $configure_input */" >"$tmp/config.h"
52664 cat "$ac_result" >>"$tmp/config.h"
52665 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52666 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52667 echo "$as_me: $ac_file is unchanged" >&6;}
52668 else
52669 rm -f $ac_file
52670 mv "$tmp/config.h" $ac_file
52671 fi
52672 else
52673 echo "/* $configure_input */"
52674 cat "$ac_result"
52675 fi
52676 rm -f "$tmp/out12"
52677 ;;
52678
52679 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52680 echo "$as_me: executing $ac_file commands" >&6;}
52681 ;;
52682 esac
52683
52684
52685 case $ac_file$ac_mode in
52686 "rcdefs.h":C)
52687 mkdir -p $outdir &&
52688 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52689 ;;
52690 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52691 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52692 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52693 "wx-config":C) rm -f wx-config
52694 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52695 ;;
52696
52697 esac
52698 done # for ac_tag
52699
52700
52701 { (exit 0); exit 0; }
52702 _ACEOF
52703 chmod +x $CONFIG_STATUS
52704 ac_clean_files=$ac_clean_files_save
52705
52706
52707 # configure is writing to config.log, and then calls config.status.
52708 # config.status does its own redirection, appending to config.log.
52709 # Unfortunately, on DOS this fails, as config.log is still kept open
52710 # by configure, so config.status won't be able to write to it; its
52711 # output is simply discarded. So we exec the FD to /dev/null,
52712 # effectively closing config.log, so it can be properly (re)opened and
52713 # appended to by config.status. When coming back to configure, we
52714 # need to make the FD available again.
52715 if test "$no_create" != yes; then
52716 ac_cs_success=:
52717 ac_config_status_args=
52718 test "$silent" = yes &&
52719 ac_config_status_args="$ac_config_status_args --quiet"
52720 exec 5>/dev/null
52721 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52722 exec 5>>config.log
52723 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52724 # would make configure fail if this is the last instruction.
52725 $ac_cs_success || { (exit 1); exit 1; }
52726 fi
52727
52728 #
52729 # CONFIG_SUBDIRS section.
52730 #
52731 if test "$no_recursion" != yes; then
52732
52733 # Remove --cache-file and --srcdir arguments so they do not pile up.
52734 ac_sub_configure_args=
52735 ac_prev=
52736 eval "set x $ac_configure_args"
52737 shift
52738 for ac_arg
52739 do
52740 if test -n "$ac_prev"; then
52741 ac_prev=
52742 continue
52743 fi
52744 case $ac_arg in
52745 -cache-file | --cache-file | --cache-fil | --cache-fi \
52746 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52747 ac_prev=cache_file ;;
52748 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52749 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52750 | --c=*)
52751 ;;
52752 --config-cache | -C)
52753 ;;
52754 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52755 ac_prev=srcdir ;;
52756 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52757 ;;
52758 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52759 ac_prev=prefix ;;
52760 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52761 ;;
52762 *)
52763 case $ac_arg in
52764 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52765 esac
52766 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52767 esac
52768 done
52769
52770 # Always prepend --prefix to ensure using the same prefix
52771 # in subdir configurations.
52772 ac_arg="--prefix=$prefix"
52773 case $ac_arg in
52774 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52775 esac
52776 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52777
52778 # Pass --silent
52779 if test "$silent" = yes; then
52780 ac_sub_configure_args="--silent $ac_sub_configure_args"
52781 fi
52782
52783 ac_popdir=`pwd`
52784 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52785
52786 # Do not complain, so a configure script can configure whichever
52787 # parts of a large source tree are present.
52788 test -d "$srcdir/$ac_dir" || continue
52789
52790 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52791 echo "$as_me:$LINENO: $ac_msg" >&5
52792 echo "$ac_msg" >&6
52793 { as_dir="$ac_dir"
52794 case $as_dir in #(
52795 -*) as_dir=./$as_dir;;
52796 esac
52797 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52798 as_dirs=
52799 while :; do
52800 case $as_dir in #(
52801 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52802 *) as_qdir=$as_dir;;
52803 esac
52804 as_dirs="'$as_qdir' $as_dirs"
52805 as_dir=`$as_dirname -- "$as_dir" ||
52806 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52807 X"$as_dir" : 'X\(//\)[^/]' \| \
52808 X"$as_dir" : 'X\(//\)$' \| \
52809 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52810 echo X"$as_dir" |
52811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52812 s//\1/
52813 q
52814 }
52815 /^X\(\/\/\)[^/].*/{
52816 s//\1/
52817 q
52818 }
52819 /^X\(\/\/\)$/{
52820 s//\1/
52821 q
52822 }
52823 /^X\(\/\).*/{
52824 s//\1/
52825 q
52826 }
52827 s/.*/./; q'`
52828 test -d "$as_dir" && break
52829 done
52830 test -z "$as_dirs" || eval "mkdir $as_dirs"
52831 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52832 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52833 { (exit 1); exit 1; }; }; }
52834 ac_builddir=.
52835
52836 case "$ac_dir" in
52837 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52838 *)
52839 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52840 # A ".." for each directory in $ac_dir_suffix.
52841 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52842 case $ac_top_builddir_sub in
52843 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52844 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52845 esac ;;
52846 esac
52847 ac_abs_top_builddir=$ac_pwd
52848 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52849 # for backward compatibility:
52850 ac_top_builddir=$ac_top_build_prefix
52851
52852 case $srcdir in
52853 .) # We are building in place.
52854 ac_srcdir=.
52855 ac_top_srcdir=$ac_top_builddir_sub
52856 ac_abs_top_srcdir=$ac_pwd ;;
52857 [\\/]* | ?:[\\/]* ) # Absolute name.
52858 ac_srcdir=$srcdir$ac_dir_suffix;
52859 ac_top_srcdir=$srcdir
52860 ac_abs_top_srcdir=$srcdir ;;
52861 *) # Relative name.
52862 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52863 ac_top_srcdir=$ac_top_build_prefix$srcdir
52864 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52865 esac
52866 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52867
52868
52869 cd "$ac_dir"
52870
52871 # Check for guested configure; otherwise get Cygnus style configure.
52872 if test -f "$ac_srcdir/configure.gnu"; then
52873 ac_sub_configure=$ac_srcdir/configure.gnu
52874 elif test -f "$ac_srcdir/configure"; then
52875 ac_sub_configure=$ac_srcdir/configure
52876 elif test -f "$ac_srcdir/configure.in"; then
52877 # This should be Cygnus configure.
52878 ac_sub_configure=$ac_aux_dir/configure
52879 else
52880 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52881 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52882 ac_sub_configure=
52883 fi
52884
52885 # The recursion is here.
52886 if test -n "$ac_sub_configure"; then
52887 # Make the cache file name correct relative to the subdirectory.
52888 case $cache_file in
52889 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52890 *) # Relative name.
52891 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52892 esac
52893
52894 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52895 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52896 # The eval makes quoting arguments work.
52897 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52898 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52899 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52900 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52901 { (exit 1); exit 1; }; }
52902 fi
52903
52904 cd "$ac_popdir"
52905 done
52906 fi
52907
52908
52909 echo
52910 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52911 echo ""
52912 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52913 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52914
52915 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52916 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52917 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52918 if test "$wxUSE_UNICODE" = "yes"; then
52919 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52920 echo " (using UTF-8)"
52921 else
52922 echo " (using wchar_t)"
52923 fi
52924 else
52925 echo
52926 fi
52927
52928 echo " What level of wxWidgets compatibility should be enabled?"
52929 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52930 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52931
52932 echo " Which libraries should wxWidgets use?"
52933 echo " STL ${wxUSE_STL}"
52934 echo " jpeg ${wxUSE_LIBJPEG-none}"
52935 echo " png ${wxUSE_LIBPNG-none}"
52936 echo " regex ${wxUSE_REGEX}"
52937 echo " tiff ${wxUSE_LIBTIFF-none}"
52938 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52939 echo " xpm ${wxUSE_LIBXPM-none}"
52940 fi
52941 echo " zlib ${wxUSE_ZLIB}"
52942 echo " expat ${wxUSE_EXPAT}"
52943 echo " libmspack ${wxUSE_LIBMSPACK}"
52944 echo " sdl ${wxUSE_LIBSDL}"
52945
52946 echo ""
52947