]> git.saurik.com Git - wxWidgets.git/blob - configure
a96ef63669262dc3da329645be4747b3103945ae
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 58039 2009-01-12 14:26: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 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 subdirs
680 PKG_CONFIG
681 GTK_CFLAGS
682 GTK_LIBS
683 GTK_CONFIG
684 DIRECTFB_CFLAGS
685 DIRECTFB_LIBS
686 XMKMF
687 X_CFLAGS
688 X_PRE_LIBS
689 X_LIBS
690 X_EXTRA_LIBS
691 PANGOX_CFLAGS
692 PANGOX_LIBS
693 PANGOFT2_CFLAGS
694 PANGOFT2_LIBS
695 PANGOXFT_CFLAGS
696 PANGOXFT_LIBS
697 CFLAGS_VISIBILITY
698 CXXFLAGS_VISIBILITY
699 LIBICONV
700 GXX_VERSION
701 SDL_CONFIG
702 SDL_CFLAGS
703 SDL_LIBS
704 GTKPRINT_CFLAGS
705 GTKPRINT_LIBS
706 LIBGNOMEPRINTUI_CFLAGS
707 LIBGNOMEPRINTUI_LIBS
708 GNOMEVFS_CFLAGS
709 GNOMEVFS_LIBS
710 HILDON_CFLAGS
711 HILDON_LIBS
712 CAIRO_CFLAGS
713 CAIRO_LIBS
714 GST_CFLAGS
715 GST_LIBS
716 ALL_WX_LIBS
717 BUILT_WX_LIBS
718 STD_BASE_LIBS
719 STD_GUI_LIBS
720 wxUSE_ZLIB
721 wxUSE_REGEX
722 wxUSE_EXPAT
723 wxUSE_LIBJPEG
724 wxUSE_LIBPNG
725 wxUSE_LIBTIFF
726 VENDOR
727 OFFICIAL_BUILD
728 WX_FLAVOUR
729 WX_LIB_FLAVOUR
730 WXUNIV
731 MONOLITHIC
732 USE_PLUGINS
733 CXXWARNINGS
734 EXTRALIBS
735 EXTRALIBS_XML
736 EXTRALIBS_HTML
737 EXTRALIBS_MEDIA
738 EXTRALIBS_GUI
739 EXTRALIBS_OPENGL
740 EXTRALIBS_SDL
741 EXTRALIBS_STC
742 WITH_PLUGIN_SDL
743 EXTRALIBS_GTKPRINT
744 EXTRALIBS_GNOMEPRINT
745 EXTRALIBS_GNOMEVFS
746 EXTRALIBS_HILDON
747 UNICODE
748 BUILD
749 DEBUG_INFO
750 DEBUG_FLAG
751 TOOLKIT_LOWERCASE
752 TOOLKIT_VERSION
753 SAMPLES_RPATH_FLAG
754 SAMPLES_RPATH_POSTLINK
755 HEADER_PAD_OPTION
756 HOST_SUFFIX
757 CPPUNIT_CFLAGS
758 CPPUNIT_LIBS
759 RANLIB
760 INSTALL_PROGRAM
761 INSTALL_SCRIPT
762 INSTALL_DATA
763 LN_S
764 SET_MAKE
765 MAKE_SET
766 AROPTIONS
767 STRIP
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 IF_GNU_MAKE
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 WINDRES
805 REZ
806 SETFILE
807 OBJCXXFLAGS
808 GCC_PCH
809 ICC_PCH
810 ICC_PCH_CREATE_SWITCH
811 ICC_PCH_USE_SWITCH
812 BK_MAKE_PCH
813 COND_BUILD_DEBUG
814 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
815 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
816 COND_BUILD_DEBUG_UNICODE_0
817 COND_BUILD_DEBUG_UNICODE_1
818 COND_BUILD_RELEASE
819 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
820 COND_BUILD_RELEASE_UNICODE_0
821 COND_BUILD_RELEASE_UNICODE_1
822 COND_BUILD_debug
823 COND_BUILD_debug_DEBUG_FLAG_default
824 COND_BUILD_debug_DEBUG_INFO_default
825 COND_BUILD_debug_UNICODE_0
826 COND_BUILD_debug_UNICODE_1
827 COND_BUILD_release
828 COND_BUILD_release_DEBUG_INFO_default
829 COND_BUILD_release_UNICODE_0
830 COND_BUILD_release_UNICODE_1
831 COND_DEBUG_FLAG_1
832 COND_DEBUG_INFO_0
833 COND_DEBUG_INFO_1
834 COND_DEPS_TRACKING_0
835 COND_DEPS_TRACKING_1
836 COND_GCC_PCH_1
837 COND_ICC_PCH_1
838 COND_MONOLITHIC_0
839 COND_MONOLITHIC_0_SHARED_0
840 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
845 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
847 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
848 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
849 COND_MONOLITHIC_0_SHARED_1
850 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
851 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
852 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
854 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
855 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
856 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
857 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
858 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
859 COND_MONOLITHIC_0_USE_AUI_1
860 COND_MONOLITHIC_0_USE_GUI_1
861 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
862 COND_MONOLITHIC_0_USE_HTML_1
863 COND_MONOLITHIC_0_USE_MEDIA_1
864 COND_MONOLITHIC_0_USE_PROPGRID_1
865 COND_MONOLITHIC_0_USE_QA_1
866 COND_MONOLITHIC_0_USE_RICHTEXT_1
867 COND_MONOLITHIC_0_USE_STC_1
868 COND_MONOLITHIC_0_USE_XRC_1
869 COND_MONOLITHIC_1
870 COND_MONOLITHIC_1_SHARED_0
871 COND_MONOLITHIC_1_SHARED_1
872 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
873 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
874 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
875 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
876 COND_PLATFORM_MACOSX_1
877 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
879 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
880 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
882 COND_PLATFORM_MACOSX_1_USE_GUI_1
883 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
884 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
885 COND_PLATFORM_MACOS_1
886 COND_PLATFORM_MAC_0
887 COND_PLATFORM_MAC_1
888 COND_PLATFORM_MSDOS_0
889 COND_PLATFORM_MSDOS_1
890 COND_PLATFORM_OS2_1
891 COND_PLATFORM_UNIX_0
892 COND_PLATFORM_UNIX_1
893 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
894 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
895 COND_PLATFORM_UNIX_1_USE_GUI_1
896 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
897 COND_PLATFORM_WIN32_0
898 COND_PLATFORM_WIN32_1
899 COND_SHARED_0
900 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
901 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
902 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
903 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
904 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
905 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
906 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
907 COND_SHARED_0_USE_STC_1
908 COND_SHARED_0_wxUSE_EXPAT_builtin
909 COND_SHARED_0_wxUSE_REGEX_builtin
910 COND_SHARED_0_wxUSE_ZLIB_builtin
911 COND_SHARED_1
912 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
913 COND_TOOLKIT_
914 COND_TOOLKIT_COCOA
915 COND_TOOLKIT_COCOA_USE_GUI_1
916 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_DFB
918 COND_TOOLKIT_DFB_USE_GUI_1
919 COND_TOOLKIT_GTK
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
921 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
923 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
925 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_GTK_USE_GUI_1
927 COND_TOOLKIT_MAC
928 COND_TOOLKIT_MGL
929 COND_TOOLKIT_MGL_USE_GUI_1
930 COND_TOOLKIT_MOTIF
931 COND_TOOLKIT_MOTIF_USE_GUI_1
932 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW
934 COND_TOOLKIT_MSW_USE_GUI_1
935 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_MSW_WXUNIV_0
937 COND_TOOLKIT_OSX_CARBON
938 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
939 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_OSX_COCOA
941 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
942 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_OSX_IPHONE
944 COND_TOOLKIT_PM
945 COND_TOOLKIT_PM_USE_GUI_1
946 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_WINCE
948 COND_TOOLKIT_WINCE_USE_GUI_1
949 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
950 COND_TOOLKIT_WINCE_WXUNIV_0
951 COND_TOOLKIT_X11
952 COND_TOOLKIT_X11_USE_GUI_1
953 COND_UNICODE_1
954 COND_USE_EXCEPTIONS_0
955 COND_USE_EXCEPTIONS_1
956 COND_USE_GUI_0
957 COND_USE_GUI_1
958 COND_USE_GUI_1_USE_OPENGL_1
959 COND_USE_GUI_1_WXUNIV_0
960 COND_USE_GUI_1_WXUNIV_1
961 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
962 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
963 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
964 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
965 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
966 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
967 COND_USE_OPENGL_1
968 COND_USE_PCH_1
969 COND_USE_PLUGINS_0
970 COND_USE_RTTI_0
971 COND_USE_RTTI_1
972 COND_USE_SOSYMLINKS_1
973 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
974 COND_USE_SOVERLINUX_1
975 COND_USE_SOVERSION_0
976 COND_USE_SOVERSOLARIS_1
977 COND_USE_STC_1
978 COND_USE_THREADS_0
979 COND_USE_THREADS_1
980 COND_USE_XRC_1
981 COND_WINDOWS_IMPLIB_1
982 COND_WITH_PLUGIN_SDL_1
983 COND_WXUNIV_0
984 COND_WXUNIV_1
985 COND_WXUSE_EXPAT_BUILTIN
986 COND_WXUSE_LIBJPEG_BUILTIN
987 COND_WXUSE_LIBPNG_BUILTIN
988 COND_WXUSE_LIBTIFF_BUILTIN
989 COND_WXUSE_REGEX_BUILTIN
990 COND_WXUSE_ZLIB_BUILTIN
991 COND_wxUSE_EXPAT_builtin
992 COND_wxUSE_LIBJPEG_builtin
993 COND_wxUSE_LIBPNG_builtin
994 COND_wxUSE_LIBTIFF_builtin
995 COND_wxUSE_REGEX_builtin
996 COND_wxUSE_ZLIB_builtin
997 DEREZ
998 SHARED
999 WX_LIBRARY_BASENAME_NOGUI
1000 WX_LIBRARY_BASENAME_GUI
1001 USE_GUI
1002 AFMINSTALL
1003 WIN32INSTALL
1004 TOOLKIT
1005 TOOLKIT_DIR
1006 TOOLCHAIN_NAME
1007 TOOLCHAIN_FULLNAME
1008 cross_compiling
1009 WIDGET_SET
1010 WX_RELEASE
1011 WX_VERSION
1012 WX_SUBVERSION
1013 WX_CHARTYPE
1014 WX_DEBUGTYPE
1015 WXCONFIG_CPPFLAGS
1016 WXCONFIG_CFLAGS
1017 WXCONFIG_CXXFLAGS
1018 WXCONFIG_LIBS
1019 WXCONFIG_RPATH
1020 WXCONFIG_LDFLAGS_GUI
1021 WXCONFIG_RESFLAGS
1022 GUIDIST
1023 DISTDIR
1024 SAMPLES_SUBDIRS
1025 LDFLAGS_GL
1026 OPENGL_LIBS
1027 DMALLOC_LIBS
1028 WX_VERSION_TAG
1029 RESCOMP
1030 RESFLAGS
1031 RESPROGRAMOBJ
1032 WX_RESOURCES_MACOSX_ASCII
1033 WX_RESOURCES_MACOSX_DATA
1034 LIBWXMACRES
1035 POSTLINK_COMMAND
1036 MACSETFILE
1037 GCC
1038 DLLTOOL
1039 CPPUNIT_CONFIG
1040 LIBOBJS
1041 LTLIBOBJS'
1042 ac_subst_files=''
1043 ac_precious_vars='build_alias
1044 host_alias
1045 target_alias
1046 CC
1047 CFLAGS
1048 LDFLAGS
1049 LIBS
1050 CPPFLAGS
1051 CPP
1052 CXX
1053 CXXFLAGS
1054 CCC
1055 PKG_CONFIG
1056 DIRECTFB_CFLAGS
1057 DIRECTFB_LIBS
1058 XMKMF
1059 PANGOX_CFLAGS
1060 PANGOX_LIBS
1061 PANGOFT2_CFLAGS
1062 PANGOFT2_LIBS
1063 PANGOXFT_CFLAGS
1064 PANGOXFT_LIBS
1065 GTKPRINT_CFLAGS
1066 GTKPRINT_LIBS
1067 LIBGNOMEPRINTUI_CFLAGS
1068 LIBGNOMEPRINTUI_LIBS
1069 GNOMEVFS_CFLAGS
1070 GNOMEVFS_LIBS
1071 HILDON_CFLAGS
1072 HILDON_LIBS
1073 CAIRO_CFLAGS
1074 CAIRO_LIBS
1075 GST_CFLAGS
1076 GST_LIBS'
1077 ac_subdirs_all='src/tiff
1078 src/expat'
1079
1080 # Initialize some variables set by options.
1081 ac_init_help=
1082 ac_init_version=false
1083 # The variables have the same names as the options, with
1084 # dashes changed to underlines.
1085 cache_file=/dev/null
1086 exec_prefix=NONE
1087 no_create=
1088 no_recursion=
1089 prefix=NONE
1090 program_prefix=NONE
1091 program_suffix=NONE
1092 program_transform_name=s,x,x,
1093 silent=
1094 site=
1095 srcdir=
1096 verbose=
1097 x_includes=NONE
1098 x_libraries=NONE
1099
1100 # Installation directory options.
1101 # These are left unexpanded so users can "make install exec_prefix=/foo"
1102 # and all the variables that are supposed to be based on exec_prefix
1103 # by default will actually change.
1104 # Use braces instead of parens because sh, perl, etc. also accept them.
1105 # (The list follows the same order as the GNU Coding Standards.)
1106 bindir='${exec_prefix}/bin'
1107 sbindir='${exec_prefix}/sbin'
1108 libexecdir='${exec_prefix}/libexec'
1109 datarootdir='${prefix}/share'
1110 datadir='${datarootdir}'
1111 sysconfdir='${prefix}/etc'
1112 sharedstatedir='${prefix}/com'
1113 localstatedir='${prefix}/var'
1114 includedir='${prefix}/include'
1115 oldincludedir='/usr/include'
1116 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1117 infodir='${datarootdir}/info'
1118 htmldir='${docdir}'
1119 dvidir='${docdir}'
1120 pdfdir='${docdir}'
1121 psdir='${docdir}'
1122 libdir='${exec_prefix}/lib'
1123 localedir='${datarootdir}/locale'
1124 mandir='${datarootdir}/man'
1125
1126 ac_prev=
1127 ac_dashdash=
1128 for ac_option
1129 do
1130 # If the previous option needs an argument, assign it.
1131 if test -n "$ac_prev"; then
1132 eval $ac_prev=\$ac_option
1133 ac_prev=
1134 continue
1135 fi
1136
1137 case $ac_option in
1138 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1139 *) ac_optarg=yes ;;
1140 esac
1141
1142 # Accept the important Cygnus configure options, so we can diagnose typos.
1143
1144 case $ac_dashdash$ac_option in
1145 --)
1146 ac_dashdash=yes ;;
1147
1148 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1149 ac_prev=bindir ;;
1150 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1151 bindir=$ac_optarg ;;
1152
1153 -build | --build | --buil | --bui | --bu)
1154 ac_prev=build_alias ;;
1155 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1156 build_alias=$ac_optarg ;;
1157
1158 -cache-file | --cache-file | --cache-fil | --cache-fi \
1159 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1160 ac_prev=cache_file ;;
1161 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1163 cache_file=$ac_optarg ;;
1164
1165 --config-cache | -C)
1166 cache_file=config.cache ;;
1167
1168 -datadir | --datadir | --datadi | --datad)
1169 ac_prev=datadir ;;
1170 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1171 datadir=$ac_optarg ;;
1172
1173 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1174 | --dataroo | --dataro | --datar)
1175 ac_prev=datarootdir ;;
1176 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1177 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1178 datarootdir=$ac_optarg ;;
1179
1180 -disable-* | --disable-*)
1181 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1185 { (exit 1); exit 1; }; }
1186 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1187 eval enable_$ac_feature=no ;;
1188
1189 -docdir | --docdir | --docdi | --doc | --do)
1190 ac_prev=docdir ;;
1191 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1192 docdir=$ac_optarg ;;
1193
1194 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1195 ac_prev=dvidir ;;
1196 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1197 dvidir=$ac_optarg ;;
1198
1199 -enable-* | --enable-*)
1200 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1203 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1204 { (exit 1); exit 1; }; }
1205 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1206 eval enable_$ac_feature=\$ac_optarg ;;
1207
1208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1210 | --exec | --exe | --ex)
1211 ac_prev=exec_prefix ;;
1212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1214 | --exec=* | --exe=* | --ex=*)
1215 exec_prefix=$ac_optarg ;;
1216
1217 -gas | --gas | --ga | --g)
1218 # Obsolete; use --with-gas.
1219 with_gas=yes ;;
1220
1221 -help | --help | --hel | --he | -h)
1222 ac_init_help=long ;;
1223 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1224 ac_init_help=recursive ;;
1225 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1226 ac_init_help=short ;;
1227
1228 -host | --host | --hos | --ho)
1229 ac_prev=host_alias ;;
1230 -host=* | --host=* | --hos=* | --ho=*)
1231 host_alias=$ac_optarg ;;
1232
1233 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1234 ac_prev=htmldir ;;
1235 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1236 | --ht=*)
1237 htmldir=$ac_optarg ;;
1238
1239 -includedir | --includedir | --includedi | --included | --include \
1240 | --includ | --inclu | --incl | --inc)
1241 ac_prev=includedir ;;
1242 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1243 | --includ=* | --inclu=* | --incl=* | --inc=*)
1244 includedir=$ac_optarg ;;
1245
1246 -infodir | --infodir | --infodi | --infod | --info | --inf)
1247 ac_prev=infodir ;;
1248 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1249 infodir=$ac_optarg ;;
1250
1251 -libdir | --libdir | --libdi | --libd)
1252 ac_prev=libdir ;;
1253 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1254 libdir=$ac_optarg ;;
1255
1256 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1257 | --libexe | --libex | --libe)
1258 ac_prev=libexecdir ;;
1259 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1260 | --libexe=* | --libex=* | --libe=*)
1261 libexecdir=$ac_optarg ;;
1262
1263 -localedir | --localedir | --localedi | --localed | --locale)
1264 ac_prev=localedir ;;
1265 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1266 localedir=$ac_optarg ;;
1267
1268 -localstatedir | --localstatedir | --localstatedi | --localstated \
1269 | --localstate | --localstat | --localsta | --localst | --locals)
1270 ac_prev=localstatedir ;;
1271 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1272 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1273 localstatedir=$ac_optarg ;;
1274
1275 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1276 ac_prev=mandir ;;
1277 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1278 mandir=$ac_optarg ;;
1279
1280 -nfp | --nfp | --nf)
1281 # Obsolete; use --without-fp.
1282 with_fp=no ;;
1283
1284 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1285 | --no-cr | --no-c | -n)
1286 no_create=yes ;;
1287
1288 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1289 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1290 no_recursion=yes ;;
1291
1292 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1293 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1294 | --oldin | --oldi | --old | --ol | --o)
1295 ac_prev=oldincludedir ;;
1296 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1297 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1298 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1299 oldincludedir=$ac_optarg ;;
1300
1301 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1302 ac_prev=prefix ;;
1303 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1304 prefix=$ac_optarg ;;
1305
1306 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1307 | --program-pre | --program-pr | --program-p)
1308 ac_prev=program_prefix ;;
1309 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1310 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1311 program_prefix=$ac_optarg ;;
1312
1313 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1314 | --program-suf | --program-su | --program-s)
1315 ac_prev=program_suffix ;;
1316 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1317 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1318 program_suffix=$ac_optarg ;;
1319
1320 -program-transform-name | --program-transform-name \
1321 | --program-transform-nam | --program-transform-na \
1322 | --program-transform-n | --program-transform- \
1323 | --program-transform | --program-transfor \
1324 | --program-transfo | --program-transf \
1325 | --program-trans | --program-tran \
1326 | --progr-tra | --program-tr | --program-t)
1327 ac_prev=program_transform_name ;;
1328 -program-transform-name=* | --program-transform-name=* \
1329 | --program-transform-nam=* | --program-transform-na=* \
1330 | --program-transform-n=* | --program-transform-=* \
1331 | --program-transform=* | --program-transfor=* \
1332 | --program-transfo=* | --program-transf=* \
1333 | --program-trans=* | --program-tran=* \
1334 | --progr-tra=* | --program-tr=* | --program-t=*)
1335 program_transform_name=$ac_optarg ;;
1336
1337 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1338 ac_prev=pdfdir ;;
1339 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1340 pdfdir=$ac_optarg ;;
1341
1342 -psdir | --psdir | --psdi | --psd | --ps)
1343 ac_prev=psdir ;;
1344 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1345 psdir=$ac_optarg ;;
1346
1347 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1348 | -silent | --silent | --silen | --sile | --sil)
1349 silent=yes ;;
1350
1351 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1352 ac_prev=sbindir ;;
1353 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1354 | --sbi=* | --sb=*)
1355 sbindir=$ac_optarg ;;
1356
1357 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1358 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1359 | --sharedst | --shareds | --shared | --share | --shar \
1360 | --sha | --sh)
1361 ac_prev=sharedstatedir ;;
1362 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1363 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1364 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1365 | --sha=* | --sh=*)
1366 sharedstatedir=$ac_optarg ;;
1367
1368 -site | --site | --sit)
1369 ac_prev=site ;;
1370 -site=* | --site=* | --sit=*)
1371 site=$ac_optarg ;;
1372
1373 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1374 ac_prev=srcdir ;;
1375 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1376 srcdir=$ac_optarg ;;
1377
1378 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1379 | --syscon | --sysco | --sysc | --sys | --sy)
1380 ac_prev=sysconfdir ;;
1381 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1382 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1383 sysconfdir=$ac_optarg ;;
1384
1385 -target | --target | --targe | --targ | --tar | --ta | --t)
1386 ac_prev=target_alias ;;
1387 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1388 target_alias=$ac_optarg ;;
1389
1390 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1391 verbose=yes ;;
1392
1393 -version | --version | --versio | --versi | --vers | -V)
1394 ac_init_version=: ;;
1395
1396 -with-* | --with-*)
1397 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1398 # Reject names that are not valid shell variable names.
1399 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1400 { echo "$as_me: error: invalid package name: $ac_package" >&2
1401 { (exit 1); exit 1; }; }
1402 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1403 eval with_$ac_package=\$ac_optarg ;;
1404
1405 -without-* | --without-*)
1406 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1407 # Reject names that are not valid shell variable names.
1408 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1409 { echo "$as_me: error: invalid package name: $ac_package" >&2
1410 { (exit 1); exit 1; }; }
1411 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1412 eval with_$ac_package=no ;;
1413
1414 --x)
1415 # Obsolete; use --with-x.
1416 with_x=yes ;;
1417
1418 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1419 | --x-incl | --x-inc | --x-in | --x-i)
1420 ac_prev=x_includes ;;
1421 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1422 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1423 x_includes=$ac_optarg ;;
1424
1425 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1426 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1427 ac_prev=x_libraries ;;
1428 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1429 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1430 x_libraries=$ac_optarg ;;
1431
1432 -*) { echo "$as_me: error: unrecognized option: $ac_option
1433 Try \`$0 --help' for more information." >&2
1434 { (exit 1); exit 1; }; }
1435 ;;
1436
1437 *=*)
1438 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1439 # Reject names that are not valid shell variable names.
1440 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1441 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1442 { (exit 1); exit 1; }; }
1443 eval $ac_envvar=\$ac_optarg
1444 export $ac_envvar ;;
1445
1446 *)
1447 # FIXME: should be removed in autoconf 3.0.
1448 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1449 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1450 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1451 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1452 ;;
1453
1454 esac
1455 done
1456
1457 if test -n "$ac_prev"; then
1458 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1459 { echo "$as_me: error: missing argument to $ac_option" >&2
1460 { (exit 1); exit 1; }; }
1461 fi
1462
1463 # Be sure to have absolute directory names.
1464 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1465 datadir sysconfdir sharedstatedir localstatedir includedir \
1466 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1467 libdir localedir mandir
1468 do
1469 eval ac_val=\$$ac_var
1470 case $ac_val in
1471 [\\/$]* | ?:[\\/]* ) continue;;
1472 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1473 esac
1474 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1475 { (exit 1); exit 1; }; }
1476 done
1477
1478 # There might be people who depend on the old broken behavior: `$host'
1479 # used to hold the argument of --host etc.
1480 # FIXME: To remove some day.
1481 build=$build_alias
1482 host=$host_alias
1483 target=$target_alias
1484
1485 # FIXME: To remove some day.
1486 if test "x$host_alias" != x; then
1487 if test "x$build_alias" = x; then
1488 cross_compiling=maybe
1489 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1490 If a cross compiler is detected then cross compile mode will be used." >&2
1491 elif test "x$build_alias" != "x$host_alias"; then
1492 cross_compiling=yes
1493 fi
1494 fi
1495
1496 ac_tool_prefix=
1497 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1498
1499 test "$silent" = yes && exec 6>/dev/null
1500
1501
1502 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1503 ac_ls_di=`ls -di .` &&
1504 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1505 { echo "$as_me: error: Working directory cannot be determined" >&2
1506 { (exit 1); exit 1; }; }
1507 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1508 { echo "$as_me: error: pwd does not report name of working directory" >&2
1509 { (exit 1); exit 1; }; }
1510
1511
1512 # Find the source files, if location was not specified.
1513 if test -z "$srcdir"; then
1514 ac_srcdir_defaulted=yes
1515 # Try the directory containing this script, then the parent directory.
1516 ac_confdir=`$as_dirname -- "$0" ||
1517 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1518 X"$0" : 'X\(//\)[^/]' \| \
1519 X"$0" : 'X\(//\)$' \| \
1520 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1521 echo X"$0" |
1522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1523 s//\1/
1524 q
1525 }
1526 /^X\(\/\/\)[^/].*/{
1527 s//\1/
1528 q
1529 }
1530 /^X\(\/\/\)$/{
1531 s//\1/
1532 q
1533 }
1534 /^X\(\/\).*/{
1535 s//\1/
1536 q
1537 }
1538 s/.*/./; q'`
1539 srcdir=$ac_confdir
1540 if test ! -r "$srcdir/$ac_unique_file"; then
1541 srcdir=..
1542 fi
1543 else
1544 ac_srcdir_defaulted=no
1545 fi
1546 if test ! -r "$srcdir/$ac_unique_file"; then
1547 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1548 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1549 { (exit 1); exit 1; }; }
1550 fi
1551 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1552 ac_abs_confdir=`(
1553 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1554 { (exit 1); exit 1; }; }
1555 pwd)`
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1558 srcdir=.
1559 fi
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1563 case $srcdir in
1564 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1565 esac
1566 for ac_var in $ac_precious_vars; do
1567 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1568 eval ac_env_${ac_var}_value=\$${ac_var}
1569 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1570 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1571 done
1572
1573 #
1574 # Report the --help message.
1575 #
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1579 cat <<_ACEOF
1580 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1581
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1583
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1586
1587 Defaults for the options are specified in brackets.
1588
1589 Configuration:
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1599
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1604 [PREFIX]
1605
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1610
1611 For better control, use the options below.
1612
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1633 _ACEOF
1634
1635 cat <<\_ACEOF
1636
1637 X features:
1638 --x-includes=DIR X include files are in DIR
1639 --x-libraries=DIR X library files are in DIR
1640
1641 System types:
1642 --build=BUILD configure for building on BUILD [guessed]
1643 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1644 _ACEOF
1645 fi
1646
1647 if test -n "$ac_init_help"; then
1648 case $ac_init_help in
1649 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1650 esac
1651 cat <<\_ACEOF
1652
1653 Optional Features:
1654 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1655 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1656 --disable-gui don't build GUI parts of the library
1657 --enable-monolithic build wxWidgets as single library
1658 --enable-plugins build parts of wxWidgets as loadable components
1659 --enable-official_build official build of wxWidgets (win32 DLL only)
1660 --enable-vendor=VENDOR vendor name (win32 DLL only)
1661 --disable-all-features disable all optional features to build minimal library
1662 --enable-universal use wxWidgets GUI controls instead of native ones
1663 --enable-nanox use NanoX
1664 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1665 --enable-gpe use GNOME PDA Environment features if possible
1666 --disable-shared create static library instead of shared
1667 --enable-debug same as debug_flag and debug_info
1668 --enable-stl use STL for containers
1669 --enable-std_iostreams use standard C++ stream classes
1670 --enable-std_string use standard C++ string classes
1671 --disable-unicode compile without Unicode support
1672 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1673 --enable-utf8 use UTF-8 representation for strings (Unix only)
1674 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1675 --enable-extended_rtti use extended RTTI (XTI)
1676 --enable-omf use OMF object format
1677 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1678 --enable-debug_info create code with debugging information
1679 --disable-optimise compile without optimisations
1680 --enable-debug_gdb create code with extra GDB debugging information
1681 --enable-debug_cntxt use wxDebugContext
1682 --enable-mem_tracing create code with memory tracing
1683 --enable-profile create code with profiling information
1684 --enable-no_rtti create code without RTTI information
1685 --enable-no_exceptions create code without C++ exceptions handling
1686 --enable-permissive compile code disregarding strict ANSI
1687 --enable-no_deps create code without dependency information
1688 --disable-vararg_macros don't use vararg macros, even if they are supported
1689 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1690 --enable-compat26 enable wxWidgets 2.6 compatibility
1691 --disable-compat28 disable wxWidgets 2.8 compatibility
1692 --disable-rpath disable use of rpath for uninstalled builds
1693 --enable-objc_uniquifying enable Objective-C class name uniquifying
1694 --disable-visibility disable use of ELF symbols visibility even if supported
1695 --enable-intl use internationalization system
1696 --enable-xlocale use x-locale support (requires wxLocale)
1697 --enable-config use wxConfig (and derived) classes
1698 --enable-protocols use wxProtocol and derived classes
1699 --enable-ftp use wxFTP (requires wxProtocol
1700 --enable-http use wxHTTP (requires wxProtocol
1701 --enable-fileproto use wxFileProto class (requires wxProtocol
1702 --enable-sockets use socket/network classes
1703 --enable-ipv6 enable IPv6 support in wxSocket
1704 --enable-ole use OLE classes (Win32 only)
1705 --enable-dataobj use data object classes
1706 --enable-ipc use interprocess communication (wxSocket etc.)
1707 --enable-baseevtloop use event loop in console programs too
1708 --enable-epollloop use wxEpollDispatcher class (Linux only)
1709 --enable-selectloop use wxSelectDispatcher class
1710 --enable-apple_ieee use the Apple IEEE codec
1711 --enable-arcstream use wxArchive streams
1712 --enable-base64 use base64 encoding/decoding functions
1713 --enable-backtrace use wxStackWalker class for getting backtraces
1714 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1715 --enable-cmdline use wxCmdLineParser class
1716 --enable-datetime use wxDateTime class
1717 --enable-debugreport use wxDebugReport class
1718 --enable-dialupman use dialup network classes
1719 --enable-dynlib use wxLibrary class for DLL loading
1720 --enable-dynamicloader use (new) wxDynamicLibrary class
1721 --enable-exceptions build exception-safe library
1722 --enable-ffile use wxFFile class
1723 --enable-file use wxFile class
1724 --enable-filesystem use virtual file systems classes
1725 --enable-fontenum use wxFontEnumerator class
1726 --enable-fontmap use font encodings conversion classes
1727 --enable-fs_archive use virtual archive filesystems
1728 --enable-fs_inet use virtual HTTP/FTP filesystems
1729 --enable-fs_zip now replaced by fs_archive
1730 --enable-geometry use geometry class
1731 --enable-log use logging system
1732 --enable-longlong use wxLongLong class
1733 --enable-mimetype use wxMimeTypesManager
1734 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1735 --enable-snglinst use wxSingleInstanceChecker class
1736 --enable-sound use wxSound class
1737 --enable-stdpaths use wxStandardPaths class
1738 --enable-stopwatch use wxStopWatch class
1739 --enable-streams use wxStream etc classes
1740 --enable-sysoptions use wxSystemOptions
1741 --enable-tarstream use wxTar streams
1742 --enable-textbuf use wxTextBuffer class
1743 --enable-textfile use wxTextFile class
1744 --enable-timer use wxTimer class
1745 --enable-variant use wxVariant class
1746 --enable-zipstream use wxZip streams
1747 --enable-url use wxURL class
1748 --enable-protocol use wxProtocol class
1749 --enable-protocol-http HTTP support in wxProtocol
1750 --enable-protocol-ftp FTP support in wxProtocol
1751 --enable-protocol-file FILE support in wxProtocol
1752 --enable-threads use threads
1753 --enable-iniconf use wxIniConfig (Win32 only)
1754 --enable-regkey use wxRegKey class (Win32 only)
1755 --enable-docview use document view architecture
1756 --enable-help use help subsystem
1757 --enable-mshtmlhelp use MS HTML Help (win32)
1758 --enable-html use wxHTML sub-library
1759 --enable-htmlhelp use wxHTML-based help
1760 --enable-xrc use XRC resources sub-library
1761 --enable-aui use AUI docking library
1762 --enable-propgrid use wxPropertyGrid library
1763 --enable-stc use wxStyledTextCtrl library
1764 --enable-constraints use layout-constraints system
1765 --enable-loggui use standard GUI logger
1766 --enable-logwin use wxLogWindow
1767 --enable-logdialog use wxLogDialog
1768 --enable-mdi use multiple document interface architecture
1769 --enable-mdidoc use docview architecture with MDI
1770 --enable-mediactrl use wxMediaCtrl class
1771 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1772 --enable-webkit use wxWebKitCtrl (Mac)
1773 --enable-richtext use wxRichTextCtrl
1774 --enable-graphics_ctx use graphics context 2D drawing API
1775 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1776 --enable-printarch use printing architecture
1777 --enable-svg use wxSVGFileDC device context
1778 --enable-clipboard use wxClipboard class
1779 --enable-dnd use Drag'n'Drop classes
1780 --enable-metafile use win32 metafiles
1781 --disable-controls disable compilation of all standard controls
1782 --enable-accel use accelerators
1783 --enable-animatectrl use wxAnimationCtrl class
1784 --enable-bmpbutton use wxBitmapButton class
1785 --enable-bmpcombobox use wxBitmapComboBox class
1786 --enable-button use wxButton class
1787 --enable-calendar use wxCalendarCtrl class
1788 --enable-caret use wxCaret class
1789 --enable-checkbox use wxCheckBox class
1790 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1791 --enable-choice use wxChoice class
1792 --enable-choicebook use wxChoicebook class
1793 --enable-collpane use wxCollapsiblePane class
1794 --enable-colourpicker use wxColourPickerCtrl class
1795 --enable-combobox use wxComboBox class
1796 --enable-comboctrl use wxComboCtrl class
1797 --enable-dataviewctrl use wxDataViewCtrl class
1798 --enable-datepick use wxDatePickerCtrl class
1799 --enable-detect_sm use code to detect X11 session manager
1800 --enable-dirpicker use wxDirPickerCtrl class
1801 --enable-display use wxDisplay class
1802 --enable-editablebox use wxEditableListBox class
1803 --enable-filectrl use wxFileCtrl class
1804 --enable-filepicker use wxFilePickerCtrl class
1805 --enable-fontpicker use wxFontPickerCtrl class
1806 --enable-gauge use wxGauge class
1807 --enable-grid use wxGrid class
1808 --enable-headerctrl use wxHeaderCtrl class
1809 --enable-hyperlink use wxHyperlinkCtrl class
1810 --enable-imaglist use wxImageList class
1811 --enable-listbook use wxListbook class
1812 --enable-listbox use wxListBox class
1813 --enable-listctrl use wxListCtrl class
1814 --enable-notebook use wxNotebook class
1815 --enable-notifmsg use wxNotificationMessage class
1816 --enable-odcombobox use wxOwnerDrawnComboBox class
1817 --enable-popupwin use wxPopUpWindow class
1818 --enable-radiobox use wxRadioBox class
1819 --enable-radiobtn use wxRadioButton class
1820 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
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-taskbaricon use wxTaskBarIcon class
1834 --enable-tbarnative use native wxToolBar class
1835 --enable-textctrl use wxTextCtrl class
1836 --enable-tipwindow use wxTipWindow class
1837 --enable-togglebtn use wxToggleButton class
1838 --enable-toolbar use wxToolBar class
1839 --enable-toolbook use wxToolbook class
1840 --enable-treebook use wxTreebook class
1841 --enable-treectrl use wxTreeCtrl class
1842 --enable-commondlg use all common dialogs
1843 --enable-aboutdlg use wxAboutBox
1844 --enable-choicedlg use wxChoiceDialog
1845 --enable-coldlg use wxColourDialog
1846 --enable-filedlg use wxFileDialog
1847 --enable-finddlg use wxFindReplaceDialog
1848 --enable-fontdlg use wxFontDialog
1849 --enable-dirdlg use wxDirDialog
1850 --enable-msgdlg use wxMessageDialog
1851 --enable-numberdlg use wxNumberEntryDialog
1852 --enable-splash use wxSplashScreen
1853 --enable-textdlg use wxTextDialog
1854 --enable-tipdlg use startup tips
1855 --enable-progressdlg use wxProgressDialog
1856 --enable-wizarddlg use wxWizard
1857 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1858 --enable-miniframe use wxMiniFrame class
1859 --enable-tooltips use wxToolTip class
1860 --enable-splines use spline drawing code
1861 --enable-mousewheel use mousewheel
1862 --enable-validators use wxValidator and derived classes
1863 --enable-busyinfo use wxBusyInfo
1864 --enable-joystick use wxJoystick
1865 --enable-metafiles use wxMetaFile (Win32 only)
1866 --enable-dragimage use wxDragImage
1867 --enable-accessibility enable accessibility support
1868 --enable-palette use wxPalette class
1869 --enable-image use wxImage class
1870 --enable-gif use gif images (GIF file format)
1871 --enable-pcx use pcx images (PCX file format)
1872 --enable-tga use tga images (TGA file format)
1873 --enable-iff use iff images (IFF file format)
1874 --enable-pnm use pnm images (PNM file format)
1875 --enable-xpm use xpm images (XPM file format)
1876 --enable-ico_cur use Windows ICO and CUR formats
1877 --enable-dccache cache temporary wxDC objects (Win32 only)
1878 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1879 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1880 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1881 --enable-wxdib use wxDIB class (Win32 only)
1882 --enable-autoidman use automatic ids management
1883 --disable-largefile omit support for large files
1884 --disable-gtktest do not try to compile and run a test GTK+ program
1885 --disable-gtktest Do not try to compile and run a test GTK program
1886 --disable-sdltest Do not try to compile and run a test SDL program
1887 --enable-omf use OMF object format (OS/2)
1888 --disable-dependency-tracking
1889 don't use dependency tracking even if the compiler
1890 can
1891 --disable-precomp-headers
1892 don't use precompiled headers even if compiler can
1893
1894 Optional Packages:
1895 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1896 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1897 --without-subdirs don't generate makefiles for samples/demos/...
1898 --with-flavour=NAME specify a name to identify this build
1899 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1900 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1901 --with-motif use Motif/Lesstif
1902 --with-osx_carbon use Mac OS X (Carbon)
1903 --with-osx_cocoa use Mac OS X (Cocoa)
1904 --with-mac use Mac OS X (Default)
1905 --with-cocoa use Cocoa
1906 --with-wine use Wine
1907 --with-msw use MS-Windows
1908 --with-pm use OS/2 Presentation Manager
1909 --with-mgl use SciTech MGL
1910 --with-directfb use DirectFB
1911 --with-microwin use MicroWindows
1912 --with-x11 use X11
1913 --with-libpng use libpng (PNG image format)
1914 --with-libjpeg use libjpeg (JPEG file format)
1915 --with-libtiff use libtiff (TIFF file format)
1916 --with-libxpm use libxpm (XPM file format)
1917 --with-libiconv use libiconv (character conversion)
1918 --with-libmspack use libmspack (CHM help files loading)
1919 --without-gtkprint don't use GTK printing support
1920 --without-gnomeprint don't use GNOME printing libraries
1921 --with-gnomevfs use GNOME VFS for associating MIME types
1922 --with-hildon use Hildon framework for Nokia 770
1923 --with-opengl use OpenGL (or Mesa)
1924 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1925 --with-sdl use SDL for audio on Unix
1926 --with-regex enable support for wxRegEx class
1927 --with-zlib use zlib for LZW compression
1928 --with-expat enable XML support using expat parser
1929 --with-macosx-sdk=PATH use an OS X SDK at PATH
1930 --with-macosx-version-min=VER build binaries which require at least this OS X version
1931 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1932 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1933 --with-x use the X Window System
1934 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1935 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1936 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1937 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1938 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1939
1940 Some influential environment variables:
1941 CC C compiler command
1942 CFLAGS C compiler flags
1943 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1944 nonstandard directory <lib dir>
1945 LIBS libraries to pass to the linker, e.g. -l<library>
1946 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1947 you have headers in a nonstandard directory <include dir>
1948 CPP C preprocessor
1949 CXX C++ compiler command
1950 CXXFLAGS C++ compiler flags
1951 PKG_CONFIG path to pkg-config utility
1952 DIRECTFB_CFLAGS
1953 C compiler flags for DIRECTFB, overriding pkg-config
1954 DIRECTFB_LIBS
1955 linker flags for DIRECTFB, overriding pkg-config
1956 XMKMF Path to xmkmf, Makefile generator for X Window System
1957 PANGOX_CFLAGS
1958 C compiler flags for PANGOX, overriding pkg-config
1959 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1960 PANGOFT2_CFLAGS
1961 C compiler flags for PANGOFT2, overriding pkg-config
1962 PANGOFT2_LIBS
1963 linker flags for PANGOFT2, overriding pkg-config
1964 PANGOXFT_CFLAGS
1965 C compiler flags for PANGOXFT, overriding pkg-config
1966 PANGOXFT_LIBS
1967 linker flags for PANGOXFT, overriding pkg-config
1968 GTKPRINT_CFLAGS
1969 C compiler flags for GTKPRINT, overriding pkg-config
1970 GTKPRINT_LIBS
1971 linker flags for GTKPRINT, overriding pkg-config
1972 LIBGNOMEPRINTUI_CFLAGS
1973 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1974 LIBGNOMEPRINTUI_LIBS
1975 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1976 GNOMEVFS_CFLAGS
1977 C compiler flags for GNOMEVFS, overriding pkg-config
1978 GNOMEVFS_LIBS
1979 linker flags for GNOMEVFS, overriding pkg-config
1980 HILDON_CFLAGS
1981 C compiler flags for HILDON, overriding pkg-config
1982 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1983 CAIRO_CFLAGS
1984 C compiler flags for CAIRO, overriding pkg-config
1985 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1986 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1987 GST_LIBS linker flags for GST, overriding pkg-config
1988
1989 Use these variables to override the choices made by `configure' or to help
1990 it to find libraries and programs with nonstandard names/locations.
1991
1992 Report bugs to <wx-dev@lists.wxwidgets.org>.
1993 _ACEOF
1994 ac_status=$?
1995 fi
1996
1997 if test "$ac_init_help" = "recursive"; then
1998 # If there are subdirs, report their specific --help.
1999 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2000 test -d "$ac_dir" || continue
2001 ac_builddir=.
2002
2003 case "$ac_dir" in
2004 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2005 *)
2006 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2007 # A ".." for each directory in $ac_dir_suffix.
2008 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2009 case $ac_top_builddir_sub in
2010 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2011 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2012 esac ;;
2013 esac
2014 ac_abs_top_builddir=$ac_pwd
2015 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2016 # for backward compatibility:
2017 ac_top_builddir=$ac_top_build_prefix
2018
2019 case $srcdir in
2020 .) # We are building in place.
2021 ac_srcdir=.
2022 ac_top_srcdir=$ac_top_builddir_sub
2023 ac_abs_top_srcdir=$ac_pwd ;;
2024 [\\/]* | ?:[\\/]* ) # Absolute name.
2025 ac_srcdir=$srcdir$ac_dir_suffix;
2026 ac_top_srcdir=$srcdir
2027 ac_abs_top_srcdir=$srcdir ;;
2028 *) # Relative name.
2029 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2030 ac_top_srcdir=$ac_top_build_prefix$srcdir
2031 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2032 esac
2033 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2034
2035 cd "$ac_dir" || { ac_status=$?; continue; }
2036 # Check for guested configure.
2037 if test -f "$ac_srcdir/configure.gnu"; then
2038 echo &&
2039 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2040 elif test -f "$ac_srcdir/configure"; then
2041 echo &&
2042 $SHELL "$ac_srcdir/configure" --help=recursive
2043 else
2044 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2045 fi || ac_status=$?
2046 cd "$ac_pwd" || { ac_status=$?; break; }
2047 done
2048 fi
2049
2050 test -n "$ac_init_help" && exit $ac_status
2051 if $ac_init_version; then
2052 cat <<\_ACEOF
2053 wxWidgets configure 2.9.0
2054 generated by GNU Autoconf 2.61
2055
2056 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2057 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2058 This configure script is free software; the Free Software Foundation
2059 gives unlimited permission to copy, distribute and modify it.
2060 _ACEOF
2061 exit
2062 fi
2063 cat >config.log <<_ACEOF
2064 This file contains any messages produced by compilers while
2065 running configure, to aid debugging if configure makes a mistake.
2066
2067 It was created by wxWidgets $as_me 2.9.0, which was
2068 generated by GNU Autoconf 2.61. Invocation command line was
2069
2070 $ $0 $@
2071
2072 _ACEOF
2073 exec 5>>config.log
2074 {
2075 cat <<_ASUNAME
2076 ## --------- ##
2077 ## Platform. ##
2078 ## --------- ##
2079
2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2085
2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2087 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2088
2089 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2090 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2092 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2093 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2094 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2095 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2096
2097 _ASUNAME
2098
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2100 for as_dir in $PATH
2101 do
2102 IFS=$as_save_IFS
2103 test -z "$as_dir" && as_dir=.
2104 echo "PATH: $as_dir"
2105 done
2106 IFS=$as_save_IFS
2107
2108 } >&5
2109
2110 cat >&5 <<_ACEOF
2111
2112
2113 ## ----------- ##
2114 ## Core tests. ##
2115 ## ----------- ##
2116
2117 _ACEOF
2118
2119
2120 # Keep a trace of the command line.
2121 # Strip out --no-create and --no-recursion so they do not pile up.
2122 # Strip out --silent because we don't want to record it for future runs.
2123 # Also quote any args containing shell meta-characters.
2124 # Make two passes to allow for proper duplicate-argument suppression.
2125 ac_configure_args=
2126 ac_configure_args0=
2127 ac_configure_args1=
2128 ac_must_keep_next=false
2129 for ac_pass in 1 2
2130 do
2131 for ac_arg
2132 do
2133 case $ac_arg in
2134 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2135 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2136 | -silent | --silent | --silen | --sile | --sil)
2137 continue ;;
2138 *\'*)
2139 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2140 esac
2141 case $ac_pass in
2142 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2143 2)
2144 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2145 if test $ac_must_keep_next = true; then
2146 ac_must_keep_next=false # Got value, back to normal.
2147 else
2148 case $ac_arg in
2149 *=* | --config-cache | -C | -disable-* | --disable-* \
2150 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2151 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2152 | -with-* | --with-* | -without-* | --without-* | --x)
2153 case "$ac_configure_args0 " in
2154 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2155 esac
2156 ;;
2157 -* ) ac_must_keep_next=true ;;
2158 esac
2159 fi
2160 ac_configure_args="$ac_configure_args '$ac_arg'"
2161 ;;
2162 esac
2163 done
2164 done
2165 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2166 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2167
2168 # When interrupted or exit'd, cleanup temporary files, and complete
2169 # config.log. We remove comments because anyway the quotes in there
2170 # would cause problems or look ugly.
2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2173 trap 'exit_status=$?
2174 # Save into config.log some information that might help in debugging.
2175 {
2176 echo
2177
2178 cat <<\_ASBOX
2179 ## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##
2182 _ASBOX
2183 echo
2184 # The following way of writing the cache mishandles newlines in values,
2185 (
2186 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2187 eval ac_val=\$$ac_var
2188 case $ac_val in #(
2189 *${as_nl}*)
2190 case $ac_var in #(
2191 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2192 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2193 esac
2194 case $ac_var in #(
2195 _ | IFS | as_nl) ;; #(
2196 *) $as_unset $ac_var ;;
2197 esac ;;
2198 esac
2199 done
2200 (set) 2>&1 |
2201 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202 *${as_nl}ac_space=\ *)
2203 sed -n \
2204 "s/'\''/'\''\\\\'\'''\''/g;
2205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2206 ;; #(
2207 *)
2208 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209 ;;
2210 esac |
2211 sort
2212 )
2213 echo
2214
2215 cat <<\_ASBOX
2216 ## ----------------- ##
2217 ## Output variables. ##
2218 ## ----------------- ##
2219 _ASBOX
2220 echo
2221 for ac_var in $ac_subst_vars
2222 do
2223 eval ac_val=\$$ac_var
2224 case $ac_val in
2225 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2226 esac
2227 echo "$ac_var='\''$ac_val'\''"
2228 done | sort
2229 echo
2230
2231 if test -n "$ac_subst_files"; then
2232 cat <<\_ASBOX
2233 ## ------------------- ##
2234 ## File substitutions. ##
2235 ## ------------------- ##
2236 _ASBOX
2237 echo
2238 for ac_var in $ac_subst_files
2239 do
2240 eval ac_val=\$$ac_var
2241 case $ac_val in
2242 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2243 esac
2244 echo "$ac_var='\''$ac_val'\''"
2245 done | sort
2246 echo
2247 fi
2248
2249 if test -s confdefs.h; then
2250 cat <<\_ASBOX
2251 ## ----------- ##
2252 ## confdefs.h. ##
2253 ## ----------- ##
2254 _ASBOX
2255 echo
2256 cat confdefs.h
2257 echo
2258 fi
2259 test "$ac_signal" != 0 &&
2260 echo "$as_me: caught signal $ac_signal"
2261 echo "$as_me: exit $exit_status"
2262 } >&5
2263 rm -f core *.core core.conftest.* &&
2264 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2265 exit $exit_status
2266 ' 0
2267 for ac_signal in 1 2 13 15; do
2268 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2269 done
2270 ac_signal=0
2271
2272 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2273 rm -f -r conftest* confdefs.h
2274
2275 # Predefined preprocessor variables.
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_NAME "$PACKAGE_NAME"
2279 _ACEOF
2280
2281
2282 cat >>confdefs.h <<_ACEOF
2283 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2284 _ACEOF
2285
2286
2287 cat >>confdefs.h <<_ACEOF
2288 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2289 _ACEOF
2290
2291
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_STRING "$PACKAGE_STRING"
2294 _ACEOF
2295
2296
2297 cat >>confdefs.h <<_ACEOF
2298 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2299 _ACEOF
2300
2301
2302 # Let the site file select an alternate cache file if it wants to.
2303 # Prefer explicitly selected file to automatically selected ones.
2304 if test -n "$CONFIG_SITE"; then
2305 set x "$CONFIG_SITE"
2306 elif test "x$prefix" != xNONE; then
2307 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2308 else
2309 set x "$ac_default_prefix/share/config.site" \
2310 "$ac_default_prefix/etc/config.site"
2311 fi
2312 shift
2313 for ac_site_file
2314 do
2315 if test -r "$ac_site_file"; then
2316 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2317 echo "$as_me: loading site script $ac_site_file" >&6;}
2318 sed 's/^/| /' "$ac_site_file" >&5
2319 . "$ac_site_file"
2320 fi
2321 done
2322
2323 if test -r "$cache_file"; then
2324 # Some versions of bash will fail to source /dev/null (special
2325 # files actually), so we avoid doing that.
2326 if test -f "$cache_file"; then
2327 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2328 echo "$as_me: loading cache $cache_file" >&6;}
2329 case $cache_file in
2330 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2331 *) . "./$cache_file";;
2332 esac
2333 fi
2334 else
2335 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2336 echo "$as_me: creating cache $cache_file" >&6;}
2337 >$cache_file
2338 fi
2339
2340 # Check that the precious variables saved in the cache have kept the same
2341 # value.
2342 ac_cache_corrupted=false
2343 for ac_var in $ac_precious_vars; do
2344 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2345 eval ac_new_set=\$ac_env_${ac_var}_set
2346 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2347 eval ac_new_val=\$ac_env_${ac_var}_value
2348 case $ac_old_set,$ac_new_set in
2349 set,)
2350 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2351 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2352 ac_cache_corrupted=: ;;
2353 ,set)
2354 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2355 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2356 ac_cache_corrupted=: ;;
2357 ,);;
2358 *)
2359 if test "x$ac_old_val" != "x$ac_new_val"; then
2360 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2361 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2362 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2363 echo "$as_me: former value: $ac_old_val" >&2;}
2364 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2365 echo "$as_me: current value: $ac_new_val" >&2;}
2366 ac_cache_corrupted=:
2367 fi;;
2368 esac
2369 # Pass precious variables to config.status.
2370 if test "$ac_new_set" = set; then
2371 case $ac_new_val in
2372 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 *) ac_arg=$ac_var=$ac_new_val ;;
2374 esac
2375 case " $ac_configure_args " in
2376 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2377 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2378 esac
2379 fi
2380 done
2381 if $ac_cache_corrupted; then
2382 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2383 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2384 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2385 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413 ac_ext=c
2414 ac_cpp='$CPP $CPPFLAGS'
2415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2418
2419
2420
2421
2422
2423 ac_aux_dir=
2424 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2425 if test -f "$ac_dir/install-sh"; then
2426 ac_aux_dir=$ac_dir
2427 ac_install_sh="$ac_aux_dir/install-sh -c"
2428 break
2429 elif test -f "$ac_dir/install.sh"; then
2430 ac_aux_dir=$ac_dir
2431 ac_install_sh="$ac_aux_dir/install.sh -c"
2432 break
2433 elif test -f "$ac_dir/shtool"; then
2434 ac_aux_dir=$ac_dir
2435 ac_install_sh="$ac_aux_dir/shtool install -c"
2436 break
2437 fi
2438 done
2439 if test -z "$ac_aux_dir"; then
2440 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2441 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2442 { (exit 1); exit 1; }; }
2443 fi
2444
2445 # These three variables are undocumented and unsupported,
2446 # and are intended to be withdrawn in a future Autoconf release.
2447 # They can cause serious problems if a builder's source tree is in a directory
2448 # whose full name contains unusual characters.
2449 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2450 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2451 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2452
2453
2454 # Make sure we can run config.sub.
2455 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2456 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2457 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2458 { (exit 1); exit 1; }; }
2459
2460 { echo "$as_me:$LINENO: checking build system type" >&5
2461 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2462 if test "${ac_cv_build+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 else
2465 ac_build_alias=$build_alias
2466 test "x$ac_build_alias" = x &&
2467 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2468 test "x$ac_build_alias" = x &&
2469 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2470 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2471 { (exit 1); exit 1; }; }
2472 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2473 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2474 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2475 { (exit 1); exit 1; }; }
2476
2477 fi
2478 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2479 echo "${ECHO_T}$ac_cv_build" >&6; }
2480 case $ac_cv_build in
2481 *-*-*) ;;
2482 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2483 echo "$as_me: error: invalid value of canonical build" >&2;}
2484 { (exit 1); exit 1; }; };;
2485 esac
2486 build=$ac_cv_build
2487 ac_save_IFS=$IFS; IFS='-'
2488 set x $ac_cv_build
2489 shift
2490 build_cpu=$1
2491 build_vendor=$2
2492 shift; shift
2493 # Remember, the first character of IFS is used to create $*,
2494 # except with old shells:
2495 build_os=$*
2496 IFS=$ac_save_IFS
2497 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2498
2499
2500 { echo "$as_me:$LINENO: checking host system type" >&5
2501 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2502 if test "${ac_cv_host+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2504 else
2505 if test "x$host_alias" = x; then
2506 ac_cv_host=$ac_cv_build
2507 else
2508 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2510 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2511 { (exit 1); exit 1; }; }
2512 fi
2513
2514 fi
2515 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2516 echo "${ECHO_T}$ac_cv_host" >&6; }
2517 case $ac_cv_host in
2518 *-*-*) ;;
2519 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2520 echo "$as_me: error: invalid value of canonical host" >&2;}
2521 { (exit 1); exit 1; }; };;
2522 esac
2523 host=$ac_cv_host
2524 ac_save_IFS=$IFS; IFS='-'
2525 set x $ac_cv_host
2526 shift
2527 host_cpu=$1
2528 host_vendor=$2
2529 shift; shift
2530 # Remember, the first character of IFS is used to create $*,
2531 # except with old shells:
2532 host_os=$*
2533 IFS=$ac_save_IFS
2534 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2535
2536
2537
2538
2539
2540 wx_major_version_number=2
2541 wx_minor_version_number=9
2542 wx_release_number=0
2543 wx_subrelease_number=0
2544
2545 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2546 WX_VERSION=$WX_RELEASE.$wx_release_number
2547 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2548
2549 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2550
2551
2552 wx_top_builddir="`pwd`"
2553
2554
2555
2556
2557 USE_UNIX=1
2558 USE_OS2=0
2559 USE_WIN32=0
2560 USE_DOS=0
2561 USE_BEOS=0
2562 USE_MAC=0
2563
2564 USE_AIX=
2565 USE_BSD= USE_DARWIN= USE_FREEBSD=
2566 USE_GNU= USE_HPUX=
2567 USE_LINUX=
2568 USE_NETBSD=
2569 USE_OPENBSD=
2570 USE_OSF= USE_SGI=
2571 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2572 USE_ULTRIX=
2573 USE_UNIXWARE=
2574
2575 USE_ALPHA=
2576
2577 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2578
2579 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA MGL MICROWIN MOTIF MSW PM X11 DFB"
2580
2581 DEFAULT_wxUSE_COCOA=0
2582 DEFAULT_wxUSE_GTK=0
2583 DEFAULT_wxUSE_OSX_CARBON=0
2584 DEFAULT_wxUSE_OSX_COCOA=0
2585 DEFAULT_wxUSE_MGL=0
2586 DEFAULT_wxUSE_MICROWIN=0
2587 DEFAULT_wxUSE_MOTIF=0
2588 DEFAULT_wxUSE_MSW=0
2589 DEFAULT_wxUSE_PM=0
2590 DEFAULT_wxUSE_X11=0
2591 DEFAULT_wxUSE_DFB=0
2592
2593 DEFAULT_DEFAULT_wxUSE_COCOA=0
2594 DEFAULT_DEFAULT_wxUSE_GTK=0
2595 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2596 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2597 DEFAULT_DEFAULT_wxUSE_MGL=0
2598 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2599 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2600 DEFAULT_DEFAULT_wxUSE_MSW=0
2601 DEFAULT_DEFAULT_wxUSE_PM=0
2602 DEFAULT_DEFAULT_wxUSE_X11=0
2603 DEFAULT_DEFAULT_wxUSE_DFB=0
2604
2605 PROGRAM_EXT=
2606 SAMPLES_RPATH_FLAG=
2607 SAMPLES_RPATH_POSTLINK=
2608
2609 DEFAULT_STD_FLAG=yes
2610
2611 case "${host}" in
2612 *-hp-hpux* )
2613 USE_HPUX=1
2614 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2615 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2616 cat >>confdefs.h <<\_ACEOF
2617 #define __HPUX__ 1
2618 _ACEOF
2619
2620
2621 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2622 ;;
2623 *-*-linux* )
2624 USE_LINUX=1
2625 cat >>confdefs.h <<\_ACEOF
2626 #define __LINUX__ 1
2627 _ACEOF
2628
2629 TMP=`uname -m`
2630 if test "x$TMP" = "xalpha"; then
2631 USE_ALPHA=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __ALPHA__ 1
2634 _ACEOF
2635
2636 fi
2637 DEFAULT_DEFAULT_wxUSE_GTK=1
2638 ;;
2639 *-*-gnu* | *-*-k*bsd*-gnu )
2640 USE_GNU=1
2641 TMP=`uname -m`
2642 if test "x$TMP" = "xalpha"; then
2643 USE_ALPHA=1
2644 cat >>confdefs.h <<\_ACEOF
2645 #define __ALPHA__ 1
2646 _ACEOF
2647
2648 fi
2649 DEFAULT_DEFAULT_wxUSE_GTK=1
2650 ;;
2651 *-*-irix5* | *-*-irix6* )
2652 USE_SGI=1
2653 USE_SVR4=1
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __SGI__ 1
2656 _ACEOF
2657
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __SVR4__ 1
2660 _ACEOF
2661
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 ;;
2664 *-*-solaris2* )
2665 USE_SUN=1
2666 USE_SOLARIS=1
2667 USE_SVR4=1
2668 cat >>confdefs.h <<\_ACEOF
2669 #define __SUN__ 1
2670 _ACEOF
2671
2672 cat >>confdefs.h <<\_ACEOF
2673 #define __SOLARIS__ 1
2674 _ACEOF
2675
2676 cat >>confdefs.h <<\_ACEOF
2677 #define __SVR4__ 1
2678 _ACEOF
2679
2680 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2681 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2682 ;;
2683 *-*-sunos4* )
2684 USE_SUN=1
2685 USE_SUNOS=1
2686 USE_BSD=1
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __SUN__ 1
2689 _ACEOF
2690
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __SUNOS__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __BSD__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2700 ;;
2701 *-*-freebsd*)
2702 USE_BSD=1
2703 USE_FREEBSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __FREEBSD__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __BSD__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2713 ;;
2714 *-*-openbsd*|*-*-mirbsd*)
2715 USE_BSD=1
2716 USE_OPENBSD=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __OPENBSD__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 ;;
2727 *-*-netbsd*)
2728 USE_BSD=1
2729 USE_NETBSD=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __NETBSD__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __BSD__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2740
2741 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2742 ;;
2743 *-*-osf* )
2744 USE_ALPHA=1
2745 USE_OSF=1
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __ALPHA__ 1
2748 _ACEOF
2749
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __OSF__ 1
2752 _ACEOF
2753
2754 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2755 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2756 ;;
2757 *-*-dgux5* )
2758 USE_ALPHA=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __ALPHA__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-sysv5* )
2771 USE_SYSV=1
2772 USE_SVR4=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __SYSV__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __SVR4__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 ;;
2783 *-*-aix* )
2784 USE_AIX=1
2785 USE_SYSV=1
2786 USE_SVR4=1
2787 cat >>confdefs.h <<\_ACEOF
2788 #define __AIX__ 1
2789 _ACEOF
2790
2791 cat >>confdefs.h <<\_ACEOF
2792 #define __SYSV__ 1
2793 _ACEOF
2794
2795 cat >>confdefs.h <<\_ACEOF
2796 #define __SVR4__ 1
2797 _ACEOF
2798
2799 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2800 ;;
2801
2802 *-*-*UnixWare*)
2803 USE_SYSV=1
2804 USE_SVR4=1
2805 USE_UNIXWARE=1
2806 cat >>confdefs.h <<\_ACEOF
2807 #define __UNIXWARE__ 1
2808 _ACEOF
2809
2810 ;;
2811
2812 *-*-cygwin* | *-*-mingw32* )
2813 PROGRAM_EXT=".exe"
2814 DEFAULT_DEFAULT_wxUSE_MSW=1
2815 ;;
2816
2817 *-pc-msdosdjgpp )
2818 USE_UNIX=0
2819 USE_DOS=1
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __DOS__ 1
2822 _ACEOF
2823
2824 PROGRAM_EXT=".exe"
2825 DEFAULT_DEFAULT_wxUSE_MGL=1
2826 ;;
2827
2828 *-pc-os2_emx | *-pc-os2-emx )
2829 cat >>confdefs.h <<\_ACEOF
2830 #define __EMX__ 1
2831 _ACEOF
2832
2833 USE_OS2=1
2834 cat >>confdefs.h <<\_ACEOF
2835 #define __OS2__ 1
2836 _ACEOF
2837
2838 PROGRAM_EXT=".exe"
2839 DEFAULT_DEFAULT_wxUSE_PM=1
2840 CXX=gcc
2841 LDFLAGS="$LDFLAGS -Zcrtdll"
2842 ac_executable_extensions=".exe"
2843 export ac_executable_extensions
2844 ac_save_IFS="$IFS"
2845 IFS='\\'
2846 ac_TEMP_PATH=
2847 for ac_dir in $PATH; do
2848 IFS=$ac_save_IFS
2849 if test -z "$ac_TEMP_PATH"; then
2850 ac_TEMP_PATH="$ac_dir"
2851 else
2852 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2853 fi
2854 done
2855 export PATH="$ac_TEMP_PATH"
2856 unset ac_TEMP_PATH
2857 DEFAULT_STD_FLAG=no
2858 ;;
2859
2860 *-*-darwin* )
2861 USE_BSD=1
2862 USE_DARWIN=1
2863 cat >>confdefs.h <<\_ACEOF
2864 #define __BSD__ 1
2865 _ACEOF
2866
2867 cat >>confdefs.h <<\_ACEOF
2868 #define __DARWIN__ 1
2869 _ACEOF
2870
2871 cat >>confdefs.h <<\_ACEOF
2872 #define TARGET_CARBON 1
2873 _ACEOF
2874
2875 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2876 DEFAULT_STD_FLAG=no
2877 ;;
2878 powerpc-apple-macos* )
2879 USE_UNIX=0
2880 ac_cv_c_bigendian=yes
2881 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
2882 DEFAULT_STD_FLAG=no
2883 ;;
2884
2885 *-*-beos* )
2886 USE_BEOS=1
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __BEOS__ 1
2889 _ACEOF
2890
2891 ;;
2892
2893 *)
2894 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2895 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2896 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2897 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2898
2899 DEFAULT_DEFAULT_wxUSE_X11=1
2900 DEFAULT_wxUSE_SHARED=no
2901 esac
2902
2903
2904
2905 DEFAULT_wxUSE_ALL_FEATURES=yes
2906
2907 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2908 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2909
2910 DEFAULT_wxUSE_DMALLOC=no
2911 DEFAULT_wxUSE_LIBGNOMEVFS=no
2912 DEFAULT_wxUSE_LIBHILDON=no
2913 DEFAULT_wxUSE_LIBMSPACK=no
2914 DEFAULT_wxUSE_LIBSDL=no
2915
2916 DEFAULT_wxUSE_ACCESSIBILITY=no
2917 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2918 DEFAULT_wxUSE_IPV6=no
2919 DEFAULT_wxUSE_GSTREAMER8=no
2920
2921 DEFAULT_wxUSE_UNICODE_UTF8=auto
2922 DEFAULT_wxUSE_OPENGL=auto
2923 DEFAULT_wxUSE_MEDIACTRL=auto
2924
2925 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2926
2927 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2928
2929 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2930
2931 DEFAULT_wxUSE_GTK2=yes
2932
2933 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2934
2935
2936
2937
2938
2939 enablestring=disable
2940 defaultval=
2941 if test -z "$defaultval"; then
2942 if test x"$enablestring" = xdisable; then
2943 defaultval=yes
2944 else
2945 defaultval=no
2946 fi
2947 fi
2948
2949 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2950 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2951 # Check whether --enable-gui was given.
2952 if test "${enable_gui+set}" = set; then
2953 enableval=$enable_gui;
2954 if test "$enableval" = yes; then
2955 wx_cv_use_gui='wxUSE_GUI=yes'
2956 else
2957 wx_cv_use_gui='wxUSE_GUI=no'
2958 fi
2959
2960 else
2961
2962 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2963
2964 fi
2965
2966
2967 eval "$wx_cv_use_gui"
2968
2969 if test x"$enablestring" = xdisable; then
2970 if test $wxUSE_GUI = yes; then
2971 result=no
2972 else
2973 result=yes
2974 fi
2975 else
2976 result=$wxUSE_GUI
2977 fi
2978
2979 { echo "$as_me:$LINENO: result: $result" >&5
2980 echo "${ECHO_T}$result" >&6; }
2981
2982
2983 enablestring=
2984 defaultval=
2985 if test -z "$defaultval"; then
2986 if test x"$enablestring" = xdisable; then
2987 defaultval=yes
2988 else
2989 defaultval=no
2990 fi
2991 fi
2992
2993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2994 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
2995 # Check whether --enable-monolithic was given.
2996 if test "${enable_monolithic+set}" = set; then
2997 enableval=$enable_monolithic;
2998 if test "$enableval" = yes; then
2999 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3000 else
3001 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3002 fi
3003
3004 else
3005
3006 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3007
3008 fi
3009
3010
3011 eval "$wx_cv_use_monolithic"
3012
3013 if test x"$enablestring" = xdisable; then
3014 if test $wxUSE_MONOLITHIC = yes; then
3015 result=no
3016 else
3017 result=yes
3018 fi
3019 else
3020 result=$wxUSE_MONOLITHIC
3021 fi
3022
3023 { echo "$as_me:$LINENO: result: $result" >&5
3024 echo "${ECHO_T}$result" >&6; }
3025
3026
3027 enablestring=
3028 defaultval=
3029 if test -z "$defaultval"; then
3030 if test x"$enablestring" = xdisable; then
3031 defaultval=yes
3032 else
3033 defaultval=no
3034 fi
3035 fi
3036
3037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3038 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3039 # Check whether --enable-plugins was given.
3040 if test "${enable_plugins+set}" = set; then
3041 enableval=$enable_plugins;
3042 if test "$enableval" = yes; then
3043 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3044 else
3045 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3046 fi
3047
3048 else
3049
3050 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3051
3052 fi
3053
3054
3055 eval "$wx_cv_use_plugins"
3056
3057 if test x"$enablestring" = xdisable; then
3058 if test $wxUSE_PLUGINS = yes; then
3059 result=no
3060 else
3061 result=yes
3062 fi
3063 else
3064 result=$wxUSE_PLUGINS
3065 fi
3066
3067 { echo "$as_me:$LINENO: result: $result" >&5
3068 echo "${ECHO_T}$result" >&6; }
3069
3070
3071 withstring=without
3072 defaultval=$wxUSE_ALL_FEATURES
3073 if test -z "$defaultval"; then
3074 if test x"$withstring" = xwithout; then
3075 defaultval=yes
3076 else
3077 defaultval=no
3078 fi
3079 fi
3080 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3081 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3082
3083 # Check whether --with-subdirs was given.
3084 if test "${with_subdirs+set}" = set; then
3085 withval=$with_subdirs;
3086 if test "$withval" = yes; then
3087 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3088 else
3089 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3090 fi
3091
3092 else
3093
3094 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3095
3096 fi
3097
3098
3099 eval "$wx_cv_use_subdirs"
3100
3101 if test x"$withstring" = xwithout; then
3102 if test $wxWITH_SUBDIRS = yes; then
3103 result=no
3104 else
3105 result=yes
3106 fi
3107 else
3108 result=$wxWITH_SUBDIRS
3109 fi
3110
3111 { echo "$as_me:$LINENO: result: $result" >&5
3112 echo "${ECHO_T}$result" >&6; }
3113
3114
3115 # Check whether --with-flavour was given.
3116 if test "${with_flavour+set}" = set; then
3117 withval=$with_flavour; WX_FLAVOUR="$withval"
3118 fi
3119
3120
3121 enablestring=
3122 defaultval=
3123 if test -z "$defaultval"; then
3124 if test x"$enablestring" = xdisable; then
3125 defaultval=yes
3126 else
3127 defaultval=no
3128 fi
3129 fi
3130
3131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3132 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3133 # Check whether --enable-official_build was given.
3134 if test "${enable_official_build+set}" = set; then
3135 enableval=$enable_official_build;
3136 if test "$enableval" = yes; then
3137 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3138 else
3139 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3140 fi
3141
3142 else
3143
3144 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3145
3146 fi
3147
3148
3149 eval "$wx_cv_use_official_build"
3150
3151 if test x"$enablestring" = xdisable; then
3152 if test $wxUSE_OFFICIAL_BUILD = yes; then
3153 result=no
3154 else
3155 result=yes
3156 fi
3157 else
3158 result=$wxUSE_OFFICIAL_BUILD
3159 fi
3160
3161 { echo "$as_me:$LINENO: result: $result" >&5
3162 echo "${ECHO_T}$result" >&6; }
3163
3164 # Check whether --enable-vendor was given.
3165 if test "${enable_vendor+set}" = set; then
3166 enableval=$enable_vendor; VENDOR="$enableval"
3167 fi
3168
3169 if test "x$VENDOR" = "x"; then
3170 VENDOR="custom"
3171 fi
3172
3173
3174 enablestring=disable
3175 defaultval=
3176 if test -z "$defaultval"; then
3177 if test x"$enablestring" = xdisable; then
3178 defaultval=yes
3179 else
3180 defaultval=no
3181 fi
3182 fi
3183
3184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3185 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3186 # Check whether --enable-all-features was given.
3187 if test "${enable_all_features+set}" = set; then
3188 enableval=$enable_all_features;
3189 if test "$enableval" = yes; then
3190 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3191 else
3192 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3193 fi
3194
3195 else
3196
3197 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3198
3199 fi
3200
3201
3202 eval "$wx_cv_use_all_features"
3203
3204 if test x"$enablestring" = xdisable; then
3205 if test $wxUSE_ALL_FEATURES = yes; then
3206 result=no
3207 else
3208 result=yes
3209 fi
3210 else
3211 result=$wxUSE_ALL_FEATURES
3212 fi
3213
3214 { echo "$as_me:$LINENO: result: $result" >&5
3215 echo "${ECHO_T}$result" >&6; }
3216
3217
3218
3219 if test "$wxUSE_GUI" = "yes"; then
3220
3221
3222 enablestring=
3223 defaultval=
3224 if test -z "$defaultval"; then
3225 if test x"$enablestring" = xdisable; then
3226 defaultval=yes
3227 else
3228 defaultval=no
3229 fi
3230 fi
3231
3232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3233 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3234 # Check whether --enable-universal was given.
3235 if test "${enable_universal+set}" = set; then
3236 enableval=$enable_universal;
3237 if test "$enableval" = yes; then
3238 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3239 else
3240 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3241 fi
3242
3243 else
3244
3245 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3246
3247 fi
3248
3249
3250 eval "$wx_cv_use_universal"
3251
3252 if test x"$enablestring" = xdisable; then
3253 if test $wxUSE_UNIVERSAL = yes; then
3254 result=no
3255 else
3256 result=yes
3257 fi
3258 else
3259 result=$wxUSE_UNIVERSAL
3260 fi
3261
3262 { echo "$as_me:$LINENO: result: $result" >&5
3263 echo "${ECHO_T}$result" >&6; }
3264
3265 if test "$wxUSE_UNIVERSAL" = "yes"; then
3266
3267 # Check whether --with-themes was given.
3268 if test "${with_themes+set}" = set; then
3269 withval=$with_themes; wxUNIV_THEMES="$withval"
3270 fi
3271
3272 fi
3273
3274
3275 # Check whether --with-gtk was given.
3276 if test "${with_gtk+set}" = set; then
3277 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3278 fi
3279
3280
3281 # Check whether --with-motif was given.
3282 if test "${with_motif+set}" = set; then
3283 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3284 fi
3285
3286
3287 # Check whether --with-osx_carbon was given.
3288 if test "${with_osx_carbon+set}" = set; then
3289 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3290 fi
3291
3292
3293 # Check whether --with-osx_cocoa was given.
3294 if test "${with_osx_cocoa+set}" = set; then
3295 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3296 fi
3297
3298
3299 # Check whether --with-mac was given.
3300 if test "${with_mac+set}" = set; then
3301 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3302 fi
3303
3304
3305 # Check whether --with-cocoa was given.
3306 if test "${with_cocoa+set}" = set; then
3307 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3308 fi
3309
3310
3311 # Check whether --with-wine was given.
3312 if test "${with_wine+set}" = set; then
3313 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3314 fi
3315
3316
3317 # Check whether --with-msw was given.
3318 if test "${with_msw+set}" = set; then
3319 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3320 fi
3321
3322
3323 # Check whether --with-pm was given.
3324 if test "${with_pm+set}" = set; then
3325 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3326 fi
3327
3328
3329 # Check whether --with-mgl was given.
3330 if test "${with_mgl+set}" = set; then
3331 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3332 fi
3333
3334
3335 # Check whether --with-directfb was given.
3336 if test "${with_directfb+set}" = set; then
3337 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3338 fi
3339
3340
3341 # Check whether --with-microwin was given.
3342 if test "${with_microwin+set}" = set; then
3343 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3344 fi
3345
3346
3347 # Check whether --with-x11 was given.
3348 if test "${with_x11+set}" = set; then
3349 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3350 fi
3351
3352
3353 enablestring=
3354 defaultval=
3355 if test -z "$defaultval"; then
3356 if test x"$enablestring" = xdisable; then
3357 defaultval=yes
3358 else
3359 defaultval=no
3360 fi
3361 fi
3362
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3365 # Check whether --enable-nanox was given.
3366 if test "${enable_nanox+set}" = set; then
3367 enableval=$enable_nanox;
3368 if test "$enableval" = yes; then
3369 wx_cv_use_nanox='wxUSE_NANOX=yes'
3370 else
3371 wx_cv_use_nanox='wxUSE_NANOX=no'
3372 fi
3373
3374 else
3375
3376 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3377
3378 fi
3379
3380
3381 eval "$wx_cv_use_nanox"
3382
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_NANOX = yes; then
3385 result=no
3386 else
3387 result=yes
3388 fi
3389 else
3390 result=$wxUSE_NANOX
3391 fi
3392
3393 { echo "$as_me:$LINENO: result: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3395
3396
3397 # Check whether --enable-gtk2 was given.
3398 if test "${enable_gtk2+set}" = set; then
3399 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3400 fi
3401
3402
3403 enablestring=
3404 defaultval=
3405 if test -z "$defaultval"; then
3406 if test x"$enablestring" = xdisable; then
3407 defaultval=yes
3408 else
3409 defaultval=no
3410 fi
3411 fi
3412
3413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3414 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3415 # Check whether --enable-gpe was given.
3416 if test "${enable_gpe+set}" = set; then
3417 enableval=$enable_gpe;
3418 if test "$enableval" = yes; then
3419 wx_cv_use_gpe='wxUSE_GPE=yes'
3420 else
3421 wx_cv_use_gpe='wxUSE_GPE=no'
3422 fi
3423
3424 else
3425
3426 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3427
3428 fi
3429
3430
3431 eval "$wx_cv_use_gpe"
3432
3433 if test x"$enablestring" = xdisable; then
3434 if test $wxUSE_GPE = yes; then
3435 result=no
3436 else
3437 result=yes
3438 fi
3439 else
3440 result=$wxUSE_GPE
3441 fi
3442
3443 { echo "$as_me:$LINENO: result: $result" >&5
3444 echo "${ECHO_T}$result" >&6; }
3445
3446
3447
3448 { echo "$as_me:$LINENO: checking for toolkit" >&5
3449 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3450
3451
3452
3453 # In Wine, we need to default to MSW, not GTK or MOTIF
3454 if test "$wxUSE_WINE" = "yes"; then
3455 DEFAULT_DEFAULT_wxUSE_GTK=0
3456 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3457 DEFAULT_DEFAULT_wxUSE_MSW=1
3458 wxUSE_SHARED=no
3459 CC=${CC:-winegcc}
3460 CXX=${CXX:-wineg++}
3461 fi
3462
3463
3464 if test "$wxUSE_GUI" = "yes"; then
3465
3466 if test "$USE_BEOS" = 1; then
3467 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3468 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3469 { (exit 1); exit 1; }; }
3470 fi
3471
3472 if test "$TOOLKIT_GIVEN" = 1; then
3473 for toolkit in $ALL_TOOLKITS; do
3474 var=wxUSE_$toolkit
3475 eval "value=\$${var}"
3476 if test "x$value" = "xno"; then
3477 eval "$var=0"
3478 elif test "x$value" != "x"; then
3479 eval "$var=1"
3480 fi
3481
3482 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3483 eval "wx${toolkit}_VERSION=$value"
3484 fi
3485 done
3486 else
3487 for toolkit in $ALL_TOOLKITS; do
3488 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3489 eval "wxUSE_$toolkit=\$${var}"
3490 done
3491 fi
3492
3493 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3494 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3495 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3496
3497 case "${host}" in
3498 *-pc-os2_emx | *-pc-os2-emx )
3499 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3500 esac
3501
3502 case "$NUM_TOOLKITS" in
3503 1)
3504 ;;
3505 0)
3506 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3507 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3508 { (exit 1); exit 1; }; }
3509 ;;
3510 *)
3511 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3512 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3513 { (exit 1); exit 1; }; }
3514 esac
3515
3516 # to be removed when --disable-gtk2 isn't needed
3517 if test "x$wxUSE_GTK2" = "xyes"; then
3518 wxGTK_VERSION=2
3519 elif test "x$wxUSE_GTK2" = "xno"; then
3520 wxGTK_VERSION=1
3521 fi
3522
3523 for toolkit in $ALL_TOOLKITS; do
3524 var=wxUSE_$toolkit
3525 eval "value=\$${var}"
3526 if test "$value" = 1; then
3527 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3528 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3529 echo "${ECHO_T}$toolkit_echo" >&6; }
3530 fi
3531 done
3532 else
3533 if test "x$host_alias" != "x"; then
3534 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3535 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3536 else
3537 { echo "$as_me:$LINENO: result: base only" >&5
3538 echo "${ECHO_T}base only" >&6; }
3539 fi
3540 fi
3541
3542 wxUSE_MAC=0
3543 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1; then
3544 wxUSE_MAC=1
3545 fi
3546
3547
3548
3549 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3550 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3551
3552 # Check whether --with-libpng was given.
3553 if test "${with_libpng+set}" = set; then
3554 withval=$with_libpng;
3555 if test "$withval" = yes; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3557 elif test "$withval" = no; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3559 elif test "$withval" = sys; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3561 elif test "$withval" = builtin; then
3562 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3563 else
3564 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3565 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3566 { (exit 1); exit 1; }; }
3567 fi
3568
3569 else
3570
3571 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3572
3573 fi
3574
3575
3576 eval "$wx_cv_use_libpng"
3577
3578 if test "$wxUSE_LIBPNG" = yes; then
3579 { echo "$as_me:$LINENO: result: yes" >&5
3580 echo "${ECHO_T}yes" >&6; }
3581 elif test "$wxUSE_LIBPNG" = no; then
3582 { echo "$as_me:$LINENO: result: no" >&5
3583 echo "${ECHO_T}no" >&6; }
3584 elif test "$wxUSE_LIBPNG" = sys; then
3585 { echo "$as_me:$LINENO: result: system version" >&5
3586 echo "${ECHO_T}system version" >&6; }
3587 elif test "$wxUSE_LIBPNG" = builtin; then
3588 { echo "$as_me:$LINENO: result: builtin version" >&5
3589 echo "${ECHO_T}builtin version" >&6; }
3590 else
3591 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3592 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3593 { (exit 1); exit 1; }; }
3594 fi
3595
3596
3597 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3598 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3599
3600 # Check whether --with-libjpeg was given.
3601 if test "${with_libjpeg+set}" = set; then
3602 withval=$with_libjpeg;
3603 if test "$withval" = yes; then
3604 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3605 elif test "$withval" = no; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3607 elif test "$withval" = sys; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3609 elif test "$withval" = builtin; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3611 else
3612 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3613 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3614 { (exit 1); exit 1; }; }
3615 fi
3616
3617 else
3618
3619 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3620
3621 fi
3622
3623
3624 eval "$wx_cv_use_libjpeg"
3625
3626 if test "$wxUSE_LIBJPEG" = yes; then
3627 { echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6; }
3629 elif test "$wxUSE_LIBJPEG" = no; then
3630 { echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6; }
3632 elif test "$wxUSE_LIBJPEG" = sys; then
3633 { echo "$as_me:$LINENO: result: system version" >&5
3634 echo "${ECHO_T}system version" >&6; }
3635 elif test "$wxUSE_LIBJPEG" = builtin; then
3636 { echo "$as_me:$LINENO: result: builtin version" >&5
3637 echo "${ECHO_T}builtin version" >&6; }
3638 else
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3642 fi
3643
3644
3645 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3646 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3647
3648 # Check whether --with-libtiff was given.
3649 if test "${with_libtiff+set}" = set; then
3650 withval=$with_libtiff;
3651 if test "$withval" = yes; then
3652 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3653 elif test "$withval" = no; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3655 elif test "$withval" = sys; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3657 elif test "$withval" = builtin; then
3658 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3659 else
3660 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3661 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3662 { (exit 1); exit 1; }; }
3663 fi
3664
3665 else
3666
3667 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3668
3669 fi
3670
3671
3672 eval "$wx_cv_use_libtiff"
3673
3674 if test "$wxUSE_LIBTIFF" = yes; then
3675 { echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6; }
3677 elif test "$wxUSE_LIBTIFF" = no; then
3678 { echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6; }
3680 elif test "$wxUSE_LIBTIFF" = sys; then
3681 { echo "$as_me:$LINENO: result: system version" >&5
3682 echo "${ECHO_T}system version" >&6; }
3683 elif test "$wxUSE_LIBTIFF" = builtin; then
3684 { echo "$as_me:$LINENO: result: builtin version" >&5
3685 echo "${ECHO_T}builtin version" >&6; }
3686 else
3687 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3688 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3689 { (exit 1); exit 1; }; }
3690 fi
3691
3692
3693 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3694 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3695
3696 # Check whether --with-libxpm was given.
3697 if test "${with_libxpm+set}" = set; then
3698 withval=$with_libxpm;
3699 if test "$withval" = yes; then
3700 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3701 elif test "$withval" = no; then
3702 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3703 elif test "$withval" = sys; then
3704 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3705 elif test "$withval" = builtin; then
3706 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3707 else
3708 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3709 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3710 { (exit 1); exit 1; }; }
3711 fi
3712
3713 else
3714
3715 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3716
3717 fi
3718
3719
3720 eval "$wx_cv_use_libxpm"
3721
3722 if test "$wxUSE_LIBXPM" = yes; then
3723 { echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6; }
3725 elif test "$wxUSE_LIBXPM" = no; then
3726 { echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6; }
3728 elif test "$wxUSE_LIBXPM" = sys; then
3729 { echo "$as_me:$LINENO: result: system version" >&5
3730 echo "${ECHO_T}system version" >&6; }
3731 elif test "$wxUSE_LIBXPM" = builtin; then
3732 { echo "$as_me:$LINENO: result: builtin version" >&5
3733 echo "${ECHO_T}builtin version" >&6; }
3734 else
3735 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3736 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3737 { (exit 1); exit 1; }; }
3738 fi
3739
3740
3741 withstring=
3742 defaultval=$wxUSE_ALL_FEATURES
3743 if test -z "$defaultval"; then
3744 if test x"$withstring" = xwithout; then
3745 defaultval=yes
3746 else
3747 defaultval=no
3748 fi
3749 fi
3750 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3751 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3752
3753 # Check whether --with-libiconv was given.
3754 if test "${with_libiconv+set}" = set; then
3755 withval=$with_libiconv;
3756 if test "$withval" = yes; then
3757 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3758 else
3759 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3760 fi
3761
3762 else
3763
3764 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3765
3766 fi
3767
3768
3769 eval "$wx_cv_use_libiconv"
3770
3771 if test x"$withstring" = xwithout; then
3772 if test $wxUSE_LIBICONV = yes; then
3773 result=no
3774 else
3775 result=yes
3776 fi
3777 else
3778 result=$wxUSE_LIBICONV
3779 fi
3780
3781 { echo "$as_me:$LINENO: result: $result" >&5
3782 echo "${ECHO_T}$result" >&6; }
3783
3784
3785 withstring=
3786 defaultval=$wxUSE_ALL_FEATURES
3787 if test -z "$defaultval"; then
3788 if test x"$withstring" = xwithout; then
3789 defaultval=yes
3790 else
3791 defaultval=no
3792 fi
3793 fi
3794 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3795 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3796
3797 # Check whether --with-libmspack was given.
3798 if test "${with_libmspack+set}" = set; then
3799 withval=$with_libmspack;
3800 if test "$withval" = yes; then
3801 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3802 else
3803 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3804 fi
3805
3806 else
3807
3808 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3809
3810 fi
3811
3812
3813 eval "$wx_cv_use_libmspack"
3814
3815 if test x"$withstring" = xwithout; then
3816 if test $wxUSE_LIBMSPACK = yes; then
3817 result=no
3818 else
3819 result=yes
3820 fi
3821 else
3822 result=$wxUSE_LIBMSPACK
3823 fi
3824
3825 { echo "$as_me:$LINENO: result: $result" >&5
3826 echo "${ECHO_T}$result" >&6; }
3827
3828
3829 withstring=without
3830 defaultval=$wxUSE_ALL_FEATURES
3831 if test -z "$defaultval"; then
3832 if test x"$withstring" = xwithout; then
3833 defaultval=yes
3834 else
3835 defaultval=no
3836 fi
3837 fi
3838 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3839 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3840
3841 # Check whether --with-gtkprint was given.
3842 if test "${with_gtkprint+set}" = set; then
3843 withval=$with_gtkprint;
3844 if test "$withval" = yes; then
3845 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3846 else
3847 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3848 fi
3849
3850 else
3851
3852 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3853
3854 fi
3855
3856
3857 eval "$wx_cv_use_gtkprint"
3858
3859 if test x"$withstring" = xwithout; then
3860 if test $wxUSE_GTKPRINT = yes; then
3861 result=no
3862 else
3863 result=yes
3864 fi
3865 else
3866 result=$wxUSE_GTKPRINT
3867 fi
3868
3869 { echo "$as_me:$LINENO: result: $result" >&5
3870 echo "${ECHO_T}$result" >&6; }
3871
3872
3873 withstring=without
3874 defaultval=$wxUSE_ALL_FEATURES
3875 if test -z "$defaultval"; then
3876 if test x"$withstring" = xwithout; then
3877 defaultval=yes
3878 else
3879 defaultval=no
3880 fi
3881 fi
3882 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3883 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3884
3885 # Check whether --with-gnomeprint was given.
3886 if test "${with_gnomeprint+set}" = set; then
3887 withval=$with_gnomeprint;
3888 if test "$withval" = yes; then
3889 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3890 else
3891 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3892 fi
3893
3894 else
3895
3896 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3897
3898 fi
3899
3900
3901 eval "$wx_cv_use_gnomeprint"
3902
3903 if test x"$withstring" = xwithout; then
3904 if test $wxUSE_LIBGNOMEPRINT = yes; then
3905 result=no
3906 else
3907 result=yes
3908 fi
3909 else
3910 result=$wxUSE_LIBGNOMEPRINT
3911 fi
3912
3913 { echo "$as_me:$LINENO: result: $result" >&5
3914 echo "${ECHO_T}$result" >&6; }
3915
3916
3917 withstring=
3918 defaultval=$wxUSE_ALL_FEATURES
3919 if test -z "$defaultval"; then
3920 if test x"$withstring" = xwithout; then
3921 defaultval=yes
3922 else
3923 defaultval=no
3924 fi
3925 fi
3926 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3927 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3928
3929 # Check whether --with-gnomevfs was given.
3930 if test "${with_gnomevfs+set}" = set; then
3931 withval=$with_gnomevfs;
3932 if test "$withval" = yes; then
3933 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3934 else
3935 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3936 fi
3937
3938 else
3939
3940 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3941
3942 fi
3943
3944
3945 eval "$wx_cv_use_gnomevfs"
3946
3947 if test x"$withstring" = xwithout; then
3948 if test $wxUSE_LIBGNOMEVFS = yes; then
3949 result=no
3950 else
3951 result=yes
3952 fi
3953 else
3954 result=$wxUSE_LIBGNOMEVFS
3955 fi
3956
3957 { echo "$as_me:$LINENO: result: $result" >&5
3958 echo "${ECHO_T}$result" >&6; }
3959
3960
3961 withstring=
3962 defaultval=$wxUSE_ALL_FEATURES
3963 if test -z "$defaultval"; then
3964 if test x"$withstring" = xwithout; then
3965 defaultval=yes
3966 else
3967 defaultval=no
3968 fi
3969 fi
3970 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3971 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3972
3973 # Check whether --with-hildon was given.
3974 if test "${with_hildon+set}" = set; then
3975 withval=$with_hildon;
3976 if test "$withval" = yes; then
3977 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3978 else
3979 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3980 fi
3981
3982 else
3983
3984 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3985
3986 fi
3987
3988
3989 eval "$wx_cv_use_hildon"
3990
3991 if test x"$withstring" = xwithout; then
3992 if test $wxUSE_LIBHILDON = yes; then
3993 result=no
3994 else
3995 result=yes
3996 fi
3997 else
3998 result=$wxUSE_LIBHILDON
3999 fi
4000
4001 { echo "$as_me:$LINENO: result: $result" >&5
4002 echo "${ECHO_T}$result" >&6; }
4003
4004
4005 withstring=
4006 defaultval=$wxUSE_ALL_FEATURES
4007 if test -z "$defaultval"; then
4008 if test x"$withstring" = xwithout; then
4009 defaultval=yes
4010 else
4011 defaultval=no
4012 fi
4013 fi
4014 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4015 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4016
4017 # Check whether --with-opengl was given.
4018 if test "${with_opengl+set}" = set; then
4019 withval=$with_opengl;
4020 if test "$withval" = yes; then
4021 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4022 else
4023 wx_cv_use_opengl='wxUSE_OPENGL=no'
4024 fi
4025
4026 else
4027
4028 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4029
4030 fi
4031
4032
4033 eval "$wx_cv_use_opengl"
4034
4035 if test x"$withstring" = xwithout; then
4036 if test $wxUSE_OPENGL = yes; then
4037 result=no
4038 else
4039 result=yes
4040 fi
4041 else
4042 result=$wxUSE_OPENGL
4043 fi
4044
4045 { echo "$as_me:$LINENO: result: $result" >&5
4046 echo "${ECHO_T}$result" >&6; }
4047
4048
4049 fi
4050
4051
4052 withstring=
4053 defaultval=$wxUSE_ALL_FEATURES
4054 if test -z "$defaultval"; then
4055 if test x"$withstring" = xwithout; then
4056 defaultval=yes
4057 else
4058 defaultval=no
4059 fi
4060 fi
4061 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4062 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4063
4064 # Check whether --with-dmalloc was given.
4065 if test "${with_dmalloc+set}" = set; then
4066 withval=$with_dmalloc;
4067 if test "$withval" = yes; then
4068 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4069 else
4070 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4071 fi
4072
4073 else
4074
4075 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4076
4077 fi
4078
4079
4080 eval "$wx_cv_use_dmalloc"
4081
4082 if test x"$withstring" = xwithout; then
4083 if test $wxUSE_DMALLOC = yes; then
4084 result=no
4085 else
4086 result=yes
4087 fi
4088 else
4089 result=$wxUSE_DMALLOC
4090 fi
4091
4092 { echo "$as_me:$LINENO: result: $result" >&5
4093 echo "${ECHO_T}$result" >&6; }
4094
4095
4096 withstring=
4097 defaultval=$wxUSE_ALL_FEATURES
4098 if test -z "$defaultval"; then
4099 if test x"$withstring" = xwithout; then
4100 defaultval=yes
4101 else
4102 defaultval=no
4103 fi
4104 fi
4105 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4106 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4107
4108 # Check whether --with-sdl was given.
4109 if test "${with_sdl+set}" = set; then
4110 withval=$with_sdl;
4111 if test "$withval" = yes; then
4112 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4113 else
4114 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4115 fi
4116
4117 else
4118
4119 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4120
4121 fi
4122
4123
4124 eval "$wx_cv_use_sdl"
4125
4126 if test x"$withstring" = xwithout; then
4127 if test $wxUSE_LIBSDL = yes; then
4128 result=no
4129 else
4130 result=yes
4131 fi
4132 else
4133 result=$wxUSE_LIBSDL
4134 fi
4135
4136 { echo "$as_me:$LINENO: result: $result" >&5
4137 echo "${ECHO_T}$result" >&6; }
4138
4139
4140 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4141 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4142
4143 # Check whether --with-regex was given.
4144 if test "${with_regex+set}" = set; then
4145 withval=$with_regex;
4146 if test "$withval" = yes; then
4147 wx_cv_use_regex='wxUSE_REGEX=yes'
4148 elif test "$withval" = no; then
4149 wx_cv_use_regex='wxUSE_REGEX=no'
4150 elif test "$withval" = sys; then
4151 wx_cv_use_regex='wxUSE_REGEX=sys'
4152 elif test "$withval" = builtin; then
4153 wx_cv_use_regex='wxUSE_REGEX=builtin'
4154 else
4155 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4156 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4157 { (exit 1); exit 1; }; }
4158 fi
4159
4160 else
4161
4162 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4163
4164 fi
4165
4166
4167 eval "$wx_cv_use_regex"
4168
4169 if test "$wxUSE_REGEX" = yes; then
4170 { echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4172 elif test "$wxUSE_REGEX" = no; then
4173 { echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6; }
4175 elif test "$wxUSE_REGEX" = sys; then
4176 { echo "$as_me:$LINENO: result: system version" >&5
4177 echo "${ECHO_T}system version" >&6; }
4178 elif test "$wxUSE_REGEX" = builtin; then
4179 { echo "$as_me:$LINENO: result: builtin version" >&5
4180 echo "${ECHO_T}builtin version" >&6; }
4181 else
4182 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4183 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4184 { (exit 1); exit 1; }; }
4185 fi
4186
4187
4188 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4189 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4190
4191 # Check whether --with-zlib was given.
4192 if test "${with_zlib+set}" = set; then
4193 withval=$with_zlib;
4194 if test "$withval" = yes; then
4195 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4196 elif test "$withval" = no; then
4197 wx_cv_use_zlib='wxUSE_ZLIB=no'
4198 elif test "$withval" = sys; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4200 elif test "$withval" = builtin; then
4201 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4202 else
4203 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4204 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4205 { (exit 1); exit 1; }; }
4206 fi
4207
4208 else
4209
4210 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4211
4212 fi
4213
4214
4215 eval "$wx_cv_use_zlib"
4216
4217 if test "$wxUSE_ZLIB" = yes; then
4218 { echo "$as_me:$LINENO: result: yes" >&5
4219 echo "${ECHO_T}yes" >&6; }
4220 elif test "$wxUSE_ZLIB" = no; then
4221 { echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6; }
4223 elif test "$wxUSE_ZLIB" = sys; then
4224 { echo "$as_me:$LINENO: result: system version" >&5
4225 echo "${ECHO_T}system version" >&6; }
4226 elif test "$wxUSE_ZLIB" = builtin; then
4227 { echo "$as_me:$LINENO: result: builtin version" >&5
4228 echo "${ECHO_T}builtin version" >&6; }
4229 else
4230 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4231 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4232 { (exit 1); exit 1; }; }
4233 fi
4234
4235
4236 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4237 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4238
4239 # Check whether --with-expat was given.
4240 if test "${with_expat+set}" = set; then
4241 withval=$with_expat;
4242 if test "$withval" = yes; then
4243 wx_cv_use_expat='wxUSE_EXPAT=yes'
4244 elif test "$withval" = no; then
4245 wx_cv_use_expat='wxUSE_EXPAT=no'
4246 elif test "$withval" = sys; then
4247 wx_cv_use_expat='wxUSE_EXPAT=sys'
4248 elif test "$withval" = builtin; then
4249 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4250 else
4251 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4252 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4253 { (exit 1); exit 1; }; }
4254 fi
4255
4256 else
4257
4258 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4259
4260 fi
4261
4262
4263 eval "$wx_cv_use_expat"
4264
4265 if test "$wxUSE_EXPAT" = yes; then
4266 { echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6; }
4268 elif test "$wxUSE_EXPAT" = no; then
4269 { echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6; }
4271 elif test "$wxUSE_EXPAT" = sys; then
4272 { echo "$as_me:$LINENO: result: system version" >&5
4273 echo "${ECHO_T}system version" >&6; }
4274 elif test "$wxUSE_EXPAT" = builtin; then
4275 { echo "$as_me:$LINENO: result: builtin version" >&5
4276 echo "${ECHO_T}builtin version" >&6; }
4277 else
4278 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4279 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4280 { (exit 1); exit 1; }; }
4281 fi
4282
4283
4284 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4285 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4286
4287 # Check whether --with-macosx-sdk was given.
4288 if test "${with_macosx_sdk+set}" = set; then
4289 withval=$with_macosx_sdk;
4290 wxUSE_MACOSX_SDK=$withval
4291 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4292
4293 fi
4294
4295 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4296 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4297
4298 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4299 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4300
4301 # Check whether --with-macosx-version-min was given.
4302 if test "${with_macosx_version_min+set}" = set; then
4303 withval=$with_macosx_version_min;
4304 wxUSE_MACOSX_VERSION_MIN=$withval
4305 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4306
4307 fi
4308
4309 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4310 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4311
4312
4313
4314 enablestring=disable
4315 defaultval=
4316 if test -z "$defaultval"; then
4317 if test x"$enablestring" = xdisable; then
4318 defaultval=yes
4319 else
4320 defaultval=no
4321 fi
4322 fi
4323
4324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4325 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4326 # Check whether --enable-shared was given.
4327 if test "${enable_shared+set}" = set; then
4328 enableval=$enable_shared;
4329 if test "$enableval" = yes; then
4330 wx_cv_use_shared='wxUSE_SHARED=yes'
4331 else
4332 wx_cv_use_shared='wxUSE_SHARED=no'
4333 fi
4334
4335 else
4336
4337 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4338
4339 fi
4340
4341
4342 eval "$wx_cv_use_shared"
4343
4344 if test x"$enablestring" = xdisable; then
4345 if test $wxUSE_SHARED = yes; then
4346 result=no
4347 else
4348 result=yes
4349 fi
4350 else
4351 result=$wxUSE_SHARED
4352 fi
4353
4354 { echo "$as_me:$LINENO: result: $result" >&5
4355 echo "${ECHO_T}$result" >&6; }
4356
4357
4358 enablestring=
4359 defaultval=
4360 if test -z "$defaultval"; then
4361 if test x"$enablestring" = xdisable; then
4362 defaultval=yes
4363 else
4364 defaultval=no
4365 fi
4366 fi
4367
4368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4369 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4370 # Check whether --enable-debug was given.
4371 if test "${enable_debug+set}" = set; then
4372 enableval=$enable_debug;
4373 if test "$enableval" = yes; then
4374 wx_cv_use_debug='wxUSE_DEBUG=yes'
4375 else
4376 wx_cv_use_debug='wxUSE_DEBUG=no'
4377 fi
4378
4379 else
4380
4381 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4382
4383 fi
4384
4385
4386 eval "$wx_cv_use_debug"
4387
4388 if test x"$enablestring" = xdisable; then
4389 if test $wxUSE_DEBUG = yes; then
4390 result=no
4391 else
4392 result=yes
4393 fi
4394 else
4395 result=$wxUSE_DEBUG
4396 fi
4397
4398 { echo "$as_me:$LINENO: result: $result" >&5
4399 echo "${ECHO_T}$result" >&6; }
4400
4401
4402 enablestring=
4403 defaultval=
4404 if test -z "$defaultval"; then
4405 if test x"$enablestring" = xdisable; then
4406 defaultval=yes
4407 else
4408 defaultval=no
4409 fi
4410 fi
4411
4412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4413 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4414 # Check whether --enable-stl was given.
4415 if test "${enable_stl+set}" = set; then
4416 enableval=$enable_stl;
4417 if test "$enableval" = yes; then
4418 wx_cv_use_stl='wxUSE_STL=yes'
4419 else
4420 wx_cv_use_stl='wxUSE_STL=no'
4421 fi
4422
4423 else
4424
4425 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4426
4427 fi
4428
4429
4430 eval "$wx_cv_use_stl"
4431
4432 if test x"$enablestring" = xdisable; then
4433 if test $wxUSE_STL = yes; then
4434 result=no
4435 else
4436 result=yes
4437 fi
4438 else
4439 result=$wxUSE_STL
4440 fi
4441
4442 { echo "$as_me:$LINENO: result: $result" >&5
4443 echo "${ECHO_T}$result" >&6; }
4444
4445
4446 enablestring=
4447 defaultval=
4448 if test -z "$defaultval"; then
4449 if test x"$enablestring" = xdisable; then
4450 defaultval=yes
4451 else
4452 defaultval=no
4453 fi
4454 fi
4455
4456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4457 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4458 # Check whether --enable-std_iostreams was given.
4459 if test "${enable_std_iostreams+set}" = set; then
4460 enableval=$enable_std_iostreams;
4461 if test "$enableval" = yes; then
4462 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4463 else
4464 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4465 fi
4466
4467 else
4468
4469 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4470
4471 fi
4472
4473
4474 eval "$wx_cv_use_std_iostreams"
4475
4476 if test x"$enablestring" = xdisable; then
4477 if test $wxUSE_STD_IOSTREAM = yes; then
4478 result=no
4479 else
4480 result=yes
4481 fi
4482 else
4483 result=$wxUSE_STD_IOSTREAM
4484 fi
4485
4486 { echo "$as_me:$LINENO: result: $result" >&5
4487 echo "${ECHO_T}$result" >&6; }
4488
4489
4490 enablestring=
4491 defaultval=
4492 if test -z "$defaultval"; then
4493 if test x"$enablestring" = xdisable; then
4494 defaultval=yes
4495 else
4496 defaultval=no
4497 fi
4498 fi
4499
4500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4501 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4502 # Check whether --enable-std_string was given.
4503 if test "${enable_std_string+set}" = set; then
4504 enableval=$enable_std_string;
4505 if test "$enableval" = yes; then
4506 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4507 else
4508 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4509 fi
4510
4511 else
4512
4513 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4514
4515 fi
4516
4517
4518 eval "$wx_cv_use_std_string"
4519
4520 if test x"$enablestring" = xdisable; then
4521 if test $wxUSE_STD_STRING = yes; then
4522 result=no
4523 else
4524 result=yes
4525 fi
4526 else
4527 result=$wxUSE_STD_STRING
4528 fi
4529
4530 { echo "$as_me:$LINENO: result: $result" >&5
4531 echo "${ECHO_T}$result" >&6; }
4532
4533
4534 enablestring=disable
4535 defaultval=
4536 if test -z "$defaultval"; then
4537 if test x"$enablestring" = xdisable; then
4538 defaultval=yes
4539 else
4540 defaultval=no
4541 fi
4542 fi
4543
4544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4545 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4546 # Check whether --enable-unicode was given.
4547 if test "${enable_unicode+set}" = set; then
4548 enableval=$enable_unicode;
4549 if test "$enableval" = yes; then
4550 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4551 else
4552 wx_cv_use_unicode='wxUSE_UNICODE=no'
4553 fi
4554
4555 else
4556
4557 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4558
4559 fi
4560
4561
4562 eval "$wx_cv_use_unicode"
4563
4564 if test x"$enablestring" = xdisable; then
4565 if test $wxUSE_UNICODE = yes; then
4566 result=no
4567 else
4568 result=yes
4569 fi
4570 else
4571 result=$wxUSE_UNICODE
4572 fi
4573
4574 { echo "$as_me:$LINENO: result: $result" >&5
4575 echo "${ECHO_T}$result" >&6; }
4576
4577
4578 enablestring=
4579 defaultval=
4580 if test -z "$defaultval"; then
4581 if test x"$enablestring" = xdisable; then
4582 defaultval=yes
4583 else
4584 defaultval=no
4585 fi
4586 fi
4587
4588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4589 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4590 # Check whether --enable-mslu was given.
4591 if test "${enable_mslu+set}" = set; then
4592 enableval=$enable_mslu;
4593 if test "$enableval" = yes; then
4594 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4595 else
4596 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4597 fi
4598
4599 else
4600
4601 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4602
4603 fi
4604
4605
4606 eval "$wx_cv_use_mslu"
4607
4608 if test x"$enablestring" = xdisable; then
4609 if test $wxUSE_UNICODE_MSLU = yes; then
4610 result=no
4611 else
4612 result=yes
4613 fi
4614 else
4615 result=$wxUSE_UNICODE_MSLU
4616 fi
4617
4618 { echo "$as_me:$LINENO: result: $result" >&5
4619 echo "${ECHO_T}$result" >&6; }
4620
4621
4622 enablestring=
4623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4625 # Check whether --enable-utf8 was given.
4626 if test "${enable_utf8+set}" = set; then
4627 enableval=$enable_utf8;
4628 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4629
4630 else
4631
4632 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4633
4634 fi
4635
4636
4637 eval "$wx_cv_use_utf8"
4638
4639 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4640 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4641
4642
4643 enablestring=
4644 defaultval=
4645 if test -z "$defaultval"; then
4646 if test x"$enablestring" = xdisable; then
4647 defaultval=yes
4648 else
4649 defaultval=no
4650 fi
4651 fi
4652
4653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4654 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4655 # Check whether --enable-utf8only was given.
4656 if test "${enable_utf8only+set}" = set; then
4657 enableval=$enable_utf8only;
4658 if test "$enableval" = yes; then
4659 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4660 else
4661 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4662 fi
4663
4664 else
4665
4666 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4667
4668 fi
4669
4670
4671 eval "$wx_cv_use_utf8only"
4672
4673 if test x"$enablestring" = xdisable; then
4674 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4675 result=no
4676 else
4677 result=yes
4678 fi
4679 else
4680 result=$wxUSE_UNICODE_UTF8_LOCALE
4681 fi
4682
4683 { echo "$as_me:$LINENO: result: $result" >&5
4684 echo "${ECHO_T}$result" >&6; }
4685
4686
4687 enablestring=
4688 defaultval=
4689 if test -z "$defaultval"; then
4690 if test x"$enablestring" = xdisable; then
4691 defaultval=yes
4692 else
4693 defaultval=no
4694 fi
4695 fi
4696
4697 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4698 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4699 # Check whether --enable-extended_rtti was given.
4700 if test "${enable_extended_rtti+set}" = set; then
4701 enableval=$enable_extended_rtti;
4702 if test "$enableval" = yes; then
4703 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4704 else
4705 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4706 fi
4707
4708 else
4709
4710 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4711
4712 fi
4713
4714
4715 eval "$wx_cv_use_extended_rtti"
4716
4717 if test x"$enablestring" = xdisable; then
4718 if test $wxUSE_EXTENDED_RTTI = yes; then
4719 result=no
4720 else
4721 result=yes
4722 fi
4723 else
4724 result=$wxUSE_EXTENDED_RTTI
4725 fi
4726
4727 { echo "$as_me:$LINENO: result: $result" >&5
4728 echo "${ECHO_T}$result" >&6; }
4729
4730 if test "$USE_OS2" = 1; then
4731 DEFAULT_wxUSE_OMF=no
4732
4733 enablestring=
4734 defaultval=
4735 if test -z "$defaultval"; then
4736 if test x"$enablestring" = xdisable; then
4737 defaultval=yes
4738 else
4739 defaultval=no
4740 fi
4741 fi
4742
4743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4744 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4745 # Check whether --enable-omf was given.
4746 if test "${enable_omf+set}" = set; then
4747 enableval=$enable_omf;
4748 if test "$enableval" = yes; then
4749 wx_cv_use_omf='wxUSE_OMF=yes'
4750 else
4751 wx_cv_use_omf='wxUSE_OMF=no'
4752 fi
4753
4754 else
4755
4756 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4757
4758 fi
4759
4760
4761 eval "$wx_cv_use_omf"
4762
4763 if test x"$enablestring" = xdisable; then
4764 if test $wxUSE_OMF = yes; then
4765 result=no
4766 else
4767 result=yes
4768 fi
4769 else
4770 result=$wxUSE_OMF
4771 fi
4772
4773 { echo "$as_me:$LINENO: result: $result" >&5
4774 echo "${ECHO_T}$result" >&6; }
4775
4776 fi
4777
4778 if test "$wxUSE_DEBUG" = "yes"; then
4779 DEFAULT_wxUSE_DEBUG_FLAG=yes
4780 DEFAULT_wxUSE_DEBUG_INFO=yes
4781 BUILD=debug
4782 elif test "$wxUSE_DEBUG" = "no"; then
4783 DEFAULT_wxUSE_DEBUG_FLAG=no
4784 DEFAULT_wxUSE_DEBUG_INFO=no
4785 BUILD=release
4786 fi
4787
4788
4789 enablestring=
4790 defaultval=
4791 if test -z "$defaultval"; then
4792 if test x"$enablestring" = xdisable; then
4793 defaultval=yes
4794 else
4795 defaultval=no
4796 fi
4797 fi
4798
4799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4800 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4801 # Check whether --enable-debug_flag was given.
4802 if test "${enable_debug_flag+set}" = set; then
4803 enableval=$enable_debug_flag;
4804 if test "$enableval" = yes; then
4805 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4806 else
4807 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4808 fi
4809
4810 else
4811
4812 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4813
4814 fi
4815
4816
4817 eval "$wx_cv_use_debug_flag"
4818
4819 if test x"$enablestring" = xdisable; then
4820 if test $wxUSE_DEBUG_FLAG = yes; then
4821 result=no
4822 else
4823 result=yes
4824 fi
4825 else
4826 result=$wxUSE_DEBUG_FLAG
4827 fi
4828
4829 { echo "$as_me:$LINENO: result: $result" >&5
4830 echo "${ECHO_T}$result" >&6; }
4831
4832
4833 enablestring=
4834 defaultval=
4835 if test -z "$defaultval"; then
4836 if test x"$enablestring" = xdisable; then
4837 defaultval=yes
4838 else
4839 defaultval=no
4840 fi
4841 fi
4842
4843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4845 # Check whether --enable-debug_info was given.
4846 if test "${enable_debug_info+set}" = set; then
4847 enableval=$enable_debug_info;
4848 if test "$enableval" = yes; then
4849 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4850 else
4851 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4852 fi
4853
4854 else
4855
4856 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4857
4858 fi
4859
4860
4861 eval "$wx_cv_use_debug_info"
4862
4863 if test x"$enablestring" = xdisable; then
4864 if test $wxUSE_DEBUG_INFO = yes; then
4865 result=no
4866 else
4867 result=yes
4868 fi
4869 else
4870 result=$wxUSE_DEBUG_INFO
4871 fi
4872
4873 { echo "$as_me:$LINENO: result: $result" >&5
4874 echo "${ECHO_T}$result" >&6; }
4875
4876
4877 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4878 wxUSE_DEBUG=yes
4879 BUILD=debug
4880 fi
4881
4882 if test "$wxUSE_DEBUG" = "yes"; then
4883 DEFAULT_wxUSE_OPTIMISE=no
4884 fi
4885
4886
4887 enablestring=disable
4888 defaultval=
4889 if test -z "$defaultval"; then
4890 if test x"$enablestring" = xdisable; then
4891 defaultval=yes
4892 else
4893 defaultval=no
4894 fi
4895 fi
4896
4897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4898 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4899 # Check whether --enable-optimise was given.
4900 if test "${enable_optimise+set}" = set; then
4901 enableval=$enable_optimise;
4902 if test "$enableval" = yes; then
4903 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4904 else
4905 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4906 fi
4907
4908 else
4909
4910 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4911
4912 fi
4913
4914
4915 eval "$wx_cv_use_optimise"
4916
4917 if test x"$enablestring" = xdisable; then
4918 if test $wxUSE_OPTIMISE = yes; then
4919 result=no
4920 else
4921 result=yes
4922 fi
4923 else
4924 result=$wxUSE_OPTIMISE
4925 fi
4926
4927 { echo "$as_me:$LINENO: result: $result" >&5
4928 echo "${ECHO_T}$result" >&6; }
4929
4930
4931
4932 enablestring=
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}-debug_gdb" >&5
4943 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4944 # Check whether --enable-debug_gdb was given.
4945 if test "${enable_debug_gdb+set}" = set; then
4946 enableval=$enable_debug_gdb;
4947 if test "$enableval" = yes; then
4948 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4949 else
4950 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4951 fi
4952
4953 else
4954
4955 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4956
4957 fi
4958
4959
4960 eval "$wx_cv_use_debug_gdb"
4961
4962 if test x"$enablestring" = xdisable; then
4963 if test $wxUSE_DEBUG_GDB = yes; then
4964 result=no
4965 else
4966 result=yes
4967 fi
4968 else
4969 result=$wxUSE_DEBUG_GDB
4970 fi
4971
4972 { echo "$as_me:$LINENO: result: $result" >&5
4973 echo "${ECHO_T}$result" >&6; }
4974
4975
4976 enablestring=
4977 defaultval=
4978 if test -z "$defaultval"; then
4979 if test x"$enablestring" = xdisable; then
4980 defaultval=yes
4981 else
4982 defaultval=no
4983 fi
4984 fi
4985
4986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4987 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4988 # Check whether --enable-debug_cntxt was given.
4989 if test "${enable_debug_cntxt+set}" = set; then
4990 enableval=$enable_debug_cntxt;
4991 if test "$enableval" = yes; then
4992 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4993 else
4994 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4995 fi
4996
4997 else
4998
4999 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5000
5001 fi
5002
5003
5004 eval "$wx_cv_use_debug_cntxt"
5005
5006 if test x"$enablestring" = xdisable; then
5007 if test $wxUSE_DEBUG_CONTEXT = yes; then
5008 result=no
5009 else
5010 result=yes
5011 fi
5012 else
5013 result=$wxUSE_DEBUG_CONTEXT
5014 fi
5015
5016 { echo "$as_me:$LINENO: result: $result" >&5
5017 echo "${ECHO_T}$result" >&6; }
5018
5019
5020 enablestring=
5021 defaultval=
5022 if test -z "$defaultval"; then
5023 if test x"$enablestring" = xdisable; then
5024 defaultval=yes
5025 else
5026 defaultval=no
5027 fi
5028 fi
5029
5030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5031 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5032 # Check whether --enable-mem_tracing was given.
5033 if test "${enable_mem_tracing+set}" = set; then
5034 enableval=$enable_mem_tracing;
5035 if test "$enableval" = yes; then
5036 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5037 else
5038 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5039 fi
5040
5041 else
5042
5043 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5044
5045 fi
5046
5047
5048 eval "$wx_cv_use_mem_tracing"
5049
5050 if test x"$enablestring" = xdisable; then
5051 if test $wxUSE_MEM_TRACING = yes; then
5052 result=no
5053 else
5054 result=yes
5055 fi
5056 else
5057 result=$wxUSE_MEM_TRACING
5058 fi
5059
5060 { echo "$as_me:$LINENO: result: $result" >&5
5061 echo "${ECHO_T}$result" >&6; }
5062
5063
5064 enablestring=
5065 defaultval=
5066 if test -z "$defaultval"; then
5067 if test x"$enablestring" = xdisable; then
5068 defaultval=yes
5069 else
5070 defaultval=no
5071 fi
5072 fi
5073
5074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5075 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5076 # Check whether --enable-profile was given.
5077 if test "${enable_profile+set}" = set; then
5078 enableval=$enable_profile;
5079 if test "$enableval" = yes; then
5080 wx_cv_use_profile='wxUSE_PROFILE=yes'
5081 else
5082 wx_cv_use_profile='wxUSE_PROFILE=no'
5083 fi
5084
5085 else
5086
5087 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5088
5089 fi
5090
5091
5092 eval "$wx_cv_use_profile"
5093
5094 if test x"$enablestring" = xdisable; then
5095 if test $wxUSE_PROFILE = yes; then
5096 result=no
5097 else
5098 result=yes
5099 fi
5100 else
5101 result=$wxUSE_PROFILE
5102 fi
5103
5104 { echo "$as_me:$LINENO: result: $result" >&5
5105 echo "${ECHO_T}$result" >&6; }
5106
5107
5108 enablestring=
5109 defaultval=
5110 if test -z "$defaultval"; then
5111 if test x"$enablestring" = xdisable; then
5112 defaultval=yes
5113 else
5114 defaultval=no
5115 fi
5116 fi
5117
5118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5120 # Check whether --enable-no_rtti was given.
5121 if test "${enable_no_rtti+set}" = set; then
5122 enableval=$enable_no_rtti;
5123 if test "$enableval" = yes; then
5124 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5125 else
5126 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5127 fi
5128
5129 else
5130
5131 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5132
5133 fi
5134
5135
5136 eval "$wx_cv_use_no_rtti"
5137
5138 if test x"$enablestring" = xdisable; then
5139 if test $wxUSE_NO_RTTI = yes; then
5140 result=no
5141 else
5142 result=yes
5143 fi
5144 else
5145 result=$wxUSE_NO_RTTI
5146 fi
5147
5148 { echo "$as_me:$LINENO: result: $result" >&5
5149 echo "${ECHO_T}$result" >&6; }
5150
5151
5152 enablestring=
5153 defaultval=
5154 if test -z "$defaultval"; then
5155 if test x"$enablestring" = xdisable; then
5156 defaultval=yes
5157 else
5158 defaultval=no
5159 fi
5160 fi
5161
5162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5163 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5164 # Check whether --enable-no_exceptions was given.
5165 if test "${enable_no_exceptions+set}" = set; then
5166 enableval=$enable_no_exceptions;
5167 if test "$enableval" = yes; then
5168 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5169 else
5170 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5171 fi
5172
5173 else
5174
5175 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5176
5177 fi
5178
5179
5180 eval "$wx_cv_use_no_exceptions"
5181
5182 if test x"$enablestring" = xdisable; then
5183 if test $wxUSE_NO_EXCEPTIONS = yes; then
5184 result=no
5185 else
5186 result=yes
5187 fi
5188 else
5189 result=$wxUSE_NO_EXCEPTIONS
5190 fi
5191
5192 { echo "$as_me:$LINENO: result: $result" >&5
5193 echo "${ECHO_T}$result" >&6; }
5194
5195
5196 enablestring=
5197 defaultval=
5198 if test -z "$defaultval"; then
5199 if test x"$enablestring" = xdisable; then
5200 defaultval=yes
5201 else
5202 defaultval=no
5203 fi
5204 fi
5205
5206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5207 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5208 # Check whether --enable-permissive was given.
5209 if test "${enable_permissive+set}" = set; then
5210 enableval=$enable_permissive;
5211 if test "$enableval" = yes; then
5212 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5213 else
5214 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5215 fi
5216
5217 else
5218
5219 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5220
5221 fi
5222
5223
5224 eval "$wx_cv_use_permissive"
5225
5226 if test x"$enablestring" = xdisable; then
5227 if test $wxUSE_PERMISSIVE = yes; then
5228 result=no
5229 else
5230 result=yes
5231 fi
5232 else
5233 result=$wxUSE_PERMISSIVE
5234 fi
5235
5236 { echo "$as_me:$LINENO: result: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5238
5239
5240 enablestring=
5241 defaultval=
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5244 defaultval=yes
5245 else
5246 defaultval=no
5247 fi
5248 fi
5249
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5252 # Check whether --enable-no_deps was given.
5253 if test "${enable_no_deps+set}" = set; then
5254 enableval=$enable_no_deps;
5255 if test "$enableval" = yes; then
5256 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5257 else
5258 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5259 fi
5260
5261 else
5262
5263 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5264
5265 fi
5266
5267
5268 eval "$wx_cv_use_no_deps"
5269
5270 if test x"$enablestring" = xdisable; then
5271 if test $wxUSE_NO_DEPS = yes; then
5272 result=no
5273 else
5274 result=yes
5275 fi
5276 else
5277 result=$wxUSE_NO_DEPS
5278 fi
5279
5280 { echo "$as_me:$LINENO: result: $result" >&5
5281 echo "${ECHO_T}$result" >&6; }
5282
5283
5284 enablestring=disable
5285 defaultval=
5286 if test -z "$defaultval"; then
5287 if test x"$enablestring" = xdisable; then
5288 defaultval=yes
5289 else
5290 defaultval=no
5291 fi
5292 fi
5293
5294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5295 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5296 # Check whether --enable-vararg_macros was given.
5297 if test "${enable_vararg_macros+set}" = set; then
5298 enableval=$enable_vararg_macros;
5299 if test "$enableval" = yes; then
5300 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5301 else
5302 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5303 fi
5304
5305 else
5306
5307 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5308
5309 fi
5310
5311
5312 eval "$wx_cv_use_vararg_macros"
5313
5314 if test x"$enablestring" = xdisable; then
5315 if test $wxUSE_VARARG_MACROS = yes; then
5316 result=no
5317 else
5318 result=yes
5319 fi
5320 else
5321 result=$wxUSE_VARARG_MACROS
5322 fi
5323
5324 { echo "$as_me:$LINENO: result: $result" >&5
5325 echo "${ECHO_T}$result" >&6; }
5326
5327
5328 enablestring=
5329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5330 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5331 # Check whether --enable-universal_binary was given.
5332 if test "${enable_universal_binary+set}" = set; then
5333 enableval=$enable_universal_binary;
5334 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5335
5336 else
5337
5338 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5339
5340 fi
5341
5342
5343 eval "$wx_cv_use_universal_binary"
5344
5345 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5346 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5347
5348
5349
5350 enablestring=
5351 defaultval=
5352 if test -z "$defaultval"; then
5353 if test x"$enablestring" = xdisable; then
5354 defaultval=yes
5355 else
5356 defaultval=no
5357 fi
5358 fi
5359
5360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5361 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5362 # Check whether --enable-compat26 was given.
5363 if test "${enable_compat26+set}" = set; then
5364 enableval=$enable_compat26;
5365 if test "$enableval" = yes; then
5366 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5367 else
5368 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5369 fi
5370
5371 else
5372
5373 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5374
5375 fi
5376
5377
5378 eval "$wx_cv_use_compat26"
5379
5380 if test x"$enablestring" = xdisable; then
5381 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5382 result=no
5383 else
5384 result=yes
5385 fi
5386 else
5387 result=$WXWIN_COMPATIBILITY_2_6
5388 fi
5389
5390 { echo "$as_me:$LINENO: result: $result" >&5
5391 echo "${ECHO_T}$result" >&6; }
5392
5393
5394 enablestring=disable
5395 defaultval=
5396 if test -z "$defaultval"; then
5397 if test x"$enablestring" = xdisable; then
5398 defaultval=yes
5399 else
5400 defaultval=no
5401 fi
5402 fi
5403
5404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5405 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5406 # Check whether --enable-compat28 was given.
5407 if test "${enable_compat28+set}" = set; then
5408 enableval=$enable_compat28;
5409 if test "$enableval" = yes; then
5410 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5411 else
5412 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5413 fi
5414
5415 else
5416
5417 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5418
5419 fi
5420
5421
5422 eval "$wx_cv_use_compat28"
5423
5424 if test x"$enablestring" = xdisable; then
5425 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5426 result=no
5427 else
5428 result=yes
5429 fi
5430 else
5431 result=$WXWIN_COMPATIBILITY_2_8
5432 fi
5433
5434 { echo "$as_me:$LINENO: result: $result" >&5
5435 echo "${ECHO_T}$result" >&6; }
5436
5437
5438 cat >>confdefs.h <<\_ACEOF
5439 #define wxEVENTS_COMPATIBILITY_2_8 0
5440 _ACEOF
5441
5442
5443
5444 enablestring=disable
5445 defaultval=
5446 if test -z "$defaultval"; then
5447 if test x"$enablestring" = xdisable; then
5448 defaultval=yes
5449 else
5450 defaultval=no
5451 fi
5452 fi
5453
5454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5455 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5456 # Check whether --enable-rpath was given.
5457 if test "${enable_rpath+set}" = set; then
5458 enableval=$enable_rpath;
5459 if test "$enableval" = yes; then
5460 wx_cv_use_rpath='wxUSE_RPATH=yes'
5461 else
5462 wx_cv_use_rpath='wxUSE_RPATH=no'
5463 fi
5464
5465 else
5466
5467 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5468
5469 fi
5470
5471
5472 eval "$wx_cv_use_rpath"
5473
5474 if test x"$enablestring" = xdisable; then
5475 if test $wxUSE_RPATH = yes; then
5476 result=no
5477 else
5478 result=yes
5479 fi
5480 else
5481 result=$wxUSE_RPATH
5482 fi
5483
5484 { echo "$as_me:$LINENO: result: $result" >&5
5485 echo "${ECHO_T}$result" >&6; }
5486
5487
5488
5489 enablestring=
5490 defaultval=
5491 if test -z "$defaultval"; then
5492 if test x"$enablestring" = xdisable; then
5493 defaultval=yes
5494 else
5495 defaultval=no
5496 fi
5497 fi
5498
5499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5500 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5501 # Check whether --enable-objc_uniquifying was given.
5502 if test "${enable_objc_uniquifying+set}" = set; then
5503 enableval=$enable_objc_uniquifying;
5504 if test "$enableval" = yes; then
5505 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5506 else
5507 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5508 fi
5509
5510 else
5511
5512 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5513
5514 fi
5515
5516
5517 eval "$wx_cv_use_objc_uniquifying"
5518
5519 if test x"$enablestring" = xdisable; then
5520 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5521 result=no
5522 else
5523 result=yes
5524 fi
5525 else
5526 result=$wxUSE_OBJC_UNIQUIFYING
5527 fi
5528
5529 { echo "$as_me:$LINENO: result: $result" >&5
5530 echo "${ECHO_T}$result" >&6; }
5531
5532
5533
5534 enablestring=disable
5535 defaultval=
5536 if test -z "$defaultval"; then
5537 if test x"$enablestring" = xdisable; then
5538 defaultval=yes
5539 else
5540 defaultval=no
5541 fi
5542 fi
5543
5544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5545 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5546 # Check whether --enable-visibility was given.
5547 if test "${enable_visibility+set}" = set; then
5548 enableval=$enable_visibility;
5549 if test "$enableval" = yes; then
5550 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5551 else
5552 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5553 fi
5554
5555 else
5556
5557 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5558
5559 fi
5560
5561
5562 eval "$wx_cv_use_visibility"
5563
5564 if test x"$enablestring" = xdisable; then
5565 if test $wxUSE_VISIBILITY = yes; then
5566 result=no
5567 else
5568 result=yes
5569 fi
5570 else
5571 result=$wxUSE_VISIBILITY
5572 fi
5573
5574 { echo "$as_me:$LINENO: result: $result" >&5
5575 echo "${ECHO_T}$result" >&6; }
5576
5577
5578
5579
5580 enablestring=
5581 defaultval=$wxUSE_ALL_FEATURES
5582 if test -z "$defaultval"; then
5583 if test x"$enablestring" = xdisable; then
5584 defaultval=yes
5585 else
5586 defaultval=no
5587 fi
5588 fi
5589
5590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5591 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5592 # Check whether --enable-intl was given.
5593 if test "${enable_intl+set}" = set; then
5594 enableval=$enable_intl;
5595 if test "$enableval" = yes; then
5596 wx_cv_use_intl='wxUSE_INTL=yes'
5597 else
5598 wx_cv_use_intl='wxUSE_INTL=no'
5599 fi
5600
5601 else
5602
5603 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5604
5605 fi
5606
5607
5608 eval "$wx_cv_use_intl"
5609
5610 if test x"$enablestring" = xdisable; then
5611 if test $wxUSE_INTL = yes; then
5612 result=no
5613 else
5614 result=yes
5615 fi
5616 else
5617 result=$wxUSE_INTL
5618 fi
5619
5620 { echo "$as_me:$LINENO: result: $result" >&5
5621 echo "${ECHO_T}$result" >&6; }
5622
5623
5624 enablestring=
5625 defaultval=$wxUSE_ALL_FEATURES
5626 if test -z "$defaultval"; then
5627 if test x"$enablestring" = xdisable; then
5628 defaultval=yes
5629 else
5630 defaultval=no
5631 fi
5632 fi
5633
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5636 # Check whether --enable-xlocale was given.
5637 if test "${enable_xlocale+set}" = set; then
5638 enableval=$enable_xlocale;
5639 if test "$enableval" = yes; then
5640 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5641 else
5642 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5643 fi
5644
5645 else
5646
5647 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5648
5649 fi
5650
5651
5652 eval "$wx_cv_use_xlocale"
5653
5654 if test x"$enablestring" = xdisable; then
5655 if test $wxUSE_XLOCALE = yes; then
5656 result=no
5657 else
5658 result=yes
5659 fi
5660 else
5661 result=$wxUSE_XLOCALE
5662 fi
5663
5664 { echo "$as_me:$LINENO: result: $result" >&5
5665 echo "${ECHO_T}$result" >&6; }
5666
5667
5668 enablestring=
5669 defaultval=$wxUSE_ALL_FEATURES
5670 if test -z "$defaultval"; then
5671 if test x"$enablestring" = xdisable; then
5672 defaultval=yes
5673 else
5674 defaultval=no
5675 fi
5676 fi
5677
5678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5679 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5680 # Check whether --enable-config was given.
5681 if test "${enable_config+set}" = set; then
5682 enableval=$enable_config;
5683 if test "$enableval" = yes; then
5684 wx_cv_use_config='wxUSE_CONFIG=yes'
5685 else
5686 wx_cv_use_config='wxUSE_CONFIG=no'
5687 fi
5688
5689 else
5690
5691 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5692
5693 fi
5694
5695
5696 eval "$wx_cv_use_config"
5697
5698 if test x"$enablestring" = xdisable; then
5699 if test $wxUSE_CONFIG = yes; then
5700 result=no
5701 else
5702 result=yes
5703 fi
5704 else
5705 result=$wxUSE_CONFIG
5706 fi
5707
5708 { echo "$as_me:$LINENO: result: $result" >&5
5709 echo "${ECHO_T}$result" >&6; }
5710
5711
5712
5713 enablestring=
5714 defaultval=$wxUSE_ALL_FEATURES
5715 if test -z "$defaultval"; then
5716 if test x"$enablestring" = xdisable; then
5717 defaultval=yes
5718 else
5719 defaultval=no
5720 fi
5721 fi
5722
5723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5724 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5725 # Check whether --enable-protocols was given.
5726 if test "${enable_protocols+set}" = set; then
5727 enableval=$enable_protocols;
5728 if test "$enableval" = yes; then
5729 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5730 else
5731 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5732 fi
5733
5734 else
5735
5736 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5737
5738 fi
5739
5740
5741 eval "$wx_cv_use_protocols"
5742
5743 if test x"$enablestring" = xdisable; then
5744 if test $wxUSE_PROTOCOL = yes; then
5745 result=no
5746 else
5747 result=yes
5748 fi
5749 else
5750 result=$wxUSE_PROTOCOL
5751 fi
5752
5753 { echo "$as_me:$LINENO: result: $result" >&5
5754 echo "${ECHO_T}$result" >&6; }
5755
5756
5757 enablestring=
5758 defaultval=$wxUSE_ALL_FEATURES
5759 if test -z "$defaultval"; then
5760 if test x"$enablestring" = xdisable; then
5761 defaultval=yes
5762 else
5763 defaultval=no
5764 fi
5765 fi
5766
5767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5768 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5769 # Check whether --enable-ftp was given.
5770 if test "${enable_ftp+set}" = set; then
5771 enableval=$enable_ftp;
5772 if test "$enableval" = yes; then
5773 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5774 else
5775 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5776 fi
5777
5778 else
5779
5780 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5781
5782 fi
5783
5784
5785 eval "$wx_cv_use_ftp"
5786
5787 if test x"$enablestring" = xdisable; then
5788 if test $wxUSE_PROTOCOL_FTP = yes; then
5789 result=no
5790 else
5791 result=yes
5792 fi
5793 else
5794 result=$wxUSE_PROTOCOL_FTP
5795 fi
5796
5797 { echo "$as_me:$LINENO: result: $result" >&5
5798 echo "${ECHO_T}$result" >&6; }
5799
5800
5801 enablestring=
5802 defaultval=$wxUSE_ALL_FEATURES
5803 if test -z "$defaultval"; then
5804 if test x"$enablestring" = xdisable; then
5805 defaultval=yes
5806 else
5807 defaultval=no
5808 fi
5809 fi
5810
5811 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5812 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5813 # Check whether --enable-http was given.
5814 if test "${enable_http+set}" = set; then
5815 enableval=$enable_http;
5816 if test "$enableval" = yes; then
5817 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5818 else
5819 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5820 fi
5821
5822 else
5823
5824 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5825
5826 fi
5827
5828
5829 eval "$wx_cv_use_http"
5830
5831 if test x"$enablestring" = xdisable; then
5832 if test $wxUSE_PROTOCOL_HTTP = yes; then
5833 result=no
5834 else
5835 result=yes
5836 fi
5837 else
5838 result=$wxUSE_PROTOCOL_HTTP
5839 fi
5840
5841 { echo "$as_me:$LINENO: result: $result" >&5
5842 echo "${ECHO_T}$result" >&6; }
5843
5844
5845 enablestring=
5846 defaultval=$wxUSE_ALL_FEATURES
5847 if test -z "$defaultval"; then
5848 if test x"$enablestring" = xdisable; then
5849 defaultval=yes
5850 else
5851 defaultval=no
5852 fi
5853 fi
5854
5855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5856 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5857 # Check whether --enable-fileproto was given.
5858 if test "${enable_fileproto+set}" = set; then
5859 enableval=$enable_fileproto;
5860 if test "$enableval" = yes; then
5861 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5862 else
5863 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5864 fi
5865
5866 else
5867
5868 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5869
5870 fi
5871
5872
5873 eval "$wx_cv_use_fileproto"
5874
5875 if test x"$enablestring" = xdisable; then
5876 if test $wxUSE_PROTOCOL_FILE = yes; then
5877 result=no
5878 else
5879 result=yes
5880 fi
5881 else
5882 result=$wxUSE_PROTOCOL_FILE
5883 fi
5884
5885 { echo "$as_me:$LINENO: result: $result" >&5
5886 echo "${ECHO_T}$result" >&6; }
5887
5888
5889 enablestring=
5890 defaultval=$wxUSE_ALL_FEATURES
5891 if test -z "$defaultval"; then
5892 if test x"$enablestring" = xdisable; then
5893 defaultval=yes
5894 else
5895 defaultval=no
5896 fi
5897 fi
5898
5899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5900 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5901 # Check whether --enable-sockets was given.
5902 if test "${enable_sockets+set}" = set; then
5903 enableval=$enable_sockets;
5904 if test "$enableval" = yes; then
5905 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5906 else
5907 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5908 fi
5909
5910 else
5911
5912 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5913
5914 fi
5915
5916
5917 eval "$wx_cv_use_sockets"
5918
5919 if test x"$enablestring" = xdisable; then
5920 if test $wxUSE_SOCKETS = yes; then
5921 result=no
5922 else
5923 result=yes
5924 fi
5925 else
5926 result=$wxUSE_SOCKETS
5927 fi
5928
5929 { echo "$as_me:$LINENO: result: $result" >&5
5930 echo "${ECHO_T}$result" >&6; }
5931
5932
5933 enablestring=
5934 defaultval=$wxUSE_ALL_FEATURES
5935 if test -z "$defaultval"; then
5936 if test x"$enablestring" = xdisable; then
5937 defaultval=yes
5938 else
5939 defaultval=no
5940 fi
5941 fi
5942
5943 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5944 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5945 # Check whether --enable-ipv6 was given.
5946 if test "${enable_ipv6+set}" = set; then
5947 enableval=$enable_ipv6;
5948 if test "$enableval" = yes; then
5949 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5950 else
5951 wx_cv_use_ipv6='wxUSE_IPV6=no'
5952 fi
5953
5954 else
5955
5956 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5957
5958 fi
5959
5960
5961 eval "$wx_cv_use_ipv6"
5962
5963 if test x"$enablestring" = xdisable; then
5964 if test $wxUSE_IPV6 = yes; then
5965 result=no
5966 else
5967 result=yes
5968 fi
5969 else
5970 result=$wxUSE_IPV6
5971 fi
5972
5973 { echo "$as_me:$LINENO: result: $result" >&5
5974 echo "${ECHO_T}$result" >&6; }
5975
5976
5977 enablestring=
5978 defaultval=$wxUSE_ALL_FEATURES
5979 if test -z "$defaultval"; then
5980 if test x"$enablestring" = xdisable; then
5981 defaultval=yes
5982 else
5983 defaultval=no
5984 fi
5985 fi
5986
5987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5988 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5989 # Check whether --enable-ole was given.
5990 if test "${enable_ole+set}" = set; then
5991 enableval=$enable_ole;
5992 if test "$enableval" = yes; then
5993 wx_cv_use_ole='wxUSE_OLE=yes'
5994 else
5995 wx_cv_use_ole='wxUSE_OLE=no'
5996 fi
5997
5998 else
5999
6000 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6001
6002 fi
6003
6004
6005 eval "$wx_cv_use_ole"
6006
6007 if test x"$enablestring" = xdisable; then
6008 if test $wxUSE_OLE = yes; then
6009 result=no
6010 else
6011 result=yes
6012 fi
6013 else
6014 result=$wxUSE_OLE
6015 fi
6016
6017 { echo "$as_me:$LINENO: result: $result" >&5
6018 echo "${ECHO_T}$result" >&6; }
6019
6020
6021 enablestring=
6022 defaultval=$wxUSE_ALL_FEATURES
6023 if test -z "$defaultval"; then
6024 if test x"$enablestring" = xdisable; then
6025 defaultval=yes
6026 else
6027 defaultval=no
6028 fi
6029 fi
6030
6031 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6033 # Check whether --enable-dataobj was given.
6034 if test "${enable_dataobj+set}" = set; then
6035 enableval=$enable_dataobj;
6036 if test "$enableval" = yes; then
6037 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6038 else
6039 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6040 fi
6041
6042 else
6043
6044 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6045
6046 fi
6047
6048
6049 eval "$wx_cv_use_dataobj"
6050
6051 if test x"$enablestring" = xdisable; then
6052 if test $wxUSE_DATAOBJ = yes; then
6053 result=no
6054 else
6055 result=yes
6056 fi
6057 else
6058 result=$wxUSE_DATAOBJ
6059 fi
6060
6061 { echo "$as_me:$LINENO: result: $result" >&5
6062 echo "${ECHO_T}$result" >&6; }
6063
6064
6065
6066 enablestring=
6067 defaultval=$wxUSE_ALL_FEATURES
6068 if test -z "$defaultval"; then
6069 if test x"$enablestring" = xdisable; then
6070 defaultval=yes
6071 else
6072 defaultval=no
6073 fi
6074 fi
6075
6076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6077 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6078 # Check whether --enable-ipc was given.
6079 if test "${enable_ipc+set}" = set; then
6080 enableval=$enable_ipc;
6081 if test "$enableval" = yes; then
6082 wx_cv_use_ipc='wxUSE_IPC=yes'
6083 else
6084 wx_cv_use_ipc='wxUSE_IPC=no'
6085 fi
6086
6087 else
6088
6089 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6090
6091 fi
6092
6093
6094 eval "$wx_cv_use_ipc"
6095
6096 if test x"$enablestring" = xdisable; then
6097 if test $wxUSE_IPC = yes; then
6098 result=no
6099 else
6100 result=yes
6101 fi
6102 else
6103 result=$wxUSE_IPC
6104 fi
6105
6106 { echo "$as_me:$LINENO: result: $result" >&5
6107 echo "${ECHO_T}$result" >&6; }
6108
6109
6110
6111 enablestring=
6112 defaultval=$wxUSE_ALL_FEATURES
6113 if test -z "$defaultval"; then
6114 if test x"$enablestring" = xdisable; then
6115 defaultval=yes
6116 else
6117 defaultval=no
6118 fi
6119 fi
6120
6121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6122 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6123 # Check whether --enable-baseevtloop was given.
6124 if test "${enable_baseevtloop+set}" = set; then
6125 enableval=$enable_baseevtloop;
6126 if test "$enableval" = yes; then
6127 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6128 else
6129 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6130 fi
6131
6132 else
6133
6134 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6135
6136 fi
6137
6138
6139 eval "$wx_cv_use_baseevtloop"
6140
6141 if test x"$enablestring" = xdisable; then
6142 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6143 result=no
6144 else
6145 result=yes
6146 fi
6147 else
6148 result=$wxUSE_CONSOLE_EVENTLOOP
6149 fi
6150
6151 { echo "$as_me:$LINENO: result: $result" >&5
6152 echo "${ECHO_T}$result" >&6; }
6153
6154
6155 enablestring=
6156 defaultval=$wxUSE_ALL_FEATURES
6157 if test -z "$defaultval"; then
6158 if test x"$enablestring" = xdisable; then
6159 defaultval=yes
6160 else
6161 defaultval=no
6162 fi
6163 fi
6164
6165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6167 # Check whether --enable-epollloop was given.
6168 if test "${enable_epollloop+set}" = set; then
6169 enableval=$enable_epollloop;
6170 if test "$enableval" = yes; then
6171 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6172 else
6173 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6174 fi
6175
6176 else
6177
6178 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6179
6180 fi
6181
6182
6183 eval "$wx_cv_use_epollloop"
6184
6185 if test x"$enablestring" = xdisable; then
6186 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6187 result=no
6188 else
6189 result=yes
6190 fi
6191 else
6192 result=$wxUSE_EPOLL_DISPATCHER
6193 fi
6194
6195 { echo "$as_me:$LINENO: result: $result" >&5
6196 echo "${ECHO_T}$result" >&6; }
6197
6198
6199 enablestring=
6200 defaultval=$wxUSE_ALL_FEATURES
6201 if test -z "$defaultval"; then
6202 if test x"$enablestring" = xdisable; then
6203 defaultval=yes
6204 else
6205 defaultval=no
6206 fi
6207 fi
6208
6209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6210 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6211 # Check whether --enable-selectloop was given.
6212 if test "${enable_selectloop+set}" = set; then
6213 enableval=$enable_selectloop;
6214 if test "$enableval" = yes; then
6215 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6216 else
6217 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6218 fi
6219
6220 else
6221
6222 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6223
6224 fi
6225
6226
6227 eval "$wx_cv_use_selectloop"
6228
6229 if test x"$enablestring" = xdisable; then
6230 if test $wxUSE_SELECT_DISPATCHER = yes; then
6231 result=no
6232 else
6233 result=yes
6234 fi
6235 else
6236 result=$wxUSE_SELECT_DISPATCHER
6237 fi
6238
6239 { echo "$as_me:$LINENO: result: $result" >&5
6240 echo "${ECHO_T}$result" >&6; }
6241
6242
6243
6244 enablestring=
6245 defaultval=$wxUSE_ALL_FEATURES
6246 if test -z "$defaultval"; then
6247 if test x"$enablestring" = xdisable; then
6248 defaultval=yes
6249 else
6250 defaultval=no
6251 fi
6252 fi
6253
6254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6255 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6256 # Check whether --enable-apple_ieee was given.
6257 if test "${enable_apple_ieee+set}" = set; then
6258 enableval=$enable_apple_ieee;
6259 if test "$enableval" = yes; then
6260 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6261 else
6262 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6263 fi
6264
6265 else
6266
6267 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6268
6269 fi
6270
6271
6272 eval "$wx_cv_use_apple_ieee"
6273
6274 if test x"$enablestring" = xdisable; then
6275 if test $wxUSE_APPLE_IEEE = yes; then
6276 result=no
6277 else
6278 result=yes
6279 fi
6280 else
6281 result=$wxUSE_APPLE_IEEE
6282 fi
6283
6284 { echo "$as_me:$LINENO: result: $result" >&5
6285 echo "${ECHO_T}$result" >&6; }
6286
6287
6288 enablestring=
6289 defaultval=$wxUSE_ALL_FEATURES
6290 if test -z "$defaultval"; then
6291 if test x"$enablestring" = xdisable; then
6292 defaultval=yes
6293 else
6294 defaultval=no
6295 fi
6296 fi
6297
6298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6299 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6300 # Check whether --enable-arcstream was given.
6301 if test "${enable_arcstream+set}" = set; then
6302 enableval=$enable_arcstream;
6303 if test "$enableval" = yes; then
6304 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6305 else
6306 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6307 fi
6308
6309 else
6310
6311 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6312
6313 fi
6314
6315
6316 eval "$wx_cv_use_arcstream"
6317
6318 if test x"$enablestring" = xdisable; then
6319 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6320 result=no
6321 else
6322 result=yes
6323 fi
6324 else
6325 result=$wxUSE_ARCHIVE_STREAMS
6326 fi
6327
6328 { echo "$as_me:$LINENO: result: $result" >&5
6329 echo "${ECHO_T}$result" >&6; }
6330
6331
6332 enablestring=
6333 defaultval=$wxUSE_ALL_FEATURES
6334 if test -z "$defaultval"; then
6335 if test x"$enablestring" = xdisable; then
6336 defaultval=yes
6337 else
6338 defaultval=no
6339 fi
6340 fi
6341
6342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6343 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6344 # Check whether --enable-base64 was given.
6345 if test "${enable_base64+set}" = set; then
6346 enableval=$enable_base64;
6347 if test "$enableval" = yes; then
6348 wx_cv_use_base64='wxUSE_BASE64=yes'
6349 else
6350 wx_cv_use_base64='wxUSE_BASE64=no'
6351 fi
6352
6353 else
6354
6355 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6356
6357 fi
6358
6359
6360 eval "$wx_cv_use_base64"
6361
6362 if test x"$enablestring" = xdisable; then
6363 if test $wxUSE_BASE64 = yes; then
6364 result=no
6365 else
6366 result=yes
6367 fi
6368 else
6369 result=$wxUSE_BASE64
6370 fi
6371
6372 { echo "$as_me:$LINENO: result: $result" >&5
6373 echo "${ECHO_T}$result" >&6; }
6374
6375
6376 enablestring=
6377 defaultval=$wxUSE_ALL_FEATURES
6378 if test -z "$defaultval"; then
6379 if test x"$enablestring" = xdisable; then
6380 defaultval=yes
6381 else
6382 defaultval=no
6383 fi
6384 fi
6385
6386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6387 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6388 # Check whether --enable-backtrace was given.
6389 if test "${enable_backtrace+set}" = set; then
6390 enableval=$enable_backtrace;
6391 if test "$enableval" = yes; then
6392 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6393 else
6394 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6395 fi
6396
6397 else
6398
6399 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6400
6401 fi
6402
6403
6404 eval "$wx_cv_use_backtrace"
6405
6406 if test x"$enablestring" = xdisable; then
6407 if test $wxUSE_STACKWALKER = yes; then
6408 result=no
6409 else
6410 result=yes
6411 fi
6412 else
6413 result=$wxUSE_STACKWALKER
6414 fi
6415
6416 { echo "$as_me:$LINENO: result: $result" >&5
6417 echo "${ECHO_T}$result" >&6; }
6418
6419
6420 enablestring=
6421 defaultval=$wxUSE_ALL_FEATURES
6422 if test -z "$defaultval"; then
6423 if test x"$enablestring" = xdisable; then
6424 defaultval=yes
6425 else
6426 defaultval=no
6427 fi
6428 fi
6429
6430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6432 # Check whether --enable-catch_segvs was given.
6433 if test "${enable_catch_segvs+set}" = set; then
6434 enableval=$enable_catch_segvs;
6435 if test "$enableval" = yes; then
6436 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6437 else
6438 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6439 fi
6440
6441 else
6442
6443 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6444
6445 fi
6446
6447
6448 eval "$wx_cv_use_catch_segvs"
6449
6450 if test x"$enablestring" = xdisable; then
6451 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6452 result=no
6453 else
6454 result=yes
6455 fi
6456 else
6457 result=$wxUSE_ON_FATAL_EXCEPTION
6458 fi
6459
6460 { echo "$as_me:$LINENO: result: $result" >&5
6461 echo "${ECHO_T}$result" >&6; }
6462
6463
6464 enablestring=
6465 defaultval=$wxUSE_ALL_FEATURES
6466 if test -z "$defaultval"; then
6467 if test x"$enablestring" = xdisable; then
6468 defaultval=yes
6469 else
6470 defaultval=no
6471 fi
6472 fi
6473
6474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6475 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6476 # Check whether --enable-cmdline was given.
6477 if test "${enable_cmdline+set}" = set; then
6478 enableval=$enable_cmdline;
6479 if test "$enableval" = yes; then
6480 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6481 else
6482 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6483 fi
6484
6485 else
6486
6487 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6488
6489 fi
6490
6491
6492 eval "$wx_cv_use_cmdline"
6493
6494 if test x"$enablestring" = xdisable; then
6495 if test $wxUSE_CMDLINE_PARSER = yes; then
6496 result=no
6497 else
6498 result=yes
6499 fi
6500 else
6501 result=$wxUSE_CMDLINE_PARSER
6502 fi
6503
6504 { echo "$as_me:$LINENO: result: $result" >&5
6505 echo "${ECHO_T}$result" >&6; }
6506
6507
6508 enablestring=
6509 defaultval=$wxUSE_ALL_FEATURES
6510 if test -z "$defaultval"; then
6511 if test x"$enablestring" = xdisable; then
6512 defaultval=yes
6513 else
6514 defaultval=no
6515 fi
6516 fi
6517
6518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6519 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6520 # Check whether --enable-datetime was given.
6521 if test "${enable_datetime+set}" = set; then
6522 enableval=$enable_datetime;
6523 if test "$enableval" = yes; then
6524 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6525 else
6526 wx_cv_use_datetime='wxUSE_DATETIME=no'
6527 fi
6528
6529 else
6530
6531 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6532
6533 fi
6534
6535
6536 eval "$wx_cv_use_datetime"
6537
6538 if test x"$enablestring" = xdisable; then
6539 if test $wxUSE_DATETIME = yes; then
6540 result=no
6541 else
6542 result=yes
6543 fi
6544 else
6545 result=$wxUSE_DATETIME
6546 fi
6547
6548 { echo "$as_me:$LINENO: result: $result" >&5
6549 echo "${ECHO_T}$result" >&6; }
6550
6551
6552 enablestring=
6553 defaultval=$wxUSE_ALL_FEATURES
6554 if test -z "$defaultval"; then
6555 if test x"$enablestring" = xdisable; then
6556 defaultval=yes
6557 else
6558 defaultval=no
6559 fi
6560 fi
6561
6562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6563 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6564 # Check whether --enable-debugreport was given.
6565 if test "${enable_debugreport+set}" = set; then
6566 enableval=$enable_debugreport;
6567 if test "$enableval" = yes; then
6568 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6569 else
6570 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6571 fi
6572
6573 else
6574
6575 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6576
6577 fi
6578
6579
6580 eval "$wx_cv_use_debugreport"
6581
6582 if test x"$enablestring" = xdisable; then
6583 if test $wxUSE_DEBUGREPORT = yes; then
6584 result=no
6585 else
6586 result=yes
6587 fi
6588 else
6589 result=$wxUSE_DEBUGREPORT
6590 fi
6591
6592 { echo "$as_me:$LINENO: result: $result" >&5
6593 echo "${ECHO_T}$result" >&6; }
6594
6595
6596 enablestring=
6597 defaultval=$wxUSE_ALL_FEATURES
6598 if test -z "$defaultval"; then
6599 if test x"$enablestring" = xdisable; then
6600 defaultval=yes
6601 else
6602 defaultval=no
6603 fi
6604 fi
6605
6606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6608 # Check whether --enable-dialupman was given.
6609 if test "${enable_dialupman+set}" = set; then
6610 enableval=$enable_dialupman;
6611 if test "$enableval" = yes; then
6612 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6613 else
6614 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6615 fi
6616
6617 else
6618
6619 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6620
6621 fi
6622
6623
6624 eval "$wx_cv_use_dialupman"
6625
6626 if test x"$enablestring" = xdisable; then
6627 if test $wxUSE_DIALUP_MANAGER = yes; then
6628 result=no
6629 else
6630 result=yes
6631 fi
6632 else
6633 result=$wxUSE_DIALUP_MANAGER
6634 fi
6635
6636 { echo "$as_me:$LINENO: result: $result" >&5
6637 echo "${ECHO_T}$result" >&6; }
6638
6639
6640 enablestring=
6641 defaultval=$wxUSE_ALL_FEATURES
6642 if test -z "$defaultval"; then
6643 if test x"$enablestring" = xdisable; then
6644 defaultval=yes
6645 else
6646 defaultval=no
6647 fi
6648 fi
6649
6650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6652 # Check whether --enable-dynlib was given.
6653 if test "${enable_dynlib+set}" = set; then
6654 enableval=$enable_dynlib;
6655 if test "$enableval" = yes; then
6656 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6657 else
6658 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6659 fi
6660
6661 else
6662
6663 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6664
6665 fi
6666
6667
6668 eval "$wx_cv_use_dynlib"
6669
6670 if test x"$enablestring" = xdisable; then
6671 if test $wxUSE_DYNLIB_CLASS = yes; then
6672 result=no
6673 else
6674 result=yes
6675 fi
6676 else
6677 result=$wxUSE_DYNLIB_CLASS
6678 fi
6679
6680 { echo "$as_me:$LINENO: result: $result" >&5
6681 echo "${ECHO_T}$result" >&6; }
6682
6683
6684 enablestring=
6685 defaultval=$wxUSE_ALL_FEATURES
6686 if test -z "$defaultval"; then
6687 if test x"$enablestring" = xdisable; then
6688 defaultval=yes
6689 else
6690 defaultval=no
6691 fi
6692 fi
6693
6694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6695 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6696 # Check whether --enable-dynamicloader was given.
6697 if test "${enable_dynamicloader+set}" = set; then
6698 enableval=$enable_dynamicloader;
6699 if test "$enableval" = yes; then
6700 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6701 else
6702 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6703 fi
6704
6705 else
6706
6707 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6708
6709 fi
6710
6711
6712 eval "$wx_cv_use_dynamicloader"
6713
6714 if test x"$enablestring" = xdisable; then
6715 if test $wxUSE_DYNAMIC_LOADER = yes; then
6716 result=no
6717 else
6718 result=yes
6719 fi
6720 else
6721 result=$wxUSE_DYNAMIC_LOADER
6722 fi
6723
6724 { echo "$as_me:$LINENO: result: $result" >&5
6725 echo "${ECHO_T}$result" >&6; }
6726
6727
6728 enablestring=
6729 defaultval=$wxUSE_ALL_FEATURES
6730 if test -z "$defaultval"; then
6731 if test x"$enablestring" = xdisable; then
6732 defaultval=yes
6733 else
6734 defaultval=no
6735 fi
6736 fi
6737
6738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6739 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6740 # Check whether --enable-exceptions was given.
6741 if test "${enable_exceptions+set}" = set; then
6742 enableval=$enable_exceptions;
6743 if test "$enableval" = yes; then
6744 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6745 else
6746 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6747 fi
6748
6749 else
6750
6751 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6752
6753 fi
6754
6755
6756 eval "$wx_cv_use_exceptions"
6757
6758 if test x"$enablestring" = xdisable; then
6759 if test $wxUSE_EXCEPTIONS = yes; then
6760 result=no
6761 else
6762 result=yes
6763 fi
6764 else
6765 result=$wxUSE_EXCEPTIONS
6766 fi
6767
6768 { echo "$as_me:$LINENO: result: $result" >&5
6769 echo "${ECHO_T}$result" >&6; }
6770
6771
6772 enablestring=
6773 defaultval=$wxUSE_ALL_FEATURES
6774 if test -z "$defaultval"; then
6775 if test x"$enablestring" = xdisable; then
6776 defaultval=yes
6777 else
6778 defaultval=no
6779 fi
6780 fi
6781
6782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6783 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6784 # Check whether --enable-ffile was given.
6785 if test "${enable_ffile+set}" = set; then
6786 enableval=$enable_ffile;
6787 if test "$enableval" = yes; then
6788 wx_cv_use_ffile='wxUSE_FFILE=yes'
6789 else
6790 wx_cv_use_ffile='wxUSE_FFILE=no'
6791 fi
6792
6793 else
6794
6795 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6796
6797 fi
6798
6799
6800 eval "$wx_cv_use_ffile"
6801
6802 if test x"$enablestring" = xdisable; then
6803 if test $wxUSE_FFILE = yes; then
6804 result=no
6805 else
6806 result=yes
6807 fi
6808 else
6809 result=$wxUSE_FFILE
6810 fi
6811
6812 { echo "$as_me:$LINENO: result: $result" >&5
6813 echo "${ECHO_T}$result" >&6; }
6814
6815
6816 enablestring=
6817 defaultval=$wxUSE_ALL_FEATURES
6818 if test -z "$defaultval"; then
6819 if test x"$enablestring" = xdisable; then
6820 defaultval=yes
6821 else
6822 defaultval=no
6823 fi
6824 fi
6825
6826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6827 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6828 # Check whether --enable-file was given.
6829 if test "${enable_file+set}" = set; then
6830 enableval=$enable_file;
6831 if test "$enableval" = yes; then
6832 wx_cv_use_file='wxUSE_FILE=yes'
6833 else
6834 wx_cv_use_file='wxUSE_FILE=no'
6835 fi
6836
6837 else
6838
6839 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6840
6841 fi
6842
6843
6844 eval "$wx_cv_use_file"
6845
6846 if test x"$enablestring" = xdisable; then
6847 if test $wxUSE_FILE = yes; then
6848 result=no
6849 else
6850 result=yes
6851 fi
6852 else
6853 result=$wxUSE_FILE
6854 fi
6855
6856 { echo "$as_me:$LINENO: result: $result" >&5
6857 echo "${ECHO_T}$result" >&6; }
6858
6859
6860 enablestring=
6861 defaultval=$wxUSE_ALL_FEATURES
6862 if test -z "$defaultval"; then
6863 if test x"$enablestring" = xdisable; then
6864 defaultval=yes
6865 else
6866 defaultval=no
6867 fi
6868 fi
6869
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6872 # Check whether --enable-filesystem was given.
6873 if test "${enable_filesystem+set}" = set; then
6874 enableval=$enable_filesystem;
6875 if test "$enableval" = yes; then
6876 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6877 else
6878 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6879 fi
6880
6881 else
6882
6883 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6884
6885 fi
6886
6887
6888 eval "$wx_cv_use_filesystem"
6889
6890 if test x"$enablestring" = xdisable; then
6891 if test $wxUSE_FILESYSTEM = yes; then
6892 result=no
6893 else
6894 result=yes
6895 fi
6896 else
6897 result=$wxUSE_FILESYSTEM
6898 fi
6899
6900 { echo "$as_me:$LINENO: result: $result" >&5
6901 echo "${ECHO_T}$result" >&6; }
6902
6903
6904 enablestring=
6905 defaultval=$wxUSE_ALL_FEATURES
6906 if test -z "$defaultval"; then
6907 if test x"$enablestring" = xdisable; then
6908 defaultval=yes
6909 else
6910 defaultval=no
6911 fi
6912 fi
6913
6914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6915 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6916 # Check whether --enable-fontenum was given.
6917 if test "${enable_fontenum+set}" = set; then
6918 enableval=$enable_fontenum;
6919 if test "$enableval" = yes; then
6920 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6921 else
6922 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6923 fi
6924
6925 else
6926
6927 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6928
6929 fi
6930
6931
6932 eval "$wx_cv_use_fontenum"
6933
6934 if test x"$enablestring" = xdisable; then
6935 if test $wxUSE_FONTENUM = yes; then
6936 result=no
6937 else
6938 result=yes
6939 fi
6940 else
6941 result=$wxUSE_FONTENUM
6942 fi
6943
6944 { echo "$as_me:$LINENO: result: $result" >&5
6945 echo "${ECHO_T}$result" >&6; }
6946
6947
6948 enablestring=
6949 defaultval=$wxUSE_ALL_FEATURES
6950 if test -z "$defaultval"; then
6951 if test x"$enablestring" = xdisable; then
6952 defaultval=yes
6953 else
6954 defaultval=no
6955 fi
6956 fi
6957
6958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6959 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6960 # Check whether --enable-fontmap was given.
6961 if test "${enable_fontmap+set}" = set; then
6962 enableval=$enable_fontmap;
6963 if test "$enableval" = yes; then
6964 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6965 else
6966 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6967 fi
6968
6969 else
6970
6971 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6972
6973 fi
6974
6975
6976 eval "$wx_cv_use_fontmap"
6977
6978 if test x"$enablestring" = xdisable; then
6979 if test $wxUSE_FONTMAP = yes; then
6980 result=no
6981 else
6982 result=yes
6983 fi
6984 else
6985 result=$wxUSE_FONTMAP
6986 fi
6987
6988 { echo "$as_me:$LINENO: result: $result" >&5
6989 echo "${ECHO_T}$result" >&6; }
6990
6991
6992 enablestring=
6993 defaultval=$wxUSE_ALL_FEATURES
6994 if test -z "$defaultval"; then
6995 if test x"$enablestring" = xdisable; then
6996 defaultval=yes
6997 else
6998 defaultval=no
6999 fi
7000 fi
7001
7002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7003 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7004 # Check whether --enable-fs_archive was given.
7005 if test "${enable_fs_archive+set}" = set; then
7006 enableval=$enable_fs_archive;
7007 if test "$enableval" = yes; then
7008 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7009 else
7010 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7011 fi
7012
7013 else
7014
7015 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7016
7017 fi
7018
7019
7020 eval "$wx_cv_use_fs_archive"
7021
7022 if test x"$enablestring" = xdisable; then
7023 if test $wxUSE_FS_ARCHIVE = yes; then
7024 result=no
7025 else
7026 result=yes
7027 fi
7028 else
7029 result=$wxUSE_FS_ARCHIVE
7030 fi
7031
7032 { echo "$as_me:$LINENO: result: $result" >&5
7033 echo "${ECHO_T}$result" >&6; }
7034
7035
7036 enablestring=
7037 defaultval=$wxUSE_ALL_FEATURES
7038 if test -z "$defaultval"; then
7039 if test x"$enablestring" = xdisable; then
7040 defaultval=yes
7041 else
7042 defaultval=no
7043 fi
7044 fi
7045
7046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7047 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7048 # Check whether --enable-fs_inet was given.
7049 if test "${enable_fs_inet+set}" = set; then
7050 enableval=$enable_fs_inet;
7051 if test "$enableval" = yes; then
7052 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7053 else
7054 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7055 fi
7056
7057 else
7058
7059 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7060
7061 fi
7062
7063
7064 eval "$wx_cv_use_fs_inet"
7065
7066 if test x"$enablestring" = xdisable; then
7067 if test $wxUSE_FS_INET = yes; then
7068 result=no
7069 else
7070 result=yes
7071 fi
7072 else
7073 result=$wxUSE_FS_INET
7074 fi
7075
7076 { echo "$as_me:$LINENO: result: $result" >&5
7077 echo "${ECHO_T}$result" >&6; }
7078
7079
7080 enablestring=
7081 defaultval=$wxUSE_ALL_FEATURES
7082 if test -z "$defaultval"; then
7083 if test x"$enablestring" = xdisable; then
7084 defaultval=yes
7085 else
7086 defaultval=no
7087 fi
7088 fi
7089
7090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7091 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7092 # Check whether --enable-fs_zip was given.
7093 if test "${enable_fs_zip+set}" = set; then
7094 enableval=$enable_fs_zip;
7095 if test "$enableval" = yes; then
7096 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7097 else
7098 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7099 fi
7100
7101 else
7102
7103 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7104
7105 fi
7106
7107
7108 eval "$wx_cv_use_fs_zip"
7109
7110 if test x"$enablestring" = xdisable; then
7111 if test $wxUSE_FS_ZIP = yes; then
7112 result=no
7113 else
7114 result=yes
7115 fi
7116 else
7117 result=$wxUSE_FS_ZIP
7118 fi
7119
7120 { echo "$as_me:$LINENO: result: $result" >&5
7121 echo "${ECHO_T}$result" >&6; }
7122
7123
7124 enablestring=
7125 defaultval=$wxUSE_ALL_FEATURES
7126 if test -z "$defaultval"; then
7127 if test x"$enablestring" = xdisable; then
7128 defaultval=yes
7129 else
7130 defaultval=no
7131 fi
7132 fi
7133
7134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7135 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7136 # Check whether --enable-geometry was given.
7137 if test "${enable_geometry+set}" = set; then
7138 enableval=$enable_geometry;
7139 if test "$enableval" = yes; then
7140 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7141 else
7142 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7143 fi
7144
7145 else
7146
7147 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7148
7149 fi
7150
7151
7152 eval "$wx_cv_use_geometry"
7153
7154 if test x"$enablestring" = xdisable; then
7155 if test $wxUSE_GEOMETRY = yes; then
7156 result=no
7157 else
7158 result=yes
7159 fi
7160 else
7161 result=$wxUSE_GEOMETRY
7162 fi
7163
7164 { echo "$as_me:$LINENO: result: $result" >&5
7165 echo "${ECHO_T}$result" >&6; }
7166
7167
7168 enablestring=
7169 defaultval=$wxUSE_ALL_FEATURES
7170 if test -z "$defaultval"; then
7171 if test x"$enablestring" = xdisable; then
7172 defaultval=yes
7173 else
7174 defaultval=no
7175 fi
7176 fi
7177
7178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7179 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7180 # Check whether --enable-log was given.
7181 if test "${enable_log+set}" = set; then
7182 enableval=$enable_log;
7183 if test "$enableval" = yes; then
7184 wx_cv_use_log='wxUSE_LOG=yes'
7185 else
7186 wx_cv_use_log='wxUSE_LOG=no'
7187 fi
7188
7189 else
7190
7191 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7192
7193 fi
7194
7195
7196 eval "$wx_cv_use_log"
7197
7198 if test x"$enablestring" = xdisable; then
7199 if test $wxUSE_LOG = yes; then
7200 result=no
7201 else
7202 result=yes
7203 fi
7204 else
7205 result=$wxUSE_LOG
7206 fi
7207
7208 { echo "$as_me:$LINENO: result: $result" >&5
7209 echo "${ECHO_T}$result" >&6; }
7210
7211
7212 enablestring=
7213 defaultval=$wxUSE_ALL_FEATURES
7214 if test -z "$defaultval"; then
7215 if test x"$enablestring" = xdisable; then
7216 defaultval=yes
7217 else
7218 defaultval=no
7219 fi
7220 fi
7221
7222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7223 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7224 # Check whether --enable-longlong was given.
7225 if test "${enable_longlong+set}" = set; then
7226 enableval=$enable_longlong;
7227 if test "$enableval" = yes; then
7228 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7229 else
7230 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7231 fi
7232
7233 else
7234
7235 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7236
7237 fi
7238
7239
7240 eval "$wx_cv_use_longlong"
7241
7242 if test x"$enablestring" = xdisable; then
7243 if test $wxUSE_LONGLONG = yes; then
7244 result=no
7245 else
7246 result=yes
7247 fi
7248 else
7249 result=$wxUSE_LONGLONG
7250 fi
7251
7252 { echo "$as_me:$LINENO: result: $result" >&5
7253 echo "${ECHO_T}$result" >&6; }
7254
7255
7256 enablestring=
7257 defaultval=$wxUSE_ALL_FEATURES
7258 if test -z "$defaultval"; then
7259 if test x"$enablestring" = xdisable; then
7260 defaultval=yes
7261 else
7262 defaultval=no
7263 fi
7264 fi
7265
7266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7267 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7268 # Check whether --enable-mimetype was given.
7269 if test "${enable_mimetype+set}" = set; then
7270 enableval=$enable_mimetype;
7271 if test "$enableval" = yes; then
7272 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7273 else
7274 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7275 fi
7276
7277 else
7278
7279 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7280
7281 fi
7282
7283
7284 eval "$wx_cv_use_mimetype"
7285
7286 if test x"$enablestring" = xdisable; then
7287 if test $wxUSE_MIMETYPE = yes; then
7288 result=no
7289 else
7290 result=yes
7291 fi
7292 else
7293 result=$wxUSE_MIMETYPE
7294 fi
7295
7296 { echo "$as_me:$LINENO: result: $result" >&5
7297 echo "${ECHO_T}$result" >&6; }
7298
7299
7300 enablestring=
7301 defaultval=$wxUSE_ALL_FEATURES
7302 if test -z "$defaultval"; then
7303 if test x"$enablestring" = xdisable; then
7304 defaultval=yes
7305 else
7306 defaultval=no
7307 fi
7308 fi
7309
7310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7312 # Check whether --enable-printfposparam was given.
7313 if test "${enable_printfposparam+set}" = set; then
7314 enableval=$enable_printfposparam;
7315 if test "$enableval" = yes; then
7316 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7317 else
7318 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7319 fi
7320
7321 else
7322
7323 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7324
7325 fi
7326
7327
7328 eval "$wx_cv_use_printfposparam"
7329
7330 if test x"$enablestring" = xdisable; then
7331 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7332 result=no
7333 else
7334 result=yes
7335 fi
7336 else
7337 result=$wxUSE_PRINTF_POS_PARAMS
7338 fi
7339
7340 { echo "$as_me:$LINENO: result: $result" >&5
7341 echo "${ECHO_T}$result" >&6; }
7342
7343
7344 enablestring=
7345 defaultval=$wxUSE_ALL_FEATURES
7346 if test -z "$defaultval"; then
7347 if test x"$enablestring" = xdisable; then
7348 defaultval=yes
7349 else
7350 defaultval=no
7351 fi
7352 fi
7353
7354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7355 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7356 # Check whether --enable-snglinst was given.
7357 if test "${enable_snglinst+set}" = set; then
7358 enableval=$enable_snglinst;
7359 if test "$enableval" = yes; then
7360 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7361 else
7362 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7363 fi
7364
7365 else
7366
7367 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7368
7369 fi
7370
7371
7372 eval "$wx_cv_use_snglinst"
7373
7374 if test x"$enablestring" = xdisable; then
7375 if test $wxUSE_SNGLINST_CHECKER = yes; then
7376 result=no
7377 else
7378 result=yes
7379 fi
7380 else
7381 result=$wxUSE_SNGLINST_CHECKER
7382 fi
7383
7384 { echo "$as_me:$LINENO: result: $result" >&5
7385 echo "${ECHO_T}$result" >&6; }
7386
7387
7388 enablestring=
7389 defaultval=$wxUSE_ALL_FEATURES
7390 if test -z "$defaultval"; then
7391 if test x"$enablestring" = xdisable; then
7392 defaultval=yes
7393 else
7394 defaultval=no
7395 fi
7396 fi
7397
7398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7399 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7400 # Check whether --enable-sound was given.
7401 if test "${enable_sound+set}" = set; then
7402 enableval=$enable_sound;
7403 if test "$enableval" = yes; then
7404 wx_cv_use_sound='wxUSE_SOUND=yes'
7405 else
7406 wx_cv_use_sound='wxUSE_SOUND=no'
7407 fi
7408
7409 else
7410
7411 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7412
7413 fi
7414
7415
7416 eval "$wx_cv_use_sound"
7417
7418 if test x"$enablestring" = xdisable; then
7419 if test $wxUSE_SOUND = yes; then
7420 result=no
7421 else
7422 result=yes
7423 fi
7424 else
7425 result=$wxUSE_SOUND
7426 fi
7427
7428 { echo "$as_me:$LINENO: result: $result" >&5
7429 echo "${ECHO_T}$result" >&6; }
7430
7431
7432 enablestring=
7433 defaultval=$wxUSE_ALL_FEATURES
7434 if test -z "$defaultval"; then
7435 if test x"$enablestring" = xdisable; then
7436 defaultval=yes
7437 else
7438 defaultval=no
7439 fi
7440 fi
7441
7442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7443 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7444 # Check whether --enable-stdpaths was given.
7445 if test "${enable_stdpaths+set}" = set; then
7446 enableval=$enable_stdpaths;
7447 if test "$enableval" = yes; then
7448 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7449 else
7450 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7451 fi
7452
7453 else
7454
7455 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7456
7457 fi
7458
7459
7460 eval "$wx_cv_use_stdpaths"
7461
7462 if test x"$enablestring" = xdisable; then
7463 if test $wxUSE_STDPATHS = yes; then
7464 result=no
7465 else
7466 result=yes
7467 fi
7468 else
7469 result=$wxUSE_STDPATHS
7470 fi
7471
7472 { echo "$as_me:$LINENO: result: $result" >&5
7473 echo "${ECHO_T}$result" >&6; }
7474
7475
7476 enablestring=
7477 defaultval=$wxUSE_ALL_FEATURES
7478 if test -z "$defaultval"; then
7479 if test x"$enablestring" = xdisable; then
7480 defaultval=yes
7481 else
7482 defaultval=no
7483 fi
7484 fi
7485
7486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7487 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7488 # Check whether --enable-stopwatch was given.
7489 if test "${enable_stopwatch+set}" = set; then
7490 enableval=$enable_stopwatch;
7491 if test "$enableval" = yes; then
7492 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7493 else
7494 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7495 fi
7496
7497 else
7498
7499 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7500
7501 fi
7502
7503
7504 eval "$wx_cv_use_stopwatch"
7505
7506 if test x"$enablestring" = xdisable; then
7507 if test $wxUSE_STOPWATCH = yes; then
7508 result=no
7509 else
7510 result=yes
7511 fi
7512 else
7513 result=$wxUSE_STOPWATCH
7514 fi
7515
7516 { echo "$as_me:$LINENO: result: $result" >&5
7517 echo "${ECHO_T}$result" >&6; }
7518
7519
7520 enablestring=
7521 defaultval=$wxUSE_ALL_FEATURES
7522 if test -z "$defaultval"; then
7523 if test x"$enablestring" = xdisable; then
7524 defaultval=yes
7525 else
7526 defaultval=no
7527 fi
7528 fi
7529
7530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7531 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7532 # Check whether --enable-streams was given.
7533 if test "${enable_streams+set}" = set; then
7534 enableval=$enable_streams;
7535 if test "$enableval" = yes; then
7536 wx_cv_use_streams='wxUSE_STREAMS=yes'
7537 else
7538 wx_cv_use_streams='wxUSE_STREAMS=no'
7539 fi
7540
7541 else
7542
7543 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7544
7545 fi
7546
7547
7548 eval "$wx_cv_use_streams"
7549
7550 if test x"$enablestring" = xdisable; then
7551 if test $wxUSE_STREAMS = yes; then
7552 result=no
7553 else
7554 result=yes
7555 fi
7556 else
7557 result=$wxUSE_STREAMS
7558 fi
7559
7560 { echo "$as_me:$LINENO: result: $result" >&5
7561 echo "${ECHO_T}$result" >&6; }
7562
7563
7564 enablestring=
7565 defaultval=$wxUSE_ALL_FEATURES
7566 if test -z "$defaultval"; then
7567 if test x"$enablestring" = xdisable; then
7568 defaultval=yes
7569 else
7570 defaultval=no
7571 fi
7572 fi
7573
7574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7575 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7576 # Check whether --enable-system_options was given.
7577 if test "${enable_system_options+set}" = set; then
7578 enableval=$enable_system_options;
7579 if test "$enableval" = yes; then
7580 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7581 else
7582 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7583 fi
7584
7585 else
7586
7587 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7588
7589 fi
7590
7591
7592 eval "$wx_cv_use_system_options"
7593
7594 if test x"$enablestring" = xdisable; then
7595 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7596 result=no
7597 else
7598 result=yes
7599 fi
7600 else
7601 result=$wxUSE_SYSTEM_OPTIONS
7602 fi
7603
7604 { echo "$as_me:$LINENO: result: $result" >&5
7605 echo "${ECHO_T}$result" >&6; }
7606
7607
7608 enablestring=
7609 defaultval=$wxUSE_ALL_FEATURES
7610 if test -z "$defaultval"; then
7611 if test x"$enablestring" = xdisable; then
7612 defaultval=yes
7613 else
7614 defaultval=no
7615 fi
7616 fi
7617
7618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7619 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7620 # Check whether --enable-tarstream was given.
7621 if test "${enable_tarstream+set}" = set; then
7622 enableval=$enable_tarstream;
7623 if test "$enableval" = yes; then
7624 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7625 else
7626 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7627 fi
7628
7629 else
7630
7631 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7632
7633 fi
7634
7635
7636 eval "$wx_cv_use_tarstream"
7637
7638 if test x"$enablestring" = xdisable; then
7639 if test $wxUSE_TARSTREAM = yes; then
7640 result=no
7641 else
7642 result=yes
7643 fi
7644 else
7645 result=$wxUSE_TARSTREAM
7646 fi
7647
7648 { echo "$as_me:$LINENO: result: $result" >&5
7649 echo "${ECHO_T}$result" >&6; }
7650
7651
7652 enablestring=
7653 defaultval=$wxUSE_ALL_FEATURES
7654 if test -z "$defaultval"; then
7655 if test x"$enablestring" = xdisable; then
7656 defaultval=yes
7657 else
7658 defaultval=no
7659 fi
7660 fi
7661
7662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7663 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7664 # Check whether --enable-textbuf was given.
7665 if test "${enable_textbuf+set}" = set; then
7666 enableval=$enable_textbuf;
7667 if test "$enableval" = yes; then
7668 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7669 else
7670 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7671 fi
7672
7673 else
7674
7675 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7676
7677 fi
7678
7679
7680 eval "$wx_cv_use_textbuf"
7681
7682 if test x"$enablestring" = xdisable; then
7683 if test $wxUSE_TEXTBUFFER = yes; then
7684 result=no
7685 else
7686 result=yes
7687 fi
7688 else
7689 result=$wxUSE_TEXTBUFFER
7690 fi
7691
7692 { echo "$as_me:$LINENO: result: $result" >&5
7693 echo "${ECHO_T}$result" >&6; }
7694
7695
7696 enablestring=
7697 defaultval=$wxUSE_ALL_FEATURES
7698 if test -z "$defaultval"; then
7699 if test x"$enablestring" = xdisable; then
7700 defaultval=yes
7701 else
7702 defaultval=no
7703 fi
7704 fi
7705
7706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7707 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7708 # Check whether --enable-textfile was given.
7709 if test "${enable_textfile+set}" = set; then
7710 enableval=$enable_textfile;
7711 if test "$enableval" = yes; then
7712 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7713 else
7714 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7715 fi
7716
7717 else
7718
7719 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7720
7721 fi
7722
7723
7724 eval "$wx_cv_use_textfile"
7725
7726 if test x"$enablestring" = xdisable; then
7727 if test $wxUSE_TEXTFILE = yes; then
7728 result=no
7729 else
7730 result=yes
7731 fi
7732 else
7733 result=$wxUSE_TEXTFILE
7734 fi
7735
7736 { echo "$as_me:$LINENO: result: $result" >&5
7737 echo "${ECHO_T}$result" >&6; }
7738
7739
7740 enablestring=
7741 defaultval=$wxUSE_ALL_FEATURES
7742 if test -z "$defaultval"; then
7743 if test x"$enablestring" = xdisable; then
7744 defaultval=yes
7745 else
7746 defaultval=no
7747 fi
7748 fi
7749
7750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7751 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7752 # Check whether --enable-timer was given.
7753 if test "${enable_timer+set}" = set; then
7754 enableval=$enable_timer;
7755 if test "$enableval" = yes; then
7756 wx_cv_use_timer='wxUSE_TIMER=yes'
7757 else
7758 wx_cv_use_timer='wxUSE_TIMER=no'
7759 fi
7760
7761 else
7762
7763 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7764
7765 fi
7766
7767
7768 eval "$wx_cv_use_timer"
7769
7770 if test x"$enablestring" = xdisable; then
7771 if test $wxUSE_TIMER = yes; then
7772 result=no
7773 else
7774 result=yes
7775 fi
7776 else
7777 result=$wxUSE_TIMER
7778 fi
7779
7780 { echo "$as_me:$LINENO: result: $result" >&5
7781 echo "${ECHO_T}$result" >&6; }
7782
7783
7784 enablestring=
7785 defaultval=$wxUSE_ALL_FEATURES
7786 if test -z "$defaultval"; then
7787 if test x"$enablestring" = xdisable; then
7788 defaultval=yes
7789 else
7790 defaultval=no
7791 fi
7792 fi
7793
7794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7795 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7796 # Check whether --enable-variant was given.
7797 if test "${enable_variant+set}" = set; then
7798 enableval=$enable_variant;
7799 if test "$enableval" = yes; then
7800 wx_cv_use_variant='wxUSE_VARIANT=yes'
7801 else
7802 wx_cv_use_variant='wxUSE_VARIANT=no'
7803 fi
7804
7805 else
7806
7807 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7808
7809 fi
7810
7811
7812 eval "$wx_cv_use_variant"
7813
7814 if test x"$enablestring" = xdisable; then
7815 if test $wxUSE_VARIANT = yes; then
7816 result=no
7817 else
7818 result=yes
7819 fi
7820 else
7821 result=$wxUSE_VARIANT
7822 fi
7823
7824 { echo "$as_me:$LINENO: result: $result" >&5
7825 echo "${ECHO_T}$result" >&6; }
7826
7827
7828 enablestring=
7829 defaultval=$wxUSE_ALL_FEATURES
7830 if test -z "$defaultval"; then
7831 if test x"$enablestring" = xdisable; then
7832 defaultval=yes
7833 else
7834 defaultval=no
7835 fi
7836 fi
7837
7838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7840 # Check whether --enable-zipstream was given.
7841 if test "${enable_zipstream+set}" = set; then
7842 enableval=$enable_zipstream;
7843 if test "$enableval" = yes; then
7844 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7845 else
7846 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7847 fi
7848
7849 else
7850
7851 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7852
7853 fi
7854
7855
7856 eval "$wx_cv_use_zipstream"
7857
7858 if test x"$enablestring" = xdisable; then
7859 if test $wxUSE_ZIPSTREAM = yes; then
7860 result=no
7861 else
7862 result=yes
7863 fi
7864 else
7865 result=$wxUSE_ZIPSTREAM
7866 fi
7867
7868 { echo "$as_me:$LINENO: result: $result" >&5
7869 echo "${ECHO_T}$result" >&6; }
7870
7871
7872
7873 enablestring=
7874 defaultval=$wxUSE_ALL_FEATURES
7875 if test -z "$defaultval"; then
7876 if test x"$enablestring" = xdisable; then
7877 defaultval=yes
7878 else
7879 defaultval=no
7880 fi
7881 fi
7882
7883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7884 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7885 # Check whether --enable-url was given.
7886 if test "${enable_url+set}" = set; then
7887 enableval=$enable_url;
7888 if test "$enableval" = yes; then
7889 wx_cv_use_url='wxUSE_URL=yes'
7890 else
7891 wx_cv_use_url='wxUSE_URL=no'
7892 fi
7893
7894 else
7895
7896 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7897
7898 fi
7899
7900
7901 eval "$wx_cv_use_url"
7902
7903 if test x"$enablestring" = xdisable; then
7904 if test $wxUSE_URL = yes; then
7905 result=no
7906 else
7907 result=yes
7908 fi
7909 else
7910 result=$wxUSE_URL
7911 fi
7912
7913 { echo "$as_me:$LINENO: result: $result" >&5
7914 echo "${ECHO_T}$result" >&6; }
7915
7916
7917 enablestring=
7918 defaultval=$wxUSE_ALL_FEATURES
7919 if test -z "$defaultval"; then
7920 if test x"$enablestring" = xdisable; then
7921 defaultval=yes
7922 else
7923 defaultval=no
7924 fi
7925 fi
7926
7927 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7928 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7929 # Check whether --enable-protocol was given.
7930 if test "${enable_protocol+set}" = set; then
7931 enableval=$enable_protocol;
7932 if test "$enableval" = yes; then
7933 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7934 else
7935 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7936 fi
7937
7938 else
7939
7940 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7941
7942 fi
7943
7944
7945 eval "$wx_cv_use_protocol"
7946
7947 if test x"$enablestring" = xdisable; then
7948 if test $wxUSE_PROTOCOL = yes; then
7949 result=no
7950 else
7951 result=yes
7952 fi
7953 else
7954 result=$wxUSE_PROTOCOL
7955 fi
7956
7957 { echo "$as_me:$LINENO: result: $result" >&5
7958 echo "${ECHO_T}$result" >&6; }
7959
7960
7961 enablestring=
7962 defaultval=$wxUSE_ALL_FEATURES
7963 if test -z "$defaultval"; then
7964 if test x"$enablestring" = xdisable; then
7965 defaultval=yes
7966 else
7967 defaultval=no
7968 fi
7969 fi
7970
7971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7972 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7973 # Check whether --enable-protocol_http was given.
7974 if test "${enable_protocol_http+set}" = set; then
7975 enableval=$enable_protocol_http;
7976 if test "$enableval" = yes; then
7977 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7978 else
7979 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7980 fi
7981
7982 else
7983
7984 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7985
7986 fi
7987
7988
7989 eval "$wx_cv_use_protocol_http"
7990
7991 if test x"$enablestring" = xdisable; then
7992 if test $wxUSE_PROTOCOL_HTTP = yes; then
7993 result=no
7994 else
7995 result=yes
7996 fi
7997 else
7998 result=$wxUSE_PROTOCOL_HTTP
7999 fi
8000
8001 { echo "$as_me:$LINENO: result: $result" >&5
8002 echo "${ECHO_T}$result" >&6; }
8003
8004
8005 enablestring=
8006 defaultval=$wxUSE_ALL_FEATURES
8007 if test -z "$defaultval"; then
8008 if test x"$enablestring" = xdisable; then
8009 defaultval=yes
8010 else
8011 defaultval=no
8012 fi
8013 fi
8014
8015 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8016 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8017 # Check whether --enable-protocol_ftp was given.
8018 if test "${enable_protocol_ftp+set}" = set; then
8019 enableval=$enable_protocol_ftp;
8020 if test "$enableval" = yes; then
8021 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8022 else
8023 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8024 fi
8025
8026 else
8027
8028 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8029
8030 fi
8031
8032
8033 eval "$wx_cv_use_protocol_ftp"
8034
8035 if test x"$enablestring" = xdisable; then
8036 if test $wxUSE_PROTOCOL_FTP = yes; then
8037 result=no
8038 else
8039 result=yes
8040 fi
8041 else
8042 result=$wxUSE_PROTOCOL_FTP
8043 fi
8044
8045 { echo "$as_me:$LINENO: result: $result" >&5
8046 echo "${ECHO_T}$result" >&6; }
8047
8048
8049 enablestring=
8050 defaultval=$wxUSE_ALL_FEATURES
8051 if test -z "$defaultval"; then
8052 if test x"$enablestring" = xdisable; then
8053 defaultval=yes
8054 else
8055 defaultval=no
8056 fi
8057 fi
8058
8059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8061 # Check whether --enable-protocol_file was given.
8062 if test "${enable_protocol_file+set}" = set; then
8063 enableval=$enable_protocol_file;
8064 if test "$enableval" = yes; then
8065 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8066 else
8067 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8068 fi
8069
8070 else
8071
8072 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8073
8074 fi
8075
8076
8077 eval "$wx_cv_use_protocol_file"
8078
8079 if test x"$enablestring" = xdisable; then
8080 if test $wxUSE_PROTOCOL_FILE = yes; then
8081 result=no
8082 else
8083 result=yes
8084 fi
8085 else
8086 result=$wxUSE_PROTOCOL_FILE
8087 fi
8088
8089 { echo "$as_me:$LINENO: result: $result" >&5
8090 echo "${ECHO_T}$result" >&6; }
8091
8092
8093
8094 enablestring=
8095 defaultval=$wxUSE_ALL_FEATURES
8096 if test -z "$defaultval"; then
8097 if test x"$enablestring" = xdisable; then
8098 defaultval=yes
8099 else
8100 defaultval=no
8101 fi
8102 fi
8103
8104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8105 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8106 # Check whether --enable-threads was given.
8107 if test "${enable_threads+set}" = set; then
8108 enableval=$enable_threads;
8109 if test "$enableval" = yes; then
8110 wx_cv_use_threads='wxUSE_THREADS=yes'
8111 else
8112 wx_cv_use_threads='wxUSE_THREADS=no'
8113 fi
8114
8115 else
8116
8117 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8118
8119 fi
8120
8121
8122 eval "$wx_cv_use_threads"
8123
8124 if test x"$enablestring" = xdisable; then
8125 if test $wxUSE_THREADS = yes; then
8126 result=no
8127 else
8128 result=yes
8129 fi
8130 else
8131 result=$wxUSE_THREADS
8132 fi
8133
8134 { echo "$as_me:$LINENO: result: $result" >&5
8135 echo "${ECHO_T}$result" >&6; }
8136
8137
8138
8139 enablestring=
8140 defaultval=
8141 if test -z "$defaultval"; then
8142 if test x"$enablestring" = xdisable; then
8143 defaultval=yes
8144 else
8145 defaultval=no
8146 fi
8147 fi
8148
8149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8151 # Check whether --enable-iniconf was given.
8152 if test "${enable_iniconf+set}" = set; then
8153 enableval=$enable_iniconf;
8154 if test "$enableval" = yes; then
8155 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8156 else
8157 wx_cv_use_iniconf='wxUSE_INICONF=no'
8158 fi
8159
8160 else
8161
8162 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8163
8164 fi
8165
8166
8167 eval "$wx_cv_use_iniconf"
8168
8169 if test x"$enablestring" = xdisable; then
8170 if test $wxUSE_INICONF = yes; then
8171 result=no
8172 else
8173 result=yes
8174 fi
8175 else
8176 result=$wxUSE_INICONF
8177 fi
8178
8179 { echo "$as_me:$LINENO: result: $result" >&5
8180 echo "${ECHO_T}$result" >&6; }
8181
8182
8183 enablestring=
8184 defaultval=$wxUSE_ALL_FEATURES
8185 if test -z "$defaultval"; then
8186 if test x"$enablestring" = xdisable; then
8187 defaultval=yes
8188 else
8189 defaultval=no
8190 fi
8191 fi
8192
8193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8194 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8195 # Check whether --enable-regkey was given.
8196 if test "${enable_regkey+set}" = set; then
8197 enableval=$enable_regkey;
8198 if test "$enableval" = yes; then
8199 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8200 else
8201 wx_cv_use_regkey='wxUSE_REGKEY=no'
8202 fi
8203
8204 else
8205
8206 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8207
8208 fi
8209
8210
8211 eval "$wx_cv_use_regkey"
8212
8213 if test x"$enablestring" = xdisable; then
8214 if test $wxUSE_REGKEY = yes; then
8215 result=no
8216 else
8217 result=yes
8218 fi
8219 else
8220 result=$wxUSE_REGKEY
8221 fi
8222
8223 { echo "$as_me:$LINENO: result: $result" >&5
8224 echo "${ECHO_T}$result" >&6; }
8225
8226
8227 if test "$wxUSE_GUI" = "yes"; then
8228
8229
8230
8231 enablestring=
8232 defaultval=$wxUSE_ALL_FEATURES
8233 if test -z "$defaultval"; then
8234 if test x"$enablestring" = xdisable; then
8235 defaultval=yes
8236 else
8237 defaultval=no
8238 fi
8239 fi
8240
8241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8242 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8243 # Check whether --enable-docview was given.
8244 if test "${enable_docview+set}" = set; then
8245 enableval=$enable_docview;
8246 if test "$enableval" = yes; then
8247 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8248 else
8249 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8250 fi
8251
8252 else
8253
8254 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8255
8256 fi
8257
8258
8259 eval "$wx_cv_use_docview"
8260
8261 if test x"$enablestring" = xdisable; then
8262 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8263 result=no
8264 else
8265 result=yes
8266 fi
8267 else
8268 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8269 fi
8270
8271 { echo "$as_me:$LINENO: result: $result" >&5
8272 echo "${ECHO_T}$result" >&6; }
8273
8274
8275 enablestring=
8276 defaultval=$wxUSE_ALL_FEATURES
8277 if test -z "$defaultval"; then
8278 if test x"$enablestring" = xdisable; then
8279 defaultval=yes
8280 else
8281 defaultval=no
8282 fi
8283 fi
8284
8285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8286 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8287 # Check whether --enable-help was given.
8288 if test "${enable_help+set}" = set; then
8289 enableval=$enable_help;
8290 if test "$enableval" = yes; then
8291 wx_cv_use_help='wxUSE_HELP=yes'
8292 else
8293 wx_cv_use_help='wxUSE_HELP=no'
8294 fi
8295
8296 else
8297
8298 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8299
8300 fi
8301
8302
8303 eval "$wx_cv_use_help"
8304
8305 if test x"$enablestring" = xdisable; then
8306 if test $wxUSE_HELP = yes; then
8307 result=no
8308 else
8309 result=yes
8310 fi
8311 else
8312 result=$wxUSE_HELP
8313 fi
8314
8315 { echo "$as_me:$LINENO: result: $result" >&5
8316 echo "${ECHO_T}$result" >&6; }
8317
8318
8319 enablestring=
8320 defaultval=$wxUSE_ALL_FEATURES
8321 if test -z "$defaultval"; then
8322 if test x"$enablestring" = xdisable; then
8323 defaultval=yes
8324 else
8325 defaultval=no
8326 fi
8327 fi
8328
8329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8330 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8331 # Check whether --enable-mshtmlhelp was given.
8332 if test "${enable_mshtmlhelp+set}" = set; then
8333 enableval=$enable_mshtmlhelp;
8334 if test "$enableval" = yes; then
8335 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8336 else
8337 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8338 fi
8339
8340 else
8341
8342 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8343
8344 fi
8345
8346
8347 eval "$wx_cv_use_mshtmlhelp"
8348
8349 if test x"$enablestring" = xdisable; then
8350 if test $wxUSE_MS_HTML_HELP = yes; then
8351 result=no
8352 else
8353 result=yes
8354 fi
8355 else
8356 result=$wxUSE_MS_HTML_HELP
8357 fi
8358
8359 { echo "$as_me:$LINENO: result: $result" >&5
8360 echo "${ECHO_T}$result" >&6; }
8361
8362
8363 enablestring=
8364 defaultval=$wxUSE_ALL_FEATURES
8365 if test -z "$defaultval"; then
8366 if test x"$enablestring" = xdisable; then
8367 defaultval=yes
8368 else
8369 defaultval=no
8370 fi
8371 fi
8372
8373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8374 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8375 # Check whether --enable-html was given.
8376 if test "${enable_html+set}" = set; then
8377 enableval=$enable_html;
8378 if test "$enableval" = yes; then
8379 wx_cv_use_html='wxUSE_HTML=yes'
8380 else
8381 wx_cv_use_html='wxUSE_HTML=no'
8382 fi
8383
8384 else
8385
8386 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8387
8388 fi
8389
8390
8391 eval "$wx_cv_use_html"
8392
8393 if test x"$enablestring" = xdisable; then
8394 if test $wxUSE_HTML = yes; then
8395 result=no
8396 else
8397 result=yes
8398 fi
8399 else
8400 result=$wxUSE_HTML
8401 fi
8402
8403 { echo "$as_me:$LINENO: result: $result" >&5
8404 echo "${ECHO_T}$result" >&6; }
8405
8406
8407 enablestring=
8408 defaultval=$wxUSE_ALL_FEATURES
8409 if test -z "$defaultval"; then
8410 if test x"$enablestring" = xdisable; then
8411 defaultval=yes
8412 else
8413 defaultval=no
8414 fi
8415 fi
8416
8417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8418 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8419 # Check whether --enable-htmlhelp was given.
8420 if test "${enable_htmlhelp+set}" = set; then
8421 enableval=$enable_htmlhelp;
8422 if test "$enableval" = yes; then
8423 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8424 else
8425 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8426 fi
8427
8428 else
8429
8430 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8431
8432 fi
8433
8434
8435 eval "$wx_cv_use_htmlhelp"
8436
8437 if test x"$enablestring" = xdisable; then
8438 if test $wxUSE_WXHTML_HELP = yes; then
8439 result=no
8440 else
8441 result=yes
8442 fi
8443 else
8444 result=$wxUSE_WXHTML_HELP
8445 fi
8446
8447 { echo "$as_me:$LINENO: result: $result" >&5
8448 echo "${ECHO_T}$result" >&6; }
8449
8450
8451 enablestring=
8452 defaultval=$wxUSE_ALL_FEATURES
8453 if test -z "$defaultval"; then
8454 if test x"$enablestring" = xdisable; then
8455 defaultval=yes
8456 else
8457 defaultval=no
8458 fi
8459 fi
8460
8461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8462 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8463 # Check whether --enable-xrc was given.
8464 if test "${enable_xrc+set}" = set; then
8465 enableval=$enable_xrc;
8466 if test "$enableval" = yes; then
8467 wx_cv_use_xrc='wxUSE_XRC=yes'
8468 else
8469 wx_cv_use_xrc='wxUSE_XRC=no'
8470 fi
8471
8472 else
8473
8474 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8475
8476 fi
8477
8478
8479 eval "$wx_cv_use_xrc"
8480
8481 if test x"$enablestring" = xdisable; then
8482 if test $wxUSE_XRC = yes; then
8483 result=no
8484 else
8485 result=yes
8486 fi
8487 else
8488 result=$wxUSE_XRC
8489 fi
8490
8491 { echo "$as_me:$LINENO: result: $result" >&5
8492 echo "${ECHO_T}$result" >&6; }
8493
8494
8495 enablestring=
8496 defaultval=$wxUSE_ALL_FEATURES
8497 if test -z "$defaultval"; then
8498 if test x"$enablestring" = xdisable; then
8499 defaultval=yes
8500 else
8501 defaultval=no
8502 fi
8503 fi
8504
8505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8506 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8507 # Check whether --enable-aui was given.
8508 if test "${enable_aui+set}" = set; then
8509 enableval=$enable_aui;
8510 if test "$enableval" = yes; then
8511 wx_cv_use_aui='wxUSE_AUI=yes'
8512 else
8513 wx_cv_use_aui='wxUSE_AUI=no'
8514 fi
8515
8516 else
8517
8518 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8519
8520 fi
8521
8522
8523 eval "$wx_cv_use_aui"
8524
8525 if test x"$enablestring" = xdisable; then
8526 if test $wxUSE_AUI = yes; then
8527 result=no
8528 else
8529 result=yes
8530 fi
8531 else
8532 result=$wxUSE_AUI
8533 fi
8534
8535 { echo "$as_me:$LINENO: result: $result" >&5
8536 echo "${ECHO_T}$result" >&6; }
8537
8538
8539 enablestring=
8540 defaultval=$wxUSE_ALL_FEATURES
8541 if test -z "$defaultval"; then
8542 if test x"$enablestring" = xdisable; then
8543 defaultval=yes
8544 else
8545 defaultval=no
8546 fi
8547 fi
8548
8549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8550 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8551 # Check whether --enable-propgrid was given.
8552 if test "${enable_propgrid+set}" = set; then
8553 enableval=$enable_propgrid;
8554 if test "$enableval" = yes; then
8555 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8556 else
8557 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8558 fi
8559
8560 else
8561
8562 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8563
8564 fi
8565
8566
8567 eval "$wx_cv_use_propgrid"
8568
8569 if test x"$enablestring" = xdisable; then
8570 if test $wxUSE_PROPGRID = yes; then
8571 result=no
8572 else
8573 result=yes
8574 fi
8575 else
8576 result=$wxUSE_PROPGRID
8577 fi
8578
8579 { echo "$as_me:$LINENO: result: $result" >&5
8580 echo "${ECHO_T}$result" >&6; }
8581
8582
8583 enablestring=
8584 defaultval=$wxUSE_ALL_FEATURES
8585 if test -z "$defaultval"; then
8586 if test x"$enablestring" = xdisable; then
8587 defaultval=yes
8588 else
8589 defaultval=no
8590 fi
8591 fi
8592
8593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8595 # Check whether --enable-stc was given.
8596 if test "${enable_stc+set}" = set; then
8597 enableval=$enable_stc;
8598 if test "$enableval" = yes; then
8599 wx_cv_use_stc='wxUSE_STC=yes'
8600 else
8601 wx_cv_use_stc='wxUSE_STC=no'
8602 fi
8603
8604 else
8605
8606 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8607
8608 fi
8609
8610
8611 eval "$wx_cv_use_stc"
8612
8613 if test x"$enablestring" = xdisable; then
8614 if test $wxUSE_STC = yes; then
8615 result=no
8616 else
8617 result=yes
8618 fi
8619 else
8620 result=$wxUSE_STC
8621 fi
8622
8623 { echo "$as_me:$LINENO: result: $result" >&5
8624 echo "${ECHO_T}$result" >&6; }
8625
8626
8627 enablestring=
8628 defaultval=$wxUSE_ALL_FEATURES
8629 if test -z "$defaultval"; then
8630 if test x"$enablestring" = xdisable; then
8631 defaultval=yes
8632 else
8633 defaultval=no
8634 fi
8635 fi
8636
8637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8638 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8639 # Check whether --enable-constraints was given.
8640 if test "${enable_constraints+set}" = set; then
8641 enableval=$enable_constraints;
8642 if test "$enableval" = yes; then
8643 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8644 else
8645 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8646 fi
8647
8648 else
8649
8650 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8651
8652 fi
8653
8654
8655 eval "$wx_cv_use_constraints"
8656
8657 if test x"$enablestring" = xdisable; then
8658 if test $wxUSE_CONSTRAINTS = yes; then
8659 result=no
8660 else
8661 result=yes
8662 fi
8663 else
8664 result=$wxUSE_CONSTRAINTS
8665 fi
8666
8667 { echo "$as_me:$LINENO: result: $result" >&5
8668 echo "${ECHO_T}$result" >&6; }
8669
8670
8671 enablestring=
8672 defaultval=$wxUSE_ALL_FEATURES
8673 if test -z "$defaultval"; then
8674 if test x"$enablestring" = xdisable; then
8675 defaultval=yes
8676 else
8677 defaultval=no
8678 fi
8679 fi
8680
8681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8682 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8683 # Check whether --enable-loggui was given.
8684 if test "${enable_loggui+set}" = set; then
8685 enableval=$enable_loggui;
8686 if test "$enableval" = yes; then
8687 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8688 else
8689 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8690 fi
8691
8692 else
8693
8694 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8695
8696 fi
8697
8698
8699 eval "$wx_cv_use_loggui"
8700
8701 if test x"$enablestring" = xdisable; then
8702 if test $wxUSE_LOGGUI = yes; then
8703 result=no
8704 else
8705 result=yes
8706 fi
8707 else
8708 result=$wxUSE_LOGGUI
8709 fi
8710
8711 { echo "$as_me:$LINENO: result: $result" >&5
8712 echo "${ECHO_T}$result" >&6; }
8713
8714
8715 enablestring=
8716 defaultval=$wxUSE_ALL_FEATURES
8717 if test -z "$defaultval"; then
8718 if test x"$enablestring" = xdisable; then
8719 defaultval=yes
8720 else
8721 defaultval=no
8722 fi
8723 fi
8724
8725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8726 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8727 # Check whether --enable-logwin was given.
8728 if test "${enable_logwin+set}" = set; then
8729 enableval=$enable_logwin;
8730 if test "$enableval" = yes; then
8731 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8732 else
8733 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8734 fi
8735
8736 else
8737
8738 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8739
8740 fi
8741
8742
8743 eval "$wx_cv_use_logwin"
8744
8745 if test x"$enablestring" = xdisable; then
8746 if test $wxUSE_LOGWINDOW = yes; then
8747 result=no
8748 else
8749 result=yes
8750 fi
8751 else
8752 result=$wxUSE_LOGWINDOW
8753 fi
8754
8755 { echo "$as_me:$LINENO: result: $result" >&5
8756 echo "${ECHO_T}$result" >&6; }
8757
8758
8759 enablestring=
8760 defaultval=$wxUSE_ALL_FEATURES
8761 if test -z "$defaultval"; then
8762 if test x"$enablestring" = xdisable; then
8763 defaultval=yes
8764 else
8765 defaultval=no
8766 fi
8767 fi
8768
8769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8770 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8771 # Check whether --enable-logdialog was given.
8772 if test "${enable_logdialog+set}" = set; then
8773 enableval=$enable_logdialog;
8774 if test "$enableval" = yes; then
8775 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8776 else
8777 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8778 fi
8779
8780 else
8781
8782 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8783
8784 fi
8785
8786
8787 eval "$wx_cv_use_logdialog"
8788
8789 if test x"$enablestring" = xdisable; then
8790 if test $wxUSE_LOGDIALOG = yes; then
8791 result=no
8792 else
8793 result=yes
8794 fi
8795 else
8796 result=$wxUSE_LOGDIALOG
8797 fi
8798
8799 { echo "$as_me:$LINENO: result: $result" >&5
8800 echo "${ECHO_T}$result" >&6; }
8801
8802
8803 enablestring=
8804 defaultval=$wxUSE_ALL_FEATURES
8805 if test -z "$defaultval"; then
8806 if test x"$enablestring" = xdisable; then
8807 defaultval=yes
8808 else
8809 defaultval=no
8810 fi
8811 fi
8812
8813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8814 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8815 # Check whether --enable-mdi was given.
8816 if test "${enable_mdi+set}" = set; then
8817 enableval=$enable_mdi;
8818 if test "$enableval" = yes; then
8819 wx_cv_use_mdi='wxUSE_MDI=yes'
8820 else
8821 wx_cv_use_mdi='wxUSE_MDI=no'
8822 fi
8823
8824 else
8825
8826 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8827
8828 fi
8829
8830
8831 eval "$wx_cv_use_mdi"
8832
8833 if test x"$enablestring" = xdisable; then
8834 if test $wxUSE_MDI = yes; then
8835 result=no
8836 else
8837 result=yes
8838 fi
8839 else
8840 result=$wxUSE_MDI
8841 fi
8842
8843 { echo "$as_me:$LINENO: result: $result" >&5
8844 echo "${ECHO_T}$result" >&6; }
8845
8846
8847 enablestring=
8848 defaultval=$wxUSE_ALL_FEATURES
8849 if test -z "$defaultval"; then
8850 if test x"$enablestring" = xdisable; then
8851 defaultval=yes
8852 else
8853 defaultval=no
8854 fi
8855 fi
8856
8857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8858 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8859 # Check whether --enable-mdidoc was given.
8860 if test "${enable_mdidoc+set}" = set; then
8861 enableval=$enable_mdidoc;
8862 if test "$enableval" = yes; then
8863 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8864 else
8865 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8866 fi
8867
8868 else
8869
8870 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8871
8872 fi
8873
8874
8875 eval "$wx_cv_use_mdidoc"
8876
8877 if test x"$enablestring" = xdisable; then
8878 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8879 result=no
8880 else
8881 result=yes
8882 fi
8883 else
8884 result=$wxUSE_MDI_ARCHITECTURE
8885 fi
8886
8887 { echo "$as_me:$LINENO: result: $result" >&5
8888 echo "${ECHO_T}$result" >&6; }
8889
8890
8891 enablestring=
8892 defaultval=$wxUSE_ALL_FEATURES
8893 if test -z "$defaultval"; then
8894 if test x"$enablestring" = xdisable; then
8895 defaultval=yes
8896 else
8897 defaultval=no
8898 fi
8899 fi
8900
8901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8903 # Check whether --enable-mediactrl was given.
8904 if test "${enable_mediactrl+set}" = set; then
8905 enableval=$enable_mediactrl;
8906 if test "$enableval" = yes; then
8907 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8908 else
8909 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8910 fi
8911
8912 else
8913
8914 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8915
8916 fi
8917
8918
8919 eval "$wx_cv_use_mediactrl"
8920
8921 if test x"$enablestring" = xdisable; then
8922 if test $wxUSE_MEDIACTRL = yes; then
8923 result=no
8924 else
8925 result=yes
8926 fi
8927 else
8928 result=$wxUSE_MEDIACTRL
8929 fi
8930
8931 { echo "$as_me:$LINENO: result: $result" >&5
8932 echo "${ECHO_T}$result" >&6; }
8933
8934
8935 enablestring=
8936 defaultval=$wxUSE_ALL_FEATURES
8937 if test -z "$defaultval"; then
8938 if test x"$enablestring" = xdisable; then
8939 defaultval=yes
8940 else
8941 defaultval=no
8942 fi
8943 fi
8944
8945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8946 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8947 # Check whether --enable-gstreamer8 was given.
8948 if test "${enable_gstreamer8+set}" = set; then
8949 enableval=$enable_gstreamer8;
8950 if test "$enableval" = yes; then
8951 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8952 else
8953 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8954 fi
8955
8956 else
8957
8958 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8959
8960 fi
8961
8962
8963 eval "$wx_cv_use_gstreamer8"
8964
8965 if test x"$enablestring" = xdisable; then
8966 if test $wxUSE_GSTREAMER8 = yes; then
8967 result=no
8968 else
8969 result=yes
8970 fi
8971 else
8972 result=$wxUSE_GSTREAMER8
8973 fi
8974
8975 { echo "$as_me:$LINENO: result: $result" >&5
8976 echo "${ECHO_T}$result" >&6; }
8977
8978
8979 enablestring=
8980 defaultval=$wxUSE_ALL_FEATURES
8981 if test -z "$defaultval"; then
8982 if test x"$enablestring" = xdisable; then
8983 defaultval=yes
8984 else
8985 defaultval=no
8986 fi
8987 fi
8988
8989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8990 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8991 # Check whether --enable-webkit was given.
8992 if test "${enable_webkit+set}" = set; then
8993 enableval=$enable_webkit;
8994 if test "$enableval" = yes; then
8995 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8996 else
8997 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8998 fi
8999
9000 else
9001
9002 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9003
9004 fi
9005
9006
9007 eval "$wx_cv_use_webkit"
9008
9009 if test x"$enablestring" = xdisable; then
9010 if test $wxUSE_WEBKIT = yes; then
9011 result=no
9012 else
9013 result=yes
9014 fi
9015 else
9016 result=$wxUSE_WEBKIT
9017 fi
9018
9019 { echo "$as_me:$LINENO: result: $result" >&5
9020 echo "${ECHO_T}$result" >&6; }
9021
9022
9023 enablestring=
9024 defaultval=$wxUSE_ALL_FEATURES
9025 if test -z "$defaultval"; then
9026 if test x"$enablestring" = xdisable; then
9027 defaultval=yes
9028 else
9029 defaultval=no
9030 fi
9031 fi
9032
9033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9035 # Check whether --enable-richtext was given.
9036 if test "${enable_richtext+set}" = set; then
9037 enableval=$enable_richtext;
9038 if test "$enableval" = yes; then
9039 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9040 else
9041 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9042 fi
9043
9044 else
9045
9046 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9047
9048 fi
9049
9050
9051 eval "$wx_cv_use_richtext"
9052
9053 if test x"$enablestring" = xdisable; then
9054 if test $wxUSE_RICHTEXT = yes; then
9055 result=no
9056 else
9057 result=yes
9058 fi
9059 else
9060 result=$wxUSE_RICHTEXT
9061 fi
9062
9063 { echo "$as_me:$LINENO: result: $result" >&5
9064 echo "${ECHO_T}$result" >&6; }
9065
9066
9067 enablestring=
9068 defaultval=$wxUSE_ALL_FEATURES
9069 if test -z "$defaultval"; then
9070 if test x"$enablestring" = xdisable; then
9071 defaultval=yes
9072 else
9073 defaultval=no
9074 fi
9075 fi
9076
9077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9078 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9079 # Check whether --enable-graphics_ctx was given.
9080 if test "${enable_graphics_ctx+set}" = set; then
9081 enableval=$enable_graphics_ctx;
9082 if test "$enableval" = yes; then
9083 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9084 else
9085 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9086 fi
9087
9088 else
9089
9090 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9091
9092 fi
9093
9094
9095 eval "$wx_cv_use_graphics_ctx"
9096
9097 if test x"$enablestring" = xdisable; then
9098 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9099 result=no
9100 else
9101 result=yes
9102 fi
9103 else
9104 result=$wxUSE_GRAPHICS_CONTEXT
9105 fi
9106
9107 { echo "$as_me:$LINENO: result: $result" >&5
9108 echo "${ECHO_T}$result" >&6; }
9109
9110
9111 enablestring=
9112 defaultval=$wxUSE_ALL_FEATURES
9113 if test -z "$defaultval"; then
9114 if test x"$enablestring" = xdisable; then
9115 defaultval=yes
9116 else
9117 defaultval=no
9118 fi
9119 fi
9120
9121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9122 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9123 # Check whether --enable-postscript was given.
9124 if test "${enable_postscript+set}" = set; then
9125 enableval=$enable_postscript;
9126 if test "$enableval" = yes; then
9127 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9128 else
9129 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9130 fi
9131
9132 else
9133
9134 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9135
9136 fi
9137
9138
9139 eval "$wx_cv_use_postscript"
9140
9141 if test x"$enablestring" = xdisable; then
9142 if test $wxUSE_POSTSCRIPT = yes; then
9143 result=no
9144 else
9145 result=yes
9146 fi
9147 else
9148 result=$wxUSE_POSTSCRIPT
9149 fi
9150
9151 { echo "$as_me:$LINENO: result: $result" >&5
9152 echo "${ECHO_T}$result" >&6; }
9153
9154
9155 enablestring=
9156 defaultval=$wxUSE_ALL_FEATURES
9157 if test -z "$defaultval"; then
9158 if test x"$enablestring" = xdisable; then
9159 defaultval=yes
9160 else
9161 defaultval=no
9162 fi
9163 fi
9164
9165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9166 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9167 # Check whether --enable-printarch was given.
9168 if test "${enable_printarch+set}" = set; then
9169 enableval=$enable_printarch;
9170 if test "$enableval" = yes; then
9171 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9172 else
9173 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9174 fi
9175
9176 else
9177
9178 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9179
9180 fi
9181
9182
9183 eval "$wx_cv_use_printarch"
9184
9185 if test x"$enablestring" = xdisable; then
9186 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9187 result=no
9188 else
9189 result=yes
9190 fi
9191 else
9192 result=$wxUSE_PRINTING_ARCHITECTURE
9193 fi
9194
9195 { echo "$as_me:$LINENO: result: $result" >&5
9196 echo "${ECHO_T}$result" >&6; }
9197
9198
9199 enablestring=
9200 defaultval=$wxUSE_ALL_FEATURES
9201 if test -z "$defaultval"; then
9202 if test x"$enablestring" = xdisable; then
9203 defaultval=yes
9204 else
9205 defaultval=no
9206 fi
9207 fi
9208
9209 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9211 # Check whether --enable-svg was given.
9212 if test "${enable_svg+set}" = set; then
9213 enableval=$enable_svg;
9214 if test "$enableval" = yes; then
9215 wx_cv_use_svg='wxUSE_SVG=yes'
9216 else
9217 wx_cv_use_svg='wxUSE_SVG=no'
9218 fi
9219
9220 else
9221
9222 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9223
9224 fi
9225
9226
9227 eval "$wx_cv_use_svg"
9228
9229 if test x"$enablestring" = xdisable; then
9230 if test $wxUSE_SVG = yes; then
9231 result=no
9232 else
9233 result=yes
9234 fi
9235 else
9236 result=$wxUSE_SVG
9237 fi
9238
9239 { echo "$as_me:$LINENO: result: $result" >&5
9240 echo "${ECHO_T}$result" >&6; }
9241
9242
9243
9244
9245 enablestring=
9246 defaultval=$wxUSE_ALL_FEATURES
9247 if test -z "$defaultval"; then
9248 if test x"$enablestring" = xdisable; then
9249 defaultval=yes
9250 else
9251 defaultval=no
9252 fi
9253 fi
9254
9255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9256 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9257 # Check whether --enable-clipboard was given.
9258 if test "${enable_clipboard+set}" = set; then
9259 enableval=$enable_clipboard;
9260 if test "$enableval" = yes; then
9261 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9262 else
9263 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9264 fi
9265
9266 else
9267
9268 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9269
9270 fi
9271
9272
9273 eval "$wx_cv_use_clipboard"
9274
9275 if test x"$enablestring" = xdisable; then
9276 if test $wxUSE_CLIPBOARD = yes; then
9277 result=no
9278 else
9279 result=yes
9280 fi
9281 else
9282 result=$wxUSE_CLIPBOARD
9283 fi
9284
9285 { echo "$as_me:$LINENO: result: $result" >&5
9286 echo "${ECHO_T}$result" >&6; }
9287
9288
9289 enablestring=
9290 defaultval=$wxUSE_ALL_FEATURES
9291 if test -z "$defaultval"; then
9292 if test x"$enablestring" = xdisable; then
9293 defaultval=yes
9294 else
9295 defaultval=no
9296 fi
9297 fi
9298
9299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9300 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9301 # Check whether --enable-dnd was given.
9302 if test "${enable_dnd+set}" = set; then
9303 enableval=$enable_dnd;
9304 if test "$enableval" = yes; then
9305 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9306 else
9307 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9308 fi
9309
9310 else
9311
9312 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9313
9314 fi
9315
9316
9317 eval "$wx_cv_use_dnd"
9318
9319 if test x"$enablestring" = xdisable; then
9320 if test $wxUSE_DRAG_AND_DROP = yes; then
9321 result=no
9322 else
9323 result=yes
9324 fi
9325 else
9326 result=$wxUSE_DRAG_AND_DROP
9327 fi
9328
9329 { echo "$as_me:$LINENO: result: $result" >&5
9330 echo "${ECHO_T}$result" >&6; }
9331
9332
9333 enablestring=
9334 defaultval=$wxUSE_ALL_FEATURES
9335 if test -z "$defaultval"; then
9336 if test x"$enablestring" = xdisable; then
9337 defaultval=yes
9338 else
9339 defaultval=no
9340 fi
9341 fi
9342
9343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9344 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9345 # Check whether --enable-metafile was given.
9346 if test "${enable_metafile+set}" = set; then
9347 enableval=$enable_metafile;
9348 if test "$enableval" = yes; then
9349 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9350 else
9351 wx_cv_use_metafile='wxUSE_METAFILE=no'
9352 fi
9353
9354 else
9355
9356 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9357
9358 fi
9359
9360
9361 eval "$wx_cv_use_metafile"
9362
9363 if test x"$enablestring" = xdisable; then
9364 if test $wxUSE_METAFILE = yes; then
9365 result=no
9366 else
9367 result=yes
9368 fi
9369 else
9370 result=$wxUSE_METAFILE
9371 fi
9372
9373 { echo "$as_me:$LINENO: result: $result" >&5
9374 echo "${ECHO_T}$result" >&6; }
9375
9376
9377
9378 DEFAULT_wxUSE_CONTROLS=none
9379
9380 enablestring=disable
9381 defaultval=
9382 if test -z "$defaultval"; then
9383 if test x"$enablestring" = xdisable; then
9384 defaultval=yes
9385 else
9386 defaultval=no
9387 fi
9388 fi
9389
9390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9391 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9392 # Check whether --enable-controls was given.
9393 if test "${enable_controls+set}" = set; then
9394 enableval=$enable_controls;
9395 if test "$enableval" = yes; then
9396 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9397 else
9398 wx_cv_use_controls='wxUSE_CONTROLS=no'
9399 fi
9400
9401 else
9402
9403 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9404
9405 fi
9406
9407
9408 eval "$wx_cv_use_controls"
9409
9410 if test x"$enablestring" = xdisable; then
9411 if test $wxUSE_CONTROLS = yes; then
9412 result=no
9413 else
9414 result=yes
9415 fi
9416 else
9417 result=$wxUSE_CONTROLS
9418 fi
9419
9420 { echo "$as_me:$LINENO: result: $result" >&5
9421 echo "${ECHO_T}$result" >&6; }
9422
9423
9424 if test "$wxUSE_CONTROLS" = "no"; then
9425 DEFAULT_wxUSE_ACCEL=no
9426 DEFAULT_wxUSE_ANIMATIONCTRL=no
9427 DEFAULT_wxUSE_BMPBUTTON=no
9428 DEFAULT_wxUSE_BUTTON=no
9429 DEFAULT_wxUSE_CALCTRL=no
9430 DEFAULT_wxUSE_CARET=no
9431 DEFAULT_wxUSE_CHECKBOX=no
9432 DEFAULT_wxUSE_CHECKLISTBOX=no
9433 DEFAULT_wxUSE_CHOICE=no
9434 DEFAULT_wxUSE_CHOICEBOOK=no
9435 DEFAULT_wxUSE_COLLPANE=no
9436 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9437 DEFAULT_wxUSE_COMBOBOX=no
9438 DEFAULT_wxUSE_COMBOBOX=no
9439 DEFAULT_wxUSE_DATAVIEWCTRL=no
9440 DEFAULT_wxUSE_DATEPICKCTRL=no
9441 DEFAULT_wxUSE_DETECT_SM=no
9442 DEFAULT_wxUSE_DIRPICKERCTRL=no
9443 DEFAULT_wxUSE_DISPLAY=no
9444 DEFAULT_wxUSE_FILECTRL=no
9445 DEFAULT_wxUSE_FILEPICKERCTRL=no
9446 DEFAULT_wxUSE_FONTPICKERCTRL=no
9447 DEFAULT_wxUSE_GAUGE=no
9448 DEFAULT_wxUSE_GRID=no
9449 DEFAULT_wxUSE_HEADERCTRL=no
9450 DEFAULT_wxUSE_HYPERLINKCTRL=no
9451 DEFAULT_wxUSE_IMAGLIST=no
9452 DEFAULT_wxUSE_LISTBOOK=no
9453 DEFAULT_wxUSE_LISTBOX=no
9454 DEFAULT_wxUSE_LISTCTRL=no
9455 DEFAULT_wxUSE_NOTEBOOK=no
9456 DEFAULT_wxUSE_POPUPWIN=no
9457 DEFAULT_wxUSE_RADIOBOX=no
9458 DEFAULT_wxUSE_RADIOBTN=no
9459 DEFAULT_wxUSE_REARRANGECTRL=no
9460 DEFAULT_wxUSE_SASH=no
9461 DEFAULT_wxUSE_SCROLLBAR=no
9462 DEFAULT_wxUSE_SEARCHCTRL=no
9463 DEFAULT_wxUSE_SLIDER=no
9464 DEFAULT_wxUSE_SPINBTN=no
9465 DEFAULT_wxUSE_SPINCTRL=no
9466 DEFAULT_wxUSE_SPLITTER=no
9467 DEFAULT_wxUSE_STATBMP=no
9468 DEFAULT_wxUSE_STATBOX=no
9469 DEFAULT_wxUSE_STATLINE=no
9470 DEFAULT_wxUSE_STATUSBAR=no
9471 DEFAULT_wxUSE_TIPWINDOW=no
9472 DEFAULT_wxUSE_TOGGLEBTN=no
9473 DEFAULT_wxUSE_TOOLBAR=no
9474 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9475 DEFAULT_wxUSE_TOOLBOOK=no
9476 DEFAULT_wxUSE_TOOLTIPS=no
9477 DEFAULT_wxUSE_TREEBOOK=no
9478 DEFAULT_wxUSE_TREECTRL=no
9479 fi
9480
9481
9482 enablestring=
9483 defaultval=$wxUSE_ALL_FEATURES
9484 if test -z "$defaultval"; then
9485 if test x"$enablestring" = xdisable; then
9486 defaultval=yes
9487 else
9488 defaultval=no
9489 fi
9490 fi
9491
9492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9493 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9494 # Check whether --enable-accel was given.
9495 if test "${enable_accel+set}" = set; then
9496 enableval=$enable_accel;
9497 if test "$enableval" = yes; then
9498 wx_cv_use_accel='wxUSE_ACCEL=yes'
9499 else
9500 wx_cv_use_accel='wxUSE_ACCEL=no'
9501 fi
9502
9503 else
9504
9505 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9506
9507 fi
9508
9509
9510 eval "$wx_cv_use_accel"
9511
9512 if test x"$enablestring" = xdisable; then
9513 if test $wxUSE_ACCEL = yes; then
9514 result=no
9515 else
9516 result=yes
9517 fi
9518 else
9519 result=$wxUSE_ACCEL
9520 fi
9521
9522 { echo "$as_me:$LINENO: result: $result" >&5
9523 echo "${ECHO_T}$result" >&6; }
9524
9525
9526 enablestring=
9527 defaultval=$wxUSE_ALL_FEATURES
9528 if test -z "$defaultval"; then
9529 if test x"$enablestring" = xdisable; then
9530 defaultval=yes
9531 else
9532 defaultval=no
9533 fi
9534 fi
9535
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9538 # Check whether --enable-animatectrl was given.
9539 if test "${enable_animatectrl+set}" = set; then
9540 enableval=$enable_animatectrl;
9541 if test "$enableval" = yes; then
9542 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9543 else
9544 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9545 fi
9546
9547 else
9548
9549 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9550
9551 fi
9552
9553
9554 eval "$wx_cv_use_animatectrl"
9555
9556 if test x"$enablestring" = xdisable; then
9557 if test $wxUSE_ANIMATIONCTRL = yes; then
9558 result=no
9559 else
9560 result=yes
9561 fi
9562 else
9563 result=$wxUSE_ANIMATIONCTRL
9564 fi
9565
9566 { echo "$as_me:$LINENO: result: $result" >&5
9567 echo "${ECHO_T}$result" >&6; }
9568
9569
9570 enablestring=
9571 defaultval=$wxUSE_ALL_FEATURES
9572 if test -z "$defaultval"; then
9573 if test x"$enablestring" = xdisable; then
9574 defaultval=yes
9575 else
9576 defaultval=no
9577 fi
9578 fi
9579
9580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9581 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9582 # Check whether --enable-bmpbutton was given.
9583 if test "${enable_bmpbutton+set}" = set; then
9584 enableval=$enable_bmpbutton;
9585 if test "$enableval" = yes; then
9586 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9587 else
9588 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9589 fi
9590
9591 else
9592
9593 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9594
9595 fi
9596
9597
9598 eval "$wx_cv_use_bmpbutton"
9599
9600 if test x"$enablestring" = xdisable; then
9601 if test $wxUSE_BMPBUTTON = yes; then
9602 result=no
9603 else
9604 result=yes
9605 fi
9606 else
9607 result=$wxUSE_BMPBUTTON
9608 fi
9609
9610 { echo "$as_me:$LINENO: result: $result" >&5
9611 echo "${ECHO_T}$result" >&6; }
9612
9613
9614 enablestring=
9615 defaultval=$wxUSE_ALL_FEATURES
9616 if test -z "$defaultval"; then
9617 if test x"$enablestring" = xdisable; then
9618 defaultval=yes
9619 else
9620 defaultval=no
9621 fi
9622 fi
9623
9624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9625 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9626 # Check whether --enable-bmpcombobox was given.
9627 if test "${enable_bmpcombobox+set}" = set; then
9628 enableval=$enable_bmpcombobox;
9629 if test "$enableval" = yes; then
9630 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9631 else
9632 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9633 fi
9634
9635 else
9636
9637 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9638
9639 fi
9640
9641
9642 eval "$wx_cv_use_bmpcombobox"
9643
9644 if test x"$enablestring" = xdisable; then
9645 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9646 result=no
9647 else
9648 result=yes
9649 fi
9650 else
9651 result=$wxUSE_BITMAPCOMBOBOX
9652 fi
9653
9654 { echo "$as_me:$LINENO: result: $result" >&5
9655 echo "${ECHO_T}$result" >&6; }
9656
9657
9658 enablestring=
9659 defaultval=$wxUSE_ALL_FEATURES
9660 if test -z "$defaultval"; then
9661 if test x"$enablestring" = xdisable; then
9662 defaultval=yes
9663 else
9664 defaultval=no
9665 fi
9666 fi
9667
9668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9669 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9670 # Check whether --enable-button was given.
9671 if test "${enable_button+set}" = set; then
9672 enableval=$enable_button;
9673 if test "$enableval" = yes; then
9674 wx_cv_use_button='wxUSE_BUTTON=yes'
9675 else
9676 wx_cv_use_button='wxUSE_BUTTON=no'
9677 fi
9678
9679 else
9680
9681 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9682
9683 fi
9684
9685
9686 eval "$wx_cv_use_button"
9687
9688 if test x"$enablestring" = xdisable; then
9689 if test $wxUSE_BUTTON = yes; then
9690 result=no
9691 else
9692 result=yes
9693 fi
9694 else
9695 result=$wxUSE_BUTTON
9696 fi
9697
9698 { echo "$as_me:$LINENO: result: $result" >&5
9699 echo "${ECHO_T}$result" >&6; }
9700
9701
9702 enablestring=
9703 defaultval=$wxUSE_ALL_FEATURES
9704 if test -z "$defaultval"; then
9705 if test x"$enablestring" = xdisable; then
9706 defaultval=yes
9707 else
9708 defaultval=no
9709 fi
9710 fi
9711
9712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9713 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9714 # Check whether --enable-calendar was given.
9715 if test "${enable_calendar+set}" = set; then
9716 enableval=$enable_calendar;
9717 if test "$enableval" = yes; then
9718 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9719 else
9720 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9721 fi
9722
9723 else
9724
9725 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9726
9727 fi
9728
9729
9730 eval "$wx_cv_use_calendar"
9731
9732 if test x"$enablestring" = xdisable; then
9733 if test $wxUSE_CALCTRL = yes; then
9734 result=no
9735 else
9736 result=yes
9737 fi
9738 else
9739 result=$wxUSE_CALCTRL
9740 fi
9741
9742 { echo "$as_me:$LINENO: result: $result" >&5
9743 echo "${ECHO_T}$result" >&6; }
9744
9745
9746 enablestring=
9747 defaultval=$wxUSE_ALL_FEATURES
9748 if test -z "$defaultval"; then
9749 if test x"$enablestring" = xdisable; then
9750 defaultval=yes
9751 else
9752 defaultval=no
9753 fi
9754 fi
9755
9756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9757 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9758 # Check whether --enable-caret was given.
9759 if test "${enable_caret+set}" = set; then
9760 enableval=$enable_caret;
9761 if test "$enableval" = yes; then
9762 wx_cv_use_caret='wxUSE_CARET=yes'
9763 else
9764 wx_cv_use_caret='wxUSE_CARET=no'
9765 fi
9766
9767 else
9768
9769 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9770
9771 fi
9772
9773
9774 eval "$wx_cv_use_caret"
9775
9776 if test x"$enablestring" = xdisable; then
9777 if test $wxUSE_CARET = yes; then
9778 result=no
9779 else
9780 result=yes
9781 fi
9782 else
9783 result=$wxUSE_CARET
9784 fi
9785
9786 { echo "$as_me:$LINENO: result: $result" >&5
9787 echo "${ECHO_T}$result" >&6; }
9788
9789
9790 enablestring=
9791 defaultval=$wxUSE_ALL_FEATURES
9792 if test -z "$defaultval"; then
9793 if test x"$enablestring" = xdisable; then
9794 defaultval=yes
9795 else
9796 defaultval=no
9797 fi
9798 fi
9799
9800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9801 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9802 # Check whether --enable-checkbox was given.
9803 if test "${enable_checkbox+set}" = set; then
9804 enableval=$enable_checkbox;
9805 if test "$enableval" = yes; then
9806 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9807 else
9808 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9809 fi
9810
9811 else
9812
9813 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9814
9815 fi
9816
9817
9818 eval "$wx_cv_use_checkbox"
9819
9820 if test x"$enablestring" = xdisable; then
9821 if test $wxUSE_CHECKBOX = yes; then
9822 result=no
9823 else
9824 result=yes
9825 fi
9826 else
9827 result=$wxUSE_CHECKBOX
9828 fi
9829
9830 { echo "$as_me:$LINENO: result: $result" >&5
9831 echo "${ECHO_T}$result" >&6; }
9832
9833
9834 enablestring=
9835 defaultval=$wxUSE_ALL_FEATURES
9836 if test -z "$defaultval"; then
9837 if test x"$enablestring" = xdisable; then
9838 defaultval=yes
9839 else
9840 defaultval=no
9841 fi
9842 fi
9843
9844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9846 # Check whether --enable-checklst was given.
9847 if test "${enable_checklst+set}" = set; then
9848 enableval=$enable_checklst;
9849 if test "$enableval" = yes; then
9850 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9851 else
9852 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9853 fi
9854
9855 else
9856
9857 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9858
9859 fi
9860
9861
9862 eval "$wx_cv_use_checklst"
9863
9864 if test x"$enablestring" = xdisable; then
9865 if test $wxUSE_CHECKLST = yes; then
9866 result=no
9867 else
9868 result=yes
9869 fi
9870 else
9871 result=$wxUSE_CHECKLST
9872 fi
9873
9874 { echo "$as_me:$LINENO: result: $result" >&5
9875 echo "${ECHO_T}$result" >&6; }
9876
9877
9878 enablestring=
9879 defaultval=$wxUSE_ALL_FEATURES
9880 if test -z "$defaultval"; then
9881 if test x"$enablestring" = xdisable; then
9882 defaultval=yes
9883 else
9884 defaultval=no
9885 fi
9886 fi
9887
9888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9890 # Check whether --enable-choice was given.
9891 if test "${enable_choice+set}" = set; then
9892 enableval=$enable_choice;
9893 if test "$enableval" = yes; then
9894 wx_cv_use_choice='wxUSE_CHOICE=yes'
9895 else
9896 wx_cv_use_choice='wxUSE_CHOICE=no'
9897 fi
9898
9899 else
9900
9901 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9902
9903 fi
9904
9905
9906 eval "$wx_cv_use_choice"
9907
9908 if test x"$enablestring" = xdisable; then
9909 if test $wxUSE_CHOICE = yes; then
9910 result=no
9911 else
9912 result=yes
9913 fi
9914 else
9915 result=$wxUSE_CHOICE
9916 fi
9917
9918 { echo "$as_me:$LINENO: result: $result" >&5
9919 echo "${ECHO_T}$result" >&6; }
9920
9921
9922 enablestring=
9923 defaultval=$wxUSE_ALL_FEATURES
9924 if test -z "$defaultval"; then
9925 if test x"$enablestring" = xdisable; then
9926 defaultval=yes
9927 else
9928 defaultval=no
9929 fi
9930 fi
9931
9932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9933 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9934 # Check whether --enable-choicebook was given.
9935 if test "${enable_choicebook+set}" = set; then
9936 enableval=$enable_choicebook;
9937 if test "$enableval" = yes; then
9938 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9939 else
9940 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9941 fi
9942
9943 else
9944
9945 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9946
9947 fi
9948
9949
9950 eval "$wx_cv_use_choicebook"
9951
9952 if test x"$enablestring" = xdisable; then
9953 if test $wxUSE_CHOICEBOOK = yes; then
9954 result=no
9955 else
9956 result=yes
9957 fi
9958 else
9959 result=$wxUSE_CHOICEBOOK
9960 fi
9961
9962 { echo "$as_me:$LINENO: result: $result" >&5
9963 echo "${ECHO_T}$result" >&6; }
9964
9965
9966 enablestring=
9967 defaultval=$wxUSE_ALL_FEATURES
9968 if test -z "$defaultval"; then
9969 if test x"$enablestring" = xdisable; then
9970 defaultval=yes
9971 else
9972 defaultval=no
9973 fi
9974 fi
9975
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9978 # Check whether --enable-collpane was given.
9979 if test "${enable_collpane+set}" = set; then
9980 enableval=$enable_collpane;
9981 if test "$enableval" = yes; then
9982 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9983 else
9984 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9985 fi
9986
9987 else
9988
9989 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9990
9991 fi
9992
9993
9994 eval "$wx_cv_use_collpane"
9995
9996 if test x"$enablestring" = xdisable; then
9997 if test $wxUSE_COLLPANE = yes; then
9998 result=no
9999 else
10000 result=yes
10001 fi
10002 else
10003 result=$wxUSE_COLLPANE
10004 fi
10005
10006 { echo "$as_me:$LINENO: result: $result" >&5
10007 echo "${ECHO_T}$result" >&6; }
10008
10009
10010 enablestring=
10011 defaultval=$wxUSE_ALL_FEATURES
10012 if test -z "$defaultval"; then
10013 if test x"$enablestring" = xdisable; then
10014 defaultval=yes
10015 else
10016 defaultval=no
10017 fi
10018 fi
10019
10020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10021 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10022 # Check whether --enable-colourpicker was given.
10023 if test "${enable_colourpicker+set}" = set; then
10024 enableval=$enable_colourpicker;
10025 if test "$enableval" = yes; then
10026 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10027 else
10028 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10029 fi
10030
10031 else
10032
10033 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10034
10035 fi
10036
10037
10038 eval "$wx_cv_use_colourpicker"
10039
10040 if test x"$enablestring" = xdisable; then
10041 if test $wxUSE_COLOURPICKERCTRL = yes; then
10042 result=no
10043 else
10044 result=yes
10045 fi
10046 else
10047 result=$wxUSE_COLOURPICKERCTRL
10048 fi
10049
10050 { echo "$as_me:$LINENO: result: $result" >&5
10051 echo "${ECHO_T}$result" >&6; }
10052
10053
10054 enablestring=
10055 defaultval=$wxUSE_ALL_FEATURES
10056 if test -z "$defaultval"; then
10057 if test x"$enablestring" = xdisable; then
10058 defaultval=yes
10059 else
10060 defaultval=no
10061 fi
10062 fi
10063
10064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10065 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10066 # Check whether --enable-combobox was given.
10067 if test "${enable_combobox+set}" = set; then
10068 enableval=$enable_combobox;
10069 if test "$enableval" = yes; then
10070 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10071 else
10072 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10073 fi
10074
10075 else
10076
10077 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10078
10079 fi
10080
10081
10082 eval "$wx_cv_use_combobox"
10083
10084 if test x"$enablestring" = xdisable; then
10085 if test $wxUSE_COMBOBOX = yes; then
10086 result=no
10087 else
10088 result=yes
10089 fi
10090 else
10091 result=$wxUSE_COMBOBOX
10092 fi
10093
10094 { echo "$as_me:$LINENO: result: $result" >&5
10095 echo "${ECHO_T}$result" >&6; }
10096
10097
10098 enablestring=
10099 defaultval=$wxUSE_ALL_FEATURES
10100 if test -z "$defaultval"; then
10101 if test x"$enablestring" = xdisable; then
10102 defaultval=yes
10103 else
10104 defaultval=no
10105 fi
10106 fi
10107
10108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10110 # Check whether --enable-comboctrl was given.
10111 if test "${enable_comboctrl+set}" = set; then
10112 enableval=$enable_comboctrl;
10113 if test "$enableval" = yes; then
10114 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10115 else
10116 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10117 fi
10118
10119 else
10120
10121 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10122
10123 fi
10124
10125
10126 eval "$wx_cv_use_comboctrl"
10127
10128 if test x"$enablestring" = xdisable; then
10129 if test $wxUSE_COMBOCTRL = yes; then
10130 result=no
10131 else
10132 result=yes
10133 fi
10134 else
10135 result=$wxUSE_COMBOCTRL
10136 fi
10137
10138 { echo "$as_me:$LINENO: result: $result" >&5
10139 echo "${ECHO_T}$result" >&6; }
10140
10141
10142 enablestring=
10143 defaultval=$wxUSE_ALL_FEATURES
10144 if test -z "$defaultval"; then
10145 if test x"$enablestring" = xdisable; then
10146 defaultval=yes
10147 else
10148 defaultval=no
10149 fi
10150 fi
10151
10152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10154 # Check whether --enable-dataviewctrl was given.
10155 if test "${enable_dataviewctrl+set}" = set; then
10156 enableval=$enable_dataviewctrl;
10157 if test "$enableval" = yes; then
10158 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10159 else
10160 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10161 fi
10162
10163 else
10164
10165 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10166
10167 fi
10168
10169
10170 eval "$wx_cv_use_dataviewctrl"
10171
10172 if test x"$enablestring" = xdisable; then
10173 if test $wxUSE_DATAVIEWCTRL = yes; then
10174 result=no
10175 else
10176 result=yes
10177 fi
10178 else
10179 result=$wxUSE_DATAVIEWCTRL
10180 fi
10181
10182 { echo "$as_me:$LINENO: result: $result" >&5
10183 echo "${ECHO_T}$result" >&6; }
10184
10185
10186 enablestring=
10187 defaultval=$wxUSE_ALL_FEATURES
10188 if test -z "$defaultval"; then
10189 if test x"$enablestring" = xdisable; then
10190 defaultval=yes
10191 else
10192 defaultval=no
10193 fi
10194 fi
10195
10196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10198 # Check whether --enable-datepick was given.
10199 if test "${enable_datepick+set}" = set; then
10200 enableval=$enable_datepick;
10201 if test "$enableval" = yes; then
10202 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10203 else
10204 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10205 fi
10206
10207 else
10208
10209 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10210
10211 fi
10212
10213
10214 eval "$wx_cv_use_datepick"
10215
10216 if test x"$enablestring" = xdisable; then
10217 if test $wxUSE_DATEPICKCTRL = yes; then
10218 result=no
10219 else
10220 result=yes
10221 fi
10222 else
10223 result=$wxUSE_DATEPICKCTRL
10224 fi
10225
10226 { echo "$as_me:$LINENO: result: $result" >&5
10227 echo "${ECHO_T}$result" >&6; }
10228
10229
10230 enablestring=
10231 defaultval=$wxUSE_ALL_FEATURES
10232 if test -z "$defaultval"; then
10233 if test x"$enablestring" = xdisable; then
10234 defaultval=yes
10235 else
10236 defaultval=no
10237 fi
10238 fi
10239
10240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10241 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10242 # Check whether --enable-detect_sm was given.
10243 if test "${enable_detect_sm+set}" = set; then
10244 enableval=$enable_detect_sm;
10245 if test "$enableval" = yes; then
10246 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10247 else
10248 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10249 fi
10250
10251 else
10252
10253 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10254
10255 fi
10256
10257
10258 eval "$wx_cv_use_detect_sm"
10259
10260 if test x"$enablestring" = xdisable; then
10261 if test $wxUSE_DETECT_SM = yes; then
10262 result=no
10263 else
10264 result=yes
10265 fi
10266 else
10267 result=$wxUSE_DETECT_SM
10268 fi
10269
10270 { echo "$as_me:$LINENO: result: $result" >&5
10271 echo "${ECHO_T}$result" >&6; }
10272
10273
10274 enablestring=
10275 defaultval=$wxUSE_ALL_FEATURES
10276 if test -z "$defaultval"; then
10277 if test x"$enablestring" = xdisable; then
10278 defaultval=yes
10279 else
10280 defaultval=no
10281 fi
10282 fi
10283
10284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10285 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10286 # Check whether --enable-dirpicker was given.
10287 if test "${enable_dirpicker+set}" = set; then
10288 enableval=$enable_dirpicker;
10289 if test "$enableval" = yes; then
10290 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10291 else
10292 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10293 fi
10294
10295 else
10296
10297 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10298
10299 fi
10300
10301
10302 eval "$wx_cv_use_dirpicker"
10303
10304 if test x"$enablestring" = xdisable; then
10305 if test $wxUSE_DIRPICKERCTRL = yes; then
10306 result=no
10307 else
10308 result=yes
10309 fi
10310 else
10311 result=$wxUSE_DIRPICKERCTRL
10312 fi
10313
10314 { echo "$as_me:$LINENO: result: $result" >&5
10315 echo "${ECHO_T}$result" >&6; }
10316
10317
10318 enablestring=
10319 defaultval=$wxUSE_ALL_FEATURES
10320 if test -z "$defaultval"; then
10321 if test x"$enablestring" = xdisable; then
10322 defaultval=yes
10323 else
10324 defaultval=no
10325 fi
10326 fi
10327
10328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10330 # Check whether --enable-display was given.
10331 if test "${enable_display+set}" = set; then
10332 enableval=$enable_display;
10333 if test "$enableval" = yes; then
10334 wx_cv_use_display='wxUSE_DISPLAY=yes'
10335 else
10336 wx_cv_use_display='wxUSE_DISPLAY=no'
10337 fi
10338
10339 else
10340
10341 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10342
10343 fi
10344
10345
10346 eval "$wx_cv_use_display"
10347
10348 if test x"$enablestring" = xdisable; then
10349 if test $wxUSE_DISPLAY = yes; then
10350 result=no
10351 else
10352 result=yes
10353 fi
10354 else
10355 result=$wxUSE_DISPLAY
10356 fi
10357
10358 { echo "$as_me:$LINENO: result: $result" >&5
10359 echo "${ECHO_T}$result" >&6; }
10360
10361
10362 enablestring=
10363 defaultval=$wxUSE_ALL_FEATURES
10364 if test -z "$defaultval"; then
10365 if test x"$enablestring" = xdisable; then
10366 defaultval=yes
10367 else
10368 defaultval=no
10369 fi
10370 fi
10371
10372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10374 # Check whether --enable-editablebox was given.
10375 if test "${enable_editablebox+set}" = set; then
10376 enableval=$enable_editablebox;
10377 if test "$enableval" = yes; then
10378 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10379 else
10380 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10381 fi
10382
10383 else
10384
10385 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10386
10387 fi
10388
10389
10390 eval "$wx_cv_use_editablebox"
10391
10392 if test x"$enablestring" = xdisable; then
10393 if test $wxUSE_EDITABLELISTBOX = yes; then
10394 result=no
10395 else
10396 result=yes
10397 fi
10398 else
10399 result=$wxUSE_EDITABLELISTBOX
10400 fi
10401
10402 { echo "$as_me:$LINENO: result: $result" >&5
10403 echo "${ECHO_T}$result" >&6; }
10404
10405
10406 enablestring=
10407 defaultval=$wxUSE_ALL_FEATURES
10408 if test -z "$defaultval"; then
10409 if test x"$enablestring" = xdisable; then
10410 defaultval=yes
10411 else
10412 defaultval=no
10413 fi
10414 fi
10415
10416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10417 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10418 # Check whether --enable-filectrl was given.
10419 if test "${enable_filectrl+set}" = set; then
10420 enableval=$enable_filectrl;
10421 if test "$enableval" = yes; then
10422 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10423 else
10424 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10425 fi
10426
10427 else
10428
10429 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10430
10431 fi
10432
10433
10434 eval "$wx_cv_use_filectrl"
10435
10436 if test x"$enablestring" = xdisable; then
10437 if test $wxUSE_FILECTRL = yes; then
10438 result=no
10439 else
10440 result=yes
10441 fi
10442 else
10443 result=$wxUSE_FILECTRL
10444 fi
10445
10446 { echo "$as_me:$LINENO: result: $result" >&5
10447 echo "${ECHO_T}$result" >&6; }
10448
10449
10450 enablestring=
10451 defaultval=$wxUSE_ALL_FEATURES
10452 if test -z "$defaultval"; then
10453 if test x"$enablestring" = xdisable; then
10454 defaultval=yes
10455 else
10456 defaultval=no
10457 fi
10458 fi
10459
10460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10461 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10462 # Check whether --enable-filepicker was given.
10463 if test "${enable_filepicker+set}" = set; then
10464 enableval=$enable_filepicker;
10465 if test "$enableval" = yes; then
10466 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10467 else
10468 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10469 fi
10470
10471 else
10472
10473 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10474
10475 fi
10476
10477
10478 eval "$wx_cv_use_filepicker"
10479
10480 if test x"$enablestring" = xdisable; then
10481 if test $wxUSE_FILEPICKERCTRL = yes; then
10482 result=no
10483 else
10484 result=yes
10485 fi
10486 else
10487 result=$wxUSE_FILEPICKERCTRL
10488 fi
10489
10490 { echo "$as_me:$LINENO: result: $result" >&5
10491 echo "${ECHO_T}$result" >&6; }
10492
10493
10494 enablestring=
10495 defaultval=$wxUSE_ALL_FEATURES
10496 if test -z "$defaultval"; then
10497 if test x"$enablestring" = xdisable; then
10498 defaultval=yes
10499 else
10500 defaultval=no
10501 fi
10502 fi
10503
10504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10505 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10506 # Check whether --enable-fontpicker was given.
10507 if test "${enable_fontpicker+set}" = set; then
10508 enableval=$enable_fontpicker;
10509 if test "$enableval" = yes; then
10510 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10511 else
10512 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10513 fi
10514
10515 else
10516
10517 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10518
10519 fi
10520
10521
10522 eval "$wx_cv_use_fontpicker"
10523
10524 if test x"$enablestring" = xdisable; then
10525 if test $wxUSE_FONTPICKERCTRL = yes; then
10526 result=no
10527 else
10528 result=yes
10529 fi
10530 else
10531 result=$wxUSE_FONTPICKERCTRL
10532 fi
10533
10534 { echo "$as_me:$LINENO: result: $result" >&5
10535 echo "${ECHO_T}$result" >&6; }
10536
10537
10538 enablestring=
10539 defaultval=$wxUSE_ALL_FEATURES
10540 if test -z "$defaultval"; then
10541 if test x"$enablestring" = xdisable; then
10542 defaultval=yes
10543 else
10544 defaultval=no
10545 fi
10546 fi
10547
10548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10549 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10550 # Check whether --enable-gauge was given.
10551 if test "${enable_gauge+set}" = set; then
10552 enableval=$enable_gauge;
10553 if test "$enableval" = yes; then
10554 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10555 else
10556 wx_cv_use_gauge='wxUSE_GAUGE=no'
10557 fi
10558
10559 else
10560
10561 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10562
10563 fi
10564
10565
10566 eval "$wx_cv_use_gauge"
10567
10568 if test x"$enablestring" = xdisable; then
10569 if test $wxUSE_GAUGE = yes; then
10570 result=no
10571 else
10572 result=yes
10573 fi
10574 else
10575 result=$wxUSE_GAUGE
10576 fi
10577
10578 { echo "$as_me:$LINENO: result: $result" >&5
10579 echo "${ECHO_T}$result" >&6; }
10580
10581
10582 enablestring=
10583 defaultval=$wxUSE_ALL_FEATURES
10584 if test -z "$defaultval"; then
10585 if test x"$enablestring" = xdisable; then
10586 defaultval=yes
10587 else
10588 defaultval=no
10589 fi
10590 fi
10591
10592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10593 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10594 # Check whether --enable-grid was given.
10595 if test "${enable_grid+set}" = set; then
10596 enableval=$enable_grid;
10597 if test "$enableval" = yes; then
10598 wx_cv_use_grid='wxUSE_GRID=yes'
10599 else
10600 wx_cv_use_grid='wxUSE_GRID=no'
10601 fi
10602
10603 else
10604
10605 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10606
10607 fi
10608
10609
10610 eval "$wx_cv_use_grid"
10611
10612 if test x"$enablestring" = xdisable; then
10613 if test $wxUSE_GRID = yes; then
10614 result=no
10615 else
10616 result=yes
10617 fi
10618 else
10619 result=$wxUSE_GRID
10620 fi
10621
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10624
10625
10626 enablestring=
10627 defaultval=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x"$enablestring" = xdisable; then
10630 defaultval=yes
10631 else
10632 defaultval=no
10633 fi
10634 fi
10635
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
10638 # Check whether --enable-headerctrl was given.
10639 if test "${enable_headerctrl+set}" = set; then
10640 enableval=$enable_headerctrl;
10641 if test "$enableval" = yes; then
10642 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
10643 else
10644 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
10645 fi
10646
10647 else
10648
10649 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
10650
10651 fi
10652
10653
10654 eval "$wx_cv_use_headerctrl"
10655
10656 if test x"$enablestring" = xdisable; then
10657 if test $wxUSE_HEADERCTRL = yes; then
10658 result=no
10659 else
10660 result=yes
10661 fi
10662 else
10663 result=$wxUSE_HEADERCTRL
10664 fi
10665
10666 { echo "$as_me:$LINENO: result: $result" >&5
10667 echo "${ECHO_T}$result" >&6; }
10668
10669
10670 enablestring=
10671 defaultval=$wxUSE_ALL_FEATURES
10672 if test -z "$defaultval"; then
10673 if test x"$enablestring" = xdisable; then
10674 defaultval=yes
10675 else
10676 defaultval=no
10677 fi
10678 fi
10679
10680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10682 # Check whether --enable-hyperlink was given.
10683 if test "${enable_hyperlink+set}" = set; then
10684 enableval=$enable_hyperlink;
10685 if test "$enableval" = yes; then
10686 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10687 else
10688 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10689 fi
10690
10691 else
10692
10693 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10694
10695 fi
10696
10697
10698 eval "$wx_cv_use_hyperlink"
10699
10700 if test x"$enablestring" = xdisable; then
10701 if test $wxUSE_HYPERLINKCTRL = yes; then
10702 result=no
10703 else
10704 result=yes
10705 fi
10706 else
10707 result=$wxUSE_HYPERLINKCTRL
10708 fi
10709
10710 { echo "$as_me:$LINENO: result: $result" >&5
10711 echo "${ECHO_T}$result" >&6; }
10712
10713
10714 enablestring=
10715 defaultval=$wxUSE_ALL_FEATURES
10716 if test -z "$defaultval"; then
10717 if test x"$enablestring" = xdisable; then
10718 defaultval=yes
10719 else
10720 defaultval=no
10721 fi
10722 fi
10723
10724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10725 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10726 # Check whether --enable-imaglist was given.
10727 if test "${enable_imaglist+set}" = set; then
10728 enableval=$enable_imaglist;
10729 if test "$enableval" = yes; then
10730 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10731 else
10732 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10733 fi
10734
10735 else
10736
10737 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10738
10739 fi
10740
10741
10742 eval "$wx_cv_use_imaglist"
10743
10744 if test x"$enablestring" = xdisable; then
10745 if test $wxUSE_IMAGLIST = yes; then
10746 result=no
10747 else
10748 result=yes
10749 fi
10750 else
10751 result=$wxUSE_IMAGLIST
10752 fi
10753
10754 { echo "$as_me:$LINENO: result: $result" >&5
10755 echo "${ECHO_T}$result" >&6; }
10756
10757
10758 enablestring=
10759 defaultval=$wxUSE_ALL_FEATURES
10760 if test -z "$defaultval"; then
10761 if test x"$enablestring" = xdisable; then
10762 defaultval=yes
10763 else
10764 defaultval=no
10765 fi
10766 fi
10767
10768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10769 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10770 # Check whether --enable-listbook was given.
10771 if test "${enable_listbook+set}" = set; then
10772 enableval=$enable_listbook;
10773 if test "$enableval" = yes; then
10774 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10775 else
10776 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10777 fi
10778
10779 else
10780
10781 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10782
10783 fi
10784
10785
10786 eval "$wx_cv_use_listbook"
10787
10788 if test x"$enablestring" = xdisable; then
10789 if test $wxUSE_LISTBOOK = yes; then
10790 result=no
10791 else
10792 result=yes
10793 fi
10794 else
10795 result=$wxUSE_LISTBOOK
10796 fi
10797
10798 { echo "$as_me:$LINENO: result: $result" >&5
10799 echo "${ECHO_T}$result" >&6; }
10800
10801
10802 enablestring=
10803 defaultval=$wxUSE_ALL_FEATURES
10804 if test -z "$defaultval"; then
10805 if test x"$enablestring" = xdisable; then
10806 defaultval=yes
10807 else
10808 defaultval=no
10809 fi
10810 fi
10811
10812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10813 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10814 # Check whether --enable-listbox was given.
10815 if test "${enable_listbox+set}" = set; then
10816 enableval=$enable_listbox;
10817 if test "$enableval" = yes; then
10818 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10819 else
10820 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10821 fi
10822
10823 else
10824
10825 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10826
10827 fi
10828
10829
10830 eval "$wx_cv_use_listbox"
10831
10832 if test x"$enablestring" = xdisable; then
10833 if test $wxUSE_LISTBOX = yes; then
10834 result=no
10835 else
10836 result=yes
10837 fi
10838 else
10839 result=$wxUSE_LISTBOX
10840 fi
10841
10842 { echo "$as_me:$LINENO: result: $result" >&5
10843 echo "${ECHO_T}$result" >&6; }
10844
10845
10846 enablestring=
10847 defaultval=$wxUSE_ALL_FEATURES
10848 if test -z "$defaultval"; then
10849 if test x"$enablestring" = xdisable; then
10850 defaultval=yes
10851 else
10852 defaultval=no
10853 fi
10854 fi
10855
10856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10858 # Check whether --enable-listctrl was given.
10859 if test "${enable_listctrl+set}" = set; then
10860 enableval=$enable_listctrl;
10861 if test "$enableval" = yes; then
10862 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10863 else
10864 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10865 fi
10866
10867 else
10868
10869 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10870
10871 fi
10872
10873
10874 eval "$wx_cv_use_listctrl"
10875
10876 if test x"$enablestring" = xdisable; then
10877 if test $wxUSE_LISTCTRL = yes; then
10878 result=no
10879 else
10880 result=yes
10881 fi
10882 else
10883 result=$wxUSE_LISTCTRL
10884 fi
10885
10886 { echo "$as_me:$LINENO: result: $result" >&5
10887 echo "${ECHO_T}$result" >&6; }
10888
10889
10890 enablestring=
10891 defaultval=$wxUSE_ALL_FEATURES
10892 if test -z "$defaultval"; then
10893 if test x"$enablestring" = xdisable; then
10894 defaultval=yes
10895 else
10896 defaultval=no
10897 fi
10898 fi
10899
10900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10901 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10902 # Check whether --enable-notebook was given.
10903 if test "${enable_notebook+set}" = set; then
10904 enableval=$enable_notebook;
10905 if test "$enableval" = yes; then
10906 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10907 else
10908 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10909 fi
10910
10911 else
10912
10913 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10914
10915 fi
10916
10917
10918 eval "$wx_cv_use_notebook"
10919
10920 if test x"$enablestring" = xdisable; then
10921 if test $wxUSE_NOTEBOOK = yes; then
10922 result=no
10923 else
10924 result=yes
10925 fi
10926 else
10927 result=$wxUSE_NOTEBOOK
10928 fi
10929
10930 { echo "$as_me:$LINENO: result: $result" >&5
10931 echo "${ECHO_T}$result" >&6; }
10932
10933
10934 enablestring=
10935 defaultval=$wxUSE_ALL_FEATURES
10936 if test -z "$defaultval"; then
10937 if test x"$enablestring" = xdisable; then
10938 defaultval=yes
10939 else
10940 defaultval=no
10941 fi
10942 fi
10943
10944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10945 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10946 # Check whether --enable-notifmsg was given.
10947 if test "${enable_notifmsg+set}" = set; then
10948 enableval=$enable_notifmsg;
10949 if test "$enableval" = yes; then
10950 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10951 else
10952 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10953 fi
10954
10955 else
10956
10957 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10958
10959 fi
10960
10961
10962 eval "$wx_cv_use_notifmsg"
10963
10964 if test x"$enablestring" = xdisable; then
10965 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10966 result=no
10967 else
10968 result=yes
10969 fi
10970 else
10971 result=$wxUSE_NOTIFICATION_MESSAGE
10972 fi
10973
10974 { echo "$as_me:$LINENO: result: $result" >&5
10975 echo "${ECHO_T}$result" >&6; }
10976
10977
10978 enablestring=
10979 defaultval=$wxUSE_ALL_FEATURES
10980 if test -z "$defaultval"; then
10981 if test x"$enablestring" = xdisable; then
10982 defaultval=yes
10983 else
10984 defaultval=no
10985 fi
10986 fi
10987
10988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10989 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10990 # Check whether --enable-odcombobox was given.
10991 if test "${enable_odcombobox+set}" = set; then
10992 enableval=$enable_odcombobox;
10993 if test "$enableval" = yes; then
10994 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10995 else
10996 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10997 fi
10998
10999 else
11000
11001 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11002
11003 fi
11004
11005
11006 eval "$wx_cv_use_odcombobox"
11007
11008 if test x"$enablestring" = xdisable; then
11009 if test $wxUSE_ODCOMBOBOX = yes; then
11010 result=no
11011 else
11012 result=yes
11013 fi
11014 else
11015 result=$wxUSE_ODCOMBOBOX
11016 fi
11017
11018 { echo "$as_me:$LINENO: result: $result" >&5
11019 echo "${ECHO_T}$result" >&6; }
11020
11021
11022 enablestring=
11023 defaultval=$wxUSE_ALL_FEATURES
11024 if test -z "$defaultval"; then
11025 if test x"$enablestring" = xdisable; then
11026 defaultval=yes
11027 else
11028 defaultval=no
11029 fi
11030 fi
11031
11032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11033 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11034 # Check whether --enable-popupwin was given.
11035 if test "${enable_popupwin+set}" = set; then
11036 enableval=$enable_popupwin;
11037 if test "$enableval" = yes; then
11038 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11039 else
11040 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11041 fi
11042
11043 else
11044
11045 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11046
11047 fi
11048
11049
11050 eval "$wx_cv_use_popupwin"
11051
11052 if test x"$enablestring" = xdisable; then
11053 if test $wxUSE_POPUPWIN = yes; then
11054 result=no
11055 else
11056 result=yes
11057 fi
11058 else
11059 result=$wxUSE_POPUPWIN
11060 fi
11061
11062 { echo "$as_me:$LINENO: result: $result" >&5
11063 echo "${ECHO_T}$result" >&6; }
11064
11065
11066 enablestring=
11067 defaultval=$wxUSE_ALL_FEATURES
11068 if test -z "$defaultval"; then
11069 if test x"$enablestring" = xdisable; then
11070 defaultval=yes
11071 else
11072 defaultval=no
11073 fi
11074 fi
11075
11076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11077 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11078 # Check whether --enable-radiobox was given.
11079 if test "${enable_radiobox+set}" = set; then
11080 enableval=$enable_radiobox;
11081 if test "$enableval" = yes; then
11082 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11083 else
11084 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11085 fi
11086
11087 else
11088
11089 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11090
11091 fi
11092
11093
11094 eval "$wx_cv_use_radiobox"
11095
11096 if test x"$enablestring" = xdisable; then
11097 if test $wxUSE_RADIOBOX = yes; then
11098 result=no
11099 else
11100 result=yes
11101 fi
11102 else
11103 result=$wxUSE_RADIOBOX
11104 fi
11105
11106 { echo "$as_me:$LINENO: result: $result" >&5
11107 echo "${ECHO_T}$result" >&6; }
11108
11109
11110 enablestring=
11111 defaultval=$wxUSE_ALL_FEATURES
11112 if test -z "$defaultval"; then
11113 if test x"$enablestring" = xdisable; then
11114 defaultval=yes
11115 else
11116 defaultval=no
11117 fi
11118 fi
11119
11120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11121 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11122 # Check whether --enable-radiobtn was given.
11123 if test "${enable_radiobtn+set}" = set; then
11124 enableval=$enable_radiobtn;
11125 if test "$enableval" = yes; then
11126 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11127 else
11128 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11129 fi
11130
11131 else
11132
11133 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11134
11135 fi
11136
11137
11138 eval "$wx_cv_use_radiobtn"
11139
11140 if test x"$enablestring" = xdisable; then
11141 if test $wxUSE_RADIOBTN = yes; then
11142 result=no
11143 else
11144 result=yes
11145 fi
11146 else
11147 result=$wxUSE_RADIOBTN
11148 fi
11149
11150 { echo "$as_me:$LINENO: result: $result" >&5
11151 echo "${ECHO_T}$result" >&6; }
11152
11153
11154 enablestring=
11155 defaultval=$wxUSE_ALL_FEATURES
11156 if test -z "$defaultval"; then
11157 if test x"$enablestring" = xdisable; then
11158 defaultval=yes
11159 else
11160 defaultval=no
11161 fi
11162 fi
11163
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11166 # Check whether --enable-rearrangectrl was given.
11167 if test "${enable_rearrangectrl+set}" = set; then
11168 enableval=$enable_rearrangectrl;
11169 if test "$enableval" = yes; then
11170 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
11171 else
11172 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
11173 fi
11174
11175 else
11176
11177 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11178
11179 fi
11180
11181
11182 eval "$wx_cv_use_rearrangectrl"
11183
11184 if test x"$enablestring" = xdisable; then
11185 if test $wxUSE_REARRANGECTRL = yes; then
11186 result=no
11187 else
11188 result=yes
11189 fi
11190 else
11191 result=$wxUSE_REARRANGECTRL
11192 fi
11193
11194 { echo "$as_me:$LINENO: result: $result" >&5
11195 echo "${ECHO_T}$result" >&6; }
11196
11197
11198 enablestring=
11199 defaultval=$wxUSE_ALL_FEATURES
11200 if test -z "$defaultval"; then
11201 if test x"$enablestring" = xdisable; then
11202 defaultval=yes
11203 else
11204 defaultval=no
11205 fi
11206 fi
11207
11208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11209 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11210 # Check whether --enable-sash was given.
11211 if test "${enable_sash+set}" = set; then
11212 enableval=$enable_sash;
11213 if test "$enableval" = yes; then
11214 wx_cv_use_sash='wxUSE_SASH=yes'
11215 else
11216 wx_cv_use_sash='wxUSE_SASH=no'
11217 fi
11218
11219 else
11220
11221 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11222
11223 fi
11224
11225
11226 eval "$wx_cv_use_sash"
11227
11228 if test x"$enablestring" = xdisable; then
11229 if test $wxUSE_SASH = yes; then
11230 result=no
11231 else
11232 result=yes
11233 fi
11234 else
11235 result=$wxUSE_SASH
11236 fi
11237
11238 { echo "$as_me:$LINENO: result: $result" >&5
11239 echo "${ECHO_T}$result" >&6; }
11240
11241
11242 enablestring=
11243 defaultval=$wxUSE_ALL_FEATURES
11244 if test -z "$defaultval"; then
11245 if test x"$enablestring" = xdisable; then
11246 defaultval=yes
11247 else
11248 defaultval=no
11249 fi
11250 fi
11251
11252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11253 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11254 # Check whether --enable-scrollbar was given.
11255 if test "${enable_scrollbar+set}" = set; then
11256 enableval=$enable_scrollbar;
11257 if test "$enableval" = yes; then
11258 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11259 else
11260 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11261 fi
11262
11263 else
11264
11265 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11266
11267 fi
11268
11269
11270 eval "$wx_cv_use_scrollbar"
11271
11272 if test x"$enablestring" = xdisable; then
11273 if test $wxUSE_SCROLLBAR = yes; then
11274 result=no
11275 else
11276 result=yes
11277 fi
11278 else
11279 result=$wxUSE_SCROLLBAR
11280 fi
11281
11282 { echo "$as_me:$LINENO: result: $result" >&5
11283 echo "${ECHO_T}$result" >&6; }
11284
11285
11286 enablestring=
11287 defaultval=$wxUSE_ALL_FEATURES
11288 if test -z "$defaultval"; then
11289 if test x"$enablestring" = xdisable; then
11290 defaultval=yes
11291 else
11292 defaultval=no
11293 fi
11294 fi
11295
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11298 # Check whether --enable-searchctrl was given.
11299 if test "${enable_searchctrl+set}" = set; then
11300 enableval=$enable_searchctrl;
11301 if test "$enableval" = yes; then
11302 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11303 else
11304 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11305 fi
11306
11307 else
11308
11309 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11310
11311 fi
11312
11313
11314 eval "$wx_cv_use_searchctrl"
11315
11316 if test x"$enablestring" = xdisable; then
11317 if test $wxUSE_SEARCHCTRL = yes; then
11318 result=no
11319 else
11320 result=yes
11321 fi
11322 else
11323 result=$wxUSE_SEARCHCTRL
11324 fi
11325
11326 { echo "$as_me:$LINENO: result: $result" >&5
11327 echo "${ECHO_T}$result" >&6; }
11328
11329
11330 enablestring=
11331 defaultval=$wxUSE_ALL_FEATURES
11332 if test -z "$defaultval"; then
11333 if test x"$enablestring" = xdisable; then
11334 defaultval=yes
11335 else
11336 defaultval=no
11337 fi
11338 fi
11339
11340 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11341 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11342 # Check whether --enable-slider was given.
11343 if test "${enable_slider+set}" = set; then
11344 enableval=$enable_slider;
11345 if test "$enableval" = yes; then
11346 wx_cv_use_slider='wxUSE_SLIDER=yes'
11347 else
11348 wx_cv_use_slider='wxUSE_SLIDER=no'
11349 fi
11350
11351 else
11352
11353 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11354
11355 fi
11356
11357
11358 eval "$wx_cv_use_slider"
11359
11360 if test x"$enablestring" = xdisable; then
11361 if test $wxUSE_SLIDER = yes; then
11362 result=no
11363 else
11364 result=yes
11365 fi
11366 else
11367 result=$wxUSE_SLIDER
11368 fi
11369
11370 { echo "$as_me:$LINENO: result: $result" >&5
11371 echo "${ECHO_T}$result" >&6; }
11372
11373
11374 enablestring=
11375 defaultval=$wxUSE_ALL_FEATURES
11376 if test -z "$defaultval"; then
11377 if test x"$enablestring" = xdisable; then
11378 defaultval=yes
11379 else
11380 defaultval=no
11381 fi
11382 fi
11383
11384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11385 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11386 # Check whether --enable-spinbtn was given.
11387 if test "${enable_spinbtn+set}" = set; then
11388 enableval=$enable_spinbtn;
11389 if test "$enableval" = yes; then
11390 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11391 else
11392 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11393 fi
11394
11395 else
11396
11397 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11398
11399 fi
11400
11401
11402 eval "$wx_cv_use_spinbtn"
11403
11404 if test x"$enablestring" = xdisable; then
11405 if test $wxUSE_SPINBTN = yes; then
11406 result=no
11407 else
11408 result=yes
11409 fi
11410 else
11411 result=$wxUSE_SPINBTN
11412 fi
11413
11414 { echo "$as_me:$LINENO: result: $result" >&5
11415 echo "${ECHO_T}$result" >&6; }
11416
11417
11418 enablestring=
11419 defaultval=$wxUSE_ALL_FEATURES
11420 if test -z "$defaultval"; then
11421 if test x"$enablestring" = xdisable; then
11422 defaultval=yes
11423 else
11424 defaultval=no
11425 fi
11426 fi
11427
11428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11429 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11430 # Check whether --enable-spinctrl was given.
11431 if test "${enable_spinctrl+set}" = set; then
11432 enableval=$enable_spinctrl;
11433 if test "$enableval" = yes; then
11434 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11435 else
11436 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11437 fi
11438
11439 else
11440
11441 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11442
11443 fi
11444
11445
11446 eval "$wx_cv_use_spinctrl"
11447
11448 if test x"$enablestring" = xdisable; then
11449 if test $wxUSE_SPINCTRL = yes; then
11450 result=no
11451 else
11452 result=yes
11453 fi
11454 else
11455 result=$wxUSE_SPINCTRL
11456 fi
11457
11458 { echo "$as_me:$LINENO: result: $result" >&5
11459 echo "${ECHO_T}$result" >&6; }
11460
11461
11462 enablestring=
11463 defaultval=$wxUSE_ALL_FEATURES
11464 if test -z "$defaultval"; then
11465 if test x"$enablestring" = xdisable; then
11466 defaultval=yes
11467 else
11468 defaultval=no
11469 fi
11470 fi
11471
11472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11473 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11474 # Check whether --enable-splitter was given.
11475 if test "${enable_splitter+set}" = set; then
11476 enableval=$enable_splitter;
11477 if test "$enableval" = yes; then
11478 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11479 else
11480 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11481 fi
11482
11483 else
11484
11485 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11486
11487 fi
11488
11489
11490 eval "$wx_cv_use_splitter"
11491
11492 if test x"$enablestring" = xdisable; then
11493 if test $wxUSE_SPLITTER = yes; then
11494 result=no
11495 else
11496 result=yes
11497 fi
11498 else
11499 result=$wxUSE_SPLITTER
11500 fi
11501
11502 { echo "$as_me:$LINENO: result: $result" >&5
11503 echo "${ECHO_T}$result" >&6; }
11504
11505
11506 enablestring=
11507 defaultval=$wxUSE_ALL_FEATURES
11508 if test -z "$defaultval"; then
11509 if test x"$enablestring" = xdisable; then
11510 defaultval=yes
11511 else
11512 defaultval=no
11513 fi
11514 fi
11515
11516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11517 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11518 # Check whether --enable-statbmp was given.
11519 if test "${enable_statbmp+set}" = set; then
11520 enableval=$enable_statbmp;
11521 if test "$enableval" = yes; then
11522 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11523 else
11524 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11525 fi
11526
11527 else
11528
11529 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11530
11531 fi
11532
11533
11534 eval "$wx_cv_use_statbmp"
11535
11536 if test x"$enablestring" = xdisable; then
11537 if test $wxUSE_STATBMP = yes; then
11538 result=no
11539 else
11540 result=yes
11541 fi
11542 else
11543 result=$wxUSE_STATBMP
11544 fi
11545
11546 { echo "$as_me:$LINENO: result: $result" >&5
11547 echo "${ECHO_T}$result" >&6; }
11548
11549
11550 enablestring=
11551 defaultval=$wxUSE_ALL_FEATURES
11552 if test -z "$defaultval"; then
11553 if test x"$enablestring" = xdisable; then
11554 defaultval=yes
11555 else
11556 defaultval=no
11557 fi
11558 fi
11559
11560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11561 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11562 # Check whether --enable-statbox was given.
11563 if test "${enable_statbox+set}" = set; then
11564 enableval=$enable_statbox;
11565 if test "$enableval" = yes; then
11566 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11567 else
11568 wx_cv_use_statbox='wxUSE_STATBOX=no'
11569 fi
11570
11571 else
11572
11573 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11574
11575 fi
11576
11577
11578 eval "$wx_cv_use_statbox"
11579
11580 if test x"$enablestring" = xdisable; then
11581 if test $wxUSE_STATBOX = yes; then
11582 result=no
11583 else
11584 result=yes
11585 fi
11586 else
11587 result=$wxUSE_STATBOX
11588 fi
11589
11590 { echo "$as_me:$LINENO: result: $result" >&5
11591 echo "${ECHO_T}$result" >&6; }
11592
11593
11594 enablestring=
11595 defaultval=$wxUSE_ALL_FEATURES
11596 if test -z "$defaultval"; then
11597 if test x"$enablestring" = xdisable; then
11598 defaultval=yes
11599 else
11600 defaultval=no
11601 fi
11602 fi
11603
11604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11605 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11606 # Check whether --enable-statline was given.
11607 if test "${enable_statline+set}" = set; then
11608 enableval=$enable_statline;
11609 if test "$enableval" = yes; then
11610 wx_cv_use_statline='wxUSE_STATLINE=yes'
11611 else
11612 wx_cv_use_statline='wxUSE_STATLINE=no'
11613 fi
11614
11615 else
11616
11617 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11618
11619 fi
11620
11621
11622 eval "$wx_cv_use_statline"
11623
11624 if test x"$enablestring" = xdisable; then
11625 if test $wxUSE_STATLINE = yes; then
11626 result=no
11627 else
11628 result=yes
11629 fi
11630 else
11631 result=$wxUSE_STATLINE
11632 fi
11633
11634 { echo "$as_me:$LINENO: result: $result" >&5
11635 echo "${ECHO_T}$result" >&6; }
11636
11637
11638 enablestring=
11639 defaultval=$wxUSE_ALL_FEATURES
11640 if test -z "$defaultval"; then
11641 if test x"$enablestring" = xdisable; then
11642 defaultval=yes
11643 else
11644 defaultval=no
11645 fi
11646 fi
11647
11648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11649 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11650 # Check whether --enable-stattext was given.
11651 if test "${enable_stattext+set}" = set; then
11652 enableval=$enable_stattext;
11653 if test "$enableval" = yes; then
11654 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11655 else
11656 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11657 fi
11658
11659 else
11660
11661 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11662
11663 fi
11664
11665
11666 eval "$wx_cv_use_stattext"
11667
11668 if test x"$enablestring" = xdisable; then
11669 if test $wxUSE_STATTEXT = yes; then
11670 result=no
11671 else
11672 result=yes
11673 fi
11674 else
11675 result=$wxUSE_STATTEXT
11676 fi
11677
11678 { echo "$as_me:$LINENO: result: $result" >&5
11679 echo "${ECHO_T}$result" >&6; }
11680
11681
11682 enablestring=
11683 defaultval=$wxUSE_ALL_FEATURES
11684 if test -z "$defaultval"; then
11685 if test x"$enablestring" = xdisable; then
11686 defaultval=yes
11687 else
11688 defaultval=no
11689 fi
11690 fi
11691
11692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11693 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11694 # Check whether --enable-statusbar was given.
11695 if test "${enable_statusbar+set}" = set; then
11696 enableval=$enable_statusbar;
11697 if test "$enableval" = yes; then
11698 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11699 else
11700 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11701 fi
11702
11703 else
11704
11705 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11706
11707 fi
11708
11709
11710 eval "$wx_cv_use_statusbar"
11711
11712 if test x"$enablestring" = xdisable; then
11713 if test $wxUSE_STATUSBAR = yes; then
11714 result=no
11715 else
11716 result=yes
11717 fi
11718 else
11719 result=$wxUSE_STATUSBAR
11720 fi
11721
11722 { echo "$as_me:$LINENO: result: $result" >&5
11723 echo "${ECHO_T}$result" >&6; }
11724
11725
11726 enablestring=
11727 defaultval=$wxUSE_ALL_FEATURES
11728 if test -z "$defaultval"; then
11729 if test x"$enablestring" = xdisable; then
11730 defaultval=yes
11731 else
11732 defaultval=no
11733 fi
11734 fi
11735
11736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11737 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11738 # Check whether --enable-taskbaricon was given.
11739 if test "${enable_taskbaricon+set}" = set; then
11740 enableval=$enable_taskbaricon;
11741 if test "$enableval" = yes; then
11742 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11743 else
11744 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11745 fi
11746
11747 else
11748
11749 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11750
11751 fi
11752
11753
11754 eval "$wx_cv_use_taskbaricon"
11755
11756 if test x"$enablestring" = xdisable; then
11757 if test $wxUSE_TASKBARICON = yes; then
11758 result=no
11759 else
11760 result=yes
11761 fi
11762 else
11763 result=$wxUSE_TASKBARICON
11764 fi
11765
11766 { echo "$as_me:$LINENO: result: $result" >&5
11767 echo "${ECHO_T}$result" >&6; }
11768
11769
11770 enablestring=
11771 defaultval=$wxUSE_ALL_FEATURES
11772 if test -z "$defaultval"; then
11773 if test x"$enablestring" = xdisable; then
11774 defaultval=yes
11775 else
11776 defaultval=no
11777 fi
11778 fi
11779
11780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11781 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11782 # Check whether --enable-tbarnative was given.
11783 if test "${enable_tbarnative+set}" = set; then
11784 enableval=$enable_tbarnative;
11785 if test "$enableval" = yes; then
11786 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11787 else
11788 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11789 fi
11790
11791 else
11792
11793 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11794
11795 fi
11796
11797
11798 eval "$wx_cv_use_tbarnative"
11799
11800 if test x"$enablestring" = xdisable; then
11801 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11802 result=no
11803 else
11804 result=yes
11805 fi
11806 else
11807 result=$wxUSE_TOOLBAR_NATIVE
11808 fi
11809
11810 { echo "$as_me:$LINENO: result: $result" >&5
11811 echo "${ECHO_T}$result" >&6; }
11812
11813
11814 enablestring=
11815 defaultval=$wxUSE_ALL_FEATURES
11816 if test -z "$defaultval"; then
11817 if test x"$enablestring" = xdisable; then
11818 defaultval=yes
11819 else
11820 defaultval=no
11821 fi
11822 fi
11823
11824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11825 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11826 # Check whether --enable-textctrl was given.
11827 if test "${enable_textctrl+set}" = set; then
11828 enableval=$enable_textctrl;
11829 if test "$enableval" = yes; then
11830 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11831 else
11832 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11833 fi
11834
11835 else
11836
11837 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11838
11839 fi
11840
11841
11842 eval "$wx_cv_use_textctrl"
11843
11844 if test x"$enablestring" = xdisable; then
11845 if test $wxUSE_TEXTCTRL = yes; then
11846 result=no
11847 else
11848 result=yes
11849 fi
11850 else
11851 result=$wxUSE_TEXTCTRL
11852 fi
11853
11854 { echo "$as_me:$LINENO: result: $result" >&5
11855 echo "${ECHO_T}$result" >&6; }
11856
11857
11858 enablestring=
11859 defaultval=$wxUSE_ALL_FEATURES
11860 if test -z "$defaultval"; then
11861 if test x"$enablestring" = xdisable; then
11862 defaultval=yes
11863 else
11864 defaultval=no
11865 fi
11866 fi
11867
11868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11869 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11870 # Check whether --enable-tipwindow was given.
11871 if test "${enable_tipwindow+set}" = set; then
11872 enableval=$enable_tipwindow;
11873 if test "$enableval" = yes; then
11874 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11875 else
11876 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11877 fi
11878
11879 else
11880
11881 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11882
11883 fi
11884
11885
11886 eval "$wx_cv_use_tipwindow"
11887
11888 if test x"$enablestring" = xdisable; then
11889 if test $wxUSE_TIPWINDOW = yes; then
11890 result=no
11891 else
11892 result=yes
11893 fi
11894 else
11895 result=$wxUSE_TIPWINDOW
11896 fi
11897
11898 { echo "$as_me:$LINENO: result: $result" >&5
11899 echo "${ECHO_T}$result" >&6; }
11900
11901
11902 enablestring=
11903 defaultval=$wxUSE_ALL_FEATURES
11904 if test -z "$defaultval"; then
11905 if test x"$enablestring" = xdisable; then
11906 defaultval=yes
11907 else
11908 defaultval=no
11909 fi
11910 fi
11911
11912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11913 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11914 # Check whether --enable-togglebtn was given.
11915 if test "${enable_togglebtn+set}" = set; then
11916 enableval=$enable_togglebtn;
11917 if test "$enableval" = yes; then
11918 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11919 else
11920 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11921 fi
11922
11923 else
11924
11925 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11926
11927 fi
11928
11929
11930 eval "$wx_cv_use_togglebtn"
11931
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_TOGGLEBTN = yes; then
11934 result=no
11935 else
11936 result=yes
11937 fi
11938 else
11939 result=$wxUSE_TOGGLEBTN
11940 fi
11941
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11944
11945
11946 enablestring=
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11950 defaultval=yes
11951 else
11952 defaultval=no
11953 fi
11954 fi
11955
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11958 # Check whether --enable-toolbar was given.
11959 if test "${enable_toolbar+set}" = set; then
11960 enableval=$enable_toolbar;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11963 else
11964 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11965 fi
11966
11967 else
11968
11969 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11970
11971 fi
11972
11973
11974 eval "$wx_cv_use_toolbar"
11975
11976 if test x"$enablestring" = xdisable; then
11977 if test $wxUSE_TOOLBAR = yes; then
11978 result=no
11979 else
11980 result=yes
11981 fi
11982 else
11983 result=$wxUSE_TOOLBAR
11984 fi
11985
11986 { echo "$as_me:$LINENO: result: $result" >&5
11987 echo "${ECHO_T}$result" >&6; }
11988
11989
11990 enablestring=
11991 defaultval=$wxUSE_ALL_FEATURES
11992 if test -z "$defaultval"; then
11993 if test x"$enablestring" = xdisable; then
11994 defaultval=yes
11995 else
11996 defaultval=no
11997 fi
11998 fi
11999
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12002 # Check whether --enable-toolbook was given.
12003 if test "${enable_toolbook+set}" = set; then
12004 enableval=$enable_toolbook;
12005 if test "$enableval" = yes; then
12006 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12007 else
12008 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12009 fi
12010
12011 else
12012
12013 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12014
12015 fi
12016
12017
12018 eval "$wx_cv_use_toolbook"
12019
12020 if test x"$enablestring" = xdisable; then
12021 if test $wxUSE_TOOLBOOK = yes; then
12022 result=no
12023 else
12024 result=yes
12025 fi
12026 else
12027 result=$wxUSE_TOOLBOOK
12028 fi
12029
12030 { echo "$as_me:$LINENO: result: $result" >&5
12031 echo "${ECHO_T}$result" >&6; }
12032
12033
12034 enablestring=
12035 defaultval=$wxUSE_ALL_FEATURES
12036 if test -z "$defaultval"; then
12037 if test x"$enablestring" = xdisable; then
12038 defaultval=yes
12039 else
12040 defaultval=no
12041 fi
12042 fi
12043
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12046 # Check whether --enable-treebook was given.
12047 if test "${enable_treebook+set}" = set; then
12048 enableval=$enable_treebook;
12049 if test "$enableval" = yes; then
12050 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12051 else
12052 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12053 fi
12054
12055 else
12056
12057 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12058
12059 fi
12060
12061
12062 eval "$wx_cv_use_treebook"
12063
12064 if test x"$enablestring" = xdisable; then
12065 if test $wxUSE_TREEBOOK = yes; then
12066 result=no
12067 else
12068 result=yes
12069 fi
12070 else
12071 result=$wxUSE_TREEBOOK
12072 fi
12073
12074 { echo "$as_me:$LINENO: result: $result" >&5
12075 echo "${ECHO_T}$result" >&6; }
12076
12077
12078 enablestring=
12079 defaultval=$wxUSE_ALL_FEATURES
12080 if test -z "$defaultval"; then
12081 if test x"$enablestring" = xdisable; then
12082 defaultval=yes
12083 else
12084 defaultval=no
12085 fi
12086 fi
12087
12088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12089 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12090 # Check whether --enable-treectrl was given.
12091 if test "${enable_treectrl+set}" = set; then
12092 enableval=$enable_treectrl;
12093 if test "$enableval" = yes; then
12094 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12095 else
12096 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12097 fi
12098
12099 else
12100
12101 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12102
12103 fi
12104
12105
12106 eval "$wx_cv_use_treectrl"
12107
12108 if test x"$enablestring" = xdisable; then
12109 if test $wxUSE_TREECTRL = yes; then
12110 result=no
12111 else
12112 result=yes
12113 fi
12114 else
12115 result=$wxUSE_TREECTRL
12116 fi
12117
12118 { echo "$as_me:$LINENO: result: $result" >&5
12119 echo "${ECHO_T}$result" >&6; }
12120
12121
12122
12123
12124 enablestring=
12125 defaultval=$wxUSE_ALL_FEATURES
12126 if test -z "$defaultval"; then
12127 if test x"$enablestring" = xdisable; then
12128 defaultval=yes
12129 else
12130 defaultval=no
12131 fi
12132 fi
12133
12134 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12135 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12136 # Check whether --enable-commondlg was given.
12137 if test "${enable_commondlg+set}" = set; then
12138 enableval=$enable_commondlg;
12139 if test "$enableval" = yes; then
12140 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12141 else
12142 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12143 fi
12144
12145 else
12146
12147 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12148
12149 fi
12150
12151
12152 eval "$wx_cv_use_commondlg"
12153
12154 if test x"$enablestring" = xdisable; then
12155 if test $wxUSE_COMMONDLGS = yes; then
12156 result=no
12157 else
12158 result=yes
12159 fi
12160 else
12161 result=$wxUSE_COMMONDLGS
12162 fi
12163
12164 { echo "$as_me:$LINENO: result: $result" >&5
12165 echo "${ECHO_T}$result" >&6; }
12166
12167
12168 enablestring=
12169 defaultval=$wxUSE_ALL_FEATURES
12170 if test -z "$defaultval"; then
12171 if test x"$enablestring" = xdisable; then
12172 defaultval=yes
12173 else
12174 defaultval=no
12175 fi
12176 fi
12177
12178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12179 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12180 # Check whether --enable-aboutdlg was given.
12181 if test "${enable_aboutdlg+set}" = set; then
12182 enableval=$enable_aboutdlg;
12183 if test "$enableval" = yes; then
12184 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12185 else
12186 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12187 fi
12188
12189 else
12190
12191 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12192
12193 fi
12194
12195
12196 eval "$wx_cv_use_aboutdlg"
12197
12198 if test x"$enablestring" = xdisable; then
12199 if test $wxUSE_ABOUTDLG = yes; then
12200 result=no
12201 else
12202 result=yes
12203 fi
12204 else
12205 result=$wxUSE_ABOUTDLG
12206 fi
12207
12208 { echo "$as_me:$LINENO: result: $result" >&5
12209 echo "${ECHO_T}$result" >&6; }
12210
12211
12212 enablestring=
12213 defaultval=$wxUSE_ALL_FEATURES
12214 if test -z "$defaultval"; then
12215 if test x"$enablestring" = xdisable; then
12216 defaultval=yes
12217 else
12218 defaultval=no
12219 fi
12220 fi
12221
12222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12223 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12224 # Check whether --enable-choicedlg was given.
12225 if test "${enable_choicedlg+set}" = set; then
12226 enableval=$enable_choicedlg;
12227 if test "$enableval" = yes; then
12228 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12229 else
12230 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12231 fi
12232
12233 else
12234
12235 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12236
12237 fi
12238
12239
12240 eval "$wx_cv_use_choicedlg"
12241
12242 if test x"$enablestring" = xdisable; then
12243 if test $wxUSE_CHOICEDLG = yes; then
12244 result=no
12245 else
12246 result=yes
12247 fi
12248 else
12249 result=$wxUSE_CHOICEDLG
12250 fi
12251
12252 { echo "$as_me:$LINENO: result: $result" >&5
12253 echo "${ECHO_T}$result" >&6; }
12254
12255
12256 enablestring=
12257 defaultval=$wxUSE_ALL_FEATURES
12258 if test -z "$defaultval"; then
12259 if test x"$enablestring" = xdisable; then
12260 defaultval=yes
12261 else
12262 defaultval=no
12263 fi
12264 fi
12265
12266 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12267 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12268 # Check whether --enable-coldlg was given.
12269 if test "${enable_coldlg+set}" = set; then
12270 enableval=$enable_coldlg;
12271 if test "$enableval" = yes; then
12272 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12273 else
12274 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12275 fi
12276
12277 else
12278
12279 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12280
12281 fi
12282
12283
12284 eval "$wx_cv_use_coldlg"
12285
12286 if test x"$enablestring" = xdisable; then
12287 if test $wxUSE_COLOURDLG = yes; then
12288 result=no
12289 else
12290 result=yes
12291 fi
12292 else
12293 result=$wxUSE_COLOURDLG
12294 fi
12295
12296 { echo "$as_me:$LINENO: result: $result" >&5
12297 echo "${ECHO_T}$result" >&6; }
12298
12299
12300 enablestring=
12301 defaultval=$wxUSE_ALL_FEATURES
12302 if test -z "$defaultval"; then
12303 if test x"$enablestring" = xdisable; then
12304 defaultval=yes
12305 else
12306 defaultval=no
12307 fi
12308 fi
12309
12310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12311 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12312 # Check whether --enable-filedlg was given.
12313 if test "${enable_filedlg+set}" = set; then
12314 enableval=$enable_filedlg;
12315 if test "$enableval" = yes; then
12316 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12317 else
12318 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12319 fi
12320
12321 else
12322
12323 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12324
12325 fi
12326
12327
12328 eval "$wx_cv_use_filedlg"
12329
12330 if test x"$enablestring" = xdisable; then
12331 if test $wxUSE_FILEDLG = yes; then
12332 result=no
12333 else
12334 result=yes
12335 fi
12336 else
12337 result=$wxUSE_FILEDLG
12338 fi
12339
12340 { echo "$as_me:$LINENO: result: $result" >&5
12341 echo "${ECHO_T}$result" >&6; }
12342
12343
12344 enablestring=
12345 defaultval=$wxUSE_ALL_FEATURES
12346 if test -z "$defaultval"; then
12347 if test x"$enablestring" = xdisable; then
12348 defaultval=yes
12349 else
12350 defaultval=no
12351 fi
12352 fi
12353
12354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12355 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12356 # Check whether --enable-finddlg was given.
12357 if test "${enable_finddlg+set}" = set; then
12358 enableval=$enable_finddlg;
12359 if test "$enableval" = yes; then
12360 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12361 else
12362 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12363 fi
12364
12365 else
12366
12367 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12368
12369 fi
12370
12371
12372 eval "$wx_cv_use_finddlg"
12373
12374 if test x"$enablestring" = xdisable; then
12375 if test $wxUSE_FINDREPLDLG = yes; then
12376 result=no
12377 else
12378 result=yes
12379 fi
12380 else
12381 result=$wxUSE_FINDREPLDLG
12382 fi
12383
12384 { echo "$as_me:$LINENO: result: $result" >&5
12385 echo "${ECHO_T}$result" >&6; }
12386
12387
12388 enablestring=
12389 defaultval=$wxUSE_ALL_FEATURES
12390 if test -z "$defaultval"; then
12391 if test x"$enablestring" = xdisable; then
12392 defaultval=yes
12393 else
12394 defaultval=no
12395 fi
12396 fi
12397
12398 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12399 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12400 # Check whether --enable-fontdlg was given.
12401 if test "${enable_fontdlg+set}" = set; then
12402 enableval=$enable_fontdlg;
12403 if test "$enableval" = yes; then
12404 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12405 else
12406 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12407 fi
12408
12409 else
12410
12411 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12412
12413 fi
12414
12415
12416 eval "$wx_cv_use_fontdlg"
12417
12418 if test x"$enablestring" = xdisable; then
12419 if test $wxUSE_FONTDLG = yes; then
12420 result=no
12421 else
12422 result=yes
12423 fi
12424 else
12425 result=$wxUSE_FONTDLG
12426 fi
12427
12428 { echo "$as_me:$LINENO: result: $result" >&5
12429 echo "${ECHO_T}$result" >&6; }
12430
12431
12432 enablestring=
12433 defaultval=$wxUSE_ALL_FEATURES
12434 if test -z "$defaultval"; then
12435 if test x"$enablestring" = xdisable; then
12436 defaultval=yes
12437 else
12438 defaultval=no
12439 fi
12440 fi
12441
12442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12443 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12444 # Check whether --enable-dirdlg was given.
12445 if test "${enable_dirdlg+set}" = set; then
12446 enableval=$enable_dirdlg;
12447 if test "$enableval" = yes; then
12448 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12449 else
12450 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12451 fi
12452
12453 else
12454
12455 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12456
12457 fi
12458
12459
12460 eval "$wx_cv_use_dirdlg"
12461
12462 if test x"$enablestring" = xdisable; then
12463 if test $wxUSE_DIRDLG = yes; then
12464 result=no
12465 else
12466 result=yes
12467 fi
12468 else
12469 result=$wxUSE_DIRDLG
12470 fi
12471
12472 { echo "$as_me:$LINENO: result: $result" >&5
12473 echo "${ECHO_T}$result" >&6; }
12474
12475
12476 enablestring=
12477 defaultval=$wxUSE_ALL_FEATURES
12478 if test -z "$defaultval"; then
12479 if test x"$enablestring" = xdisable; then
12480 defaultval=yes
12481 else
12482 defaultval=no
12483 fi
12484 fi
12485
12486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12487 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12488 # Check whether --enable-msgdlg was given.
12489 if test "${enable_msgdlg+set}" = set; then
12490 enableval=$enable_msgdlg;
12491 if test "$enableval" = yes; then
12492 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12493 else
12494 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12495 fi
12496
12497 else
12498
12499 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12500
12501 fi
12502
12503
12504 eval "$wx_cv_use_msgdlg"
12505
12506 if test x"$enablestring" = xdisable; then
12507 if test $wxUSE_MSGDLG = yes; then
12508 result=no
12509 else
12510 result=yes
12511 fi
12512 else
12513 result=$wxUSE_MSGDLG
12514 fi
12515
12516 { echo "$as_me:$LINENO: result: $result" >&5
12517 echo "${ECHO_T}$result" >&6; }
12518
12519
12520 enablestring=
12521 defaultval=$wxUSE_ALL_FEATURES
12522 if test -z "$defaultval"; then
12523 if test x"$enablestring" = xdisable; then
12524 defaultval=yes
12525 else
12526 defaultval=no
12527 fi
12528 fi
12529
12530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12531 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12532 # Check whether --enable-numberdlg was given.
12533 if test "${enable_numberdlg+set}" = set; then
12534 enableval=$enable_numberdlg;
12535 if test "$enableval" = yes; then
12536 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12537 else
12538 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12539 fi
12540
12541 else
12542
12543 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12544
12545 fi
12546
12547
12548 eval "$wx_cv_use_numberdlg"
12549
12550 if test x"$enablestring" = xdisable; then
12551 if test $wxUSE_NUMBERDLG = yes; then
12552 result=no
12553 else
12554 result=yes
12555 fi
12556 else
12557 result=$wxUSE_NUMBERDLG
12558 fi
12559
12560 { echo "$as_me:$LINENO: result: $result" >&5
12561 echo "${ECHO_T}$result" >&6; }
12562
12563
12564 enablestring=
12565 defaultval=$wxUSE_ALL_FEATURES
12566 if test -z "$defaultval"; then
12567 if test x"$enablestring" = xdisable; then
12568 defaultval=yes
12569 else
12570 defaultval=no
12571 fi
12572 fi
12573
12574 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12575 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12576 # Check whether --enable-splash was given.
12577 if test "${enable_splash+set}" = set; then
12578 enableval=$enable_splash;
12579 if test "$enableval" = yes; then
12580 wx_cv_use_splash='wxUSE_SPLASH=yes'
12581 else
12582 wx_cv_use_splash='wxUSE_SPLASH=no'
12583 fi
12584
12585 else
12586
12587 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12588
12589 fi
12590
12591
12592 eval "$wx_cv_use_splash"
12593
12594 if test x"$enablestring" = xdisable; then
12595 if test $wxUSE_SPLASH = yes; then
12596 result=no
12597 else
12598 result=yes
12599 fi
12600 else
12601 result=$wxUSE_SPLASH
12602 fi
12603
12604 { echo "$as_me:$LINENO: result: $result" >&5
12605 echo "${ECHO_T}$result" >&6; }
12606
12607
12608 enablestring=
12609 defaultval=$wxUSE_ALL_FEATURES
12610 if test -z "$defaultval"; then
12611 if test x"$enablestring" = xdisable; then
12612 defaultval=yes
12613 else
12614 defaultval=no
12615 fi
12616 fi
12617
12618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12619 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12620 # Check whether --enable-textdlg was given.
12621 if test "${enable_textdlg+set}" = set; then
12622 enableval=$enable_textdlg;
12623 if test "$enableval" = yes; then
12624 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12625 else
12626 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12627 fi
12628
12629 else
12630
12631 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12632
12633 fi
12634
12635
12636 eval "$wx_cv_use_textdlg"
12637
12638 if test x"$enablestring" = xdisable; then
12639 if test $wxUSE_TEXTDLG = yes; then
12640 result=no
12641 else
12642 result=yes
12643 fi
12644 else
12645 result=$wxUSE_TEXTDLG
12646 fi
12647
12648 { echo "$as_me:$LINENO: result: $result" >&5
12649 echo "${ECHO_T}$result" >&6; }
12650
12651
12652 enablestring=
12653 defaultval=$wxUSE_ALL_FEATURES
12654 if test -z "$defaultval"; then
12655 if test x"$enablestring" = xdisable; then
12656 defaultval=yes
12657 else
12658 defaultval=no
12659 fi
12660 fi
12661
12662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12663 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12664 # Check whether --enable-tipdlg was given.
12665 if test "${enable_tipdlg+set}" = set; then
12666 enableval=$enable_tipdlg;
12667 if test "$enableval" = yes; then
12668 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12669 else
12670 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12671 fi
12672
12673 else
12674
12675 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12676
12677 fi
12678
12679
12680 eval "$wx_cv_use_tipdlg"
12681
12682 if test x"$enablestring" = xdisable; then
12683 if test $wxUSE_STARTUP_TIPS = yes; then
12684 result=no
12685 else
12686 result=yes
12687 fi
12688 else
12689 result=$wxUSE_STARTUP_TIPS
12690 fi
12691
12692 { echo "$as_me:$LINENO: result: $result" >&5
12693 echo "${ECHO_T}$result" >&6; }
12694
12695
12696 enablestring=
12697 defaultval=$wxUSE_ALL_FEATURES
12698 if test -z "$defaultval"; then
12699 if test x"$enablestring" = xdisable; then
12700 defaultval=yes
12701 else
12702 defaultval=no
12703 fi
12704 fi
12705
12706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12707 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12708 # Check whether --enable-progressdlg was given.
12709 if test "${enable_progressdlg+set}" = set; then
12710 enableval=$enable_progressdlg;
12711 if test "$enableval" = yes; then
12712 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12713 else
12714 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12715 fi
12716
12717 else
12718
12719 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12720
12721 fi
12722
12723
12724 eval "$wx_cv_use_progressdlg"
12725
12726 if test x"$enablestring" = xdisable; then
12727 if test $wxUSE_PROGRESSDLG = yes; then
12728 result=no
12729 else
12730 result=yes
12731 fi
12732 else
12733 result=$wxUSE_PROGRESSDLG
12734 fi
12735
12736 { echo "$as_me:$LINENO: result: $result" >&5
12737 echo "${ECHO_T}$result" >&6; }
12738
12739
12740 enablestring=
12741 defaultval=$wxUSE_ALL_FEATURES
12742 if test -z "$defaultval"; then
12743 if test x"$enablestring" = xdisable; then
12744 defaultval=yes
12745 else
12746 defaultval=no
12747 fi
12748 fi
12749
12750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12751 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12752 # Check whether --enable-wizarddlg was given.
12753 if test "${enable_wizarddlg+set}" = set; then
12754 enableval=$enable_wizarddlg;
12755 if test "$enableval" = yes; then
12756 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12757 else
12758 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12759 fi
12760
12761 else
12762
12763 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12764
12765 fi
12766
12767
12768 eval "$wx_cv_use_wizarddlg"
12769
12770 if test x"$enablestring" = xdisable; then
12771 if test $wxUSE_WIZARDDLG = yes; then
12772 result=no
12773 else
12774 result=yes
12775 fi
12776 else
12777 result=$wxUSE_WIZARDDLG
12778 fi
12779
12780 { echo "$as_me:$LINENO: result: $result" >&5
12781 echo "${ECHO_T}$result" >&6; }
12782
12783
12784
12785
12786 enablestring=
12787 defaultval=$wxUSE_ALL_FEATURES
12788 if test -z "$defaultval"; then
12789 if test x"$enablestring" = xdisable; then
12790 defaultval=yes
12791 else
12792 defaultval=no
12793 fi
12794 fi
12795
12796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12797 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12798 # Check whether --enable-menus was given.
12799 if test "${enable_menus+set}" = set; then
12800 enableval=$enable_menus;
12801 if test "$enableval" = yes; then
12802 wx_cv_use_menus='wxUSE_MENUS=yes'
12803 else
12804 wx_cv_use_menus='wxUSE_MENUS=no'
12805 fi
12806
12807 else
12808
12809 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12810
12811 fi
12812
12813
12814 eval "$wx_cv_use_menus"
12815
12816 if test x"$enablestring" = xdisable; then
12817 if test $wxUSE_MENUS = yes; then
12818 result=no
12819 else
12820 result=yes
12821 fi
12822 else
12823 result=$wxUSE_MENUS
12824 fi
12825
12826 { echo "$as_me:$LINENO: result: $result" >&5
12827 echo "${ECHO_T}$result" >&6; }
12828
12829
12830 enablestring=
12831 defaultval=$wxUSE_ALL_FEATURES
12832 if test -z "$defaultval"; then
12833 if test x"$enablestring" = xdisable; then
12834 defaultval=yes
12835 else
12836 defaultval=no
12837 fi
12838 fi
12839
12840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12841 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12842 # Check whether --enable-miniframe was given.
12843 if test "${enable_miniframe+set}" = set; then
12844 enableval=$enable_miniframe;
12845 if test "$enableval" = yes; then
12846 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12847 else
12848 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12849 fi
12850
12851 else
12852
12853 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12854
12855 fi
12856
12857
12858 eval "$wx_cv_use_miniframe"
12859
12860 if test x"$enablestring" = xdisable; then
12861 if test $wxUSE_MINIFRAME = yes; then
12862 result=no
12863 else
12864 result=yes
12865 fi
12866 else
12867 result=$wxUSE_MINIFRAME
12868 fi
12869
12870 { echo "$as_me:$LINENO: result: $result" >&5
12871 echo "${ECHO_T}$result" >&6; }
12872
12873
12874 enablestring=
12875 defaultval=$wxUSE_ALL_FEATURES
12876 if test -z "$defaultval"; then
12877 if test x"$enablestring" = xdisable; then
12878 defaultval=yes
12879 else
12880 defaultval=no
12881 fi
12882 fi
12883
12884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12885 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12886 # Check whether --enable-tooltips was given.
12887 if test "${enable_tooltips+set}" = set; then
12888 enableval=$enable_tooltips;
12889 if test "$enableval" = yes; then
12890 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12891 else
12892 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12893 fi
12894
12895 else
12896
12897 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12898
12899 fi
12900
12901
12902 eval "$wx_cv_use_tooltips"
12903
12904 if test x"$enablestring" = xdisable; then
12905 if test $wxUSE_TOOLTIPS = yes; then
12906 result=no
12907 else
12908 result=yes
12909 fi
12910 else
12911 result=$wxUSE_TOOLTIPS
12912 fi
12913
12914 { echo "$as_me:$LINENO: result: $result" >&5
12915 echo "${ECHO_T}$result" >&6; }
12916
12917
12918 enablestring=
12919 defaultval=$wxUSE_ALL_FEATURES
12920 if test -z "$defaultval"; then
12921 if test x"$enablestring" = xdisable; then
12922 defaultval=yes
12923 else
12924 defaultval=no
12925 fi
12926 fi
12927
12928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12929 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12930 # Check whether --enable-splines was given.
12931 if test "${enable_splines+set}" = set; then
12932 enableval=$enable_splines;
12933 if test "$enableval" = yes; then
12934 wx_cv_use_splines='wxUSE_SPLINES=yes'
12935 else
12936 wx_cv_use_splines='wxUSE_SPLINES=no'
12937 fi
12938
12939 else
12940
12941 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12942
12943 fi
12944
12945
12946 eval "$wx_cv_use_splines"
12947
12948 if test x"$enablestring" = xdisable; then
12949 if test $wxUSE_SPLINES = yes; then
12950 result=no
12951 else
12952 result=yes
12953 fi
12954 else
12955 result=$wxUSE_SPLINES
12956 fi
12957
12958 { echo "$as_me:$LINENO: result: $result" >&5
12959 echo "${ECHO_T}$result" >&6; }
12960
12961
12962 enablestring=
12963 defaultval=$wxUSE_ALL_FEATURES
12964 if test -z "$defaultval"; then
12965 if test x"$enablestring" = xdisable; then
12966 defaultval=yes
12967 else
12968 defaultval=no
12969 fi
12970 fi
12971
12972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12973 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12974 # Check whether --enable-mousewheel was given.
12975 if test "${enable_mousewheel+set}" = set; then
12976 enableval=$enable_mousewheel;
12977 if test "$enableval" = yes; then
12978 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12979 else
12980 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12981 fi
12982
12983 else
12984
12985 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12986
12987 fi
12988
12989
12990 eval "$wx_cv_use_mousewheel"
12991
12992 if test x"$enablestring" = xdisable; then
12993 if test $wxUSE_MOUSEWHEEL = yes; then
12994 result=no
12995 else
12996 result=yes
12997 fi
12998 else
12999 result=$wxUSE_MOUSEWHEEL
13000 fi
13001
13002 { echo "$as_me:$LINENO: result: $result" >&5
13003 echo "${ECHO_T}$result" >&6; }
13004
13005
13006 enablestring=
13007 defaultval=$wxUSE_ALL_FEATURES
13008 if test -z "$defaultval"; then
13009 if test x"$enablestring" = xdisable; then
13010 defaultval=yes
13011 else
13012 defaultval=no
13013 fi
13014 fi
13015
13016 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13017 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13018 # Check whether --enable-validators was given.
13019 if test "${enable_validators+set}" = set; then
13020 enableval=$enable_validators;
13021 if test "$enableval" = yes; then
13022 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13023 else
13024 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13025 fi
13026
13027 else
13028
13029 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13030
13031 fi
13032
13033
13034 eval "$wx_cv_use_validators"
13035
13036 if test x"$enablestring" = xdisable; then
13037 if test $wxUSE_VALIDATORS = yes; then
13038 result=no
13039 else
13040 result=yes
13041 fi
13042 else
13043 result=$wxUSE_VALIDATORS
13044 fi
13045
13046 { echo "$as_me:$LINENO: result: $result" >&5
13047 echo "${ECHO_T}$result" >&6; }
13048
13049
13050 enablestring=
13051 defaultval=$wxUSE_ALL_FEATURES
13052 if test -z "$defaultval"; then
13053 if test x"$enablestring" = xdisable; then
13054 defaultval=yes
13055 else
13056 defaultval=no
13057 fi
13058 fi
13059
13060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13061 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13062 # Check whether --enable-busyinfo was given.
13063 if test "${enable_busyinfo+set}" = set; then
13064 enableval=$enable_busyinfo;
13065 if test "$enableval" = yes; then
13066 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13067 else
13068 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13069 fi
13070
13071 else
13072
13073 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13074
13075 fi
13076
13077
13078 eval "$wx_cv_use_busyinfo"
13079
13080 if test x"$enablestring" = xdisable; then
13081 if test $wxUSE_BUSYINFO = yes; then
13082 result=no
13083 else
13084 result=yes
13085 fi
13086 else
13087 result=$wxUSE_BUSYINFO
13088 fi
13089
13090 { echo "$as_me:$LINENO: result: $result" >&5
13091 echo "${ECHO_T}$result" >&6; }
13092
13093
13094 enablestring=
13095 defaultval=$wxUSE_ALL_FEATURES
13096 if test -z "$defaultval"; then
13097 if test x"$enablestring" = xdisable; then
13098 defaultval=yes
13099 else
13100 defaultval=no
13101 fi
13102 fi
13103
13104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13105 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13106 # Check whether --enable-joystick was given.
13107 if test "${enable_joystick+set}" = set; then
13108 enableval=$enable_joystick;
13109 if test "$enableval" = yes; then
13110 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13111 else
13112 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13113 fi
13114
13115 else
13116
13117 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13118
13119 fi
13120
13121
13122 eval "$wx_cv_use_joystick"
13123
13124 if test x"$enablestring" = xdisable; then
13125 if test $wxUSE_JOYSTICK = yes; then
13126 result=no
13127 else
13128 result=yes
13129 fi
13130 else
13131 result=$wxUSE_JOYSTICK
13132 fi
13133
13134 { echo "$as_me:$LINENO: result: $result" >&5
13135 echo "${ECHO_T}$result" >&6; }
13136
13137
13138 enablestring=
13139 defaultval=$wxUSE_ALL_FEATURES
13140 if test -z "$defaultval"; then
13141 if test x"$enablestring" = xdisable; then
13142 defaultval=yes
13143 else
13144 defaultval=no
13145 fi
13146 fi
13147
13148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13149 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13150 # Check whether --enable-metafile was given.
13151 if test "${enable_metafile+set}" = set; then
13152 enableval=$enable_metafile;
13153 if test "$enableval" = yes; then
13154 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13155 else
13156 wx_cv_use_metafile='wxUSE_METAFILE=no'
13157 fi
13158
13159 else
13160
13161 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13162
13163 fi
13164
13165
13166 eval "$wx_cv_use_metafile"
13167
13168 if test x"$enablestring" = xdisable; then
13169 if test $wxUSE_METAFILE = yes; then
13170 result=no
13171 else
13172 result=yes
13173 fi
13174 else
13175 result=$wxUSE_METAFILE
13176 fi
13177
13178 { echo "$as_me:$LINENO: result: $result" >&5
13179 echo "${ECHO_T}$result" >&6; }
13180
13181
13182 enablestring=
13183 defaultval=$wxUSE_ALL_FEATURES
13184 if test -z "$defaultval"; then
13185 if test x"$enablestring" = xdisable; then
13186 defaultval=yes
13187 else
13188 defaultval=no
13189 fi
13190 fi
13191
13192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13193 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13194 # Check whether --enable-dragimage was given.
13195 if test "${enable_dragimage+set}" = set; then
13196 enableval=$enable_dragimage;
13197 if test "$enableval" = yes; then
13198 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13199 else
13200 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13201 fi
13202
13203 else
13204
13205 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13206
13207 fi
13208
13209
13210 eval "$wx_cv_use_dragimage"
13211
13212 if test x"$enablestring" = xdisable; then
13213 if test $wxUSE_DRAGIMAGE = yes; then
13214 result=no
13215 else
13216 result=yes
13217 fi
13218 else
13219 result=$wxUSE_DRAGIMAGE
13220 fi
13221
13222 { echo "$as_me:$LINENO: result: $result" >&5
13223 echo "${ECHO_T}$result" >&6; }
13224
13225
13226 enablestring=
13227 defaultval=$wxUSE_ALL_FEATURES
13228 if test -z "$defaultval"; then
13229 if test x"$enablestring" = xdisable; then
13230 defaultval=yes
13231 else
13232 defaultval=no
13233 fi
13234 fi
13235
13236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13237 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13238 # Check whether --enable-accessibility was given.
13239 if test "${enable_accessibility+set}" = set; then
13240 enableval=$enable_accessibility;
13241 if test "$enableval" = yes; then
13242 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13243 else
13244 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13245 fi
13246
13247 else
13248
13249 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13250
13251 fi
13252
13253
13254 eval "$wx_cv_use_accessibility"
13255
13256 if test x"$enablestring" = xdisable; then
13257 if test $wxUSE_ACCESSIBILITY = yes; then
13258 result=no
13259 else
13260 result=yes
13261 fi
13262 else
13263 result=$wxUSE_ACCESSIBILITY
13264 fi
13265
13266 { echo "$as_me:$LINENO: result: $result" >&5
13267 echo "${ECHO_T}$result" >&6; }
13268
13269
13270
13271
13272 enablestring=
13273 defaultval=$wxUSE_ALL_FEATURES
13274 if test -z "$defaultval"; then
13275 if test x"$enablestring" = xdisable; then
13276 defaultval=yes
13277 else
13278 defaultval=no
13279 fi
13280 fi
13281
13282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13283 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13284 # Check whether --enable-palette was given.
13285 if test "${enable_palette+set}" = set; then
13286 enableval=$enable_palette;
13287 if test "$enableval" = yes; then
13288 wx_cv_use_palette='wxUSE_PALETTE=yes'
13289 else
13290 wx_cv_use_palette='wxUSE_PALETTE=no'
13291 fi
13292
13293 else
13294
13295 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13296
13297 fi
13298
13299
13300 eval "$wx_cv_use_palette"
13301
13302 if test x"$enablestring" = xdisable; then
13303 if test $wxUSE_PALETTE = yes; then
13304 result=no
13305 else
13306 result=yes
13307 fi
13308 else
13309 result=$wxUSE_PALETTE
13310 fi
13311
13312 { echo "$as_me:$LINENO: result: $result" >&5
13313 echo "${ECHO_T}$result" >&6; }
13314
13315
13316 enablestring=
13317 defaultval=$wxUSE_ALL_FEATURES
13318 if test -z "$defaultval"; then
13319 if test x"$enablestring" = xdisable; then
13320 defaultval=yes
13321 else
13322 defaultval=no
13323 fi
13324 fi
13325
13326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13327 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13328 # Check whether --enable-image was given.
13329 if test "${enable_image+set}" = set; then
13330 enableval=$enable_image;
13331 if test "$enableval" = yes; then
13332 wx_cv_use_image='wxUSE_IMAGE=yes'
13333 else
13334 wx_cv_use_image='wxUSE_IMAGE=no'
13335 fi
13336
13337 else
13338
13339 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13340
13341 fi
13342
13343
13344 eval "$wx_cv_use_image"
13345
13346 if test x"$enablestring" = xdisable; then
13347 if test $wxUSE_IMAGE = yes; then
13348 result=no
13349 else
13350 result=yes
13351 fi
13352 else
13353 result=$wxUSE_IMAGE
13354 fi
13355
13356 { echo "$as_me:$LINENO: result: $result" >&5
13357 echo "${ECHO_T}$result" >&6; }
13358
13359
13360 enablestring=
13361 defaultval=$wxUSE_ALL_FEATURES
13362 if test -z "$defaultval"; then
13363 if test x"$enablestring" = xdisable; then
13364 defaultval=yes
13365 else
13366 defaultval=no
13367 fi
13368 fi
13369
13370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13371 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13372 # Check whether --enable-gif was given.
13373 if test "${enable_gif+set}" = set; then
13374 enableval=$enable_gif;
13375 if test "$enableval" = yes; then
13376 wx_cv_use_gif='wxUSE_GIF=yes'
13377 else
13378 wx_cv_use_gif='wxUSE_GIF=no'
13379 fi
13380
13381 else
13382
13383 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13384
13385 fi
13386
13387
13388 eval "$wx_cv_use_gif"
13389
13390 if test x"$enablestring" = xdisable; then
13391 if test $wxUSE_GIF = yes; then
13392 result=no
13393 else
13394 result=yes
13395 fi
13396 else
13397 result=$wxUSE_GIF
13398 fi
13399
13400 { echo "$as_me:$LINENO: result: $result" >&5
13401 echo "${ECHO_T}$result" >&6; }
13402
13403
13404 enablestring=
13405 defaultval=$wxUSE_ALL_FEATURES
13406 if test -z "$defaultval"; then
13407 if test x"$enablestring" = xdisable; then
13408 defaultval=yes
13409 else
13410 defaultval=no
13411 fi
13412 fi
13413
13414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13415 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13416 # Check whether --enable-pcx was given.
13417 if test "${enable_pcx+set}" = set; then
13418 enableval=$enable_pcx;
13419 if test "$enableval" = yes; then
13420 wx_cv_use_pcx='wxUSE_PCX=yes'
13421 else
13422 wx_cv_use_pcx='wxUSE_PCX=no'
13423 fi
13424
13425 else
13426
13427 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13428
13429 fi
13430
13431
13432 eval "$wx_cv_use_pcx"
13433
13434 if test x"$enablestring" = xdisable; then
13435 if test $wxUSE_PCX = yes; then
13436 result=no
13437 else
13438 result=yes
13439 fi
13440 else
13441 result=$wxUSE_PCX
13442 fi
13443
13444 { echo "$as_me:$LINENO: result: $result" >&5
13445 echo "${ECHO_T}$result" >&6; }
13446
13447
13448 enablestring=
13449 defaultval=$wxUSE_ALL_FEATURES
13450 if test -z "$defaultval"; then
13451 if test x"$enablestring" = xdisable; then
13452 defaultval=yes
13453 else
13454 defaultval=no
13455 fi
13456 fi
13457
13458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13459 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13460 # Check whether --enable-tga was given.
13461 if test "${enable_tga+set}" = set; then
13462 enableval=$enable_tga;
13463 if test "$enableval" = yes; then
13464 wx_cv_use_tga='wxUSE_TGA=yes'
13465 else
13466 wx_cv_use_tga='wxUSE_TGA=no'
13467 fi
13468
13469 else
13470
13471 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13472
13473 fi
13474
13475
13476 eval "$wx_cv_use_tga"
13477
13478 if test x"$enablestring" = xdisable; then
13479 if test $wxUSE_TGA = yes; then
13480 result=no
13481 else
13482 result=yes
13483 fi
13484 else
13485 result=$wxUSE_TGA
13486 fi
13487
13488 { echo "$as_me:$LINENO: result: $result" >&5
13489 echo "${ECHO_T}$result" >&6; }
13490
13491
13492 enablestring=
13493 defaultval=$wxUSE_ALL_FEATURES
13494 if test -z "$defaultval"; then
13495 if test x"$enablestring" = xdisable; then
13496 defaultval=yes
13497 else
13498 defaultval=no
13499 fi
13500 fi
13501
13502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13503 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13504 # Check whether --enable-iff was given.
13505 if test "${enable_iff+set}" = set; then
13506 enableval=$enable_iff;
13507 if test "$enableval" = yes; then
13508 wx_cv_use_iff='wxUSE_IFF=yes'
13509 else
13510 wx_cv_use_iff='wxUSE_IFF=no'
13511 fi
13512
13513 else
13514
13515 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13516
13517 fi
13518
13519
13520 eval "$wx_cv_use_iff"
13521
13522 if test x"$enablestring" = xdisable; then
13523 if test $wxUSE_IFF = yes; then
13524 result=no
13525 else
13526 result=yes
13527 fi
13528 else
13529 result=$wxUSE_IFF
13530 fi
13531
13532 { echo "$as_me:$LINENO: result: $result" >&5
13533 echo "${ECHO_T}$result" >&6; }
13534
13535
13536 enablestring=
13537 defaultval=$wxUSE_ALL_FEATURES
13538 if test -z "$defaultval"; then
13539 if test x"$enablestring" = xdisable; then
13540 defaultval=yes
13541 else
13542 defaultval=no
13543 fi
13544 fi
13545
13546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13547 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13548 # Check whether --enable-pnm was given.
13549 if test "${enable_pnm+set}" = set; then
13550 enableval=$enable_pnm;
13551 if test "$enableval" = yes; then
13552 wx_cv_use_pnm='wxUSE_PNM=yes'
13553 else
13554 wx_cv_use_pnm='wxUSE_PNM=no'
13555 fi
13556
13557 else
13558
13559 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13560
13561 fi
13562
13563
13564 eval "$wx_cv_use_pnm"
13565
13566 if test x"$enablestring" = xdisable; then
13567 if test $wxUSE_PNM = yes; then
13568 result=no
13569 else
13570 result=yes
13571 fi
13572 else
13573 result=$wxUSE_PNM
13574 fi
13575
13576 { echo "$as_me:$LINENO: result: $result" >&5
13577 echo "${ECHO_T}$result" >&6; }
13578
13579
13580 enablestring=
13581 defaultval=$wxUSE_ALL_FEATURES
13582 if test -z "$defaultval"; then
13583 if test x"$enablestring" = xdisable; then
13584 defaultval=yes
13585 else
13586 defaultval=no
13587 fi
13588 fi
13589
13590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13591 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13592 # Check whether --enable-xpm was given.
13593 if test "${enable_xpm+set}" = set; then
13594 enableval=$enable_xpm;
13595 if test "$enableval" = yes; then
13596 wx_cv_use_xpm='wxUSE_XPM=yes'
13597 else
13598 wx_cv_use_xpm='wxUSE_XPM=no'
13599 fi
13600
13601 else
13602
13603 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13604
13605 fi
13606
13607
13608 eval "$wx_cv_use_xpm"
13609
13610 if test x"$enablestring" = xdisable; then
13611 if test $wxUSE_XPM = yes; then
13612 result=no
13613 else
13614 result=yes
13615 fi
13616 else
13617 result=$wxUSE_XPM
13618 fi
13619
13620 { echo "$as_me:$LINENO: result: $result" >&5
13621 echo "${ECHO_T}$result" >&6; }
13622
13623
13624 enablestring=
13625 defaultval=$wxUSE_ALL_FEATURES
13626 if test -z "$defaultval"; then
13627 if test x"$enablestring" = xdisable; then
13628 defaultval=yes
13629 else
13630 defaultval=no
13631 fi
13632 fi
13633
13634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13635 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13636 # Check whether --enable-ico_cur was given.
13637 if test "${enable_ico_cur+set}" = set; then
13638 enableval=$enable_ico_cur;
13639 if test "$enableval" = yes; then
13640 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13641 else
13642 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13643 fi
13644
13645 else
13646
13647 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13648
13649 fi
13650
13651
13652 eval "$wx_cv_use_ico_cur"
13653
13654 if test x"$enablestring" = xdisable; then
13655 if test $wxUSE_ICO_CUR = yes; then
13656 result=no
13657 else
13658 result=yes
13659 fi
13660 else
13661 result=$wxUSE_ICO_CUR
13662 fi
13663
13664 { echo "$as_me:$LINENO: result: $result" >&5
13665 echo "${ECHO_T}$result" >&6; }
13666
13667
13668
13669
13670 enablestring=
13671 defaultval=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x"$enablestring" = xdisable; then
13674 defaultval=yes
13675 else
13676 defaultval=no
13677 fi
13678 fi
13679
13680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13681 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13682 # Check whether --enable-dccache was given.
13683 if test "${enable_dccache+set}" = set; then
13684 enableval=$enable_dccache;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13687 else
13688 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13689 fi
13690
13691 else
13692
13693 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13694
13695 fi
13696
13697
13698 eval "$wx_cv_use_dccache"
13699
13700 if test x"$enablestring" = xdisable; then
13701 if test $wxUSE_DC_CACHEING = yes; then
13702 result=no
13703 else
13704 result=yes
13705 fi
13706 else
13707 result=$wxUSE_DC_CACHEING
13708 fi
13709
13710 { echo "$as_me:$LINENO: result: $result" >&5
13711 echo "${ECHO_T}$result" >&6; }
13712
13713
13714 enablestring=
13715 defaultval=$wxUSE_ALL_FEATURES
13716 if test -z "$defaultval"; then
13717 if test x"$enablestring" = xdisable; then
13718 defaultval=yes
13719 else
13720 defaultval=no
13721 fi
13722 fi
13723
13724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13725 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13726 # Check whether --enable-ps-in-msw was given.
13727 if test "${enable_ps_in_msw+set}" = set; then
13728 enableval=$enable_ps_in_msw;
13729 if test "$enableval" = yes; then
13730 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13731 else
13732 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13733 fi
13734
13735 else
13736
13737 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13738
13739 fi
13740
13741
13742 eval "$wx_cv_use_ps_in_msw"
13743
13744 if test x"$enablestring" = xdisable; then
13745 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13746 result=no
13747 else
13748 result=yes
13749 fi
13750 else
13751 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13752 fi
13753
13754 { echo "$as_me:$LINENO: result: $result" >&5
13755 echo "${ECHO_T}$result" >&6; }
13756
13757
13758 enablestring=
13759 defaultval=$wxUSE_ALL_FEATURES
13760 if test -z "$defaultval"; then
13761 if test x"$enablestring" = xdisable; then
13762 defaultval=yes
13763 else
13764 defaultval=no
13765 fi
13766 fi
13767
13768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13769 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13770 # Check whether --enable-ownerdrawn was given.
13771 if test "${enable_ownerdrawn+set}" = set; then
13772 enableval=$enable_ownerdrawn;
13773 if test "$enableval" = yes; then
13774 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13775 else
13776 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13777 fi
13778
13779 else
13780
13781 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13782
13783 fi
13784
13785
13786 eval "$wx_cv_use_ownerdrawn"
13787
13788 if test x"$enablestring" = xdisable; then
13789 if test $wxUSE_OWNER_DRAWN = yes; then
13790 result=no
13791 else
13792 result=yes
13793 fi
13794 else
13795 result=$wxUSE_OWNER_DRAWN
13796 fi
13797
13798 { echo "$as_me:$LINENO: result: $result" >&5
13799 echo "${ECHO_T}$result" >&6; }
13800
13801
13802 enablestring=
13803 defaultval=$wxUSE_ALL_FEATURES
13804 if test -z "$defaultval"; then
13805 if test x"$enablestring" = xdisable; then
13806 defaultval=yes
13807 else
13808 defaultval=no
13809 fi
13810 fi
13811
13812 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13813 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13814 # Check whether --enable-uxtheme was given.
13815 if test "${enable_uxtheme+set}" = set; then
13816 enableval=$enable_uxtheme;
13817 if test "$enableval" = yes; then
13818 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13819 else
13820 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13821 fi
13822
13823 else
13824
13825 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13826
13827 fi
13828
13829
13830 eval "$wx_cv_use_uxtheme"
13831
13832 if test x"$enablestring" = xdisable; then
13833 if test $wxUSE_UXTHEME = yes; then
13834 result=no
13835 else
13836 result=yes
13837 fi
13838 else
13839 result=$wxUSE_UXTHEME
13840 fi
13841
13842 { echo "$as_me:$LINENO: result: $result" >&5
13843 echo "${ECHO_T}$result" >&6; }
13844
13845
13846 enablestring=
13847 defaultval=$wxUSE_ALL_FEATURES
13848 if test -z "$defaultval"; then
13849 if test x"$enablestring" = xdisable; then
13850 defaultval=yes
13851 else
13852 defaultval=no
13853 fi
13854 fi
13855
13856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13857 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13858 # Check whether --enable-wxdib was given.
13859 if test "${enable_wxdib+set}" = set; then
13860 enableval=$enable_wxdib;
13861 if test "$enableval" = yes; then
13862 wx_cv_use_wxdib='wxUSE_DIB=yes'
13863 else
13864 wx_cv_use_wxdib='wxUSE_DIB=no'
13865 fi
13866
13867 else
13868
13869 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13870
13871 fi
13872
13873
13874 eval "$wx_cv_use_wxdib"
13875
13876 if test x"$enablestring" = xdisable; then
13877 if test $wxUSE_DIB = yes; then
13878 result=no
13879 else
13880 result=yes
13881 fi
13882 else
13883 result=$wxUSE_DIB
13884 fi
13885
13886 { echo "$as_me:$LINENO: result: $result" >&5
13887 echo "${ECHO_T}$result" >&6; }
13888
13889
13890 if test "$wxUSE_MSW" != 1; then
13891 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13892 fi
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}-autoidman" >&5
13906 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13907 # Check whether --enable-autoidman was given.
13908 if test "${enable_autoidman+set}" = set; then
13909 enableval=$enable_autoidman;
13910 if test "$enableval" = yes; then
13911 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13912 else
13913 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13914 fi
13915
13916 else
13917
13918 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13919
13920 fi
13921
13922
13923 eval "$wx_cv_use_autoidman"
13924
13925 if test x"$enablestring" = xdisable; then
13926 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13927 result=no
13928 else
13929 result=yes
13930 fi
13931 else
13932 result=$wxUSE_AUTOID_MANAGEMENT
13933 fi
13934
13935 { echo "$as_me:$LINENO: result: $result" >&5
13936 echo "${ECHO_T}$result" >&6; }
13937
13938
13939 fi
13940
13941
13942 cat >confcache <<\_ACEOF
13943 # This file is a shell script that caches the results of configure
13944 # tests run on this system so they can be shared between configure
13945 # scripts and configure runs, see configure's option --config-cache.
13946 # It is not useful on other systems. If it contains results you don't
13947 # want to keep, you may remove or edit it.
13948 #
13949 # config.status only pays attention to the cache file if you give it
13950 # the --recheck option to rerun configure.
13951 #
13952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13954 # following values.
13955
13956 _ACEOF
13957
13958 # The following way of writing the cache mishandles newlines in values,
13959 # but we know of no workaround that is simple, portable, and efficient.
13960 # So, we kill variables containing newlines.
13961 # Ultrix sh set writes to stderr and can't be redirected directly,
13962 # and sets the high bit in the cache file unless we assign to the vars.
13963 (
13964 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13965 eval ac_val=\$$ac_var
13966 case $ac_val in #(
13967 *${as_nl}*)
13968 case $ac_var in #(
13969 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13970 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13971 esac
13972 case $ac_var in #(
13973 _ | IFS | as_nl) ;; #(
13974 *) $as_unset $ac_var ;;
13975 esac ;;
13976 esac
13977 done
13978
13979 (set) 2>&1 |
13980 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13981 *${as_nl}ac_space=\ *)
13982 # `set' does not quote correctly, so add quotes (double-quote
13983 # substitution turns \\\\ into \\, and sed turns \\ into \).
13984 sed -n \
13985 "s/'/'\\\\''/g;
13986 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13987 ;; #(
13988 *)
13989 # `set' quotes correctly as required by POSIX, so do not add quotes.
13990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13991 ;;
13992 esac |
13993 sort
13994 ) |
13995 sed '
13996 /^ac_cv_env_/b end
13997 t clear
13998 :clear
13999 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14000 t end
14001 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14002 :end' >>confcache
14003 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14004 if test -w "$cache_file"; then
14005 test "x$cache_file" != "x/dev/null" &&
14006 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14007 echo "$as_me: updating cache $cache_file" >&6;}
14008 cat confcache >$cache_file
14009 else
14010 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14011 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14012 fi
14013 fi
14014 rm -f confcache
14015
14016 CFLAGS=${CFLAGS:=}
14017
14018
14019
14020 ac_ext=c
14021 ac_cpp='$CPP $CPPFLAGS'
14022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14025 if test -n "$ac_tool_prefix"; then
14026 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14027 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14030 if test "${ac_cv_prog_CC+set}" = set; then
14031 echo $ECHO_N "(cached) $ECHO_C" >&6
14032 else
14033 if test -n "$CC"; then
14034 ac_cv_prog_CC="$CC" # Let the user override the test.
14035 else
14036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14037 for as_dir in $PATH
14038 do
14039 IFS=$as_save_IFS
14040 test -z "$as_dir" && as_dir=.
14041 for ac_exec_ext in '' $ac_executable_extensions; do
14042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14043 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14045 break 2
14046 fi
14047 done
14048 done
14049 IFS=$as_save_IFS
14050
14051 fi
14052 fi
14053 CC=$ac_cv_prog_CC
14054 if test -n "$CC"; then
14055 { echo "$as_me:$LINENO: result: $CC" >&5
14056 echo "${ECHO_T}$CC" >&6; }
14057 else
14058 { echo "$as_me:$LINENO: result: no" >&5
14059 echo "${ECHO_T}no" >&6; }
14060 fi
14061
14062
14063 fi
14064 if test -z "$ac_cv_prog_CC"; then
14065 ac_ct_CC=$CC
14066 # Extract the first word of "gcc", so it can be a program name with args.
14067 set dummy gcc; ac_word=$2
14068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14070 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14071 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 else
14073 if test -n "$ac_ct_CC"; then
14074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14075 else
14076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14077 for as_dir in $PATH
14078 do
14079 IFS=$as_save_IFS
14080 test -z "$as_dir" && as_dir=.
14081 for ac_exec_ext in '' $ac_executable_extensions; do
14082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14083 ac_cv_prog_ac_ct_CC="gcc"
14084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14085 break 2
14086 fi
14087 done
14088 done
14089 IFS=$as_save_IFS
14090
14091 fi
14092 fi
14093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14094 if test -n "$ac_ct_CC"; then
14095 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14096 echo "${ECHO_T}$ac_ct_CC" >&6; }
14097 else
14098 { echo "$as_me:$LINENO: result: no" >&5
14099 echo "${ECHO_T}no" >&6; }
14100 fi
14101
14102 if test "x$ac_ct_CC" = x; then
14103 CC=""
14104 else
14105 case $cross_compiling:$ac_tool_warned in
14106 yes:)
14107 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14108 whose name does not start with the host triplet. If you think this
14109 configuration is useful to you, please write to autoconf@gnu.org." >&5
14110 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14111 whose name does not start with the host triplet. If you think this
14112 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14113 ac_tool_warned=yes ;;
14114 esac
14115 CC=$ac_ct_CC
14116 fi
14117 else
14118 CC="$ac_cv_prog_CC"
14119 fi
14120
14121 if test -z "$CC"; then
14122 if test -n "$ac_tool_prefix"; then
14123 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14124 set dummy ${ac_tool_prefix}cc; ac_word=$2
14125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14127 if test "${ac_cv_prog_CC+set}" = set; then
14128 echo $ECHO_N "(cached) $ECHO_C" >&6
14129 else
14130 if test -n "$CC"; then
14131 ac_cv_prog_CC="$CC" # Let the user override the test.
14132 else
14133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14134 for as_dir in $PATH
14135 do
14136 IFS=$as_save_IFS
14137 test -z "$as_dir" && as_dir=.
14138 for ac_exec_ext in '' $ac_executable_extensions; do
14139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14140 ac_cv_prog_CC="${ac_tool_prefix}cc"
14141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14142 break 2
14143 fi
14144 done
14145 done
14146 IFS=$as_save_IFS
14147
14148 fi
14149 fi
14150 CC=$ac_cv_prog_CC
14151 if test -n "$CC"; then
14152 { echo "$as_me:$LINENO: result: $CC" >&5
14153 echo "${ECHO_T}$CC" >&6; }
14154 else
14155 { echo "$as_me:$LINENO: result: no" >&5
14156 echo "${ECHO_T}no" >&6; }
14157 fi
14158
14159
14160 fi
14161 fi
14162 if test -z "$CC"; then
14163 # Extract the first word of "cc", so it can be a program name with args.
14164 set dummy cc; ac_word=$2
14165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14167 if test "${ac_cv_prog_CC+set}" = set; then
14168 echo $ECHO_N "(cached) $ECHO_C" >&6
14169 else
14170 if test -n "$CC"; then
14171 ac_cv_prog_CC="$CC" # Let the user override the test.
14172 else
14173 ac_prog_rejected=no
14174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14175 for as_dir in $PATH
14176 do
14177 IFS=$as_save_IFS
14178 test -z "$as_dir" && as_dir=.
14179 for ac_exec_ext in '' $ac_executable_extensions; do
14180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14181 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14182 ac_prog_rejected=yes
14183 continue
14184 fi
14185 ac_cv_prog_CC="cc"
14186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14187 break 2
14188 fi
14189 done
14190 done
14191 IFS=$as_save_IFS
14192
14193 if test $ac_prog_rejected = yes; then
14194 # We found a bogon in the path, so make sure we never use it.
14195 set dummy $ac_cv_prog_CC
14196 shift
14197 if test $# != 0; then
14198 # We chose a different compiler from the bogus one.
14199 # However, it has the same basename, so the bogon will be chosen
14200 # first if we set CC to just the basename; use the full file name.
14201 shift
14202 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14203 fi
14204 fi
14205 fi
14206 fi
14207 CC=$ac_cv_prog_CC
14208 if test -n "$CC"; then
14209 { echo "$as_me:$LINENO: result: $CC" >&5
14210 echo "${ECHO_T}$CC" >&6; }
14211 else
14212 { echo "$as_me:$LINENO: result: no" >&5
14213 echo "${ECHO_T}no" >&6; }
14214 fi
14215
14216
14217 fi
14218 if test -z "$CC"; then
14219 if test -n "$ac_tool_prefix"; then
14220 for ac_prog in cl.exe
14221 do
14222 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14223 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14226 if test "${ac_cv_prog_CC+set}" = set; then
14227 echo $ECHO_N "(cached) $ECHO_C" >&6
14228 else
14229 if test -n "$CC"; then
14230 ac_cv_prog_CC="$CC" # Let the user override the test.
14231 else
14232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14233 for as_dir in $PATH
14234 do
14235 IFS=$as_save_IFS
14236 test -z "$as_dir" && as_dir=.
14237 for ac_exec_ext in '' $ac_executable_extensions; do
14238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14239 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14241 break 2
14242 fi
14243 done
14244 done
14245 IFS=$as_save_IFS
14246
14247 fi
14248 fi
14249 CC=$ac_cv_prog_CC
14250 if test -n "$CC"; then
14251 { echo "$as_me:$LINENO: result: $CC" >&5
14252 echo "${ECHO_T}$CC" >&6; }
14253 else
14254 { echo "$as_me:$LINENO: result: no" >&5
14255 echo "${ECHO_T}no" >&6; }
14256 fi
14257
14258
14259 test -n "$CC" && break
14260 done
14261 fi
14262 if test -z "$CC"; then
14263 ac_ct_CC=$CC
14264 for ac_prog in cl.exe
14265 do
14266 # Extract the first word of "$ac_prog", so it can be a program name with args.
14267 set dummy $ac_prog; ac_word=$2
14268 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14269 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14270 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14271 echo $ECHO_N "(cached) $ECHO_C" >&6
14272 else
14273 if test -n "$ac_ct_CC"; then
14274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14275 else
14276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14277 for as_dir in $PATH
14278 do
14279 IFS=$as_save_IFS
14280 test -z "$as_dir" && as_dir=.
14281 for ac_exec_ext in '' $ac_executable_extensions; do
14282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14283 ac_cv_prog_ac_ct_CC="$ac_prog"
14284 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14285 break 2
14286 fi
14287 done
14288 done
14289 IFS=$as_save_IFS
14290
14291 fi
14292 fi
14293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14294 if test -n "$ac_ct_CC"; then
14295 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14296 echo "${ECHO_T}$ac_ct_CC" >&6; }
14297 else
14298 { echo "$as_me:$LINENO: result: no" >&5
14299 echo "${ECHO_T}no" >&6; }
14300 fi
14301
14302
14303 test -n "$ac_ct_CC" && break
14304 done
14305
14306 if test "x$ac_ct_CC" = x; then
14307 CC=""
14308 else
14309 case $cross_compiling:$ac_tool_warned in
14310 yes:)
14311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14312 whose name does not start with the host triplet. If you think this
14313 configuration is useful to you, please write to autoconf@gnu.org." >&5
14314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14315 whose name does not start with the host triplet. If you think this
14316 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14317 ac_tool_warned=yes ;;
14318 esac
14319 CC=$ac_ct_CC
14320 fi
14321 fi
14322
14323 fi
14324
14325
14326 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14327 See \`config.log' for more details." >&5
14328 echo "$as_me: error: no acceptable C compiler found in \$PATH
14329 See \`config.log' for more details." >&2;}
14330 { (exit 1); exit 1; }; }
14331
14332 # Provide some information about the compiler.
14333 echo "$as_me:$LINENO: checking for C compiler version" >&5
14334 ac_compiler=`set X $ac_compile; echo $2`
14335 { (ac_try="$ac_compiler --version >&5"
14336 case "(($ac_try" in
14337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14338 *) ac_try_echo=$ac_try;;
14339 esac
14340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14341 (eval "$ac_compiler --version >&5") 2>&5
14342 ac_status=$?
14343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14344 (exit $ac_status); }
14345 { (ac_try="$ac_compiler -v >&5"
14346 case "(($ac_try" in
14347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14348 *) ac_try_echo=$ac_try;;
14349 esac
14350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14351 (eval "$ac_compiler -v >&5") 2>&5
14352 ac_status=$?
14353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14354 (exit $ac_status); }
14355 { (ac_try="$ac_compiler -V >&5"
14356 case "(($ac_try" in
14357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14358 *) ac_try_echo=$ac_try;;
14359 esac
14360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14361 (eval "$ac_compiler -V >&5") 2>&5
14362 ac_status=$?
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); }
14365
14366 cat >conftest.$ac_ext <<_ACEOF
14367 /* confdefs.h. */
14368 _ACEOF
14369 cat confdefs.h >>conftest.$ac_ext
14370 cat >>conftest.$ac_ext <<_ACEOF
14371 /* end confdefs.h. */
14372
14373 int
14374 main ()
14375 {
14376
14377 ;
14378 return 0;
14379 }
14380 _ACEOF
14381 ac_clean_files_save=$ac_clean_files
14382 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14383 # Try to create an executable without -o first, disregard a.out.
14384 # It will help us diagnose broken compilers, and finding out an intuition
14385 # of exeext.
14386 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14387 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14388 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14389 #
14390 # List of possible output files, starting from the most likely.
14391 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14392 # only as a last resort. b.out is created by i960 compilers.
14393 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14394 #
14395 # The IRIX 6 linker writes into existing files which may not be
14396 # executable, retaining their permissions. Remove them first so a
14397 # subsequent execution test works.
14398 ac_rmfiles=
14399 for ac_file in $ac_files
14400 do
14401 case $ac_file in
14402 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14403 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14404 esac
14405 done
14406 rm -f $ac_rmfiles
14407
14408 if { (ac_try="$ac_link_default"
14409 case "(($ac_try" in
14410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14411 *) ac_try_echo=$ac_try;;
14412 esac
14413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14414 (eval "$ac_link_default") 2>&5
14415 ac_status=$?
14416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14417 (exit $ac_status); }; then
14418 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14419 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14420 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14421 # so that the user can short-circuit this test for compilers unknown to
14422 # Autoconf.
14423 for ac_file in $ac_files ''
14424 do
14425 test -f "$ac_file" || continue
14426 case $ac_file in
14427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14428 ;;
14429 [ab].out )
14430 # We found the default executable, but exeext='' is most
14431 # certainly right.
14432 break;;
14433 *.* )
14434 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14435 then :; else
14436 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14437 fi
14438 # We set ac_cv_exeext here because the later test for it is not
14439 # safe: cross compilers may not add the suffix if given an `-o'
14440 # argument, so we may need to know it at that point already.
14441 # Even if this section looks crufty: it has the advantage of
14442 # actually working.
14443 break;;
14444 * )
14445 break;;
14446 esac
14447 done
14448 test "$ac_cv_exeext" = no && ac_cv_exeext=
14449
14450 else
14451 ac_file=''
14452 fi
14453
14454 { echo "$as_me:$LINENO: result: $ac_file" >&5
14455 echo "${ECHO_T}$ac_file" >&6; }
14456 if test -z "$ac_file"; then
14457 echo "$as_me: failed program was:" >&5
14458 sed 's/^/| /' conftest.$ac_ext >&5
14459
14460 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14461 See \`config.log' for more details." >&5
14462 echo "$as_me: error: C compiler cannot create executables
14463 See \`config.log' for more details." >&2;}
14464 { (exit 77); exit 77; }; }
14465 fi
14466
14467 ac_exeext=$ac_cv_exeext
14468
14469 # Check that the compiler produces executables we can run. If not, either
14470 # the compiler is broken, or we cross compile.
14471 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14472 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14473 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14474 # If not cross compiling, check that we can run a simple program.
14475 if test "$cross_compiling" != yes; then
14476 if { ac_try='./$ac_file'
14477 { (case "(($ac_try" in
14478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14479 *) ac_try_echo=$ac_try;;
14480 esac
14481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14482 (eval "$ac_try") 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14486 cross_compiling=no
14487 else
14488 if test "$cross_compiling" = maybe; then
14489 cross_compiling=yes
14490 else
14491 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14492 If you meant to cross compile, use \`--host'.
14493 See \`config.log' for more details." >&5
14494 echo "$as_me: error: cannot run C compiled programs.
14495 If you meant to cross compile, use \`--host'.
14496 See \`config.log' for more details." >&2;}
14497 { (exit 1); exit 1; }; }
14498 fi
14499 fi
14500 fi
14501 { echo "$as_me:$LINENO: result: yes" >&5
14502 echo "${ECHO_T}yes" >&6; }
14503
14504 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14505 ac_clean_files=$ac_clean_files_save
14506 # Check that the compiler produces executables we can run. If not, either
14507 # the compiler is broken, or we cross compile.
14508 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14509 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14510 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14511 echo "${ECHO_T}$cross_compiling" >&6; }
14512
14513 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14514 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14515 if { (ac_try="$ac_link"
14516 case "(($ac_try" in
14517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14518 *) ac_try_echo=$ac_try;;
14519 esac
14520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14521 (eval "$ac_link") 2>&5
14522 ac_status=$?
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; then
14525 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14526 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14527 # work properly (i.e., refer to `conftest.exe'), while it won't with
14528 # `rm'.
14529 for ac_file in conftest.exe conftest conftest.*; do
14530 test -f "$ac_file" || continue
14531 case $ac_file in
14532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14533 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14534 break;;
14535 * ) break;;
14536 esac
14537 done
14538 else
14539 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14540 See \`config.log' for more details." >&5
14541 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14542 See \`config.log' for more details." >&2;}
14543 { (exit 1); exit 1; }; }
14544 fi
14545
14546 rm -f conftest$ac_cv_exeext
14547 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14548 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14549
14550 rm -f conftest.$ac_ext
14551 EXEEXT=$ac_cv_exeext
14552 ac_exeext=$EXEEXT
14553 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14554 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14555 if test "${ac_cv_objext+set}" = set; then
14556 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 else
14558 cat >conftest.$ac_ext <<_ACEOF
14559 /* confdefs.h. */
14560 _ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14564
14565 int
14566 main ()
14567 {
14568
14569 ;
14570 return 0;
14571 }
14572 _ACEOF
14573 rm -f conftest.o conftest.obj
14574 if { (ac_try="$ac_compile"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14578 esac
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_compile") 2>&5
14581 ac_status=$?
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; then
14584 for ac_file in conftest.o conftest.obj conftest.*; do
14585 test -f "$ac_file" || continue;
14586 case $ac_file in
14587 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14588 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14589 break;;
14590 esac
14591 done
14592 else
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14595
14596 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14597 See \`config.log' for more details." >&5
14598 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14599 See \`config.log' for more details." >&2;}
14600 { (exit 1); exit 1; }; }
14601 fi
14602
14603 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14604 fi
14605 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14606 echo "${ECHO_T}$ac_cv_objext" >&6; }
14607 OBJEXT=$ac_cv_objext
14608 ac_objext=$OBJEXT
14609 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14610 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14611 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14612 echo $ECHO_N "(cached) $ECHO_C" >&6
14613 else
14614 cat >conftest.$ac_ext <<_ACEOF
14615 /* confdefs.h. */
14616 _ACEOF
14617 cat confdefs.h >>conftest.$ac_ext
14618 cat >>conftest.$ac_ext <<_ACEOF
14619 /* end confdefs.h. */
14620
14621 int
14622 main ()
14623 {
14624 #ifndef __GNUC__
14625 choke me
14626 #endif
14627
14628 ;
14629 return 0;
14630 }
14631 _ACEOF
14632 rm -f conftest.$ac_objext
14633 if { (ac_try="$ac_compile"
14634 case "(($ac_try" in
14635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14636 *) ac_try_echo=$ac_try;;
14637 esac
14638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14639 (eval "$ac_compile") 2>conftest.er1
14640 ac_status=$?
14641 grep -v '^ *+' conftest.er1 >conftest.err
14642 rm -f conftest.er1
14643 cat conftest.err >&5
14644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14645 (exit $ac_status); } && {
14646 test -z "$ac_c_werror_flag" ||
14647 test ! -s conftest.err
14648 } && test -s conftest.$ac_objext; then
14649 ac_compiler_gnu=yes
14650 else
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14653
14654 ac_compiler_gnu=no
14655 fi
14656
14657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14658 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14659
14660 fi
14661 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14662 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14663 GCC=`test $ac_compiler_gnu = yes && echo yes`
14664 ac_test_CFLAGS=${CFLAGS+set}
14665 ac_save_CFLAGS=$CFLAGS
14666 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14667 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14668 if test "${ac_cv_prog_cc_g+set}" = set; then
14669 echo $ECHO_N "(cached) $ECHO_C" >&6
14670 else
14671 ac_save_c_werror_flag=$ac_c_werror_flag
14672 ac_c_werror_flag=yes
14673 ac_cv_prog_cc_g=no
14674 CFLAGS="-g"
14675 cat >conftest.$ac_ext <<_ACEOF
14676 /* confdefs.h. */
14677 _ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681
14682 int
14683 main ()
14684 {
14685
14686 ;
14687 return 0;
14688 }
14689 _ACEOF
14690 rm -f conftest.$ac_objext
14691 if { (ac_try="$ac_compile"
14692 case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14695 esac
14696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_compile") 2>conftest.er1
14698 ac_status=$?
14699 grep -v '^ *+' conftest.er1 >conftest.err
14700 rm -f conftest.er1
14701 cat conftest.err >&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); } && {
14704 test -z "$ac_c_werror_flag" ||
14705 test ! -s conftest.err
14706 } && test -s conftest.$ac_objext; then
14707 ac_cv_prog_cc_g=yes
14708 else
14709 echo "$as_me: failed program was:" >&5
14710 sed 's/^/| /' conftest.$ac_ext >&5
14711
14712 CFLAGS=""
14713 cat >conftest.$ac_ext <<_ACEOF
14714 /* confdefs.h. */
14715 _ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719
14720 int
14721 main ()
14722 {
14723
14724 ;
14725 return 0;
14726 }
14727 _ACEOF
14728 rm -f conftest.$ac_objext
14729 if { (ac_try="$ac_compile"
14730 case "(($ac_try" in
14731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14732 *) ac_try_echo=$ac_try;;
14733 esac
14734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14735 (eval "$ac_compile") 2>conftest.er1
14736 ac_status=$?
14737 grep -v '^ *+' conftest.er1 >conftest.err
14738 rm -f conftest.er1
14739 cat conftest.err >&5
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); } && {
14742 test -z "$ac_c_werror_flag" ||
14743 test ! -s conftest.err
14744 } && test -s conftest.$ac_objext; then
14745 :
14746 else
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.$ac_ext >&5
14749
14750 ac_c_werror_flag=$ac_save_c_werror_flag
14751 CFLAGS="-g"
14752 cat >conftest.$ac_ext <<_ACEOF
14753 /* confdefs.h. */
14754 _ACEOF
14755 cat confdefs.h >>conftest.$ac_ext
14756 cat >>conftest.$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14758
14759 int
14760 main ()
14761 {
14762
14763 ;
14764 return 0;
14765 }
14766 _ACEOF
14767 rm -f conftest.$ac_objext
14768 if { (ac_try="$ac_compile"
14769 case "(($ac_try" in
14770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771 *) ac_try_echo=$ac_try;;
14772 esac
14773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14774 (eval "$ac_compile") 2>conftest.er1
14775 ac_status=$?
14776 grep -v '^ *+' conftest.er1 >conftest.err
14777 rm -f conftest.er1
14778 cat conftest.err >&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); } && {
14781 test -z "$ac_c_werror_flag" ||
14782 test ! -s conftest.err
14783 } && test -s conftest.$ac_objext; then
14784 ac_cv_prog_cc_g=yes
14785 else
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.$ac_ext >&5
14788
14789
14790 fi
14791
14792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14793 fi
14794
14795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14796 fi
14797
14798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14799 ac_c_werror_flag=$ac_save_c_werror_flag
14800 fi
14801 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14802 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14803 if test "$ac_test_CFLAGS" = set; then
14804 CFLAGS=$ac_save_CFLAGS
14805 elif test $ac_cv_prog_cc_g = yes; then
14806 if test "$GCC" = yes; then
14807 CFLAGS="-g -O2"
14808 else
14809 CFLAGS="-g"
14810 fi
14811 else
14812 if test "$GCC" = yes; then
14813 CFLAGS="-O2"
14814 else
14815 CFLAGS=
14816 fi
14817 fi
14818 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14819 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14820 if test "${ac_cv_prog_cc_c89+set}" = set; then
14821 echo $ECHO_N "(cached) $ECHO_C" >&6
14822 else
14823 ac_cv_prog_cc_c89=no
14824 ac_save_CC=$CC
14825 cat >conftest.$ac_ext <<_ACEOF
14826 /* confdefs.h. */
14827 _ACEOF
14828 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14831 #include <stdarg.h>
14832 #include <stdio.h>
14833 #include <sys/types.h>
14834 #include <sys/stat.h>
14835 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14836 struct buf { int x; };
14837 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14838 static char *e (p, i)
14839 char **p;
14840 int i;
14841 {
14842 return p[i];
14843 }
14844 static char *f (char * (*g) (char **, int), char **p, ...)
14845 {
14846 char *s;
14847 va_list v;
14848 va_start (v,p);
14849 s = g (p, va_arg (v,int));
14850 va_end (v);
14851 return s;
14852 }
14853
14854 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14855 function prototypes and stuff, but not '\xHH' hex character constants.
14856 These don't provoke an error unfortunately, instead are silently treated
14857 as 'x'. The following induces an error, until -std is added to get
14858 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14859 array size at least. It's necessary to write '\x00'==0 to get something
14860 that's true only with -std. */
14861 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14862
14863 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14864 inside strings and character constants. */
14865 #define FOO(x) 'x'
14866 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14867
14868 int test (int i, double x);
14869 struct s1 {int (*f) (int a);};
14870 struct s2 {int (*f) (double a);};
14871 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14872 int argc;
14873 char **argv;
14874 int
14875 main ()
14876 {
14877 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14878 ;
14879 return 0;
14880 }
14881 _ACEOF
14882 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14883 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14884 do
14885 CC="$ac_save_CC $ac_arg"
14886 rm -f conftest.$ac_objext
14887 if { (ac_try="$ac_compile"
14888 case "(($ac_try" in
14889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14890 *) ac_try_echo=$ac_try;;
14891 esac
14892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14893 (eval "$ac_compile") 2>conftest.er1
14894 ac_status=$?
14895 grep -v '^ *+' conftest.er1 >conftest.err
14896 rm -f conftest.er1
14897 cat conftest.err >&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } && {
14900 test -z "$ac_c_werror_flag" ||
14901 test ! -s conftest.err
14902 } && test -s conftest.$ac_objext; then
14903 ac_cv_prog_cc_c89=$ac_arg
14904 else
14905 echo "$as_me: failed program was:" >&5
14906 sed 's/^/| /' conftest.$ac_ext >&5
14907
14908
14909 fi
14910
14911 rm -f core conftest.err conftest.$ac_objext
14912 test "x$ac_cv_prog_cc_c89" != "xno" && break
14913 done
14914 rm -f conftest.$ac_ext
14915 CC=$ac_save_CC
14916
14917 fi
14918 # AC_CACHE_VAL
14919 case "x$ac_cv_prog_cc_c89" in
14920 x)
14921 { echo "$as_me:$LINENO: result: none needed" >&5
14922 echo "${ECHO_T}none needed" >&6; } ;;
14923 xno)
14924 { echo "$as_me:$LINENO: result: unsupported" >&5
14925 echo "${ECHO_T}unsupported" >&6; } ;;
14926 *)
14927 CC="$CC $ac_cv_prog_cc_c89"
14928 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14929 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14930 esac
14931
14932
14933 ac_ext=c
14934 ac_cpp='$CPP $CPPFLAGS'
14935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14938
14939
14940
14941
14942 ac_ext=c
14943 ac_cpp='$CPP $CPPFLAGS'
14944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14947
14948 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14949 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14950 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14951 echo $ECHO_N "(cached) $ECHO_C" >&6
14952 else
14953 cat >conftest.$ac_ext <<_ACEOF
14954 /* confdefs.h. */
14955 _ACEOF
14956 cat confdefs.h >>conftest.$ac_ext
14957 cat >>conftest.$ac_ext <<_ACEOF
14958 /* end confdefs.h. */
14959
14960 int
14961 main ()
14962 {
14963
14964 #ifndef __INTEL_COMPILER
14965 choke me
14966 #endif
14967
14968 ;
14969 return 0;
14970 }
14971 _ACEOF
14972 rm -f conftest.$ac_objext
14973 if { (ac_try="$ac_compile"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14977 esac
14978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_compile") 2>conftest.er1
14980 ac_status=$?
14981 grep -v '^ *+' conftest.er1 >conftest.err
14982 rm -f conftest.er1
14983 cat conftest.err >&5
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); } && {
14986 test -z "$ac_c_werror_flag" ||
14987 test ! -s conftest.err
14988 } && test -s conftest.$ac_objext; then
14989 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14990 else
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.$ac_ext >&5
14993
14994 bakefile_cv_c_compiler___INTEL_COMPILER=no
14995
14996 fi
14997
14998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14999
15000
15001 fi
15002 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15003 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
15004 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15005 :; INTELCC=yes
15006 else
15007 :;
15008 fi
15009 ac_ext=c
15010 ac_cpp='$CPP $CPPFLAGS'
15011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15014
15015
15016
15017
15018 if test "$INTELCC" = "yes"; then
15019
15020
15021 ac_ext=c
15022 ac_cpp='$CPP $CPPFLAGS'
15023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15026
15027 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
15028 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
15029 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
15030 echo $ECHO_N "(cached) $ECHO_C" >&6
15031 else
15032 cat >conftest.$ac_ext <<_ACEOF
15033 /* confdefs.h. */
15034 _ACEOF
15035 cat confdefs.h >>conftest.$ac_ext
15036 cat >>conftest.$ac_ext <<_ACEOF
15037 /* end confdefs.h. */
15038
15039 int
15040 main ()
15041 {
15042
15043 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
15044 choke me
15045 #endif
15046
15047 ;
15048 return 0;
15049 }
15050 _ACEOF
15051 rm -f conftest.$ac_objext
15052 if { (ac_try="$ac_compile"
15053 case "(($ac_try" in
15054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15055 *) ac_try_echo=$ac_try;;
15056 esac
15057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15058 (eval "$ac_compile") 2>conftest.er1
15059 ac_status=$?
15060 grep -v '^ *+' conftest.er1 >conftest.err
15061 rm -f conftest.er1
15062 cat conftest.err >&5
15063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15064 (exit $ac_status); } && {
15065 test -z "$ac_c_werror_flag" ||
15066 test ! -s conftest.err
15067 } && test -s conftest.$ac_objext; then
15068 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
15069 else
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15072
15073 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
15074
15075 fi
15076
15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15078
15079
15080 fi
15081 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
15082 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
15083 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
15084 :; INTELCC8=yes
15085 else
15086 :;
15087 fi
15088 ac_ext=c
15089 ac_cpp='$CPP $CPPFLAGS'
15090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15093
15094
15095
15096
15097
15098 ac_ext=c
15099 ac_cpp='$CPP $CPPFLAGS'
15100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15103
15104 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
15105 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
15106 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
15107 echo $ECHO_N "(cached) $ECHO_C" >&6
15108 else
15109 cat >conftest.$ac_ext <<_ACEOF
15110 /* confdefs.h. */
15111 _ACEOF
15112 cat confdefs.h >>conftest.$ac_ext
15113 cat >>conftest.$ac_ext <<_ACEOF
15114 /* end confdefs.h. */
15115
15116 int
15117 main ()
15118 {
15119
15120 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
15121 choke me
15122 #endif
15123
15124 ;
15125 return 0;
15126 }
15127 _ACEOF
15128 rm -f conftest.$ac_objext
15129 if { (ac_try="$ac_compile"
15130 case "(($ac_try" in
15131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15132 *) ac_try_echo=$ac_try;;
15133 esac
15134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15135 (eval "$ac_compile") 2>conftest.er1
15136 ac_status=$?
15137 grep -v '^ *+' conftest.er1 >conftest.err
15138 rm -f conftest.er1
15139 cat conftest.err >&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } && {
15142 test -z "$ac_c_werror_flag" ||
15143 test ! -s conftest.err
15144 } && test -s conftest.$ac_objext; then
15145 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
15146 else
15147 echo "$as_me: failed program was:" >&5
15148 sed 's/^/| /' conftest.$ac_ext >&5
15149
15150 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
15151
15152 fi
15153
15154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15155
15156
15157 fi
15158 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
15159 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
15160 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
15161 :; INTELCC10=yes
15162 else
15163 :;
15164 fi
15165 ac_ext=c
15166 ac_cpp='$CPP $CPPFLAGS'
15167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15170
15171
15172
15173 fi
15174
15175 if test "x$GCC" != "xyes"; then
15176 if test "xCC" = "xC"; then
15177 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15178 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15179 if test "${bakefile_cv_c_exto+set}" = set; then
15180 echo $ECHO_N "(cached) $ECHO_C" >&6
15181 else
15182 cat >conftest.$ac_ext <<_ACEOF
15183 /* confdefs.h. */
15184 _ACEOF
15185 cat confdefs.h >>conftest.$ac_ext
15186 cat >>conftest.$ac_ext <<_ACEOF
15187 /* end confdefs.h. */
15188
15189 int
15190 main ()
15191 {
15192
15193 ;
15194 return 0;
15195 }
15196 _ACEOF
15197 rm -f conftest.$ac_objext conftest.$ac_ext.o
15198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15199 (eval $ac_compile) 2>&5
15200 ac_status=$?
15201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15202 (exit $ac_status); }; then
15203 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15204 case $ac_file in
15205 conftest.$ac_ext.o)
15206 bakefile_cv_c_exto="-ext o"
15207 ;;
15208 *)
15209 ;;
15210 esac
15211 done
15212 else
15213 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15214 See \`config.log' for more details." >&5
15215 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15216 See \`config.log' for more details." >&2;}
15217 { (exit 1); exit 1; }; }
15218
15219 fi
15220
15221 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15222
15223 fi
15224 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15225 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15226 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15227 if test "c" = "c"; then
15228 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15229 fi
15230 if test "c" = "cxx"; then
15231 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15232 fi
15233 fi
15234
15235 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15236 unset ac_cv_prog_cc_g
15237 ac_test_CFLAGS=${CFLAGS+set}
15238 ac_save_CFLAGS=$CFLAGS
15239 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15240 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15241 if test "${ac_cv_prog_cc_g+set}" = set; then
15242 echo $ECHO_N "(cached) $ECHO_C" >&6
15243 else
15244 ac_save_c_werror_flag=$ac_c_werror_flag
15245 ac_c_werror_flag=yes
15246 ac_cv_prog_cc_g=no
15247 CFLAGS="-g"
15248 cat >conftest.$ac_ext <<_ACEOF
15249 /* confdefs.h. */
15250 _ACEOF
15251 cat confdefs.h >>conftest.$ac_ext
15252 cat >>conftest.$ac_ext <<_ACEOF
15253 /* end confdefs.h. */
15254
15255 int
15256 main ()
15257 {
15258
15259 ;
15260 return 0;
15261 }
15262 _ACEOF
15263 rm -f conftest.$ac_objext
15264 if { (ac_try="$ac_compile"
15265 case "(($ac_try" in
15266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15267 *) ac_try_echo=$ac_try;;
15268 esac
15269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15270 (eval "$ac_compile") 2>conftest.er1
15271 ac_status=$?
15272 grep -v '^ *+' conftest.er1 >conftest.err
15273 rm -f conftest.er1
15274 cat conftest.err >&5
15275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15276 (exit $ac_status); } && {
15277 test -z "$ac_c_werror_flag" ||
15278 test ! -s conftest.err
15279 } && test -s conftest.$ac_objext; then
15280 ac_cv_prog_cc_g=yes
15281 else
15282 echo "$as_me: failed program was:" >&5
15283 sed 's/^/| /' conftest.$ac_ext >&5
15284
15285 CFLAGS=""
15286 cat >conftest.$ac_ext <<_ACEOF
15287 /* confdefs.h. */
15288 _ACEOF
15289 cat confdefs.h >>conftest.$ac_ext
15290 cat >>conftest.$ac_ext <<_ACEOF
15291 /* end confdefs.h. */
15292
15293 int
15294 main ()
15295 {
15296
15297 ;
15298 return 0;
15299 }
15300 _ACEOF
15301 rm -f conftest.$ac_objext
15302 if { (ac_try="$ac_compile"
15303 case "(($ac_try" in
15304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15305 *) ac_try_echo=$ac_try;;
15306 esac
15307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15308 (eval "$ac_compile") 2>conftest.er1
15309 ac_status=$?
15310 grep -v '^ *+' conftest.er1 >conftest.err
15311 rm -f conftest.er1
15312 cat conftest.err >&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } && {
15315 test -z "$ac_c_werror_flag" ||
15316 test ! -s conftest.err
15317 } && test -s conftest.$ac_objext; then
15318 :
15319 else
15320 echo "$as_me: failed program was:" >&5
15321 sed 's/^/| /' conftest.$ac_ext >&5
15322
15323 ac_c_werror_flag=$ac_save_c_werror_flag
15324 CFLAGS="-g"
15325 cat >conftest.$ac_ext <<_ACEOF
15326 /* confdefs.h. */
15327 _ACEOF
15328 cat confdefs.h >>conftest.$ac_ext
15329 cat >>conftest.$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15331
15332 int
15333 main ()
15334 {
15335
15336 ;
15337 return 0;
15338 }
15339 _ACEOF
15340 rm -f conftest.$ac_objext
15341 if { (ac_try="$ac_compile"
15342 case "(($ac_try" in
15343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15344 *) ac_try_echo=$ac_try;;
15345 esac
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_compile") 2>conftest.er1
15348 ac_status=$?
15349 grep -v '^ *+' conftest.er1 >conftest.err
15350 rm -f conftest.er1
15351 cat conftest.err >&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } && {
15354 test -z "$ac_c_werror_flag" ||
15355 test ! -s conftest.err
15356 } && test -s conftest.$ac_objext; then
15357 ac_cv_prog_cc_g=yes
15358 else
15359 echo "$as_me: failed program was:" >&5
15360 sed 's/^/| /' conftest.$ac_ext >&5
15361
15362
15363 fi
15364
15365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15366 fi
15367
15368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15369 fi
15370
15371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15372 ac_c_werror_flag=$ac_save_c_werror_flag
15373 fi
15374 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15375 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15376 if test "$ac_test_CFLAGS" = set; then
15377 CFLAGS=$ac_save_CFLAGS
15378 elif test $ac_cv_prog_cc_g = yes; then
15379 if test "$GCC" = yes; then
15380 CFLAGS="-g -O2"
15381 else
15382 CFLAGS="-g"
15383 fi
15384 else
15385 if test "$GCC" = yes; then
15386 CFLAGS="-O2"
15387 else
15388 CFLAGS=
15389 fi
15390 fi
15391 fi
15392 fi
15393
15394 case `uname -s` in
15395 AIX*)
15396
15397
15398 ac_ext=c
15399 ac_cpp='$CPP $CPPFLAGS'
15400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15403
15404 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15405 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15406 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15407 echo $ECHO_N "(cached) $ECHO_C" >&6
15408 else
15409 cat >conftest.$ac_ext <<_ACEOF
15410 /* confdefs.h. */
15411 _ACEOF
15412 cat confdefs.h >>conftest.$ac_ext
15413 cat >>conftest.$ac_ext <<_ACEOF
15414 /* end confdefs.h. */
15415
15416 int
15417 main ()
15418 {
15419
15420 #ifndef __xlC__
15421 choke me
15422 #endif
15423
15424 ;
15425 return 0;
15426 }
15427 _ACEOF
15428 rm -f conftest.$ac_objext
15429 if { (ac_try="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15433 esac
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15436 ac_status=$?
15437 grep -v '^ *+' conftest.er1 >conftest.err
15438 rm -f conftest.er1
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_c_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 bakefile_cv_c_compiler___xlC__=yes
15446 else
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15449
15450 bakefile_cv_c_compiler___xlC__=no
15451
15452 fi
15453
15454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15455
15456
15457 fi
15458 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15459 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15460 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15461 :; XLCC=yes
15462 else
15463 :;
15464 fi
15465 ac_ext=c
15466 ac_cpp='$CPP $CPPFLAGS'
15467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15470
15471
15472
15473 ;;
15474
15475 Darwin)
15476
15477
15478 ac_ext=c
15479 ac_cpp='$CPP $CPPFLAGS'
15480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15483
15484 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15485 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15486 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15488 else
15489 cat >conftest.$ac_ext <<_ACEOF
15490 /* confdefs.h. */
15491 _ACEOF
15492 cat confdefs.h >>conftest.$ac_ext
15493 cat >>conftest.$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15495
15496 int
15497 main ()
15498 {
15499
15500 #ifndef __MWERKS__
15501 choke me
15502 #endif
15503
15504 ;
15505 return 0;
15506 }
15507 _ACEOF
15508 rm -f conftest.$ac_objext
15509 if { (ac_try="$ac_compile"
15510 case "(($ac_try" in
15511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15512 *) ac_try_echo=$ac_try;;
15513 esac
15514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15515 (eval "$ac_compile") 2>conftest.er1
15516 ac_status=$?
15517 grep -v '^ *+' conftest.er1 >conftest.err
15518 rm -f conftest.er1
15519 cat conftest.err >&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); } && {
15522 test -z "$ac_c_werror_flag" ||
15523 test ! -s conftest.err
15524 } && test -s conftest.$ac_objext; then
15525 bakefile_cv_c_compiler___MWERKS__=yes
15526 else
15527 echo "$as_me: failed program was:" >&5
15528 sed 's/^/| /' conftest.$ac_ext >&5
15529
15530 bakefile_cv_c_compiler___MWERKS__=no
15531
15532 fi
15533
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15535
15536
15537 fi
15538 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15539 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15540 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15541 :; MWCC=yes
15542 else
15543 :;
15544 fi
15545 ac_ext=c
15546 ac_cpp='$CPP $CPPFLAGS'
15547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15550
15551
15552
15553 if test "$MWCC" != "yes"; then
15554
15555
15556 ac_ext=c
15557 ac_cpp='$CPP $CPPFLAGS'
15558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15561
15562 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15563 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15564 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15565 echo $ECHO_N "(cached) $ECHO_C" >&6
15566 else
15567 cat >conftest.$ac_ext <<_ACEOF
15568 /* confdefs.h. */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15573
15574 int
15575 main ()
15576 {
15577
15578 #ifndef __xlC__
15579 choke me
15580 #endif
15581
15582 ;
15583 return 0;
15584 }
15585 _ACEOF
15586 rm -f conftest.$ac_objext
15587 if { (ac_try="$ac_compile"
15588 case "(($ac_try" in
15589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15590 *) ac_try_echo=$ac_try;;
15591 esac
15592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15593 (eval "$ac_compile") 2>conftest.er1
15594 ac_status=$?
15595 grep -v '^ *+' conftest.er1 >conftest.err
15596 rm -f conftest.er1
15597 cat conftest.err >&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); } && {
15600 test -z "$ac_c_werror_flag" ||
15601 test ! -s conftest.err
15602 } && test -s conftest.$ac_objext; then
15603 bakefile_cv_c_compiler___xlC__=yes
15604 else
15605 echo "$as_me: failed program was:" >&5
15606 sed 's/^/| /' conftest.$ac_ext >&5
15607
15608 bakefile_cv_c_compiler___xlC__=no
15609
15610 fi
15611
15612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15613
15614
15615 fi
15616 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15617 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15618 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15619 :; XLCC=yes
15620 else
15621 :;
15622 fi
15623 ac_ext=c
15624 ac_cpp='$CPP $CPPFLAGS'
15625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15628
15629
15630
15631 fi
15632 ;;
15633
15634 IRIX*)
15635
15636
15637 ac_ext=c
15638 ac_cpp='$CPP $CPPFLAGS'
15639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15642
15643 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15644 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15645 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15646 echo $ECHO_N "(cached) $ECHO_C" >&6
15647 else
15648 cat >conftest.$ac_ext <<_ACEOF
15649 /* confdefs.h. */
15650 _ACEOF
15651 cat confdefs.h >>conftest.$ac_ext
15652 cat >>conftest.$ac_ext <<_ACEOF
15653 /* end confdefs.h. */
15654
15655 int
15656 main ()
15657 {
15658
15659 #ifndef _SGI_COMPILER_VERSION
15660 choke me
15661 #endif
15662
15663 ;
15664 return 0;
15665 }
15666 _ACEOF
15667 rm -f conftest.$ac_objext
15668 if { (ac_try="$ac_compile"
15669 case "(($ac_try" in
15670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15671 *) ac_try_echo=$ac_try;;
15672 esac
15673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15674 (eval "$ac_compile") 2>conftest.er1
15675 ac_status=$?
15676 grep -v '^ *+' conftest.er1 >conftest.err
15677 rm -f conftest.er1
15678 cat conftest.err >&5
15679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15680 (exit $ac_status); } && {
15681 test -z "$ac_c_werror_flag" ||
15682 test ! -s conftest.err
15683 } && test -s conftest.$ac_objext; then
15684 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15685 else
15686 echo "$as_me: failed program was:" >&5
15687 sed 's/^/| /' conftest.$ac_ext >&5
15688
15689 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15690
15691 fi
15692
15693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15694
15695
15696 fi
15697 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15698 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15699 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15700 :; SGICC=yes
15701 else
15702 :;
15703 fi
15704 ac_ext=c
15705 ac_cpp='$CPP $CPPFLAGS'
15706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15709
15710
15711
15712 ;;
15713
15714 Linux*)
15715 if test "$INTELCC" != "yes"; then
15716
15717
15718 ac_ext=c
15719 ac_cpp='$CPP $CPPFLAGS'
15720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15723
15724 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15725 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15726 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15727 echo $ECHO_N "(cached) $ECHO_C" >&6
15728 else
15729 cat >conftest.$ac_ext <<_ACEOF
15730 /* confdefs.h. */
15731 _ACEOF
15732 cat confdefs.h >>conftest.$ac_ext
15733 cat >>conftest.$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15735
15736 int
15737 main ()
15738 {
15739
15740 #ifndef __SUNPRO_C
15741 choke me
15742 #endif
15743
15744 ;
15745 return 0;
15746 }
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (ac_try="$ac_compile"
15750 case "(($ac_try" in
15751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15752 *) ac_try_echo=$ac_try;;
15753 esac
15754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15755 (eval "$ac_compile") 2>conftest.er1
15756 ac_status=$?
15757 grep -v '^ *+' conftest.er1 >conftest.err
15758 rm -f conftest.er1
15759 cat conftest.err >&5
15760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15761 (exit $ac_status); } && {
15762 test -z "$ac_c_werror_flag" ||
15763 test ! -s conftest.err
15764 } && test -s conftest.$ac_objext; then
15765 bakefile_cv_c_compiler___SUNPRO_C=yes
15766 else
15767 echo "$as_me: failed program was:" >&5
15768 sed 's/^/| /' conftest.$ac_ext >&5
15769
15770 bakefile_cv_c_compiler___SUNPRO_C=no
15771
15772 fi
15773
15774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15775
15776
15777 fi
15778 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15779 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15780 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15781 :; SUNCC=yes
15782 else
15783 :;
15784 fi
15785 ac_ext=c
15786 ac_cpp='$CPP $CPPFLAGS'
15787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790
15791
15792
15793 fi
15794 ;;
15795
15796 HP-UX*)
15797
15798
15799 ac_ext=c
15800 ac_cpp='$CPP $CPPFLAGS'
15801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15804
15805 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15806 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15807 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15808 echo $ECHO_N "(cached) $ECHO_C" >&6
15809 else
15810 cat >conftest.$ac_ext <<_ACEOF
15811 /* confdefs.h. */
15812 _ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816
15817 int
15818 main ()
15819 {
15820
15821 #ifndef __HP_cc
15822 choke me
15823 #endif
15824
15825 ;
15826 return 0;
15827 }
15828 _ACEOF
15829 rm -f conftest.$ac_objext
15830 if { (ac_try="$ac_compile"
15831 case "(($ac_try" in
15832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15833 *) ac_try_echo=$ac_try;;
15834 esac
15835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15836 (eval "$ac_compile") 2>conftest.er1
15837 ac_status=$?
15838 grep -v '^ *+' conftest.er1 >conftest.err
15839 rm -f conftest.er1
15840 cat conftest.err >&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); } && {
15843 test -z "$ac_c_werror_flag" ||
15844 test ! -s conftest.err
15845 } && test -s conftest.$ac_objext; then
15846 bakefile_cv_c_compiler___HP_cc=yes
15847 else
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15850
15851 bakefile_cv_c_compiler___HP_cc=no
15852
15853 fi
15854
15855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15856
15857
15858 fi
15859 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15860 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15861 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15862 :; HPCC=yes
15863 else
15864 :;
15865 fi
15866 ac_ext=c
15867 ac_cpp='$CPP $CPPFLAGS'
15868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15871
15872
15873
15874 ;;
15875
15876 OSF1)
15877
15878
15879 ac_ext=c
15880 ac_cpp='$CPP $CPPFLAGS'
15881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15884
15885 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15886 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15887 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15888 echo $ECHO_N "(cached) $ECHO_C" >&6
15889 else
15890 cat >conftest.$ac_ext <<_ACEOF
15891 /* confdefs.h. */
15892 _ACEOF
15893 cat confdefs.h >>conftest.$ac_ext
15894 cat >>conftest.$ac_ext <<_ACEOF
15895 /* end confdefs.h. */
15896
15897 int
15898 main ()
15899 {
15900
15901 #ifndef __DECC
15902 choke me
15903 #endif
15904
15905 ;
15906 return 0;
15907 }
15908 _ACEOF
15909 rm -f conftest.$ac_objext
15910 if { (ac_try="$ac_compile"
15911 case "(($ac_try" in
15912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15913 *) ac_try_echo=$ac_try;;
15914 esac
15915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15916 (eval "$ac_compile") 2>conftest.er1
15917 ac_status=$?
15918 grep -v '^ *+' conftest.er1 >conftest.err
15919 rm -f conftest.er1
15920 cat conftest.err >&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest.$ac_objext; then
15926 bakefile_cv_c_compiler___DECC=yes
15927 else
15928 echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15930
15931 bakefile_cv_c_compiler___DECC=no
15932
15933 fi
15934
15935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15936
15937
15938 fi
15939 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15940 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15941 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15942 :; COMPAQCC=yes
15943 else
15944 :;
15945 fi
15946 ac_ext=c
15947 ac_cpp='$CPP $CPPFLAGS'
15948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15951
15952
15953
15954 ;;
15955
15956 SunOS)
15957
15958
15959 ac_ext=c
15960 ac_cpp='$CPP $CPPFLAGS'
15961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15964
15965 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15966 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15967 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15968 echo $ECHO_N "(cached) $ECHO_C" >&6
15969 else
15970 cat >conftest.$ac_ext <<_ACEOF
15971 /* confdefs.h. */
15972 _ACEOF
15973 cat confdefs.h >>conftest.$ac_ext
15974 cat >>conftest.$ac_ext <<_ACEOF
15975 /* end confdefs.h. */
15976
15977 int
15978 main ()
15979 {
15980
15981 #ifndef __SUNPRO_C
15982 choke me
15983 #endif
15984
15985 ;
15986 return 0;
15987 }
15988 _ACEOF
15989 rm -f conftest.$ac_objext
15990 if { (ac_try="$ac_compile"
15991 case "(($ac_try" in
15992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15993 *) ac_try_echo=$ac_try;;
15994 esac
15995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15996 (eval "$ac_compile") 2>conftest.er1
15997 ac_status=$?
15998 grep -v '^ *+' conftest.er1 >conftest.err
15999 rm -f conftest.er1
16000 cat conftest.err >&5
16001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16002 (exit $ac_status); } && {
16003 test -z "$ac_c_werror_flag" ||
16004 test ! -s conftest.err
16005 } && test -s conftest.$ac_objext; then
16006 bakefile_cv_c_compiler___SUNPRO_C=yes
16007 else
16008 echo "$as_me: failed program was:" >&5
16009 sed 's/^/| /' conftest.$ac_ext >&5
16010
16011 bakefile_cv_c_compiler___SUNPRO_C=no
16012
16013 fi
16014
16015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16016
16017
16018 fi
16019 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16020 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16021 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16022 :; SUNCC=yes
16023 else
16024 :;
16025 fi
16026 ac_ext=c
16027 ac_cpp='$CPP $CPPFLAGS'
16028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16031
16032
16033
16034 ;;
16035 esac
16036 fi
16037
16038
16039
16040 ac_ext=c
16041 ac_cpp='$CPP $CPPFLAGS'
16042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16045 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16046 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
16047 # On Suns, sometimes $CPP names a directory.
16048 if test -n "$CPP" && test -d "$CPP"; then
16049 CPP=
16050 fi
16051 if test -z "$CPP"; then
16052 if test "${ac_cv_prog_CPP+set}" = set; then
16053 echo $ECHO_N "(cached) $ECHO_C" >&6
16054 else
16055 # Double quotes because CPP needs to be expanded
16056 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16057 do
16058 ac_preproc_ok=false
16059 for ac_c_preproc_warn_flag in '' yes
16060 do
16061 # Use a header file that comes with gcc, so configuring glibc
16062 # with a fresh cross-compiler works.
16063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16064 # <limits.h> exists even on freestanding compilers.
16065 # On the NeXT, cc -E runs the code through the compiler's parser,
16066 # not just through cpp. "Syntax error" is here to catch this case.
16067 cat >conftest.$ac_ext <<_ACEOF
16068 /* confdefs.h. */
16069 _ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16073 #ifdef __STDC__
16074 # include <limits.h>
16075 #else
16076 # include <assert.h>
16077 #endif
16078 Syntax error
16079 _ACEOF
16080 if { (ac_try="$ac_cpp conftest.$ac_ext"
16081 case "(($ac_try" in
16082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16083 *) ac_try_echo=$ac_try;;
16084 esac
16085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16086 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16087 ac_status=$?
16088 grep -v '^ *+' conftest.er1 >conftest.err
16089 rm -f conftest.er1
16090 cat conftest.err >&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } >/dev/null && {
16093 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16094 test ! -s conftest.err
16095 }; then
16096 :
16097 else
16098 echo "$as_me: failed program was:" >&5
16099 sed 's/^/| /' conftest.$ac_ext >&5
16100
16101 # Broken: fails on valid input.
16102 continue
16103 fi
16104
16105 rm -f conftest.err conftest.$ac_ext
16106
16107 # OK, works on sane cases. Now check whether nonexistent headers
16108 # can be detected and how.
16109 cat >conftest.$ac_ext <<_ACEOF
16110 /* confdefs.h. */
16111 _ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 #include <ac_nonexistent.h>
16116 _ACEOF
16117 if { (ac_try="$ac_cpp conftest.$ac_ext"
16118 case "(($ac_try" in
16119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120 *) ac_try_echo=$ac_try;;
16121 esac
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16124 ac_status=$?
16125 grep -v '^ *+' conftest.er1 >conftest.err
16126 rm -f conftest.er1
16127 cat conftest.err >&5
16128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16129 (exit $ac_status); } >/dev/null && {
16130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16131 test ! -s conftest.err
16132 }; then
16133 # Broken: success on invalid input.
16134 continue
16135 else
16136 echo "$as_me: failed program was:" >&5
16137 sed 's/^/| /' conftest.$ac_ext >&5
16138
16139 # Passes both tests.
16140 ac_preproc_ok=:
16141 break
16142 fi
16143
16144 rm -f conftest.err conftest.$ac_ext
16145
16146 done
16147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16148 rm -f conftest.err conftest.$ac_ext
16149 if $ac_preproc_ok; then
16150 break
16151 fi
16152
16153 done
16154 ac_cv_prog_CPP=$CPP
16155
16156 fi
16157 CPP=$ac_cv_prog_CPP
16158 else
16159 ac_cv_prog_CPP=$CPP
16160 fi
16161 { echo "$as_me:$LINENO: result: $CPP" >&5
16162 echo "${ECHO_T}$CPP" >&6; }
16163 ac_preproc_ok=false
16164 for ac_c_preproc_warn_flag in '' yes
16165 do
16166 # Use a header file that comes with gcc, so configuring glibc
16167 # with a fresh cross-compiler works.
16168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16169 # <limits.h> exists even on freestanding compilers.
16170 # On the NeXT, cc -E runs the code through the compiler's parser,
16171 # not just through cpp. "Syntax error" is here to catch this case.
16172 cat >conftest.$ac_ext <<_ACEOF
16173 /* confdefs.h. */
16174 _ACEOF
16175 cat confdefs.h >>conftest.$ac_ext
16176 cat >>conftest.$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16178 #ifdef __STDC__
16179 # include <limits.h>
16180 #else
16181 # include <assert.h>
16182 #endif
16183 Syntax error
16184 _ACEOF
16185 if { (ac_try="$ac_cpp conftest.$ac_ext"
16186 case "(($ac_try" in
16187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16188 *) ac_try_echo=$ac_try;;
16189 esac
16190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16191 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16192 ac_status=$?
16193 grep -v '^ *+' conftest.er1 >conftest.err
16194 rm -f conftest.er1
16195 cat conftest.err >&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } >/dev/null && {
16198 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16199 test ! -s conftest.err
16200 }; then
16201 :
16202 else
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.$ac_ext >&5
16205
16206 # Broken: fails on valid input.
16207 continue
16208 fi
16209
16210 rm -f conftest.err conftest.$ac_ext
16211
16212 # OK, works on sane cases. Now check whether nonexistent headers
16213 # can be detected and how.
16214 cat >conftest.$ac_ext <<_ACEOF
16215 /* confdefs.h. */
16216 _ACEOF
16217 cat confdefs.h >>conftest.$ac_ext
16218 cat >>conftest.$ac_ext <<_ACEOF
16219 /* end confdefs.h. */
16220 #include <ac_nonexistent.h>
16221 _ACEOF
16222 if { (ac_try="$ac_cpp conftest.$ac_ext"
16223 case "(($ac_try" in
16224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16225 *) ac_try_echo=$ac_try;;
16226 esac
16227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16229 ac_status=$?
16230 grep -v '^ *+' conftest.er1 >conftest.err
16231 rm -f conftest.er1
16232 cat conftest.err >&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); } >/dev/null && {
16235 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16236 test ! -s conftest.err
16237 }; then
16238 # Broken: success on invalid input.
16239 continue
16240 else
16241 echo "$as_me: failed program was:" >&5
16242 sed 's/^/| /' conftest.$ac_ext >&5
16243
16244 # Passes both tests.
16245 ac_preproc_ok=:
16246 break
16247 fi
16248
16249 rm -f conftest.err conftest.$ac_ext
16250
16251 done
16252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16253 rm -f conftest.err conftest.$ac_ext
16254 if $ac_preproc_ok; then
16255 :
16256 else
16257 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16258 See \`config.log' for more details." >&5
16259 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16260 See \`config.log' for more details." >&2;}
16261 { (exit 1); exit 1; }; }
16262 fi
16263
16264 ac_ext=c
16265 ac_cpp='$CPP $CPPFLAGS'
16266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16269
16270
16271 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16272 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16273 if test "${ac_cv_path_GREP+set}" = set; then
16274 echo $ECHO_N "(cached) $ECHO_C" >&6
16275 else
16276 # Extract the first word of "grep ggrep" to use in msg output
16277 if test -z "$GREP"; then
16278 set dummy grep ggrep; ac_prog_name=$2
16279 if test "${ac_cv_path_GREP+set}" = set; then
16280 echo $ECHO_N "(cached) $ECHO_C" >&6
16281 else
16282 ac_path_GREP_found=false
16283 # Loop through the user's path and test for each of PROGNAME-LIST
16284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16285 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16286 do
16287 IFS=$as_save_IFS
16288 test -z "$as_dir" && as_dir=.
16289 for ac_prog in grep ggrep; do
16290 for ac_exec_ext in '' $ac_executable_extensions; do
16291 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16292 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16293 # Check for GNU ac_path_GREP and select it if it is found.
16294 # Check for GNU $ac_path_GREP
16295 case `"$ac_path_GREP" --version 2>&1` in
16296 *GNU*)
16297 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16298 *)
16299 ac_count=0
16300 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16301 while :
16302 do
16303 cat "conftest.in" "conftest.in" >"conftest.tmp"
16304 mv "conftest.tmp" "conftest.in"
16305 cp "conftest.in" "conftest.nl"
16306 echo 'GREP' >> "conftest.nl"
16307 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16308 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16309 ac_count=`expr $ac_count + 1`
16310 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16311 # Best one so far, save it but keep looking for a better one
16312 ac_cv_path_GREP="$ac_path_GREP"
16313 ac_path_GREP_max=$ac_count
16314 fi
16315 # 10*(2^10) chars as input seems more than enough
16316 test $ac_count -gt 10 && break
16317 done
16318 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16319 esac
16320
16321
16322 $ac_path_GREP_found && break 3
16323 done
16324 done
16325
16326 done
16327 IFS=$as_save_IFS
16328
16329
16330 fi
16331
16332 GREP="$ac_cv_path_GREP"
16333 if test -z "$GREP"; then
16334 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16335 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16336 { (exit 1); exit 1; }; }
16337 fi
16338
16339 else
16340 ac_cv_path_GREP=$GREP
16341 fi
16342
16343
16344 fi
16345 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16346 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16347 GREP="$ac_cv_path_GREP"
16348
16349
16350 { echo "$as_me:$LINENO: checking for egrep" >&5
16351 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16352 if test "${ac_cv_path_EGREP+set}" = set; then
16353 echo $ECHO_N "(cached) $ECHO_C" >&6
16354 else
16355 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16356 then ac_cv_path_EGREP="$GREP -E"
16357 else
16358 # Extract the first word of "egrep" to use in msg output
16359 if test -z "$EGREP"; then
16360 set dummy egrep; ac_prog_name=$2
16361 if test "${ac_cv_path_EGREP+set}" = set; then
16362 echo $ECHO_N "(cached) $ECHO_C" >&6
16363 else
16364 ac_path_EGREP_found=false
16365 # Loop through the user's path and test for each of PROGNAME-LIST
16366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16367 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16368 do
16369 IFS=$as_save_IFS
16370 test -z "$as_dir" && as_dir=.
16371 for ac_prog in egrep; do
16372 for ac_exec_ext in '' $ac_executable_extensions; do
16373 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16374 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16375 # Check for GNU ac_path_EGREP and select it if it is found.
16376 # Check for GNU $ac_path_EGREP
16377 case `"$ac_path_EGREP" --version 2>&1` in
16378 *GNU*)
16379 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16380 *)
16381 ac_count=0
16382 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16383 while :
16384 do
16385 cat "conftest.in" "conftest.in" >"conftest.tmp"
16386 mv "conftest.tmp" "conftest.in"
16387 cp "conftest.in" "conftest.nl"
16388 echo 'EGREP' >> "conftest.nl"
16389 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16390 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16391 ac_count=`expr $ac_count + 1`
16392 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16393 # Best one so far, save it but keep looking for a better one
16394 ac_cv_path_EGREP="$ac_path_EGREP"
16395 ac_path_EGREP_max=$ac_count
16396 fi
16397 # 10*(2^10) chars as input seems more than enough
16398 test $ac_count -gt 10 && break
16399 done
16400 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16401 esac
16402
16403
16404 $ac_path_EGREP_found && break 3
16405 done
16406 done
16407
16408 done
16409 IFS=$as_save_IFS
16410
16411
16412 fi
16413
16414 EGREP="$ac_cv_path_EGREP"
16415 if test -z "$EGREP"; then
16416 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16417 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16418 { (exit 1); exit 1; }; }
16419 fi
16420
16421 else
16422 ac_cv_path_EGREP=$EGREP
16423 fi
16424
16425
16426 fi
16427 fi
16428 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16429 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16430 EGREP="$ac_cv_path_EGREP"
16431
16432
16433 if test $ac_cv_c_compiler_gnu = yes; then
16434 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16435 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16436 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16437 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 else
16439 ac_pattern="Autoconf.*'x'"
16440 cat >conftest.$ac_ext <<_ACEOF
16441 /* confdefs.h. */
16442 _ACEOF
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 #include <sgtty.h>
16447 Autoconf TIOCGETP
16448 _ACEOF
16449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16450 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16451 ac_cv_prog_gcc_traditional=yes
16452 else
16453 ac_cv_prog_gcc_traditional=no
16454 fi
16455 rm -f conftest*
16456
16457
16458 if test $ac_cv_prog_gcc_traditional = no; then
16459 cat >conftest.$ac_ext <<_ACEOF
16460 /* confdefs.h. */
16461 _ACEOF
16462 cat confdefs.h >>conftest.$ac_ext
16463 cat >>conftest.$ac_ext <<_ACEOF
16464 /* end confdefs.h. */
16465 #include <termio.h>
16466 Autoconf TCGETA
16467 _ACEOF
16468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16469 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16470 ac_cv_prog_gcc_traditional=yes
16471 fi
16472 rm -f conftest*
16473
16474 fi
16475 fi
16476 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16477 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16478 if test $ac_cv_prog_gcc_traditional = yes; then
16479 CC="$CC -traditional"
16480 fi
16481 fi
16482
16483
16484 CXXFLAGS=${CXXFLAGS:=}
16485
16486
16487
16488 ac_ext=cpp
16489 ac_cpp='$CXXCPP $CPPFLAGS'
16490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16493 if test -z "$CXX"; then
16494 if test -n "$CCC"; then
16495 CXX=$CCC
16496 else
16497 if test -n "$ac_tool_prefix"; then
16498 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16499 do
16500 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16501 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16504 if test "${ac_cv_prog_CXX+set}" = set; then
16505 echo $ECHO_N "(cached) $ECHO_C" >&6
16506 else
16507 if test -n "$CXX"; then
16508 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16509 else
16510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16511 for as_dir in $PATH
16512 do
16513 IFS=$as_save_IFS
16514 test -z "$as_dir" && as_dir=.
16515 for ac_exec_ext in '' $ac_executable_extensions; do
16516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16517 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16519 break 2
16520 fi
16521 done
16522 done
16523 IFS=$as_save_IFS
16524
16525 fi
16526 fi
16527 CXX=$ac_cv_prog_CXX
16528 if test -n "$CXX"; then
16529 { echo "$as_me:$LINENO: result: $CXX" >&5
16530 echo "${ECHO_T}$CXX" >&6; }
16531 else
16532 { echo "$as_me:$LINENO: result: no" >&5
16533 echo "${ECHO_T}no" >&6; }
16534 fi
16535
16536
16537 test -n "$CXX" && break
16538 done
16539 fi
16540 if test -z "$CXX"; then
16541 ac_ct_CXX=$CXX
16542 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16543 do
16544 # Extract the first word of "$ac_prog", so it can be a program name with args.
16545 set dummy $ac_prog; ac_word=$2
16546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16548 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16549 echo $ECHO_N "(cached) $ECHO_C" >&6
16550 else
16551 if test -n "$ac_ct_CXX"; then
16552 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16553 else
16554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16555 for as_dir in $PATH
16556 do
16557 IFS=$as_save_IFS
16558 test -z "$as_dir" && as_dir=.
16559 for ac_exec_ext in '' $ac_executable_extensions; do
16560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16561 ac_cv_prog_ac_ct_CXX="$ac_prog"
16562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16563 break 2
16564 fi
16565 done
16566 done
16567 IFS=$as_save_IFS
16568
16569 fi
16570 fi
16571 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16572 if test -n "$ac_ct_CXX"; then
16573 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16574 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16575 else
16576 { echo "$as_me:$LINENO: result: no" >&5
16577 echo "${ECHO_T}no" >&6; }
16578 fi
16579
16580
16581 test -n "$ac_ct_CXX" && break
16582 done
16583
16584 if test "x$ac_ct_CXX" = x; then
16585 CXX="g++"
16586 else
16587 case $cross_compiling:$ac_tool_warned in
16588 yes:)
16589 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16590 whose name does not start with the host triplet. If you think this
16591 configuration is useful to you, please write to autoconf@gnu.org." >&5
16592 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16593 whose name does not start with the host triplet. If you think this
16594 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16595 ac_tool_warned=yes ;;
16596 esac
16597 CXX=$ac_ct_CXX
16598 fi
16599 fi
16600
16601 fi
16602 fi
16603 # Provide some information about the compiler.
16604 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16605 ac_compiler=`set X $ac_compile; echo $2`
16606 { (ac_try="$ac_compiler --version >&5"
16607 case "(($ac_try" in
16608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16609 *) ac_try_echo=$ac_try;;
16610 esac
16611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16612 (eval "$ac_compiler --version >&5") 2>&5
16613 ac_status=$?
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }
16616 { (ac_try="$ac_compiler -v >&5"
16617 case "(($ac_try" in
16618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16619 *) ac_try_echo=$ac_try;;
16620 esac
16621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16622 (eval "$ac_compiler -v >&5") 2>&5
16623 ac_status=$?
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }
16626 { (ac_try="$ac_compiler -V >&5"
16627 case "(($ac_try" in
16628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16629 *) ac_try_echo=$ac_try;;
16630 esac
16631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16632 (eval "$ac_compiler -V >&5") 2>&5
16633 ac_status=$?
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); }
16636
16637 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16638 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16639 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16640 echo $ECHO_N "(cached) $ECHO_C" >&6
16641 else
16642 cat >conftest.$ac_ext <<_ACEOF
16643 /* confdefs.h. */
16644 _ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16648
16649 int
16650 main ()
16651 {
16652 #ifndef __GNUC__
16653 choke me
16654 #endif
16655
16656 ;
16657 return 0;
16658 }
16659 _ACEOF
16660 rm -f conftest.$ac_objext
16661 if { (ac_try="$ac_compile"
16662 case "(($ac_try" in
16663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16664 *) ac_try_echo=$ac_try;;
16665 esac
16666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16667 (eval "$ac_compile") 2>conftest.er1
16668 ac_status=$?
16669 grep -v '^ *+' conftest.er1 >conftest.err
16670 rm -f conftest.er1
16671 cat conftest.err >&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); } && {
16674 test -z "$ac_cxx_werror_flag" ||
16675 test ! -s conftest.err
16676 } && test -s conftest.$ac_objext; then
16677 ac_compiler_gnu=yes
16678 else
16679 echo "$as_me: failed program was:" >&5
16680 sed 's/^/| /' conftest.$ac_ext >&5
16681
16682 ac_compiler_gnu=no
16683 fi
16684
16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16686 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16687
16688 fi
16689 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16690 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16691 GXX=`test $ac_compiler_gnu = yes && echo yes`
16692 ac_test_CXXFLAGS=${CXXFLAGS+set}
16693 ac_save_CXXFLAGS=$CXXFLAGS
16694 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16695 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16696 if test "${ac_cv_prog_cxx_g+set}" = set; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16698 else
16699 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16700 ac_cxx_werror_flag=yes
16701 ac_cv_prog_cxx_g=no
16702 CXXFLAGS="-g"
16703 cat >conftest.$ac_ext <<_ACEOF
16704 /* confdefs.h. */
16705 _ACEOF
16706 cat confdefs.h >>conftest.$ac_ext
16707 cat >>conftest.$ac_ext <<_ACEOF
16708 /* end confdefs.h. */
16709
16710 int
16711 main ()
16712 {
16713
16714 ;
16715 return 0;
16716 }
16717 _ACEOF
16718 rm -f conftest.$ac_objext
16719 if { (ac_try="$ac_compile"
16720 case "(($ac_try" in
16721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16722 *) ac_try_echo=$ac_try;;
16723 esac
16724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16725 (eval "$ac_compile") 2>conftest.er1
16726 ac_status=$?
16727 grep -v '^ *+' conftest.er1 >conftest.err
16728 rm -f conftest.er1
16729 cat conftest.err >&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); } && {
16732 test -z "$ac_cxx_werror_flag" ||
16733 test ! -s conftest.err
16734 } && test -s conftest.$ac_objext; then
16735 ac_cv_prog_cxx_g=yes
16736 else
16737 echo "$as_me: failed program was:" >&5
16738 sed 's/^/| /' conftest.$ac_ext >&5
16739
16740 CXXFLAGS=""
16741 cat >conftest.$ac_ext <<_ACEOF
16742 /* confdefs.h. */
16743 _ACEOF
16744 cat confdefs.h >>conftest.$ac_ext
16745 cat >>conftest.$ac_ext <<_ACEOF
16746 /* end confdefs.h. */
16747
16748 int
16749 main ()
16750 {
16751
16752 ;
16753 return 0;
16754 }
16755 _ACEOF
16756 rm -f conftest.$ac_objext
16757 if { (ac_try="$ac_compile"
16758 case "(($ac_try" in
16759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16760 *) ac_try_echo=$ac_try;;
16761 esac
16762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16763 (eval "$ac_compile") 2>conftest.er1
16764 ac_status=$?
16765 grep -v '^ *+' conftest.er1 >conftest.err
16766 rm -f conftest.er1
16767 cat conftest.err >&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } && {
16770 test -z "$ac_cxx_werror_flag" ||
16771 test ! -s conftest.err
16772 } && test -s conftest.$ac_objext; then
16773 :
16774 else
16775 echo "$as_me: failed program was:" >&5
16776 sed 's/^/| /' conftest.$ac_ext >&5
16777
16778 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16779 CXXFLAGS="-g"
16780 cat >conftest.$ac_ext <<_ACEOF
16781 /* confdefs.h. */
16782 _ACEOF
16783 cat confdefs.h >>conftest.$ac_ext
16784 cat >>conftest.$ac_ext <<_ACEOF
16785 /* end confdefs.h. */
16786
16787 int
16788 main ()
16789 {
16790
16791 ;
16792 return 0;
16793 }
16794 _ACEOF
16795 rm -f conftest.$ac_objext
16796 if { (ac_try="$ac_compile"
16797 case "(($ac_try" in
16798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16799 *) ac_try_echo=$ac_try;;
16800 esac
16801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16802 (eval "$ac_compile") 2>conftest.er1
16803 ac_status=$?
16804 grep -v '^ *+' conftest.er1 >conftest.err
16805 rm -f conftest.er1
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } && {
16809 test -z "$ac_cxx_werror_flag" ||
16810 test ! -s conftest.err
16811 } && test -s conftest.$ac_objext; then
16812 ac_cv_prog_cxx_g=yes
16813 else
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16816
16817
16818 fi
16819
16820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16821 fi
16822
16823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16824 fi
16825
16826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16828 fi
16829 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16830 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16831 if test "$ac_test_CXXFLAGS" = set; then
16832 CXXFLAGS=$ac_save_CXXFLAGS
16833 elif test $ac_cv_prog_cxx_g = yes; then
16834 if test "$GXX" = yes; then
16835 CXXFLAGS="-g -O2"
16836 else
16837 CXXFLAGS="-g"
16838 fi
16839 else
16840 if test "$GXX" = yes; then
16841 CXXFLAGS="-O2"
16842 else
16843 CXXFLAGS=
16844 fi
16845 fi
16846 ac_ext=c
16847 ac_cpp='$CPP $CPPFLAGS'
16848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16851
16852
16853
16854
16855 ac_ext=cpp
16856 ac_cpp='$CXXCPP $CPPFLAGS'
16857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16860
16861 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16862 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16863 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16864 echo $ECHO_N "(cached) $ECHO_C" >&6
16865 else
16866 cat >conftest.$ac_ext <<_ACEOF
16867 /* confdefs.h. */
16868 _ACEOF
16869 cat confdefs.h >>conftest.$ac_ext
16870 cat >>conftest.$ac_ext <<_ACEOF
16871 /* end confdefs.h. */
16872
16873 int
16874 main ()
16875 {
16876
16877 #ifndef __INTEL_COMPILER
16878 choke me
16879 #endif
16880
16881 ;
16882 return 0;
16883 }
16884 _ACEOF
16885 rm -f conftest.$ac_objext
16886 if { (ac_try="$ac_compile"
16887 case "(($ac_try" in
16888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16889 *) ac_try_echo=$ac_try;;
16890 esac
16891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16892 (eval "$ac_compile") 2>conftest.er1
16893 ac_status=$?
16894 grep -v '^ *+' conftest.er1 >conftest.err
16895 rm -f conftest.er1
16896 cat conftest.err >&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); } && {
16899 test -z "$ac_cxx_werror_flag" ||
16900 test ! -s conftest.err
16901 } && test -s conftest.$ac_objext; then
16902 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16903 else
16904 echo "$as_me: failed program was:" >&5
16905 sed 's/^/| /' conftest.$ac_ext >&5
16906
16907 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16908
16909 fi
16910
16911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16912
16913
16914 fi
16915 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16916 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16917 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16918 :; INTELCXX=yes
16919 else
16920 :;
16921 fi
16922 ac_ext=c
16923 ac_cpp='$CPP $CPPFLAGS'
16924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16927
16928
16929
16930
16931 if test "$INTELCXX" = "yes"; then
16932
16933
16934 ac_ext=cpp
16935 ac_cpp='$CXXCPP $CPPFLAGS'
16936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16939
16940 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
16941 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
16942 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16943 echo $ECHO_N "(cached) $ECHO_C" >&6
16944 else
16945 cat >conftest.$ac_ext <<_ACEOF
16946 /* confdefs.h. */
16947 _ACEOF
16948 cat confdefs.h >>conftest.$ac_ext
16949 cat >>conftest.$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951
16952 int
16953 main ()
16954 {
16955
16956 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16957 choke me
16958 #endif
16959
16960 ;
16961 return 0;
16962 }
16963 _ACEOF
16964 rm -f conftest.$ac_objext
16965 if { (ac_try="$ac_compile"
16966 case "(($ac_try" in
16967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16968 *) ac_try_echo=$ac_try;;
16969 esac
16970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16971 (eval "$ac_compile") 2>conftest.er1
16972 ac_status=$?
16973 grep -v '^ *+' conftest.er1 >conftest.err
16974 rm -f conftest.er1
16975 cat conftest.err >&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); } && {
16978 test -z "$ac_cxx_werror_flag" ||
16979 test ! -s conftest.err
16980 } && test -s conftest.$ac_objext; then
16981 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
16982 else
16983 echo "$as_me: failed program was:" >&5
16984 sed 's/^/| /' conftest.$ac_ext >&5
16985
16986 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
16987
16988 fi
16989
16990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16991
16992
16993 fi
16994 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
16995 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
16996 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16997 :; INTELCXX8=yes
16998 else
16999 :;
17000 fi
17001 ac_ext=c
17002 ac_cpp='$CPP $CPPFLAGS'
17003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17006
17007
17008
17009
17010
17011 ac_ext=cpp
17012 ac_cpp='$CXXCPP $CPPFLAGS'
17013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17016
17017 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
17018 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
17019 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
17020 echo $ECHO_N "(cached) $ECHO_C" >&6
17021 else
17022 cat >conftest.$ac_ext <<_ACEOF
17023 /* confdefs.h. */
17024 _ACEOF
17025 cat confdefs.h >>conftest.$ac_ext
17026 cat >>conftest.$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17028
17029 int
17030 main ()
17031 {
17032
17033 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
17034 choke me
17035 #endif
17036
17037 ;
17038 return 0;
17039 }
17040 _ACEOF
17041 rm -f conftest.$ac_objext
17042 if { (ac_try="$ac_compile"
17043 case "(($ac_try" in
17044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17045 *) ac_try_echo=$ac_try;;
17046 esac
17047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17048 (eval "$ac_compile") 2>conftest.er1
17049 ac_status=$?
17050 grep -v '^ *+' conftest.er1 >conftest.err
17051 rm -f conftest.er1
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } && {
17055 test -z "$ac_cxx_werror_flag" ||
17056 test ! -s conftest.err
17057 } && test -s conftest.$ac_objext; then
17058 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17062
17063 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
17064
17065 fi
17066
17067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17068
17069
17070 fi
17071 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
17072 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
17073 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
17074 :; INTELCXX10=yes
17075 else
17076 :;
17077 fi
17078 ac_ext=c
17079 ac_cpp='$CPP $CPPFLAGS'
17080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17083
17084
17085
17086 fi
17087
17088 if test "x$GCXX" != "xyes"; then
17089 if test "xCXX" = "xC"; then
17090 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17091 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
17092 if test "${bakefile_cv_c_exto+set}" = set; then
17093 echo $ECHO_N "(cached) $ECHO_C" >&6
17094 else
17095 cat >conftest.$ac_ext <<_ACEOF
17096 /* confdefs.h. */
17097 _ACEOF
17098 cat confdefs.h >>conftest.$ac_ext
17099 cat >>conftest.$ac_ext <<_ACEOF
17100 /* end confdefs.h. */
17101
17102 int
17103 main ()
17104 {
17105
17106 ;
17107 return 0;
17108 }
17109 _ACEOF
17110 rm -f conftest.$ac_objext conftest.$ac_ext.o
17111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17112 (eval $ac_compile) 2>&5
17113 ac_status=$?
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; then
17116 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17117 case $ac_file in
17118 conftest.$ac_ext.o)
17119 bakefile_cv_c_exto="-ext o"
17120 ;;
17121 *)
17122 ;;
17123 esac
17124 done
17125 else
17126 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17127 See \`config.log' for more details." >&5
17128 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17129 See \`config.log' for more details." >&2;}
17130 { (exit 1); exit 1; }; }
17131
17132 fi
17133
17134 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17135
17136 fi
17137 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17138 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
17139 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17140 if test "c" = "c"; then
17141 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17142 fi
17143 if test "c" = "cxx"; then
17144 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17145 fi
17146 fi
17147
17148 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17149 unset ac_cv_prog_cc_g
17150 ac_test_CFLAGS=${CFLAGS+set}
17151 ac_save_CFLAGS=$CFLAGS
17152 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17153 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17154 if test "${ac_cv_prog_cc_g+set}" = set; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 else
17157 ac_save_c_werror_flag=$ac_c_werror_flag
17158 ac_c_werror_flag=yes
17159 ac_cv_prog_cc_g=no
17160 CFLAGS="-g"
17161 cat >conftest.$ac_ext <<_ACEOF
17162 /* confdefs.h. */
17163 _ACEOF
17164 cat confdefs.h >>conftest.$ac_ext
17165 cat >>conftest.$ac_ext <<_ACEOF
17166 /* end confdefs.h. */
17167
17168 int
17169 main ()
17170 {
17171
17172 ;
17173 return 0;
17174 }
17175 _ACEOF
17176 rm -f conftest.$ac_objext
17177 if { (ac_try="$ac_compile"
17178 case "(($ac_try" in
17179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17180 *) ac_try_echo=$ac_try;;
17181 esac
17182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17183 (eval "$ac_compile") 2>conftest.er1
17184 ac_status=$?
17185 grep -v '^ *+' conftest.er1 >conftest.err
17186 rm -f conftest.er1
17187 cat conftest.err >&5
17188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17189 (exit $ac_status); } && {
17190 test -z "$ac_c_werror_flag" ||
17191 test ! -s conftest.err
17192 } && test -s conftest.$ac_objext; then
17193 ac_cv_prog_cc_g=yes
17194 else
17195 echo "$as_me: failed program was:" >&5
17196 sed 's/^/| /' conftest.$ac_ext >&5
17197
17198 CFLAGS=""
17199 cat >conftest.$ac_ext <<_ACEOF
17200 /* confdefs.h. */
17201 _ACEOF
17202 cat confdefs.h >>conftest.$ac_ext
17203 cat >>conftest.$ac_ext <<_ACEOF
17204 /* end confdefs.h. */
17205
17206 int
17207 main ()
17208 {
17209
17210 ;
17211 return 0;
17212 }
17213 _ACEOF
17214 rm -f conftest.$ac_objext
17215 if { (ac_try="$ac_compile"
17216 case "(($ac_try" in
17217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17218 *) ac_try_echo=$ac_try;;
17219 esac
17220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17221 (eval "$ac_compile") 2>conftest.er1
17222 ac_status=$?
17223 grep -v '^ *+' conftest.er1 >conftest.err
17224 rm -f conftest.er1
17225 cat conftest.err >&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); } && {
17228 test -z "$ac_c_werror_flag" ||
17229 test ! -s conftest.err
17230 } && test -s conftest.$ac_objext; then
17231 :
17232 else
17233 echo "$as_me: failed program was:" >&5
17234 sed 's/^/| /' conftest.$ac_ext >&5
17235
17236 ac_c_werror_flag=$ac_save_c_werror_flag
17237 CFLAGS="-g"
17238 cat >conftest.$ac_ext <<_ACEOF
17239 /* confdefs.h. */
17240 _ACEOF
17241 cat confdefs.h >>conftest.$ac_ext
17242 cat >>conftest.$ac_ext <<_ACEOF
17243 /* end confdefs.h. */
17244
17245 int
17246 main ()
17247 {
17248
17249 ;
17250 return 0;
17251 }
17252 _ACEOF
17253 rm -f conftest.$ac_objext
17254 if { (ac_try="$ac_compile"
17255 case "(($ac_try" in
17256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17257 *) ac_try_echo=$ac_try;;
17258 esac
17259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17260 (eval "$ac_compile") 2>conftest.er1
17261 ac_status=$?
17262 grep -v '^ *+' conftest.er1 >conftest.err
17263 rm -f conftest.er1
17264 cat conftest.err >&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } && {
17267 test -z "$ac_c_werror_flag" ||
17268 test ! -s conftest.err
17269 } && test -s conftest.$ac_objext; then
17270 ac_cv_prog_cc_g=yes
17271 else
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17274
17275
17276 fi
17277
17278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17279 fi
17280
17281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17282 fi
17283
17284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17285 ac_c_werror_flag=$ac_save_c_werror_flag
17286 fi
17287 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17288 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17289 if test "$ac_test_CFLAGS" = set; then
17290 CFLAGS=$ac_save_CFLAGS
17291 elif test $ac_cv_prog_cc_g = yes; then
17292 if test "$GCC" = yes; then
17293 CFLAGS="-g -O2"
17294 else
17295 CFLAGS="-g"
17296 fi
17297 else
17298 if test "$GCC" = yes; then
17299 CFLAGS="-O2"
17300 else
17301 CFLAGS=
17302 fi
17303 fi
17304 fi
17305 fi
17306
17307 case `uname -s` in
17308 AIX*)
17309
17310
17311 ac_ext=cpp
17312 ac_cpp='$CXXCPP $CPPFLAGS'
17313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17316
17317 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17318 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17319 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17320 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 else
17322 cat >conftest.$ac_ext <<_ACEOF
17323 /* confdefs.h. */
17324 _ACEOF
17325 cat confdefs.h >>conftest.$ac_ext
17326 cat >>conftest.$ac_ext <<_ACEOF
17327 /* end confdefs.h. */
17328
17329 int
17330 main ()
17331 {
17332
17333 #ifndef __xlC__
17334 choke me
17335 #endif
17336
17337 ;
17338 return 0;
17339 }
17340 _ACEOF
17341 rm -f conftest.$ac_objext
17342 if { (ac_try="$ac_compile"
17343 case "(($ac_try" in
17344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17345 *) ac_try_echo=$ac_try;;
17346 esac
17347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17348 (eval "$ac_compile") 2>conftest.er1
17349 ac_status=$?
17350 grep -v '^ *+' conftest.er1 >conftest.err
17351 rm -f conftest.er1
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } && {
17355 test -z "$ac_cxx_werror_flag" ||
17356 test ! -s conftest.err
17357 } && test -s conftest.$ac_objext; then
17358 bakefile_cv_cxx_compiler___xlC__=yes
17359 else
17360 echo "$as_me: failed program was:" >&5
17361 sed 's/^/| /' conftest.$ac_ext >&5
17362
17363 bakefile_cv_cxx_compiler___xlC__=no
17364
17365 fi
17366
17367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17368
17369
17370 fi
17371 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17372 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17373 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17374 :; XLCXX=yes
17375 else
17376 :;
17377 fi
17378 ac_ext=c
17379 ac_cpp='$CPP $CPPFLAGS'
17380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17383
17384
17385
17386 ;;
17387
17388 Darwin)
17389
17390
17391 ac_ext=cpp
17392 ac_cpp='$CXXCPP $CPPFLAGS'
17393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17396
17397 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17398 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17399 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17401 else
17402 cat >conftest.$ac_ext <<_ACEOF
17403 /* confdefs.h. */
17404 _ACEOF
17405 cat confdefs.h >>conftest.$ac_ext
17406 cat >>conftest.$ac_ext <<_ACEOF
17407 /* end confdefs.h. */
17408
17409 int
17410 main ()
17411 {
17412
17413 #ifndef __MWERKS__
17414 choke me
17415 #endif
17416
17417 ;
17418 return 0;
17419 }
17420 _ACEOF
17421 rm -f conftest.$ac_objext
17422 if { (ac_try="$ac_compile"
17423 case "(($ac_try" in
17424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17425 *) ac_try_echo=$ac_try;;
17426 esac
17427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17428 (eval "$ac_compile") 2>conftest.er1
17429 ac_status=$?
17430 grep -v '^ *+' conftest.er1 >conftest.err
17431 rm -f conftest.er1
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } && {
17435 test -z "$ac_cxx_werror_flag" ||
17436 test ! -s conftest.err
17437 } && test -s conftest.$ac_objext; then
17438 bakefile_cv_cxx_compiler___MWERKS__=yes
17439 else
17440 echo "$as_me: failed program was:" >&5
17441 sed 's/^/| /' conftest.$ac_ext >&5
17442
17443 bakefile_cv_cxx_compiler___MWERKS__=no
17444
17445 fi
17446
17447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17448
17449
17450 fi
17451 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17452 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17453 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17454 :; MWCXX=yes
17455 else
17456 :;
17457 fi
17458 ac_ext=c
17459 ac_cpp='$CPP $CPPFLAGS'
17460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17463
17464
17465
17466 if test "$MWCXX" != "yes"; then
17467
17468
17469 ac_ext=cpp
17470 ac_cpp='$CXXCPP $CPPFLAGS'
17471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17474
17475 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17476 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17477 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17478 echo $ECHO_N "(cached) $ECHO_C" >&6
17479 else
17480 cat >conftest.$ac_ext <<_ACEOF
17481 /* confdefs.h. */
17482 _ACEOF
17483 cat confdefs.h >>conftest.$ac_ext
17484 cat >>conftest.$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17486
17487 int
17488 main ()
17489 {
17490
17491 #ifndef __xlC__
17492 choke me
17493 #endif
17494
17495 ;
17496 return 0;
17497 }
17498 _ACEOF
17499 rm -f conftest.$ac_objext
17500 if { (ac_try="$ac_compile"
17501 case "(($ac_try" in
17502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17503 *) ac_try_echo=$ac_try;;
17504 esac
17505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17506 (eval "$ac_compile") 2>conftest.er1
17507 ac_status=$?
17508 grep -v '^ *+' conftest.er1 >conftest.err
17509 rm -f conftest.er1
17510 cat conftest.err >&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } && {
17513 test -z "$ac_cxx_werror_flag" ||
17514 test ! -s conftest.err
17515 } && test -s conftest.$ac_objext; then
17516 bakefile_cv_cxx_compiler___xlC__=yes
17517 else
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.$ac_ext >&5
17520
17521 bakefile_cv_cxx_compiler___xlC__=no
17522
17523 fi
17524
17525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17526
17527
17528 fi
17529 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17530 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17531 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17532 :; XLCXX=yes
17533 else
17534 :;
17535 fi
17536 ac_ext=c
17537 ac_cpp='$CPP $CPPFLAGS'
17538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17541
17542
17543
17544 fi
17545 ;;
17546
17547 IRIX*)
17548
17549
17550 ac_ext=cpp
17551 ac_cpp='$CXXCPP $CPPFLAGS'
17552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17555
17556 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17557 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17558 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17560 else
17561 cat >conftest.$ac_ext <<_ACEOF
17562 /* confdefs.h. */
17563 _ACEOF
17564 cat confdefs.h >>conftest.$ac_ext
17565 cat >>conftest.$ac_ext <<_ACEOF
17566 /* end confdefs.h. */
17567
17568 int
17569 main ()
17570 {
17571
17572 #ifndef _SGI_COMPILER_VERSION
17573 choke me
17574 #endif
17575
17576 ;
17577 return 0;
17578 }
17579 _ACEOF
17580 rm -f conftest.$ac_objext
17581 if { (ac_try="$ac_compile"
17582 case "(($ac_try" in
17583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17584 *) ac_try_echo=$ac_try;;
17585 esac
17586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17587 (eval "$ac_compile") 2>conftest.er1
17588 ac_status=$?
17589 grep -v '^ *+' conftest.er1 >conftest.err
17590 rm -f conftest.er1
17591 cat conftest.err >&5
17592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593 (exit $ac_status); } && {
17594 test -z "$ac_cxx_werror_flag" ||
17595 test ! -s conftest.err
17596 } && test -s conftest.$ac_objext; then
17597 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17598 else
17599 echo "$as_me: failed program was:" >&5
17600 sed 's/^/| /' conftest.$ac_ext >&5
17601
17602 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17603
17604 fi
17605
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607
17608
17609 fi
17610 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17611 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17612 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17613 :; SGICXX=yes
17614 else
17615 :;
17616 fi
17617 ac_ext=c
17618 ac_cpp='$CPP $CPPFLAGS'
17619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17622
17623
17624
17625 ;;
17626
17627 Linux*)
17628 if test "$INTELCXX" != "yes"; then
17629
17630
17631 ac_ext=cpp
17632 ac_cpp='$CXXCPP $CPPFLAGS'
17633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17636
17637 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17638 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17639 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17640 echo $ECHO_N "(cached) $ECHO_C" >&6
17641 else
17642 cat >conftest.$ac_ext <<_ACEOF
17643 /* confdefs.h. */
17644 _ACEOF
17645 cat confdefs.h >>conftest.$ac_ext
17646 cat >>conftest.$ac_ext <<_ACEOF
17647 /* end confdefs.h. */
17648
17649 int
17650 main ()
17651 {
17652
17653 #ifndef __SUNPRO_CC
17654 choke me
17655 #endif
17656
17657 ;
17658 return 0;
17659 }
17660 _ACEOF
17661 rm -f conftest.$ac_objext
17662 if { (ac_try="$ac_compile"
17663 case "(($ac_try" in
17664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17665 *) ac_try_echo=$ac_try;;
17666 esac
17667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17668 (eval "$ac_compile") 2>conftest.er1
17669 ac_status=$?
17670 grep -v '^ *+' conftest.er1 >conftest.err
17671 rm -f conftest.er1
17672 cat conftest.err >&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } && {
17675 test -z "$ac_cxx_werror_flag" ||
17676 test ! -s conftest.err
17677 } && test -s conftest.$ac_objext; then
17678 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17679 else
17680 echo "$as_me: failed program was:" >&5
17681 sed 's/^/| /' conftest.$ac_ext >&5
17682
17683 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17684
17685 fi
17686
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688
17689
17690 fi
17691 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17692 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17693 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17694 :; SUNCXX=yes
17695 else
17696 :;
17697 fi
17698 ac_ext=c
17699 ac_cpp='$CPP $CPPFLAGS'
17700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17703
17704
17705
17706 fi
17707 ;;
17708
17709 HP-UX*)
17710
17711
17712 ac_ext=cpp
17713 ac_cpp='$CXXCPP $CPPFLAGS'
17714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17717
17718 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17719 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17720 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17721 echo $ECHO_N "(cached) $ECHO_C" >&6
17722 else
17723 cat >conftest.$ac_ext <<_ACEOF
17724 /* confdefs.h. */
17725 _ACEOF
17726 cat confdefs.h >>conftest.$ac_ext
17727 cat >>conftest.$ac_ext <<_ACEOF
17728 /* end confdefs.h. */
17729
17730 int
17731 main ()
17732 {
17733
17734 #ifndef __HP_aCC
17735 choke me
17736 #endif
17737
17738 ;
17739 return 0;
17740 }
17741 _ACEOF
17742 rm -f conftest.$ac_objext
17743 if { (ac_try="$ac_compile"
17744 case "(($ac_try" in
17745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17746 *) ac_try_echo=$ac_try;;
17747 esac
17748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17749 (eval "$ac_compile") 2>conftest.er1
17750 ac_status=$?
17751 grep -v '^ *+' conftest.er1 >conftest.err
17752 rm -f conftest.er1
17753 cat conftest.err >&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } && {
17756 test -z "$ac_cxx_werror_flag" ||
17757 test ! -s conftest.err
17758 } && test -s conftest.$ac_objext; then
17759 bakefile_cv_cxx_compiler___HP_aCC=yes
17760 else
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17763
17764 bakefile_cv_cxx_compiler___HP_aCC=no
17765
17766 fi
17767
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769
17770
17771 fi
17772 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17773 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17774 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17775 :; HPCXX=yes
17776 else
17777 :;
17778 fi
17779 ac_ext=c
17780 ac_cpp='$CPP $CPPFLAGS'
17781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17784
17785
17786
17787 ;;
17788
17789 OSF1)
17790
17791
17792 ac_ext=cpp
17793 ac_cpp='$CXXCPP $CPPFLAGS'
17794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17797
17798 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17799 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17800 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17801 echo $ECHO_N "(cached) $ECHO_C" >&6
17802 else
17803 cat >conftest.$ac_ext <<_ACEOF
17804 /* confdefs.h. */
17805 _ACEOF
17806 cat confdefs.h >>conftest.$ac_ext
17807 cat >>conftest.$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17809
17810 int
17811 main ()
17812 {
17813
17814 #ifndef __DECCXX
17815 choke me
17816 #endif
17817
17818 ;
17819 return 0;
17820 }
17821 _ACEOF
17822 rm -f conftest.$ac_objext
17823 if { (ac_try="$ac_compile"
17824 case "(($ac_try" in
17825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17826 *) ac_try_echo=$ac_try;;
17827 esac
17828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17829 (eval "$ac_compile") 2>conftest.er1
17830 ac_status=$?
17831 grep -v '^ *+' conftest.er1 >conftest.err
17832 rm -f conftest.er1
17833 cat conftest.err >&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } && {
17836 test -z "$ac_cxx_werror_flag" ||
17837 test ! -s conftest.err
17838 } && test -s conftest.$ac_objext; then
17839 bakefile_cv_cxx_compiler___DECCXX=yes
17840 else
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17843
17844 bakefile_cv_cxx_compiler___DECCXX=no
17845
17846 fi
17847
17848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17849
17850
17851 fi
17852 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17853 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17854 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17855 :; COMPAQCXX=yes
17856 else
17857 :;
17858 fi
17859 ac_ext=c
17860 ac_cpp='$CPP $CPPFLAGS'
17861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17864
17865
17866
17867 ;;
17868
17869 SunOS)
17870
17871
17872 ac_ext=cpp
17873 ac_cpp='$CXXCPP $CPPFLAGS'
17874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17877
17878 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17879 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17880 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17882 else
17883 cat >conftest.$ac_ext <<_ACEOF
17884 /* confdefs.h. */
17885 _ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889
17890 int
17891 main ()
17892 {
17893
17894 #ifndef __SUNPRO_CC
17895 choke me
17896 #endif
17897
17898 ;
17899 return 0;
17900 }
17901 _ACEOF
17902 rm -f conftest.$ac_objext
17903 if { (ac_try="$ac_compile"
17904 case "(($ac_try" in
17905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17906 *) ac_try_echo=$ac_try;;
17907 esac
17908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17909 (eval "$ac_compile") 2>conftest.er1
17910 ac_status=$?
17911 grep -v '^ *+' conftest.er1 >conftest.err
17912 rm -f conftest.er1
17913 cat conftest.err >&5
17914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17915 (exit $ac_status); } && {
17916 test -z "$ac_cxx_werror_flag" ||
17917 test ! -s conftest.err
17918 } && test -s conftest.$ac_objext; then
17919 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17920 else
17921 echo "$as_me: failed program was:" >&5
17922 sed 's/^/| /' conftest.$ac_ext >&5
17923
17924 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17925
17926 fi
17927
17928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17929
17930
17931 fi
17932 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17933 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17934 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17935 :; SUNCXX=yes
17936 else
17937 :;
17938 fi
17939 ac_ext=c
17940 ac_cpp='$CPP $CPPFLAGS'
17941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17944
17945
17946
17947 ;;
17948 esac
17949 fi
17950
17951
17952
17953 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17954 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17955 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17956 { (exit 1); exit 1; }; }
17957 fi
17958
17959 if test "x$SUNCXX" != xyes; then
17960 if test -n "$ac_tool_prefix"; then
17961 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17962 set dummy ${ac_tool_prefix}ar; ac_word=$2
17963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17965 if test "${ac_cv_prog_AR+set}" = set; then
17966 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 else
17968 if test -n "$AR"; then
17969 ac_cv_prog_AR="$AR" # Let the user override the test.
17970 else
17971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17972 for as_dir in $PATH
17973 do
17974 IFS=$as_save_IFS
17975 test -z "$as_dir" && as_dir=.
17976 for ac_exec_ext in '' $ac_executable_extensions; do
17977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17978 ac_cv_prog_AR="${ac_tool_prefix}ar"
17979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17980 break 2
17981 fi
17982 done
17983 done
17984 IFS=$as_save_IFS
17985
17986 fi
17987 fi
17988 AR=$ac_cv_prog_AR
17989 if test -n "$AR"; then
17990 { echo "$as_me:$LINENO: result: $AR" >&5
17991 echo "${ECHO_T}$AR" >&6; }
17992 else
17993 { echo "$as_me:$LINENO: result: no" >&5
17994 echo "${ECHO_T}no" >&6; }
17995 fi
17996
17997
17998 fi
17999 if test -z "$ac_cv_prog_AR"; then
18000 ac_ct_AR=$AR
18001 # Extract the first word of "ar", so it can be a program name with args.
18002 set dummy ar; ac_word=$2
18003 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18005 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18006 echo $ECHO_N "(cached) $ECHO_C" >&6
18007 else
18008 if test -n "$ac_ct_AR"; then
18009 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18010 else
18011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18012 for as_dir in $PATH
18013 do
18014 IFS=$as_save_IFS
18015 test -z "$as_dir" && as_dir=.
18016 for ac_exec_ext in '' $ac_executable_extensions; do
18017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18018 ac_cv_prog_ac_ct_AR="ar"
18019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18020 break 2
18021 fi
18022 done
18023 done
18024 IFS=$as_save_IFS
18025
18026 fi
18027 fi
18028 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18029 if test -n "$ac_ct_AR"; then
18030 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18031 echo "${ECHO_T}$ac_ct_AR" >&6; }
18032 else
18033 { echo "$as_me:$LINENO: result: no" >&5
18034 echo "${ECHO_T}no" >&6; }
18035 fi
18036
18037 if test "x$ac_ct_AR" = x; then
18038 AR=""
18039 else
18040 case $cross_compiling:$ac_tool_warned in
18041 yes:)
18042 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18043 whose name does not start with the host triplet. If you think this
18044 configuration is useful to you, please write to autoconf@gnu.org." >&5
18045 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18046 whose name does not start with the host triplet. If you think this
18047 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18048 ac_tool_warned=yes ;;
18049 esac
18050 AR=$ac_ct_AR
18051 fi
18052 else
18053 AR="$ac_cv_prog_AR"
18054 fi
18055
18056 if test "x$AR" = "x" ; then
18057 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18058 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18059 { (exit 1); exit 1; }; }
18060 fi
18061 fi
18062
18063 retest_macosx_linking=no
18064
18065 #if test "$wxUSE_MAC" = 1; then
18066 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
18067 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
18068 # Implicitly turn on the new --with-macosx-sdk using the default
18069 # SDK which provides the behavior this option has always had.
18070 if test "x$wxUSE_MACOSX_SDK" = "x"; then
18071 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
18072 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
18073 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
18074 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
18075 wxUSE_MACOSX_SDK=yes
18076 fi
18077 else
18078 # Complain to user if he specified an argument to --enable-universal_binary
18079 # and also 1) specified --with-macosx-sdk using the default (yes) or
18080 # 2) specified --with-macosx-sdk using a path or 3) specified
18081 # --without-macosx-sdk (no).
18082 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
18083 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18084 See \`config.log' for more details." >&5
18085 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
18086 See \`config.log' for more details." >&2;}
18087 { (exit 1); exit 1; }; }
18088 else
18089 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
18090 # special-case the empty string because the below test simply
18091 # converts "no" to the empty string anyway.
18092 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
18093 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
18094 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
18095 fi
18096 fi
18097 OSX_UNIV_OPTS="-arch ppc -arch i386"
18098 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
18099 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
18100 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
18101 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
18102 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
18103 retest_macosx_linking=yes
18104
18105 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
18106 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
18107 bk_use_pch=no
18108 fi
18109 #fi
18110
18111 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
18112 wxUSE_MACOSX_SDK=
18113 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
18114 # TODO: Search for most recent SDK and use it.
18115 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
18116 fi
18117
18118
18119 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18120 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
18121 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
18122 if ! test -d "$wxUSE_MACOSX_SDK"; then
18123 { { echo "$as_me:$LINENO: error: not found
18124 See \`config.log' for more details." >&5
18125 echo "$as_me: error: not found
18126 See \`config.log' for more details." >&2;}
18127 { (exit 1); exit 1; }; }
18128 else
18129 { echo "$as_me:$LINENO: result: exists" >&5
18130 echo "${ECHO_T}exists" >&6; }
18131 fi
18132 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
18133 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
18134 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
18135 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
18136 retest_macosx_linking=yes
18137 fi
18138
18139 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
18140 wxUSE_MACOSX_VERSION_MIN=
18141 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
18142 if test "x$wxUSE_MACOSX_SDK" != "x"; then
18143 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
18144 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
18145
18146 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/'`
18147
18148 # If that failed, try again with the new key
18149 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
18150
18151 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/'`
18152
18153 fi
18154
18155 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
18156 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
18157 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
18158 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
18159 else
18160 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
18161 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
18162 wxUSE_MACOSX_VERSION_MIN=
18163 fi
18164 else
18165 wxUSE_MACOSX_VERSION_MIN=
18166 fi
18167 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
18168 if test "$wxUSE_MAC" = 1; then
18169 # otherwise configure stops on leopard for universal_binary
18170 wxUSE_MACOSX_VERSION_MIN=10.4
18171 fi
18172 fi
18173
18174 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
18175 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
18176 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
18177 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
18178 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
18179 retest_macosx_linking=yes
18180 fi
18181
18182 if test "x$retest_macosx_linking" = "xyes"; then
18183 ac_ext=c
18184 ac_cpp='$CPP $CPPFLAGS'
18185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18188
18189 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
18190 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
18191 cat >conftest.$ac_ext <<_ACEOF
18192 /* confdefs.h. */
18193 _ACEOF
18194 cat confdefs.h >>conftest.$ac_ext
18195 cat >>conftest.$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18197
18198 int
18199 main ()
18200 {
18201
18202 ;
18203 return 0;
18204 }
18205 _ACEOF
18206 rm -f conftest.$ac_objext conftest$ac_exeext
18207 if { (ac_try="$ac_link"
18208 case "(($ac_try" in
18209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18210 *) ac_try_echo=$ac_try;;
18211 esac
18212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18213 (eval "$ac_link") 2>conftest.er1
18214 ac_status=$?
18215 grep -v '^ *+' conftest.er1 >conftest.err
18216 rm -f conftest.er1
18217 cat conftest.err >&5
18218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219 (exit $ac_status); } && {
18220 test -z "$ac_c_werror_flag" ||
18221 test ! -s conftest.err
18222 } && test -s conftest$ac_exeext &&
18223 $as_test_x conftest$ac_exeext; then
18224 { echo "$as_me:$LINENO: result: yes" >&5
18225 echo "${ECHO_T}yes" >&6; }
18226 else
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.$ac_ext >&5
18229
18230 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18231 See \`config.log' for more details." >&5
18232 echo "$as_me: error: no. Try a different SDK
18233 See \`config.log' for more details." >&2;}
18234 { (exit 1); exit 1; }; }; exit 1
18235 fi
18236
18237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18238 conftest$ac_exeext conftest.$ac_ext
18239 ac_ext=c
18240 ac_cpp='$CPP $CPPFLAGS'
18241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18244
18245
18246 ac_ext=cpp
18247 ac_cpp='$CXXCPP $CPPFLAGS'
18248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18251
18252 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
18253 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
18254 cat >conftest.$ac_ext <<_ACEOF
18255 /* confdefs.h. */
18256 _ACEOF
18257 cat confdefs.h >>conftest.$ac_ext
18258 cat >>conftest.$ac_ext <<_ACEOF
18259 /* end confdefs.h. */
18260
18261 int
18262 main ()
18263 {
18264
18265 ;
18266 return 0;
18267 }
18268 _ACEOF
18269 rm -f conftest.$ac_objext conftest$ac_exeext
18270 if { (ac_try="$ac_link"
18271 case "(($ac_try" in
18272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18273 *) ac_try_echo=$ac_try;;
18274 esac
18275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18276 (eval "$ac_link") 2>conftest.er1
18277 ac_status=$?
18278 grep -v '^ *+' conftest.er1 >conftest.err
18279 rm -f conftest.er1
18280 cat conftest.err >&5
18281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18282 (exit $ac_status); } && {
18283 test -z "$ac_cxx_werror_flag" ||
18284 test ! -s conftest.err
18285 } && test -s conftest$ac_exeext &&
18286 $as_test_x conftest$ac_exeext; then
18287 { echo "$as_me:$LINENO: result: yes" >&5
18288 echo "${ECHO_T}yes" >&6; }
18289 else
18290 echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.$ac_ext >&5
18292
18293 { { echo "$as_me:$LINENO: error: no. Try a different SDK
18294 See \`config.log' for more details." >&5
18295 echo "$as_me: error: no. Try a different SDK
18296 See \`config.log' for more details." >&2;}
18297 { (exit 1); exit 1; }; }; exit 1
18298 fi
18299
18300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18301 conftest$ac_exeext conftest.$ac_ext
18302 ac_ext=c
18303 ac_cpp='$CPP $CPPFLAGS'
18304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18307
18308 fi
18309
18310
18311 case "${host}" in
18312
18313 *-*-darwin* )
18314 INSTALL_PROGRAM="cp -fp"
18315 INSTALL_DATA="cp -fp"
18316 ;;
18317 *)
18318 ;;
18319 esac
18320
18321
18322 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18323 CXXFLAGS="-qunique $CXXFLAGS"
18324 fi
18325
18326 case "${host}" in
18327 powerpc-*-darwin* )
18328 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18329 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
18330 cat >conftest.$ac_ext <<_ACEOF
18331 /* confdefs.h. */
18332 _ACEOF
18333 cat confdefs.h >>conftest.$ac_ext
18334 cat >>conftest.$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18336
18337 int
18338 main ()
18339 {
18340 #ifndef __POWERPC__
18341 choke me for lack of PowerPC
18342 #endif
18343
18344 ;
18345 return 0;
18346 }
18347 _ACEOF
18348 rm -f conftest.$ac_objext
18349 if { (ac_try="$ac_compile"
18350 case "(($ac_try" in
18351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18352 *) ac_try_echo=$ac_try;;
18353 esac
18354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18355 (eval "$ac_compile") 2>conftest.er1
18356 ac_status=$?
18357 grep -v '^ *+' conftest.er1 >conftest.err
18358 rm -f conftest.er1
18359 cat conftest.err >&5
18360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18361 (exit $ac_status); } && {
18362 test -z "$ac_c_werror_flag" ||
18363 test ! -s conftest.err
18364 } && test -s conftest.$ac_objext; then
18365 { echo "$as_me:$LINENO: result: yes" >&5
18366 echo "${ECHO_T}yes" >&6; }
18367 else
18368 echo "$as_me: failed program was:" >&5
18369 sed 's/^/| /' conftest.$ac_ext >&5
18370
18371 { echo "$as_me:$LINENO: result: no" >&5
18372 echo "${ECHO_T}no" >&6; }
18373 cat >>confdefs.h <<\_ACEOF
18374 #define __POWERPC__ 1
18375 _ACEOF
18376
18377
18378 fi
18379
18380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18381 ;;
18382 esac
18383
18384 case "${host}" in
18385 *-*-darwin* )
18386 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18387 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18388 cat >conftest.$ac_ext <<_ACEOF
18389 /* confdefs.h. */
18390 _ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 #include <CoreFoundation/CFBase.h>
18395
18396 int
18397 main ()
18398 {
18399
18400 ;
18401 return 0;
18402 }
18403 _ACEOF
18404 rm -f conftest.$ac_objext
18405 if { (ac_try="$ac_compile"
18406 case "(($ac_try" in
18407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18408 *) ac_try_echo=$ac_try;;
18409 esac
18410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18411 (eval "$ac_compile") 2>conftest.er1
18412 ac_status=$?
18413 grep -v '^ *+' conftest.er1 >conftest.err
18414 rm -f conftest.er1
18415 cat conftest.err >&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } && {
18418 test -z "$ac_c_werror_flag" ||
18419 test ! -s conftest.err
18420 } && test -s conftest.$ac_objext; then
18421 { echo "$as_me:$LINENO: result: yes" >&5
18422 echo "${ECHO_T}yes" >&6; }
18423 else
18424 echo "$as_me: failed program was:" >&5
18425 sed 's/^/| /' conftest.$ac_ext >&5
18426
18427 { echo "$as_me:$LINENO: result: no" >&5
18428 echo "${ECHO_T}no" >&6; }
18429 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18430 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18431 cat >conftest.$ac_ext <<_ACEOF
18432 /* confdefs.h. */
18433 _ACEOF
18434 cat confdefs.h >>conftest.$ac_ext
18435 cat >>conftest.$ac_ext <<_ACEOF
18436 /* end confdefs.h. */
18437 #define __CF_USE_FRAMEWORK_INCLUDES__
18438 #include <CoreFoundation/CFBase.h>
18439
18440 int
18441 main ()
18442 {
18443
18444 ;
18445 return 0;
18446 }
18447 _ACEOF
18448 rm -f conftest.$ac_objext
18449 if { (ac_try="$ac_compile"
18450 case "(($ac_try" in
18451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18452 *) ac_try_echo=$ac_try;;
18453 esac
18454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18455 (eval "$ac_compile") 2>conftest.er1
18456 ac_status=$?
18457 grep -v '^ *+' conftest.er1 >conftest.err
18458 rm -f conftest.er1
18459 cat conftest.err >&5
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); } && {
18462 test -z "$ac_c_werror_flag" ||
18463 test ! -s conftest.err
18464 } && test -s conftest.$ac_objext; then
18465 { echo "$as_me:$LINENO: result: yes" >&5
18466 echo "${ECHO_T}yes" >&6; }
18467 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18468 else
18469 echo "$as_me: failed program was:" >&5
18470 sed 's/^/| /' conftest.$ac_ext >&5
18471
18472 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18473 See \`config.log' for more details." >&5
18474 echo "$as_me: error: no. CoreFoundation not available.
18475 See \`config.log' for more details." >&2;}
18476 { (exit 1); exit 1; }; }
18477
18478 fi
18479
18480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18481
18482
18483 fi
18484
18485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486 ;;
18487 esac
18488
18489 wants_win32=0
18490 doesnt_want_win32=0
18491 case "${host}" in
18492 *-*-cygwin*)
18493 if test "$wxUSE_MSW" = 1 ; then
18494 wants_win32=1
18495 else
18496 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18497 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18498 if test "${wx_cv_nocygwin+set}" = set; then
18499 echo $ECHO_N "(cached) $ECHO_C" >&6
18500 else
18501
18502 cat >conftest.$ac_ext <<_ACEOF
18503 /* confdefs.h. */
18504 _ACEOF
18505 cat confdefs.h >>conftest.$ac_ext
18506 cat >>conftest.$ac_ext <<_ACEOF
18507 /* end confdefs.h. */
18508
18509 int
18510 main ()
18511 {
18512
18513 #ifdef __MINGW32__
18514 choke me
18515 #endif
18516
18517 ;
18518 return 0;
18519 }
18520 _ACEOF
18521 rm -f conftest.$ac_objext
18522 if { (ac_try="$ac_compile"
18523 case "(($ac_try" in
18524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18525 *) ac_try_echo=$ac_try;;
18526 esac
18527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18528 (eval "$ac_compile") 2>conftest.er1
18529 ac_status=$?
18530 grep -v '^ *+' conftest.er1 >conftest.err
18531 rm -f conftest.er1
18532 cat conftest.err >&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); } && {
18535 test -z "$ac_c_werror_flag" ||
18536 test ! -s conftest.err
18537 } && test -s conftest.$ac_objext; then
18538 wx_cv_nocygwin=no
18539 else
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.$ac_ext >&5
18542
18543 wx_cv_nocygwin=yes
18544
18545 fi
18546
18547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18548
18549
18550 fi
18551 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18552 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18553
18554 if test "$wx_cv_nocygwin" = "yes"; then
18555 wants_win32=1
18556 else
18557 doesnt_want_win32=1
18558 fi
18559 fi
18560 if test "$wants_win32" = 1 ; then
18561 BAKEFILE_FORCE_PLATFORM=win32
18562 fi
18563 ;;
18564 *-*-mingw*)
18565 wants_win32=1
18566 ;;
18567 esac
18568
18569 if test "$wxUSE_WINE" = "yes"; then
18570 wants_win32=1
18571 LDFLAGS_GUI="-mwindows"
18572 fi
18573
18574 if test "$wants_win32" = 1 ; then
18575 USE_UNIX=0
18576 USE_WIN32=1
18577 cat >>confdefs.h <<\_ACEOF
18578 #define __WIN32__ 1
18579 _ACEOF
18580
18581 cat >>confdefs.h <<\_ACEOF
18582 #define __WIN95__ 1
18583 _ACEOF
18584
18585 cat >>confdefs.h <<\_ACEOF
18586 #define __WINDOWS__ 1
18587 _ACEOF
18588
18589 cat >>confdefs.h <<\_ACEOF
18590 #define __GNUWIN32__ 1
18591 _ACEOF
18592
18593 cat >>confdefs.h <<\_ACEOF
18594 #define STRICT 1
18595 _ACEOF
18596
18597 fi
18598 if test "$doesnt_want_win32" = 1 ; then
18599 USE_UNIX=1
18600 USE_WIN32=0
18601 fi
18602
18603 if test "$USE_UNIX" = 1 ; then
18604 wxUSE_UNIX=yes
18605 cat >>confdefs.h <<\_ACEOF
18606 #define __UNIX__ 1
18607 _ACEOF
18608
18609 fi
18610
18611 case "${host}" in
18612 *-pc-os2_emx | *-pc-os2-emx )
18613 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18614 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18615 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18616 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18617 echo $ECHO_N "(cached) $ECHO_C" >&6
18618 else
18619 ac_check_lib_save_LIBS=$LIBS
18620 LIBS="-lcExt $LIBS"
18621 cat >conftest.$ac_ext <<_ACEOF
18622 /* confdefs.h. */
18623 _ACEOF
18624 cat confdefs.h >>conftest.$ac_ext
18625 cat >>conftest.$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18627
18628 /* Override any GCC internal prototype to avoid an error.
18629 Use char because int might match the return type of a GCC
18630 builtin and then its argument prototype would still apply. */
18631 #ifdef __cplusplus
18632 extern "C"
18633 #endif
18634 char drand48 ();
18635 int
18636 main ()
18637 {
18638 return drand48 ();
18639 ;
18640 return 0;
18641 }
18642 _ACEOF
18643 rm -f conftest.$ac_objext conftest$ac_exeext
18644 if { (ac_try="$ac_link"
18645 case "(($ac_try" in
18646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18647 *) ac_try_echo=$ac_try;;
18648 esac
18649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18650 (eval "$ac_link") 2>conftest.er1
18651 ac_status=$?
18652 grep -v '^ *+' conftest.er1 >conftest.err
18653 rm -f conftest.er1
18654 cat conftest.err >&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); } && {
18657 test -z "$ac_c_werror_flag" ||
18658 test ! -s conftest.err
18659 } && test -s conftest$ac_exeext &&
18660 $as_test_x conftest$ac_exeext; then
18661 ac_cv_lib_cExt_drand48=yes
18662 else
18663 echo "$as_me: failed program was:" >&5
18664 sed 's/^/| /' conftest.$ac_ext >&5
18665
18666 ac_cv_lib_cExt_drand48=no
18667 fi
18668
18669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18670 conftest$ac_exeext conftest.$ac_ext
18671 LIBS=$ac_check_lib_save_LIBS
18672 fi
18673 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18674 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18675 if test $ac_cv_lib_cExt_drand48 = yes; then
18676 LIBS="$LIBS -lcExt"
18677 fi
18678
18679 else
18680 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18681 fi
18682 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18683 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18684 if test "${wx_cv_gccversion+set}" = set; then
18685 echo $ECHO_N "(cached) $ECHO_C" >&6
18686 else
18687
18688 if test "$cross_compiling" = yes; then
18689 wx_cv_gccversion="EMX2"
18690
18691 else
18692 cat >conftest.$ac_ext <<_ACEOF
18693 /* confdefs.h. */
18694 _ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698
18699 #include <stdio.h>
18700
18701 int main()
18702 {
18703 FILE *f=fopen("conftestval", "w");
18704 if (!f) exit(1);
18705 fprintf(f,
18706 #if (__GNUC__ < 3)
18707 "EMX2"
18708 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18709 "EMX3"
18710 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18711 "Innotek5"
18712 #else
18713 "Innotek6"
18714 #endif
18715 );
18716 exit(0);
18717 }
18718
18719 _ACEOF
18720 rm -f conftest$ac_exeext
18721 if { (ac_try="$ac_link"
18722 case "(($ac_try" in
18723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18724 *) ac_try_echo=$ac_try;;
18725 esac
18726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18727 (eval "$ac_link") 2>&5
18728 ac_status=$?
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18731 { (case "(($ac_try" in
18732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18733 *) ac_try_echo=$ac_try;;
18734 esac
18735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18736 (eval "$ac_try") 2>&5
18737 ac_status=$?
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; }; then
18740 wx_cv_gccversion=`cat conftestval`
18741 else
18742 echo "$as_me: program exited with status $ac_status" >&5
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18745
18746 ( exit $ac_status )
18747 wx_cv_gccversion="EMX2"
18748 fi
18749 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18750 fi
18751
18752
18753
18754 fi
18755 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18756 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18757 if test "$wx_cv_gccversion" = "EMX2"; then
18758 LIBS="$LIBS -lstdcpp"
18759 LDFLAGS="$LDFLAGS -Zsysv-signals"
18760 else
18761 if test "$wx_cv_gccversion" = "EMX3"; then
18762 LIBS="$LIBS -lstdcxx -lgcc"
18763 LDFLAGS="$LDFLAGS -Zsysv-signals"
18764 else
18765 LIBS="$LIBS -lstdc++"
18766 fi
18767 fi
18768 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18769 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18770 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18771 wxUSE_OMF=yes
18772 enable_omf=yes
18773 fi
18774 ;;
18775 *)
18776
18777 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18778 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18779 if test "${ac_cv_string_strcasecmp+set}" = set; then
18780 echo $ECHO_N "(cached) $ECHO_C" >&6
18781 else
18782
18783 cat >conftest.$ac_ext <<_ACEOF
18784 /* confdefs.h. */
18785 _ACEOF
18786 cat confdefs.h >>conftest.$ac_ext
18787 cat >>conftest.$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18789
18790 #include <string.h>
18791
18792 int
18793 main ()
18794 {
18795
18796 strcasecmp("foo", "bar");
18797
18798 ;
18799 return 0;
18800 }
18801 _ACEOF
18802 rm -f conftest.$ac_objext conftest$ac_exeext
18803 if { (ac_try="$ac_link"
18804 case "(($ac_try" in
18805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18806 *) ac_try_echo=$ac_try;;
18807 esac
18808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18809 (eval "$ac_link") 2>conftest.er1
18810 ac_status=$?
18811 grep -v '^ *+' conftest.er1 >conftest.err
18812 rm -f conftest.er1
18813 cat conftest.err >&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); } && {
18816 test -z "$ac_c_werror_flag" ||
18817 test ! -s conftest.err
18818 } && test -s conftest$ac_exeext &&
18819 $as_test_x conftest$ac_exeext; then
18820 ac_cv_string_strcasecmp=yes
18821 else
18822 echo "$as_me: failed program was:" >&5
18823 sed 's/^/| /' conftest.$ac_ext >&5
18824
18825 ac_cv_string_strcasecmp=no
18826
18827 fi
18828
18829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18830 conftest$ac_exeext conftest.$ac_ext
18831
18832 fi
18833 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18834 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18835
18836 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18837 cat >>confdefs.h <<\_ACEOF
18838 #define HAVE_STRCASECMP_IN_STRING_H 1
18839 _ACEOF
18840
18841 else
18842 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18843 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18844 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 else
18847
18848 cat >conftest.$ac_ext <<_ACEOF
18849 /* confdefs.h. */
18850 _ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854
18855 #include <strings.h>
18856
18857 int
18858 main ()
18859 {
18860
18861 strcasecmp("foo", "bar");
18862
18863 ;
18864 return 0;
18865 }
18866 _ACEOF
18867 rm -f conftest.$ac_objext conftest$ac_exeext
18868 if { (ac_try="$ac_link"
18869 case "(($ac_try" in
18870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18871 *) ac_try_echo=$ac_try;;
18872 esac
18873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18874 (eval "$ac_link") 2>conftest.er1
18875 ac_status=$?
18876 grep -v '^ *+' conftest.er1 >conftest.err
18877 rm -f conftest.er1
18878 cat conftest.err >&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); } && {
18881 test -z "$ac_c_werror_flag" ||
18882 test ! -s conftest.err
18883 } && test -s conftest$ac_exeext &&
18884 $as_test_x conftest$ac_exeext; then
18885 ac_cv_strings_strcasecmp=yes
18886 else
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18889
18890 ac_cv_strings_strcasecmp=no
18891
18892 fi
18893
18894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18895 conftest$ac_exeext conftest.$ac_ext
18896
18897 fi
18898 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18899 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18900
18901 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18902 cat >>confdefs.h <<\_ACEOF
18903 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18904 _ACEOF
18905
18906 else
18907 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18908 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18909 { (exit 1); exit 1; }; }
18910 fi
18911 fi
18912
18913 ;;
18914 esac
18915
18916
18917 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18918 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18919 if test "${ac_cv_header_stdc+set}" = set; then
18920 echo $ECHO_N "(cached) $ECHO_C" >&6
18921 else
18922 cat >conftest.$ac_ext <<_ACEOF
18923 /* confdefs.h. */
18924 _ACEOF
18925 cat confdefs.h >>conftest.$ac_ext
18926 cat >>conftest.$ac_ext <<_ACEOF
18927 /* end confdefs.h. */
18928 #include <stdlib.h>
18929 #include <stdarg.h>
18930 #include <string.h>
18931 #include <float.h>
18932
18933 int
18934 main ()
18935 {
18936
18937 ;
18938 return 0;
18939 }
18940 _ACEOF
18941 rm -f conftest.$ac_objext
18942 if { (ac_try="$ac_compile"
18943 case "(($ac_try" in
18944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18945 *) ac_try_echo=$ac_try;;
18946 esac
18947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18948 (eval "$ac_compile") 2>conftest.er1
18949 ac_status=$?
18950 grep -v '^ *+' conftest.er1 >conftest.err
18951 rm -f conftest.er1
18952 cat conftest.err >&5
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); } && {
18955 test -z "$ac_c_werror_flag" ||
18956 test ! -s conftest.err
18957 } && test -s conftest.$ac_objext; then
18958 ac_cv_header_stdc=yes
18959 else
18960 echo "$as_me: failed program was:" >&5
18961 sed 's/^/| /' conftest.$ac_ext >&5
18962
18963 ac_cv_header_stdc=no
18964 fi
18965
18966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18967
18968 if test $ac_cv_header_stdc = yes; then
18969 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18970 cat >conftest.$ac_ext <<_ACEOF
18971 /* confdefs.h. */
18972 _ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 #include <string.h>
18977
18978 _ACEOF
18979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18980 $EGREP "memchr" >/dev/null 2>&1; then
18981 :
18982 else
18983 ac_cv_header_stdc=no
18984 fi
18985 rm -f conftest*
18986
18987 fi
18988
18989 if test $ac_cv_header_stdc = yes; then
18990 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18991 cat >conftest.$ac_ext <<_ACEOF
18992 /* confdefs.h. */
18993 _ACEOF
18994 cat confdefs.h >>conftest.$ac_ext
18995 cat >>conftest.$ac_ext <<_ACEOF
18996 /* end confdefs.h. */
18997 #include <stdlib.h>
18998
18999 _ACEOF
19000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19001 $EGREP "free" >/dev/null 2>&1; then
19002 :
19003 else
19004 ac_cv_header_stdc=no
19005 fi
19006 rm -f conftest*
19007
19008 fi
19009
19010 if test $ac_cv_header_stdc = yes; then
19011 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19012 if test "$cross_compiling" = yes; then
19013 :
19014 else
19015 cat >conftest.$ac_ext <<_ACEOF
19016 /* confdefs.h. */
19017 _ACEOF
19018 cat confdefs.h >>conftest.$ac_ext
19019 cat >>conftest.$ac_ext <<_ACEOF
19020 /* end confdefs.h. */
19021 #include <ctype.h>
19022 #include <stdlib.h>
19023 #if ((' ' & 0x0FF) == 0x020)
19024 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19025 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19026 #else
19027 # define ISLOWER(c) \
19028 (('a' <= (c) && (c) <= 'i') \
19029 || ('j' <= (c) && (c) <= 'r') \
19030 || ('s' <= (c) && (c) <= 'z'))
19031 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19032 #endif
19033
19034 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19035 int
19036 main ()
19037 {
19038 int i;
19039 for (i = 0; i < 256; i++)
19040 if (XOR (islower (i), ISLOWER (i))
19041 || toupper (i) != TOUPPER (i))
19042 return 2;
19043 return 0;
19044 }
19045 _ACEOF
19046 rm -f conftest$ac_exeext
19047 if { (ac_try="$ac_link"
19048 case "(($ac_try" in
19049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19050 *) ac_try_echo=$ac_try;;
19051 esac
19052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19053 (eval "$ac_link") 2>&5
19054 ac_status=$?
19055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19057 { (case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060 esac
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_try") 2>&5
19063 ac_status=$?
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); }; }; then
19066 :
19067 else
19068 echo "$as_me: program exited with status $ac_status" >&5
19069 echo "$as_me: failed program was:" >&5
19070 sed 's/^/| /' conftest.$ac_ext >&5
19071
19072 ( exit $ac_status )
19073 ac_cv_header_stdc=no
19074 fi
19075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19076 fi
19077
19078
19079 fi
19080 fi
19081 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19082 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19083 if test $ac_cv_header_stdc = yes; then
19084
19085 cat >>confdefs.h <<\_ACEOF
19086 #define STDC_HEADERS 1
19087 _ACEOF
19088
19089 fi
19090
19091 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19102 inttypes.h stdint.h unistd.h
19103 do
19104 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19108 echo $ECHO_N "(cached) $ECHO_C" >&6
19109 else
19110 cat >conftest.$ac_ext <<_ACEOF
19111 /* confdefs.h. */
19112 _ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19116 $ac_includes_default
19117
19118 #include <$ac_header>
19119 _ACEOF
19120 rm -f conftest.$ac_objext
19121 if { (ac_try="$ac_compile"
19122 case "(($ac_try" in
19123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19124 *) ac_try_echo=$ac_try;;
19125 esac
19126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19127 (eval "$ac_compile") 2>conftest.er1
19128 ac_status=$?
19129 grep -v '^ *+' conftest.er1 >conftest.err
19130 rm -f conftest.er1
19131 cat conftest.err >&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } && {
19134 test -z "$ac_c_werror_flag" ||
19135 test ! -s conftest.err
19136 } && test -s conftest.$ac_objext; then
19137 eval "$as_ac_Header=yes"
19138 else
19139 echo "$as_me: failed program was:" >&5
19140 sed 's/^/| /' conftest.$ac_ext >&5
19141
19142 eval "$as_ac_Header=no"
19143 fi
19144
19145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19146 fi
19147 ac_res=`eval echo '${'$as_ac_Header'}'`
19148 { echo "$as_me:$LINENO: result: $ac_res" >&5
19149 echo "${ECHO_T}$ac_res" >&6; }
19150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19151 cat >>confdefs.h <<_ACEOF
19152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19153 _ACEOF
19154
19155 fi
19156
19157 done
19158
19159
19160
19161
19162 for ac_header in langinfo.h wchar.h
19163 do
19164 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19165 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19167 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19168 echo $ECHO_N "(cached) $ECHO_C" >&6
19169 else
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 $ac_includes_default
19177
19178 #include <$ac_header>
19179 _ACEOF
19180 rm -f conftest.$ac_objext
19181 if { (ac_try="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19185 esac
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19188 ac_status=$?
19189 grep -v '^ *+' conftest.er1 >conftest.err
19190 rm -f conftest.er1
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_c_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.$ac_objext; then
19197 eval "$as_ac_Header=yes"
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19201
19202 eval "$as_ac_Header=no"
19203 fi
19204
19205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19206 fi
19207 ac_res=`eval echo '${'$as_ac_Header'}'`
19208 { echo "$as_me:$LINENO: result: $ac_res" >&5
19209 echo "${ECHO_T}$ac_res" >&6; }
19210 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19211 cat >>confdefs.h <<_ACEOF
19212 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19213 _ACEOF
19214
19215 fi
19216
19217 done
19218
19219
19220 if test "$ac_cv_header_wchar_h" != "yes"; then
19221
19222 for ac_header in wcstr.h
19223 do
19224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19225 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19228 echo $ECHO_N "(cached) $ECHO_C" >&6
19229 else
19230 cat >conftest.$ac_ext <<_ACEOF
19231 /* confdefs.h. */
19232 _ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 $ac_includes_default
19237
19238 #include <$ac_header>
19239 _ACEOF
19240 rm -f conftest.$ac_objext
19241 if { (ac_try="$ac_compile"
19242 case "(($ac_try" in
19243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19244 *) ac_try_echo=$ac_try;;
19245 esac
19246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19247 (eval "$ac_compile") 2>conftest.er1
19248 ac_status=$?
19249 grep -v '^ *+' conftest.er1 >conftest.err
19250 rm -f conftest.er1
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } && {
19254 test -z "$ac_c_werror_flag" ||
19255 test ! -s conftest.err
19256 } && test -s conftest.$ac_objext; then
19257 eval "$as_ac_Header=yes"
19258 else
19259 echo "$as_me: failed program was:" >&5
19260 sed 's/^/| /' conftest.$ac_ext >&5
19261
19262 eval "$as_ac_Header=no"
19263 fi
19264
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 fi
19267 ac_res=`eval echo '${'$as_ac_Header'}'`
19268 { echo "$as_me:$LINENO: result: $ac_res" >&5
19269 echo "${ECHO_T}$ac_res" >&6; }
19270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19271 cat >>confdefs.h <<_ACEOF
19272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19273 _ACEOF
19274
19275 fi
19276
19277 done
19278
19279 fi
19280
19281 case "${host}" in
19282 *-pc-os2_emx | *-pc-os2-emx )
19283 if test $ac_cv_header_langinfo_h = "yes" \
19284 -a \( "$wx_cv_gccversion" = "EMX2" \
19285 -o "$wx_cv_gccversion" = "EMX3" \
19286 -o "$wx_cv_gccversion" = "Innotek5" \); then
19287 LIBS="$LIBS -lintl"
19288 fi
19289 ;;
19290 esac
19291
19292 if test "$USE_UNIX" = 1 ; then
19293
19294 for ac_header in sys/select.h
19295 do
19296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19297 { echo "$as_me:$LINENO: checking for $ac_header" >&5
19298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19299 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19300 echo $ECHO_N "(cached) $ECHO_C" >&6
19301 else
19302 cat >conftest.$ac_ext <<_ACEOF
19303 /* confdefs.h. */
19304 _ACEOF
19305 cat confdefs.h >>conftest.$ac_ext
19306 cat >>conftest.$ac_ext <<_ACEOF
19307 /* end confdefs.h. */
19308 $ac_includes_default
19309
19310 #include <$ac_header>
19311 _ACEOF
19312 rm -f conftest.$ac_objext
19313 if { (ac_try="$ac_compile"
19314 case "(($ac_try" in
19315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19316 *) ac_try_echo=$ac_try;;
19317 esac
19318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19319 (eval "$ac_compile") 2>conftest.er1
19320 ac_status=$?
19321 grep -v '^ *+' conftest.er1 >conftest.err
19322 rm -f conftest.er1
19323 cat conftest.err >&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } && {
19326 test -z "$ac_c_werror_flag" ||
19327 test ! -s conftest.err
19328 } && test -s conftest.$ac_objext; then
19329 eval "$as_ac_Header=yes"
19330 else
19331 echo "$as_me: failed program was:" >&5
19332 sed 's/^/| /' conftest.$ac_ext >&5
19333
19334 eval "$as_ac_Header=no"
19335 fi
19336
19337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19338 fi
19339 ac_res=`eval echo '${'$as_ac_Header'}'`
19340 { echo "$as_me:$LINENO: result: $ac_res" >&5
19341 echo "${ECHO_T}$ac_res" >&6; }
19342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19343 cat >>confdefs.h <<_ACEOF
19344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19345 _ACEOF
19346
19347 fi
19348
19349 done
19350
19351 fi
19352
19353
19354 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19355 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
19356 if test "${ac_cv_c_const+set}" = set; then
19357 echo $ECHO_N "(cached) $ECHO_C" >&6
19358 else
19359 cat >conftest.$ac_ext <<_ACEOF
19360 /* confdefs.h. */
19361 _ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365
19366 int
19367 main ()
19368 {
19369 /* FIXME: Include the comments suggested by Paul. */
19370 #ifndef __cplusplus
19371 /* Ultrix mips cc rejects this. */
19372 typedef int charset[2];
19373 const charset cs;
19374 /* SunOS 4.1.1 cc rejects this. */
19375 char const *const *pcpcc;
19376 char **ppc;
19377 /* NEC SVR4.0.2 mips cc rejects this. */
19378 struct point {int x, y;};
19379 static struct point const zero = {0,0};
19380 /* AIX XL C 1.02.0.0 rejects this.
19381 It does not let you subtract one const X* pointer from another in
19382 an arm of an if-expression whose if-part is not a constant
19383 expression */
19384 const char *g = "string";
19385 pcpcc = &g + (g ? g-g : 0);
19386 /* HPUX 7.0 cc rejects these. */
19387 ++pcpcc;
19388 ppc = (char**) pcpcc;
19389 pcpcc = (char const *const *) ppc;
19390 { /* SCO 3.2v4 cc rejects this. */
19391 char *t;
19392 char const *s = 0 ? (char *) 0 : (char const *) 0;
19393
19394 *t++ = 0;
19395 if (s) return 0;
19396 }
19397 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19398 int x[] = {25, 17};
19399 const int *foo = &x[0];
19400 ++foo;
19401 }
19402 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19403 typedef const int *iptr;
19404 iptr p = 0;
19405 ++p;
19406 }
19407 { /* AIX XL C 1.02.0.0 rejects this saying
19408 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19409 struct s { int j; const int *ap[3]; };
19410 struct s *b; b->j = 5;
19411 }
19412 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19413 const int foo = 10;
19414 if (!foo) return 0;
19415 }
19416 return !cs[0] && !zero.x;
19417 #endif
19418
19419 ;
19420 return 0;
19421 }
19422 _ACEOF
19423 rm -f conftest.$ac_objext
19424 if { (ac_try="$ac_compile"
19425 case "(($ac_try" in
19426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19427 *) ac_try_echo=$ac_try;;
19428 esac
19429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19430 (eval "$ac_compile") 2>conftest.er1
19431 ac_status=$?
19432 grep -v '^ *+' conftest.er1 >conftest.err
19433 rm -f conftest.er1
19434 cat conftest.err >&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } && {
19437 test -z "$ac_c_werror_flag" ||
19438 test ! -s conftest.err
19439 } && test -s conftest.$ac_objext; then
19440 ac_cv_c_const=yes
19441 else
19442 echo "$as_me: failed program was:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19444
19445 ac_cv_c_const=no
19446 fi
19447
19448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19449 fi
19450 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19451 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19452 if test $ac_cv_c_const = no; then
19453
19454 cat >>confdefs.h <<\_ACEOF
19455 #define const
19456 _ACEOF
19457
19458 fi
19459
19460 { echo "$as_me:$LINENO: checking for inline" >&5
19461 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19462 if test "${ac_cv_c_inline+set}" = set; then
19463 echo $ECHO_N "(cached) $ECHO_C" >&6
19464 else
19465 ac_cv_c_inline=no
19466 for ac_kw in inline __inline__ __inline; do
19467 cat >conftest.$ac_ext <<_ACEOF
19468 /* confdefs.h. */
19469 _ACEOF
19470 cat confdefs.h >>conftest.$ac_ext
19471 cat >>conftest.$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19473 #ifndef __cplusplus
19474 typedef int foo_t;
19475 static $ac_kw foo_t static_foo () {return 0; }
19476 $ac_kw foo_t foo () {return 0; }
19477 #endif
19478
19479 _ACEOF
19480 rm -f conftest.$ac_objext
19481 if { (ac_try="$ac_compile"
19482 case "(($ac_try" in
19483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19484 *) ac_try_echo=$ac_try;;
19485 esac
19486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19487 (eval "$ac_compile") 2>conftest.er1
19488 ac_status=$?
19489 grep -v '^ *+' conftest.er1 >conftest.err
19490 rm -f conftest.er1
19491 cat conftest.err >&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); } && {
19494 test -z "$ac_c_werror_flag" ||
19495 test ! -s conftest.err
19496 } && test -s conftest.$ac_objext; then
19497 ac_cv_c_inline=$ac_kw
19498 else
19499 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5
19501
19502
19503 fi
19504
19505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19506 test "$ac_cv_c_inline" != no && break
19507 done
19508
19509 fi
19510 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19511 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19512
19513
19514 case $ac_cv_c_inline in
19515 inline | yes) ;;
19516 *)
19517 case $ac_cv_c_inline in
19518 no) ac_val=;;
19519 *) ac_val=$ac_cv_c_inline;;
19520 esac
19521 cat >>confdefs.h <<_ACEOF
19522 #ifndef __cplusplus
19523 #define inline $ac_val
19524 #endif
19525 _ACEOF
19526 ;;
19527 esac
19528
19529
19530 { echo "$as_me:$LINENO: checking for short" >&5
19531 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19532 if test "${ac_cv_type_short+set}" = set; then
19533 echo $ECHO_N "(cached) $ECHO_C" >&6
19534 else
19535 cat >conftest.$ac_ext <<_ACEOF
19536 /* confdefs.h. */
19537 _ACEOF
19538 cat confdefs.h >>conftest.$ac_ext
19539 cat >>conftest.$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19541 $ac_includes_default
19542 typedef short ac__type_new_;
19543 int
19544 main ()
19545 {
19546 if ((ac__type_new_ *) 0)
19547 return 0;
19548 if (sizeof (ac__type_new_))
19549 return 0;
19550 ;
19551 return 0;
19552 }
19553 _ACEOF
19554 rm -f conftest.$ac_objext
19555 if { (ac_try="$ac_compile"
19556 case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;;
19559 esac
19560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_compile") 2>conftest.er1
19562 ac_status=$?
19563 grep -v '^ *+' conftest.er1 >conftest.err
19564 rm -f conftest.er1
19565 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } && {
19568 test -z "$ac_c_werror_flag" ||
19569 test ! -s conftest.err
19570 } && test -s conftest.$ac_objext; then
19571 ac_cv_type_short=yes
19572 else
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19575
19576 ac_cv_type_short=no
19577 fi
19578
19579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580 fi
19581 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19582 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19583
19584 # The cast to long int works around a bug in the HP C Compiler
19585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19587 # This bug is HP SR number 8606223364.
19588 { echo "$as_me:$LINENO: checking size of short" >&5
19589 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19590 if test "${ac_cv_sizeof_short+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19592 else
19593 if test "$cross_compiling" = yes; then
19594 # Depending upon the size, compute the lo and hi bounds.
19595 cat >conftest.$ac_ext <<_ACEOF
19596 /* confdefs.h. */
19597 _ACEOF
19598 cat confdefs.h >>conftest.$ac_ext
19599 cat >>conftest.$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19601 $ac_includes_default
19602 typedef short ac__type_sizeof_;
19603 int
19604 main ()
19605 {
19606 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19607 test_array [0] = 0
19608
19609 ;
19610 return 0;
19611 }
19612 _ACEOF
19613 rm -f conftest.$ac_objext
19614 if { (ac_try="$ac_compile"
19615 case "(($ac_try" in
19616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19617 *) ac_try_echo=$ac_try;;
19618 esac
19619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19620 (eval "$ac_compile") 2>conftest.er1
19621 ac_status=$?
19622 grep -v '^ *+' conftest.er1 >conftest.err
19623 rm -f conftest.er1
19624 cat conftest.err >&5
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); } && {
19627 test -z "$ac_c_werror_flag" ||
19628 test ! -s conftest.err
19629 } && test -s conftest.$ac_objext; then
19630 ac_lo=0 ac_mid=0
19631 while :; do
19632 cat >conftest.$ac_ext <<_ACEOF
19633 /* confdefs.h. */
19634 _ACEOF
19635 cat confdefs.h >>conftest.$ac_ext
19636 cat >>conftest.$ac_ext <<_ACEOF
19637 /* end confdefs.h. */
19638 $ac_includes_default
19639 typedef short ac__type_sizeof_;
19640 int
19641 main ()
19642 {
19643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19644 test_array [0] = 0
19645
19646 ;
19647 return 0;
19648 }
19649 _ACEOF
19650 rm -f conftest.$ac_objext
19651 if { (ac_try="$ac_compile"
19652 case "(($ac_try" in
19653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19654 *) ac_try_echo=$ac_try;;
19655 esac
19656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19657 (eval "$ac_compile") 2>conftest.er1
19658 ac_status=$?
19659 grep -v '^ *+' conftest.er1 >conftest.err
19660 rm -f conftest.er1
19661 cat conftest.err >&5
19662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19663 (exit $ac_status); } && {
19664 test -z "$ac_c_werror_flag" ||
19665 test ! -s conftest.err
19666 } && test -s conftest.$ac_objext; then
19667 ac_hi=$ac_mid; break
19668 else
19669 echo "$as_me: failed program was:" >&5
19670 sed 's/^/| /' conftest.$ac_ext >&5
19671
19672 ac_lo=`expr $ac_mid + 1`
19673 if test $ac_lo -le $ac_mid; then
19674 ac_lo= ac_hi=
19675 break
19676 fi
19677 ac_mid=`expr 2 '*' $ac_mid + 1`
19678 fi
19679
19680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19681 done
19682 else
19683 echo "$as_me: failed program was:" >&5
19684 sed 's/^/| /' conftest.$ac_ext >&5
19685
19686 cat >conftest.$ac_ext <<_ACEOF
19687 /* confdefs.h. */
19688 _ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 $ac_includes_default
19693 typedef short ac__type_sizeof_;
19694 int
19695 main ()
19696 {
19697 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19698 test_array [0] = 0
19699
19700 ;
19701 return 0;
19702 }
19703 _ACEOF
19704 rm -f conftest.$ac_objext
19705 if { (ac_try="$ac_compile"
19706 case "(($ac_try" in
19707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19708 *) ac_try_echo=$ac_try;;
19709 esac
19710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19711 (eval "$ac_compile") 2>conftest.er1
19712 ac_status=$?
19713 grep -v '^ *+' conftest.er1 >conftest.err
19714 rm -f conftest.er1
19715 cat conftest.err >&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); } && {
19718 test -z "$ac_c_werror_flag" ||
19719 test ! -s conftest.err
19720 } && test -s conftest.$ac_objext; then
19721 ac_hi=-1 ac_mid=-1
19722 while :; do
19723 cat >conftest.$ac_ext <<_ACEOF
19724 /* confdefs.h. */
19725 _ACEOF
19726 cat confdefs.h >>conftest.$ac_ext
19727 cat >>conftest.$ac_ext <<_ACEOF
19728 /* end confdefs.h. */
19729 $ac_includes_default
19730 typedef short ac__type_sizeof_;
19731 int
19732 main ()
19733 {
19734 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19735 test_array [0] = 0
19736
19737 ;
19738 return 0;
19739 }
19740 _ACEOF
19741 rm -f conftest.$ac_objext
19742 if { (ac_try="$ac_compile"
19743 case "(($ac_try" in
19744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19745 *) ac_try_echo=$ac_try;;
19746 esac
19747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19748 (eval "$ac_compile") 2>conftest.er1
19749 ac_status=$?
19750 grep -v '^ *+' conftest.er1 >conftest.err
19751 rm -f conftest.er1
19752 cat conftest.err >&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); } && {
19755 test -z "$ac_c_werror_flag" ||
19756 test ! -s conftest.err
19757 } && test -s conftest.$ac_objext; then
19758 ac_lo=$ac_mid; break
19759 else
19760 echo "$as_me: failed program was:" >&5
19761 sed 's/^/| /' conftest.$ac_ext >&5
19762
19763 ac_hi=`expr '(' $ac_mid ')' - 1`
19764 if test $ac_mid -le $ac_hi; then
19765 ac_lo= ac_hi=
19766 break
19767 fi
19768 ac_mid=`expr 2 '*' $ac_mid`
19769 fi
19770
19771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19772 done
19773 else
19774 echo "$as_me: failed program was:" >&5
19775 sed 's/^/| /' conftest.$ac_ext >&5
19776
19777 ac_lo= ac_hi=
19778 fi
19779
19780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19781 fi
19782
19783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19784 # Binary search between lo and hi bounds.
19785 while test "x$ac_lo" != "x$ac_hi"; do
19786 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19787 cat >conftest.$ac_ext <<_ACEOF
19788 /* confdefs.h. */
19789 _ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 $ac_includes_default
19794 typedef short ac__type_sizeof_;
19795 int
19796 main ()
19797 {
19798 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19799 test_array [0] = 0
19800
19801 ;
19802 return 0;
19803 }
19804 _ACEOF
19805 rm -f conftest.$ac_objext
19806 if { (ac_try="$ac_compile"
19807 case "(($ac_try" in
19808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19809 *) ac_try_echo=$ac_try;;
19810 esac
19811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19812 (eval "$ac_compile") 2>conftest.er1
19813 ac_status=$?
19814 grep -v '^ *+' conftest.er1 >conftest.err
19815 rm -f conftest.er1
19816 cat conftest.err >&5
19817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818 (exit $ac_status); } && {
19819 test -z "$ac_c_werror_flag" ||
19820 test ! -s conftest.err
19821 } && test -s conftest.$ac_objext; then
19822 ac_hi=$ac_mid
19823 else
19824 echo "$as_me: failed program was:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19826
19827 ac_lo=`expr '(' $ac_mid ')' + 1`
19828 fi
19829
19830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19831 done
19832 case $ac_lo in
19833 ?*) ac_cv_sizeof_short=$ac_lo;;
19834 '') if test "$ac_cv_type_short" = yes; then
19835 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19836 See \`config.log' for more details." >&5
19837 echo "$as_me: error: cannot compute sizeof (short)
19838 See \`config.log' for more details." >&2;}
19839 { (exit 77); exit 77; }; }
19840 else
19841 ac_cv_sizeof_short=0
19842 fi ;;
19843 esac
19844 else
19845 cat >conftest.$ac_ext <<_ACEOF
19846 /* confdefs.h. */
19847 _ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 $ac_includes_default
19852 typedef short ac__type_sizeof_;
19853 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19854 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19855 #include <stdio.h>
19856 #include <stdlib.h>
19857 int
19858 main ()
19859 {
19860
19861 FILE *f = fopen ("conftest.val", "w");
19862 if (! f)
19863 return 1;
19864 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19865 {
19866 long int i = longval ();
19867 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19868 return 1;
19869 fprintf (f, "%ld\n", i);
19870 }
19871 else
19872 {
19873 unsigned long int i = ulongval ();
19874 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19875 return 1;
19876 fprintf (f, "%lu\n", i);
19877 }
19878 return ferror (f) || fclose (f) != 0;
19879
19880 ;
19881 return 0;
19882 }
19883 _ACEOF
19884 rm -f conftest$ac_exeext
19885 if { (ac_try="$ac_link"
19886 case "(($ac_try" in
19887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19888 *) ac_try_echo=$ac_try;;
19889 esac
19890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19891 (eval "$ac_link") 2>&5
19892 ac_status=$?
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19895 { (case "(($ac_try" in
19896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19897 *) ac_try_echo=$ac_try;;
19898 esac
19899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19900 (eval "$ac_try") 2>&5
19901 ac_status=$?
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; }; then
19904 ac_cv_sizeof_short=`cat conftest.val`
19905 else
19906 echo "$as_me: program exited with status $ac_status" >&5
19907 echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.$ac_ext >&5
19909
19910 ( exit $ac_status )
19911 if test "$ac_cv_type_short" = yes; then
19912 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19913 See \`config.log' for more details." >&5
19914 echo "$as_me: error: cannot compute sizeof (short)
19915 See \`config.log' for more details." >&2;}
19916 { (exit 77); exit 77; }; }
19917 else
19918 ac_cv_sizeof_short=0
19919 fi
19920 fi
19921 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19922 fi
19923 rm -f conftest.val
19924 fi
19925 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19926 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19927
19928
19929
19930 cat >>confdefs.h <<_ACEOF
19931 #define SIZEOF_SHORT $ac_cv_sizeof_short
19932 _ACEOF
19933
19934
19935 { echo "$as_me:$LINENO: checking for void *" >&5
19936 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19937 if test "${ac_cv_type_void_p+set}" = set; then
19938 echo $ECHO_N "(cached) $ECHO_C" >&6
19939 else
19940 cat >conftest.$ac_ext <<_ACEOF
19941 /* confdefs.h. */
19942 _ACEOF
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 $ac_includes_default
19947 typedef void * ac__type_new_;
19948 int
19949 main ()
19950 {
19951 if ((ac__type_new_ *) 0)
19952 return 0;
19953 if (sizeof (ac__type_new_))
19954 return 0;
19955 ;
19956 return 0;
19957 }
19958 _ACEOF
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19963 *) ac_try_echo=$ac_try;;
19964 esac
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19967 ac_status=$?
19968 grep -v '^ *+' conftest.er1 >conftest.err
19969 rm -f conftest.er1
19970 cat conftest.err >&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.$ac_objext; then
19976 ac_cv_type_void_p=yes
19977 else
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.$ac_ext >&5
19980
19981 ac_cv_type_void_p=no
19982 fi
19983
19984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19985 fi
19986 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19987 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19988
19989 # The cast to long int works around a bug in the HP C Compiler
19990 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19991 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19992 # This bug is HP SR number 8606223364.
19993 { echo "$as_me:$LINENO: checking size of void *" >&5
19994 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19995 if test "${ac_cv_sizeof_void_p+set}" = set; then
19996 echo $ECHO_N "(cached) $ECHO_C" >&6
19997 else
19998 if test "$cross_compiling" = yes; then
19999 # Depending upon the size, compute the lo and hi bounds.
20000 cat >conftest.$ac_ext <<_ACEOF
20001 /* confdefs.h. */
20002 _ACEOF
20003 cat confdefs.h >>conftest.$ac_ext
20004 cat >>conftest.$ac_ext <<_ACEOF
20005 /* end confdefs.h. */
20006 $ac_includes_default
20007 typedef void * ac__type_sizeof_;
20008 int
20009 main ()
20010 {
20011 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20012 test_array [0] = 0
20013
20014 ;
20015 return 0;
20016 }
20017 _ACEOF
20018 rm -f conftest.$ac_objext
20019 if { (ac_try="$ac_compile"
20020 case "(($ac_try" in
20021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20022 *) ac_try_echo=$ac_try;;
20023 esac
20024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20025 (eval "$ac_compile") 2>conftest.er1
20026 ac_status=$?
20027 grep -v '^ *+' conftest.er1 >conftest.err
20028 rm -f conftest.er1
20029 cat conftest.err >&5
20030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20031 (exit $ac_status); } && {
20032 test -z "$ac_c_werror_flag" ||
20033 test ! -s conftest.err
20034 } && test -s conftest.$ac_objext; then
20035 ac_lo=0 ac_mid=0
20036 while :; do
20037 cat >conftest.$ac_ext <<_ACEOF
20038 /* confdefs.h. */
20039 _ACEOF
20040 cat confdefs.h >>conftest.$ac_ext
20041 cat >>conftest.$ac_ext <<_ACEOF
20042 /* end confdefs.h. */
20043 $ac_includes_default
20044 typedef void * ac__type_sizeof_;
20045 int
20046 main ()
20047 {
20048 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20049 test_array [0] = 0
20050
20051 ;
20052 return 0;
20053 }
20054 _ACEOF
20055 rm -f conftest.$ac_objext
20056 if { (ac_try="$ac_compile"
20057 case "(($ac_try" in
20058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20059 *) ac_try_echo=$ac_try;;
20060 esac
20061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20062 (eval "$ac_compile") 2>conftest.er1
20063 ac_status=$?
20064 grep -v '^ *+' conftest.er1 >conftest.err
20065 rm -f conftest.er1
20066 cat conftest.err >&5
20067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20068 (exit $ac_status); } && {
20069 test -z "$ac_c_werror_flag" ||
20070 test ! -s conftest.err
20071 } && test -s conftest.$ac_objext; then
20072 ac_hi=$ac_mid; break
20073 else
20074 echo "$as_me: failed program was:" >&5
20075 sed 's/^/| /' conftest.$ac_ext >&5
20076
20077 ac_lo=`expr $ac_mid + 1`
20078 if test $ac_lo -le $ac_mid; then
20079 ac_lo= ac_hi=
20080 break
20081 fi
20082 ac_mid=`expr 2 '*' $ac_mid + 1`
20083 fi
20084
20085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20086 done
20087 else
20088 echo "$as_me: failed program was:" >&5
20089 sed 's/^/| /' conftest.$ac_ext >&5
20090
20091 cat >conftest.$ac_ext <<_ACEOF
20092 /* confdefs.h. */
20093 _ACEOF
20094 cat confdefs.h >>conftest.$ac_ext
20095 cat >>conftest.$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 $ac_includes_default
20098 typedef void * ac__type_sizeof_;
20099 int
20100 main ()
20101 {
20102 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20103 test_array [0] = 0
20104
20105 ;
20106 return 0;
20107 }
20108 _ACEOF
20109 rm -f conftest.$ac_objext
20110 if { (ac_try="$ac_compile"
20111 case "(($ac_try" in
20112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20113 *) ac_try_echo=$ac_try;;
20114 esac
20115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20116 (eval "$ac_compile") 2>conftest.er1
20117 ac_status=$?
20118 grep -v '^ *+' conftest.er1 >conftest.err
20119 rm -f conftest.er1
20120 cat conftest.err >&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } && {
20123 test -z "$ac_c_werror_flag" ||
20124 test ! -s conftest.err
20125 } && test -s conftest.$ac_objext; then
20126 ac_hi=-1 ac_mid=-1
20127 while :; do
20128 cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h. */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 $ac_includes_default
20135 typedef void * ac__type_sizeof_;
20136 int
20137 main ()
20138 {
20139 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20140 test_array [0] = 0
20141
20142 ;
20143 return 0;
20144 }
20145 _ACEOF
20146 rm -f conftest.$ac_objext
20147 if { (ac_try="$ac_compile"
20148 case "(($ac_try" in
20149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20150 *) ac_try_echo=$ac_try;;
20151 esac
20152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20153 (eval "$ac_compile") 2>conftest.er1
20154 ac_status=$?
20155 grep -v '^ *+' conftest.er1 >conftest.err
20156 rm -f conftest.er1
20157 cat conftest.err >&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } && {
20160 test -z "$ac_c_werror_flag" ||
20161 test ! -s conftest.err
20162 } && test -s conftest.$ac_objext; then
20163 ac_lo=$ac_mid; break
20164 else
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.$ac_ext >&5
20167
20168 ac_hi=`expr '(' $ac_mid ')' - 1`
20169 if test $ac_mid -le $ac_hi; then
20170 ac_lo= ac_hi=
20171 break
20172 fi
20173 ac_mid=`expr 2 '*' $ac_mid`
20174 fi
20175
20176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20177 done
20178 else
20179 echo "$as_me: failed program was:" >&5
20180 sed 's/^/| /' conftest.$ac_ext >&5
20181
20182 ac_lo= ac_hi=
20183 fi
20184
20185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20186 fi
20187
20188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20189 # Binary search between lo and hi bounds.
20190 while test "x$ac_lo" != "x$ac_hi"; do
20191 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20192 cat >conftest.$ac_ext <<_ACEOF
20193 /* confdefs.h. */
20194 _ACEOF
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20198 $ac_includes_default
20199 typedef void * ac__type_sizeof_;
20200 int
20201 main ()
20202 {
20203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20204 test_array [0] = 0
20205
20206 ;
20207 return 0;
20208 }
20209 _ACEOF
20210 rm -f conftest.$ac_objext
20211 if { (ac_try="$ac_compile"
20212 case "(($ac_try" in
20213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20214 *) ac_try_echo=$ac_try;;
20215 esac
20216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20217 (eval "$ac_compile") 2>conftest.er1
20218 ac_status=$?
20219 grep -v '^ *+' conftest.er1 >conftest.err
20220 rm -f conftest.er1
20221 cat conftest.err >&5
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } && {
20224 test -z "$ac_c_werror_flag" ||
20225 test ! -s conftest.err
20226 } && test -s conftest.$ac_objext; then
20227 ac_hi=$ac_mid
20228 else
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.$ac_ext >&5
20231
20232 ac_lo=`expr '(' $ac_mid ')' + 1`
20233 fi
20234
20235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20236 done
20237 case $ac_lo in
20238 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20239 '') if test "$ac_cv_type_void_p" = yes; then
20240 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20241 See \`config.log' for more details." >&5
20242 echo "$as_me: error: cannot compute sizeof (void *)
20243 See \`config.log' for more details." >&2;}
20244 { (exit 77); exit 77; }; }
20245 else
20246 ac_cv_sizeof_void_p=0
20247 fi ;;
20248 esac
20249 else
20250 cat >conftest.$ac_ext <<_ACEOF
20251 /* confdefs.h. */
20252 _ACEOF
20253 cat confdefs.h >>conftest.$ac_ext
20254 cat >>conftest.$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20256 $ac_includes_default
20257 typedef void * ac__type_sizeof_;
20258 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20259 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20260 #include <stdio.h>
20261 #include <stdlib.h>
20262 int
20263 main ()
20264 {
20265
20266 FILE *f = fopen ("conftest.val", "w");
20267 if (! f)
20268 return 1;
20269 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20270 {
20271 long int i = longval ();
20272 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20273 return 1;
20274 fprintf (f, "%ld\n", i);
20275 }
20276 else
20277 {
20278 unsigned long int i = ulongval ();
20279 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20280 return 1;
20281 fprintf (f, "%lu\n", i);
20282 }
20283 return ferror (f) || fclose (f) != 0;
20284
20285 ;
20286 return 0;
20287 }
20288 _ACEOF
20289 rm -f conftest$ac_exeext
20290 if { (ac_try="$ac_link"
20291 case "(($ac_try" in
20292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20293 *) ac_try_echo=$ac_try;;
20294 esac
20295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20296 (eval "$ac_link") 2>&5
20297 ac_status=$?
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20300 { (case "(($ac_try" in
20301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20302 *) ac_try_echo=$ac_try;;
20303 esac
20304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20305 (eval "$ac_try") 2>&5
20306 ac_status=$?
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; }; then
20309 ac_cv_sizeof_void_p=`cat conftest.val`
20310 else
20311 echo "$as_me: program exited with status $ac_status" >&5
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20314
20315 ( exit $ac_status )
20316 if test "$ac_cv_type_void_p" = yes; then
20317 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
20318 See \`config.log' for more details." >&5
20319 echo "$as_me: error: cannot compute sizeof (void *)
20320 See \`config.log' for more details." >&2;}
20321 { (exit 77); exit 77; }; }
20322 else
20323 ac_cv_sizeof_void_p=0
20324 fi
20325 fi
20326 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20327 fi
20328 rm -f conftest.val
20329 fi
20330 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20331 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
20332
20333
20334
20335 cat >>confdefs.h <<_ACEOF
20336 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20337 _ACEOF
20338
20339
20340 { echo "$as_me:$LINENO: checking for int" >&5
20341 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
20342 if test "${ac_cv_type_int+set}" = set; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20344 else
20345 cat >conftest.$ac_ext <<_ACEOF
20346 /* confdefs.h. */
20347 _ACEOF
20348 cat confdefs.h >>conftest.$ac_ext
20349 cat >>conftest.$ac_ext <<_ACEOF
20350 /* end confdefs.h. */
20351 $ac_includes_default
20352 typedef int ac__type_new_;
20353 int
20354 main ()
20355 {
20356 if ((ac__type_new_ *) 0)
20357 return 0;
20358 if (sizeof (ac__type_new_))
20359 return 0;
20360 ;
20361 return 0;
20362 }
20363 _ACEOF
20364 rm -f conftest.$ac_objext
20365 if { (ac_try="$ac_compile"
20366 case "(($ac_try" in
20367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20368 *) ac_try_echo=$ac_try;;
20369 esac
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_compile") 2>conftest.er1
20372 ac_status=$?
20373 grep -v '^ *+' conftest.er1 >conftest.err
20374 rm -f conftest.er1
20375 cat conftest.err >&5
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); } && {
20378 test -z "$ac_c_werror_flag" ||
20379 test ! -s conftest.err
20380 } && test -s conftest.$ac_objext; then
20381 ac_cv_type_int=yes
20382 else
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.$ac_ext >&5
20385
20386 ac_cv_type_int=no
20387 fi
20388
20389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20390 fi
20391 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20392 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20393
20394 # The cast to long int works around a bug in the HP C Compiler
20395 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20396 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20397 # This bug is HP SR number 8606223364.
20398 { echo "$as_me:$LINENO: checking size of int" >&5
20399 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20400 if test "${ac_cv_sizeof_int+set}" = set; then
20401 echo $ECHO_N "(cached) $ECHO_C" >&6
20402 else
20403 if test "$cross_compiling" = yes; then
20404 # Depending upon the size, compute the lo and hi bounds.
20405 cat >conftest.$ac_ext <<_ACEOF
20406 /* confdefs.h. */
20407 _ACEOF
20408 cat confdefs.h >>conftest.$ac_ext
20409 cat >>conftest.$ac_ext <<_ACEOF
20410 /* end confdefs.h. */
20411 $ac_includes_default
20412 typedef int ac__type_sizeof_;
20413 int
20414 main ()
20415 {
20416 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20417 test_array [0] = 0
20418
20419 ;
20420 return 0;
20421 }
20422 _ACEOF
20423 rm -f conftest.$ac_objext
20424 if { (ac_try="$ac_compile"
20425 case "(($ac_try" in
20426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20427 *) ac_try_echo=$ac_try;;
20428 esac
20429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20430 (eval "$ac_compile") 2>conftest.er1
20431 ac_status=$?
20432 grep -v '^ *+' conftest.er1 >conftest.err
20433 rm -f conftest.er1
20434 cat conftest.err >&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } && {
20437 test -z "$ac_c_werror_flag" ||
20438 test ! -s conftest.err
20439 } && test -s conftest.$ac_objext; then
20440 ac_lo=0 ac_mid=0
20441 while :; do
20442 cat >conftest.$ac_ext <<_ACEOF
20443 /* confdefs.h. */
20444 _ACEOF
20445 cat confdefs.h >>conftest.$ac_ext
20446 cat >>conftest.$ac_ext <<_ACEOF
20447 /* end confdefs.h. */
20448 $ac_includes_default
20449 typedef int ac__type_sizeof_;
20450 int
20451 main ()
20452 {
20453 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20454 test_array [0] = 0
20455
20456 ;
20457 return 0;
20458 }
20459 _ACEOF
20460 rm -f conftest.$ac_objext
20461 if { (ac_try="$ac_compile"
20462 case "(($ac_try" in
20463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20464 *) ac_try_echo=$ac_try;;
20465 esac
20466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20467 (eval "$ac_compile") 2>conftest.er1
20468 ac_status=$?
20469 grep -v '^ *+' conftest.er1 >conftest.err
20470 rm -f conftest.er1
20471 cat conftest.err >&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); } && {
20474 test -z "$ac_c_werror_flag" ||
20475 test ! -s conftest.err
20476 } && test -s conftest.$ac_objext; then
20477 ac_hi=$ac_mid; break
20478 else
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20481
20482 ac_lo=`expr $ac_mid + 1`
20483 if test $ac_lo -le $ac_mid; then
20484 ac_lo= ac_hi=
20485 break
20486 fi
20487 ac_mid=`expr 2 '*' $ac_mid + 1`
20488 fi
20489
20490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20491 done
20492 else
20493 echo "$as_me: failed program was:" >&5
20494 sed 's/^/| /' conftest.$ac_ext >&5
20495
20496 cat >conftest.$ac_ext <<_ACEOF
20497 /* confdefs.h. */
20498 _ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 $ac_includes_default
20503 typedef int ac__type_sizeof_;
20504 int
20505 main ()
20506 {
20507 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20508 test_array [0] = 0
20509
20510 ;
20511 return 0;
20512 }
20513 _ACEOF
20514 rm -f conftest.$ac_objext
20515 if { (ac_try="$ac_compile"
20516 case "(($ac_try" in
20517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20518 *) ac_try_echo=$ac_try;;
20519 esac
20520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20521 (eval "$ac_compile") 2>conftest.er1
20522 ac_status=$?
20523 grep -v '^ *+' conftest.er1 >conftest.err
20524 rm -f conftest.er1
20525 cat conftest.err >&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); } && {
20528 test -z "$ac_c_werror_flag" ||
20529 test ! -s conftest.err
20530 } && test -s conftest.$ac_objext; then
20531 ac_hi=-1 ac_mid=-1
20532 while :; do
20533 cat >conftest.$ac_ext <<_ACEOF
20534 /* confdefs.h. */
20535 _ACEOF
20536 cat confdefs.h >>conftest.$ac_ext
20537 cat >>conftest.$ac_ext <<_ACEOF
20538 /* end confdefs.h. */
20539 $ac_includes_default
20540 typedef int ac__type_sizeof_;
20541 int
20542 main ()
20543 {
20544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20545 test_array [0] = 0
20546
20547 ;
20548 return 0;
20549 }
20550 _ACEOF
20551 rm -f conftest.$ac_objext
20552 if { (ac_try="$ac_compile"
20553 case "(($ac_try" in
20554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20555 *) ac_try_echo=$ac_try;;
20556 esac
20557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20558 (eval "$ac_compile") 2>conftest.er1
20559 ac_status=$?
20560 grep -v '^ *+' conftest.er1 >conftest.err
20561 rm -f conftest.er1
20562 cat conftest.err >&5
20563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20564 (exit $ac_status); } && {
20565 test -z "$ac_c_werror_flag" ||
20566 test ! -s conftest.err
20567 } && test -s conftest.$ac_objext; then
20568 ac_lo=$ac_mid; break
20569 else
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.$ac_ext >&5
20572
20573 ac_hi=`expr '(' $ac_mid ')' - 1`
20574 if test $ac_mid -le $ac_hi; then
20575 ac_lo= ac_hi=
20576 break
20577 fi
20578 ac_mid=`expr 2 '*' $ac_mid`
20579 fi
20580
20581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20582 done
20583 else
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.$ac_ext >&5
20586
20587 ac_lo= ac_hi=
20588 fi
20589
20590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20591 fi
20592
20593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20594 # Binary search between lo and hi bounds.
20595 while test "x$ac_lo" != "x$ac_hi"; do
20596 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20597 cat >conftest.$ac_ext <<_ACEOF
20598 /* confdefs.h. */
20599 _ACEOF
20600 cat confdefs.h >>conftest.$ac_ext
20601 cat >>conftest.$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20604 typedef int ac__type_sizeof_;
20605 int
20606 main ()
20607 {
20608 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20609 test_array [0] = 0
20610
20611 ;
20612 return 0;
20613 }
20614 _ACEOF
20615 rm -f conftest.$ac_objext
20616 if { (ac_try="$ac_compile"
20617 case "(($ac_try" in
20618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20619 *) ac_try_echo=$ac_try;;
20620 esac
20621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20622 (eval "$ac_compile") 2>conftest.er1
20623 ac_status=$?
20624 grep -v '^ *+' conftest.er1 >conftest.err
20625 rm -f conftest.er1
20626 cat conftest.err >&5
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); } && {
20629 test -z "$ac_c_werror_flag" ||
20630 test ! -s conftest.err
20631 } && test -s conftest.$ac_objext; then
20632 ac_hi=$ac_mid
20633 else
20634 echo "$as_me: failed program was:" >&5
20635 sed 's/^/| /' conftest.$ac_ext >&5
20636
20637 ac_lo=`expr '(' $ac_mid ')' + 1`
20638 fi
20639
20640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20641 done
20642 case $ac_lo in
20643 ?*) ac_cv_sizeof_int=$ac_lo;;
20644 '') if test "$ac_cv_type_int" = yes; then
20645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20646 See \`config.log' for more details." >&5
20647 echo "$as_me: error: cannot compute sizeof (int)
20648 See \`config.log' for more details." >&2;}
20649 { (exit 77); exit 77; }; }
20650 else
20651 ac_cv_sizeof_int=0
20652 fi ;;
20653 esac
20654 else
20655 cat >conftest.$ac_ext <<_ACEOF
20656 /* confdefs.h. */
20657 _ACEOF
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661 $ac_includes_default
20662 typedef int ac__type_sizeof_;
20663 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20664 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20665 #include <stdio.h>
20666 #include <stdlib.h>
20667 int
20668 main ()
20669 {
20670
20671 FILE *f = fopen ("conftest.val", "w");
20672 if (! f)
20673 return 1;
20674 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20675 {
20676 long int i = longval ();
20677 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20678 return 1;
20679 fprintf (f, "%ld\n", i);
20680 }
20681 else
20682 {
20683 unsigned long int i = ulongval ();
20684 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20685 return 1;
20686 fprintf (f, "%lu\n", i);
20687 }
20688 return ferror (f) || fclose (f) != 0;
20689
20690 ;
20691 return 0;
20692 }
20693 _ACEOF
20694 rm -f conftest$ac_exeext
20695 if { (ac_try="$ac_link"
20696 case "(($ac_try" in
20697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20698 *) ac_try_echo=$ac_try;;
20699 esac
20700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20701 (eval "$ac_link") 2>&5
20702 ac_status=$?
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20705 { (case "(($ac_try" in
20706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20707 *) ac_try_echo=$ac_try;;
20708 esac
20709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20710 (eval "$ac_try") 2>&5
20711 ac_status=$?
20712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713 (exit $ac_status); }; }; then
20714 ac_cv_sizeof_int=`cat conftest.val`
20715 else
20716 echo "$as_me: program exited with status $ac_status" >&5
20717 echo "$as_me: failed program was:" >&5
20718 sed 's/^/| /' conftest.$ac_ext >&5
20719
20720 ( exit $ac_status )
20721 if test "$ac_cv_type_int" = yes; then
20722 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20723 See \`config.log' for more details." >&5
20724 echo "$as_me: error: cannot compute sizeof (int)
20725 See \`config.log' for more details." >&2;}
20726 { (exit 77); exit 77; }; }
20727 else
20728 ac_cv_sizeof_int=0
20729 fi
20730 fi
20731 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20732 fi
20733 rm -f conftest.val
20734 fi
20735 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20736 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20737
20738
20739
20740 cat >>confdefs.h <<_ACEOF
20741 #define SIZEOF_INT $ac_cv_sizeof_int
20742 _ACEOF
20743
20744
20745 { echo "$as_me:$LINENO: checking for long" >&5
20746 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20747 if test "${ac_cv_type_long+set}" = set; then
20748 echo $ECHO_N "(cached) $ECHO_C" >&6
20749 else
20750 cat >conftest.$ac_ext <<_ACEOF
20751 /* confdefs.h. */
20752 _ACEOF
20753 cat confdefs.h >>conftest.$ac_ext
20754 cat >>conftest.$ac_ext <<_ACEOF
20755 /* end confdefs.h. */
20756 $ac_includes_default
20757 typedef long ac__type_new_;
20758 int
20759 main ()
20760 {
20761 if ((ac__type_new_ *) 0)
20762 return 0;
20763 if (sizeof (ac__type_new_))
20764 return 0;
20765 ;
20766 return 0;
20767 }
20768 _ACEOF
20769 rm -f conftest.$ac_objext
20770 if { (ac_try="$ac_compile"
20771 case "(($ac_try" in
20772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20773 *) ac_try_echo=$ac_try;;
20774 esac
20775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20776 (eval "$ac_compile") 2>conftest.er1
20777 ac_status=$?
20778 grep -v '^ *+' conftest.er1 >conftest.err
20779 rm -f conftest.er1
20780 cat conftest.err >&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); } && {
20783 test -z "$ac_c_werror_flag" ||
20784 test ! -s conftest.err
20785 } && test -s conftest.$ac_objext; then
20786 ac_cv_type_long=yes
20787 else
20788 echo "$as_me: failed program was:" >&5
20789 sed 's/^/| /' conftest.$ac_ext >&5
20790
20791 ac_cv_type_long=no
20792 fi
20793
20794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20795 fi
20796 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20797 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20798
20799 # The cast to long int works around a bug in the HP C Compiler
20800 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20801 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20802 # This bug is HP SR number 8606223364.
20803 { echo "$as_me:$LINENO: checking size of long" >&5
20804 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20805 if test "${ac_cv_sizeof_long+set}" = set; then
20806 echo $ECHO_N "(cached) $ECHO_C" >&6
20807 else
20808 if test "$cross_compiling" = yes; then
20809 # Depending upon the size, compute the lo and hi bounds.
20810 cat >conftest.$ac_ext <<_ACEOF
20811 /* confdefs.h. */
20812 _ACEOF
20813 cat confdefs.h >>conftest.$ac_ext
20814 cat >>conftest.$ac_ext <<_ACEOF
20815 /* end confdefs.h. */
20816 $ac_includes_default
20817 typedef long ac__type_sizeof_;
20818 int
20819 main ()
20820 {
20821 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20822 test_array [0] = 0
20823
20824 ;
20825 return 0;
20826 }
20827 _ACEOF
20828 rm -f conftest.$ac_objext
20829 if { (ac_try="$ac_compile"
20830 case "(($ac_try" in
20831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20832 *) ac_try_echo=$ac_try;;
20833 esac
20834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20835 (eval "$ac_compile") 2>conftest.er1
20836 ac_status=$?
20837 grep -v '^ *+' conftest.er1 >conftest.err
20838 rm -f conftest.er1
20839 cat conftest.err >&5
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); } && {
20842 test -z "$ac_c_werror_flag" ||
20843 test ! -s conftest.err
20844 } && test -s conftest.$ac_objext; then
20845 ac_lo=0 ac_mid=0
20846 while :; do
20847 cat >conftest.$ac_ext <<_ACEOF
20848 /* confdefs.h. */
20849 _ACEOF
20850 cat confdefs.h >>conftest.$ac_ext
20851 cat >>conftest.$ac_ext <<_ACEOF
20852 /* end confdefs.h. */
20853 $ac_includes_default
20854 typedef long ac__type_sizeof_;
20855 int
20856 main ()
20857 {
20858 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20859 test_array [0] = 0
20860
20861 ;
20862 return 0;
20863 }
20864 _ACEOF
20865 rm -f conftest.$ac_objext
20866 if { (ac_try="$ac_compile"
20867 case "(($ac_try" in
20868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20869 *) ac_try_echo=$ac_try;;
20870 esac
20871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20872 (eval "$ac_compile") 2>conftest.er1
20873 ac_status=$?
20874 grep -v '^ *+' conftest.er1 >conftest.err
20875 rm -f conftest.er1
20876 cat conftest.err >&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && {
20879 test -z "$ac_c_werror_flag" ||
20880 test ! -s conftest.err
20881 } && test -s conftest.$ac_objext; then
20882 ac_hi=$ac_mid; break
20883 else
20884 echo "$as_me: failed program was:" >&5
20885 sed 's/^/| /' conftest.$ac_ext >&5
20886
20887 ac_lo=`expr $ac_mid + 1`
20888 if test $ac_lo -le $ac_mid; then
20889 ac_lo= ac_hi=
20890 break
20891 fi
20892 ac_mid=`expr 2 '*' $ac_mid + 1`
20893 fi
20894
20895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20896 done
20897 else
20898 echo "$as_me: failed program was:" >&5
20899 sed 's/^/| /' conftest.$ac_ext >&5
20900
20901 cat >conftest.$ac_ext <<_ACEOF
20902 /* confdefs.h. */
20903 _ACEOF
20904 cat confdefs.h >>conftest.$ac_ext
20905 cat >>conftest.$ac_ext <<_ACEOF
20906 /* end confdefs.h. */
20907 $ac_includes_default
20908 typedef long ac__type_sizeof_;
20909 int
20910 main ()
20911 {
20912 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20913 test_array [0] = 0
20914
20915 ;
20916 return 0;
20917 }
20918 _ACEOF
20919 rm -f conftest.$ac_objext
20920 if { (ac_try="$ac_compile"
20921 case "(($ac_try" in
20922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20923 *) ac_try_echo=$ac_try;;
20924 esac
20925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20926 (eval "$ac_compile") 2>conftest.er1
20927 ac_status=$?
20928 grep -v '^ *+' conftest.er1 >conftest.err
20929 rm -f conftest.er1
20930 cat conftest.err >&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } && {
20933 test -z "$ac_c_werror_flag" ||
20934 test ! -s conftest.err
20935 } && test -s conftest.$ac_objext; then
20936 ac_hi=-1 ac_mid=-1
20937 while :; do
20938 cat >conftest.$ac_ext <<_ACEOF
20939 /* confdefs.h. */
20940 _ACEOF
20941 cat confdefs.h >>conftest.$ac_ext
20942 cat >>conftest.$ac_ext <<_ACEOF
20943 /* end confdefs.h. */
20944 $ac_includes_default
20945 typedef long ac__type_sizeof_;
20946 int
20947 main ()
20948 {
20949 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20950 test_array [0] = 0
20951
20952 ;
20953 return 0;
20954 }
20955 _ACEOF
20956 rm -f conftest.$ac_objext
20957 if { (ac_try="$ac_compile"
20958 case "(($ac_try" in
20959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20960 *) ac_try_echo=$ac_try;;
20961 esac
20962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20963 (eval "$ac_compile") 2>conftest.er1
20964 ac_status=$?
20965 grep -v '^ *+' conftest.er1 >conftest.err
20966 rm -f conftest.er1
20967 cat conftest.err >&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); } && {
20970 test -z "$ac_c_werror_flag" ||
20971 test ! -s conftest.err
20972 } && test -s conftest.$ac_objext; then
20973 ac_lo=$ac_mid; break
20974 else
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.$ac_ext >&5
20977
20978 ac_hi=`expr '(' $ac_mid ')' - 1`
20979 if test $ac_mid -le $ac_hi; then
20980 ac_lo= ac_hi=
20981 break
20982 fi
20983 ac_mid=`expr 2 '*' $ac_mid`
20984 fi
20985
20986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20987 done
20988 else
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.$ac_ext >&5
20991
20992 ac_lo= ac_hi=
20993 fi
20994
20995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20996 fi
20997
20998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20999 # Binary search between lo and hi bounds.
21000 while test "x$ac_lo" != "x$ac_hi"; do
21001 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21002 cat >conftest.$ac_ext <<_ACEOF
21003 /* confdefs.h. */
21004 _ACEOF
21005 cat confdefs.h >>conftest.$ac_ext
21006 cat >>conftest.$ac_ext <<_ACEOF
21007 /* end confdefs.h. */
21008 $ac_includes_default
21009 typedef long ac__type_sizeof_;
21010 int
21011 main ()
21012 {
21013 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21014 test_array [0] = 0
21015
21016 ;
21017 return 0;
21018 }
21019 _ACEOF
21020 rm -f conftest.$ac_objext
21021 if { (ac_try="$ac_compile"
21022 case "(($ac_try" in
21023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21024 *) ac_try_echo=$ac_try;;
21025 esac
21026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21027 (eval "$ac_compile") 2>conftest.er1
21028 ac_status=$?
21029 grep -v '^ *+' conftest.er1 >conftest.err
21030 rm -f conftest.er1
21031 cat conftest.err >&5
21032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21033 (exit $ac_status); } && {
21034 test -z "$ac_c_werror_flag" ||
21035 test ! -s conftest.err
21036 } && test -s conftest.$ac_objext; then
21037 ac_hi=$ac_mid
21038 else
21039 echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.$ac_ext >&5
21041
21042 ac_lo=`expr '(' $ac_mid ')' + 1`
21043 fi
21044
21045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21046 done
21047 case $ac_lo in
21048 ?*) ac_cv_sizeof_long=$ac_lo;;
21049 '') if test "$ac_cv_type_long" = yes; then
21050 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21051 See \`config.log' for more details." >&5
21052 echo "$as_me: error: cannot compute sizeof (long)
21053 See \`config.log' for more details." >&2;}
21054 { (exit 77); exit 77; }; }
21055 else
21056 ac_cv_sizeof_long=0
21057 fi ;;
21058 esac
21059 else
21060 cat >conftest.$ac_ext <<_ACEOF
21061 /* confdefs.h. */
21062 _ACEOF
21063 cat confdefs.h >>conftest.$ac_ext
21064 cat >>conftest.$ac_ext <<_ACEOF
21065 /* end confdefs.h. */
21066 $ac_includes_default
21067 typedef long ac__type_sizeof_;
21068 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21069 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21070 #include <stdio.h>
21071 #include <stdlib.h>
21072 int
21073 main ()
21074 {
21075
21076 FILE *f = fopen ("conftest.val", "w");
21077 if (! f)
21078 return 1;
21079 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21080 {
21081 long int i = longval ();
21082 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21083 return 1;
21084 fprintf (f, "%ld\n", i);
21085 }
21086 else
21087 {
21088 unsigned long int i = ulongval ();
21089 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21090 return 1;
21091 fprintf (f, "%lu\n", i);
21092 }
21093 return ferror (f) || fclose (f) != 0;
21094
21095 ;
21096 return 0;
21097 }
21098 _ACEOF
21099 rm -f conftest$ac_exeext
21100 if { (ac_try="$ac_link"
21101 case "(($ac_try" in
21102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21103 *) ac_try_echo=$ac_try;;
21104 esac
21105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21106 (eval "$ac_link") 2>&5
21107 ac_status=$?
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21110 { (case "(($ac_try" in
21111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21112 *) ac_try_echo=$ac_try;;
21113 esac
21114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21115 (eval "$ac_try") 2>&5
21116 ac_status=$?
21117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21118 (exit $ac_status); }; }; then
21119 ac_cv_sizeof_long=`cat conftest.val`
21120 else
21121 echo "$as_me: program exited with status $ac_status" >&5
21122 echo "$as_me: failed program was:" >&5
21123 sed 's/^/| /' conftest.$ac_ext >&5
21124
21125 ( exit $ac_status )
21126 if test "$ac_cv_type_long" = yes; then
21127 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21128 See \`config.log' for more details." >&5
21129 echo "$as_me: error: cannot compute sizeof (long)
21130 See \`config.log' for more details." >&2;}
21131 { (exit 77); exit 77; }; }
21132 else
21133 ac_cv_sizeof_long=0
21134 fi
21135 fi
21136 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21137 fi
21138 rm -f conftest.val
21139 fi
21140 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21141 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
21142
21143
21144
21145 cat >>confdefs.h <<_ACEOF
21146 #define SIZEOF_LONG $ac_cv_sizeof_long
21147 _ACEOF
21148
21149
21150 { echo "$as_me:$LINENO: checking for size_t" >&5
21151 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
21152 if test "${ac_cv_type_size_t+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21154 else
21155 cat >conftest.$ac_ext <<_ACEOF
21156 /* confdefs.h. */
21157 _ACEOF
21158 cat confdefs.h >>conftest.$ac_ext
21159 cat >>conftest.$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21162 typedef size_t ac__type_new_;
21163 int
21164 main ()
21165 {
21166 if ((ac__type_new_ *) 0)
21167 return 0;
21168 if (sizeof (ac__type_new_))
21169 return 0;
21170 ;
21171 return 0;
21172 }
21173 _ACEOF
21174 rm -f conftest.$ac_objext
21175 if { (ac_try="$ac_compile"
21176 case "(($ac_try" in
21177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21178 *) ac_try_echo=$ac_try;;
21179 esac
21180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21181 (eval "$ac_compile") 2>conftest.er1
21182 ac_status=$?
21183 grep -v '^ *+' conftest.er1 >conftest.err
21184 rm -f conftest.er1
21185 cat conftest.err >&5
21186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21187 (exit $ac_status); } && {
21188 test -z "$ac_c_werror_flag" ||
21189 test ! -s conftest.err
21190 } && test -s conftest.$ac_objext; then
21191 ac_cv_type_size_t=yes
21192 else
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.$ac_ext >&5
21195
21196 ac_cv_type_size_t=no
21197 fi
21198
21199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21200 fi
21201 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21202 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
21203
21204 # The cast to long int works around a bug in the HP C Compiler
21205 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21206 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21207 # This bug is HP SR number 8606223364.
21208 { echo "$as_me:$LINENO: checking size of size_t" >&5
21209 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
21210 if test "${ac_cv_sizeof_size_t+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21212 else
21213 if test "$cross_compiling" = yes; then
21214 # Depending upon the size, compute the lo and hi bounds.
21215 cat >conftest.$ac_ext <<_ACEOF
21216 /* confdefs.h. */
21217 _ACEOF
21218 cat confdefs.h >>conftest.$ac_ext
21219 cat >>conftest.$ac_ext <<_ACEOF
21220 /* end confdefs.h. */
21221 $ac_includes_default
21222 typedef size_t ac__type_sizeof_;
21223 int
21224 main ()
21225 {
21226 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21227 test_array [0] = 0
21228
21229 ;
21230 return 0;
21231 }
21232 _ACEOF
21233 rm -f conftest.$ac_objext
21234 if { (ac_try="$ac_compile"
21235 case "(($ac_try" in
21236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21237 *) ac_try_echo=$ac_try;;
21238 esac
21239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21240 (eval "$ac_compile") 2>conftest.er1
21241 ac_status=$?
21242 grep -v '^ *+' conftest.er1 >conftest.err
21243 rm -f conftest.er1
21244 cat conftest.err >&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); } && {
21247 test -z "$ac_c_werror_flag" ||
21248 test ! -s conftest.err
21249 } && test -s conftest.$ac_objext; then
21250 ac_lo=0 ac_mid=0
21251 while :; do
21252 cat >conftest.$ac_ext <<_ACEOF
21253 /* confdefs.h. */
21254 _ACEOF
21255 cat confdefs.h >>conftest.$ac_ext
21256 cat >>conftest.$ac_ext <<_ACEOF
21257 /* end confdefs.h. */
21258 $ac_includes_default
21259 typedef size_t ac__type_sizeof_;
21260 int
21261 main ()
21262 {
21263 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21264 test_array [0] = 0
21265
21266 ;
21267 return 0;
21268 }
21269 _ACEOF
21270 rm -f conftest.$ac_objext
21271 if { (ac_try="$ac_compile"
21272 case "(($ac_try" in
21273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21274 *) ac_try_echo=$ac_try;;
21275 esac
21276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21277 (eval "$ac_compile") 2>conftest.er1
21278 ac_status=$?
21279 grep -v '^ *+' conftest.er1 >conftest.err
21280 rm -f conftest.er1
21281 cat conftest.err >&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); } && {
21284 test -z "$ac_c_werror_flag" ||
21285 test ! -s conftest.err
21286 } && test -s conftest.$ac_objext; then
21287 ac_hi=$ac_mid; break
21288 else
21289 echo "$as_me: failed program was:" >&5
21290 sed 's/^/| /' conftest.$ac_ext >&5
21291
21292 ac_lo=`expr $ac_mid + 1`
21293 if test $ac_lo -le $ac_mid; then
21294 ac_lo= ac_hi=
21295 break
21296 fi
21297 ac_mid=`expr 2 '*' $ac_mid + 1`
21298 fi
21299
21300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21301 done
21302 else
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.$ac_ext >&5
21305
21306 cat >conftest.$ac_ext <<_ACEOF
21307 /* confdefs.h. */
21308 _ACEOF
21309 cat confdefs.h >>conftest.$ac_ext
21310 cat >>conftest.$ac_ext <<_ACEOF
21311 /* end confdefs.h. */
21312 $ac_includes_default
21313 typedef size_t ac__type_sizeof_;
21314 int
21315 main ()
21316 {
21317 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21318 test_array [0] = 0
21319
21320 ;
21321 return 0;
21322 }
21323 _ACEOF
21324 rm -f conftest.$ac_objext
21325 if { (ac_try="$ac_compile"
21326 case "(($ac_try" in
21327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21328 *) ac_try_echo=$ac_try;;
21329 esac
21330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21331 (eval "$ac_compile") 2>conftest.er1
21332 ac_status=$?
21333 grep -v '^ *+' conftest.er1 >conftest.err
21334 rm -f conftest.er1
21335 cat conftest.err >&5
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } && {
21338 test -z "$ac_c_werror_flag" ||
21339 test ! -s conftest.err
21340 } && test -s conftest.$ac_objext; then
21341 ac_hi=-1 ac_mid=-1
21342 while :; do
21343 cat >conftest.$ac_ext <<_ACEOF
21344 /* confdefs.h. */
21345 _ACEOF
21346 cat confdefs.h >>conftest.$ac_ext
21347 cat >>conftest.$ac_ext <<_ACEOF
21348 /* end confdefs.h. */
21349 $ac_includes_default
21350 typedef size_t ac__type_sizeof_;
21351 int
21352 main ()
21353 {
21354 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21355 test_array [0] = 0
21356
21357 ;
21358 return 0;
21359 }
21360 _ACEOF
21361 rm -f conftest.$ac_objext
21362 if { (ac_try="$ac_compile"
21363 case "(($ac_try" in
21364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21365 *) ac_try_echo=$ac_try;;
21366 esac
21367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21368 (eval "$ac_compile") 2>conftest.er1
21369 ac_status=$?
21370 grep -v '^ *+' conftest.er1 >conftest.err
21371 rm -f conftest.er1
21372 cat conftest.err >&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } && {
21375 test -z "$ac_c_werror_flag" ||
21376 test ! -s conftest.err
21377 } && test -s conftest.$ac_objext; then
21378 ac_lo=$ac_mid; break
21379 else
21380 echo "$as_me: failed program was:" >&5
21381 sed 's/^/| /' conftest.$ac_ext >&5
21382
21383 ac_hi=`expr '(' $ac_mid ')' - 1`
21384 if test $ac_mid -le $ac_hi; then
21385 ac_lo= ac_hi=
21386 break
21387 fi
21388 ac_mid=`expr 2 '*' $ac_mid`
21389 fi
21390
21391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21392 done
21393 else
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.$ac_ext >&5
21396
21397 ac_lo= ac_hi=
21398 fi
21399
21400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21401 fi
21402
21403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21404 # Binary search between lo and hi bounds.
21405 while test "x$ac_lo" != "x$ac_hi"; do
21406 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21407 cat >conftest.$ac_ext <<_ACEOF
21408 /* confdefs.h. */
21409 _ACEOF
21410 cat confdefs.h >>conftest.$ac_ext
21411 cat >>conftest.$ac_ext <<_ACEOF
21412 /* end confdefs.h. */
21413 $ac_includes_default
21414 typedef size_t ac__type_sizeof_;
21415 int
21416 main ()
21417 {
21418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21419 test_array [0] = 0
21420
21421 ;
21422 return 0;
21423 }
21424 _ACEOF
21425 rm -f conftest.$ac_objext
21426 if { (ac_try="$ac_compile"
21427 case "(($ac_try" in
21428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21429 *) ac_try_echo=$ac_try;;
21430 esac
21431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21432 (eval "$ac_compile") 2>conftest.er1
21433 ac_status=$?
21434 grep -v '^ *+' conftest.er1 >conftest.err
21435 rm -f conftest.er1
21436 cat conftest.err >&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); } && {
21439 test -z "$ac_c_werror_flag" ||
21440 test ! -s conftest.err
21441 } && test -s conftest.$ac_objext; then
21442 ac_hi=$ac_mid
21443 else
21444 echo "$as_me: failed program was:" >&5
21445 sed 's/^/| /' conftest.$ac_ext >&5
21446
21447 ac_lo=`expr '(' $ac_mid ')' + 1`
21448 fi
21449
21450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21451 done
21452 case $ac_lo in
21453 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21454 '') if test "$ac_cv_type_size_t" = yes; then
21455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21456 See \`config.log' for more details." >&5
21457 echo "$as_me: error: cannot compute sizeof (size_t)
21458 See \`config.log' for more details." >&2;}
21459 { (exit 77); exit 77; }; }
21460 else
21461 ac_cv_sizeof_size_t=0
21462 fi ;;
21463 esac
21464 else
21465 cat >conftest.$ac_ext <<_ACEOF
21466 /* confdefs.h. */
21467 _ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21471 $ac_includes_default
21472 typedef size_t ac__type_sizeof_;
21473 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21474 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21475 #include <stdio.h>
21476 #include <stdlib.h>
21477 int
21478 main ()
21479 {
21480
21481 FILE *f = fopen ("conftest.val", "w");
21482 if (! f)
21483 return 1;
21484 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21485 {
21486 long int i = longval ();
21487 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21488 return 1;
21489 fprintf (f, "%ld\n", i);
21490 }
21491 else
21492 {
21493 unsigned long int i = ulongval ();
21494 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21495 return 1;
21496 fprintf (f, "%lu\n", i);
21497 }
21498 return ferror (f) || fclose (f) != 0;
21499
21500 ;
21501 return 0;
21502 }
21503 _ACEOF
21504 rm -f conftest$ac_exeext
21505 if { (ac_try="$ac_link"
21506 case "(($ac_try" in
21507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21508 *) ac_try_echo=$ac_try;;
21509 esac
21510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21511 (eval "$ac_link") 2>&5
21512 ac_status=$?
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21515 { (case "(($ac_try" in
21516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21517 *) ac_try_echo=$ac_try;;
21518 esac
21519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21520 (eval "$ac_try") 2>&5
21521 ac_status=$?
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); }; }; then
21524 ac_cv_sizeof_size_t=`cat conftest.val`
21525 else
21526 echo "$as_me: program exited with status $ac_status" >&5
21527 echo "$as_me: failed program was:" >&5
21528 sed 's/^/| /' conftest.$ac_ext >&5
21529
21530 ( exit $ac_status )
21531 if test "$ac_cv_type_size_t" = yes; then
21532 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21533 See \`config.log' for more details." >&5
21534 echo "$as_me: error: cannot compute sizeof (size_t)
21535 See \`config.log' for more details." >&2;}
21536 { (exit 77); exit 77; }; }
21537 else
21538 ac_cv_sizeof_size_t=0
21539 fi
21540 fi
21541 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21542 fi
21543 rm -f conftest.val
21544 fi
21545 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21546 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21547
21548
21549
21550 cat >>confdefs.h <<_ACEOF
21551 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21552 _ACEOF
21553
21554
21555
21556 case "${host}" in
21557 arm-*-linux* )
21558 { echo "$as_me:$LINENO: checking for long long" >&5
21559 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21560 if test "${ac_cv_type_long_long+set}" = set; then
21561 echo $ECHO_N "(cached) $ECHO_C" >&6
21562 else
21563 cat >conftest.$ac_ext <<_ACEOF
21564 /* confdefs.h. */
21565 _ACEOF
21566 cat confdefs.h >>conftest.$ac_ext
21567 cat >>conftest.$ac_ext <<_ACEOF
21568 /* end confdefs.h. */
21569 $ac_includes_default
21570 typedef long long ac__type_new_;
21571 int
21572 main ()
21573 {
21574 if ((ac__type_new_ *) 0)
21575 return 0;
21576 if (sizeof (ac__type_new_))
21577 return 0;
21578 ;
21579 return 0;
21580 }
21581 _ACEOF
21582 rm -f conftest.$ac_objext
21583 if { (ac_try="$ac_compile"
21584 case "(($ac_try" in
21585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21586 *) ac_try_echo=$ac_try;;
21587 esac
21588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21589 (eval "$ac_compile") 2>conftest.er1
21590 ac_status=$?
21591 grep -v '^ *+' conftest.er1 >conftest.err
21592 rm -f conftest.er1
21593 cat conftest.err >&5
21594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21595 (exit $ac_status); } && {
21596 test -z "$ac_c_werror_flag" ||
21597 test ! -s conftest.err
21598 } && test -s conftest.$ac_objext; then
21599 ac_cv_type_long_long=yes
21600 else
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21603
21604 ac_cv_type_long_long=no
21605 fi
21606
21607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21608 fi
21609 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21610 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21611
21612 # The cast to long int works around a bug in the HP C Compiler
21613 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21614 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21615 # This bug is HP SR number 8606223364.
21616 { echo "$as_me:$LINENO: checking size of long long" >&5
21617 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21618 if test "${ac_cv_sizeof_long_long+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21620 else
21621 if test "$cross_compiling" = yes; then
21622 # Depending upon the size, compute the lo and hi bounds.
21623 cat >conftest.$ac_ext <<_ACEOF
21624 /* confdefs.h. */
21625 _ACEOF
21626 cat confdefs.h >>conftest.$ac_ext
21627 cat >>conftest.$ac_ext <<_ACEOF
21628 /* end confdefs.h. */
21629 $ac_includes_default
21630 typedef long long ac__type_sizeof_;
21631 int
21632 main ()
21633 {
21634 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21635 test_array [0] = 0
21636
21637 ;
21638 return 0;
21639 }
21640 _ACEOF
21641 rm -f conftest.$ac_objext
21642 if { (ac_try="$ac_compile"
21643 case "(($ac_try" in
21644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21645 *) ac_try_echo=$ac_try;;
21646 esac
21647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21648 (eval "$ac_compile") 2>conftest.er1
21649 ac_status=$?
21650 grep -v '^ *+' conftest.er1 >conftest.err
21651 rm -f conftest.er1
21652 cat conftest.err >&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } && {
21655 test -z "$ac_c_werror_flag" ||
21656 test ! -s conftest.err
21657 } && test -s conftest.$ac_objext; then
21658 ac_lo=0 ac_mid=0
21659 while :; do
21660 cat >conftest.$ac_ext <<_ACEOF
21661 /* confdefs.h. */
21662 _ACEOF
21663 cat confdefs.h >>conftest.$ac_ext
21664 cat >>conftest.$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21666 $ac_includes_default
21667 typedef long long ac__type_sizeof_;
21668 int
21669 main ()
21670 {
21671 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21672 test_array [0] = 0
21673
21674 ;
21675 return 0;
21676 }
21677 _ACEOF
21678 rm -f conftest.$ac_objext
21679 if { (ac_try="$ac_compile"
21680 case "(($ac_try" in
21681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21682 *) ac_try_echo=$ac_try;;
21683 esac
21684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21685 (eval "$ac_compile") 2>conftest.er1
21686 ac_status=$?
21687 grep -v '^ *+' conftest.er1 >conftest.err
21688 rm -f conftest.er1
21689 cat conftest.err >&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); } && {
21692 test -z "$ac_c_werror_flag" ||
21693 test ! -s conftest.err
21694 } && test -s conftest.$ac_objext; then
21695 ac_hi=$ac_mid; break
21696 else
21697 echo "$as_me: failed program was:" >&5
21698 sed 's/^/| /' conftest.$ac_ext >&5
21699
21700 ac_lo=`expr $ac_mid + 1`
21701 if test $ac_lo -le $ac_mid; then
21702 ac_lo= ac_hi=
21703 break
21704 fi
21705 ac_mid=`expr 2 '*' $ac_mid + 1`
21706 fi
21707
21708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21709 done
21710 else
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.$ac_ext >&5
21713
21714 cat >conftest.$ac_ext <<_ACEOF
21715 /* confdefs.h. */
21716 _ACEOF
21717 cat confdefs.h >>conftest.$ac_ext
21718 cat >>conftest.$ac_ext <<_ACEOF
21719 /* end confdefs.h. */
21720 $ac_includes_default
21721 typedef long long ac__type_sizeof_;
21722 int
21723 main ()
21724 {
21725 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21726 test_array [0] = 0
21727
21728 ;
21729 return 0;
21730 }
21731 _ACEOF
21732 rm -f conftest.$ac_objext
21733 if { (ac_try="$ac_compile"
21734 case "(($ac_try" in
21735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21736 *) ac_try_echo=$ac_try;;
21737 esac
21738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21739 (eval "$ac_compile") 2>conftest.er1
21740 ac_status=$?
21741 grep -v '^ *+' conftest.er1 >conftest.err
21742 rm -f conftest.er1
21743 cat conftest.err >&5
21744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21745 (exit $ac_status); } && {
21746 test -z "$ac_c_werror_flag" ||
21747 test ! -s conftest.err
21748 } && test -s conftest.$ac_objext; then
21749 ac_hi=-1 ac_mid=-1
21750 while :; do
21751 cat >conftest.$ac_ext <<_ACEOF
21752 /* confdefs.h. */
21753 _ACEOF
21754 cat confdefs.h >>conftest.$ac_ext
21755 cat >>conftest.$ac_ext <<_ACEOF
21756 /* end confdefs.h. */
21757 $ac_includes_default
21758 typedef long long ac__type_sizeof_;
21759 int
21760 main ()
21761 {
21762 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21763 test_array [0] = 0
21764
21765 ;
21766 return 0;
21767 }
21768 _ACEOF
21769 rm -f conftest.$ac_objext
21770 if { (ac_try="$ac_compile"
21771 case "(($ac_try" in
21772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21773 *) ac_try_echo=$ac_try;;
21774 esac
21775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21776 (eval "$ac_compile") 2>conftest.er1
21777 ac_status=$?
21778 grep -v '^ *+' conftest.er1 >conftest.err
21779 rm -f conftest.er1
21780 cat conftest.err >&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); } && {
21783 test -z "$ac_c_werror_flag" ||
21784 test ! -s conftest.err
21785 } && test -s conftest.$ac_objext; then
21786 ac_lo=$ac_mid; break
21787 else
21788 echo "$as_me: failed program was:" >&5
21789 sed 's/^/| /' conftest.$ac_ext >&5
21790
21791 ac_hi=`expr '(' $ac_mid ')' - 1`
21792 if test $ac_mid -le $ac_hi; then
21793 ac_lo= ac_hi=
21794 break
21795 fi
21796 ac_mid=`expr 2 '*' $ac_mid`
21797 fi
21798
21799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21800 done
21801 else
21802 echo "$as_me: failed program was:" >&5
21803 sed 's/^/| /' conftest.$ac_ext >&5
21804
21805 ac_lo= ac_hi=
21806 fi
21807
21808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809 fi
21810
21811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21812 # Binary search between lo and hi bounds.
21813 while test "x$ac_lo" != "x$ac_hi"; do
21814 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21815 cat >conftest.$ac_ext <<_ACEOF
21816 /* confdefs.h. */
21817 _ACEOF
21818 cat confdefs.h >>conftest.$ac_ext
21819 cat >>conftest.$ac_ext <<_ACEOF
21820 /* end confdefs.h. */
21821 $ac_includes_default
21822 typedef long long ac__type_sizeof_;
21823 int
21824 main ()
21825 {
21826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21827 test_array [0] = 0
21828
21829 ;
21830 return 0;
21831 }
21832 _ACEOF
21833 rm -f conftest.$ac_objext
21834 if { (ac_try="$ac_compile"
21835 case "(($ac_try" in
21836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21837 *) ac_try_echo=$ac_try;;
21838 esac
21839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21840 (eval "$ac_compile") 2>conftest.er1
21841 ac_status=$?
21842 grep -v '^ *+' conftest.er1 >conftest.err
21843 rm -f conftest.er1
21844 cat conftest.err >&5
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); } && {
21847 test -z "$ac_c_werror_flag" ||
21848 test ! -s conftest.err
21849 } && test -s conftest.$ac_objext; then
21850 ac_hi=$ac_mid
21851 else
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5
21854
21855 ac_lo=`expr '(' $ac_mid ')' + 1`
21856 fi
21857
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 done
21860 case $ac_lo in
21861 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21862 '') if test "$ac_cv_type_long_long" = yes; then
21863 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21864 See \`config.log' for more details." >&5
21865 echo "$as_me: error: cannot compute sizeof (long long)
21866 See \`config.log' for more details." >&2;}
21867 { (exit 77); exit 77; }; }
21868 else
21869 ac_cv_sizeof_long_long=0
21870 fi ;;
21871 esac
21872 else
21873 cat >conftest.$ac_ext <<_ACEOF
21874 /* confdefs.h. */
21875 _ACEOF
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879 $ac_includes_default
21880 typedef long long ac__type_sizeof_;
21881 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21882 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21883 #include <stdio.h>
21884 #include <stdlib.h>
21885 int
21886 main ()
21887 {
21888
21889 FILE *f = fopen ("conftest.val", "w");
21890 if (! f)
21891 return 1;
21892 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21893 {
21894 long int i = longval ();
21895 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21896 return 1;
21897 fprintf (f, "%ld\n", i);
21898 }
21899 else
21900 {
21901 unsigned long int i = ulongval ();
21902 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21903 return 1;
21904 fprintf (f, "%lu\n", i);
21905 }
21906 return ferror (f) || fclose (f) != 0;
21907
21908 ;
21909 return 0;
21910 }
21911 _ACEOF
21912 rm -f conftest$ac_exeext
21913 if { (ac_try="$ac_link"
21914 case "(($ac_try" in
21915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21916 *) ac_try_echo=$ac_try;;
21917 esac
21918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21919 (eval "$ac_link") 2>&5
21920 ac_status=$?
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21923 { (case "(($ac_try" in
21924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21925 *) ac_try_echo=$ac_try;;
21926 esac
21927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21928 (eval "$ac_try") 2>&5
21929 ac_status=$?
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); }; }; then
21932 ac_cv_sizeof_long_long=`cat conftest.val`
21933 else
21934 echo "$as_me: program exited with status $ac_status" >&5
21935 echo "$as_me: failed program was:" >&5
21936 sed 's/^/| /' conftest.$ac_ext >&5
21937
21938 ( exit $ac_status )
21939 if test "$ac_cv_type_long_long" = yes; then
21940 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21941 See \`config.log' for more details." >&5
21942 echo "$as_me: error: cannot compute sizeof (long long)
21943 See \`config.log' for more details." >&2;}
21944 { (exit 77); exit 77; }; }
21945 else
21946 ac_cv_sizeof_long_long=0
21947 fi
21948 fi
21949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21950 fi
21951 rm -f conftest.val
21952 fi
21953 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21954 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21955
21956
21957
21958 cat >>confdefs.h <<_ACEOF
21959 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21960 _ACEOF
21961
21962
21963 ;;
21964 *-hp-hpux* )
21965 { echo "$as_me:$LINENO: checking for long long" >&5
21966 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21967 if test "${ac_cv_type_long_long+set}" = set; then
21968 echo $ECHO_N "(cached) $ECHO_C" >&6
21969 else
21970 cat >conftest.$ac_ext <<_ACEOF
21971 /* confdefs.h. */
21972 _ACEOF
21973 cat confdefs.h >>conftest.$ac_ext
21974 cat >>conftest.$ac_ext <<_ACEOF
21975 /* end confdefs.h. */
21976 $ac_includes_default
21977 typedef long long ac__type_new_;
21978 int
21979 main ()
21980 {
21981 if ((ac__type_new_ *) 0)
21982 return 0;
21983 if (sizeof (ac__type_new_))
21984 return 0;
21985 ;
21986 return 0;
21987 }
21988 _ACEOF
21989 rm -f conftest.$ac_objext
21990 if { (ac_try="$ac_compile"
21991 case "(($ac_try" in
21992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21993 *) ac_try_echo=$ac_try;;
21994 esac
21995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21996 (eval "$ac_compile") 2>conftest.er1
21997 ac_status=$?
21998 grep -v '^ *+' conftest.er1 >conftest.err
21999 rm -f conftest.er1
22000 cat conftest.err >&5
22001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22002 (exit $ac_status); } && {
22003 test -z "$ac_c_werror_flag" ||
22004 test ! -s conftest.err
22005 } && test -s conftest.$ac_objext; then
22006 ac_cv_type_long_long=yes
22007 else
22008 echo "$as_me: failed program was:" >&5
22009 sed 's/^/| /' conftest.$ac_ext >&5
22010
22011 ac_cv_type_long_long=no
22012 fi
22013
22014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22015 fi
22016 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22017 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22018
22019 # The cast to long int works around a bug in the HP C Compiler
22020 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22021 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22022 # This bug is HP SR number 8606223364.
22023 { echo "$as_me:$LINENO: checking size of long long" >&5
22024 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22025 if test "${ac_cv_sizeof_long_long+set}" = set; then
22026 echo $ECHO_N "(cached) $ECHO_C" >&6
22027 else
22028 if test "$cross_compiling" = yes; then
22029 # Depending upon the size, compute the lo and hi bounds.
22030 cat >conftest.$ac_ext <<_ACEOF
22031 /* confdefs.h. */
22032 _ACEOF
22033 cat confdefs.h >>conftest.$ac_ext
22034 cat >>conftest.$ac_ext <<_ACEOF
22035 /* end confdefs.h. */
22036 $ac_includes_default
22037 typedef long long ac__type_sizeof_;
22038 int
22039 main ()
22040 {
22041 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22042 test_array [0] = 0
22043
22044 ;
22045 return 0;
22046 }
22047 _ACEOF
22048 rm -f conftest.$ac_objext
22049 if { (ac_try="$ac_compile"
22050 case "(($ac_try" in
22051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22052 *) ac_try_echo=$ac_try;;
22053 esac
22054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22055 (eval "$ac_compile") 2>conftest.er1
22056 ac_status=$?
22057 grep -v '^ *+' conftest.er1 >conftest.err
22058 rm -f conftest.er1
22059 cat conftest.err >&5
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); } && {
22062 test -z "$ac_c_werror_flag" ||
22063 test ! -s conftest.err
22064 } && test -s conftest.$ac_objext; then
22065 ac_lo=0 ac_mid=0
22066 while :; do
22067 cat >conftest.$ac_ext <<_ACEOF
22068 /* confdefs.h. */
22069 _ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073 $ac_includes_default
22074 typedef long long ac__type_sizeof_;
22075 int
22076 main ()
22077 {
22078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22079 test_array [0] = 0
22080
22081 ;
22082 return 0;
22083 }
22084 _ACEOF
22085 rm -f conftest.$ac_objext
22086 if { (ac_try="$ac_compile"
22087 case "(($ac_try" in
22088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22089 *) ac_try_echo=$ac_try;;
22090 esac
22091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22092 (eval "$ac_compile") 2>conftest.er1
22093 ac_status=$?
22094 grep -v '^ *+' conftest.er1 >conftest.err
22095 rm -f conftest.er1
22096 cat conftest.err >&5
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); } && {
22099 test -z "$ac_c_werror_flag" ||
22100 test ! -s conftest.err
22101 } && test -s conftest.$ac_objext; then
22102 ac_hi=$ac_mid; break
22103 else
22104 echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.$ac_ext >&5
22106
22107 ac_lo=`expr $ac_mid + 1`
22108 if test $ac_lo -le $ac_mid; then
22109 ac_lo= ac_hi=
22110 break
22111 fi
22112 ac_mid=`expr 2 '*' $ac_mid + 1`
22113 fi
22114
22115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22116 done
22117 else
22118 echo "$as_me: failed program was:" >&5
22119 sed 's/^/| /' conftest.$ac_ext >&5
22120
22121 cat >conftest.$ac_ext <<_ACEOF
22122 /* confdefs.h. */
22123 _ACEOF
22124 cat confdefs.h >>conftest.$ac_ext
22125 cat >>conftest.$ac_ext <<_ACEOF
22126 /* end confdefs.h. */
22127 $ac_includes_default
22128 typedef long long ac__type_sizeof_;
22129 int
22130 main ()
22131 {
22132 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22133 test_array [0] = 0
22134
22135 ;
22136 return 0;
22137 }
22138 _ACEOF
22139 rm -f conftest.$ac_objext
22140 if { (ac_try="$ac_compile"
22141 case "(($ac_try" in
22142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22143 *) ac_try_echo=$ac_try;;
22144 esac
22145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22146 (eval "$ac_compile") 2>conftest.er1
22147 ac_status=$?
22148 grep -v '^ *+' conftest.er1 >conftest.err
22149 rm -f conftest.er1
22150 cat conftest.err >&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); } && {
22153 test -z "$ac_c_werror_flag" ||
22154 test ! -s conftest.err
22155 } && test -s conftest.$ac_objext; then
22156 ac_hi=-1 ac_mid=-1
22157 while :; do
22158 cat >conftest.$ac_ext <<_ACEOF
22159 /* confdefs.h. */
22160 _ACEOF
22161 cat confdefs.h >>conftest.$ac_ext
22162 cat >>conftest.$ac_ext <<_ACEOF
22163 /* end confdefs.h. */
22164 $ac_includes_default
22165 typedef long long ac__type_sizeof_;
22166 int
22167 main ()
22168 {
22169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22170 test_array [0] = 0
22171
22172 ;
22173 return 0;
22174 }
22175 _ACEOF
22176 rm -f conftest.$ac_objext
22177 if { (ac_try="$ac_compile"
22178 case "(($ac_try" in
22179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22180 *) ac_try_echo=$ac_try;;
22181 esac
22182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22183 (eval "$ac_compile") 2>conftest.er1
22184 ac_status=$?
22185 grep -v '^ *+' conftest.er1 >conftest.err
22186 rm -f conftest.er1
22187 cat conftest.err >&5
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); } && {
22190 test -z "$ac_c_werror_flag" ||
22191 test ! -s conftest.err
22192 } && test -s conftest.$ac_objext; then
22193 ac_lo=$ac_mid; break
22194 else
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22197
22198 ac_hi=`expr '(' $ac_mid ')' - 1`
22199 if test $ac_mid -le $ac_hi; then
22200 ac_lo= ac_hi=
22201 break
22202 fi
22203 ac_mid=`expr 2 '*' $ac_mid`
22204 fi
22205
22206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22207 done
22208 else
22209 echo "$as_me: failed program was:" >&5
22210 sed 's/^/| /' conftest.$ac_ext >&5
22211
22212 ac_lo= ac_hi=
22213 fi
22214
22215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22216 fi
22217
22218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22219 # Binary search between lo and hi bounds.
22220 while test "x$ac_lo" != "x$ac_hi"; do
22221 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22222 cat >conftest.$ac_ext <<_ACEOF
22223 /* confdefs.h. */
22224 _ACEOF
22225 cat confdefs.h >>conftest.$ac_ext
22226 cat >>conftest.$ac_ext <<_ACEOF
22227 /* end confdefs.h. */
22228 $ac_includes_default
22229 typedef long long ac__type_sizeof_;
22230 int
22231 main ()
22232 {
22233 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22234 test_array [0] = 0
22235
22236 ;
22237 return 0;
22238 }
22239 _ACEOF
22240 rm -f conftest.$ac_objext
22241 if { (ac_try="$ac_compile"
22242 case "(($ac_try" in
22243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22244 *) ac_try_echo=$ac_try;;
22245 esac
22246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22247 (eval "$ac_compile") 2>conftest.er1
22248 ac_status=$?
22249 grep -v '^ *+' conftest.er1 >conftest.err
22250 rm -f conftest.er1
22251 cat conftest.err >&5
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); } && {
22254 test -z "$ac_c_werror_flag" ||
22255 test ! -s conftest.err
22256 } && test -s conftest.$ac_objext; then
22257 ac_hi=$ac_mid
22258 else
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.$ac_ext >&5
22261
22262 ac_lo=`expr '(' $ac_mid ')' + 1`
22263 fi
22264
22265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22266 done
22267 case $ac_lo in
22268 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22269 '') if test "$ac_cv_type_long_long" = yes; then
22270 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22271 See \`config.log' for more details." >&5
22272 echo "$as_me: error: cannot compute sizeof (long long)
22273 See \`config.log' for more details." >&2;}
22274 { (exit 77); exit 77; }; }
22275 else
22276 ac_cv_sizeof_long_long=0
22277 fi ;;
22278 esac
22279 else
22280 cat >conftest.$ac_ext <<_ACEOF
22281 /* confdefs.h. */
22282 _ACEOF
22283 cat confdefs.h >>conftest.$ac_ext
22284 cat >>conftest.$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22286 $ac_includes_default
22287 typedef long long ac__type_sizeof_;
22288 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22289 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22290 #include <stdio.h>
22291 #include <stdlib.h>
22292 int
22293 main ()
22294 {
22295
22296 FILE *f = fopen ("conftest.val", "w");
22297 if (! f)
22298 return 1;
22299 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22300 {
22301 long int i = longval ();
22302 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22303 return 1;
22304 fprintf (f, "%ld\n", i);
22305 }
22306 else
22307 {
22308 unsigned long int i = ulongval ();
22309 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22310 return 1;
22311 fprintf (f, "%lu\n", i);
22312 }
22313 return ferror (f) || fclose (f) != 0;
22314
22315 ;
22316 return 0;
22317 }
22318 _ACEOF
22319 rm -f conftest$ac_exeext
22320 if { (ac_try="$ac_link"
22321 case "(($ac_try" in
22322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22323 *) ac_try_echo=$ac_try;;
22324 esac
22325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22326 (eval "$ac_link") 2>&5
22327 ac_status=$?
22328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22330 { (case "(($ac_try" in
22331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22332 *) ac_try_echo=$ac_try;;
22333 esac
22334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22335 (eval "$ac_try") 2>&5
22336 ac_status=$?
22337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22338 (exit $ac_status); }; }; then
22339 ac_cv_sizeof_long_long=`cat conftest.val`
22340 else
22341 echo "$as_me: program exited with status $ac_status" >&5
22342 echo "$as_me: failed program was:" >&5
22343 sed 's/^/| /' conftest.$ac_ext >&5
22344
22345 ( exit $ac_status )
22346 if test "$ac_cv_type_long_long" = yes; then
22347 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22348 See \`config.log' for more details." >&5
22349 echo "$as_me: error: cannot compute sizeof (long long)
22350 See \`config.log' for more details." >&2;}
22351 { (exit 77); exit 77; }; }
22352 else
22353 ac_cv_sizeof_long_long=0
22354 fi
22355 fi
22356 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22357 fi
22358 rm -f conftest.val
22359 fi
22360 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22361 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22362
22363
22364
22365 cat >>confdefs.h <<_ACEOF
22366 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22367 _ACEOF
22368
22369
22370 if test "$ac_cv_sizeof_long_long" != 0; then
22371 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22372 fi
22373 ;;
22374 * )
22375 { echo "$as_me:$LINENO: checking for long long" >&5
22376 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22377 if test "${ac_cv_type_long_long+set}" = set; then
22378 echo $ECHO_N "(cached) $ECHO_C" >&6
22379 else
22380 cat >conftest.$ac_ext <<_ACEOF
22381 /* confdefs.h. */
22382 _ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 $ac_includes_default
22387 typedef long long ac__type_new_;
22388 int
22389 main ()
22390 {
22391 if ((ac__type_new_ *) 0)
22392 return 0;
22393 if (sizeof (ac__type_new_))
22394 return 0;
22395 ;
22396 return 0;
22397 }
22398 _ACEOF
22399 rm -f conftest.$ac_objext
22400 if { (ac_try="$ac_compile"
22401 case "(($ac_try" in
22402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22403 *) ac_try_echo=$ac_try;;
22404 esac
22405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22406 (eval "$ac_compile") 2>conftest.er1
22407 ac_status=$?
22408 grep -v '^ *+' conftest.er1 >conftest.err
22409 rm -f conftest.er1
22410 cat conftest.err >&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } && {
22413 test -z "$ac_c_werror_flag" ||
22414 test ! -s conftest.err
22415 } && test -s conftest.$ac_objext; then
22416 ac_cv_type_long_long=yes
22417 else
22418 echo "$as_me: failed program was:" >&5
22419 sed 's/^/| /' conftest.$ac_ext >&5
22420
22421 ac_cv_type_long_long=no
22422 fi
22423
22424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22425 fi
22426 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22427 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22428
22429 # The cast to long int works around a bug in the HP C Compiler
22430 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22431 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22432 # This bug is HP SR number 8606223364.
22433 { echo "$as_me:$LINENO: checking size of long long" >&5
22434 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22435 if test "${ac_cv_sizeof_long_long+set}" = set; then
22436 echo $ECHO_N "(cached) $ECHO_C" >&6
22437 else
22438 if test "$cross_compiling" = yes; then
22439 # Depending upon the size, compute the lo and hi bounds.
22440 cat >conftest.$ac_ext <<_ACEOF
22441 /* confdefs.h. */
22442 _ACEOF
22443 cat confdefs.h >>conftest.$ac_ext
22444 cat >>conftest.$ac_ext <<_ACEOF
22445 /* end confdefs.h. */
22446 $ac_includes_default
22447 typedef long long ac__type_sizeof_;
22448 int
22449 main ()
22450 {
22451 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22452 test_array [0] = 0
22453
22454 ;
22455 return 0;
22456 }
22457 _ACEOF
22458 rm -f conftest.$ac_objext
22459 if { (ac_try="$ac_compile"
22460 case "(($ac_try" in
22461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22462 *) ac_try_echo=$ac_try;;
22463 esac
22464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22465 (eval "$ac_compile") 2>conftest.er1
22466 ac_status=$?
22467 grep -v '^ *+' conftest.er1 >conftest.err
22468 rm -f conftest.er1
22469 cat conftest.err >&5
22470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22471 (exit $ac_status); } && {
22472 test -z "$ac_c_werror_flag" ||
22473 test ! -s conftest.err
22474 } && test -s conftest.$ac_objext; then
22475 ac_lo=0 ac_mid=0
22476 while :; do
22477 cat >conftest.$ac_ext <<_ACEOF
22478 /* confdefs.h. */
22479 _ACEOF
22480 cat confdefs.h >>conftest.$ac_ext
22481 cat >>conftest.$ac_ext <<_ACEOF
22482 /* end confdefs.h. */
22483 $ac_includes_default
22484 typedef long long ac__type_sizeof_;
22485 int
22486 main ()
22487 {
22488 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22489 test_array [0] = 0
22490
22491 ;
22492 return 0;
22493 }
22494 _ACEOF
22495 rm -f conftest.$ac_objext
22496 if { (ac_try="$ac_compile"
22497 case "(($ac_try" in
22498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22499 *) ac_try_echo=$ac_try;;
22500 esac
22501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22502 (eval "$ac_compile") 2>conftest.er1
22503 ac_status=$?
22504 grep -v '^ *+' conftest.er1 >conftest.err
22505 rm -f conftest.er1
22506 cat conftest.err >&5
22507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22508 (exit $ac_status); } && {
22509 test -z "$ac_c_werror_flag" ||
22510 test ! -s conftest.err
22511 } && test -s conftest.$ac_objext; then
22512 ac_hi=$ac_mid; break
22513 else
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22516
22517 ac_lo=`expr $ac_mid + 1`
22518 if test $ac_lo -le $ac_mid; then
22519 ac_lo= ac_hi=
22520 break
22521 fi
22522 ac_mid=`expr 2 '*' $ac_mid + 1`
22523 fi
22524
22525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22526 done
22527 else
22528 echo "$as_me: failed program was:" >&5
22529 sed 's/^/| /' conftest.$ac_ext >&5
22530
22531 cat >conftest.$ac_ext <<_ACEOF
22532 /* confdefs.h. */
22533 _ACEOF
22534 cat confdefs.h >>conftest.$ac_ext
22535 cat >>conftest.$ac_ext <<_ACEOF
22536 /* end confdefs.h. */
22537 $ac_includes_default
22538 typedef long long ac__type_sizeof_;
22539 int
22540 main ()
22541 {
22542 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22543 test_array [0] = 0
22544
22545 ;
22546 return 0;
22547 }
22548 _ACEOF
22549 rm -f conftest.$ac_objext
22550 if { (ac_try="$ac_compile"
22551 case "(($ac_try" in
22552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22553 *) ac_try_echo=$ac_try;;
22554 esac
22555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22556 (eval "$ac_compile") 2>conftest.er1
22557 ac_status=$?
22558 grep -v '^ *+' conftest.er1 >conftest.err
22559 rm -f conftest.er1
22560 cat conftest.err >&5
22561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22562 (exit $ac_status); } && {
22563 test -z "$ac_c_werror_flag" ||
22564 test ! -s conftest.err
22565 } && test -s conftest.$ac_objext; then
22566 ac_hi=-1 ac_mid=-1
22567 while :; do
22568 cat >conftest.$ac_ext <<_ACEOF
22569 /* confdefs.h. */
22570 _ACEOF
22571 cat confdefs.h >>conftest.$ac_ext
22572 cat >>conftest.$ac_ext <<_ACEOF
22573 /* end confdefs.h. */
22574 $ac_includes_default
22575 typedef long long ac__type_sizeof_;
22576 int
22577 main ()
22578 {
22579 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22580 test_array [0] = 0
22581
22582 ;
22583 return 0;
22584 }
22585 _ACEOF
22586 rm -f conftest.$ac_objext
22587 if { (ac_try="$ac_compile"
22588 case "(($ac_try" in
22589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22590 *) ac_try_echo=$ac_try;;
22591 esac
22592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22593 (eval "$ac_compile") 2>conftest.er1
22594 ac_status=$?
22595 grep -v '^ *+' conftest.er1 >conftest.err
22596 rm -f conftest.er1
22597 cat conftest.err >&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); } && {
22600 test -z "$ac_c_werror_flag" ||
22601 test ! -s conftest.err
22602 } && test -s conftest.$ac_objext; then
22603 ac_lo=$ac_mid; break
22604 else
22605 echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22607
22608 ac_hi=`expr '(' $ac_mid ')' - 1`
22609 if test $ac_mid -le $ac_hi; then
22610 ac_lo= ac_hi=
22611 break
22612 fi
22613 ac_mid=`expr 2 '*' $ac_mid`
22614 fi
22615
22616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22617 done
22618 else
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.$ac_ext >&5
22621
22622 ac_lo= ac_hi=
22623 fi
22624
22625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22626 fi
22627
22628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22629 # Binary search between lo and hi bounds.
22630 while test "x$ac_lo" != "x$ac_hi"; do
22631 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22632 cat >conftest.$ac_ext <<_ACEOF
22633 /* confdefs.h. */
22634 _ACEOF
22635 cat confdefs.h >>conftest.$ac_ext
22636 cat >>conftest.$ac_ext <<_ACEOF
22637 /* end confdefs.h. */
22638 $ac_includes_default
22639 typedef long long ac__type_sizeof_;
22640 int
22641 main ()
22642 {
22643 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22644 test_array [0] = 0
22645
22646 ;
22647 return 0;
22648 }
22649 _ACEOF
22650 rm -f conftest.$ac_objext
22651 if { (ac_try="$ac_compile"
22652 case "(($ac_try" in
22653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22654 *) ac_try_echo=$ac_try;;
22655 esac
22656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22657 (eval "$ac_compile") 2>conftest.er1
22658 ac_status=$?
22659 grep -v '^ *+' conftest.er1 >conftest.err
22660 rm -f conftest.er1
22661 cat conftest.err >&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } && {
22664 test -z "$ac_c_werror_flag" ||
22665 test ! -s conftest.err
22666 } && test -s conftest.$ac_objext; then
22667 ac_hi=$ac_mid
22668 else
22669 echo "$as_me: failed program was:" >&5
22670 sed 's/^/| /' conftest.$ac_ext >&5
22671
22672 ac_lo=`expr '(' $ac_mid ')' + 1`
22673 fi
22674
22675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 done
22677 case $ac_lo in
22678 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22679 '') if test "$ac_cv_type_long_long" = yes; then
22680 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22681 See \`config.log' for more details." >&5
22682 echo "$as_me: error: cannot compute sizeof (long long)
22683 See \`config.log' for more details." >&2;}
22684 { (exit 77); exit 77; }; }
22685 else
22686 ac_cv_sizeof_long_long=0
22687 fi ;;
22688 esac
22689 else
22690 cat >conftest.$ac_ext <<_ACEOF
22691 /* confdefs.h. */
22692 _ACEOF
22693 cat confdefs.h >>conftest.$ac_ext
22694 cat >>conftest.$ac_ext <<_ACEOF
22695 /* end confdefs.h. */
22696 $ac_includes_default
22697 typedef long long ac__type_sizeof_;
22698 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22699 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22700 #include <stdio.h>
22701 #include <stdlib.h>
22702 int
22703 main ()
22704 {
22705
22706 FILE *f = fopen ("conftest.val", "w");
22707 if (! f)
22708 return 1;
22709 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22710 {
22711 long int i = longval ();
22712 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22713 return 1;
22714 fprintf (f, "%ld\n", i);
22715 }
22716 else
22717 {
22718 unsigned long int i = ulongval ();
22719 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22720 return 1;
22721 fprintf (f, "%lu\n", i);
22722 }
22723 return ferror (f) || fclose (f) != 0;
22724
22725 ;
22726 return 0;
22727 }
22728 _ACEOF
22729 rm -f conftest$ac_exeext
22730 if { (ac_try="$ac_link"
22731 case "(($ac_try" in
22732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22733 *) ac_try_echo=$ac_try;;
22734 esac
22735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22736 (eval "$ac_link") 2>&5
22737 ac_status=$?
22738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22740 { (case "(($ac_try" in
22741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22742 *) ac_try_echo=$ac_try;;
22743 esac
22744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22745 (eval "$ac_try") 2>&5
22746 ac_status=$?
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); }; }; then
22749 ac_cv_sizeof_long_long=`cat conftest.val`
22750 else
22751 echo "$as_me: program exited with status $ac_status" >&5
22752 echo "$as_me: failed program was:" >&5
22753 sed 's/^/| /' conftest.$ac_ext >&5
22754
22755 ( exit $ac_status )
22756 if test "$ac_cv_type_long_long" = yes; then
22757 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22758 See \`config.log' for more details." >&5
22759 echo "$as_me: error: cannot compute sizeof (long long)
22760 See \`config.log' for more details." >&2;}
22761 { (exit 77); exit 77; }; }
22762 else
22763 ac_cv_sizeof_long_long=0
22764 fi
22765 fi
22766 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22767 fi
22768 rm -f conftest.val
22769 fi
22770 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22771 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22772
22773
22774
22775 cat >>confdefs.h <<_ACEOF
22776 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22777 _ACEOF
22778
22779
22780 esac
22781
22782 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22783 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22784 if test "${ac_cv_type_wchar_t+set}" = set; then
22785 echo $ECHO_N "(cached) $ECHO_C" >&6
22786 else
22787 cat >conftest.$ac_ext <<_ACEOF
22788 /* confdefs.h. */
22789 _ACEOF
22790 cat confdefs.h >>conftest.$ac_ext
22791 cat >>conftest.$ac_ext <<_ACEOF
22792 /* end confdefs.h. */
22793
22794 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22795 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22796 # error "fake wchar_t"
22797 #endif
22798 #ifdef HAVE_WCHAR_H
22799 # ifdef __CYGWIN__
22800 # include <stddef.h>
22801 # endif
22802 # include <wchar.h>
22803 #endif
22804 #ifdef HAVE_STDLIB_H
22805 # include <stdlib.h>
22806 #endif
22807 #include <stdio.h>
22808
22809
22810
22811 typedef wchar_t ac__type_new_;
22812 int
22813 main ()
22814 {
22815 if ((ac__type_new_ *) 0)
22816 return 0;
22817 if (sizeof (ac__type_new_))
22818 return 0;
22819 ;
22820 return 0;
22821 }
22822 _ACEOF
22823 rm -f conftest.$ac_objext
22824 if { (ac_try="$ac_compile"
22825 case "(($ac_try" in
22826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22827 *) ac_try_echo=$ac_try;;
22828 esac
22829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22830 (eval "$ac_compile") 2>conftest.er1
22831 ac_status=$?
22832 grep -v '^ *+' conftest.er1 >conftest.err
22833 rm -f conftest.er1
22834 cat conftest.err >&5
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); } && {
22837 test -z "$ac_c_werror_flag" ||
22838 test ! -s conftest.err
22839 } && test -s conftest.$ac_objext; then
22840 ac_cv_type_wchar_t=yes
22841 else
22842 echo "$as_me: failed program was:" >&5
22843 sed 's/^/| /' conftest.$ac_ext >&5
22844
22845 ac_cv_type_wchar_t=no
22846 fi
22847
22848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22849 fi
22850 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22851 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22852
22853 # The cast to long int works around a bug in the HP C Compiler
22854 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22855 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22856 # This bug is HP SR number 8606223364.
22857 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22858 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22859 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22860 echo $ECHO_N "(cached) $ECHO_C" >&6
22861 else
22862 if test "$cross_compiling" = yes; then
22863 # Depending upon the size, compute the lo and hi bounds.
22864 cat >conftest.$ac_ext <<_ACEOF
22865 /* confdefs.h. */
22866 _ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22870
22871 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22872 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22873 # error "fake wchar_t"
22874 #endif
22875 #ifdef HAVE_WCHAR_H
22876 # ifdef __CYGWIN__
22877 # include <stddef.h>
22878 # endif
22879 # include <wchar.h>
22880 #endif
22881 #ifdef HAVE_STDLIB_H
22882 # include <stdlib.h>
22883 #endif
22884 #include <stdio.h>
22885
22886
22887
22888 typedef wchar_t ac__type_sizeof_;
22889 int
22890 main ()
22891 {
22892 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22893 test_array [0] = 0
22894
22895 ;
22896 return 0;
22897 }
22898 _ACEOF
22899 rm -f conftest.$ac_objext
22900 if { (ac_try="$ac_compile"
22901 case "(($ac_try" in
22902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22903 *) ac_try_echo=$ac_try;;
22904 esac
22905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22906 (eval "$ac_compile") 2>conftest.er1
22907 ac_status=$?
22908 grep -v '^ *+' conftest.er1 >conftest.err
22909 rm -f conftest.er1
22910 cat conftest.err >&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } && {
22913 test -z "$ac_c_werror_flag" ||
22914 test ! -s conftest.err
22915 } && test -s conftest.$ac_objext; then
22916 ac_lo=0 ac_mid=0
22917 while :; do
22918 cat >conftest.$ac_ext <<_ACEOF
22919 /* confdefs.h. */
22920 _ACEOF
22921 cat confdefs.h >>conftest.$ac_ext
22922 cat >>conftest.$ac_ext <<_ACEOF
22923 /* end confdefs.h. */
22924
22925 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22926 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22927 # error "fake wchar_t"
22928 #endif
22929 #ifdef HAVE_WCHAR_H
22930 # ifdef __CYGWIN__
22931 # include <stddef.h>
22932 # endif
22933 # include <wchar.h>
22934 #endif
22935 #ifdef HAVE_STDLIB_H
22936 # include <stdlib.h>
22937 #endif
22938 #include <stdio.h>
22939
22940
22941
22942 typedef wchar_t ac__type_sizeof_;
22943 int
22944 main ()
22945 {
22946 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22947 test_array [0] = 0
22948
22949 ;
22950 return 0;
22951 }
22952 _ACEOF
22953 rm -f conftest.$ac_objext
22954 if { (ac_try="$ac_compile"
22955 case "(($ac_try" in
22956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22957 *) ac_try_echo=$ac_try;;
22958 esac
22959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22960 (eval "$ac_compile") 2>conftest.er1
22961 ac_status=$?
22962 grep -v '^ *+' conftest.er1 >conftest.err
22963 rm -f conftest.er1
22964 cat conftest.err >&5
22965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22966 (exit $ac_status); } && {
22967 test -z "$ac_c_werror_flag" ||
22968 test ! -s conftest.err
22969 } && test -s conftest.$ac_objext; then
22970 ac_hi=$ac_mid; break
22971 else
22972 echo "$as_me: failed program was:" >&5
22973 sed 's/^/| /' conftest.$ac_ext >&5
22974
22975 ac_lo=`expr $ac_mid + 1`
22976 if test $ac_lo -le $ac_mid; then
22977 ac_lo= ac_hi=
22978 break
22979 fi
22980 ac_mid=`expr 2 '*' $ac_mid + 1`
22981 fi
22982
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984 done
22985 else
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.$ac_ext >&5
22988
22989 cat >conftest.$ac_ext <<_ACEOF
22990 /* confdefs.h. */
22991 _ACEOF
22992 cat confdefs.h >>conftest.$ac_ext
22993 cat >>conftest.$ac_ext <<_ACEOF
22994 /* end confdefs.h. */
22995
22996 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22997 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22998 # error "fake wchar_t"
22999 #endif
23000 #ifdef HAVE_WCHAR_H
23001 # ifdef __CYGWIN__
23002 # include <stddef.h>
23003 # endif
23004 # include <wchar.h>
23005 #endif
23006 #ifdef HAVE_STDLIB_H
23007 # include <stdlib.h>
23008 #endif
23009 #include <stdio.h>
23010
23011
23012
23013 typedef wchar_t ac__type_sizeof_;
23014 int
23015 main ()
23016 {
23017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23018 test_array [0] = 0
23019
23020 ;
23021 return 0;
23022 }
23023 _ACEOF
23024 rm -f conftest.$ac_objext
23025 if { (ac_try="$ac_compile"
23026 case "(($ac_try" in
23027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23028 *) ac_try_echo=$ac_try;;
23029 esac
23030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23031 (eval "$ac_compile") 2>conftest.er1
23032 ac_status=$?
23033 grep -v '^ *+' conftest.er1 >conftest.err
23034 rm -f conftest.er1
23035 cat conftest.err >&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } && {
23038 test -z "$ac_c_werror_flag" ||
23039 test ! -s conftest.err
23040 } && test -s conftest.$ac_objext; then
23041 ac_hi=-1 ac_mid=-1
23042 while :; do
23043 cat >conftest.$ac_ext <<_ACEOF
23044 /* confdefs.h. */
23045 _ACEOF
23046 cat confdefs.h >>conftest.$ac_ext
23047 cat >>conftest.$ac_ext <<_ACEOF
23048 /* end confdefs.h. */
23049
23050 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23051 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23052 # error "fake wchar_t"
23053 #endif
23054 #ifdef HAVE_WCHAR_H
23055 # ifdef __CYGWIN__
23056 # include <stddef.h>
23057 # endif
23058 # include <wchar.h>
23059 #endif
23060 #ifdef HAVE_STDLIB_H
23061 # include <stdlib.h>
23062 #endif
23063 #include <stdio.h>
23064
23065
23066
23067 typedef wchar_t ac__type_sizeof_;
23068 int
23069 main ()
23070 {
23071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23072 test_array [0] = 0
23073
23074 ;
23075 return 0;
23076 }
23077 _ACEOF
23078 rm -f conftest.$ac_objext
23079 if { (ac_try="$ac_compile"
23080 case "(($ac_try" in
23081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23082 *) ac_try_echo=$ac_try;;
23083 esac
23084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23085 (eval "$ac_compile") 2>conftest.er1
23086 ac_status=$?
23087 grep -v '^ *+' conftest.er1 >conftest.err
23088 rm -f conftest.er1
23089 cat conftest.err >&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } && {
23092 test -z "$ac_c_werror_flag" ||
23093 test ! -s conftest.err
23094 } && test -s conftest.$ac_objext; then
23095 ac_lo=$ac_mid; break
23096 else
23097 echo "$as_me: failed program was:" >&5
23098 sed 's/^/| /' conftest.$ac_ext >&5
23099
23100 ac_hi=`expr '(' $ac_mid ')' - 1`
23101 if test $ac_mid -le $ac_hi; then
23102 ac_lo= ac_hi=
23103 break
23104 fi
23105 ac_mid=`expr 2 '*' $ac_mid`
23106 fi
23107
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 done
23110 else
23111 echo "$as_me: failed program was:" >&5
23112 sed 's/^/| /' conftest.$ac_ext >&5
23113
23114 ac_lo= ac_hi=
23115 fi
23116
23117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23118 fi
23119
23120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23121 # Binary search between lo and hi bounds.
23122 while test "x$ac_lo" != "x$ac_hi"; do
23123 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23124 cat >conftest.$ac_ext <<_ACEOF
23125 /* confdefs.h. */
23126 _ACEOF
23127 cat confdefs.h >>conftest.$ac_ext
23128 cat >>conftest.$ac_ext <<_ACEOF
23129 /* end confdefs.h. */
23130
23131 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23132 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23133 # error "fake wchar_t"
23134 #endif
23135 #ifdef HAVE_WCHAR_H
23136 # ifdef __CYGWIN__
23137 # include <stddef.h>
23138 # endif
23139 # include <wchar.h>
23140 #endif
23141 #ifdef HAVE_STDLIB_H
23142 # include <stdlib.h>
23143 #endif
23144 #include <stdio.h>
23145
23146
23147
23148 typedef wchar_t ac__type_sizeof_;
23149 int
23150 main ()
23151 {
23152 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23153 test_array [0] = 0
23154
23155 ;
23156 return 0;
23157 }
23158 _ACEOF
23159 rm -f conftest.$ac_objext
23160 if { (ac_try="$ac_compile"
23161 case "(($ac_try" in
23162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23163 *) ac_try_echo=$ac_try;;
23164 esac
23165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23166 (eval "$ac_compile") 2>conftest.er1
23167 ac_status=$?
23168 grep -v '^ *+' conftest.er1 >conftest.err
23169 rm -f conftest.er1
23170 cat conftest.err >&5
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); } && {
23173 test -z "$ac_c_werror_flag" ||
23174 test ! -s conftest.err
23175 } && test -s conftest.$ac_objext; then
23176 ac_hi=$ac_mid
23177 else
23178 echo "$as_me: failed program was:" >&5
23179 sed 's/^/| /' conftest.$ac_ext >&5
23180
23181 ac_lo=`expr '(' $ac_mid ')' + 1`
23182 fi
23183
23184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23185 done
23186 case $ac_lo in
23187 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23188 '') if test "$ac_cv_type_wchar_t" = yes; then
23189 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23190 See \`config.log' for more details." >&5
23191 echo "$as_me: error: cannot compute sizeof (wchar_t)
23192 See \`config.log' for more details." >&2;}
23193 { (exit 77); exit 77; }; }
23194 else
23195 ac_cv_sizeof_wchar_t=0
23196 fi ;;
23197 esac
23198 else
23199 cat >conftest.$ac_ext <<_ACEOF
23200 /* confdefs.h. */
23201 _ACEOF
23202 cat confdefs.h >>conftest.$ac_ext
23203 cat >>conftest.$ac_ext <<_ACEOF
23204 /* end confdefs.h. */
23205
23206 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23207 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23208 # error "fake wchar_t"
23209 #endif
23210 #ifdef HAVE_WCHAR_H
23211 # ifdef __CYGWIN__
23212 # include <stddef.h>
23213 # endif
23214 # include <wchar.h>
23215 #endif
23216 #ifdef HAVE_STDLIB_H
23217 # include <stdlib.h>
23218 #endif
23219 #include <stdio.h>
23220
23221
23222
23223 typedef wchar_t ac__type_sizeof_;
23224 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23225 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23226 #include <stdio.h>
23227 #include <stdlib.h>
23228 int
23229 main ()
23230 {
23231
23232 FILE *f = fopen ("conftest.val", "w");
23233 if (! f)
23234 return 1;
23235 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23236 {
23237 long int i = longval ();
23238 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23239 return 1;
23240 fprintf (f, "%ld\n", i);
23241 }
23242 else
23243 {
23244 unsigned long int i = ulongval ();
23245 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23246 return 1;
23247 fprintf (f, "%lu\n", i);
23248 }
23249 return ferror (f) || fclose (f) != 0;
23250
23251 ;
23252 return 0;
23253 }
23254 _ACEOF
23255 rm -f conftest$ac_exeext
23256 if { (ac_try="$ac_link"
23257 case "(($ac_try" in
23258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23259 *) ac_try_echo=$ac_try;;
23260 esac
23261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23262 (eval "$ac_link") 2>&5
23263 ac_status=$?
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23266 { (case "(($ac_try" in
23267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23268 *) ac_try_echo=$ac_try;;
23269 esac
23270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23271 (eval "$ac_try") 2>&5
23272 ac_status=$?
23273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23274 (exit $ac_status); }; }; then
23275 ac_cv_sizeof_wchar_t=`cat conftest.val`
23276 else
23277 echo "$as_me: program exited with status $ac_status" >&5
23278 echo "$as_me: failed program was:" >&5
23279 sed 's/^/| /' conftest.$ac_ext >&5
23280
23281 ( exit $ac_status )
23282 if test "$ac_cv_type_wchar_t" = yes; then
23283 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
23284 See \`config.log' for more details." >&5
23285 echo "$as_me: error: cannot compute sizeof (wchar_t)
23286 See \`config.log' for more details." >&2;}
23287 { (exit 77); exit 77; }; }
23288 else
23289 ac_cv_sizeof_wchar_t=0
23290 fi
23291 fi
23292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23293 fi
23294 rm -f conftest.val
23295 fi
23296 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23297 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
23298
23299
23300
23301 cat >>confdefs.h <<_ACEOF
23302 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23303 _ACEOF
23304
23305
23306 if test "$ac_cv_sizeof_wchar_t" != 0; then
23307 wxUSE_WCHAR_T=yes
23308 else
23309 wxUSE_WCHAR_T=no
23310 fi
23311
23312 { echo "$as_me:$LINENO: checking for va_copy" >&5
23313 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
23314 if test "${wx_cv_func_va_copy+set}" = set; then
23315 echo $ECHO_N "(cached) $ECHO_C" >&6
23316 else
23317
23318 ac_ext=cpp
23319 ac_cpp='$CXXCPP $CPPFLAGS'
23320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23323
23324 cat >conftest.$ac_ext <<_ACEOF
23325
23326 #include <stdarg.h>
23327 void foo(char *f, ...)
23328 {
23329 va_list ap1, ap2;
23330 va_start(ap1, f);
23331 va_copy(ap2, ap1);
23332 va_end(ap2);
23333 va_end(ap1);
23334 }
23335 int main()
23336 {
23337 foo("hi", 17);
23338 return 0;
23339 }
23340 _ACEOF
23341 rm -f conftest.$ac_objext conftest$ac_exeext
23342 if { (ac_try="$ac_link"
23343 case "(($ac_try" in
23344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23345 *) ac_try_echo=$ac_try;;
23346 esac
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_link") 2>conftest.er1
23349 ac_status=$?
23350 grep -v '^ *+' conftest.er1 >conftest.err
23351 rm -f conftest.er1
23352 cat conftest.err >&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } && {
23355 test -z "$ac_cxx_werror_flag" ||
23356 test ! -s conftest.err
23357 } && test -s conftest$ac_exeext &&
23358 $as_test_x conftest$ac_exeext; then
23359 wx_cv_func_va_copy=yes
23360 else
23361 echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.$ac_ext >&5
23363
23364 wx_cv_func_va_copy=no
23365
23366 fi
23367
23368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23369 conftest$ac_exeext conftest.$ac_ext
23370 ac_ext=c
23371 ac_cpp='$CPP $CPPFLAGS'
23372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23375
23376
23377
23378 fi
23379 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23380 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23381
23382 if test $wx_cv_func_va_copy = "yes"; then
23383 cat >>confdefs.h <<\_ACEOF
23384 #define HAVE_VA_COPY 1
23385 _ACEOF
23386
23387 else
23388 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23389 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23390 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23391 echo $ECHO_N "(cached) $ECHO_C" >&6
23392 else
23393
23394 if test "$cross_compiling" = yes; then
23395 wx_cv_type_va_list_lvalue=yes
23396
23397 else
23398 cat >conftest.$ac_ext <<_ACEOF
23399
23400 #include <stdarg.h>
23401 int foo(char *f, ...)
23402 {
23403 va_list ap1, ap2;
23404 va_start(ap1, f);
23405 ap2 = ap1;
23406 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23407 return 1;
23408 va_end(ap2);
23409 va_end(ap1);
23410 return 0;
23411 }
23412 int main()
23413 {
23414 return foo("hi", 17);
23415 }
23416 _ACEOF
23417 rm -f conftest$ac_exeext
23418 if { (ac_try="$ac_link"
23419 case "(($ac_try" in
23420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23421 *) ac_try_echo=$ac_try;;
23422 esac
23423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23424 (eval "$ac_link") 2>&5
23425 ac_status=$?
23426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23427 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23428 { (case "(($ac_try" in
23429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23430 *) ac_try_echo=$ac_try;;
23431 esac
23432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 (eval "$ac_try") 2>&5
23434 ac_status=$?
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); }; }; then
23437 wx_cv_type_va_list_lvalue=yes
23438 else
23439 echo "$as_me: program exited with status $ac_status" >&5
23440 echo "$as_me: failed program was:" >&5
23441 sed 's/^/| /' conftest.$ac_ext >&5
23442
23443 ( exit $ac_status )
23444 wx_cv_type_va_list_lvalue=no
23445 fi
23446 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23447 fi
23448
23449
23450
23451
23452 fi
23453 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23454 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23455
23456 if test $wx_cv_type_va_list_lvalue != "yes"; then
23457 cat >>confdefs.h <<\_ACEOF
23458 #define VA_LIST_IS_ARRAY 1
23459 _ACEOF
23460
23461 fi
23462 fi
23463
23464 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23465
23466 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23467 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23468 if test "${wx_cv_have_variadic_macros+set}" = set; then
23469 echo $ECHO_N "(cached) $ECHO_C" >&6
23470 else
23471
23472 ac_ext=cpp
23473 ac_cpp='$CXXCPP $CPPFLAGS'
23474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23477
23478 cat >conftest.$ac_ext <<_ACEOF
23479 /* confdefs.h. */
23480 _ACEOF
23481 cat confdefs.h >>conftest.$ac_ext
23482 cat >>conftest.$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484
23485 #include <stdio.h>
23486 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23487
23488 int
23489 main ()
23490 {
23491
23492 test("%s %d %p", "test", 1, 0);
23493
23494
23495 ;
23496 return 0;
23497 }
23498 _ACEOF
23499 rm -f conftest.$ac_objext
23500 if { (ac_try="$ac_compile"
23501 case "(($ac_try" in
23502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23503 *) ac_try_echo=$ac_try;;
23504 esac
23505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23506 (eval "$ac_compile") 2>conftest.er1
23507 ac_status=$?
23508 grep -v '^ *+' conftest.er1 >conftest.err
23509 rm -f conftest.er1
23510 cat conftest.err >&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); } && {
23513 test -z "$ac_cxx_werror_flag" ||
23514 test ! -s conftest.err
23515 } && test -s conftest.$ac_objext; then
23516 wx_cv_have_variadic_macros=yes
23517 else
23518 echo "$as_me: failed program was:" >&5
23519 sed 's/^/| /' conftest.$ac_ext >&5
23520
23521 wx_cv_have_variadic_macros=no
23522
23523 fi
23524
23525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23526 ac_ext=c
23527 ac_cpp='$CPP $CPPFLAGS'
23528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23531
23532
23533
23534 fi
23535 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23536 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23537
23538 if test $wx_cv_have_variadic_macros = "yes"; then
23539 cat >>confdefs.h <<\_ACEOF
23540 #define HAVE_VARIADIC_MACROS 1
23541 _ACEOF
23542
23543 fi
23544
23545 fi
23546
23547 LARGEFILE_CPPFLAGS=
23548 # Check whether --enable-largefile was given.
23549 if test "${enable_largefile+set}" = set; then
23550 enableval=$enable_largefile;
23551 fi
23552
23553 if test "$enable_largefile" != no; then
23554 wx_largefile=no
23555
23556 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23557 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23558 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23559 echo $ECHO_N "(cached) $ECHO_C" >&6
23560 else
23561
23562 cat >conftest.$ac_ext <<_ACEOF
23563 /* confdefs.h. */
23564 _ACEOF
23565 cat confdefs.h >>conftest.$ac_ext
23566 cat >>conftest.$ac_ext <<_ACEOF
23567 /* end confdefs.h. */
23568 #define _FILE_OFFSET_BITS 64
23569 #include <sys/types.h>
23570 int
23571 main ()
23572 {
23573 typedef struct {
23574 unsigned int field: sizeof(off_t) == 8;
23575 } wxlf;
23576
23577 ;
23578 return 0;
23579 }
23580 _ACEOF
23581 rm -f conftest.$ac_objext
23582 if { (ac_try="$ac_compile"
23583 case "(($ac_try" in
23584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23585 *) ac_try_echo=$ac_try;;
23586 esac
23587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23588 (eval "$ac_compile") 2>conftest.er1
23589 ac_status=$?
23590 grep -v '^ *+' conftest.er1 >conftest.err
23591 rm -f conftest.er1
23592 cat conftest.err >&5
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); } && {
23595 test -z "$ac_c_werror_flag" ||
23596 test ! -s conftest.err
23597 } && test -s conftest.$ac_objext; then
23598 ac_cv_sys_file_offset_bits=64
23599 else
23600 echo "$as_me: failed program was:" >&5
23601 sed 's/^/| /' conftest.$ac_ext >&5
23602
23603 ac_cv_sys_file_offset_bits=no
23604 fi
23605
23606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23607
23608
23609 fi
23610 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23611 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23612
23613 if test "$ac_cv_sys_file_offset_bits" != no; then
23614 wx_largefile=yes
23615 cat >>confdefs.h <<_ACEOF
23616 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23617 _ACEOF
23618
23619 fi
23620
23621 if test "x$wx_largefile" != "xyes"; then
23622
23623 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23624 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23625 if test "${ac_cv_sys_large_files+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 else
23628
23629 cat >conftest.$ac_ext <<_ACEOF
23630 /* confdefs.h. */
23631 _ACEOF
23632 cat confdefs.h >>conftest.$ac_ext
23633 cat >>conftest.$ac_ext <<_ACEOF
23634 /* end confdefs.h. */
23635 #define _LARGE_FILES 1
23636 #include <sys/types.h>
23637 int
23638 main ()
23639 {
23640 typedef struct {
23641 unsigned int field: sizeof(off_t) == 8;
23642 } wxlf;
23643
23644 ;
23645 return 0;
23646 }
23647 _ACEOF
23648 rm -f conftest.$ac_objext
23649 if { (ac_try="$ac_compile"
23650 case "(($ac_try" in
23651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23652 *) ac_try_echo=$ac_try;;
23653 esac
23654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23655 (eval "$ac_compile") 2>conftest.er1
23656 ac_status=$?
23657 grep -v '^ *+' conftest.er1 >conftest.err
23658 rm -f conftest.er1
23659 cat conftest.err >&5
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); } && {
23662 test -z "$ac_c_werror_flag" ||
23663 test ! -s conftest.err
23664 } && test -s conftest.$ac_objext; then
23665 ac_cv_sys_large_files=1
23666 else
23667 echo "$as_me: failed program was:" >&5
23668 sed 's/^/| /' conftest.$ac_ext >&5
23669
23670 ac_cv_sys_large_files=no
23671 fi
23672
23673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23674
23675
23676 fi
23677 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23678 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23679
23680 if test "$ac_cv_sys_large_files" != no; then
23681 wx_largefile=yes
23682 cat >>confdefs.h <<_ACEOF
23683 #define _LARGE_FILES $ac_cv_sys_large_files
23684 _ACEOF
23685
23686 fi
23687
23688 fi
23689
23690 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23691 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23692 if test "x$wx_largefile" = "xyes"; then
23693 cat >>confdefs.h <<\_ACEOF
23694 #define HAVE_LARGEFILE_SUPPORT 1
23695 _ACEOF
23696
23697 fi
23698 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23699 echo "${ECHO_T}$wx_largefile" >&6; }
23700 fi
23701
23702 if test "$ac_cv_sys_file_offset_bits" = "64"; then
23703 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
23704 elif test "$ac_cv_sys_large_files" = 1; then
23705 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
23706 fi
23707
23708 if test -n "$LARGEFILE_CPPFLAGS"; then
23709 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
23710
23711 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23712 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23713 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23714 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23715 echo $ECHO_N "(cached) $ECHO_C" >&6
23716 else
23717
23718 ac_ext=cpp
23719 ac_cpp='$CXXCPP $CPPFLAGS'
23720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23723
23724 cat >conftest.$ac_ext <<_ACEOF
23725 /* confdefs.h. */
23726 _ACEOF
23727 cat confdefs.h >>conftest.$ac_ext
23728 cat >>conftest.$ac_ext <<_ACEOF
23729 /* end confdefs.h. */
23730
23731 int
23732 main ()
23733 {
23734
23735 #ifndef __STDC_EXT__
23736 choke me
23737 #endif
23738
23739 ;
23740 return 0;
23741 }
23742 _ACEOF
23743 rm -f conftest.$ac_objext
23744 if { (ac_try="$ac_compile"
23745 case "(($ac_try" in
23746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23747 *) ac_try_echo=$ac_try;;
23748 esac
23749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23750 (eval "$ac_compile") 2>conftest.er1
23751 ac_status=$?
23752 grep -v '^ *+' conftest.er1 >conftest.err
23753 rm -f conftest.er1
23754 cat conftest.err >&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); } && {
23757 test -z "$ac_cxx_werror_flag" ||
23758 test ! -s conftest.err
23759 } && test -s conftest.$ac_objext; then
23760 wx_cv_STDC_EXT_required=no
23761 else
23762 echo "$as_me: failed program was:" >&5
23763 sed 's/^/| /' conftest.$ac_ext >&5
23764
23765 wx_cv_STDC_EXT_required=yes
23766
23767 fi
23768
23769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23770 ac_ext=c
23771 ac_cpp='$CPP $CPPFLAGS'
23772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23775
23776
23777
23778 fi
23779 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23780 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23781 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23782 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23783 fi
23784 fi
23785 fi
23786
23787 ac_ext=cpp
23788 ac_cpp='$CXXCPP $CPPFLAGS'
23789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23792
23793 old_CPPFLAGS="$CPPFLAGS"
23794 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
23795 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23796 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23797 if test "${ac_cv_sys_largefile_source+set}" = set; then
23798 echo $ECHO_N "(cached) $ECHO_C" >&6
23799 else
23800 while :; do
23801 cat >conftest.$ac_ext <<_ACEOF
23802 /* confdefs.h. */
23803 _ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807 #include <sys/types.h> /* for off_t */
23808 #include <stdio.h>
23809 int
23810 main ()
23811 {
23812 int (*fp) (FILE *, off_t, int) = fseeko;
23813 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23814 ;
23815 return 0;
23816 }
23817 _ACEOF
23818 rm -f conftest.$ac_objext conftest$ac_exeext
23819 if { (ac_try="$ac_link"
23820 case "(($ac_try" in
23821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23822 *) ac_try_echo=$ac_try;;
23823 esac
23824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23825 (eval "$ac_link") 2>conftest.er1
23826 ac_status=$?
23827 grep -v '^ *+' conftest.er1 >conftest.err
23828 rm -f conftest.er1
23829 cat conftest.err >&5
23830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831 (exit $ac_status); } && {
23832 test -z "$ac_cxx_werror_flag" ||
23833 test ! -s conftest.err
23834 } && test -s conftest$ac_exeext &&
23835 $as_test_x conftest$ac_exeext; then
23836 ac_cv_sys_largefile_source=no; break
23837 else
23838 echo "$as_me: failed program was:" >&5
23839 sed 's/^/| /' conftest.$ac_ext >&5
23840
23841
23842 fi
23843
23844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23845 conftest$ac_exeext conftest.$ac_ext
23846 cat >conftest.$ac_ext <<_ACEOF
23847 /* confdefs.h. */
23848 _ACEOF
23849 cat confdefs.h >>conftest.$ac_ext
23850 cat >>conftest.$ac_ext <<_ACEOF
23851 /* end confdefs.h. */
23852 #define _LARGEFILE_SOURCE 1
23853 #include <sys/types.h> /* for off_t */
23854 #include <stdio.h>
23855 int
23856 main ()
23857 {
23858 int (*fp) (FILE *, off_t, int) = fseeko;
23859 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23860 ;
23861 return 0;
23862 }
23863 _ACEOF
23864 rm -f conftest.$ac_objext conftest$ac_exeext
23865 if { (ac_try="$ac_link"
23866 case "(($ac_try" in
23867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23868 *) ac_try_echo=$ac_try;;
23869 esac
23870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23871 (eval "$ac_link") 2>conftest.er1
23872 ac_status=$?
23873 grep -v '^ *+' conftest.er1 >conftest.err
23874 rm -f conftest.er1
23875 cat conftest.err >&5
23876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); } && {
23878 test -z "$ac_cxx_werror_flag" ||
23879 test ! -s conftest.err
23880 } && test -s conftest$ac_exeext &&
23881 $as_test_x conftest$ac_exeext; then
23882 ac_cv_sys_largefile_source=1; break
23883 else
23884 echo "$as_me: failed program was:" >&5
23885 sed 's/^/| /' conftest.$ac_ext >&5
23886
23887
23888 fi
23889
23890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23891 conftest$ac_exeext conftest.$ac_ext
23892 ac_cv_sys_largefile_source=unknown
23893 break
23894 done
23895 fi
23896 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23897 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23898 case $ac_cv_sys_largefile_source in #(
23899 no | unknown) ;;
23900 *)
23901 cat >>confdefs.h <<_ACEOF
23902 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23903 _ACEOF
23904 ;;
23905 esac
23906 rm -f conftest*
23907
23908 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23909 # in glibc 2.1.3, but that breaks too many other things.
23910 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23911 if test $ac_cv_sys_largefile_source != unknown; then
23912
23913 cat >>confdefs.h <<\_ACEOF
23914 #define HAVE_FSEEKO 1
23915 _ACEOF
23916
23917 fi
23918
23919 CPPFLAGS="$old_CPPFLAGS"
23920 ac_ext=c
23921 ac_cpp='$CPP $CPPFLAGS'
23922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23925
23926 if test "$ac_cv_sys_largefile_source" != no; then
23927 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23928 fi
23929
23930 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23931 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23932 if test "${ac_cv_c_bigendian+set}" = set; then
23933 echo $ECHO_N "(cached) $ECHO_C" >&6
23934 else
23935 ac_cv_c_bigendian=unknown
23936 # See if sys/param.h defines the BYTE_ORDER macro.
23937 cat >conftest.$ac_ext <<_ACEOF
23938 /* confdefs.h. */
23939 _ACEOF
23940 cat confdefs.h >>conftest.$ac_ext
23941 cat >>conftest.$ac_ext <<_ACEOF
23942 /* end confdefs.h. */
23943 #include <sys/types.h>
23944 #include <sys/param.h>
23945 int
23946 main ()
23947 {
23948
23949 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23950 bogus endian macros
23951 #endif
23952 ;
23953 return 0;
23954 }
23955 _ACEOF
23956 rm -f conftest.$ac_objext
23957 if { (ac_try="$ac_compile"
23958 case "(($ac_try" in
23959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23960 *) ac_try_echo=$ac_try;;
23961 esac
23962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23963 (eval "$ac_compile") 2>conftest.er1
23964 ac_status=$?
23965 grep -v '^ *+' conftest.er1 >conftest.err
23966 rm -f conftest.er1
23967 cat conftest.err >&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); } && {
23970 test -z "$ac_c_werror_flag" ||
23971 test ! -s conftest.err
23972 } && test -s conftest.$ac_objext; then
23973 # It does; now see whether it defined to BIG_ENDIAN or not.
23974 cat >conftest.$ac_ext <<_ACEOF
23975 /* confdefs.h. */
23976 _ACEOF
23977 cat confdefs.h >>conftest.$ac_ext
23978 cat >>conftest.$ac_ext <<_ACEOF
23979 /* end confdefs.h. */
23980 #include <sys/types.h>
23981 #include <sys/param.h>
23982 int
23983 main ()
23984 {
23985
23986 #if BYTE_ORDER != BIG_ENDIAN
23987 not big endian
23988 #endif
23989 ;
23990 return 0;
23991 }
23992 _ACEOF
23993 rm -f conftest.$ac_objext
23994 if { (ac_try="$ac_compile"
23995 case "(($ac_try" in
23996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23997 *) ac_try_echo=$ac_try;;
23998 esac
23999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24000 (eval "$ac_compile") 2>conftest.er1
24001 ac_status=$?
24002 grep -v '^ *+' conftest.er1 >conftest.err
24003 rm -f conftest.er1
24004 cat conftest.err >&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); } && {
24007 test -z "$ac_c_werror_flag" ||
24008 test ! -s conftest.err
24009 } && test -s conftest.$ac_objext; then
24010 ac_cv_c_bigendian=yes
24011 else
24012 echo "$as_me: failed program was:" >&5
24013 sed 's/^/| /' conftest.$ac_ext >&5
24014
24015 ac_cv_c_bigendian=no
24016 fi
24017
24018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24019 else
24020 echo "$as_me: failed program was:" >&5
24021 sed 's/^/| /' conftest.$ac_ext >&5
24022
24023
24024 fi
24025
24026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24027 if test $ac_cv_c_bigendian = unknown; then
24028 if test "$cross_compiling" = yes; then
24029 ac_cv_c_bigendian=unknown
24030 else
24031 cat >conftest.$ac_ext <<_ACEOF
24032 /* confdefs.h. */
24033 _ACEOF
24034 cat confdefs.h >>conftest.$ac_ext
24035 cat >>conftest.$ac_ext <<_ACEOF
24036 /* end confdefs.h. */
24037 main () {
24038 /* Are we little or big endian? From Harbison&Steele. */
24039 union
24040 {
24041 long l;
24042 char c[sizeof (long)];
24043 } u;
24044 u.l = 1;
24045 exit (u.c[sizeof (long) - 1] == 1);
24046 }
24047 _ACEOF
24048 rm -f conftest$ac_exeext
24049 if { (ac_try="$ac_link"
24050 case "(($ac_try" in
24051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24052 *) ac_try_echo=$ac_try;;
24053 esac
24054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24055 (eval "$ac_link") 2>&5
24056 ac_status=$?
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24059 { (case "(($ac_try" in
24060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24061 *) ac_try_echo=$ac_try;;
24062 esac
24063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24064 (eval "$ac_try") 2>&5
24065 ac_status=$?
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); }; }; then
24068 ac_cv_c_bigendian=no
24069 else
24070 echo "$as_me: program exited with status $ac_status" >&5
24071 echo "$as_me: failed program was:" >&5
24072 sed 's/^/| /' conftest.$ac_ext >&5
24073
24074 ( exit $ac_status )
24075 ac_cv_c_bigendian=yes
24076 fi
24077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24078 fi
24079
24080
24081 fi
24082 fi
24083 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24084 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
24085 if test $ac_cv_c_bigendian = unknown; then
24086 { 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
24087 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;}
24088 fi
24089 if test $ac_cv_c_bigendian = yes; then
24090 cat >>confdefs.h <<\_ACEOF
24091 #define WORDS_BIGENDIAN 1
24092 _ACEOF
24093
24094 fi
24095
24096
24097
24098
24099 ac_ext=cpp
24100 ac_cpp='$CXXCPP $CPPFLAGS'
24101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24104
24105
24106
24107 for ac_header in iostream
24108 do
24109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
24111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24114 else
24115 cat >conftest.$ac_ext <<_ACEOF
24116 /* confdefs.h. */
24117 _ACEOF
24118 cat confdefs.h >>conftest.$ac_ext
24119 cat >>conftest.$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24121
24122
24123 #include <$ac_header>
24124 _ACEOF
24125 rm -f conftest.$ac_objext
24126 if { (ac_try="$ac_compile"
24127 case "(($ac_try" in
24128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24129 *) ac_try_echo=$ac_try;;
24130 esac
24131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24132 (eval "$ac_compile") 2>conftest.er1
24133 ac_status=$?
24134 grep -v '^ *+' conftest.er1 >conftest.err
24135 rm -f conftest.er1
24136 cat conftest.err >&5
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); } && {
24139 test -z "$ac_cxx_werror_flag" ||
24140 test ! -s conftest.err
24141 } && test -s conftest.$ac_objext; then
24142 eval "$as_ac_Header=yes"
24143 else
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.$ac_ext >&5
24146
24147 eval "$as_ac_Header=no"
24148 fi
24149
24150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24151 fi
24152 ac_res=`eval echo '${'$as_ac_Header'}'`
24153 { echo "$as_me:$LINENO: result: $ac_res" >&5
24154 echo "${ECHO_T}$ac_res" >&6; }
24155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24156 cat >>confdefs.h <<_ACEOF
24157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24158 _ACEOF
24159
24160 fi
24161
24162 done
24163
24164
24165 if test "$ac_cv_header_iostream" = "yes" ; then
24166 :
24167 else
24168 cat >>confdefs.h <<\_ACEOF
24169 #define wxUSE_IOSTREAMH 1
24170 _ACEOF
24171
24172 fi
24173
24174 ac_ext=c
24175 ac_cpp='$CPP $CPPFLAGS'
24176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24179
24180
24181
24182
24183 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24184 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
24185 if test "${wx_cv_explicit+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24187 else
24188
24189
24190 ac_ext=cpp
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24195
24196
24197 cat >conftest.$ac_ext <<_ACEOF
24198 /* confdefs.h. */
24199 _ACEOF
24200 cat confdefs.h >>conftest.$ac_ext
24201 cat >>conftest.$ac_ext <<_ACEOF
24202 /* end confdefs.h. */
24203
24204 class Foo { public: explicit Foo(int) {} };
24205
24206 int
24207 main ()
24208 {
24209
24210 return 0;
24211
24212 ;
24213 return 0;
24214 }
24215 _ACEOF
24216 rm -f conftest.$ac_objext
24217 if { (ac_try="$ac_compile"
24218 case "(($ac_try" in
24219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24220 *) ac_try_echo=$ac_try;;
24221 esac
24222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24223 (eval "$ac_compile") 2>conftest.er1
24224 ac_status=$?
24225 grep -v '^ *+' conftest.er1 >conftest.err
24226 rm -f conftest.er1
24227 cat conftest.err >&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); } && {
24230 test -z "$ac_cxx_werror_flag" ||
24231 test ! -s conftest.err
24232 } && test -s conftest.$ac_objext; then
24233
24234 cat >conftest.$ac_ext <<_ACEOF
24235 /* confdefs.h. */
24236 _ACEOF
24237 cat confdefs.h >>conftest.$ac_ext
24238 cat >>conftest.$ac_ext <<_ACEOF
24239 /* end confdefs.h. */
24240
24241 class Foo { public: explicit Foo(int) {} };
24242 static void TakeFoo(const Foo& foo) { }
24243
24244 int
24245 main ()
24246 {
24247
24248 TakeFoo(17);
24249 return 0;
24250
24251 ;
24252 return 0;
24253 }
24254 _ACEOF
24255 rm -f conftest.$ac_objext
24256 if { (ac_try="$ac_compile"
24257 case "(($ac_try" in
24258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24259 *) ac_try_echo=$ac_try;;
24260 esac
24261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24262 (eval "$ac_compile") 2>conftest.er1
24263 ac_status=$?
24264 grep -v '^ *+' conftest.er1 >conftest.err
24265 rm -f conftest.er1
24266 cat conftest.err >&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); } && {
24269 test -z "$ac_cxx_werror_flag" ||
24270 test ! -s conftest.err
24271 } && test -s conftest.$ac_objext; then
24272 wx_cv_explicit=no
24273 else
24274 echo "$as_me: failed program was:" >&5
24275 sed 's/^/| /' conftest.$ac_ext >&5
24276
24277 wx_cv_explicit=yes
24278
24279 fi
24280
24281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24282
24283 else
24284 echo "$as_me: failed program was:" >&5
24285 sed 's/^/| /' conftest.$ac_ext >&5
24286
24287 wx_cv_explicit=no
24288
24289 fi
24290
24291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24292
24293 ac_ext=c
24294 ac_cpp='$CPP $CPPFLAGS'
24295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24298
24299
24300 fi
24301 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24302 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24303
24304 if test "$wx_cv_explicit" = "yes"; then
24305 cat >>confdefs.h <<\_ACEOF
24306 #define HAVE_EXPLICIT 1
24307 _ACEOF
24308
24309 fi
24310
24311
24312 if test "x$SUNCXX" = xyes; then
24313 CXXFLAGS="-features=tmplife $CXXFLAGS"
24314 fi
24315
24316 if test "x$SUNCC" = xyes; then
24317 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24318 fi
24319
24320 if test "x$SGICC" = "xyes"; then
24321 CFLAGS="-woff 3970 $CFLAGS"
24322 fi
24323 if test "x$SGICXX" = "xyes"; then
24324 CXXFLAGS="-woff 3970 $CXXFLAGS"
24325 fi
24326
24327 if test "x$HPCC" = "xyes"; then
24328 CFLAGS="+W 2011,2450 $CFLAGS"
24329 fi
24330 if test "x$HPCXX" = "xyes"; then
24331 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
24332 fi
24333
24334 if test "x$COMPAQCXX" = "xyes"; then
24335 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24336 fi
24337
24338 ac_ext=cpp
24339 ac_cpp='$CXXCPP $CPPFLAGS'
24340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24343
24344
24345 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24346 if test "$wxUSE_UNICODE" = "yes"; then
24347 std_string="std::wstring"
24348 char_type="wchar_t"
24349 else
24350 std_string="std::string"
24351 char_type="char"
24352 fi
24353
24354 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24355 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24356 if test "${wx_cv_class_stdstring+set}" = set; then
24357 echo $ECHO_N "(cached) $ECHO_C" >&6
24358 else
24359
24360 cat >conftest.$ac_ext <<_ACEOF
24361 /* confdefs.h. */
24362 _ACEOF
24363 cat confdefs.h >>conftest.$ac_ext
24364 cat >>conftest.$ac_ext <<_ACEOF
24365 /* end confdefs.h. */
24366 #include <string>
24367 int
24368 main ()
24369 {
24370 $std_string foo;
24371 ;
24372 return 0;
24373 }
24374 _ACEOF
24375 rm -f conftest.$ac_objext
24376 if { (ac_try="$ac_compile"
24377 case "(($ac_try" in
24378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24379 *) ac_try_echo=$ac_try;;
24380 esac
24381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24382 (eval "$ac_compile") 2>conftest.er1
24383 ac_status=$?
24384 grep -v '^ *+' conftest.er1 >conftest.err
24385 rm -f conftest.er1
24386 cat conftest.err >&5
24387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24388 (exit $ac_status); } && {
24389 test -z "$ac_cxx_werror_flag" ||
24390 test ! -s conftest.err
24391 } && test -s conftest.$ac_objext; then
24392 wx_cv_class_stdstring=yes
24393 else
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.$ac_ext >&5
24396
24397 wx_cv_class_stdstring=no
24398
24399 fi
24400
24401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24402
24403
24404 fi
24405 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24406 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24407
24408 if test "$wx_cv_class_stdstring" = yes; then
24409 if test "$wxUSE_UNICODE" = "yes"; then
24410 cat >>confdefs.h <<\_ACEOF
24411 #define HAVE_STD_WSTRING 1
24412 _ACEOF
24413
24414 fi
24415 else
24416 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24417 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24418 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24419 echo $ECHO_N "(cached) $ECHO_C" >&6
24420 else
24421
24422 cat >conftest.$ac_ext <<_ACEOF
24423 /* confdefs.h. */
24424 _ACEOF
24425 cat confdefs.h >>conftest.$ac_ext
24426 cat >>conftest.$ac_ext <<_ACEOF
24427 /* end confdefs.h. */
24428
24429 #ifdef HAVE_WCHAR_H
24430 # ifdef __CYGWIN__
24431 # include <stddef.h>
24432 # endif
24433 # include <wchar.h>
24434 #endif
24435 #ifdef HAVE_STDLIB_H
24436 # include <stdlib.h>
24437 #endif
24438 #include <stdio.h>
24439 #include <string>
24440
24441 int
24442 main ()
24443 {
24444 std::basic_string<$char_type> foo;
24445 const $char_type* dummy = foo.c_str();
24446 ;
24447 return 0;
24448 }
24449 _ACEOF
24450 rm -f conftest.$ac_objext
24451 if { (ac_try="$ac_compile"
24452 case "(($ac_try" in
24453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24454 *) ac_try_echo=$ac_try;;
24455 esac
24456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24457 (eval "$ac_compile") 2>conftest.er1
24458 ac_status=$?
24459 grep -v '^ *+' conftest.er1 >conftest.err
24460 rm -f conftest.er1
24461 cat conftest.err >&5
24462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463 (exit $ac_status); } && {
24464 test -z "$ac_cxx_werror_flag" ||
24465 test ! -s conftest.err
24466 } && test -s conftest.$ac_objext; then
24467 wx_cv_class_stdbasicstring=yes
24468 else
24469 echo "$as_me: failed program was:" >&5
24470 sed 's/^/| /' conftest.$ac_ext >&5
24471
24472 wx_cv_class_stdbasicstring=no
24473
24474 fi
24475
24476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24477
24478
24479 fi
24480 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24481 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24482
24483 if test "$wx_cv_class_stdbasicstring" != yes; then
24484 if test "$wxUSE_STL" = "yes"; then
24485 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24486 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24487 { (exit 1); exit 1; }; }
24488 elif test "$wxUSE_STD_STRING" = "yes"; then
24489 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24490 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24491 { (exit 1); exit 1; }; }
24492 else
24493 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24494 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24495 wxUSE_STD_STRING=no
24496 fi
24497 fi
24498 fi
24499 fi
24500
24501 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24502 { echo "$as_me:$LINENO: checking for std::istream" >&5
24503 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24504 if test "${ac_cv_type_std__istream+set}" = set; then
24505 echo $ECHO_N "(cached) $ECHO_C" >&6
24506 else
24507 cat >conftest.$ac_ext <<_ACEOF
24508 /* confdefs.h. */
24509 _ACEOF
24510 cat confdefs.h >>conftest.$ac_ext
24511 cat >>conftest.$ac_ext <<_ACEOF
24512 /* end confdefs.h. */
24513 #include <iostream>
24514
24515 typedef std::istream ac__type_new_;
24516 int
24517 main ()
24518 {
24519 if ((ac__type_new_ *) 0)
24520 return 0;
24521 if (sizeof (ac__type_new_))
24522 return 0;
24523 ;
24524 return 0;
24525 }
24526 _ACEOF
24527 rm -f conftest.$ac_objext
24528 if { (ac_try="$ac_compile"
24529 case "(($ac_try" in
24530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24531 *) ac_try_echo=$ac_try;;
24532 esac
24533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24534 (eval "$ac_compile") 2>conftest.er1
24535 ac_status=$?
24536 grep -v '^ *+' conftest.er1 >conftest.err
24537 rm -f conftest.er1
24538 cat conftest.err >&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); } && {
24541 test -z "$ac_cxx_werror_flag" ||
24542 test ! -s conftest.err
24543 } && test -s conftest.$ac_objext; then
24544 ac_cv_type_std__istream=yes
24545 else
24546 echo "$as_me: failed program was:" >&5
24547 sed 's/^/| /' conftest.$ac_ext >&5
24548
24549 ac_cv_type_std__istream=no
24550 fi
24551
24552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24553 fi
24554 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24555 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24556 if test $ac_cv_type_std__istream = yes; then
24557
24558 cat >>confdefs.h <<_ACEOF
24559 #define HAVE_STD__ISTREAM 1
24560 _ACEOF
24561
24562
24563 else
24564 wxUSE_STD_IOSTREAM=no
24565 fi
24566 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24567 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24568 if test "${ac_cv_type_std__ostream+set}" = set; then
24569 echo $ECHO_N "(cached) $ECHO_C" >&6
24570 else
24571 cat >conftest.$ac_ext <<_ACEOF
24572 /* confdefs.h. */
24573 _ACEOF
24574 cat confdefs.h >>conftest.$ac_ext
24575 cat >>conftest.$ac_ext <<_ACEOF
24576 /* end confdefs.h. */
24577 #include <iostream>
24578
24579 typedef std::ostream ac__type_new_;
24580 int
24581 main ()
24582 {
24583 if ((ac__type_new_ *) 0)
24584 return 0;
24585 if (sizeof (ac__type_new_))
24586 return 0;
24587 ;
24588 return 0;
24589 }
24590 _ACEOF
24591 rm -f conftest.$ac_objext
24592 if { (ac_try="$ac_compile"
24593 case "(($ac_try" in
24594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24595 *) ac_try_echo=$ac_try;;
24596 esac
24597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24598 (eval "$ac_compile") 2>conftest.er1
24599 ac_status=$?
24600 grep -v '^ *+' conftest.er1 >conftest.err
24601 rm -f conftest.er1
24602 cat conftest.err >&5
24603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24604 (exit $ac_status); } && {
24605 test -z "$ac_cxx_werror_flag" ||
24606 test ! -s conftest.err
24607 } && test -s conftest.$ac_objext; then
24608 ac_cv_type_std__ostream=yes
24609 else
24610 echo "$as_me: failed program was:" >&5
24611 sed 's/^/| /' conftest.$ac_ext >&5
24612
24613 ac_cv_type_std__ostream=no
24614 fi
24615
24616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24617 fi
24618 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24619 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24620 if test $ac_cv_type_std__ostream = yes; then
24621
24622 cat >>confdefs.h <<_ACEOF
24623 #define HAVE_STD__OSTREAM 1
24624 _ACEOF
24625
24626
24627 else
24628 wxUSE_STD_IOSTREAM=no
24629 fi
24630
24631
24632 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24633 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24634 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24635 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24636 { (exit 1); exit 1; }; }
24637 else
24638 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24639 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24640 fi
24641 fi
24642 fi
24643
24644 if test "$wxUSE_STL" = "yes"; then
24645 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24646 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24647 if test "${wx_cv_lib_stl+set}" = set; then
24648 echo $ECHO_N "(cached) $ECHO_C" >&6
24649 else
24650 cat >conftest.$ac_ext <<_ACEOF
24651 /* confdefs.h. */
24652 _ACEOF
24653 cat confdefs.h >>conftest.$ac_ext
24654 cat >>conftest.$ac_ext <<_ACEOF
24655 /* end confdefs.h. */
24656 #include <string>
24657 #include <functional>
24658 #include <algorithm>
24659 #include <vector>
24660 #include <list>
24661 int
24662 main ()
24663 {
24664 std::vector<int> moo;
24665 std::list<int> foo;
24666 std::vector<int>::iterator it =
24667 std::find_if(moo.begin(), moo.end(),
24668 std::bind2nd(std::less<int>(), 3));
24669 ;
24670 return 0;
24671 }
24672 _ACEOF
24673 rm -f conftest.$ac_objext
24674 if { (ac_try="$ac_compile"
24675 case "(($ac_try" in
24676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24677 *) ac_try_echo=$ac_try;;
24678 esac
24679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24680 (eval "$ac_compile") 2>conftest.er1
24681 ac_status=$?
24682 grep -v '^ *+' conftest.er1 >conftest.err
24683 rm -f conftest.er1
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } && {
24687 test -z "$ac_cxx_werror_flag" ||
24688 test ! -s conftest.err
24689 } && test -s conftest.$ac_objext; then
24690 wx_cv_lib_stl=yes
24691 else
24692 echo "$as_me: failed program was:" >&5
24693 sed 's/^/| /' conftest.$ac_ext >&5
24694
24695 wx_cv_lib_stl=no
24696
24697 fi
24698
24699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24700
24701 fi
24702 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24703 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24704
24705 if test "$wx_cv_lib_stl" != yes; then
24706 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24707 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24708 { (exit 1); exit 1; }; }
24709 fi
24710
24711 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24712 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24713 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24714 echo $ECHO_N "(cached) $ECHO_C" >&6
24715 else
24716 cat >conftest.$ac_ext <<_ACEOF
24717 /* confdefs.h. */
24718 _ACEOF
24719 cat confdefs.h >>conftest.$ac_ext
24720 cat >>conftest.$ac_ext <<_ACEOF
24721 /* end confdefs.h. */
24722 #include <string>
24723 int
24724 main ()
24725 {
24726 std::string foo, bar;
24727 foo.compare(bar);
24728 foo.compare(1, 1, bar);
24729 foo.compare(1, 1, bar, 1, 1);
24730 foo.compare("");
24731 foo.compare(1, 1, "");
24732 foo.compare(1, 1, "", 2);
24733 ;
24734 return 0;
24735 }
24736 _ACEOF
24737 rm -f conftest.$ac_objext
24738 if { (ac_try="$ac_compile"
24739 case "(($ac_try" in
24740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24741 *) ac_try_echo=$ac_try;;
24742 esac
24743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24744 (eval "$ac_compile") 2>conftest.er1
24745 ac_status=$?
24746 grep -v '^ *+' conftest.er1 >conftest.err
24747 rm -f conftest.er1
24748 cat conftest.err >&5
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); } && {
24751 test -z "$ac_cxx_werror_flag" ||
24752 test ! -s conftest.err
24753 } && test -s conftest.$ac_objext; then
24754 wx_cv_func_stdstring_compare=yes
24755 else
24756 echo "$as_me: failed program was:" >&5
24757 sed 's/^/| /' conftest.$ac_ext >&5
24758
24759 wx_cv_func_stdstring_compare=no
24760
24761 fi
24762
24763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24764
24765 fi
24766 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24767 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24768
24769 if test "$wx_cv_func_stdstring_compare" = yes; then
24770 cat >>confdefs.h <<\_ACEOF
24771 #define HAVE_STD_STRING_COMPARE 1
24772 _ACEOF
24773
24774 fi
24775
24776 if test "$wx_cv_class_gnuhashmapset" = yes; then
24777 cat >>confdefs.h <<\_ACEOF
24778 #define HAVE_EXT_HASH_MAP 1
24779 _ACEOF
24780
24781 cat >>confdefs.h <<\_ACEOF
24782 #define HAVE_GNU_CXX_HASH_MAP 1
24783 _ACEOF
24784
24785 fi
24786
24787 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24788 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24789 if test "${ac_cv_header_unordered_map+set}" = set; then
24790 echo $ECHO_N "(cached) $ECHO_C" >&6
24791 else
24792 cat >conftest.$ac_ext <<_ACEOF
24793 /* confdefs.h. */
24794 _ACEOF
24795 cat confdefs.h >>conftest.$ac_ext
24796 cat >>conftest.$ac_ext <<_ACEOF
24797 /* end confdefs.h. */
24798
24799
24800
24801 #include <unordered_map>
24802 _ACEOF
24803 rm -f conftest.$ac_objext
24804 if { (ac_try="$ac_compile"
24805 case "(($ac_try" in
24806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24807 *) ac_try_echo=$ac_try;;
24808 esac
24809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24810 (eval "$ac_compile") 2>conftest.er1
24811 ac_status=$?
24812 grep -v '^ *+' conftest.er1 >conftest.err
24813 rm -f conftest.er1
24814 cat conftest.err >&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); } && {
24817 test -z "$ac_cxx_werror_flag" ||
24818 test ! -s conftest.err
24819 } && test -s conftest.$ac_objext; then
24820 ac_cv_header_unordered_map=yes
24821 else
24822 echo "$as_me: failed program was:" >&5
24823 sed 's/^/| /' conftest.$ac_ext >&5
24824
24825 ac_cv_header_unordered_map=no
24826 fi
24827
24828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24829 fi
24830 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24831 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24832 if test $ac_cv_header_unordered_map = yes; then
24833 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24834 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24835 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24836 echo $ECHO_N "(cached) $ECHO_C" >&6
24837 else
24838 cat >conftest.$ac_ext <<_ACEOF
24839 /* confdefs.h. */
24840 _ACEOF
24841 cat confdefs.h >>conftest.$ac_ext
24842 cat >>conftest.$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24844 #include <unordered_map>
24845 #include <unordered_set>
24846 int
24847 main ()
24848 {
24849 std::unordered_map<double*, char*> test1;
24850 std::unordered_set<char*> test2;
24851 ;
24852 return 0;
24853 }
24854 _ACEOF
24855 rm -f conftest.$ac_objext
24856 if { (ac_try="$ac_compile"
24857 case "(($ac_try" in
24858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24859 *) ac_try_echo=$ac_try;;
24860 esac
24861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24862 (eval "$ac_compile") 2>conftest.er1
24863 ac_status=$?
24864 grep -v '^ *+' conftest.er1 >conftest.err
24865 rm -f conftest.er1
24866 cat conftest.err >&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); } && {
24869 test -z "$ac_cxx_werror_flag" ||
24870 test ! -s conftest.err
24871 } && test -s conftest.$ac_objext; then
24872 wx_cv_class_stdunorderedmapset=yes
24873 else
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.$ac_ext >&5
24876
24877 wx_cv_class_stdunorderedmapset=no
24878 fi
24879
24880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24881
24882
24883 fi
24884 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24885 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24886 fi
24887
24888
24889
24890 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24891 cat >>confdefs.h <<\_ACEOF
24892 #define HAVE_STD_UNORDERED_MAP 1
24893 _ACEOF
24894
24895 cat >>confdefs.h <<\_ACEOF
24896 #define HAVE_STD_UNORDERED_SET 1
24897 _ACEOF
24898
24899 else
24900 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24901 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24902 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24903 echo $ECHO_N "(cached) $ECHO_C" >&6
24904 else
24905 cat >conftest.$ac_ext <<_ACEOF
24906 /* confdefs.h. */
24907 _ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24911
24912
24913
24914 #include <tr1/unordered_map>
24915 _ACEOF
24916 rm -f conftest.$ac_objext
24917 if { (ac_try="$ac_compile"
24918 case "(($ac_try" in
24919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24920 *) ac_try_echo=$ac_try;;
24921 esac
24922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24923 (eval "$ac_compile") 2>conftest.er1
24924 ac_status=$?
24925 grep -v '^ *+' conftest.er1 >conftest.err
24926 rm -f conftest.er1
24927 cat conftest.err >&5
24928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24929 (exit $ac_status); } && {
24930 test -z "$ac_cxx_werror_flag" ||
24931 test ! -s conftest.err
24932 } && test -s conftest.$ac_objext; then
24933 ac_cv_header_tr1_unordered_map=yes
24934 else
24935 echo "$as_me: failed program was:" >&5
24936 sed 's/^/| /' conftest.$ac_ext >&5
24937
24938 ac_cv_header_tr1_unordered_map=no
24939 fi
24940
24941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24942 fi
24943 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24944 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24945 if test $ac_cv_header_tr1_unordered_map = yes; then
24946 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24947 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24948 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24950 else
24951 cat >conftest.$ac_ext <<_ACEOF
24952 /* confdefs.h. */
24953 _ACEOF
24954 cat confdefs.h >>conftest.$ac_ext
24955 cat >>conftest.$ac_ext <<_ACEOF
24956 /* end confdefs.h. */
24957 #include <tr1/unordered_map>
24958 #include <tr1/unordered_set>
24959 int
24960 main ()
24961 {
24962 std::tr1::unordered_map<double*, char*> test1;
24963 std::tr1::unordered_set<char*> test2;
24964 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24965 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24966 #endif
24967 ;
24968 return 0;
24969 }
24970 _ACEOF
24971 rm -f conftest.$ac_objext
24972 if { (ac_try="$ac_compile"
24973 case "(($ac_try" in
24974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24975 *) ac_try_echo=$ac_try;;
24976 esac
24977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24978 (eval "$ac_compile") 2>conftest.er1
24979 ac_status=$?
24980 grep -v '^ *+' conftest.er1 >conftest.err
24981 rm -f conftest.er1
24982 cat conftest.err >&5
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); } && {
24985 test -z "$ac_cxx_werror_flag" ||
24986 test ! -s conftest.err
24987 } && test -s conftest.$ac_objext; then
24988 wx_cv_class_tr1unorderedmapset=yes
24989 else
24990 echo "$as_me: failed program was:" >&5
24991 sed 's/^/| /' conftest.$ac_ext >&5
24992
24993 wx_cv_class_tr1unorderedmapset=no
24994 fi
24995
24996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24997
24998
24999 fi
25000 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
25001 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
25002 fi
25003
25004
25005
25006 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
25007 cat >>confdefs.h <<\_ACEOF
25008 #define HAVE_TR1_UNORDERED_MAP 1
25009 _ACEOF
25010
25011 cat >>confdefs.h <<\_ACEOF
25012 #define HAVE_TR1_UNORDERED_SET 1
25013 _ACEOF
25014
25015 else
25016 { echo "$as_me:$LINENO: checking for hash_map" >&5
25017 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
25018 if test "${ac_cv_header_hash_map+set}" = set; then
25019 echo $ECHO_N "(cached) $ECHO_C" >&6
25020 else
25021 cat >conftest.$ac_ext <<_ACEOF
25022 /* confdefs.h. */
25023 _ACEOF
25024 cat confdefs.h >>conftest.$ac_ext
25025 cat >>conftest.$ac_ext <<_ACEOF
25026 /* end confdefs.h. */
25027
25028
25029
25030 #include <hash_map>
25031 _ACEOF
25032 rm -f conftest.$ac_objext
25033 if { (ac_try="$ac_compile"
25034 case "(($ac_try" in
25035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25036 *) ac_try_echo=$ac_try;;
25037 esac
25038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25039 (eval "$ac_compile") 2>conftest.er1
25040 ac_status=$?
25041 grep -v '^ *+' conftest.er1 >conftest.err
25042 rm -f conftest.er1
25043 cat conftest.err >&5
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); } && {
25046 test -z "$ac_cxx_werror_flag" ||
25047 test ! -s conftest.err
25048 } && test -s conftest.$ac_objext; then
25049 ac_cv_header_hash_map=yes
25050 else
25051 echo "$as_me: failed program was:" >&5
25052 sed 's/^/| /' conftest.$ac_ext >&5
25053
25054 ac_cv_header_hash_map=no
25055 fi
25056
25057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25058 fi
25059 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25060 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
25061 if test $ac_cv_header_hash_map = yes; then
25062 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
25063 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
25064 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25065 echo $ECHO_N "(cached) $ECHO_C" >&6
25066 else
25067 cat >conftest.$ac_ext <<_ACEOF
25068 /* confdefs.h. */
25069 _ACEOF
25070 cat confdefs.h >>conftest.$ac_ext
25071 cat >>conftest.$ac_ext <<_ACEOF
25072 /* end confdefs.h. */
25073 #include <hash_map>
25074 #include <hash_set>
25075 int
25076 main ()
25077 {
25078 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25079 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25080 ;
25081 return 0;
25082 }
25083 _ACEOF
25084 rm -f conftest.$ac_objext
25085 if { (ac_try="$ac_compile"
25086 case "(($ac_try" in
25087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25088 *) ac_try_echo=$ac_try;;
25089 esac
25090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25091 (eval "$ac_compile") 2>conftest.er1
25092 ac_status=$?
25093 grep -v '^ *+' conftest.er1 >conftest.err
25094 rm -f conftest.er1
25095 cat conftest.err >&5
25096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25097 (exit $ac_status); } && {
25098 test -z "$ac_cxx_werror_flag" ||
25099 test ! -s conftest.err
25100 } && test -s conftest.$ac_objext; then
25101 wx_cv_class_stdhashmapset=yes
25102 else
25103 echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.$ac_ext >&5
25105
25106 wx_cv_class_stdhashmapset=no
25107 fi
25108
25109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25110
25111
25112 fi
25113 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25114 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25115 fi
25116
25117
25118
25119 if test "$wx_cv_class_stdhashmapset" = yes; then
25120 cat >>confdefs.h <<\_ACEOF
25121 #define HAVE_HASH_MAP 1
25122 _ACEOF
25123
25124 cat >>confdefs.h <<\_ACEOF
25125 #define HAVE_STD_HASH_MAP 1
25126 _ACEOF
25127
25128 fi
25129
25130 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25131 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25132 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25133 echo $ECHO_N "(cached) $ECHO_C" >&6
25134 else
25135 cat >conftest.$ac_ext <<_ACEOF
25136 /* confdefs.h. */
25137 _ACEOF
25138 cat confdefs.h >>conftest.$ac_ext
25139 cat >>conftest.$ac_ext <<_ACEOF
25140 /* end confdefs.h. */
25141
25142
25143
25144 #include <ext/hash_map>
25145 _ACEOF
25146 rm -f conftest.$ac_objext
25147 if { (ac_try="$ac_compile"
25148 case "(($ac_try" in
25149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25150 *) ac_try_echo=$ac_try;;
25151 esac
25152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25153 (eval "$ac_compile") 2>conftest.er1
25154 ac_status=$?
25155 grep -v '^ *+' conftest.er1 >conftest.err
25156 rm -f conftest.er1
25157 cat conftest.err >&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } && {
25160 test -z "$ac_cxx_werror_flag" ||
25161 test ! -s conftest.err
25162 } && test -s conftest.$ac_objext; then
25163 ac_cv_header_ext_hash_map=yes
25164 else
25165 echo "$as_me: failed program was:" >&5
25166 sed 's/^/| /' conftest.$ac_ext >&5
25167
25168 ac_cv_header_ext_hash_map=no
25169 fi
25170
25171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25172 fi
25173 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25174 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25175 if test $ac_cv_header_ext_hash_map = yes; then
25176 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25177 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25178 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25179 echo $ECHO_N "(cached) $ECHO_C" >&6
25180 else
25181 cat >conftest.$ac_ext <<_ACEOF
25182 /* confdefs.h. */
25183 _ACEOF
25184 cat confdefs.h >>conftest.$ac_ext
25185 cat >>conftest.$ac_ext <<_ACEOF
25186 /* end confdefs.h. */
25187 #include <ext/hash_map>
25188 #include <ext/hash_set>
25189 int
25190 main ()
25191 {
25192 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25193 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25194 ;
25195 return 0;
25196 }
25197 _ACEOF
25198 rm -f conftest.$ac_objext
25199 if { (ac_try="$ac_compile"
25200 case "(($ac_try" in
25201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25202 *) ac_try_echo=$ac_try;;
25203 esac
25204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25205 (eval "$ac_compile") 2>conftest.er1
25206 ac_status=$?
25207 grep -v '^ *+' conftest.er1 >conftest.err
25208 rm -f conftest.er1
25209 cat conftest.err >&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } && {
25212 test -z "$ac_cxx_werror_flag" ||
25213 test ! -s conftest.err
25214 } && test -s conftest.$ac_objext; then
25215 wx_cv_class_gnuhashmapset=yes
25216 else
25217 echo "$as_me: failed program was:" >&5
25218 sed 's/^/| /' conftest.$ac_ext >&5
25219
25220 wx_cv_class_gnuhashmapset=no
25221 fi
25222
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224
25225
25226 fi
25227 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25228 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25229 fi
25230
25231
25232
25233 fi
25234 fi
25235 fi
25236
25237
25238
25239 if test -n "$GCC"; then
25240 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25241 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25242 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25243 echo $ECHO_N "(cached) $ECHO_C" >&6
25244 else
25245
25246 cat >conftest.$ac_ext <<_ACEOF
25247 /* confdefs.h. */
25248 _ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h. */
25252
25253 int
25254 main ()
25255 {
25256
25257 unsigned int value=0;
25258 /* wxAtomicInc doesn't use return value here */
25259 __sync_fetch_and_add(&value, 2);
25260 __sync_sub_and_fetch(&value, 1);
25261 /* but wxAtomicDec does, so mimic that: */
25262 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25263
25264 ;
25265 return 0;
25266 }
25267 _ACEOF
25268 rm -f conftest.$ac_objext conftest$ac_exeext
25269 if { (ac_try="$ac_link"
25270 case "(($ac_try" in
25271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25272 *) ac_try_echo=$ac_try;;
25273 esac
25274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25275 (eval "$ac_link") 2>conftest.er1
25276 ac_status=$?
25277 grep -v '^ *+' conftest.er1 >conftest.err
25278 rm -f conftest.er1
25279 cat conftest.err >&5
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); } && {
25282 test -z "$ac_cxx_werror_flag" ||
25283 test ! -s conftest.err
25284 } && test -s conftest$ac_exeext &&
25285 $as_test_x conftest$ac_exeext; then
25286 wx_cv_cc_gcc_atomic_builtins=yes
25287 else
25288 echo "$as_me: failed program was:" >&5
25289 sed 's/^/| /' conftest.$ac_ext >&5
25290
25291 wx_cv_cc_gcc_atomic_builtins=no
25292 fi
25293
25294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25295 conftest$ac_exeext conftest.$ac_ext
25296
25297 fi
25298
25299 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25300 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25301 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25302 cat >>confdefs.h <<\_ACEOF
25303 #define HAVE_GCC_ATOMIC_BUILTINS 1
25304 _ACEOF
25305
25306 fi
25307 fi
25308
25309
25310 ac_ext=c
25311 ac_cpp='$CPP $CPPFLAGS'
25312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25315
25316
25317
25318 SEARCH_INCLUDE="\
25319 /usr/local/include \
25320 /usr/local/X11/include \
25321 /usr/local/include/X11 \
25322 /usr/local/X11R6/include \
25323 /usr/local/include/X11R6 \
25324 \
25325 /usr/Motif-2.1/include \
25326 /usr/Motif-1.2/include \
25327 /usr/include/Motif1.2 \
25328 \
25329 /usr/dt/include \
25330 /usr/openwin/include \
25331 \
25332 /usr/include/Xm \
25333 \
25334 /usr/X11R6/include \
25335 /usr/X11R6.4/include \
25336 \
25337 /usr/include/X11R6 \
25338 \
25339 /usr/X11/include \
25340 /usr/include/X11 \
25341 \
25342 /usr/XFree86/include/X11 \
25343 /usr/pkg/include \
25344 \
25345 /usr/local/X1R5/include \
25346 /usr/local/include/X11R5 \
25347 /usr/X11R5/include \
25348 /usr/include/X11R5 \
25349 \
25350 /usr/local/X11R4/include \
25351 /usr/local/include/X11R4 \
25352 /usr/X11R4/include \
25353 /usr/include/X11R4 \
25354 \
25355 /usr/openwin/share/include"
25356
25357 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25358 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25359
25360 case "${host}" in
25361 *-*-irix6* )
25362 if test "${wx_cv_std_libpath+set}" = set; then
25363 echo $ECHO_N "(cached) $ECHO_C" >&6
25364 else
25365
25366 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25367 for e in a so sl dylib dll.a; do
25368 libc="$d/libc.$e"
25369 if test -f $libc; then
25370 save_LIBS="$LIBS"
25371 LIBS="$libc"
25372 cat >conftest.$ac_ext <<_ACEOF
25373 int main() { return 0; }
25374 _ACEOF
25375 rm -f conftest.$ac_objext conftest$ac_exeext
25376 if { (ac_try="$ac_link"
25377 case "(($ac_try" in
25378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25379 *) ac_try_echo=$ac_try;;
25380 esac
25381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25382 (eval "$ac_link") 2>conftest.er1
25383 ac_status=$?
25384 grep -v '^ *+' conftest.er1 >conftest.err
25385 rm -f conftest.er1
25386 cat conftest.err >&5
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); } && {
25389 test -z "$ac_c_werror_flag" ||
25390 test ! -s conftest.err
25391 } && test -s conftest$ac_exeext &&
25392 $as_test_x conftest$ac_exeext; then
25393 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25394 else
25395 echo "$as_me: failed program was:" >&5
25396 sed 's/^/| /' conftest.$ac_ext >&5
25397
25398
25399 fi
25400
25401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25402 conftest$ac_exeext conftest.$ac_ext
25403 LIBS="$save_LIBS"
25404 if test "x$wx_cv_std_libpath" != "x"; then
25405 break 2
25406 fi
25407 fi
25408 done
25409 done
25410 if test "x$wx_cv_std_libpath" = "x"; then
25411 wx_cv_std_libpath="lib"
25412 fi
25413
25414
25415 fi
25416
25417 ;;
25418
25419 *-*-solaris2* )
25420 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25421 wx_cv_std_libpath="lib/64"
25422 else
25423 wx_cv_std_libpath="lib"
25424 fi
25425 ;;
25426
25427 *-*-linux* )
25428 if test "$ac_cv_sizeof_void_p" = 8 -a \
25429 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25430 wx_cv_std_libpath="lib64"
25431 else
25432 wx_cv_std_libpath="lib"
25433 fi
25434 ;;
25435
25436 *)
25437 wx_cv_std_libpath="lib";
25438 ;;
25439 esac
25440
25441 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25442 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25443
25444 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25445
25446 if test "$build" != "$host" -a "$GCC" = yes; then
25447 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25448 cross_root=`dirname $cross_root`
25449 cross_root=`dirname $cross_root`
25450
25451 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25452 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25453 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25454
25455 if test -z "$PKG_CONFIG_PATH"; then
25456 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25457 export PKG_CONFIG_PATH
25458 fi
25459
25460 if test -z "$x_includes" -o "$x_includes" = NONE; then
25461
25462 ac_find_includes=
25463 for ac_dir in $SEARCH_INCLUDE /usr/include;
25464 do
25465 if test -f "$ac_dir/X11/Intrinsic.h"; then
25466 ac_find_includes=$ac_dir
25467 break
25468 fi
25469 done
25470
25471 x_includes=$ac_find_includes
25472 fi
25473 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25474
25475 ac_find_libraries=
25476 for ac_dir in $SEARCH_LIB;
25477 do
25478 for ac_extension in a so sl dylib dll.a; do
25479 if test -f "$ac_dir/libXt.$ac_extension"; then
25480 ac_find_libraries=$ac_dir
25481 break 2
25482 fi
25483 done
25484 done
25485
25486 x_libraries=$ac_find_libraries
25487 fi
25488 fi
25489 fi
25490
25491
25492 cat >confcache <<\_ACEOF
25493 # This file is a shell script that caches the results of configure
25494 # tests run on this system so they can be shared between configure
25495 # scripts and configure runs, see configure's option --config-cache.
25496 # It is not useful on other systems. If it contains results you don't
25497 # want to keep, you may remove or edit it.
25498 #
25499 # config.status only pays attention to the cache file if you give it
25500 # the --recheck option to rerun configure.
25501 #
25502 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25503 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25504 # following values.
25505
25506 _ACEOF
25507
25508 # The following way of writing the cache mishandles newlines in values,
25509 # but we know of no workaround that is simple, portable, and efficient.
25510 # So, we kill variables containing newlines.
25511 # Ultrix sh set writes to stderr and can't be redirected directly,
25512 # and sets the high bit in the cache file unless we assign to the vars.
25513 (
25514 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25515 eval ac_val=\$$ac_var
25516 case $ac_val in #(
25517 *${as_nl}*)
25518 case $ac_var in #(
25519 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25520 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25521 esac
25522 case $ac_var in #(
25523 _ | IFS | as_nl) ;; #(
25524 *) $as_unset $ac_var ;;
25525 esac ;;
25526 esac
25527 done
25528
25529 (set) 2>&1 |
25530 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25531 *${as_nl}ac_space=\ *)
25532 # `set' does not quote correctly, so add quotes (double-quote
25533 # substitution turns \\\\ into \\, and sed turns \\ into \).
25534 sed -n \
25535 "s/'/'\\\\''/g;
25536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25537 ;; #(
25538 *)
25539 # `set' quotes correctly as required by POSIX, so do not add quotes.
25540 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25541 ;;
25542 esac |
25543 sort
25544 ) |
25545 sed '
25546 /^ac_cv_env_/b end
25547 t clear
25548 :clear
25549 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25550 t end
25551 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25552 :end' >>confcache
25553 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25554 if test -w "$cache_file"; then
25555 test "x$cache_file" != "x/dev/null" &&
25556 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25557 echo "$as_me: updating cache $cache_file" >&6;}
25558 cat confcache >$cache_file
25559 else
25560 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25561 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25562 fi
25563 fi
25564 rm -f confcache
25565
25566 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25567 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25568 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25569 if test "${wx_cv_lib_glibc21+set}" = set; then
25570 echo $ECHO_N "(cached) $ECHO_C" >&6
25571 else
25572
25573 cat >conftest.$ac_ext <<_ACEOF
25574 /* confdefs.h. */
25575 _ACEOF
25576 cat confdefs.h >>conftest.$ac_ext
25577 cat >>conftest.$ac_ext <<_ACEOF
25578 /* end confdefs.h. */
25579 #include <features.h>
25580 int
25581 main ()
25582 {
25583
25584 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25585 not glibc 2.1
25586 #endif
25587
25588 ;
25589 return 0;
25590 }
25591 _ACEOF
25592 rm -f conftest.$ac_objext
25593 if { (ac_try="$ac_compile"
25594 case "(($ac_try" in
25595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25596 *) ac_try_echo=$ac_try;;
25597 esac
25598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25599 (eval "$ac_compile") 2>conftest.er1
25600 ac_status=$?
25601 grep -v '^ *+' conftest.er1 >conftest.err
25602 rm -f conftest.er1
25603 cat conftest.err >&5
25604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25605 (exit $ac_status); } && {
25606 test -z "$ac_c_werror_flag" ||
25607 test ! -s conftest.err
25608 } && test -s conftest.$ac_objext; then
25609
25610 wx_cv_lib_glibc21=yes
25611
25612 else
25613 echo "$as_me: failed program was:" >&5
25614 sed 's/^/| /' conftest.$ac_ext >&5
25615
25616
25617 wx_cv_lib_glibc21=no
25618
25619
25620 fi
25621
25622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25623
25624 fi
25625 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25626 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25627 if test "$wx_cv_lib_glibc21" = "yes"; then
25628 cat >>confdefs.h <<\_ACEOF
25629 #define wxHAVE_GLIBC2 1
25630 _ACEOF
25631
25632 fi
25633 fi
25634
25635 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25636 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25637 cat >>confdefs.h <<\_ACEOF
25638 #define _GNU_SOURCE 1
25639 _ACEOF
25640
25641 fi
25642 fi
25643
25644 have_cos=0
25645 have_floor=0
25646
25647 for ac_func in cos
25648 do
25649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25650 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25652 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25653 echo $ECHO_N "(cached) $ECHO_C" >&6
25654 else
25655 cat >conftest.$ac_ext <<_ACEOF
25656 /* confdefs.h. */
25657 _ACEOF
25658 cat confdefs.h >>conftest.$ac_ext
25659 cat >>conftest.$ac_ext <<_ACEOF
25660 /* end confdefs.h. */
25661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25663 #define $ac_func innocuous_$ac_func
25664
25665 /* System header to define __stub macros and hopefully few prototypes,
25666 which can conflict with char $ac_func (); below.
25667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25668 <limits.h> exists even on freestanding compilers. */
25669
25670 #ifdef __STDC__
25671 # include <limits.h>
25672 #else
25673 # include <assert.h>
25674 #endif
25675
25676 #undef $ac_func
25677
25678 /* Override any GCC internal prototype to avoid an error.
25679 Use char because int might match the return type of a GCC
25680 builtin and then its argument prototype would still apply. */
25681 #ifdef __cplusplus
25682 extern "C"
25683 #endif
25684 char $ac_func ();
25685 /* The GNU C library defines this for functions which it implements
25686 to always fail with ENOSYS. Some functions are actually named
25687 something starting with __ and the normal name is an alias. */
25688 #if defined __stub_$ac_func || defined __stub___$ac_func
25689 choke me
25690 #endif
25691
25692 int
25693 main ()
25694 {
25695 return $ac_func ();
25696 ;
25697 return 0;
25698 }
25699 _ACEOF
25700 rm -f conftest.$ac_objext conftest$ac_exeext
25701 if { (ac_try="$ac_link"
25702 case "(($ac_try" in
25703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25704 *) ac_try_echo=$ac_try;;
25705 esac
25706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25707 (eval "$ac_link") 2>conftest.er1
25708 ac_status=$?
25709 grep -v '^ *+' conftest.er1 >conftest.err
25710 rm -f conftest.er1
25711 cat conftest.err >&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } && {
25714 test -z "$ac_c_werror_flag" ||
25715 test ! -s conftest.err
25716 } && test -s conftest$ac_exeext &&
25717 $as_test_x conftest$ac_exeext; then
25718 eval "$as_ac_var=yes"
25719 else
25720 echo "$as_me: failed program was:" >&5
25721 sed 's/^/| /' conftest.$ac_ext >&5
25722
25723 eval "$as_ac_var=no"
25724 fi
25725
25726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25727 conftest$ac_exeext conftest.$ac_ext
25728 fi
25729 ac_res=`eval echo '${'$as_ac_var'}'`
25730 { echo "$as_me:$LINENO: result: $ac_res" >&5
25731 echo "${ECHO_T}$ac_res" >&6; }
25732 if test `eval echo '${'$as_ac_var'}'` = yes; then
25733 cat >>confdefs.h <<_ACEOF
25734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25735 _ACEOF
25736 have_cos=1
25737 fi
25738 done
25739
25740
25741 for ac_func in floor
25742 do
25743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25747 echo $ECHO_N "(cached) $ECHO_C" >&6
25748 else
25749 cat >conftest.$ac_ext <<_ACEOF
25750 /* confdefs.h. */
25751 _ACEOF
25752 cat confdefs.h >>conftest.$ac_ext
25753 cat >>conftest.$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25757 #define $ac_func innocuous_$ac_func
25758
25759 /* System header to define __stub macros and hopefully few prototypes,
25760 which can conflict with char $ac_func (); below.
25761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25762 <limits.h> exists even on freestanding compilers. */
25763
25764 #ifdef __STDC__
25765 # include <limits.h>
25766 #else
25767 # include <assert.h>
25768 #endif
25769
25770 #undef $ac_func
25771
25772 /* Override any GCC internal prototype to avoid an error.
25773 Use char because int might match the return type of a GCC
25774 builtin and then its argument prototype would still apply. */
25775 #ifdef __cplusplus
25776 extern "C"
25777 #endif
25778 char $ac_func ();
25779 /* The GNU C library defines this for functions which it implements
25780 to always fail with ENOSYS. Some functions are actually named
25781 something starting with __ and the normal name is an alias. */
25782 #if defined __stub_$ac_func || defined __stub___$ac_func
25783 choke me
25784 #endif
25785
25786 int
25787 main ()
25788 {
25789 return $ac_func ();
25790 ;
25791 return 0;
25792 }
25793 _ACEOF
25794 rm -f conftest.$ac_objext conftest$ac_exeext
25795 if { (ac_try="$ac_link"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25799 esac
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_link") 2>conftest.er1
25802 ac_status=$?
25803 grep -v '^ *+' conftest.er1 >conftest.err
25804 rm -f conftest.er1
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } && {
25808 test -z "$ac_c_werror_flag" ||
25809 test ! -s conftest.err
25810 } && test -s conftest$ac_exeext &&
25811 $as_test_x conftest$ac_exeext; then
25812 eval "$as_ac_var=yes"
25813 else
25814 echo "$as_me: failed program was:" >&5
25815 sed 's/^/| /' conftest.$ac_ext >&5
25816
25817 eval "$as_ac_var=no"
25818 fi
25819
25820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25821 conftest$ac_exeext conftest.$ac_ext
25822 fi
25823 ac_res=`eval echo '${'$as_ac_var'}'`
25824 { echo "$as_me:$LINENO: result: $ac_res" >&5
25825 echo "${ECHO_T}$ac_res" >&6; }
25826 if test `eval echo '${'$as_ac_var'}'` = yes; then
25827 cat >>confdefs.h <<_ACEOF
25828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25829 _ACEOF
25830 have_floor=1
25831 fi
25832 done
25833
25834 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25835 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25836 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25837 { echo "$as_me:$LINENO: result: yes" >&5
25838 echo "${ECHO_T}yes" >&6; }
25839 else
25840 { echo "$as_me:$LINENO: result: no" >&5
25841 echo "${ECHO_T}no" >&6; }
25842 LIBS="$LIBS -lm"
25843 # use different functions to avoid configure caching
25844 have_sin=0
25845 have_ceil=0
25846
25847 for ac_func in sin
25848 do
25849 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25850 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25851 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25852 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25853 echo $ECHO_N "(cached) $ECHO_C" >&6
25854 else
25855 cat >conftest.$ac_ext <<_ACEOF
25856 /* confdefs.h. */
25857 _ACEOF
25858 cat confdefs.h >>conftest.$ac_ext
25859 cat >>conftest.$ac_ext <<_ACEOF
25860 /* end confdefs.h. */
25861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25863 #define $ac_func innocuous_$ac_func
25864
25865 /* System header to define __stub macros and hopefully few prototypes,
25866 which can conflict with char $ac_func (); below.
25867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25868 <limits.h> exists even on freestanding compilers. */
25869
25870 #ifdef __STDC__
25871 # include <limits.h>
25872 #else
25873 # include <assert.h>
25874 #endif
25875
25876 #undef $ac_func
25877
25878 /* Override any GCC internal prototype to avoid an error.
25879 Use char because int might match the return type of a GCC
25880 builtin and then its argument prototype would still apply. */
25881 #ifdef __cplusplus
25882 extern "C"
25883 #endif
25884 char $ac_func ();
25885 /* The GNU C library defines this for functions which it implements
25886 to always fail with ENOSYS. Some functions are actually named
25887 something starting with __ and the normal name is an alias. */
25888 #if defined __stub_$ac_func || defined __stub___$ac_func
25889 choke me
25890 #endif
25891
25892 int
25893 main ()
25894 {
25895 return $ac_func ();
25896 ;
25897 return 0;
25898 }
25899 _ACEOF
25900 rm -f conftest.$ac_objext conftest$ac_exeext
25901 if { (ac_try="$ac_link"
25902 case "(($ac_try" in
25903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25904 *) ac_try_echo=$ac_try;;
25905 esac
25906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25907 (eval "$ac_link") 2>conftest.er1
25908 ac_status=$?
25909 grep -v '^ *+' conftest.er1 >conftest.err
25910 rm -f conftest.er1
25911 cat conftest.err >&5
25912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25913 (exit $ac_status); } && {
25914 test -z "$ac_c_werror_flag" ||
25915 test ! -s conftest.err
25916 } && test -s conftest$ac_exeext &&
25917 $as_test_x conftest$ac_exeext; then
25918 eval "$as_ac_var=yes"
25919 else
25920 echo "$as_me: failed program was:" >&5
25921 sed 's/^/| /' conftest.$ac_ext >&5
25922
25923 eval "$as_ac_var=no"
25924 fi
25925
25926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25927 conftest$ac_exeext conftest.$ac_ext
25928 fi
25929 ac_res=`eval echo '${'$as_ac_var'}'`
25930 { echo "$as_me:$LINENO: result: $ac_res" >&5
25931 echo "${ECHO_T}$ac_res" >&6; }
25932 if test `eval echo '${'$as_ac_var'}'` = yes; then
25933 cat >>confdefs.h <<_ACEOF
25934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25935 _ACEOF
25936 have_sin=1
25937 fi
25938 done
25939
25940
25941 for ac_func in ceil
25942 do
25943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25944 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25946 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25947 echo $ECHO_N "(cached) $ECHO_C" >&6
25948 else
25949 cat >conftest.$ac_ext <<_ACEOF
25950 /* confdefs.h. */
25951 _ACEOF
25952 cat confdefs.h >>conftest.$ac_ext
25953 cat >>conftest.$ac_ext <<_ACEOF
25954 /* end confdefs.h. */
25955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25957 #define $ac_func innocuous_$ac_func
25958
25959 /* System header to define __stub macros and hopefully few prototypes,
25960 which can conflict with char $ac_func (); below.
25961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25962 <limits.h> exists even on freestanding compilers. */
25963
25964 #ifdef __STDC__
25965 # include <limits.h>
25966 #else
25967 # include <assert.h>
25968 #endif
25969
25970 #undef $ac_func
25971
25972 /* Override any GCC internal prototype to avoid an error.
25973 Use char because int might match the return type of a GCC
25974 builtin and then its argument prototype would still apply. */
25975 #ifdef __cplusplus
25976 extern "C"
25977 #endif
25978 char $ac_func ();
25979 /* The GNU C library defines this for functions which it implements
25980 to always fail with ENOSYS. Some functions are actually named
25981 something starting with __ and the normal name is an alias. */
25982 #if defined __stub_$ac_func || defined __stub___$ac_func
25983 choke me
25984 #endif
25985
25986 int
25987 main ()
25988 {
25989 return $ac_func ();
25990 ;
25991 return 0;
25992 }
25993 _ACEOF
25994 rm -f conftest.$ac_objext conftest$ac_exeext
25995 if { (ac_try="$ac_link"
25996 case "(($ac_try" in
25997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25998 *) ac_try_echo=$ac_try;;
25999 esac
26000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26001 (eval "$ac_link") 2>conftest.er1
26002 ac_status=$?
26003 grep -v '^ *+' conftest.er1 >conftest.err
26004 rm -f conftest.er1
26005 cat conftest.err >&5
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); } && {
26008 test -z "$ac_c_werror_flag" ||
26009 test ! -s conftest.err
26010 } && test -s conftest$ac_exeext &&
26011 $as_test_x conftest$ac_exeext; then
26012 eval "$as_ac_var=yes"
26013 else
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.$ac_ext >&5
26016
26017 eval "$as_ac_var=no"
26018 fi
26019
26020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26021 conftest$ac_exeext conftest.$ac_ext
26022 fi
26023 ac_res=`eval echo '${'$as_ac_var'}'`
26024 { echo "$as_me:$LINENO: result: $ac_res" >&5
26025 echo "${ECHO_T}$ac_res" >&6; }
26026 if test `eval echo '${'$as_ac_var'}'` = yes; then
26027 cat >>confdefs.h <<_ACEOF
26028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26029 _ACEOF
26030 have_ceil=1
26031 fi
26032 done
26033
26034 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26035 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
26036 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26037 { echo "$as_me:$LINENO: result: yes" >&5
26038 echo "${ECHO_T}yes" >&6; }
26039 else
26040 { echo "$as_me:$LINENO: result: no" >&5
26041 echo "${ECHO_T}no" >&6; }
26042 # not sure we should warn the user, crash, etc.
26043 fi
26044 fi
26045
26046 ac_ext=cpp
26047 ac_cpp='$CXXCPP $CPPFLAGS'
26048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26051
26052 if test "wxUSE_UNICODE" = "yes"; then
26053
26054 for wx_func in wcstoull
26055 do
26056 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26057 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26058 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26059 echo $ECHO_N "(cached) $ECHO_C" >&6
26060 else
26061
26062 cat >conftest.$ac_ext <<_ACEOF
26063
26064 /* confdefs.h. */
26065 _ACEOF
26066 cat confdefs.h >>conftest.$ac_ext
26067 cat >>conftest.$ac_ext <<_ACEOF
26068 /* end confdefs.h. */
26069
26070
26071 $ac_includes_default
26072
26073 int
26074 main ()
26075 {
26076
26077 #ifndef $wx_func
26078 &$wx_func;
26079 #endif
26080
26081
26082 ;
26083 return 0;
26084 }
26085
26086 _ACEOF
26087 rm -f conftest.$ac_objext conftest$ac_exeext
26088 if { (ac_try="$ac_link"
26089 case "(($ac_try" in
26090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26091 *) ac_try_echo=$ac_try;;
26092 esac
26093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26094 (eval "$ac_link") 2>conftest.er1
26095 ac_status=$?
26096 grep -v '^ *+' conftest.er1 >conftest.err
26097 rm -f conftest.er1
26098 cat conftest.err >&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } && {
26101 test -z "$ac_cxx_werror_flag" ||
26102 test ! -s conftest.err
26103 } && test -s conftest$ac_exeext &&
26104 $as_test_x conftest$ac_exeext; then
26105 eval wx_cv_func_$wx_func=yes
26106 else
26107 echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26109
26110 eval wx_cv_func_$wx_func=no
26111 fi
26112
26113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26114 conftest$ac_exeext conftest.$ac_ext
26115
26116 fi
26117 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26118 { echo "$as_me:$LINENO: result: $ac_res" >&5
26119 echo "${ECHO_T}$ac_res" >&6; }
26120
26121 if eval test \$wx_cv_func_$wx_func = yes
26122 then
26123 cat >>confdefs.h <<_ACEOF
26124 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26125 _ACEOF
26126
26127
26128 else
26129 :
26130
26131 fi
26132 done
26133
26134 else
26135
26136 for wx_func in strtoull
26137 do
26138 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26139 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26140 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26141 echo $ECHO_N "(cached) $ECHO_C" >&6
26142 else
26143
26144 cat >conftest.$ac_ext <<_ACEOF
26145
26146 /* confdefs.h. */
26147 _ACEOF
26148 cat confdefs.h >>conftest.$ac_ext
26149 cat >>conftest.$ac_ext <<_ACEOF
26150 /* end confdefs.h. */
26151
26152
26153 $ac_includes_default
26154
26155 int
26156 main ()
26157 {
26158
26159 #ifndef $wx_func
26160 &$wx_func;
26161 #endif
26162
26163
26164 ;
26165 return 0;
26166 }
26167
26168 _ACEOF
26169 rm -f conftest.$ac_objext conftest$ac_exeext
26170 if { (ac_try="$ac_link"
26171 case "(($ac_try" in
26172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26173 *) ac_try_echo=$ac_try;;
26174 esac
26175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26176 (eval "$ac_link") 2>conftest.er1
26177 ac_status=$?
26178 grep -v '^ *+' conftest.er1 >conftest.err
26179 rm -f conftest.er1
26180 cat conftest.err >&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } && {
26183 test -z "$ac_cxx_werror_flag" ||
26184 test ! -s conftest.err
26185 } && test -s conftest$ac_exeext &&
26186 $as_test_x conftest$ac_exeext; then
26187 eval wx_cv_func_$wx_func=yes
26188 else
26189 echo "$as_me: failed program was:" >&5
26190 sed 's/^/| /' conftest.$ac_ext >&5
26191
26192 eval wx_cv_func_$wx_func=no
26193 fi
26194
26195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26196 conftest$ac_exeext conftest.$ac_ext
26197
26198 fi
26199 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26200 { echo "$as_me:$LINENO: result: $ac_res" >&5
26201 echo "${ECHO_T}$ac_res" >&6; }
26202
26203 if eval test \$wx_cv_func_$wx_func = yes
26204 then
26205 cat >>confdefs.h <<_ACEOF
26206 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26207 _ACEOF
26208
26209
26210 else
26211 :
26212
26213 fi
26214 done
26215
26216 fi
26217 ac_ext=c
26218 ac_cpp='$CPP $CPPFLAGS'
26219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26222
26223
26224
26225
26226 if test "$wxUSE_REGEX" != "no"; then
26227 cat >>confdefs.h <<\_ACEOF
26228 #define wxUSE_REGEX 1
26229 _ACEOF
26230
26231
26232 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26233 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26234 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26235 wxUSE_REGEX=builtin
26236 fi
26237
26238 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26239 { echo "$as_me:$LINENO: checking for regex.h" >&5
26240 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26241 if test "${ac_cv_header_regex_h+set}" = set; then
26242 echo $ECHO_N "(cached) $ECHO_C" >&6
26243 else
26244 cat >conftest.$ac_ext <<_ACEOF
26245 /* confdefs.h. */
26246 _ACEOF
26247 cat confdefs.h >>conftest.$ac_ext
26248 cat >>conftest.$ac_ext <<_ACEOF
26249 /* end confdefs.h. */
26250
26251
26252 #include <regex.h>
26253 _ACEOF
26254 rm -f conftest.$ac_objext
26255 if { (ac_try="$ac_compile"
26256 case "(($ac_try" in
26257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26258 *) ac_try_echo=$ac_try;;
26259 esac
26260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26261 (eval "$ac_compile") 2>conftest.er1
26262 ac_status=$?
26263 grep -v '^ *+' conftest.er1 >conftest.err
26264 rm -f conftest.er1
26265 cat conftest.err >&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } && {
26268 test -z "$ac_c_werror_flag" ||
26269 test ! -s conftest.err
26270 } && test -s conftest.$ac_objext; then
26271 ac_cv_header_regex_h=yes
26272 else
26273 echo "$as_me: failed program was:" >&5
26274 sed 's/^/| /' conftest.$ac_ext >&5
26275
26276 ac_cv_header_regex_h=no
26277 fi
26278
26279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26280 fi
26281 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26282 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26283 if test $ac_cv_header_regex_h = yes; then
26284
26285
26286 for ac_func in regcomp re_search
26287 do
26288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26289 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26291 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26292 echo $ECHO_N "(cached) $ECHO_C" >&6
26293 else
26294 cat >conftest.$ac_ext <<_ACEOF
26295 /* confdefs.h. */
26296 _ACEOF
26297 cat confdefs.h >>conftest.$ac_ext
26298 cat >>conftest.$ac_ext <<_ACEOF
26299 /* end confdefs.h. */
26300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26302 #define $ac_func innocuous_$ac_func
26303
26304 /* System header to define __stub macros and hopefully few prototypes,
26305 which can conflict with char $ac_func (); below.
26306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26307 <limits.h> exists even on freestanding compilers. */
26308
26309 #ifdef __STDC__
26310 # include <limits.h>
26311 #else
26312 # include <assert.h>
26313 #endif
26314
26315 #undef $ac_func
26316
26317 /* Override any GCC internal prototype to avoid an error.
26318 Use char because int might match the return type of a GCC
26319 builtin and then its argument prototype would still apply. */
26320 #ifdef __cplusplus
26321 extern "C"
26322 #endif
26323 char $ac_func ();
26324 /* The GNU C library defines this for functions which it implements
26325 to always fail with ENOSYS. Some functions are actually named
26326 something starting with __ and the normal name is an alias. */
26327 #if defined __stub_$ac_func || defined __stub___$ac_func
26328 choke me
26329 #endif
26330
26331 int
26332 main ()
26333 {
26334 return $ac_func ();
26335 ;
26336 return 0;
26337 }
26338 _ACEOF
26339 rm -f conftest.$ac_objext conftest$ac_exeext
26340 if { (ac_try="$ac_link"
26341 case "(($ac_try" in
26342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26343 *) ac_try_echo=$ac_try;;
26344 esac
26345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26346 (eval "$ac_link") 2>conftest.er1
26347 ac_status=$?
26348 grep -v '^ *+' conftest.er1 >conftest.err
26349 rm -f conftest.er1
26350 cat conftest.err >&5
26351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26352 (exit $ac_status); } && {
26353 test -z "$ac_c_werror_flag" ||
26354 test ! -s conftest.err
26355 } && test -s conftest$ac_exeext &&
26356 $as_test_x conftest$ac_exeext; then
26357 eval "$as_ac_var=yes"
26358 else
26359 echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.$ac_ext >&5
26361
26362 eval "$as_ac_var=no"
26363 fi
26364
26365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26366 conftest$ac_exeext conftest.$ac_ext
26367 fi
26368 ac_res=`eval echo '${'$as_ac_var'}'`
26369 { echo "$as_me:$LINENO: result: $ac_res" >&5
26370 echo "${ECHO_T}$ac_res" >&6; }
26371 if test `eval echo '${'$as_ac_var'}'` = yes; then
26372 cat >>confdefs.h <<_ACEOF
26373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26374 _ACEOF
26375
26376 fi
26377 done
26378
26379 fi
26380
26381
26382
26383 if test "x$ac_cv_func_regcomp" != "xyes"; then
26384 if test "$wxUSE_REGEX" = "sys" ; then
26385 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26386 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26387 { (exit 1); exit 1; }; }
26388 else
26389 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26390 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26391 wxUSE_REGEX=builtin
26392 fi
26393 else
26394 wxUSE_REGEX=sys
26395 cat >>confdefs.h <<\_ACEOF
26396 #define WX_NO_REGEX_ADVANCED 1
26397 _ACEOF
26398
26399 fi
26400 fi
26401 fi
26402
26403
26404 ZLIB_LINK=
26405 if test "$wxUSE_ZLIB" != "no" ; then
26406 cat >>confdefs.h <<\_ACEOF
26407 #define wxUSE_ZLIB 1
26408 _ACEOF
26409
26410
26411 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26412 if test "$USE_DARWIN" = 1; then
26413 system_zlib_h_ok="yes"
26414 else
26415 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26416 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26417 if test "${ac_cv_header_zlib_h+set}" = set; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26419 else
26420 if test "$cross_compiling" = yes; then
26421 unset ac_cv_header_zlib_h
26422
26423 else
26424 cat >conftest.$ac_ext <<_ACEOF
26425 /* confdefs.h. */
26426 _ACEOF
26427 cat confdefs.h >>conftest.$ac_ext
26428 cat >>conftest.$ac_ext <<_ACEOF
26429 /* end confdefs.h. */
26430
26431 #include <zlib.h>
26432 #include <stdio.h>
26433
26434 int main()
26435 {
26436 FILE *f=fopen("conftestval", "w");
26437 if (!f) exit(1);
26438 fprintf(f, "%s",
26439 ZLIB_VERSION[0] == '1' &&
26440 (ZLIB_VERSION[2] > '1' ||
26441 (ZLIB_VERSION[2] == '1' &&
26442 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26443 exit(0);
26444 }
26445
26446 _ACEOF
26447 rm -f conftest$ac_exeext
26448 if { (ac_try="$ac_link"
26449 case "(($ac_try" in
26450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26451 *) ac_try_echo=$ac_try;;
26452 esac
26453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26454 (eval "$ac_link") 2>&5
26455 ac_status=$?
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26458 { (case "(($ac_try" in
26459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26460 *) ac_try_echo=$ac_try;;
26461 esac
26462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26463 (eval "$ac_try") 2>&5
26464 ac_status=$?
26465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26466 (exit $ac_status); }; }; then
26467 ac_cv_header_zlib_h=`cat conftestval`
26468 else
26469 echo "$as_me: program exited with status $ac_status" >&5
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.$ac_ext >&5
26472
26473 ( exit $ac_status )
26474 ac_cv_header_zlib_h=no
26475 fi
26476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26477 fi
26478
26479
26480
26481 fi
26482 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26483 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26484 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26485 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26486 if test "${ac_cv_header_zlib_h+set}" = set; then
26487 echo $ECHO_N "(cached) $ECHO_C" >&6
26488 else
26489 cat >conftest.$ac_ext <<_ACEOF
26490 /* confdefs.h. */
26491 _ACEOF
26492 cat confdefs.h >>conftest.$ac_ext
26493 cat >>conftest.$ac_ext <<_ACEOF
26494 /* end confdefs.h. */
26495
26496
26497 #include <zlib.h>
26498 _ACEOF
26499 rm -f conftest.$ac_objext
26500 if { (ac_try="$ac_compile"
26501 case "(($ac_try" in
26502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26503 *) ac_try_echo=$ac_try;;
26504 esac
26505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26506 (eval "$ac_compile") 2>conftest.er1
26507 ac_status=$?
26508 grep -v '^ *+' conftest.er1 >conftest.err
26509 rm -f conftest.er1
26510 cat conftest.err >&5
26511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26512 (exit $ac_status); } && {
26513 test -z "$ac_c_werror_flag" ||
26514 test ! -s conftest.err
26515 } && test -s conftest.$ac_objext; then
26516 ac_cv_header_zlib_h=yes
26517 else
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.$ac_ext >&5
26520
26521 ac_cv_header_zlib_h=no
26522 fi
26523
26524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26525 fi
26526 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26527 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26528
26529
26530
26531 system_zlib_h_ok=$ac_cv_header_zlib_h
26532 fi
26533
26534 if test "$system_zlib_h_ok" = "yes"; then
26535 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26536 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26537 if test "${ac_cv_lib_z_deflate+set}" = set; then
26538 echo $ECHO_N "(cached) $ECHO_C" >&6
26539 else
26540 ac_check_lib_save_LIBS=$LIBS
26541 LIBS="-lz $LIBS"
26542 cat >conftest.$ac_ext <<_ACEOF
26543 /* confdefs.h. */
26544 _ACEOF
26545 cat confdefs.h >>conftest.$ac_ext
26546 cat >>conftest.$ac_ext <<_ACEOF
26547 /* end confdefs.h. */
26548
26549 /* Override any GCC internal prototype to avoid an error.
26550 Use char because int might match the return type of a GCC
26551 builtin and then its argument prototype would still apply. */
26552 #ifdef __cplusplus
26553 extern "C"
26554 #endif
26555 char deflate ();
26556 int
26557 main ()
26558 {
26559 return deflate ();
26560 ;
26561 return 0;
26562 }
26563 _ACEOF
26564 rm -f conftest.$ac_objext conftest$ac_exeext
26565 if { (ac_try="$ac_link"
26566 case "(($ac_try" in
26567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26568 *) ac_try_echo=$ac_try;;
26569 esac
26570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26571 (eval "$ac_link") 2>conftest.er1
26572 ac_status=$?
26573 grep -v '^ *+' conftest.er1 >conftest.err
26574 rm -f conftest.er1
26575 cat conftest.err >&5
26576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26577 (exit $ac_status); } && {
26578 test -z "$ac_c_werror_flag" ||
26579 test ! -s conftest.err
26580 } && test -s conftest$ac_exeext &&
26581 $as_test_x conftest$ac_exeext; then
26582 ac_cv_lib_z_deflate=yes
26583 else
26584 echo "$as_me: failed program was:" >&5
26585 sed 's/^/| /' conftest.$ac_ext >&5
26586
26587 ac_cv_lib_z_deflate=no
26588 fi
26589
26590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26591 conftest$ac_exeext conftest.$ac_ext
26592 LIBS=$ac_check_lib_save_LIBS
26593 fi
26594 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26595 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26596 if test $ac_cv_lib_z_deflate = yes; then
26597 ZLIB_LINK=" -lz"
26598 fi
26599
26600 fi
26601
26602 if test "x$ZLIB_LINK" = "x" ; then
26603 if test "$wxUSE_ZLIB" = "sys" ; then
26604 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26605 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26606 { (exit 1); exit 1; }; }
26607 else
26608 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26609 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26610 wxUSE_ZLIB=builtin
26611 fi
26612 else
26613 wxUSE_ZLIB=sys
26614 fi
26615 fi
26616 fi
26617
26618
26619 PNG_LINK=
26620 if test "$wxUSE_LIBPNG" != "no" ; then
26621 cat >>confdefs.h <<\_ACEOF
26622 #define wxUSE_LIBPNG 1
26623 _ACEOF
26624
26625
26626 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26627 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26628 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26629 wxUSE_LIBPNG=sys
26630 fi
26631
26632 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26633 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26634 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26635 wxUSE_LIBPNG=builtin
26636 fi
26637
26638 if test "$wxUSE_MGL" != 1 ; then
26639 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26640 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26641 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26642 if test "${ac_cv_header_png_h+set}" = set; then
26643 echo $ECHO_N "(cached) $ECHO_C" >&6
26644 else
26645 if test "$cross_compiling" = yes; then
26646 unset ac_cv_header_png_h
26647
26648 else
26649 cat >conftest.$ac_ext <<_ACEOF
26650 /* confdefs.h. */
26651 _ACEOF
26652 cat confdefs.h >>conftest.$ac_ext
26653 cat >>conftest.$ac_ext <<_ACEOF
26654 /* end confdefs.h. */
26655
26656 #include <png.h>
26657 #include <stdio.h>
26658
26659 int main()
26660 {
26661 FILE *f=fopen("conftestval", "w");
26662 if (!f) exit(1);
26663 fprintf(f, "%s",
26664 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26665 exit(0);
26666 }
26667
26668 _ACEOF
26669 rm -f conftest$ac_exeext
26670 if { (ac_try="$ac_link"
26671 case "(($ac_try" in
26672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26673 *) ac_try_echo=$ac_try;;
26674 esac
26675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26676 (eval "$ac_link") 2>&5
26677 ac_status=$?
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26680 { (case "(($ac_try" in
26681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26682 *) ac_try_echo=$ac_try;;
26683 esac
26684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26685 (eval "$ac_try") 2>&5
26686 ac_status=$?
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); }; }; then
26689 ac_cv_header_png_h=`cat conftestval`
26690 else
26691 echo "$as_me: program exited with status $ac_status" >&5
26692 echo "$as_me: failed program was:" >&5
26693 sed 's/^/| /' conftest.$ac_ext >&5
26694
26695 ( exit $ac_status )
26696 ac_cv_header_png_h=no
26697 fi
26698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26699 fi
26700
26701
26702
26703 fi
26704 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26705 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26706 { echo "$as_me:$LINENO: checking for png.h" >&5
26707 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26708 if test "${ac_cv_header_png_h+set}" = set; then
26709 echo $ECHO_N "(cached) $ECHO_C" >&6
26710 else
26711 cat >conftest.$ac_ext <<_ACEOF
26712 /* confdefs.h. */
26713 _ACEOF
26714 cat confdefs.h >>conftest.$ac_ext
26715 cat >>conftest.$ac_ext <<_ACEOF
26716 /* end confdefs.h. */
26717
26718
26719 #include <png.h>
26720 _ACEOF
26721 rm -f conftest.$ac_objext
26722 if { (ac_try="$ac_compile"
26723 case "(($ac_try" in
26724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26725 *) ac_try_echo=$ac_try;;
26726 esac
26727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26728 (eval "$ac_compile") 2>conftest.er1
26729 ac_status=$?
26730 grep -v '^ *+' conftest.er1 >conftest.err
26731 rm -f conftest.er1
26732 cat conftest.err >&5
26733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26734 (exit $ac_status); } && {
26735 test -z "$ac_c_werror_flag" ||
26736 test ! -s conftest.err
26737 } && test -s conftest.$ac_objext; then
26738 ac_cv_header_png_h=yes
26739 else
26740 echo "$as_me: failed program was:" >&5
26741 sed 's/^/| /' conftest.$ac_ext >&5
26742
26743 ac_cv_header_png_h=no
26744 fi
26745
26746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26747 fi
26748 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26749 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26750
26751
26752
26753 if test "$ac_cv_header_png_h" = "yes"; then
26754 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26755 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26756 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26757 echo $ECHO_N "(cached) $ECHO_C" >&6
26758 else
26759 ac_check_lib_save_LIBS=$LIBS
26760 LIBS="-lpng -lz -lm $LIBS"
26761 cat >conftest.$ac_ext <<_ACEOF
26762 /* confdefs.h. */
26763 _ACEOF
26764 cat confdefs.h >>conftest.$ac_ext
26765 cat >>conftest.$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26767
26768 /* Override any GCC internal prototype to avoid an error.
26769 Use char because int might match the return type of a GCC
26770 builtin and then its argument prototype would still apply. */
26771 #ifdef __cplusplus
26772 extern "C"
26773 #endif
26774 char png_check_sig ();
26775 int
26776 main ()
26777 {
26778 return png_check_sig ();
26779 ;
26780 return 0;
26781 }
26782 _ACEOF
26783 rm -f conftest.$ac_objext conftest$ac_exeext
26784 if { (ac_try="$ac_link"
26785 case "(($ac_try" in
26786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26787 *) ac_try_echo=$ac_try;;
26788 esac
26789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26790 (eval "$ac_link") 2>conftest.er1
26791 ac_status=$?
26792 grep -v '^ *+' conftest.er1 >conftest.err
26793 rm -f conftest.er1
26794 cat conftest.err >&5
26795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26796 (exit $ac_status); } && {
26797 test -z "$ac_c_werror_flag" ||
26798 test ! -s conftest.err
26799 } && test -s conftest$ac_exeext &&
26800 $as_test_x conftest$ac_exeext; then
26801 ac_cv_lib_png_png_check_sig=yes
26802 else
26803 echo "$as_me: failed program was:" >&5
26804 sed 's/^/| /' conftest.$ac_ext >&5
26805
26806 ac_cv_lib_png_png_check_sig=no
26807 fi
26808
26809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26810 conftest$ac_exeext conftest.$ac_ext
26811 LIBS=$ac_check_lib_save_LIBS
26812 fi
26813 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26814 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26815 if test $ac_cv_lib_png_png_check_sig = yes; then
26816 PNG_LINK=" -lpng -lz"
26817 fi
26818
26819 fi
26820
26821 if test "x$PNG_LINK" = "x" ; then
26822 if test "$wxUSE_LIBPNG" = "sys" ; then
26823 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26824 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26825 { (exit 1); exit 1; }; }
26826 else
26827 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26828 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26829 wxUSE_LIBPNG=builtin
26830 fi
26831 else
26832 wxUSE_LIBPNG=sys
26833 fi
26834 fi
26835 fi
26836 fi
26837
26838
26839 JPEG_LINK=
26840 if test "$wxUSE_LIBJPEG" != "no" ; then
26841 cat >>confdefs.h <<\_ACEOF
26842 #define wxUSE_LIBJPEG 1
26843 _ACEOF
26844
26845
26846 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26847 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26848 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26849 wxUSE_LIBJPEG=sys
26850 fi
26851
26852 if test "$wxUSE_MGL" != 1 ; then
26853 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26854 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26855 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26856 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26857 echo $ECHO_N "(cached) $ECHO_C" >&6
26858 else
26859 cat >conftest.$ac_ext <<_ACEOF
26860 /* confdefs.h. */
26861 _ACEOF
26862 cat confdefs.h >>conftest.$ac_ext
26863 cat >>conftest.$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26865
26866 #undef HAVE_STDLIB_H
26867 #include <stdio.h>
26868 #include <jpeglib.h>
26869
26870 int
26871 main ()
26872 {
26873
26874
26875 ;
26876 return 0;
26877 }
26878 _ACEOF
26879 rm -f conftest.$ac_objext
26880 if { (ac_try="$ac_compile"
26881 case "(($ac_try" in
26882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26883 *) ac_try_echo=$ac_try;;
26884 esac
26885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26886 (eval "$ac_compile") 2>conftest.er1
26887 ac_status=$?
26888 grep -v '^ *+' conftest.er1 >conftest.err
26889 rm -f conftest.er1
26890 cat conftest.err >&5
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); } && {
26893 test -z "$ac_c_werror_flag" ||
26894 test ! -s conftest.err
26895 } && test -s conftest.$ac_objext; then
26896 ac_cv_header_jpeglib_h=yes
26897 else
26898 echo "$as_me: failed program was:" >&5
26899 sed 's/^/| /' conftest.$ac_ext >&5
26900
26901 ac_cv_header_jpeglib_h=no
26902
26903 fi
26904
26905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26906
26907 fi
26908
26909 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26910 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26911
26912 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26913 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26914 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26915 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26916 echo $ECHO_N "(cached) $ECHO_C" >&6
26917 else
26918 ac_check_lib_save_LIBS=$LIBS
26919 LIBS="-ljpeg $LIBS"
26920 cat >conftest.$ac_ext <<_ACEOF
26921 /* confdefs.h. */
26922 _ACEOF
26923 cat confdefs.h >>conftest.$ac_ext
26924 cat >>conftest.$ac_ext <<_ACEOF
26925 /* end confdefs.h. */
26926
26927 /* Override any GCC internal prototype to avoid an error.
26928 Use char because int might match the return type of a GCC
26929 builtin and then its argument prototype would still apply. */
26930 #ifdef __cplusplus
26931 extern "C"
26932 #endif
26933 char jpeg_read_header ();
26934 int
26935 main ()
26936 {
26937 return jpeg_read_header ();
26938 ;
26939 return 0;
26940 }
26941 _ACEOF
26942 rm -f conftest.$ac_objext conftest$ac_exeext
26943 if { (ac_try="$ac_link"
26944 case "(($ac_try" in
26945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26946 *) ac_try_echo=$ac_try;;
26947 esac
26948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26949 (eval "$ac_link") 2>conftest.er1
26950 ac_status=$?
26951 grep -v '^ *+' conftest.er1 >conftest.err
26952 rm -f conftest.er1
26953 cat conftest.err >&5
26954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26955 (exit $ac_status); } && {
26956 test -z "$ac_c_werror_flag" ||
26957 test ! -s conftest.err
26958 } && test -s conftest$ac_exeext &&
26959 $as_test_x conftest$ac_exeext; then
26960 ac_cv_lib_jpeg_jpeg_read_header=yes
26961 else
26962 echo "$as_me: failed program was:" >&5
26963 sed 's/^/| /' conftest.$ac_ext >&5
26964
26965 ac_cv_lib_jpeg_jpeg_read_header=no
26966 fi
26967
26968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26969 conftest$ac_exeext conftest.$ac_ext
26970 LIBS=$ac_check_lib_save_LIBS
26971 fi
26972 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26973 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26974 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26975 JPEG_LINK=" -ljpeg"
26976 fi
26977
26978 fi
26979
26980 if test "x$JPEG_LINK" = "x" ; then
26981 if test "$wxUSE_LIBJPEG" = "sys" ; then
26982 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26983 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26984 { (exit 1); exit 1; }; }
26985 else
26986 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26987 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26988 wxUSE_LIBJPEG=builtin
26989 fi
26990 else
26991 wxUSE_LIBJPEG=sys
26992
26993 if test "$wxUSE_MSW" = 1; then
26994 { echo "$as_me:$LINENO: checking for boolean" >&5
26995 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26996 if test "${ac_cv_type_boolean+set}" = set; then
26997 echo $ECHO_N "(cached) $ECHO_C" >&6
26998 else
26999 cat >conftest.$ac_ext <<_ACEOF
27000 /* confdefs.h. */
27001 _ACEOF
27002 cat confdefs.h >>conftest.$ac_ext
27003 cat >>conftest.$ac_ext <<_ACEOF
27004 /* end confdefs.h. */
27005 #include <windows.h>
27006
27007 typedef boolean ac__type_new_;
27008 int
27009 main ()
27010 {
27011 if ((ac__type_new_ *) 0)
27012 return 0;
27013 if (sizeof (ac__type_new_))
27014 return 0;
27015 ;
27016 return 0;
27017 }
27018 _ACEOF
27019 rm -f conftest.$ac_objext
27020 if { (ac_try="$ac_compile"
27021 case "(($ac_try" in
27022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27023 *) ac_try_echo=$ac_try;;
27024 esac
27025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27026 (eval "$ac_compile") 2>conftest.er1
27027 ac_status=$?
27028 grep -v '^ *+' conftest.er1 >conftest.err
27029 rm -f conftest.er1
27030 cat conftest.err >&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); } && {
27033 test -z "$ac_c_werror_flag" ||
27034 test ! -s conftest.err
27035 } && test -s conftest.$ac_objext; then
27036 ac_cv_type_boolean=yes
27037 else
27038 echo "$as_me: failed program was:" >&5
27039 sed 's/^/| /' conftest.$ac_ext >&5
27040
27041 ac_cv_type_boolean=no
27042 fi
27043
27044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27045 fi
27046 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27047 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27048 if test $ac_cv_type_boolean = yes; then
27049
27050 cat >>confdefs.h <<_ACEOF
27051 #define HAVE_BOOLEAN 1
27052 _ACEOF
27053
27054
27055 { echo "$as_me:$LINENO: checking for boolean" >&5
27056 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
27057 if test "${ac_cv_type_boolean+set}" = set; then
27058 echo $ECHO_N "(cached) $ECHO_C" >&6
27059 else
27060 cat >conftest.$ac_ext <<_ACEOF
27061 /* confdefs.h. */
27062 _ACEOF
27063 cat confdefs.h >>conftest.$ac_ext
27064 cat >>conftest.$ac_ext <<_ACEOF
27065 /* end confdefs.h. */
27066
27067 #undef HAVE_BOOLEAN
27068 #include <stdio.h>
27069 #include <jpeglib.h>
27070
27071
27072 typedef boolean ac__type_new_;
27073 int
27074 main ()
27075 {
27076 if ((ac__type_new_ *) 0)
27077 return 0;
27078 if (sizeof (ac__type_new_))
27079 return 0;
27080 ;
27081 return 0;
27082 }
27083 _ACEOF
27084 rm -f conftest.$ac_objext
27085 if { (ac_try="$ac_compile"
27086 case "(($ac_try" in
27087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27088 *) ac_try_echo=$ac_try;;
27089 esac
27090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27091 (eval "$ac_compile") 2>conftest.er1
27092 ac_status=$?
27093 grep -v '^ *+' conftest.er1 >conftest.err
27094 rm -f conftest.er1
27095 cat conftest.err >&5
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); } && {
27098 test -z "$ac_c_werror_flag" ||
27099 test ! -s conftest.err
27100 } && test -s conftest.$ac_objext; then
27101 ac_cv_type_boolean=yes
27102 else
27103 echo "$as_me: failed program was:" >&5
27104 sed 's/^/| /' conftest.$ac_ext >&5
27105
27106 ac_cv_type_boolean=no
27107 fi
27108
27109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27110 fi
27111 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27112 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27113
27114 # The cast to long int works around a bug in the HP C Compiler
27115 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27116 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27117 # This bug is HP SR number 8606223364.
27118 { echo "$as_me:$LINENO: checking size of boolean" >&5
27119 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27120 if test "${ac_cv_sizeof_boolean+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27122 else
27123 if test "$cross_compiling" = yes; then
27124 # Depending upon the size, compute the lo and hi bounds.
27125 cat >conftest.$ac_ext <<_ACEOF
27126 /* confdefs.h. */
27127 _ACEOF
27128 cat confdefs.h >>conftest.$ac_ext
27129 cat >>conftest.$ac_ext <<_ACEOF
27130 /* end confdefs.h. */
27131
27132 #undef HAVE_BOOLEAN
27133 #include <stdio.h>
27134 #include <jpeglib.h>
27135
27136
27137 typedef boolean ac__type_sizeof_;
27138 int
27139 main ()
27140 {
27141 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27142 test_array [0] = 0
27143
27144 ;
27145 return 0;
27146 }
27147 _ACEOF
27148 rm -f conftest.$ac_objext
27149 if { (ac_try="$ac_compile"
27150 case "(($ac_try" in
27151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27152 *) ac_try_echo=$ac_try;;
27153 esac
27154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27155 (eval "$ac_compile") 2>conftest.er1
27156 ac_status=$?
27157 grep -v '^ *+' conftest.er1 >conftest.err
27158 rm -f conftest.er1
27159 cat conftest.err >&5
27160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27161 (exit $ac_status); } && {
27162 test -z "$ac_c_werror_flag" ||
27163 test ! -s conftest.err
27164 } && test -s conftest.$ac_objext; then
27165 ac_lo=0 ac_mid=0
27166 while :; do
27167 cat >conftest.$ac_ext <<_ACEOF
27168 /* confdefs.h. */
27169 _ACEOF
27170 cat confdefs.h >>conftest.$ac_ext
27171 cat >>conftest.$ac_ext <<_ACEOF
27172 /* end confdefs.h. */
27173
27174 #undef HAVE_BOOLEAN
27175 #include <stdio.h>
27176 #include <jpeglib.h>
27177
27178
27179 typedef boolean ac__type_sizeof_;
27180 int
27181 main ()
27182 {
27183 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27184 test_array [0] = 0
27185
27186 ;
27187 return 0;
27188 }
27189 _ACEOF
27190 rm -f conftest.$ac_objext
27191 if { (ac_try="$ac_compile"
27192 case "(($ac_try" in
27193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27194 *) ac_try_echo=$ac_try;;
27195 esac
27196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27197 (eval "$ac_compile") 2>conftest.er1
27198 ac_status=$?
27199 grep -v '^ *+' conftest.er1 >conftest.err
27200 rm -f conftest.er1
27201 cat conftest.err >&5
27202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 (exit $ac_status); } && {
27204 test -z "$ac_c_werror_flag" ||
27205 test ! -s conftest.err
27206 } && test -s conftest.$ac_objext; then
27207 ac_hi=$ac_mid; break
27208 else
27209 echo "$as_me: failed program was:" >&5
27210 sed 's/^/| /' conftest.$ac_ext >&5
27211
27212 ac_lo=`expr $ac_mid + 1`
27213 if test $ac_lo -le $ac_mid; then
27214 ac_lo= ac_hi=
27215 break
27216 fi
27217 ac_mid=`expr 2 '*' $ac_mid + 1`
27218 fi
27219
27220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27221 done
27222 else
27223 echo "$as_me: failed program was:" >&5
27224 sed 's/^/| /' conftest.$ac_ext >&5
27225
27226 cat >conftest.$ac_ext <<_ACEOF
27227 /* confdefs.h. */
27228 _ACEOF
27229 cat confdefs.h >>conftest.$ac_ext
27230 cat >>conftest.$ac_ext <<_ACEOF
27231 /* end confdefs.h. */
27232
27233 #undef HAVE_BOOLEAN
27234 #include <stdio.h>
27235 #include <jpeglib.h>
27236
27237
27238 typedef boolean ac__type_sizeof_;
27239 int
27240 main ()
27241 {
27242 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27243 test_array [0] = 0
27244
27245 ;
27246 return 0;
27247 }
27248 _ACEOF
27249 rm -f conftest.$ac_objext
27250 if { (ac_try="$ac_compile"
27251 case "(($ac_try" in
27252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27253 *) ac_try_echo=$ac_try;;
27254 esac
27255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27256 (eval "$ac_compile") 2>conftest.er1
27257 ac_status=$?
27258 grep -v '^ *+' conftest.er1 >conftest.err
27259 rm -f conftest.er1
27260 cat conftest.err >&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); } && {
27263 test -z "$ac_c_werror_flag" ||
27264 test ! -s conftest.err
27265 } && test -s conftest.$ac_objext; then
27266 ac_hi=-1 ac_mid=-1
27267 while :; do
27268 cat >conftest.$ac_ext <<_ACEOF
27269 /* confdefs.h. */
27270 _ACEOF
27271 cat confdefs.h >>conftest.$ac_ext
27272 cat >>conftest.$ac_ext <<_ACEOF
27273 /* end confdefs.h. */
27274
27275 #undef HAVE_BOOLEAN
27276 #include <stdio.h>
27277 #include <jpeglib.h>
27278
27279
27280 typedef boolean ac__type_sizeof_;
27281 int
27282 main ()
27283 {
27284 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27285 test_array [0] = 0
27286
27287 ;
27288 return 0;
27289 }
27290 _ACEOF
27291 rm -f conftest.$ac_objext
27292 if { (ac_try="$ac_compile"
27293 case "(($ac_try" in
27294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27295 *) ac_try_echo=$ac_try;;
27296 esac
27297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27298 (eval "$ac_compile") 2>conftest.er1
27299 ac_status=$?
27300 grep -v '^ *+' conftest.er1 >conftest.err
27301 rm -f conftest.er1
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } && {
27305 test -z "$ac_c_werror_flag" ||
27306 test ! -s conftest.err
27307 } && test -s conftest.$ac_objext; then
27308 ac_lo=$ac_mid; break
27309 else
27310 echo "$as_me: failed program was:" >&5
27311 sed 's/^/| /' conftest.$ac_ext >&5
27312
27313 ac_hi=`expr '(' $ac_mid ')' - 1`
27314 if test $ac_mid -le $ac_hi; then
27315 ac_lo= ac_hi=
27316 break
27317 fi
27318 ac_mid=`expr 2 '*' $ac_mid`
27319 fi
27320
27321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27322 done
27323 else
27324 echo "$as_me: failed program was:" >&5
27325 sed 's/^/| /' conftest.$ac_ext >&5
27326
27327 ac_lo= ac_hi=
27328 fi
27329
27330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27331 fi
27332
27333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27334 # Binary search between lo and hi bounds.
27335 while test "x$ac_lo" != "x$ac_hi"; do
27336 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27337 cat >conftest.$ac_ext <<_ACEOF
27338 /* confdefs.h. */
27339 _ACEOF
27340 cat confdefs.h >>conftest.$ac_ext
27341 cat >>conftest.$ac_ext <<_ACEOF
27342 /* end confdefs.h. */
27343
27344 #undef HAVE_BOOLEAN
27345 #include <stdio.h>
27346 #include <jpeglib.h>
27347
27348
27349 typedef boolean ac__type_sizeof_;
27350 int
27351 main ()
27352 {
27353 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27354 test_array [0] = 0
27355
27356 ;
27357 return 0;
27358 }
27359 _ACEOF
27360 rm -f conftest.$ac_objext
27361 if { (ac_try="$ac_compile"
27362 case "(($ac_try" in
27363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27364 *) ac_try_echo=$ac_try;;
27365 esac
27366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27367 (eval "$ac_compile") 2>conftest.er1
27368 ac_status=$?
27369 grep -v '^ *+' conftest.er1 >conftest.err
27370 rm -f conftest.er1
27371 cat conftest.err >&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); } && {
27374 test -z "$ac_c_werror_flag" ||
27375 test ! -s conftest.err
27376 } && test -s conftest.$ac_objext; then
27377 ac_hi=$ac_mid
27378 else
27379 echo "$as_me: failed program was:" >&5
27380 sed 's/^/| /' conftest.$ac_ext >&5
27381
27382 ac_lo=`expr '(' $ac_mid ')' + 1`
27383 fi
27384
27385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27386 done
27387 case $ac_lo in
27388 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27389 '') if test "$ac_cv_type_boolean" = yes; then
27390 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27391 See \`config.log' for more details." >&5
27392 echo "$as_me: error: cannot compute sizeof (boolean)
27393 See \`config.log' for more details." >&2;}
27394 { (exit 77); exit 77; }; }
27395 else
27396 ac_cv_sizeof_boolean=0
27397 fi ;;
27398 esac
27399 else
27400 cat >conftest.$ac_ext <<_ACEOF
27401 /* confdefs.h. */
27402 _ACEOF
27403 cat confdefs.h >>conftest.$ac_ext
27404 cat >>conftest.$ac_ext <<_ACEOF
27405 /* end confdefs.h. */
27406
27407 #undef HAVE_BOOLEAN
27408 #include <stdio.h>
27409 #include <jpeglib.h>
27410
27411
27412 typedef boolean ac__type_sizeof_;
27413 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27414 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27415 #include <stdio.h>
27416 #include <stdlib.h>
27417 int
27418 main ()
27419 {
27420
27421 FILE *f = fopen ("conftest.val", "w");
27422 if (! f)
27423 return 1;
27424 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27425 {
27426 long int i = longval ();
27427 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27428 return 1;
27429 fprintf (f, "%ld\n", i);
27430 }
27431 else
27432 {
27433 unsigned long int i = ulongval ();
27434 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27435 return 1;
27436 fprintf (f, "%lu\n", i);
27437 }
27438 return ferror (f) || fclose (f) != 0;
27439
27440 ;
27441 return 0;
27442 }
27443 _ACEOF
27444 rm -f conftest$ac_exeext
27445 if { (ac_try="$ac_link"
27446 case "(($ac_try" in
27447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27448 *) ac_try_echo=$ac_try;;
27449 esac
27450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27451 (eval "$ac_link") 2>&5
27452 ac_status=$?
27453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27454 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27455 { (case "(($ac_try" in
27456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27457 *) ac_try_echo=$ac_try;;
27458 esac
27459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27460 (eval "$ac_try") 2>&5
27461 ac_status=$?
27462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27463 (exit $ac_status); }; }; then
27464 ac_cv_sizeof_boolean=`cat conftest.val`
27465 else
27466 echo "$as_me: program exited with status $ac_status" >&5
27467 echo "$as_me: failed program was:" >&5
27468 sed 's/^/| /' conftest.$ac_ext >&5
27469
27470 ( exit $ac_status )
27471 if test "$ac_cv_type_boolean" = yes; then
27472 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27473 See \`config.log' for more details." >&5
27474 echo "$as_me: error: cannot compute sizeof (boolean)
27475 See \`config.log' for more details." >&2;}
27476 { (exit 77); exit 77; }; }
27477 else
27478 ac_cv_sizeof_boolean=0
27479 fi
27480 fi
27481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27482 fi
27483 rm -f conftest.val
27484 fi
27485 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27486 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27487
27488
27489
27490 cat >>confdefs.h <<_ACEOF
27491 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27492 _ACEOF
27493
27494
27495 cat >>confdefs.h <<_ACEOF
27496 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27497 _ACEOF
27498
27499
27500 fi
27501
27502 fi
27503 fi
27504 fi
27505 fi
27506 fi
27507
27508
27509 TIFF_LINK=
27510 TIFF_PREREQ_LINKS=-lm
27511 if test "$wxUSE_LIBTIFF" != "no" ; then
27512 cat >>confdefs.h <<\_ACEOF
27513 #define wxUSE_LIBTIFF 1
27514 _ACEOF
27515
27516
27517 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27518 if test "$wxUSE_LIBJPEG" = "sys"; then
27519 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27520 fi
27521 if test "$wxUSE_ZLIB" = "sys"; then
27522 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27523 fi
27524 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27525 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27526 if test "${ac_cv_header_tiffio_h+set}" = set; then
27527 echo $ECHO_N "(cached) $ECHO_C" >&6
27528 else
27529 cat >conftest.$ac_ext <<_ACEOF
27530 /* confdefs.h. */
27531 _ACEOF
27532 cat confdefs.h >>conftest.$ac_ext
27533 cat >>conftest.$ac_ext <<_ACEOF
27534 /* end confdefs.h. */
27535
27536
27537
27538 #include <tiffio.h>
27539 _ACEOF
27540 rm -f conftest.$ac_objext
27541 if { (ac_try="$ac_compile"
27542 case "(($ac_try" in
27543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27544 *) ac_try_echo=$ac_try;;
27545 esac
27546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27547 (eval "$ac_compile") 2>conftest.er1
27548 ac_status=$?
27549 grep -v '^ *+' conftest.er1 >conftest.err
27550 rm -f conftest.er1
27551 cat conftest.err >&5
27552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27553 (exit $ac_status); } && {
27554 test -z "$ac_c_werror_flag" ||
27555 test ! -s conftest.err
27556 } && test -s conftest.$ac_objext; then
27557 ac_cv_header_tiffio_h=yes
27558 else
27559 echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27561
27562 ac_cv_header_tiffio_h=no
27563 fi
27564
27565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27566 fi
27567 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27568 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27569 if test $ac_cv_header_tiffio_h = yes; then
27570
27571 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27572 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27573 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27574 echo $ECHO_N "(cached) $ECHO_C" >&6
27575 else
27576 ac_check_lib_save_LIBS=$LIBS
27577 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
27586 Use char because int might match the return type of a GCC
27587 builtin and then its argument prototype would still apply. */
27588 #ifdef __cplusplus
27589 extern "C"
27590 #endif
27591 char TIFFError ();
27592 int
27593 main ()
27594 {
27595 return TIFFError ();
27596 ;
27597 return 0;
27598 }
27599 _ACEOF
27600 rm -f conftest.$ac_objext conftest$ac_exeext
27601 if { (ac_try="$ac_link"
27602 case "(($ac_try" in
27603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27604 *) ac_try_echo=$ac_try;;
27605 esac
27606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27607 (eval "$ac_link") 2>conftest.er1
27608 ac_status=$?
27609 grep -v '^ *+' conftest.er1 >conftest.err
27610 rm -f conftest.er1
27611 cat conftest.err >&5
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); } && {
27614 test -z "$ac_c_werror_flag" ||
27615 test ! -s conftest.err
27616 } && test -s conftest$ac_exeext &&
27617 $as_test_x conftest$ac_exeext; then
27618 ac_cv_lib_tiff_TIFFError=yes
27619 else
27620 echo "$as_me: failed program was:" >&5
27621 sed 's/^/| /' conftest.$ac_ext >&5
27622
27623 ac_cv_lib_tiff_TIFFError=no
27624 fi
27625
27626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27627 conftest$ac_exeext conftest.$ac_ext
27628 LIBS=$ac_check_lib_save_LIBS
27629 fi
27630 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27631 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27632 if test $ac_cv_lib_tiff_TIFFError = yes; then
27633 TIFF_LINK=" -ltiff"
27634 fi
27635
27636
27637 fi
27638
27639
27640
27641 if test "x$TIFF_LINK" = "x" ; then
27642 if test "$wxUSE_LIBTIFF" = "sys" ; then
27643 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27644 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27645 { (exit 1); exit 1; }; }
27646 else
27647 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27648 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27649 wxUSE_LIBTIFF=builtin
27650 fi
27651 else
27652 wxUSE_LIBTIFF=sys
27653 fi
27654 fi
27655 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27656 if test "$wxUSE_LIBJPEG" = "no"; then
27657 ac_configure_args="$ac_configure_args --disable-jpeg"
27658 fi
27659 subdirs="$subdirs src/tiff"
27660
27661 fi
27662 fi
27663
27664
27665 if test "$wxUSE_WCHAR_T" != "yes"; then
27666 if test "$wxUSE_EXPAT" != "no"; then
27667 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27668 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27669 wxUSE_EXPAT=no
27670 fi
27671 if test "$wxUSE_XML" != "no"; then
27672 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27673 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27674 wxUSE_XML=no
27675 fi
27676 fi
27677
27678 if test "$wxUSE_EXPAT" != "no"; then
27679 wxUSE_XML=yes
27680 cat >>confdefs.h <<\_ACEOF
27681 #define wxUSE_EXPAT 1
27682 _ACEOF
27683
27684 cat >>confdefs.h <<\_ACEOF
27685 #define wxUSE_XML 1
27686 _ACEOF
27687
27688
27689 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27690 { echo "$as_me:$LINENO: checking for expat.h" >&5
27691 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27692 if test "${ac_cv_header_expat_h+set}" = set; then
27693 echo $ECHO_N "(cached) $ECHO_C" >&6
27694 else
27695 cat >conftest.$ac_ext <<_ACEOF
27696 /* confdefs.h. */
27697 _ACEOF
27698 cat confdefs.h >>conftest.$ac_ext
27699 cat >>conftest.$ac_ext <<_ACEOF
27700 /* end confdefs.h. */
27701
27702
27703 #include <expat.h>
27704 _ACEOF
27705 rm -f conftest.$ac_objext
27706 if { (ac_try="$ac_compile"
27707 case "(($ac_try" in
27708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27709 *) ac_try_echo=$ac_try;;
27710 esac
27711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27712 (eval "$ac_compile") 2>conftest.er1
27713 ac_status=$?
27714 grep -v '^ *+' conftest.er1 >conftest.err
27715 rm -f conftest.er1
27716 cat conftest.err >&5
27717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27718 (exit $ac_status); } && {
27719 test -z "$ac_c_werror_flag" ||
27720 test ! -s conftest.err
27721 } && test -s conftest.$ac_objext; then
27722 ac_cv_header_expat_h=yes
27723 else
27724 echo "$as_me: failed program was:" >&5
27725 sed 's/^/| /' conftest.$ac_ext >&5
27726
27727 ac_cv_header_expat_h=no
27728 fi
27729
27730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27731 fi
27732 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27733 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27734 if test $ac_cv_header_expat_h = yes; then
27735 found_expat_h=1
27736 fi
27737
27738
27739 if test "x$found_expat_h" = "x1"; then
27740 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27741 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27742 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27743 echo $ECHO_N "(cached) $ECHO_C" >&6
27744 else
27745
27746 ac_ext=cpp
27747 ac_cpp='$CXXCPP $CPPFLAGS'
27748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27751
27752 cat >conftest.$ac_ext <<_ACEOF
27753 /* confdefs.h. */
27754 _ACEOF
27755 cat confdefs.h >>conftest.$ac_ext
27756 cat >>conftest.$ac_ext <<_ACEOF
27757 /* end confdefs.h. */
27758 #include <expat.h>
27759 int
27760 main ()
27761 {
27762
27763 ;
27764 return 0;
27765 }
27766 _ACEOF
27767 rm -f conftest.$ac_objext
27768 if { (ac_try="$ac_compile"
27769 case "(($ac_try" in
27770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27771 *) ac_try_echo=$ac_try;;
27772 esac
27773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27774 (eval "$ac_compile") 2>conftest.er1
27775 ac_status=$?
27776 grep -v '^ *+' conftest.er1 >conftest.err
27777 rm -f conftest.er1
27778 cat conftest.err >&5
27779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27780 (exit $ac_status); } && {
27781 test -z "$ac_cxx_werror_flag" ||
27782 test ! -s conftest.err
27783 } && test -s conftest.$ac_objext; then
27784 wx_cv_expat_is_not_broken=yes
27785 else
27786 echo "$as_me: failed program was:" >&5
27787 sed 's/^/| /' conftest.$ac_ext >&5
27788
27789 wx_cv_expat_is_not_broken=no
27790
27791 fi
27792
27793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27794 ac_ext=c
27795 ac_cpp='$CPP $CPPFLAGS'
27796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27799
27800
27801
27802 fi
27803 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27804 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27805 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27806 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27807 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27808 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27809 echo $ECHO_N "(cached) $ECHO_C" >&6
27810 else
27811 ac_check_lib_save_LIBS=$LIBS
27812 LIBS="-lexpat $LIBS"
27813 cat >conftest.$ac_ext <<_ACEOF
27814 /* confdefs.h. */
27815 _ACEOF
27816 cat confdefs.h >>conftest.$ac_ext
27817 cat >>conftest.$ac_ext <<_ACEOF
27818 /* end confdefs.h. */
27819
27820 /* Override any GCC internal prototype to avoid an error.
27821 Use char because int might match the return type of a GCC
27822 builtin and then its argument prototype would still apply. */
27823 #ifdef __cplusplus
27824 extern "C"
27825 #endif
27826 char XML_ParserCreate ();
27827 int
27828 main ()
27829 {
27830 return XML_ParserCreate ();
27831 ;
27832 return 0;
27833 }
27834 _ACEOF
27835 rm -f conftest.$ac_objext conftest$ac_exeext
27836 if { (ac_try="$ac_link"
27837 case "(($ac_try" in
27838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27839 *) ac_try_echo=$ac_try;;
27840 esac
27841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27842 (eval "$ac_link") 2>conftest.er1
27843 ac_status=$?
27844 grep -v '^ *+' conftest.er1 >conftest.err
27845 rm -f conftest.er1
27846 cat conftest.err >&5
27847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27848 (exit $ac_status); } && {
27849 test -z "$ac_c_werror_flag" ||
27850 test ! -s conftest.err
27851 } && test -s conftest$ac_exeext &&
27852 $as_test_x conftest$ac_exeext; then
27853 ac_cv_lib_expat_XML_ParserCreate=yes
27854 else
27855 echo "$as_me: failed program was:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27857
27858 ac_cv_lib_expat_XML_ParserCreate=no
27859 fi
27860
27861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27862 conftest$ac_exeext conftest.$ac_ext
27863 LIBS=$ac_check_lib_save_LIBS
27864 fi
27865 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27866 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27867 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27868 EXPAT_LINK=" -lexpat"
27869 fi
27870
27871 fi
27872 fi
27873 if test "x$EXPAT_LINK" = "x" ; then
27874 if test "$wxUSE_EXPAT" = "sys" ; then
27875 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27876 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27877 { (exit 1); exit 1; }; }
27878 else
27879 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27880 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27881 wxUSE_EXPAT=builtin
27882 fi
27883 else
27884 wxUSE_EXPAT=sys
27885 fi
27886 fi
27887 if test "$wxUSE_EXPAT" = "builtin" ; then
27888 subdirs="$subdirs src/expat"
27889
27890 fi
27891 fi
27892
27893
27894
27895 if test "$wxUSE_LIBMSPACK" != "no"; then
27896 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27897 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27898 if test "${ac_cv_header_mspack_h+set}" = set; then
27899 echo $ECHO_N "(cached) $ECHO_C" >&6
27900 else
27901 cat >conftest.$ac_ext <<_ACEOF
27902 /* confdefs.h. */
27903 _ACEOF
27904 cat confdefs.h >>conftest.$ac_ext
27905 cat >>conftest.$ac_ext <<_ACEOF
27906 /* end confdefs.h. */
27907
27908
27909 #include <mspack.h>
27910 _ACEOF
27911 rm -f conftest.$ac_objext
27912 if { (ac_try="$ac_compile"
27913 case "(($ac_try" in
27914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27915 *) ac_try_echo=$ac_try;;
27916 esac
27917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27918 (eval "$ac_compile") 2>conftest.er1
27919 ac_status=$?
27920 grep -v '^ *+' conftest.er1 >conftest.err
27921 rm -f conftest.er1
27922 cat conftest.err >&5
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); } && {
27925 test -z "$ac_c_werror_flag" ||
27926 test ! -s conftest.err
27927 } && test -s conftest.$ac_objext; then
27928 ac_cv_header_mspack_h=yes
27929 else
27930 echo "$as_me: failed program was:" >&5
27931 sed 's/^/| /' conftest.$ac_ext >&5
27932
27933 ac_cv_header_mspack_h=no
27934 fi
27935
27936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27937 fi
27938 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27939 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27940 if test $ac_cv_header_mspack_h = yes; then
27941 found_mspack_h=1
27942 fi
27943
27944
27945 if test "x$found_mspack_h" = "x1"; then
27946 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27947 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27948 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27949 echo $ECHO_N "(cached) $ECHO_C" >&6
27950 else
27951 ac_check_lib_save_LIBS=$LIBS
27952 LIBS="-lmspack $LIBS"
27953 cat >conftest.$ac_ext <<_ACEOF
27954 /* confdefs.h. */
27955 _ACEOF
27956 cat confdefs.h >>conftest.$ac_ext
27957 cat >>conftest.$ac_ext <<_ACEOF
27958 /* end confdefs.h. */
27959
27960 /* Override any GCC internal prototype to avoid an error.
27961 Use char because int might match the return type of a GCC
27962 builtin and then its argument prototype would still apply. */
27963 #ifdef __cplusplus
27964 extern "C"
27965 #endif
27966 char mspack_create_chm_decompressor ();
27967 int
27968 main ()
27969 {
27970 return mspack_create_chm_decompressor ();
27971 ;
27972 return 0;
27973 }
27974 _ACEOF
27975 rm -f conftest.$ac_objext conftest$ac_exeext
27976 if { (ac_try="$ac_link"
27977 case "(($ac_try" in
27978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27979 *) ac_try_echo=$ac_try;;
27980 esac
27981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27982 (eval "$ac_link") 2>conftest.er1
27983 ac_status=$?
27984 grep -v '^ *+' conftest.er1 >conftest.err
27985 rm -f conftest.er1
27986 cat conftest.err >&5
27987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27988 (exit $ac_status); } && {
27989 test -z "$ac_c_werror_flag" ||
27990 test ! -s conftest.err
27991 } && test -s conftest$ac_exeext &&
27992 $as_test_x conftest$ac_exeext; then
27993 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27994 else
27995 echo "$as_me: failed program was:" >&5
27996 sed 's/^/| /' conftest.$ac_ext >&5
27997
27998 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27999 fi
28000
28001 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28002 conftest$ac_exeext conftest.$ac_ext
28003 LIBS=$ac_check_lib_save_LIBS
28004 fi
28005 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28006 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
28007 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28008 MSPACK_LINK=" -lmspack"
28009 fi
28010
28011 fi
28012 if test "x$MSPACK_LINK" = "x" ; then
28013 wxUSE_LIBMSPACK=no
28014 fi
28015 fi
28016
28017 if test "$wxUSE_LIBMSPACK" != "no"; then
28018 cat >>confdefs.h <<\_ACEOF
28019 #define wxUSE_LIBMSPACK 1
28020 _ACEOF
28021
28022 fi
28023
28024
28025
28026 AFMINSTALL=
28027 WIN32INSTALL=
28028
28029 TOOLKIT=
28030 TOOLKIT_INCLUDE=
28031 WIDGET_SET=
28032
28033 if test "$USE_WIN32" = 1 ; then
28034
28035 for ac_header in w32api.h
28036 do
28037 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
28038 { echo "$as_me:$LINENO: checking for $ac_header" >&5
28039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
28040 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28041 echo $ECHO_N "(cached) $ECHO_C" >&6
28042 else
28043 cat >conftest.$ac_ext <<_ACEOF
28044 /* confdefs.h. */
28045 _ACEOF
28046 cat confdefs.h >>conftest.$ac_ext
28047 cat >>conftest.$ac_ext <<_ACEOF
28048 /* end confdefs.h. */
28049
28050
28051 #include <$ac_header>
28052 _ACEOF
28053 rm -f conftest.$ac_objext
28054 if { (ac_try="$ac_compile"
28055 case "(($ac_try" in
28056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28057 *) ac_try_echo=$ac_try;;
28058 esac
28059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28060 (eval "$ac_compile") 2>conftest.er1
28061 ac_status=$?
28062 grep -v '^ *+' conftest.er1 >conftest.err
28063 rm -f conftest.er1
28064 cat conftest.err >&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); } && {
28067 test -z "$ac_c_werror_flag" ||
28068 test ! -s conftest.err
28069 } && test -s conftest.$ac_objext; then
28070 eval "$as_ac_Header=yes"
28071 else
28072 echo "$as_me: failed program was:" >&5
28073 sed 's/^/| /' conftest.$ac_ext >&5
28074
28075 eval "$as_ac_Header=no"
28076 fi
28077
28078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28079 fi
28080 ac_res=`eval echo '${'$as_ac_Header'}'`
28081 { echo "$as_me:$LINENO: result: $ac_res" >&5
28082 echo "${ECHO_T}$ac_res" >&6; }
28083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28084 cat >>confdefs.h <<_ACEOF
28085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28086 _ACEOF
28087
28088 fi
28089
28090 done
28091
28092 { echo "$as_me:$LINENO: checking for windows.h" >&5
28093 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28094 if test "${ac_cv_header_windows_h+set}" = set; then
28095 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 else
28097 cat >conftest.$ac_ext <<_ACEOF
28098 /* confdefs.h. */
28099 _ACEOF
28100 cat confdefs.h >>conftest.$ac_ext
28101 cat >>conftest.$ac_ext <<_ACEOF
28102 /* end confdefs.h. */
28103
28104
28105 #include <windows.h>
28106 _ACEOF
28107 rm -f conftest.$ac_objext
28108 if { (ac_try="$ac_compile"
28109 case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28111 *) ac_try_echo=$ac_try;;
28112 esac
28113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_compile") 2>conftest.er1
28115 ac_status=$?
28116 grep -v '^ *+' conftest.er1 >conftest.err
28117 rm -f conftest.er1
28118 cat conftest.err >&5
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); } && {
28121 test -z "$ac_c_werror_flag" ||
28122 test ! -s conftest.err
28123 } && test -s conftest.$ac_objext; then
28124 ac_cv_header_windows_h=yes
28125 else
28126 echo "$as_me: failed program was:" >&5
28127 sed 's/^/| /' conftest.$ac_ext >&5
28128
28129 ac_cv_header_windows_h=no
28130 fi
28131
28132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28133 fi
28134 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28135 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28136 if test $ac_cv_header_windows_h = yes; then
28137 :
28138 else
28139
28140 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28141 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28142 { (exit 1); exit 1; }; }
28143
28144 fi
28145
28146
28147
28148 case "${host}" in
28149 x86_64-*-mingw32* )
28150 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28151 ;;
28152 * )
28153 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28154 ;;
28155 esac
28156 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28157 LIBS="$LIBS -loleacc"
28158 fi
28159
28160 case "${host}" in
28161 *-*-cygwin* )
28162 LIBS="$LIBS -lkernel32 -luser32"
28163 esac
28164
28165 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28166 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28167
28168 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28169
28170 WIN32INSTALL=win32install
28171
28172 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28173 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28174 if test "${ac_cv_header_pbt_h+set}" = set; then
28175 echo $ECHO_N "(cached) $ECHO_C" >&6
28176 else
28177 cat >conftest.$ac_ext <<_ACEOF
28178 /* confdefs.h. */
28179 _ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28183
28184
28185 #include <pbt.h>
28186 _ACEOF
28187 rm -f conftest.$ac_objext
28188 if { (ac_try="$ac_compile"
28189 case "(($ac_try" in
28190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28191 *) ac_try_echo=$ac_try;;
28192 esac
28193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28194 (eval "$ac_compile") 2>conftest.er1
28195 ac_status=$?
28196 grep -v '^ *+' conftest.er1 >conftest.err
28197 rm -f conftest.er1
28198 cat conftest.err >&5
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); } && {
28201 test -z "$ac_c_werror_flag" ||
28202 test ! -s conftest.err
28203 } && test -s conftest.$ac_objext; then
28204 ac_cv_header_pbt_h=yes
28205 else
28206 echo "$as_me: failed program was:" >&5
28207 sed 's/^/| /' conftest.$ac_ext >&5
28208
28209 ac_cv_header_pbt_h=no
28210 fi
28211
28212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28213 fi
28214 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28215 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28216 if test $ac_cv_header_pbt_h = yes; then
28217 :
28218 else
28219 cat >>confdefs.h <<\_ACEOF
28220 #define NEED_PBT_H 1
28221 _ACEOF
28222
28223 fi
28224
28225
28226 fi
28227
28228 if test "$wxUSE_GUI" = "yes"; then
28229 USE_GUI=1
28230
28231 GUI_TK_LIBRARY=
28232
28233 WXGTK12=
28234 WXGTK127=
28235 WXGTK2=
28236 WXGPE=
28237
28238 if test "$wxUSE_COCOA" = 1 ; then
28239 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28240 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28241 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28242 wxUSE_PRINTING_ARCHITECTURE=no
28243 fi
28244 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28245 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28246 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28247 wxUSE_DRAG_AND_DROP=no
28248 fi
28249 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28250 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28251 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28252 wxUSE_DRAGIMAGE=no
28253 fi
28254 fi
28255
28256 if test "$wxUSE_MSW" = 1 ; then
28257 TOOLKIT=MSW
28258 GUIDIST=MSW_DIST
28259
28260 case "${host}" in
28261 *-*-mingw32* )
28262 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28263 esac
28264 fi
28265
28266 if test "$wxUSE_GTK" = 1; then
28267 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28268 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28269
28270 gtk_version_cached=1
28271 if test "${wx_cv_lib_gtk+set}" = set; then
28272 echo $ECHO_N "(cached) $ECHO_C" >&6
28273 else
28274
28275 gtk_version_cached=0
28276 { echo "$as_me:$LINENO: result: " >&5
28277 echo "${ECHO_T}" >&6; }
28278
28279 GTK_MODULES=
28280 if test "$wxUSE_THREADS" = "yes"; then
28281 GTK_MODULES=gthread
28282 fi
28283
28284 wx_cv_lib_gtk=
28285 if test "x$wxGTK_VERSION" != "x1"
28286 then
28287 case "${host}" in
28288 *-*-solaris2* )
28289 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28290 enable_gtktest=no
28291 fi
28292 esac
28293
28294 # Check whether --enable-gtktest was given.
28295 if test "${enable_gtktest+set}" = set; then
28296 enableval=$enable_gtktest;
28297 else
28298 enable_gtktest=yes
28299 fi
28300
28301
28302 pkg_config_args=gtk+-2.0
28303 for module in . $GTK_MODULES
28304 do
28305 case "$module" in
28306 gthread)
28307 pkg_config_args="$pkg_config_args gthread-2.0"
28308 ;;
28309 esac
28310 done
28311
28312 no_gtk=""
28313
28314 # Extract the first word of "pkg-config", so it can be a program name with args.
28315 set dummy pkg-config; ac_word=$2
28316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28318 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28319 echo $ECHO_N "(cached) $ECHO_C" >&6
28320 else
28321 case $PKG_CONFIG in
28322 [\\/]* | ?:[\\/]*)
28323 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28324 ;;
28325 *)
28326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28327 for as_dir in $PATH
28328 do
28329 IFS=$as_save_IFS
28330 test -z "$as_dir" && as_dir=.
28331 for ac_exec_ext in '' $ac_executable_extensions; do
28332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28333 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28335 break 2
28336 fi
28337 done
28338 done
28339 IFS=$as_save_IFS
28340
28341 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28342 ;;
28343 esac
28344 fi
28345 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28346 if test -n "$PKG_CONFIG"; then
28347 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28348 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28349 else
28350 { echo "$as_me:$LINENO: result: no" >&5
28351 echo "${ECHO_T}no" >&6; }
28352 fi
28353
28354
28355
28356 if test x$PKG_CONFIG != xno ; then
28357 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28358 :
28359 else
28360 echo "*** pkg-config too old; version 0.7 or better required."
28361 no_gtk=yes
28362 PKG_CONFIG=no
28363 fi
28364 else
28365 no_gtk=yes
28366 fi
28367
28368 min_gtk_version=2.4.0
28369 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28370 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28371
28372 if test x$PKG_CONFIG != xno ; then
28373 ## don't try to run the test against uninstalled libtool libs
28374 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28375 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28376 enable_gtktest=no
28377 fi
28378
28379 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28380 :
28381 else
28382 no_gtk=yes
28383 fi
28384 fi
28385
28386 if test x"$no_gtk" = x ; then
28387 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28388 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28389 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28391 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28393 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28395 if test "x$enable_gtktest" = "xyes" ; then
28396 ac_save_CFLAGS="$CFLAGS"
28397 ac_save_LIBS="$LIBS"
28398 CFLAGS="$CFLAGS $GTK_CFLAGS"
28399 LIBS="$GTK_LIBS $LIBS"
28400 rm -f conf.gtktest
28401 if test "$cross_compiling" = yes; then
28402 echo $ac_n "cross compiling; assumed OK... $ac_c"
28403 else
28404 cat >conftest.$ac_ext <<_ACEOF
28405 /* confdefs.h. */
28406 _ACEOF
28407 cat confdefs.h >>conftest.$ac_ext
28408 cat >>conftest.$ac_ext <<_ACEOF
28409 /* end confdefs.h. */
28410
28411 #include <gtk/gtk.h>
28412 #include <stdio.h>
28413 #include <stdlib.h>
28414
28415 int
28416 main ()
28417 {
28418 int major, minor, micro;
28419 char *tmp_version;
28420
28421 system ("touch conf.gtktest");
28422
28423 /* HP/UX 9 (%@#!) writes to sscanf strings */
28424 tmp_version = g_strdup("$min_gtk_version");
28425 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28426 printf("%s, bad version string\n", "$min_gtk_version");
28427 exit(1);
28428 }
28429
28430 if ((gtk_major_version != $gtk_config_major_version) ||
28431 (gtk_minor_version != $gtk_config_minor_version) ||
28432 (gtk_micro_version != $gtk_config_micro_version))
28433 {
28434 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28435 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28436 gtk_major_version, gtk_minor_version, gtk_micro_version);
28437 printf ("*** was found! If pkg-config was correct, then it is best\n");
28438 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28439 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28440 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28441 printf("*** required on your system.\n");
28442 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28443 printf("*** to point to the correct configuration files\n");
28444 }
28445 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28446 (gtk_minor_version != GTK_MINOR_VERSION) ||
28447 (gtk_micro_version != GTK_MICRO_VERSION))
28448 {
28449 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28450 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28451 printf("*** library (version %d.%d.%d)\n",
28452 gtk_major_version, gtk_minor_version, gtk_micro_version);
28453 }
28454 else
28455 {
28456 if ((gtk_major_version > major) ||
28457 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28458 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28459 {
28460 return 0;
28461 }
28462 else
28463 {
28464 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28465 gtk_major_version, gtk_minor_version, gtk_micro_version);
28466 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28467 major, minor, micro);
28468 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28469 printf("***\n");
28470 printf("*** If you have already installed a sufficiently new version, this error\n");
28471 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28472 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28473 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28474 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28475 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28476 printf("*** so that the correct libraries are found at run-time))\n");
28477 }
28478 }
28479 return 1;
28480 }
28481
28482 _ACEOF
28483 rm -f conftest$ac_exeext
28484 if { (ac_try="$ac_link"
28485 case "(($ac_try" in
28486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28487 *) ac_try_echo=$ac_try;;
28488 esac
28489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28490 (eval "$ac_link") 2>&5
28491 ac_status=$?
28492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28493 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28494 { (case "(($ac_try" in
28495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28496 *) ac_try_echo=$ac_try;;
28497 esac
28498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28499 (eval "$ac_try") 2>&5
28500 ac_status=$?
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); }; }; then
28503 :
28504 else
28505 echo "$as_me: program exited with status $ac_status" >&5
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28508
28509 ( exit $ac_status )
28510 no_gtk=yes
28511 fi
28512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28513 fi
28514
28515
28516 CFLAGS="$ac_save_CFLAGS"
28517 LIBS="$ac_save_LIBS"
28518 fi
28519 fi
28520 if test "x$no_gtk" = x ; then
28521 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28522 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28523 wx_cv_lib_gtk=2.0
28524 else
28525 { echo "$as_me:$LINENO: result: no" >&5
28526 echo "${ECHO_T}no" >&6; }
28527 if test "$PKG_CONFIG" = "no" ; then
28528 echo "*** A new enough version of pkg-config was not found."
28529 echo "*** See http://pkgconfig.sourceforge.net"
28530 else
28531 if test -f conf.gtktest ; then
28532 :
28533 else
28534 echo "*** Could not run GTK+ test program, checking why..."
28535 ac_save_CFLAGS="$CFLAGS"
28536 ac_save_LIBS="$LIBS"
28537 CFLAGS="$CFLAGS $GTK_CFLAGS"
28538 LIBS="$LIBS $GTK_LIBS"
28539 cat >conftest.$ac_ext <<_ACEOF
28540 /* confdefs.h. */
28541 _ACEOF
28542 cat confdefs.h >>conftest.$ac_ext
28543 cat >>conftest.$ac_ext <<_ACEOF
28544 /* end confdefs.h. */
28545
28546 #include <gtk/gtk.h>
28547 #include <stdio.h>
28548
28549 int
28550 main ()
28551 {
28552 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28553 ;
28554 return 0;
28555 }
28556 _ACEOF
28557 rm -f conftest.$ac_objext conftest$ac_exeext
28558 if { (ac_try="$ac_link"
28559 case "(($ac_try" in
28560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28561 *) ac_try_echo=$ac_try;;
28562 esac
28563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28564 (eval "$ac_link") 2>conftest.er1
28565 ac_status=$?
28566 grep -v '^ *+' conftest.er1 >conftest.err
28567 rm -f conftest.er1
28568 cat conftest.err >&5
28569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570 (exit $ac_status); } && {
28571 test -z "$ac_c_werror_flag" ||
28572 test ! -s conftest.err
28573 } && test -s conftest$ac_exeext &&
28574 $as_test_x conftest$ac_exeext; then
28575 echo "*** The test program compiled, but did not run. This usually means"
28576 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28577 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28578 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28579 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28580 echo "*** is required on your system"
28581 echo "***"
28582 echo "*** If you have an old version installed, it is best to remove it, although"
28583 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28584 else
28585 echo "$as_me: failed program was:" >&5
28586 sed 's/^/| /' conftest.$ac_ext >&5
28587
28588 echo "*** The test program failed to compile or link. See the file config.log for the"
28589 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28590 fi
28591
28592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28593 conftest$ac_exeext conftest.$ac_ext
28594 CFLAGS="$ac_save_CFLAGS"
28595 LIBS="$ac_save_LIBS"
28596 fi
28597 fi
28598 GTK_CFLAGS=""
28599 GTK_LIBS=""
28600 :
28601 fi
28602
28603
28604 rm -f conf.gtktest
28605
28606
28607 case "${host}" in
28608 *-*-solaris2* )
28609 if test "$wxUSE_SHARED" != "yes"; then
28610 GTK_LIBS="$GTK_LIBS -lX11"
28611 fi
28612 esac
28613 fi
28614
28615 if test -z "$wx_cv_lib_gtk"; then
28616 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28617
28618 # Check whether --with-gtk-prefix was given.
28619 if test "${with_gtk_prefix+set}" = set; then
28620 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28621 else
28622 gtk_config_prefix=""
28623 fi
28624
28625
28626 # Check whether --with-gtk-exec-prefix was given.
28627 if test "${with_gtk_exec_prefix+set}" = set; then
28628 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28629 else
28630 gtk_config_exec_prefix=""
28631 fi
28632
28633 # Check whether --enable-gtktest was given.
28634 if test "${enable_gtktest+set}" = set; then
28635 enableval=$enable_gtktest;
28636 else
28637 enable_gtktest=yes
28638 fi
28639
28640
28641 for module in . $GTK_MODULES
28642 do
28643 case "$module" in
28644 gthread)
28645 gtk_config_args="$gtk_config_args gthread"
28646 ;;
28647 esac
28648 done
28649
28650 if test x$gtk_config_exec_prefix != x ; then
28651 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28652 if test x${GTK_CONFIG+set} != xset ; then
28653 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28654 fi
28655 fi
28656 if test x$gtk_config_prefix != x ; then
28657 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28658 if test x${GTK_CONFIG+set} != xset ; then
28659 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28660 fi
28661 fi
28662
28663 # Extract the first word of "gtk-config", so it can be a program name with args.
28664 set dummy gtk-config; ac_word=$2
28665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28667 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28668 echo $ECHO_N "(cached) $ECHO_C" >&6
28669 else
28670 case $GTK_CONFIG in
28671 [\\/]* | ?:[\\/]*)
28672 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28673 ;;
28674 *)
28675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28676 for as_dir in $PATH
28677 do
28678 IFS=$as_save_IFS
28679 test -z "$as_dir" && as_dir=.
28680 for ac_exec_ext in '' $ac_executable_extensions; do
28681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28682 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28684 break 2
28685 fi
28686 done
28687 done
28688 IFS=$as_save_IFS
28689
28690 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28691 ;;
28692 esac
28693 fi
28694 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28695 if test -n "$GTK_CONFIG"; then
28696 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28697 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28698 else
28699 { echo "$as_me:$LINENO: result: no" >&5
28700 echo "${ECHO_T}no" >&6; }
28701 fi
28702
28703
28704 min_gtk_version=1.2.7
28705 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28706 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28707 no_gtk=""
28708 if test "$GTK_CONFIG" = "no" ; then
28709 no_gtk=yes
28710 else
28711 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28712 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28713 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28714 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28715 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28716 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28717 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28719 if test "x$enable_gtktest" = "xyes" ; then
28720 ac_save_CFLAGS="$CFLAGS"
28721 ac_save_LIBS="$LIBS"
28722 CFLAGS="$CFLAGS $GTK_CFLAGS"
28723 LIBS="$GTK_LIBS $LIBS"
28724 rm -f conf.gtktest
28725 if test "$cross_compiling" = yes; then
28726 echo $ac_n "cross compiling; assumed OK... $ac_c"
28727 else
28728 cat >conftest.$ac_ext <<_ACEOF
28729 /* confdefs.h. */
28730 _ACEOF
28731 cat confdefs.h >>conftest.$ac_ext
28732 cat >>conftest.$ac_ext <<_ACEOF
28733 /* end confdefs.h. */
28734
28735 #include <gtk/gtk.h>
28736 #include <stdio.h>
28737 #include <stdlib.h>
28738
28739 int
28740 main ()
28741 {
28742 int major, minor, micro;
28743 char *tmp_version;
28744
28745 system ("touch conf.gtktest");
28746
28747 /* HP/UX 9 (%@#!) writes to sscanf strings */
28748 tmp_version = g_strdup("$min_gtk_version");
28749 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28750 printf("%s, bad version string\n", "$min_gtk_version");
28751 exit(1);
28752 }
28753
28754 if ((gtk_major_version != $gtk_config_major_version) ||
28755 (gtk_minor_version != $gtk_config_minor_version) ||
28756 (gtk_micro_version != $gtk_config_micro_version))
28757 {
28758 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28759 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28760 gtk_major_version, gtk_minor_version, gtk_micro_version);
28761 printf ("*** was found! If gtk-config was correct, then it is best\n");
28762 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28763 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28764 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28765 printf("*** required on your system.\n");
28766 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28767 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28768 printf("*** before re-running configure\n");
28769 }
28770 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28771 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28772 (gtk_minor_version != GTK_MINOR_VERSION) ||
28773 (gtk_micro_version != GTK_MICRO_VERSION))
28774 {
28775 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28776 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28777 printf("*** library (version %d.%d.%d)\n",
28778 gtk_major_version, gtk_minor_version, gtk_micro_version);
28779 }
28780 #endif /* defined (GTK_MAJOR_VERSION) ... */
28781 else
28782 {
28783 if ((gtk_major_version > major) ||
28784 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28785 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28786 {
28787 return 0;
28788 }
28789 else
28790 {
28791 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28792 gtk_major_version, gtk_minor_version, gtk_micro_version);
28793 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28794 major, minor, micro);
28795 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28796 printf("***\n");
28797 printf("*** If you have already installed a sufficiently new version, this error\n");
28798 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28799 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28800 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28801 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28802 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28803 printf("*** so that the correct libraries are found at run-time))\n");
28804 }
28805 }
28806 return 1;
28807 }
28808
28809 _ACEOF
28810 rm -f conftest$ac_exeext
28811 if { (ac_try="$ac_link"
28812 case "(($ac_try" in
28813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28814 *) ac_try_echo=$ac_try;;
28815 esac
28816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28817 (eval "$ac_link") 2>&5
28818 ac_status=$?
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28821 { (case "(($ac_try" in
28822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28823 *) ac_try_echo=$ac_try;;
28824 esac
28825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28826 (eval "$ac_try") 2>&5
28827 ac_status=$?
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); }; }; then
28830 :
28831 else
28832 echo "$as_me: program exited with status $ac_status" >&5
28833 echo "$as_me: failed program was:" >&5
28834 sed 's/^/| /' conftest.$ac_ext >&5
28835
28836 ( exit $ac_status )
28837 no_gtk=yes
28838 fi
28839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28840 fi
28841
28842
28843 CFLAGS="$ac_save_CFLAGS"
28844 LIBS="$ac_save_LIBS"
28845 fi
28846 fi
28847 if test "x$no_gtk" = x ; then
28848 { echo "$as_me:$LINENO: result: yes" >&5
28849 echo "${ECHO_T}yes" >&6; }
28850 wx_cv_lib_gtk=1.2.7
28851 else
28852 { echo "$as_me:$LINENO: result: no" >&5
28853 echo "${ECHO_T}no" >&6; }
28854 if test "$GTK_CONFIG" = "no" ; then
28855 echo "*** The gtk-config script installed by GTK could not be found"
28856 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28857 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28858 echo "*** full path to gtk-config."
28859 else
28860 if test -f conf.gtktest ; then
28861 :
28862 else
28863 echo "*** Could not run GTK test program, checking why..."
28864 CFLAGS="$CFLAGS $GTK_CFLAGS"
28865 LIBS="$LIBS $GTK_LIBS"
28866 cat >conftest.$ac_ext <<_ACEOF
28867 /* confdefs.h. */
28868 _ACEOF
28869 cat confdefs.h >>conftest.$ac_ext
28870 cat >>conftest.$ac_ext <<_ACEOF
28871 /* end confdefs.h. */
28872
28873 #include <gtk/gtk.h>
28874 #include <stdio.h>
28875
28876 int
28877 main ()
28878 {
28879 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28880 ;
28881 return 0;
28882 }
28883 _ACEOF
28884 rm -f conftest.$ac_objext conftest$ac_exeext
28885 if { (ac_try="$ac_link"
28886 case "(($ac_try" in
28887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28888 *) ac_try_echo=$ac_try;;
28889 esac
28890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28891 (eval "$ac_link") 2>conftest.er1
28892 ac_status=$?
28893 grep -v '^ *+' conftest.er1 >conftest.err
28894 rm -f conftest.er1
28895 cat conftest.err >&5
28896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28897 (exit $ac_status); } && {
28898 test -z "$ac_c_werror_flag" ||
28899 test ! -s conftest.err
28900 } && test -s conftest$ac_exeext &&
28901 $as_test_x conftest$ac_exeext; then
28902 echo "*** The test program compiled, but did not run. This usually means"
28903 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28904 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28905 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28906 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28907 echo "*** is required on your system"
28908 echo "***"
28909 echo "*** If you have an old version installed, it is best to remove it, although"
28910 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28911 echo "***"
28912 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28913 echo "*** came with the system with the command"
28914 echo "***"
28915 echo "*** rpm --erase --nodeps gtk gtk-devel"
28916 else
28917 echo "$as_me: failed program was:" >&5
28918 sed 's/^/| /' conftest.$ac_ext >&5
28919
28920 echo "*** The test program failed to compile or link. See the file config.log for the"
28921 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28922 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28923 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28924 fi
28925
28926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28927 conftest$ac_exeext conftest.$ac_ext
28928 CFLAGS="$ac_save_CFLAGS"
28929 LIBS="$ac_save_LIBS"
28930 fi
28931 fi
28932 GTK_CFLAGS=""
28933 GTK_LIBS=""
28934 :
28935 fi
28936
28937
28938 rm -f conf.gtktest
28939
28940
28941 if test -z "$wx_cv_lib_gtk"; then
28942
28943 # Check whether --with-gtk-prefix was given.
28944 if test "${with_gtk_prefix+set}" = set; then
28945 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28946 else
28947 gtk_config_prefix=""
28948 fi
28949
28950
28951 # Check whether --with-gtk-exec-prefix was given.
28952 if test "${with_gtk_exec_prefix+set}" = set; then
28953 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28954 else
28955 gtk_config_exec_prefix=""
28956 fi
28957
28958 # Check whether --enable-gtktest was given.
28959 if test "${enable_gtktest+set}" = set; then
28960 enableval=$enable_gtktest;
28961 else
28962 enable_gtktest=yes
28963 fi
28964
28965
28966 for module in . $GTK_MODULES
28967 do
28968 case "$module" in
28969 gthread)
28970 gtk_config_args="$gtk_config_args gthread"
28971 ;;
28972 esac
28973 done
28974
28975 if test x$gtk_config_exec_prefix != x ; then
28976 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28977 if test x${GTK_CONFIG+set} != xset ; then
28978 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28979 fi
28980 fi
28981 if test x$gtk_config_prefix != x ; then
28982 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28983 if test x${GTK_CONFIG+set} != xset ; then
28984 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28985 fi
28986 fi
28987
28988 # Extract the first word of "gtk-config", so it can be a program name with args.
28989 set dummy gtk-config; ac_word=$2
28990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28992 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28993 echo $ECHO_N "(cached) $ECHO_C" >&6
28994 else
28995 case $GTK_CONFIG in
28996 [\\/]* | ?:[\\/]*)
28997 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28998 ;;
28999 *)
29000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29001 for as_dir in $PATH
29002 do
29003 IFS=$as_save_IFS
29004 test -z "$as_dir" && as_dir=.
29005 for ac_exec_ext in '' $ac_executable_extensions; do
29006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29007 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29009 break 2
29010 fi
29011 done
29012 done
29013 IFS=$as_save_IFS
29014
29015 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29016 ;;
29017 esac
29018 fi
29019 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29020 if test -n "$GTK_CONFIG"; then
29021 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29022 echo "${ECHO_T}$GTK_CONFIG" >&6; }
29023 else
29024 { echo "$as_me:$LINENO: result: no" >&5
29025 echo "${ECHO_T}no" >&6; }
29026 fi
29027
29028
29029 min_gtk_version=1.2.3
29030 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29031 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
29032 no_gtk=""
29033 if test "$GTK_CONFIG" = "no" ; then
29034 no_gtk=yes
29035 else
29036 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29037 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29038 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29040 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29042 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29044 if test "x$enable_gtktest" = "xyes" ; then
29045 ac_save_CFLAGS="$CFLAGS"
29046 ac_save_LIBS="$LIBS"
29047 CFLAGS="$CFLAGS $GTK_CFLAGS"
29048 LIBS="$GTK_LIBS $LIBS"
29049 rm -f conf.gtktest
29050 if test "$cross_compiling" = yes; then
29051 echo $ac_n "cross compiling; assumed OK... $ac_c"
29052 else
29053 cat >conftest.$ac_ext <<_ACEOF
29054 /* confdefs.h. */
29055 _ACEOF
29056 cat confdefs.h >>conftest.$ac_ext
29057 cat >>conftest.$ac_ext <<_ACEOF
29058 /* end confdefs.h. */
29059
29060 #include <gtk/gtk.h>
29061 #include <stdio.h>
29062 #include <stdlib.h>
29063
29064 int
29065 main ()
29066 {
29067 int major, minor, micro;
29068 char *tmp_version;
29069
29070 system ("touch conf.gtktest");
29071
29072 /* HP/UX 9 (%@#!) writes to sscanf strings */
29073 tmp_version = g_strdup("$min_gtk_version");
29074 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29075 printf("%s, bad version string\n", "$min_gtk_version");
29076 exit(1);
29077 }
29078
29079 if ((gtk_major_version != $gtk_config_major_version) ||
29080 (gtk_minor_version != $gtk_config_minor_version) ||
29081 (gtk_micro_version != $gtk_config_micro_version))
29082 {
29083 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29084 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29085 gtk_major_version, gtk_minor_version, gtk_micro_version);
29086 printf ("*** was found! If gtk-config was correct, then it is best\n");
29087 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29088 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29089 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29090 printf("*** required on your system.\n");
29091 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29092 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29093 printf("*** before re-running configure\n");
29094 }
29095 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29096 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29097 (gtk_minor_version != GTK_MINOR_VERSION) ||
29098 (gtk_micro_version != GTK_MICRO_VERSION))
29099 {
29100 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29101 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29102 printf("*** library (version %d.%d.%d)\n",
29103 gtk_major_version, gtk_minor_version, gtk_micro_version);
29104 }
29105 #endif /* defined (GTK_MAJOR_VERSION) ... */
29106 else
29107 {
29108 if ((gtk_major_version > major) ||
29109 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29110 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29111 {
29112 return 0;
29113 }
29114 else
29115 {
29116 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29117 gtk_major_version, gtk_minor_version, gtk_micro_version);
29118 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29119 major, minor, micro);
29120 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29121 printf("***\n");
29122 printf("*** If you have already installed a sufficiently new version, this error\n");
29123 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29124 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29125 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29126 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29127 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29128 printf("*** so that the correct libraries are found at run-time))\n");
29129 }
29130 }
29131 return 1;
29132 }
29133
29134 _ACEOF
29135 rm -f conftest$ac_exeext
29136 if { (ac_try="$ac_link"
29137 case "(($ac_try" in
29138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29139 *) ac_try_echo=$ac_try;;
29140 esac
29141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29142 (eval "$ac_link") 2>&5
29143 ac_status=$?
29144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29145 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29146 { (case "(($ac_try" in
29147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29148 *) ac_try_echo=$ac_try;;
29149 esac
29150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29151 (eval "$ac_try") 2>&5
29152 ac_status=$?
29153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29154 (exit $ac_status); }; }; then
29155 :
29156 else
29157 echo "$as_me: program exited with status $ac_status" >&5
29158 echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.$ac_ext >&5
29160
29161 ( exit $ac_status )
29162 no_gtk=yes
29163 fi
29164 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29165 fi
29166
29167
29168 CFLAGS="$ac_save_CFLAGS"
29169 LIBS="$ac_save_LIBS"
29170 fi
29171 fi
29172 if test "x$no_gtk" = x ; then
29173 { echo "$as_me:$LINENO: result: yes" >&5
29174 echo "${ECHO_T}yes" >&6; }
29175 wx_cv_lib_gtk=1.2.3
29176 else
29177 { echo "$as_me:$LINENO: result: no" >&5
29178 echo "${ECHO_T}no" >&6; }
29179 if test "$GTK_CONFIG" = "no" ; then
29180 echo "*** The gtk-config script installed by GTK could not be found"
29181 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29182 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29183 echo "*** full path to gtk-config."
29184 else
29185 if test -f conf.gtktest ; then
29186 :
29187 else
29188 echo "*** Could not run GTK test program, checking why..."
29189 CFLAGS="$CFLAGS $GTK_CFLAGS"
29190 LIBS="$LIBS $GTK_LIBS"
29191 cat >conftest.$ac_ext <<_ACEOF
29192 /* confdefs.h. */
29193 _ACEOF
29194 cat confdefs.h >>conftest.$ac_ext
29195 cat >>conftest.$ac_ext <<_ACEOF
29196 /* end confdefs.h. */
29197
29198 #include <gtk/gtk.h>
29199 #include <stdio.h>
29200
29201 int
29202 main ()
29203 {
29204 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29205 ;
29206 return 0;
29207 }
29208 _ACEOF
29209 rm -f conftest.$ac_objext conftest$ac_exeext
29210 if { (ac_try="$ac_link"
29211 case "(($ac_try" in
29212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29213 *) ac_try_echo=$ac_try;;
29214 esac
29215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29216 (eval "$ac_link") 2>conftest.er1
29217 ac_status=$?
29218 grep -v '^ *+' conftest.er1 >conftest.err
29219 rm -f conftest.er1
29220 cat conftest.err >&5
29221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29222 (exit $ac_status); } && {
29223 test -z "$ac_c_werror_flag" ||
29224 test ! -s conftest.err
29225 } && test -s conftest$ac_exeext &&
29226 $as_test_x conftest$ac_exeext; then
29227 echo "*** The test program compiled, but did not run. This usually means"
29228 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29229 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29230 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29231 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29232 echo "*** is required on your system"
29233 echo "***"
29234 echo "*** If you have an old version installed, it is best to remove it, although"
29235 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29236 echo "***"
29237 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29238 echo "*** came with the system with the command"
29239 echo "***"
29240 echo "*** rpm --erase --nodeps gtk gtk-devel"
29241 else
29242 echo "$as_me: failed program was:" >&5
29243 sed 's/^/| /' conftest.$ac_ext >&5
29244
29245 echo "*** The test program failed to compile or link. See the file config.log for the"
29246 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29247 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29248 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29249 fi
29250
29251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29252 conftest$ac_exeext conftest.$ac_ext
29253 CFLAGS="$ac_save_CFLAGS"
29254 LIBS="$ac_save_LIBS"
29255 fi
29256 fi
29257 GTK_CFLAGS=""
29258 GTK_LIBS=""
29259 :
29260 fi
29261
29262
29263 rm -f conf.gtktest
29264
29265 fi
29266 fi
29267 fi
29268
29269 if test -z "$wx_cv_lib_gtk"; then
29270 wx_cv_lib_gtk=none
29271 else
29272 wx_cv_cflags_gtk=$GTK_CFLAGS
29273 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29274 fi
29275
29276
29277 fi
29278
29279
29280 if test "$gtk_version_cached" = 1; then
29281 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29282 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29283 fi
29284
29285 case "$wx_cv_lib_gtk" in
29286 2.0) WXGTK2=1
29287 TOOLKIT_VERSION=2
29288 ;;
29289 1.2.7) WXGTK127=1
29290 WXGTK12=1
29291 ;;
29292 1.2.3) WXGTK12=1
29293 ;;
29294 *) { { echo "$as_me:$LINENO: error:
29295 The development files for GTK+ were not found. For GTK+ 2, please
29296 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29297 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29298 and that the version is 1.2.3 or above. Also check that the
29299 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29300 --libs' are in the LD_LIBRARY_PATH or equivalent.
29301 " >&5
29302 echo "$as_me: error:
29303 The development files for GTK+ were not found. For GTK+ 2, please
29304 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29305 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29306 and that the version is 1.2.3 or above. Also check that the
29307 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29308 --libs' are in the LD_LIBRARY_PATH or equivalent.
29309 " >&2;}
29310 { (exit 1); exit 1; }; }
29311 ;;
29312 esac
29313
29314 if test "$WXGTK2" = 1; then
29315 save_CFLAGS="$CFLAGS"
29316 save_LIBS="$LIBS"
29317 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29318 LIBS="$LIBS $wx_cv_libs_gtk"
29319
29320 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29321 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29322 cat >conftest.$ac_ext <<_ACEOF
29323 /* confdefs.h. */
29324 _ACEOF
29325 cat confdefs.h >>conftest.$ac_ext
29326 cat >>conftest.$ac_ext <<_ACEOF
29327 /* end confdefs.h. */
29328
29329 #include <gtk/gtk.h>
29330
29331 int
29332 main ()
29333 {
29334
29335 #if !GTK_CHECK_VERSION(2,10,0)
29336 Not GTK+ 2.10
29337 #endif
29338
29339 ;
29340 return 0;
29341 }
29342 _ACEOF
29343 rm -f conftest.$ac_objext
29344 if { (ac_try="$ac_compile"
29345 case "(($ac_try" in
29346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29347 *) ac_try_echo=$ac_try;;
29348 esac
29349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29350 (eval "$ac_compile") 2>conftest.er1
29351 ac_status=$?
29352 grep -v '^ *+' conftest.er1 >conftest.err
29353 rm -f conftest.er1
29354 cat conftest.err >&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } && {
29357 test -z "$ac_c_werror_flag" ||
29358 test ! -s conftest.err
29359 } && test -s conftest.$ac_objext; then
29360
29361 cat >>confdefs.h <<\_ACEOF
29362 #define __WXGTK210__ 1
29363 _ACEOF
29364
29365 cat >>confdefs.h <<\_ACEOF
29366 #define __WXGTK26__ 1
29367 _ACEOF
29368
29369 { echo "$as_me:$LINENO: result: yes" >&5
29370 echo "${ECHO_T}yes" >&6; }
29371 ac_wxgtk210=1
29372
29373 else
29374 echo "$as_me: failed program was:" >&5
29375 sed 's/^/| /' conftest.$ac_ext >&5
29376
29377
29378 { echo "$as_me:$LINENO: result: no" >&5
29379 echo "${ECHO_T}no" >&6; }
29380 ac_wxgtk210=0
29381
29382 fi
29383
29384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29385
29386 if test "$ac_wxgtk210" = 0; then
29387 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29388 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29389 cat >conftest.$ac_ext <<_ACEOF
29390 /* confdefs.h. */
29391 _ACEOF
29392 cat confdefs.h >>conftest.$ac_ext
29393 cat >>conftest.$ac_ext <<_ACEOF
29394 /* end confdefs.h. */
29395
29396 #include <gtk/gtk.h>
29397
29398 int
29399 main ()
29400 {
29401
29402 #if !GTK_CHECK_VERSION(2,6,0)
29403 Not GTK+ 2.6
29404 #endif
29405
29406 ;
29407 return 0;
29408 }
29409 _ACEOF
29410 rm -f conftest.$ac_objext
29411 if { (ac_try="$ac_compile"
29412 case "(($ac_try" in
29413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29414 *) ac_try_echo=$ac_try;;
29415 esac
29416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29417 (eval "$ac_compile") 2>conftest.er1
29418 ac_status=$?
29419 grep -v '^ *+' conftest.er1 >conftest.err
29420 rm -f conftest.er1
29421 cat conftest.err >&5
29422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29423 (exit $ac_status); } && {
29424 test -z "$ac_c_werror_flag" ||
29425 test ! -s conftest.err
29426 } && test -s conftest.$ac_objext; then
29427
29428 cat >>confdefs.h <<\_ACEOF
29429 #define __WXGTK26__ 1
29430 _ACEOF
29431
29432 { echo "$as_me:$LINENO: result: yes" >&5
29433 echo "${ECHO_T}yes" >&6; }
29434 ac_wxgtk26=1
29435
29436 else
29437 echo "$as_me: failed program was:" >&5
29438 sed 's/^/| /' conftest.$ac_ext >&5
29439
29440
29441 { echo "$as_me:$LINENO: result: no" >&5
29442 echo "${ECHO_T}no" >&6; }
29443 ac_wxgtk26=0
29444
29445 fi
29446
29447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29448 fi
29449
29450 CFLAGS="$save_CFLAGS"
29451 LIBS="$save_LIBS"
29452 else
29453 if test "$wxUSE_UNICODE" = "yes"; then
29454 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29455 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29456 wxUSE_UNICODE=no
29457 fi
29458
29459 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29460 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29461 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29462 echo $ECHO_N "(cached) $ECHO_C" >&6
29463 else
29464 ac_check_lib_save_LIBS=$LIBS
29465 LIBS="-lgdk $LIBS"
29466 cat >conftest.$ac_ext <<_ACEOF
29467 /* confdefs.h. */
29468 _ACEOF
29469 cat confdefs.h >>conftest.$ac_ext
29470 cat >>conftest.$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29472
29473 /* Override any GCC internal prototype to avoid an error.
29474 Use char because int might match the return type of a GCC
29475 builtin and then its argument prototype would still apply. */
29476 #ifdef __cplusplus
29477 extern "C"
29478 #endif
29479 char gdk_im_open ();
29480 int
29481 main ()
29482 {
29483 return gdk_im_open ();
29484 ;
29485 return 0;
29486 }
29487 _ACEOF
29488 rm -f conftest.$ac_objext conftest$ac_exeext
29489 if { (ac_try="$ac_link"
29490 case "(($ac_try" in
29491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29492 *) ac_try_echo=$ac_try;;
29493 esac
29494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29495 (eval "$ac_link") 2>conftest.er1
29496 ac_status=$?
29497 grep -v '^ *+' conftest.er1 >conftest.err
29498 rm -f conftest.er1
29499 cat conftest.err >&5
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); } && {
29502 test -z "$ac_c_werror_flag" ||
29503 test ! -s conftest.err
29504 } && test -s conftest$ac_exeext &&
29505 $as_test_x conftest$ac_exeext; then
29506 ac_cv_lib_gdk_gdk_im_open=yes
29507 else
29508 echo "$as_me: failed program was:" >&5
29509 sed 's/^/| /' conftest.$ac_ext >&5
29510
29511 ac_cv_lib_gdk_gdk_im_open=no
29512 fi
29513
29514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29515 conftest$ac_exeext conftest.$ac_ext
29516 LIBS=$ac_check_lib_save_LIBS
29517 fi
29518 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29519 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29520 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29521 cat >>confdefs.h <<\_ACEOF
29522 #define HAVE_XIM 1
29523 _ACEOF
29524
29525 fi
29526
29527
29528 if test "$USE_DARWIN" != 1; then
29529
29530 for ac_func in poll
29531 do
29532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29533 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29535 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29536 echo $ECHO_N "(cached) $ECHO_C" >&6
29537 else
29538 cat >conftest.$ac_ext <<_ACEOF
29539 /* confdefs.h. */
29540 _ACEOF
29541 cat confdefs.h >>conftest.$ac_ext
29542 cat >>conftest.$ac_ext <<_ACEOF
29543 /* end confdefs.h. */
29544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29546 #define $ac_func innocuous_$ac_func
29547
29548 /* System header to define __stub macros and hopefully few prototypes,
29549 which can conflict with char $ac_func (); below.
29550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29551 <limits.h> exists even on freestanding compilers. */
29552
29553 #ifdef __STDC__
29554 # include <limits.h>
29555 #else
29556 # include <assert.h>
29557 #endif
29558
29559 #undef $ac_func
29560
29561 /* Override any GCC internal prototype to avoid an error.
29562 Use char because int might match the return type of a GCC
29563 builtin and then its argument prototype would still apply. */
29564 #ifdef __cplusplus
29565 extern "C"
29566 #endif
29567 char $ac_func ();
29568 /* The GNU C library defines this for functions which it implements
29569 to always fail with ENOSYS. Some functions are actually named
29570 something starting with __ and the normal name is an alias. */
29571 #if defined __stub_$ac_func || defined __stub___$ac_func
29572 choke me
29573 #endif
29574
29575 int
29576 main ()
29577 {
29578 return $ac_func ();
29579 ;
29580 return 0;
29581 }
29582 _ACEOF
29583 rm -f conftest.$ac_objext conftest$ac_exeext
29584 if { (ac_try="$ac_link"
29585 case "(($ac_try" in
29586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29587 *) ac_try_echo=$ac_try;;
29588 esac
29589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29590 (eval "$ac_link") 2>conftest.er1
29591 ac_status=$?
29592 grep -v '^ *+' conftest.er1 >conftest.err
29593 rm -f conftest.er1
29594 cat conftest.err >&5
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); } && {
29597 test -z "$ac_c_werror_flag" ||
29598 test ! -s conftest.err
29599 } && test -s conftest$ac_exeext &&
29600 $as_test_x conftest$ac_exeext; then
29601 eval "$as_ac_var=yes"
29602 else
29603 echo "$as_me: failed program was:" >&5
29604 sed 's/^/| /' conftest.$ac_ext >&5
29605
29606 eval "$as_ac_var=no"
29607 fi
29608
29609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29610 conftest$ac_exeext conftest.$ac_ext
29611 fi
29612 ac_res=`eval echo '${'$as_ac_var'}'`
29613 { echo "$as_me:$LINENO: result: $ac_res" >&5
29614 echo "${ECHO_T}$ac_res" >&6; }
29615 if test `eval echo '${'$as_ac_var'}'` = yes; then
29616 cat >>confdefs.h <<_ACEOF
29617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29618 _ACEOF
29619
29620 fi
29621 done
29622
29623 fi
29624 fi
29625
29626 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29627 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29628
29629 AFMINSTALL=afminstall
29630 TOOLKIT=GTK
29631 GUIDIST=GTK_DIST
29632
29633 if test "$wxUSE_GPE" = "yes"; then
29634 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29635 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29636
29637 ac_find_libraries=
29638 for ac_dir in $SEARCH_LIB;
29639 do
29640 for ac_extension in a so sl dylib dll.a; do
29641 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29642 ac_find_libraries=$ac_dir
29643 break 2
29644 fi
29645 done
29646 done
29647
29648 if test "$ac_find_libraries" != "" ; then
29649
29650 if test "$ac_find_libraries" = "default location"; then
29651 ac_path_to_link=""
29652 else
29653 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29654 result=$?
29655 if test $result = 0; then
29656 ac_path_to_link=""
29657 else
29658 ac_path_to_link=" -L$ac_find_libraries"
29659 fi
29660 fi
29661
29662 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29663 WXGPE=1
29664 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29665 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29666 else
29667 { echo "$as_me:$LINENO: result: not found" >&5
29668 echo "${ECHO_T}not found" >&6; }
29669 fi
29670
29671 fi
29672 fi
29673
29674 if test "$wxUSE_MGL" = 1; then
29675 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29676 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29677 if test "x$MGL_ROOT" = x ; then
29678 { echo "$as_me:$LINENO: result: not found" >&5
29679 echo "${ECHO_T}not found" >&6; }
29680 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29681 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29682 { (exit 1); exit 1; }; }
29683 else
29684 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29685 echo "${ECHO_T}$MGL_ROOT" >&6; }
29686 fi
29687
29688 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29689 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29690 case "${host}" in
29691 *-*-linux* )
29692 if test "x$wxUSE_SHARED" = xyes ; then
29693 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29694 else
29695 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29696 fi
29697 ;;
29698 *-pc-msdosdjgpp )
29699 mgl_os_candidates="dos32/dj2"
29700 ;;
29701 *)
29702 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29703 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29704 { (exit 1); exit 1; }; }
29705 esac
29706
29707 mgl_lib_type=""
29708 mgl_os=""
29709
29710 for mgl_os_i in $mgl_os_candidates ; do
29711 if test "x$mgl_os" = x ; then
29712 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29713 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29714 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29715 mgl_lib_type=debug
29716 mgl_os=$mgl_os_i
29717 fi
29718 fi
29719 if test "x$mgl_lib_type" = x ; then
29720 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29721 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29722 mgl_lib_type=release
29723 mgl_os=$mgl_os_i
29724 fi
29725 fi
29726 fi
29727 done
29728
29729 if test "x$mgl_os" = x ; then
29730 { echo "$as_me:$LINENO: result: not found" >&5
29731 echo "${ECHO_T}not found" >&6; }
29732 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29733 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29734 { (exit 1); exit 1; }; }
29735 fi
29736 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29737 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29738
29739 wxUSE_UNIVERSAL="yes"
29740
29741 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29742 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29743
29744 AFMINSTALL=afminstall
29745 TOOLKIT=MGL
29746 GUIDIST=MGL_DIST
29747 fi
29748
29749 if test "$wxUSE_DFB" = 1; then
29750
29751
29752 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29753 if test -n "$ac_tool_prefix"; then
29754 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29755 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29758 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29759 echo $ECHO_N "(cached) $ECHO_C" >&6
29760 else
29761 case $PKG_CONFIG in
29762 [\\/]* | ?:[\\/]*)
29763 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29764 ;;
29765 *)
29766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29767 for as_dir in $PATH
29768 do
29769 IFS=$as_save_IFS
29770 test -z "$as_dir" && as_dir=.
29771 for ac_exec_ext in '' $ac_executable_extensions; do
29772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29773 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29775 break 2
29776 fi
29777 done
29778 done
29779 IFS=$as_save_IFS
29780
29781 ;;
29782 esac
29783 fi
29784 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29785 if test -n "$PKG_CONFIG"; then
29786 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29787 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29788 else
29789 { echo "$as_me:$LINENO: result: no" >&5
29790 echo "${ECHO_T}no" >&6; }
29791 fi
29792
29793
29794 fi
29795 if test -z "$ac_cv_path_PKG_CONFIG"; then
29796 ac_pt_PKG_CONFIG=$PKG_CONFIG
29797 # Extract the first word of "pkg-config", so it can be a program name with args.
29798 set dummy pkg-config; ac_word=$2
29799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29801 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29802 echo $ECHO_N "(cached) $ECHO_C" >&6
29803 else
29804 case $ac_pt_PKG_CONFIG in
29805 [\\/]* | ?:[\\/]*)
29806 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29807 ;;
29808 *)
29809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29810 for as_dir in $PATH
29811 do
29812 IFS=$as_save_IFS
29813 test -z "$as_dir" && as_dir=.
29814 for ac_exec_ext in '' $ac_executable_extensions; do
29815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29816 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29818 break 2
29819 fi
29820 done
29821 done
29822 IFS=$as_save_IFS
29823
29824 ;;
29825 esac
29826 fi
29827 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29828 if test -n "$ac_pt_PKG_CONFIG"; then
29829 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29830 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29831 else
29832 { echo "$as_me:$LINENO: result: no" >&5
29833 echo "${ECHO_T}no" >&6; }
29834 fi
29835
29836 if test "x$ac_pt_PKG_CONFIG" = x; then
29837 PKG_CONFIG=""
29838 else
29839 case $cross_compiling:$ac_tool_warned in
29840 yes:)
29841 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29842 whose name does not start with the host triplet. If you think this
29843 configuration is useful to you, please write to autoconf@gnu.org." >&5
29844 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29845 whose name does not start with the host triplet. If you think this
29846 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29847 ac_tool_warned=yes ;;
29848 esac
29849 PKG_CONFIG=$ac_pt_PKG_CONFIG
29850 fi
29851 else
29852 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29853 fi
29854
29855 fi
29856 if test -n "$PKG_CONFIG"; then
29857 _pkg_min_version=0.9.0
29858 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29859 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29860 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29861 { echo "$as_me:$LINENO: result: yes" >&5
29862 echo "${ECHO_T}yes" >&6; }
29863 else
29864 { echo "$as_me:$LINENO: result: no" >&5
29865 echo "${ECHO_T}no" >&6; }
29866 PKG_CONFIG=""
29867 fi
29868
29869 fi
29870
29871
29872 pkg_failed=no
29873 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29874 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29875
29876 if test -n "$PKG_CONFIG"; then
29877 if test -n "$DIRECTFB_CFLAGS"; then
29878 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29879 else
29880 if test -n "$PKG_CONFIG" && \
29881 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29882 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29883 ac_status=$?
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); }; then
29886 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29887 else
29888 pkg_failed=yes
29889 fi
29890 fi
29891 else
29892 pkg_failed=untried
29893 fi
29894 if test -n "$PKG_CONFIG"; then
29895 if test -n "$DIRECTFB_LIBS"; then
29896 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29897 else
29898 if test -n "$PKG_CONFIG" && \
29899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29900 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29901 ac_status=$?
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; then
29904 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29905 else
29906 pkg_failed=yes
29907 fi
29908 fi
29909 else
29910 pkg_failed=untried
29911 fi
29912
29913
29914
29915 if test $pkg_failed = yes; then
29916
29917 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29918 _pkg_short_errors_supported=yes
29919 else
29920 _pkg_short_errors_supported=no
29921 fi
29922 if test $_pkg_short_errors_supported = yes; then
29923 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29924 else
29925 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29926 fi
29927 # Put the nasty error message in config.log where it belongs
29928 echo "$DIRECTFB_PKG_ERRORS" >&5
29929
29930
29931 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29932 echo "$as_me: error: DirectFB not found." >&2;}
29933 { (exit 1); exit 1; }; }
29934
29935
29936 elif test $pkg_failed = untried; then
29937
29938 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29939 echo "$as_me: error: DirectFB not found." >&2;}
29940 { (exit 1); exit 1; }; }
29941
29942
29943 else
29944 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29945 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29946 { echo "$as_me:$LINENO: result: yes" >&5
29947 echo "${ECHO_T}yes" >&6; }
29948
29949 wxUSE_UNIVERSAL="yes"
29950 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29951 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29952 TOOLKIT=DFB
29953 GUIDIST=DFB_DIST
29954
29955 fi
29956 fi
29957
29958 if test "$wxUSE_MICROWIN" = 1; then
29959 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29960 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29961 if test "x$MICROWINDOWS" = x ; then
29962 { echo "$as_me:$LINENO: result: not found" >&5
29963 echo "${ECHO_T}not found" >&6; }
29964 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29965 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29966 { (exit 1); exit 1; }; }
29967 else
29968 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29969 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29970 fi
29971
29972 if test -f $MICROWINDOWS/lib/libmwin.a; then
29973 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29974 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29975 else
29976 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29977 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29978 { (exit 1); exit 1; }; }
29979 fi
29980
29981 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29982 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29983
29984 wxUSE_UNIVERSAL="yes"
29985
29986 AFMINSTALL=afminstall
29987 TOOLKIT=MICROWIN
29988 GUIDIST=MICROWIN_DIST
29989
29990 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29991 fi
29992
29993 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29994 { echo "$as_me:$LINENO: checking for X" >&5
29995 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29996
29997
29998 # Check whether --with-x was given.
29999 if test "${with_x+set}" = set; then
30000 withval=$with_x;
30001 fi
30002
30003 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30004 if test "x$with_x" = xno; then
30005 # The user explicitly disabled X.
30006 have_x=disabled
30007 else
30008 case $x_includes,$x_libraries in #(
30009 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
30010 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
30011 { (exit 1); exit 1; }; };; #(
30012 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
30013 echo $ECHO_N "(cached) $ECHO_C" >&6
30014 else
30015 # One or both of the vars are not set, and there is no cached value.
30016 ac_x_includes=no ac_x_libraries=no
30017 rm -f -r conftest.dir
30018 if mkdir conftest.dir; then
30019 cd conftest.dir
30020 cat >Imakefile <<'_ACEOF'
30021 incroot:
30022 @echo incroot='${INCROOT}'
30023 usrlibdir:
30024 @echo usrlibdir='${USRLIBDIR}'
30025 libdir:
30026 @echo libdir='${LIBDIR}'
30027 _ACEOF
30028 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
30029 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30030 for ac_var in incroot usrlibdir libdir; do
30031 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
30032 done
30033 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30034 for ac_extension in a so sl; do
30035 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
30036 test -f "$ac_im_libdir/libX11.$ac_extension"; then
30037 ac_im_usrlibdir=$ac_im_libdir; break
30038 fi
30039 done
30040 # Screen out bogus values from the imake configuration. They are
30041 # bogus both because they are the default anyway, and because
30042 # using them would break gcc on systems where it needs fixed includes.
30043 case $ac_im_incroot in
30044 /usr/include) ac_x_includes= ;;
30045 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30046 esac
30047 case $ac_im_usrlibdir in
30048 /usr/lib | /lib) ;;
30049 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30050 esac
30051 fi
30052 cd ..
30053 rm -f -r conftest.dir
30054 fi
30055
30056 # Standard set of common directories for X headers.
30057 # Check X11 before X11Rn because it is often a symlink to the current release.
30058 ac_x_header_dirs='
30059 /usr/X11/include
30060 /usr/X11R6/include
30061 /usr/X11R5/include
30062 /usr/X11R4/include
30063
30064 /usr/include/X11
30065 /usr/include/X11R6
30066 /usr/include/X11R5
30067 /usr/include/X11R4
30068
30069 /usr/local/X11/include
30070 /usr/local/X11R6/include
30071 /usr/local/X11R5/include
30072 /usr/local/X11R4/include
30073
30074 /usr/local/include/X11
30075 /usr/local/include/X11R6
30076 /usr/local/include/X11R5
30077 /usr/local/include/X11R4
30078
30079 /usr/X386/include
30080 /usr/x386/include
30081 /usr/XFree86/include/X11
30082
30083 /usr/include
30084 /usr/local/include
30085 /usr/unsupported/include
30086 /usr/athena/include
30087 /usr/local/x11r5/include
30088 /usr/lpp/Xamples/include
30089
30090 /usr/openwin/include
30091 /usr/openwin/share/include'
30092
30093 if test "$ac_x_includes" = no; then
30094 # Guess where to find include files, by looking for Xlib.h.
30095 # First, try using that file with no special directory specified.
30096 cat >conftest.$ac_ext <<_ACEOF
30097 /* confdefs.h. */
30098 _ACEOF
30099 cat confdefs.h >>conftest.$ac_ext
30100 cat >>conftest.$ac_ext <<_ACEOF
30101 /* end confdefs.h. */
30102 #include <X11/Xlib.h>
30103 _ACEOF
30104 if { (ac_try="$ac_cpp conftest.$ac_ext"
30105 case "(($ac_try" in
30106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30107 *) ac_try_echo=$ac_try;;
30108 esac
30109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30110 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30111 ac_status=$?
30112 grep -v '^ *+' conftest.er1 >conftest.err
30113 rm -f conftest.er1
30114 cat conftest.err >&5
30115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30116 (exit $ac_status); } >/dev/null && {
30117 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30118 test ! -s conftest.err
30119 }; then
30120 # We can compile using X headers with no special include directory.
30121 ac_x_includes=
30122 else
30123 echo "$as_me: failed program was:" >&5
30124 sed 's/^/| /' conftest.$ac_ext >&5
30125
30126 for ac_dir in $ac_x_header_dirs; do
30127 if test -r "$ac_dir/X11/Xlib.h"; then
30128 ac_x_includes=$ac_dir
30129 break
30130 fi
30131 done
30132 fi
30133
30134 rm -f conftest.err conftest.$ac_ext
30135 fi # $ac_x_includes = no
30136
30137 if test "$ac_x_libraries" = no; then
30138 # Check for the libraries.
30139 # See if we find them without any special options.
30140 # Don't add to $LIBS permanently.
30141 ac_save_LIBS=$LIBS
30142 LIBS="-lX11 $LIBS"
30143 cat >conftest.$ac_ext <<_ACEOF
30144 /* confdefs.h. */
30145 _ACEOF
30146 cat confdefs.h >>conftest.$ac_ext
30147 cat >>conftest.$ac_ext <<_ACEOF
30148 /* end confdefs.h. */
30149 #include <X11/Xlib.h>
30150 int
30151 main ()
30152 {
30153 XrmInitialize ()
30154 ;
30155 return 0;
30156 }
30157 _ACEOF
30158 rm -f conftest.$ac_objext conftest$ac_exeext
30159 if { (ac_try="$ac_link"
30160 case "(($ac_try" in
30161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30162 *) ac_try_echo=$ac_try;;
30163 esac
30164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30165 (eval "$ac_link") 2>conftest.er1
30166 ac_status=$?
30167 grep -v '^ *+' conftest.er1 >conftest.err
30168 rm -f conftest.er1
30169 cat conftest.err >&5
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); } && {
30172 test -z "$ac_c_werror_flag" ||
30173 test ! -s conftest.err
30174 } && test -s conftest$ac_exeext &&
30175 $as_test_x conftest$ac_exeext; then
30176 LIBS=$ac_save_LIBS
30177 # We can link X programs with no special library path.
30178 ac_x_libraries=
30179 else
30180 echo "$as_me: failed program was:" >&5
30181 sed 's/^/| /' conftest.$ac_ext >&5
30182
30183 LIBS=$ac_save_LIBS
30184 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30185 do
30186 # Don't even attempt the hair of trying to link an X program!
30187 for ac_extension in a so sl; do
30188 if test -r "$ac_dir/libX11.$ac_extension"; then
30189 ac_x_libraries=$ac_dir
30190 break 2
30191 fi
30192 done
30193 done
30194 fi
30195
30196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30197 conftest$ac_exeext conftest.$ac_ext
30198 fi # $ac_x_libraries = no
30199
30200 case $ac_x_includes,$ac_x_libraries in #(
30201 no,* | *,no | *\'*)
30202 # Didn't find X, or a directory has "'" in its name.
30203 ac_cv_have_x="have_x=no";; #(
30204 *)
30205 # Record where we found X for the cache.
30206 ac_cv_have_x="have_x=yes\
30207 ac_x_includes='$ac_x_includes'\
30208 ac_x_libraries='$ac_x_libraries'"
30209 esac
30210 fi
30211 ;; #(
30212 *) have_x=yes;;
30213 esac
30214 eval "$ac_cv_have_x"
30215 fi # $with_x != no
30216
30217 if test "$have_x" != yes; then
30218 { echo "$as_me:$LINENO: result: $have_x" >&5
30219 echo "${ECHO_T}$have_x" >&6; }
30220 no_x=yes
30221 else
30222 # If each of the values was on the command line, it overrides each guess.
30223 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30224 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30225 # Update the cache value to reflect the command line values.
30226 ac_cv_have_x="have_x=yes\
30227 ac_x_includes='$x_includes'\
30228 ac_x_libraries='$x_libraries'"
30229 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30230 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30231 fi
30232
30233 if test "$no_x" = yes; then
30234 # Not all programs may use this symbol, but it does not hurt to define it.
30235
30236 cat >>confdefs.h <<\_ACEOF
30237 #define X_DISPLAY_MISSING 1
30238 _ACEOF
30239
30240 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30241 else
30242 if test -n "$x_includes"; then
30243 X_CFLAGS="$X_CFLAGS -I$x_includes"
30244 fi
30245
30246 # It would also be nice to do this for all -L options, not just this one.
30247 if test -n "$x_libraries"; then
30248 X_LIBS="$X_LIBS -L$x_libraries"
30249 # For Solaris; some versions of Sun CC require a space after -R and
30250 # others require no space. Words are not sufficient . . . .
30251 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30252 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30253 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30254 ac_xsave_c_werror_flag=$ac_c_werror_flag
30255 ac_c_werror_flag=yes
30256 cat >conftest.$ac_ext <<_ACEOF
30257 /* confdefs.h. */
30258 _ACEOF
30259 cat confdefs.h >>conftest.$ac_ext
30260 cat >>conftest.$ac_ext <<_ACEOF
30261 /* end confdefs.h. */
30262
30263 int
30264 main ()
30265 {
30266
30267 ;
30268 return 0;
30269 }
30270 _ACEOF
30271 rm -f conftest.$ac_objext conftest$ac_exeext
30272 if { (ac_try="$ac_link"
30273 case "(($ac_try" in
30274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30275 *) ac_try_echo=$ac_try;;
30276 esac
30277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30278 (eval "$ac_link") 2>conftest.er1
30279 ac_status=$?
30280 grep -v '^ *+' conftest.er1 >conftest.err
30281 rm -f conftest.er1
30282 cat conftest.err >&5
30283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30284 (exit $ac_status); } && {
30285 test -z "$ac_c_werror_flag" ||
30286 test ! -s conftest.err
30287 } && test -s conftest$ac_exeext &&
30288 $as_test_x conftest$ac_exeext; then
30289 { echo "$as_me:$LINENO: result: no" >&5
30290 echo "${ECHO_T}no" >&6; }
30291 X_LIBS="$X_LIBS -R$x_libraries"
30292 else
30293 echo "$as_me: failed program was:" >&5
30294 sed 's/^/| /' conftest.$ac_ext >&5
30295
30296 LIBS="$ac_xsave_LIBS -R $x_libraries"
30297 cat >conftest.$ac_ext <<_ACEOF
30298 /* confdefs.h. */
30299 _ACEOF
30300 cat confdefs.h >>conftest.$ac_ext
30301 cat >>conftest.$ac_ext <<_ACEOF
30302 /* end confdefs.h. */
30303
30304 int
30305 main ()
30306 {
30307
30308 ;
30309 return 0;
30310 }
30311 _ACEOF
30312 rm -f conftest.$ac_objext conftest$ac_exeext
30313 if { (ac_try="$ac_link"
30314 case "(($ac_try" in
30315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30316 *) ac_try_echo=$ac_try;;
30317 esac
30318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30319 (eval "$ac_link") 2>conftest.er1
30320 ac_status=$?
30321 grep -v '^ *+' conftest.er1 >conftest.err
30322 rm -f conftest.er1
30323 cat conftest.err >&5
30324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30325 (exit $ac_status); } && {
30326 test -z "$ac_c_werror_flag" ||
30327 test ! -s conftest.err
30328 } && test -s conftest$ac_exeext &&
30329 $as_test_x conftest$ac_exeext; then
30330 { echo "$as_me:$LINENO: result: yes" >&5
30331 echo "${ECHO_T}yes" >&6; }
30332 X_LIBS="$X_LIBS -R $x_libraries"
30333 else
30334 echo "$as_me: failed program was:" >&5
30335 sed 's/^/| /' conftest.$ac_ext >&5
30336
30337 { echo "$as_me:$LINENO: result: neither works" >&5
30338 echo "${ECHO_T}neither works" >&6; }
30339 fi
30340
30341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30342 conftest$ac_exeext conftest.$ac_ext
30343 fi
30344
30345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30346 conftest$ac_exeext conftest.$ac_ext
30347 ac_c_werror_flag=$ac_xsave_c_werror_flag
30348 LIBS=$ac_xsave_LIBS
30349 fi
30350
30351 # Check for system-dependent libraries X programs must link with.
30352 # Do this before checking for the system-independent R6 libraries
30353 # (-lICE), since we may need -lsocket or whatever for X linking.
30354
30355 if test "$ISC" = yes; then
30356 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30357 else
30358 # Martyn Johnson says this is needed for Ultrix, if the X
30359 # libraries were built with DECnet support. And Karl Berry says
30360 # the Alpha needs dnet_stub (dnet does not exist).
30361 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30362 cat >conftest.$ac_ext <<_ACEOF
30363 /* confdefs.h. */
30364 _ACEOF
30365 cat confdefs.h >>conftest.$ac_ext
30366 cat >>conftest.$ac_ext <<_ACEOF
30367 /* end confdefs.h. */
30368
30369 /* Override any GCC internal prototype to avoid an error.
30370 Use char because int might match the return type of a GCC
30371 builtin and then its argument prototype would still apply. */
30372 #ifdef __cplusplus
30373 extern "C"
30374 #endif
30375 char XOpenDisplay ();
30376 int
30377 main ()
30378 {
30379 return XOpenDisplay ();
30380 ;
30381 return 0;
30382 }
30383 _ACEOF
30384 rm -f conftest.$ac_objext conftest$ac_exeext
30385 if { (ac_try="$ac_link"
30386 case "(($ac_try" in
30387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30388 *) ac_try_echo=$ac_try;;
30389 esac
30390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30391 (eval "$ac_link") 2>conftest.er1
30392 ac_status=$?
30393 grep -v '^ *+' conftest.er1 >conftest.err
30394 rm -f conftest.er1
30395 cat conftest.err >&5
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); } && {
30398 test -z "$ac_c_werror_flag" ||
30399 test ! -s conftest.err
30400 } && test -s conftest$ac_exeext &&
30401 $as_test_x conftest$ac_exeext; then
30402 :
30403 else
30404 echo "$as_me: failed program was:" >&5
30405 sed 's/^/| /' conftest.$ac_ext >&5
30406
30407 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30408 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30409 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30410 echo $ECHO_N "(cached) $ECHO_C" >&6
30411 else
30412 ac_check_lib_save_LIBS=$LIBS
30413 LIBS="-ldnet $LIBS"
30414 cat >conftest.$ac_ext <<_ACEOF
30415 /* confdefs.h. */
30416 _ACEOF
30417 cat confdefs.h >>conftest.$ac_ext
30418 cat >>conftest.$ac_ext <<_ACEOF
30419 /* end confdefs.h. */
30420
30421 /* Override any GCC internal prototype to avoid an error.
30422 Use char because int might match the return type of a GCC
30423 builtin and then its argument prototype would still apply. */
30424 #ifdef __cplusplus
30425 extern "C"
30426 #endif
30427 char dnet_ntoa ();
30428 int
30429 main ()
30430 {
30431 return dnet_ntoa ();
30432 ;
30433 return 0;
30434 }
30435 _ACEOF
30436 rm -f conftest.$ac_objext conftest$ac_exeext
30437 if { (ac_try="$ac_link"
30438 case "(($ac_try" in
30439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30440 *) ac_try_echo=$ac_try;;
30441 esac
30442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30443 (eval "$ac_link") 2>conftest.er1
30444 ac_status=$?
30445 grep -v '^ *+' conftest.er1 >conftest.err
30446 rm -f conftest.er1
30447 cat conftest.err >&5
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); } && {
30450 test -z "$ac_c_werror_flag" ||
30451 test ! -s conftest.err
30452 } && test -s conftest$ac_exeext &&
30453 $as_test_x conftest$ac_exeext; then
30454 ac_cv_lib_dnet_dnet_ntoa=yes
30455 else
30456 echo "$as_me: failed program was:" >&5
30457 sed 's/^/| /' conftest.$ac_ext >&5
30458
30459 ac_cv_lib_dnet_dnet_ntoa=no
30460 fi
30461
30462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30463 conftest$ac_exeext conftest.$ac_ext
30464 LIBS=$ac_check_lib_save_LIBS
30465 fi
30466 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30467 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30468 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30469 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30470 fi
30471
30472 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30473 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30474 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30475 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30476 echo $ECHO_N "(cached) $ECHO_C" >&6
30477 else
30478 ac_check_lib_save_LIBS=$LIBS
30479 LIBS="-ldnet_stub $LIBS"
30480 cat >conftest.$ac_ext <<_ACEOF
30481 /* confdefs.h. */
30482 _ACEOF
30483 cat confdefs.h >>conftest.$ac_ext
30484 cat >>conftest.$ac_ext <<_ACEOF
30485 /* end confdefs.h. */
30486
30487 /* Override any GCC internal prototype to avoid an error.
30488 Use char because int might match the return type of a GCC
30489 builtin and then its argument prototype would still apply. */
30490 #ifdef __cplusplus
30491 extern "C"
30492 #endif
30493 char dnet_ntoa ();
30494 int
30495 main ()
30496 {
30497 return dnet_ntoa ();
30498 ;
30499 return 0;
30500 }
30501 _ACEOF
30502 rm -f conftest.$ac_objext conftest$ac_exeext
30503 if { (ac_try="$ac_link"
30504 case "(($ac_try" in
30505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30506 *) ac_try_echo=$ac_try;;
30507 esac
30508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30509 (eval "$ac_link") 2>conftest.er1
30510 ac_status=$?
30511 grep -v '^ *+' conftest.er1 >conftest.err
30512 rm -f conftest.er1
30513 cat conftest.err >&5
30514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30515 (exit $ac_status); } && {
30516 test -z "$ac_c_werror_flag" ||
30517 test ! -s conftest.err
30518 } && test -s conftest$ac_exeext &&
30519 $as_test_x conftest$ac_exeext; then
30520 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30521 else
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30524
30525 ac_cv_lib_dnet_stub_dnet_ntoa=no
30526 fi
30527
30528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30529 conftest$ac_exeext conftest.$ac_ext
30530 LIBS=$ac_check_lib_save_LIBS
30531 fi
30532 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30533 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30534 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30535 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30536 fi
30537
30538 fi
30539 fi
30540
30541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30542 conftest$ac_exeext conftest.$ac_ext
30543 LIBS="$ac_xsave_LIBS"
30544
30545 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30546 # to get the SysV transport functions.
30547 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30548 # needs -lnsl.
30549 # The nsl library prevents programs from opening the X display
30550 # on Irix 5.2, according to T.E. Dickey.
30551 # The functions gethostbyname, getservbyname, and inet_addr are
30552 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30553 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30554 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30555 if test "${ac_cv_func_gethostbyname+set}" = set; then
30556 echo $ECHO_N "(cached) $ECHO_C" >&6
30557 else
30558 cat >conftest.$ac_ext <<_ACEOF
30559 /* confdefs.h. */
30560 _ACEOF
30561 cat confdefs.h >>conftest.$ac_ext
30562 cat >>conftest.$ac_ext <<_ACEOF
30563 /* end confdefs.h. */
30564 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30566 #define gethostbyname innocuous_gethostbyname
30567
30568 /* System header to define __stub macros and hopefully few prototypes,
30569 which can conflict with char gethostbyname (); below.
30570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30571 <limits.h> exists even on freestanding compilers. */
30572
30573 #ifdef __STDC__
30574 # include <limits.h>
30575 #else
30576 # include <assert.h>
30577 #endif
30578
30579 #undef gethostbyname
30580
30581 /* Override any GCC internal prototype to avoid an error.
30582 Use char because int might match the return type of a GCC
30583 builtin and then its argument prototype would still apply. */
30584 #ifdef __cplusplus
30585 extern "C"
30586 #endif
30587 char gethostbyname ();
30588 /* The GNU C library defines this for functions which it implements
30589 to always fail with ENOSYS. Some functions are actually named
30590 something starting with __ and the normal name is an alias. */
30591 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30592 choke me
30593 #endif
30594
30595 int
30596 main ()
30597 {
30598 return gethostbyname ();
30599 ;
30600 return 0;
30601 }
30602 _ACEOF
30603 rm -f conftest.$ac_objext conftest$ac_exeext
30604 if { (ac_try="$ac_link"
30605 case "(($ac_try" in
30606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30607 *) ac_try_echo=$ac_try;;
30608 esac
30609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30610 (eval "$ac_link") 2>conftest.er1
30611 ac_status=$?
30612 grep -v '^ *+' conftest.er1 >conftest.err
30613 rm -f conftest.er1
30614 cat conftest.err >&5
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); } && {
30617 test -z "$ac_c_werror_flag" ||
30618 test ! -s conftest.err
30619 } && test -s conftest$ac_exeext &&
30620 $as_test_x conftest$ac_exeext; then
30621 ac_cv_func_gethostbyname=yes
30622 else
30623 echo "$as_me: failed program was:" >&5
30624 sed 's/^/| /' conftest.$ac_ext >&5
30625
30626 ac_cv_func_gethostbyname=no
30627 fi
30628
30629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30630 conftest$ac_exeext conftest.$ac_ext
30631 fi
30632 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30633 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30634
30635 if test $ac_cv_func_gethostbyname = no; then
30636 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30637 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30638 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30639 echo $ECHO_N "(cached) $ECHO_C" >&6
30640 else
30641 ac_check_lib_save_LIBS=$LIBS
30642 LIBS="-lnsl $LIBS"
30643 cat >conftest.$ac_ext <<_ACEOF
30644 /* confdefs.h. */
30645 _ACEOF
30646 cat confdefs.h >>conftest.$ac_ext
30647 cat >>conftest.$ac_ext <<_ACEOF
30648 /* end confdefs.h. */
30649
30650 /* Override any GCC internal prototype to avoid an error.
30651 Use char because int might match the return type of a GCC
30652 builtin and then its argument prototype would still apply. */
30653 #ifdef __cplusplus
30654 extern "C"
30655 #endif
30656 char gethostbyname ();
30657 int
30658 main ()
30659 {
30660 return gethostbyname ();
30661 ;
30662 return 0;
30663 }
30664 _ACEOF
30665 rm -f conftest.$ac_objext conftest$ac_exeext
30666 if { (ac_try="$ac_link"
30667 case "(($ac_try" in
30668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30669 *) ac_try_echo=$ac_try;;
30670 esac
30671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30672 (eval "$ac_link") 2>conftest.er1
30673 ac_status=$?
30674 grep -v '^ *+' conftest.er1 >conftest.err
30675 rm -f conftest.er1
30676 cat conftest.err >&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); } && {
30679 test -z "$ac_c_werror_flag" ||
30680 test ! -s conftest.err
30681 } && test -s conftest$ac_exeext &&
30682 $as_test_x conftest$ac_exeext; then
30683 ac_cv_lib_nsl_gethostbyname=yes
30684 else
30685 echo "$as_me: failed program was:" >&5
30686 sed 's/^/| /' conftest.$ac_ext >&5
30687
30688 ac_cv_lib_nsl_gethostbyname=no
30689 fi
30690
30691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30692 conftest$ac_exeext conftest.$ac_ext
30693 LIBS=$ac_check_lib_save_LIBS
30694 fi
30695 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30696 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30697 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30698 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30699 fi
30700
30701 if test $ac_cv_lib_nsl_gethostbyname = no; then
30702 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30703 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30704 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30705 echo $ECHO_N "(cached) $ECHO_C" >&6
30706 else
30707 ac_check_lib_save_LIBS=$LIBS
30708 LIBS="-lbsd $LIBS"
30709 cat >conftest.$ac_ext <<_ACEOF
30710 /* confdefs.h. */
30711 _ACEOF
30712 cat confdefs.h >>conftest.$ac_ext
30713 cat >>conftest.$ac_ext <<_ACEOF
30714 /* end confdefs.h. */
30715
30716 /* Override any GCC internal prototype to avoid an error.
30717 Use char because int might match the return type of a GCC
30718 builtin and then its argument prototype would still apply. */
30719 #ifdef __cplusplus
30720 extern "C"
30721 #endif
30722 char gethostbyname ();
30723 int
30724 main ()
30725 {
30726 return gethostbyname ();
30727 ;
30728 return 0;
30729 }
30730 _ACEOF
30731 rm -f conftest.$ac_objext conftest$ac_exeext
30732 if { (ac_try="$ac_link"
30733 case "(($ac_try" in
30734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30735 *) ac_try_echo=$ac_try;;
30736 esac
30737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30738 (eval "$ac_link") 2>conftest.er1
30739 ac_status=$?
30740 grep -v '^ *+' conftest.er1 >conftest.err
30741 rm -f conftest.er1
30742 cat conftest.err >&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); } && {
30745 test -z "$ac_c_werror_flag" ||
30746 test ! -s conftest.err
30747 } && test -s conftest$ac_exeext &&
30748 $as_test_x conftest$ac_exeext; then
30749 ac_cv_lib_bsd_gethostbyname=yes
30750 else
30751 echo "$as_me: failed program was:" >&5
30752 sed 's/^/| /' conftest.$ac_ext >&5
30753
30754 ac_cv_lib_bsd_gethostbyname=no
30755 fi
30756
30757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30758 conftest$ac_exeext conftest.$ac_ext
30759 LIBS=$ac_check_lib_save_LIBS
30760 fi
30761 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30762 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30763 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30764 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30765 fi
30766
30767 fi
30768 fi
30769
30770 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30771 # socket/setsockopt and other routines are undefined under SCO ODT
30772 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30773 # on later versions), says Simon Leinen: it contains gethostby*
30774 # variants that don't use the name server (or something). -lsocket
30775 # must be given before -lnsl if both are needed. We assume that
30776 # if connect needs -lnsl, so does gethostbyname.
30777 { echo "$as_me:$LINENO: checking for connect" >&5
30778 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30779 if test "${ac_cv_func_connect+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30781 else
30782 cat >conftest.$ac_ext <<_ACEOF
30783 /* confdefs.h. */
30784 _ACEOF
30785 cat confdefs.h >>conftest.$ac_ext
30786 cat >>conftest.$ac_ext <<_ACEOF
30787 /* end confdefs.h. */
30788 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30790 #define connect innocuous_connect
30791
30792 /* System header to define __stub macros and hopefully few prototypes,
30793 which can conflict with char connect (); below.
30794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30795 <limits.h> exists even on freestanding compilers. */
30796
30797 #ifdef __STDC__
30798 # include <limits.h>
30799 #else
30800 # include <assert.h>
30801 #endif
30802
30803 #undef connect
30804
30805 /* Override any GCC internal prototype to avoid an error.
30806 Use char because int might match the return type of a GCC
30807 builtin and then its argument prototype would still apply. */
30808 #ifdef __cplusplus
30809 extern "C"
30810 #endif
30811 char connect ();
30812 /* The GNU C library defines this for functions which it implements
30813 to always fail with ENOSYS. Some functions are actually named
30814 something starting with __ and the normal name is an alias. */
30815 #if defined __stub_connect || defined __stub___connect
30816 choke me
30817 #endif
30818
30819 int
30820 main ()
30821 {
30822 return connect ();
30823 ;
30824 return 0;
30825 }
30826 _ACEOF
30827 rm -f conftest.$ac_objext conftest$ac_exeext
30828 if { (ac_try="$ac_link"
30829 case "(($ac_try" in
30830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30831 *) ac_try_echo=$ac_try;;
30832 esac
30833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30834 (eval "$ac_link") 2>conftest.er1
30835 ac_status=$?
30836 grep -v '^ *+' conftest.er1 >conftest.err
30837 rm -f conftest.er1
30838 cat conftest.err >&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); } && {
30841 test -z "$ac_c_werror_flag" ||
30842 test ! -s conftest.err
30843 } && test -s conftest$ac_exeext &&
30844 $as_test_x conftest$ac_exeext; then
30845 ac_cv_func_connect=yes
30846 else
30847 echo "$as_me: failed program was:" >&5
30848 sed 's/^/| /' conftest.$ac_ext >&5
30849
30850 ac_cv_func_connect=no
30851 fi
30852
30853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30854 conftest$ac_exeext conftest.$ac_ext
30855 fi
30856 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30857 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30858
30859 if test $ac_cv_func_connect = no; then
30860 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30861 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30862 if test "${ac_cv_lib_socket_connect+set}" = set; then
30863 echo $ECHO_N "(cached) $ECHO_C" >&6
30864 else
30865 ac_check_lib_save_LIBS=$LIBS
30866 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30867 cat >conftest.$ac_ext <<_ACEOF
30868 /* confdefs.h. */
30869 _ACEOF
30870 cat confdefs.h >>conftest.$ac_ext
30871 cat >>conftest.$ac_ext <<_ACEOF
30872 /* end confdefs.h. */
30873
30874 /* Override any GCC internal prototype to avoid an error.
30875 Use char because int might match the return type of a GCC
30876 builtin and then its argument prototype would still apply. */
30877 #ifdef __cplusplus
30878 extern "C"
30879 #endif
30880 char connect ();
30881 int
30882 main ()
30883 {
30884 return connect ();
30885 ;
30886 return 0;
30887 }
30888 _ACEOF
30889 rm -f conftest.$ac_objext conftest$ac_exeext
30890 if { (ac_try="$ac_link"
30891 case "(($ac_try" in
30892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30893 *) ac_try_echo=$ac_try;;
30894 esac
30895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30896 (eval "$ac_link") 2>conftest.er1
30897 ac_status=$?
30898 grep -v '^ *+' conftest.er1 >conftest.err
30899 rm -f conftest.er1
30900 cat conftest.err >&5
30901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 (exit $ac_status); } && {
30903 test -z "$ac_c_werror_flag" ||
30904 test ! -s conftest.err
30905 } && test -s conftest$ac_exeext &&
30906 $as_test_x conftest$ac_exeext; then
30907 ac_cv_lib_socket_connect=yes
30908 else
30909 echo "$as_me: failed program was:" >&5
30910 sed 's/^/| /' conftest.$ac_ext >&5
30911
30912 ac_cv_lib_socket_connect=no
30913 fi
30914
30915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30916 conftest$ac_exeext conftest.$ac_ext
30917 LIBS=$ac_check_lib_save_LIBS
30918 fi
30919 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30920 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30921 if test $ac_cv_lib_socket_connect = yes; then
30922 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30923 fi
30924
30925 fi
30926
30927 # Guillermo Gomez says -lposix is necessary on A/UX.
30928 { echo "$as_me:$LINENO: checking for remove" >&5
30929 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30930 if test "${ac_cv_func_remove+set}" = set; then
30931 echo $ECHO_N "(cached) $ECHO_C" >&6
30932 else
30933 cat >conftest.$ac_ext <<_ACEOF
30934 /* confdefs.h. */
30935 _ACEOF
30936 cat confdefs.h >>conftest.$ac_ext
30937 cat >>conftest.$ac_ext <<_ACEOF
30938 /* end confdefs.h. */
30939 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30941 #define remove innocuous_remove
30942
30943 /* System header to define __stub macros and hopefully few prototypes,
30944 which can conflict with char remove (); below.
30945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30946 <limits.h> exists even on freestanding compilers. */
30947
30948 #ifdef __STDC__
30949 # include <limits.h>
30950 #else
30951 # include <assert.h>
30952 #endif
30953
30954 #undef remove
30955
30956 /* Override any GCC internal prototype to avoid an error.
30957 Use char because int might match the return type of a GCC
30958 builtin and then its argument prototype would still apply. */
30959 #ifdef __cplusplus
30960 extern "C"
30961 #endif
30962 char remove ();
30963 /* The GNU C library defines this for functions which it implements
30964 to always fail with ENOSYS. Some functions are actually named
30965 something starting with __ and the normal name is an alias. */
30966 #if defined __stub_remove || defined __stub___remove
30967 choke me
30968 #endif
30969
30970 int
30971 main ()
30972 {
30973 return remove ();
30974 ;
30975 return 0;
30976 }
30977 _ACEOF
30978 rm -f conftest.$ac_objext conftest$ac_exeext
30979 if { (ac_try="$ac_link"
30980 case "(($ac_try" in
30981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30982 *) ac_try_echo=$ac_try;;
30983 esac
30984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30985 (eval "$ac_link") 2>conftest.er1
30986 ac_status=$?
30987 grep -v '^ *+' conftest.er1 >conftest.err
30988 rm -f conftest.er1
30989 cat conftest.err >&5
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); } && {
30992 test -z "$ac_c_werror_flag" ||
30993 test ! -s conftest.err
30994 } && test -s conftest$ac_exeext &&
30995 $as_test_x conftest$ac_exeext; then
30996 ac_cv_func_remove=yes
30997 else
30998 echo "$as_me: failed program was:" >&5
30999 sed 's/^/| /' conftest.$ac_ext >&5
31000
31001 ac_cv_func_remove=no
31002 fi
31003
31004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31005 conftest$ac_exeext conftest.$ac_ext
31006 fi
31007 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31008 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
31009
31010 if test $ac_cv_func_remove = no; then
31011 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31012 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
31013 if test "${ac_cv_lib_posix_remove+set}" = set; then
31014 echo $ECHO_N "(cached) $ECHO_C" >&6
31015 else
31016 ac_check_lib_save_LIBS=$LIBS
31017 LIBS="-lposix $LIBS"
31018 cat >conftest.$ac_ext <<_ACEOF
31019 /* confdefs.h. */
31020 _ACEOF
31021 cat confdefs.h >>conftest.$ac_ext
31022 cat >>conftest.$ac_ext <<_ACEOF
31023 /* end confdefs.h. */
31024
31025 /* Override any GCC internal prototype to avoid an error.
31026 Use char because int might match the return type of a GCC
31027 builtin and then its argument prototype would still apply. */
31028 #ifdef __cplusplus
31029 extern "C"
31030 #endif
31031 char remove ();
31032 int
31033 main ()
31034 {
31035 return remove ();
31036 ;
31037 return 0;
31038 }
31039 _ACEOF
31040 rm -f conftest.$ac_objext conftest$ac_exeext
31041 if { (ac_try="$ac_link"
31042 case "(($ac_try" in
31043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31044 *) ac_try_echo=$ac_try;;
31045 esac
31046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31047 (eval "$ac_link") 2>conftest.er1
31048 ac_status=$?
31049 grep -v '^ *+' conftest.er1 >conftest.err
31050 rm -f conftest.er1
31051 cat conftest.err >&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); } && {
31054 test -z "$ac_c_werror_flag" ||
31055 test ! -s conftest.err
31056 } && test -s conftest$ac_exeext &&
31057 $as_test_x conftest$ac_exeext; then
31058 ac_cv_lib_posix_remove=yes
31059 else
31060 echo "$as_me: failed program was:" >&5
31061 sed 's/^/| /' conftest.$ac_ext >&5
31062
31063 ac_cv_lib_posix_remove=no
31064 fi
31065
31066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31067 conftest$ac_exeext conftest.$ac_ext
31068 LIBS=$ac_check_lib_save_LIBS
31069 fi
31070 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31071 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31072 if test $ac_cv_lib_posix_remove = yes; then
31073 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31074 fi
31075
31076 fi
31077
31078 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31079 { echo "$as_me:$LINENO: checking for shmat" >&5
31080 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31081 if test "${ac_cv_func_shmat+set}" = set; then
31082 echo $ECHO_N "(cached) $ECHO_C" >&6
31083 else
31084 cat >conftest.$ac_ext <<_ACEOF
31085 /* confdefs.h. */
31086 _ACEOF
31087 cat confdefs.h >>conftest.$ac_ext
31088 cat >>conftest.$ac_ext <<_ACEOF
31089 /* end confdefs.h. */
31090 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31092 #define shmat innocuous_shmat
31093
31094 /* System header to define __stub macros and hopefully few prototypes,
31095 which can conflict with char shmat (); below.
31096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31097 <limits.h> exists even on freestanding compilers. */
31098
31099 #ifdef __STDC__
31100 # include <limits.h>
31101 #else
31102 # include <assert.h>
31103 #endif
31104
31105 #undef shmat
31106
31107 /* Override any GCC internal prototype to avoid an error.
31108 Use char because int might match the return type of a GCC
31109 builtin and then its argument prototype would still apply. */
31110 #ifdef __cplusplus
31111 extern "C"
31112 #endif
31113 char shmat ();
31114 /* The GNU C library defines this for functions which it implements
31115 to always fail with ENOSYS. Some functions are actually named
31116 something starting with __ and the normal name is an alias. */
31117 #if defined __stub_shmat || defined __stub___shmat
31118 choke me
31119 #endif
31120
31121 int
31122 main ()
31123 {
31124 return shmat ();
31125 ;
31126 return 0;
31127 }
31128 _ACEOF
31129 rm -f conftest.$ac_objext conftest$ac_exeext
31130 if { (ac_try="$ac_link"
31131 case "(($ac_try" in
31132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31133 *) ac_try_echo=$ac_try;;
31134 esac
31135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31136 (eval "$ac_link") 2>conftest.er1
31137 ac_status=$?
31138 grep -v '^ *+' conftest.er1 >conftest.err
31139 rm -f conftest.er1
31140 cat conftest.err >&5
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); } && {
31143 test -z "$ac_c_werror_flag" ||
31144 test ! -s conftest.err
31145 } && test -s conftest$ac_exeext &&
31146 $as_test_x conftest$ac_exeext; then
31147 ac_cv_func_shmat=yes
31148 else
31149 echo "$as_me: failed program was:" >&5
31150 sed 's/^/| /' conftest.$ac_ext >&5
31151
31152 ac_cv_func_shmat=no
31153 fi
31154
31155 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31156 conftest$ac_exeext conftest.$ac_ext
31157 fi
31158 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31159 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31160
31161 if test $ac_cv_func_shmat = no; then
31162 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31163 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31164 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31165 echo $ECHO_N "(cached) $ECHO_C" >&6
31166 else
31167 ac_check_lib_save_LIBS=$LIBS
31168 LIBS="-lipc $LIBS"
31169 cat >conftest.$ac_ext <<_ACEOF
31170 /* confdefs.h. */
31171 _ACEOF
31172 cat confdefs.h >>conftest.$ac_ext
31173 cat >>conftest.$ac_ext <<_ACEOF
31174 /* end confdefs.h. */
31175
31176 /* Override any GCC internal prototype to avoid an error.
31177 Use char because int might match the return type of a GCC
31178 builtin and then its argument prototype would still apply. */
31179 #ifdef __cplusplus
31180 extern "C"
31181 #endif
31182 char shmat ();
31183 int
31184 main ()
31185 {
31186 return shmat ();
31187 ;
31188 return 0;
31189 }
31190 _ACEOF
31191 rm -f conftest.$ac_objext conftest$ac_exeext
31192 if { (ac_try="$ac_link"
31193 case "(($ac_try" in
31194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31195 *) ac_try_echo=$ac_try;;
31196 esac
31197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31198 (eval "$ac_link") 2>conftest.er1
31199 ac_status=$?
31200 grep -v '^ *+' conftest.er1 >conftest.err
31201 rm -f conftest.er1
31202 cat conftest.err >&5
31203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31204 (exit $ac_status); } && {
31205 test -z "$ac_c_werror_flag" ||
31206 test ! -s conftest.err
31207 } && test -s conftest$ac_exeext &&
31208 $as_test_x conftest$ac_exeext; then
31209 ac_cv_lib_ipc_shmat=yes
31210 else
31211 echo "$as_me: failed program was:" >&5
31212 sed 's/^/| /' conftest.$ac_ext >&5
31213
31214 ac_cv_lib_ipc_shmat=no
31215 fi
31216
31217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31218 conftest$ac_exeext conftest.$ac_ext
31219 LIBS=$ac_check_lib_save_LIBS
31220 fi
31221 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31222 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31223 if test $ac_cv_lib_ipc_shmat = yes; then
31224 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31225 fi
31226
31227 fi
31228 fi
31229
31230 # Check for libraries that X11R6 Xt/Xaw programs need.
31231 ac_save_LDFLAGS=$LDFLAGS
31232 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31233 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31234 # check for ICE first), but we must link in the order -lSM -lICE or
31235 # we get undefined symbols. So assume we have SM if we have ICE.
31236 # These have to be linked with before -lX11, unlike the other
31237 # libraries we check for below, so use a different variable.
31238 # John Interrante, Karl Berry
31239 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31240 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31241 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31242 echo $ECHO_N "(cached) $ECHO_C" >&6
31243 else
31244 ac_check_lib_save_LIBS=$LIBS
31245 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31246 cat >conftest.$ac_ext <<_ACEOF
31247 /* confdefs.h. */
31248 _ACEOF
31249 cat confdefs.h >>conftest.$ac_ext
31250 cat >>conftest.$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31252
31253 /* Override any GCC internal prototype to avoid an error.
31254 Use char because int might match the return type of a GCC
31255 builtin and then its argument prototype would still apply. */
31256 #ifdef __cplusplus
31257 extern "C"
31258 #endif
31259 char IceConnectionNumber ();
31260 int
31261 main ()
31262 {
31263 return IceConnectionNumber ();
31264 ;
31265 return 0;
31266 }
31267 _ACEOF
31268 rm -f conftest.$ac_objext conftest$ac_exeext
31269 if { (ac_try="$ac_link"
31270 case "(($ac_try" in
31271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31272 *) ac_try_echo=$ac_try;;
31273 esac
31274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31275 (eval "$ac_link") 2>conftest.er1
31276 ac_status=$?
31277 grep -v '^ *+' conftest.er1 >conftest.err
31278 rm -f conftest.er1
31279 cat conftest.err >&5
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); } && {
31282 test -z "$ac_c_werror_flag" ||
31283 test ! -s conftest.err
31284 } && test -s conftest$ac_exeext &&
31285 $as_test_x conftest$ac_exeext; then
31286 ac_cv_lib_ICE_IceConnectionNumber=yes
31287 else
31288 echo "$as_me: failed program was:" >&5
31289 sed 's/^/| /' conftest.$ac_ext >&5
31290
31291 ac_cv_lib_ICE_IceConnectionNumber=no
31292 fi
31293
31294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31295 conftest$ac_exeext conftest.$ac_ext
31296 LIBS=$ac_check_lib_save_LIBS
31297 fi
31298 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31299 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31300 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31301 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31302 fi
31303
31304 LDFLAGS=$ac_save_LDFLAGS
31305
31306 fi
31307
31308
31309 if test "$no_x" = "yes"; then
31310 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31311 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31312 { (exit 1); exit 1; }; }
31313 fi
31314
31315 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31316 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31317 AFMINSTALL=afminstall
31318 COMPILED_X_PROGRAM=0
31319
31320 fi
31321
31322 if test "$wxUSE_X11" = 1; then
31323 if test "$wxUSE_NANOX" = "yes"; then
31324 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31325 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31326 if test "x$MICROWIN" = x ; then
31327 { echo "$as_me:$LINENO: result: not found" >&5
31328 echo "${ECHO_T}not found" >&6; }
31329 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31330 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31331 { (exit 1); exit 1; }; }
31332 else
31333 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31334 echo "${ECHO_T}$MICROWIN" >&6; }
31335 cat >>confdefs.h <<\_ACEOF
31336 #define wxUSE_NANOX 1
31337 _ACEOF
31338
31339 fi
31340 fi
31341
31342 if test "$wxUSE_UNICODE" = "yes"; then
31343
31344
31345 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31346 if test -n "$ac_tool_prefix"; then
31347 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31348 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31351 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31352 echo $ECHO_N "(cached) $ECHO_C" >&6
31353 else
31354 case $PKG_CONFIG in
31355 [\\/]* | ?:[\\/]*)
31356 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31357 ;;
31358 *)
31359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31360 for as_dir in $PATH
31361 do
31362 IFS=$as_save_IFS
31363 test -z "$as_dir" && as_dir=.
31364 for ac_exec_ext in '' $ac_executable_extensions; do
31365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31366 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31368 break 2
31369 fi
31370 done
31371 done
31372 IFS=$as_save_IFS
31373
31374 ;;
31375 esac
31376 fi
31377 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31378 if test -n "$PKG_CONFIG"; then
31379 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31380 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31381 else
31382 { echo "$as_me:$LINENO: result: no" >&5
31383 echo "${ECHO_T}no" >&6; }
31384 fi
31385
31386
31387 fi
31388 if test -z "$ac_cv_path_PKG_CONFIG"; then
31389 ac_pt_PKG_CONFIG=$PKG_CONFIG
31390 # Extract the first word of "pkg-config", so it can be a program name with args.
31391 set dummy pkg-config; ac_word=$2
31392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31394 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31395 echo $ECHO_N "(cached) $ECHO_C" >&6
31396 else
31397 case $ac_pt_PKG_CONFIG in
31398 [\\/]* | ?:[\\/]*)
31399 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31400 ;;
31401 *)
31402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31403 for as_dir in $PATH
31404 do
31405 IFS=$as_save_IFS
31406 test -z "$as_dir" && as_dir=.
31407 for ac_exec_ext in '' $ac_executable_extensions; do
31408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31409 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31411 break 2
31412 fi
31413 done
31414 done
31415 IFS=$as_save_IFS
31416
31417 ;;
31418 esac
31419 fi
31420 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31421 if test -n "$ac_pt_PKG_CONFIG"; then
31422 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31423 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31424 else
31425 { echo "$as_me:$LINENO: result: no" >&5
31426 echo "${ECHO_T}no" >&6; }
31427 fi
31428
31429 if test "x$ac_pt_PKG_CONFIG" = x; then
31430 PKG_CONFIG=""
31431 else
31432 case $cross_compiling:$ac_tool_warned in
31433 yes:)
31434 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31435 whose name does not start with the host triplet. If you think this
31436 configuration is useful to you, please write to autoconf@gnu.org." >&5
31437 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31438 whose name does not start with the host triplet. If you think this
31439 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31440 ac_tool_warned=yes ;;
31441 esac
31442 PKG_CONFIG=$ac_pt_PKG_CONFIG
31443 fi
31444 else
31445 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31446 fi
31447
31448 fi
31449 if test -n "$PKG_CONFIG"; then
31450 _pkg_min_version=0.9.0
31451 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31452 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31453 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31454 { echo "$as_me:$LINENO: result: yes" >&5
31455 echo "${ECHO_T}yes" >&6; }
31456 else
31457 { echo "$as_me:$LINENO: result: no" >&5
31458 echo "${ECHO_T}no" >&6; }
31459 PKG_CONFIG=""
31460 fi
31461
31462 fi
31463
31464
31465 pkg_failed=no
31466 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31467 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31468
31469 if test -n "$PKG_CONFIG"; then
31470 if test -n "$PANGOX_CFLAGS"; then
31471 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31472 else
31473 if test -n "$PKG_CONFIG" && \
31474 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31475 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31476 ac_status=$?
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); }; then
31479 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31480 else
31481 pkg_failed=yes
31482 fi
31483 fi
31484 else
31485 pkg_failed=untried
31486 fi
31487 if test -n "$PKG_CONFIG"; then
31488 if test -n "$PANGOX_LIBS"; then
31489 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31490 else
31491 if test -n "$PKG_CONFIG" && \
31492 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31493 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31494 ac_status=$?
31495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31496 (exit $ac_status); }; then
31497 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31498 else
31499 pkg_failed=yes
31500 fi
31501 fi
31502 else
31503 pkg_failed=untried
31504 fi
31505
31506
31507
31508 if test $pkg_failed = yes; then
31509
31510 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31511 _pkg_short_errors_supported=yes
31512 else
31513 _pkg_short_errors_supported=no
31514 fi
31515 if test $_pkg_short_errors_supported = yes; then
31516 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31517 else
31518 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31519 fi
31520 # Put the nasty error message in config.log where it belongs
31521 echo "$PANGOX_PKG_ERRORS" >&5
31522
31523
31524 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31525 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31526 { (exit 1); exit 1; }; }
31527
31528
31529 elif test $pkg_failed = untried; then
31530
31531 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31532 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31533 { (exit 1); exit 1; }; }
31534
31535
31536 else
31537 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31538 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31539 { echo "$as_me:$LINENO: result: yes" >&5
31540 echo "${ECHO_T}yes" >&6; }
31541
31542 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31543 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31544 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31545
31546 fi
31547
31548 pkg_failed=no
31549 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31550 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31551
31552 if test -n "$PKG_CONFIG"; then
31553 if test -n "$PANGOFT2_CFLAGS"; then
31554 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31555 else
31556 if test -n "$PKG_CONFIG" && \
31557 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31558 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31559 ac_status=$?
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; then
31562 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31563 else
31564 pkg_failed=yes
31565 fi
31566 fi
31567 else
31568 pkg_failed=untried
31569 fi
31570 if test -n "$PKG_CONFIG"; then
31571 if test -n "$PANGOFT2_LIBS"; then
31572 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31573 else
31574 if test -n "$PKG_CONFIG" && \
31575 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31576 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31577 ac_status=$?
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); }; then
31580 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31581 else
31582 pkg_failed=yes
31583 fi
31584 fi
31585 else
31586 pkg_failed=untried
31587 fi
31588
31589
31590
31591 if test $pkg_failed = yes; then
31592
31593 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31594 _pkg_short_errors_supported=yes
31595 else
31596 _pkg_short_errors_supported=no
31597 fi
31598 if test $_pkg_short_errors_supported = yes; then
31599 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31600 else
31601 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31602 fi
31603 # Put the nasty error message in config.log where it belongs
31604 echo "$PANGOFT2_PKG_ERRORS" >&5
31605
31606
31607 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31608 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31609 wxUSE_PRINTING_ARCHITECTURE="no"
31610
31611
31612 elif test $pkg_failed = untried; then
31613
31614 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31615 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31616 wxUSE_PRINTING_ARCHITECTURE="no"
31617
31618
31619 else
31620 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31621 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31622 { echo "$as_me:$LINENO: result: yes" >&5
31623 echo "${ECHO_T}yes" >&6; }
31624
31625 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31626 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31627 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31628
31629 fi
31630
31631 pkg_failed=no
31632 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31633 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31634
31635 if test -n "$PKG_CONFIG"; then
31636 if test -n "$PANGOXFT_CFLAGS"; then
31637 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31638 else
31639 if test -n "$PKG_CONFIG" && \
31640 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31641 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31642 ac_status=$?
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; then
31645 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31646 else
31647 pkg_failed=yes
31648 fi
31649 fi
31650 else
31651 pkg_failed=untried
31652 fi
31653 if test -n "$PKG_CONFIG"; then
31654 if test -n "$PANGOXFT_LIBS"; then
31655 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31656 else
31657 if test -n "$PKG_CONFIG" && \
31658 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31659 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31660 ac_status=$?
31661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31662 (exit $ac_status); }; then
31663 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31664 else
31665 pkg_failed=yes
31666 fi
31667 fi
31668 else
31669 pkg_failed=untried
31670 fi
31671
31672
31673
31674 if test $pkg_failed = yes; then
31675
31676 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31677 _pkg_short_errors_supported=yes
31678 else
31679 _pkg_short_errors_supported=no
31680 fi
31681 if test $_pkg_short_errors_supported = yes; then
31682 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31683 else
31684 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31685 fi
31686 # Put the nasty error message in config.log where it belongs
31687 echo "$PANGOXFT_PKG_ERRORS" >&5
31688
31689
31690 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31691 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31692
31693
31694 elif test $pkg_failed = untried; then
31695
31696 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31697 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31698
31699
31700 else
31701 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31702 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31703 { echo "$as_me:$LINENO: result: yes" >&5
31704 echo "${ECHO_T}yes" >&6; }
31705
31706 cat >>confdefs.h <<\_ACEOF
31707 #define HAVE_PANGO_XFT 1
31708 _ACEOF
31709
31710 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31711 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31712 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31713
31714 fi
31715 save_LIBS="$LIBS"
31716 LIBS="$LIBS $PANGOX_LIBS"
31717
31718 for ac_func in pango_font_family_is_monospace
31719 do
31720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31721 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31723 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31724 echo $ECHO_N "(cached) $ECHO_C" >&6
31725 else
31726 cat >conftest.$ac_ext <<_ACEOF
31727 /* confdefs.h. */
31728 _ACEOF
31729 cat confdefs.h >>conftest.$ac_ext
31730 cat >>conftest.$ac_ext <<_ACEOF
31731 /* end confdefs.h. */
31732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31734 #define $ac_func innocuous_$ac_func
31735
31736 /* System header to define __stub macros and hopefully few prototypes,
31737 which can conflict with char $ac_func (); below.
31738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31739 <limits.h> exists even on freestanding compilers. */
31740
31741 #ifdef __STDC__
31742 # include <limits.h>
31743 #else
31744 # include <assert.h>
31745 #endif
31746
31747 #undef $ac_func
31748
31749 /* Override any GCC internal prototype to avoid an error.
31750 Use char because int might match the return type of a GCC
31751 builtin and then its argument prototype would still apply. */
31752 #ifdef __cplusplus
31753 extern "C"
31754 #endif
31755 char $ac_func ();
31756 /* The GNU C library defines this for functions which it implements
31757 to always fail with ENOSYS. Some functions are actually named
31758 something starting with __ and the normal name is an alias. */
31759 #if defined __stub_$ac_func || defined __stub___$ac_func
31760 choke me
31761 #endif
31762
31763 int
31764 main ()
31765 {
31766 return $ac_func ();
31767 ;
31768 return 0;
31769 }
31770 _ACEOF
31771 rm -f conftest.$ac_objext conftest$ac_exeext
31772 if { (ac_try="$ac_link"
31773 case "(($ac_try" in
31774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31775 *) ac_try_echo=$ac_try;;
31776 esac
31777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31778 (eval "$ac_link") 2>conftest.er1
31779 ac_status=$?
31780 grep -v '^ *+' conftest.er1 >conftest.err
31781 rm -f conftest.er1
31782 cat conftest.err >&5
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); } && {
31785 test -z "$ac_c_werror_flag" ||
31786 test ! -s conftest.err
31787 } && test -s conftest$ac_exeext &&
31788 $as_test_x conftest$ac_exeext; then
31789 eval "$as_ac_var=yes"
31790 else
31791 echo "$as_me: failed program was:" >&5
31792 sed 's/^/| /' conftest.$ac_ext >&5
31793
31794 eval "$as_ac_var=no"
31795 fi
31796
31797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31798 conftest$ac_exeext conftest.$ac_ext
31799 fi
31800 ac_res=`eval echo '${'$as_ac_var'}'`
31801 { echo "$as_me:$LINENO: result: $ac_res" >&5
31802 echo "${ECHO_T}$ac_res" >&6; }
31803 if test `eval echo '${'$as_ac_var'}'` = yes; then
31804 cat >>confdefs.h <<_ACEOF
31805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31806 _ACEOF
31807
31808 fi
31809 done
31810
31811 LIBS="$save_LIBS"
31812 fi
31813
31814 wxUSE_UNIVERSAL="yes"
31815
31816 if test "$wxUSE_NANOX" = "yes"; then
31817 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31818 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"
31819 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31820 else
31821 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31822 fi
31823
31824 TOOLKIT=X11
31825 GUIDIST=X11_DIST
31826 fi
31827
31828 if test "$wxUSE_MOTIF" = 1; then
31829 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31830 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31831
31832 ac_find_includes=
31833 for ac_dir in $SEARCH_INCLUDE /usr/include;
31834 do
31835 if test -f "$ac_dir/Xm/Xm.h"; then
31836 ac_find_includes=$ac_dir
31837 break
31838 fi
31839 done
31840
31841 if test "$ac_find_includes" != "" ; then
31842 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31843 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31844
31845 if test "x$ac_find_includes" = "x/usr/include"; then
31846 ac_path_to_include=""
31847 else
31848 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31849 result=$?
31850 if test $result = 0; then
31851 ac_path_to_include=""
31852 else
31853 ac_path_to_include=" -I$ac_find_includes"
31854 fi
31855 fi
31856
31857 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31858 else
31859 save_CFLAGS=$CFLAGS
31860 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31861
31862 cat >conftest.$ac_ext <<_ACEOF
31863 /* confdefs.h. */
31864 _ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h. */
31868
31869 #include <Xm/Xm.h>
31870
31871 int
31872 main ()
31873 {
31874
31875 int version;
31876 version = xmUseVersion;
31877
31878 ;
31879 return 0;
31880 }
31881 _ACEOF
31882 rm -f conftest.$ac_objext
31883 if { (ac_try="$ac_compile"
31884 case "(($ac_try" in
31885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31886 *) ac_try_echo=$ac_try;;
31887 esac
31888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31889 (eval "$ac_compile") 2>conftest.er1
31890 ac_status=$?
31891 grep -v '^ *+' conftest.er1 >conftest.err
31892 rm -f conftest.er1
31893 cat conftest.err >&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); } && {
31896 test -z "$ac_c_werror_flag" ||
31897 test ! -s conftest.err
31898 } && test -s conftest.$ac_objext; then
31899
31900 { echo "$as_me:$LINENO: result: found in default search path" >&5
31901 echo "${ECHO_T}found in default search path" >&6; }
31902 COMPILED_X_PROGRAM=1
31903
31904 else
31905 echo "$as_me: failed program was:" >&5
31906 sed 's/^/| /' conftest.$ac_ext >&5
31907
31908
31909 { echo "$as_me:$LINENO: result: no" >&5
31910 echo "${ECHO_T}no" >&6; }
31911 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31912 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31913 { (exit 1); exit 1; }; }
31914
31915
31916 fi
31917
31918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31919
31920 CFLAGS=$save_CFLAGS
31921 fi
31922
31923
31924 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31925 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31926
31927 ac_find_libraries=
31928 for ac_dir in $SEARCH_LIB;
31929 do
31930 for ac_extension in a so sl dylib dll.a; do
31931 if test -f "$ac_dir/libXm.$ac_extension"; then
31932 ac_find_libraries=$ac_dir
31933 break 2
31934 fi
31935 done
31936 done
31937
31938
31939 if test "x$ac_find_libraries" != "x" ; then
31940 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31941 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31942
31943
31944 if test "$ac_find_libraries" = "default location"; then
31945 ac_path_to_link=""
31946 else
31947 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31948 result=$?
31949 if test $result = 0; then
31950 ac_path_to_link=""
31951 else
31952 ac_path_to_link=" -L$ac_find_libraries"
31953 fi
31954 fi
31955
31956 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31957 else
31958 save_CFLAGS=$CFLAGS
31959 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31960 save_LIBS="$LIBS"
31961 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31962
31963 cat >conftest.$ac_ext <<_ACEOF
31964 /* confdefs.h. */
31965 _ACEOF
31966 cat confdefs.h >>conftest.$ac_ext
31967 cat >>conftest.$ac_ext <<_ACEOF
31968 /* end confdefs.h. */
31969
31970 #include <Xm/Xm.h>
31971
31972 int
31973 main ()
31974 {
31975
31976 int version;
31977 version = xmUseVersion;
31978
31979 ;
31980 return 0;
31981 }
31982 _ACEOF
31983 rm -f conftest.$ac_objext conftest$ac_exeext
31984 if { (ac_try="$ac_link"
31985 case "(($ac_try" in
31986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31987 *) ac_try_echo=$ac_try;;
31988 esac
31989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31990 (eval "$ac_link") 2>conftest.er1
31991 ac_status=$?
31992 grep -v '^ *+' conftest.er1 >conftest.err
31993 rm -f conftest.er1
31994 cat conftest.err >&5
31995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31996 (exit $ac_status); } && {
31997 test -z "$ac_c_werror_flag" ||
31998 test ! -s conftest.err
31999 } && test -s conftest$ac_exeext &&
32000 $as_test_x conftest$ac_exeext; then
32001
32002 { echo "$as_me:$LINENO: result: found in default search path" >&5
32003 echo "${ECHO_T}found in default search path" >&6; }
32004 COMPILED_X_PROGRAM=1
32005
32006 else
32007 echo "$as_me: failed program was:" >&5
32008 sed 's/^/| /' conftest.$ac_ext >&5
32009
32010
32011 { echo "$as_me:$LINENO: result: no" >&5
32012 echo "${ECHO_T}no" >&6; }
32013 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32014 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32015 { (exit 1); exit 1; }; }
32016
32017
32018 fi
32019
32020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32021 conftest$ac_exeext conftest.$ac_ext
32022
32023 CFLAGS=$save_CFLAGS
32024 LIBS="$save_LIBS"
32025 fi
32026
32027 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32028 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
32029 libp_link=""
32030 libsm_ice_link=""
32031 libs_found=0
32032 for libp in "" " -lXp"; do
32033 if test "$libs_found" = 0; then
32034 for libsm_ice in "" " -lSM -lICE"; do
32035 if test "$libs_found" = 0; then
32036 save_LIBS="$LIBS"
32037 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32038 save_CFLAGS=$CFLAGS
32039 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32040
32041 cat >conftest.$ac_ext <<_ACEOF
32042 /* confdefs.h. */
32043 _ACEOF
32044 cat confdefs.h >>conftest.$ac_ext
32045 cat >>conftest.$ac_ext <<_ACEOF
32046 /* end confdefs.h. */
32047
32048 #include <Xm/Xm.h>
32049 #include <Xm/List.h>
32050
32051 int
32052 main ()
32053 {
32054
32055 XmString string = NULL;
32056 Widget w = NULL;
32057 int position = 0;
32058 XmListAddItem(w, string, position);
32059
32060 ;
32061 return 0;
32062 }
32063 _ACEOF
32064 rm -f conftest.$ac_objext conftest$ac_exeext
32065 if { (ac_try="$ac_link"
32066 case "(($ac_try" in
32067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32068 *) ac_try_echo=$ac_try;;
32069 esac
32070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32071 (eval "$ac_link") 2>conftest.er1
32072 ac_status=$?
32073 grep -v '^ *+' conftest.er1 >conftest.err
32074 rm -f conftest.er1
32075 cat conftest.err >&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); } && {
32078 test -z "$ac_c_werror_flag" ||
32079 test ! -s conftest.err
32080 } && test -s conftest$ac_exeext &&
32081 $as_test_x conftest$ac_exeext; then
32082
32083 libp_link="$libp"
32084 libsm_ice_link="$libsm_ice"
32085 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32086 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32087 libs_found=1
32088
32089 else
32090 echo "$as_me: failed program was:" >&5
32091 sed 's/^/| /' conftest.$ac_ext >&5
32092
32093
32094
32095 fi
32096
32097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32098 conftest$ac_exeext conftest.$ac_ext
32099
32100 LIBS="$save_LIBS"
32101 CFLAGS=$save_CFLAGS
32102 fi
32103 done
32104 fi
32105 done
32106
32107 if test "$libs_found" = 0; then
32108 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32109 echo "${ECHO_T}can't find the right libraries" >&6; }
32110 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32111 echo "$as_me: error: can't link a simple motif program" >&2;}
32112 { (exit 1); exit 1; }; }
32113 fi
32114
32115 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32116 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32117 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32118 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 else
32120 ac_check_lib_save_LIBS=$LIBS
32121 LIBS="-lSgm $LIBS"
32122 cat >conftest.$ac_ext <<_ACEOF
32123 /* confdefs.h. */
32124 _ACEOF
32125 cat confdefs.h >>conftest.$ac_ext
32126 cat >>conftest.$ac_ext <<_ACEOF
32127 /* end confdefs.h. */
32128
32129 /* Override any GCC internal prototype to avoid an error.
32130 Use char because int might match the return type of a GCC
32131 builtin and then its argument prototype would still apply. */
32132 #ifdef __cplusplus
32133 extern "C"
32134 #endif
32135 char SgCreateList ();
32136 int
32137 main ()
32138 {
32139 return SgCreateList ();
32140 ;
32141 return 0;
32142 }
32143 _ACEOF
32144 rm -f conftest.$ac_objext conftest$ac_exeext
32145 if { (ac_try="$ac_link"
32146 case "(($ac_try" in
32147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32148 *) ac_try_echo=$ac_try;;
32149 esac
32150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32151 (eval "$ac_link") 2>conftest.er1
32152 ac_status=$?
32153 grep -v '^ *+' conftest.er1 >conftest.err
32154 rm -f conftest.er1
32155 cat conftest.err >&5
32156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32157 (exit $ac_status); } && {
32158 test -z "$ac_c_werror_flag" ||
32159 test ! -s conftest.err
32160 } && test -s conftest$ac_exeext &&
32161 $as_test_x conftest$ac_exeext; then
32162 ac_cv_lib_Sgm_SgCreateList=yes
32163 else
32164 echo "$as_me: failed program was:" >&5
32165 sed 's/^/| /' conftest.$ac_ext >&5
32166
32167 ac_cv_lib_Sgm_SgCreateList=no
32168 fi
32169
32170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32171 conftest$ac_exeext conftest.$ac_ext
32172 LIBS=$ac_check_lib_save_LIBS
32173 fi
32174 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32175 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32176 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32177 libsgm_link=" -lSgm"
32178 fi
32179
32180
32181 save_CFLAGS=$CFLAGS
32182 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32183
32184 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32185 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32186 if test "${wx_cv_lib_motif2+set}" = set; then
32187 echo $ECHO_N "(cached) $ECHO_C" >&6
32188 else
32189 cat >conftest.$ac_ext <<_ACEOF
32190 /* confdefs.h. */
32191 _ACEOF
32192 cat confdefs.h >>conftest.$ac_ext
32193 cat >>conftest.$ac_ext <<_ACEOF
32194 /* end confdefs.h. */
32195
32196 #include <Xm/Xm.h>
32197
32198 int
32199 main ()
32200 {
32201
32202 #if XmVersion < 2000
32203 Not Motif 2
32204 #endif
32205
32206 ;
32207 return 0;
32208 }
32209 _ACEOF
32210 rm -f conftest.$ac_objext
32211 if { (ac_try="$ac_compile"
32212 case "(($ac_try" in
32213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32214 *) ac_try_echo=$ac_try;;
32215 esac
32216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32217 (eval "$ac_compile") 2>conftest.er1
32218 ac_status=$?
32219 grep -v '^ *+' conftest.er1 >conftest.err
32220 rm -f conftest.er1
32221 cat conftest.err >&5
32222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32223 (exit $ac_status); } && {
32224 test -z "$ac_c_werror_flag" ||
32225 test ! -s conftest.err
32226 } && test -s conftest.$ac_objext; then
32227 wx_cv_lib_motif2="yes"
32228 else
32229 echo "$as_me: failed program was:" >&5
32230 sed 's/^/| /' conftest.$ac_ext >&5
32231
32232 wx_cv_lib_motif2="no"
32233 fi
32234
32235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32236 fi
32237 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32238 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32239 if test "$wx_cv_lib_motif2" = "yes"; then
32240 cat >>confdefs.h <<\_ACEOF
32241 #define __WXMOTIF20__ 1
32242 _ACEOF
32243
32244 else
32245 cat >>confdefs.h <<\_ACEOF
32246 #define __WXMOTIF20__ 0
32247 _ACEOF
32248
32249 fi
32250
32251 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32252 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32253 if test "${wx_cv_lib_lesstif+set}" = set; then
32254 echo $ECHO_N "(cached) $ECHO_C" >&6
32255 else
32256 cat >conftest.$ac_ext <<_ACEOF
32257 /* confdefs.h. */
32258 _ACEOF
32259 cat confdefs.h >>conftest.$ac_ext
32260 cat >>conftest.$ac_ext <<_ACEOF
32261 /* end confdefs.h. */
32262
32263 #include <Xm/Xm.h>
32264
32265 int
32266 main ()
32267 {
32268
32269 #if !defined(LesstifVersion) || LesstifVersion <= 0
32270 Not Lesstif
32271 #endif
32272
32273 ;
32274 return 0;
32275 }
32276 _ACEOF
32277 rm -f conftest.$ac_objext
32278 if { (ac_try="$ac_compile"
32279 case "(($ac_try" in
32280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32281 *) ac_try_echo=$ac_try;;
32282 esac
32283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32284 (eval "$ac_compile") 2>conftest.er1
32285 ac_status=$?
32286 grep -v '^ *+' conftest.er1 >conftest.err
32287 rm -f conftest.er1
32288 cat conftest.err >&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } && {
32291 test -z "$ac_c_werror_flag" ||
32292 test ! -s conftest.err
32293 } && test -s conftest.$ac_objext; then
32294 wx_cv_lib_lesstif="yes"
32295 else
32296 echo "$as_me: failed program was:" >&5
32297 sed 's/^/| /' conftest.$ac_ext >&5
32298
32299 wx_cv_lib_lesstif="no"
32300 fi
32301
32302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32303
32304 fi
32305 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32306 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32307 if test "$wx_cv_lib_lesstif" = "yes"; then
32308 cat >>confdefs.h <<\_ACEOF
32309 #define __WXLESSTIF__ 1
32310 _ACEOF
32311
32312 else
32313 cat >>confdefs.h <<\_ACEOF
32314 #define __WXLESSTIF__ 0
32315 _ACEOF
32316
32317 fi
32318
32319 CFLAGS=$save_CFLAGS
32320
32321 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32322 TOOLKIT=MOTIF
32323 GUIDIST=MOTIF_DIST
32324 fi
32325
32326 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32327 if test "$wxUSE_LIBXPM" = "sys"; then
32328 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32329 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32330
32331 ac_find_libraries=
32332 for ac_dir in $SEARCH_LIB;
32333 do
32334 for ac_extension in a so sl dylib dll.a; do
32335 if test -f "$ac_dir/libXpm.$ac_extension"; then
32336 ac_find_libraries=$ac_dir
32337 break 2
32338 fi
32339 done
32340 done
32341
32342 if test "$ac_find_libraries" != "" ; then
32343
32344 if test "$ac_find_libraries" = "default location"; then
32345 ac_path_to_link=""
32346 else
32347 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32348 result=$?
32349 if test $result = 0; then
32350 ac_path_to_link=""
32351 else
32352 ac_path_to_link=" -L$ac_find_libraries"
32353 fi
32354 fi
32355
32356 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32357 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32358 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32359
32360 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32361 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32362 if test "${wx_cv_x11_xpm_h+set}" = set; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 else
32365
32366 save_CFLAGS=$CFLAGS
32367 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32368
32369 cat >conftest.$ac_ext <<_ACEOF
32370 /* confdefs.h. */
32371 _ACEOF
32372 cat confdefs.h >>conftest.$ac_ext
32373 cat >>conftest.$ac_ext <<_ACEOF
32374 /* end confdefs.h. */
32375
32376 #include <X11/xpm.h>
32377
32378 int
32379 main ()
32380 {
32381
32382 int version;
32383 version = XpmLibraryVersion();
32384
32385 ;
32386 return 0;
32387 }
32388 _ACEOF
32389 rm -f conftest.$ac_objext
32390 if { (ac_try="$ac_compile"
32391 case "(($ac_try" in
32392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32393 *) ac_try_echo=$ac_try;;
32394 esac
32395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32396 (eval "$ac_compile") 2>conftest.er1
32397 ac_status=$?
32398 grep -v '^ *+' conftest.er1 >conftest.err
32399 rm -f conftest.er1
32400 cat conftest.err >&5
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); } && {
32403 test -z "$ac_c_werror_flag" ||
32404 test ! -s conftest.err
32405 } && test -s conftest.$ac_objext; then
32406 wx_cv_x11_xpm_h=yes
32407 else
32408 echo "$as_me: failed program was:" >&5
32409 sed 's/^/| /' conftest.$ac_ext >&5
32410
32411 wx_cv_x11_xpm_h=no
32412
32413 fi
32414
32415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32416
32417 CFLAGS=$save_CFLAGS
32418
32419
32420 fi
32421 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32422 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32423
32424 if test $wx_cv_x11_xpm_h = "yes"; then
32425 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32426 cat >>confdefs.h <<\_ACEOF
32427 #define wxHAVE_LIB_XPM 1
32428 _ACEOF
32429
32430 else
32431 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32432 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32433 fi
32434 fi
32435
32436 fi
32437
32438 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32439 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32440 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32441 echo $ECHO_N "(cached) $ECHO_C" >&6
32442 else
32443 ac_check_lib_save_LIBS=$LIBS
32444 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32445 cat >conftest.$ac_ext <<_ACEOF
32446 /* confdefs.h. */
32447 _ACEOF
32448 cat confdefs.h >>conftest.$ac_ext
32449 cat >>conftest.$ac_ext <<_ACEOF
32450 /* end confdefs.h. */
32451
32452 /* Override any GCC internal prototype to avoid an error.
32453 Use char because int might match the return type of a GCC
32454 builtin and then its argument prototype would still apply. */
32455 #ifdef __cplusplus
32456 extern "C"
32457 #endif
32458 char XShapeQueryExtension ();
32459 int
32460 main ()
32461 {
32462 return XShapeQueryExtension ();
32463 ;
32464 return 0;
32465 }
32466 _ACEOF
32467 rm -f conftest.$ac_objext conftest$ac_exeext
32468 if { (ac_try="$ac_link"
32469 case "(($ac_try" in
32470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32471 *) ac_try_echo=$ac_try;;
32472 esac
32473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32474 (eval "$ac_link") 2>conftest.er1
32475 ac_status=$?
32476 grep -v '^ *+' conftest.er1 >conftest.err
32477 rm -f conftest.er1
32478 cat conftest.err >&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); } && {
32481 test -z "$ac_c_werror_flag" ||
32482 test ! -s conftest.err
32483 } && test -s conftest$ac_exeext &&
32484 $as_test_x conftest$ac_exeext; then
32485 ac_cv_lib_Xext_XShapeQueryExtension=yes
32486 else
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.$ac_ext >&5
32489
32490 ac_cv_lib_Xext_XShapeQueryExtension=no
32491 fi
32492
32493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32494 conftest$ac_exeext conftest.$ac_ext
32495 LIBS=$ac_check_lib_save_LIBS
32496 fi
32497 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32498 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32499 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32500
32501 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32502 wxHAVE_XEXT_LIB=1
32503
32504 fi
32505
32506
32507 if test "$wxHAVE_XEXT_LIB" = 1; then
32508 save_CFLAGS="$CFLAGS"
32509 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32510
32511 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32512 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32513 cat >conftest.$ac_ext <<_ACEOF
32514 /* confdefs.h. */
32515 _ACEOF
32516 cat confdefs.h >>conftest.$ac_ext
32517 cat >>conftest.$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32519
32520 #include <X11/Xlib.h>
32521 #include <X11/extensions/shape.h>
32522
32523 int
32524 main ()
32525 {
32526
32527 int dummy1, dummy2;
32528 XShapeQueryExtension((Display*)NULL,
32529 (int*)NULL, (int*)NULL);
32530
32531 ;
32532 return 0;
32533 }
32534 _ACEOF
32535 rm -f conftest.$ac_objext
32536 if { (ac_try="$ac_compile"
32537 case "(($ac_try" in
32538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32539 *) ac_try_echo=$ac_try;;
32540 esac
32541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32542 (eval "$ac_compile") 2>conftest.er1
32543 ac_status=$?
32544 grep -v '^ *+' conftest.er1 >conftest.err
32545 rm -f conftest.er1
32546 cat conftest.err >&5
32547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32548 (exit $ac_status); } && {
32549 test -z "$ac_c_werror_flag" ||
32550 test ! -s conftest.err
32551 } && test -s conftest.$ac_objext; then
32552
32553 cat >>confdefs.h <<\_ACEOF
32554 #define HAVE_XSHAPE 1
32555 _ACEOF
32556
32557 { echo "$as_me:$LINENO: result: found" >&5
32558 echo "${ECHO_T}found" >&6; }
32559
32560 else
32561 echo "$as_me: failed program was:" >&5
32562 sed 's/^/| /' conftest.$ac_ext >&5
32563
32564
32565 { echo "$as_me:$LINENO: result: not found" >&5
32566 echo "${ECHO_T}not found" >&6; }
32567
32568 fi
32569
32570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32571 CFLAGS="$save_CFLAGS"
32572
32573 fi
32574 fi
32575
32576 if test "$wxUSE_OSX_CARBON" = 1; then
32577 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32578 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32579 if test "$GCC" = yes; then
32580 { echo "$as_me:$LINENO: result: gcc" >&5
32581 echo "${ECHO_T}gcc" >&6; }
32582 CPPFLAGS_PASCAL="-fpascal-strings"
32583 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32584 { echo "$as_me:$LINENO: result: xlc" >&5
32585 echo "${ECHO_T}xlc" >&6; }
32586 CPPFLAGS_PASCAL="-qmacpstr"
32587 else
32588 { echo "$as_me:$LINENO: result: none" >&5
32589 echo "${ECHO_T}none" >&6; }
32590 fi
32591
32592 if test "x$wxUSE_UNIX" = "xyes"; then
32593 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32594 else
32595 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32596 fi
32597
32598 TOOLKIT=OSX_CARBON
32599 GUIDIST=OSX_CARBON_DIST
32600 WXBASEPORT="_carbon"
32601 fi
32602
32603 if test "$wxUSE_OSX_COCOA" = 1; then
32604 TOOLKIT=OSX_COCOA
32605 GUIDIST=OSX_COCOA_DIST
32606 fi
32607
32608 if test "$wxUSE_COCOA" = 1; then
32609 TOOLKIT=COCOA
32610 GUIDIST=COCOA_DIST
32611 fi
32612
32613 if test "$wxUSE_PM" = 1; then
32614 TOOLKIT=PM
32615 GUIDIST=PM_DIST
32616 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32617 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32618 if test "${wx_cv_spbcdata+set}" = set; then
32619 echo $ECHO_N "(cached) $ECHO_C" >&6
32620 else
32621
32622 cat >conftest.$ac_ext <<_ACEOF
32623 /* confdefs.h. */
32624 _ACEOF
32625 cat confdefs.h >>conftest.$ac_ext
32626 cat >>conftest.$ac_ext <<_ACEOF
32627 /* end confdefs.h. */
32628
32629 #define INCL_PM
32630 #include <os2.h>
32631
32632 int
32633 main ()
32634 {
32635
32636 SPBCDATA test;
32637
32638 ;
32639 return 0;
32640 }
32641 _ACEOF
32642 rm -f conftest.$ac_objext
32643 if { (ac_try="$ac_compile"
32644 case "(($ac_try" in
32645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32646 *) ac_try_echo=$ac_try;;
32647 esac
32648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32649 (eval "$ac_compile") 2>conftest.er1
32650 ac_status=$?
32651 grep -v '^ *+' conftest.er1 >conftest.err
32652 rm -f conftest.er1
32653 cat conftest.err >&5
32654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32655 (exit $ac_status); } && {
32656 test -z "$ac_c_werror_flag" ||
32657 test ! -s conftest.err
32658 } && test -s conftest.$ac_objext; then
32659 wx_cv_spbcdata=yes
32660 else
32661 echo "$as_me: failed program was:" >&5
32662 sed 's/^/| /' conftest.$ac_ext >&5
32663
32664 wx_cv_spbcdata=no
32665
32666 fi
32667
32668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32669
32670
32671 fi
32672 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32673 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32674
32675 if test $wx_cv_spbcdata = "yes"; then
32676 cat >>confdefs.h <<\_ACEOF
32677 #define HAVE_SPBCDATA 1
32678 _ACEOF
32679
32680 fi
32681 fi
32682
32683 if test "$TOOLKIT" = "PM" ; then
32684 TOOLKIT_DIR="os2"
32685 else
32686 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32687 fi
32688
32689 if test "$wxUSE_UNIVERSAL" = "yes"; then
32690 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32691 WIDGET_SET=univ
32692 fi
32693
32694 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32695 DISTDIR="wx\$(TOOLKIT)"
32696 else
32697 USE_GUI=0
32698
32699 TOOLKIT_DIR="base"
32700
32701 if test "$USE_WIN32" = 1 ; then
32702 TOOLKIT="MSW"
32703 fi
32704
32705 GUIDIST="BASE_DIST"
32706 DISTDIR="wxBase"
32707 fi
32708
32709
32710
32711 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32712 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32713 wxUSE_UNICODE_UTF8=yes
32714 elif test "$USE_OS2" = 1 ; then
32715 wxUSE_UNICODE_UTF8=yes
32716 else
32717 wxUSE_UNICODE_UTF8=no
32718 fi
32719 fi
32720
32721
32722 if test "$wxUSE_GUI" = "yes"; then
32723 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32724
32725 for ac_header in X11/Xlib.h
32726 do
32727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32728 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32731 echo $ECHO_N "(cached) $ECHO_C" >&6
32732 else
32733 cat >conftest.$ac_ext <<_ACEOF
32734 /* confdefs.h. */
32735 _ACEOF
32736 cat confdefs.h >>conftest.$ac_ext
32737 cat >>conftest.$ac_ext <<_ACEOF
32738 /* end confdefs.h. */
32739
32740
32741 #include <$ac_header>
32742 _ACEOF
32743 rm -f conftest.$ac_objext
32744 if { (ac_try="$ac_compile"
32745 case "(($ac_try" in
32746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32747 *) ac_try_echo=$ac_try;;
32748 esac
32749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32750 (eval "$ac_compile") 2>conftest.er1
32751 ac_status=$?
32752 grep -v '^ *+' conftest.er1 >conftest.err
32753 rm -f conftest.er1
32754 cat conftest.err >&5
32755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32756 (exit $ac_status); } && {
32757 test -z "$ac_c_werror_flag" ||
32758 test ! -s conftest.err
32759 } && test -s conftest.$ac_objext; then
32760 eval "$as_ac_Header=yes"
32761 else
32762 echo "$as_me: failed program was:" >&5
32763 sed 's/^/| /' conftest.$ac_ext >&5
32764
32765 eval "$as_ac_Header=no"
32766 fi
32767
32768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32769 fi
32770 ac_res=`eval echo '${'$as_ac_Header'}'`
32771 { echo "$as_me:$LINENO: result: $ac_res" >&5
32772 echo "${ECHO_T}$ac_res" >&6; }
32773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32774 cat >>confdefs.h <<_ACEOF
32775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32776 _ACEOF
32777
32778 fi
32779
32780 done
32781
32782
32783 for ac_header in X11/XKBlib.h
32784 do
32785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32786 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32789 echo $ECHO_N "(cached) $ECHO_C" >&6
32790 else
32791 cat >conftest.$ac_ext <<_ACEOF
32792 /* confdefs.h. */
32793 _ACEOF
32794 cat confdefs.h >>conftest.$ac_ext
32795 cat >>conftest.$ac_ext <<_ACEOF
32796 /* end confdefs.h. */
32797
32798 #if HAVE_X11_XLIB_H
32799 #include <X11/Xlib.h>
32800 #endif
32801
32802
32803 #include <$ac_header>
32804 _ACEOF
32805 rm -f conftest.$ac_objext
32806 if { (ac_try="$ac_compile"
32807 case "(($ac_try" in
32808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32809 *) ac_try_echo=$ac_try;;
32810 esac
32811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32812 (eval "$ac_compile") 2>conftest.er1
32813 ac_status=$?
32814 grep -v '^ *+' conftest.er1 >conftest.err
32815 rm -f conftest.er1
32816 cat conftest.err >&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); } && {
32819 test -z "$ac_c_werror_flag" ||
32820 test ! -s conftest.err
32821 } && test -s conftest.$ac_objext; then
32822 eval "$as_ac_Header=yes"
32823 else
32824 echo "$as_me: failed program was:" >&5
32825 sed 's/^/| /' conftest.$ac_ext >&5
32826
32827 eval "$as_ac_Header=no"
32828 fi
32829
32830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32831 fi
32832 ac_res=`eval echo '${'$as_ac_Header'}'`
32833 { echo "$as_me:$LINENO: result: $ac_res" >&5
32834 echo "${ECHO_T}$ac_res" >&6; }
32835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32836 cat >>confdefs.h <<_ACEOF
32837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32838 _ACEOF
32839
32840 fi
32841
32842 done
32843
32844 fi
32845 fi
32846
32847
32848
32849 if test "$wxUSE_DISPLAY" = "yes"; then
32850 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32851 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32852 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32853
32854 ac_find_libraries=
32855 for ac_dir in $SEARCH_LIB;
32856 do
32857 for ac_extension in a so sl dylib dll.a; do
32858 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32859 ac_find_libraries=$ac_dir
32860 break 2
32861 fi
32862 done
32863 done
32864
32865 if test "$ac_find_libraries" != "" ; then
32866
32867 if test "$ac_find_libraries" = "default location"; then
32868 ac_path_to_link=""
32869 else
32870 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32871 result=$?
32872 if test $result = 0; then
32873 ac_path_to_link=""
32874 else
32875 ac_path_to_link=" -L$ac_find_libraries"
32876 fi
32877 fi
32878
32879 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32880 LDFLAGS="$LDFLAGS $ac_path_to_link"
32881 fi
32882 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32883 { echo "$as_me:$LINENO: result: yes" >&5
32884 echo "${ECHO_T}yes" >&6; }
32885
32886 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32887 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32888
32889 ac_find_libraries=
32890 for ac_dir in $SEARCH_LIB;
32891 do
32892 for ac_extension in a so sl dylib dll.a; do
32893 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32894 ac_find_libraries=$ac_dir
32895 break 2
32896 fi
32897 done
32898 done
32899
32900 if test "$ac_find_libraries" != "" ; then
32901 { echo "$as_me:$LINENO: result: yes" >&5
32902 echo "${ECHO_T}yes" >&6; }
32903
32904 for ac_header in X11/extensions/xf86vmode.h
32905 do
32906 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32907 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32910 echo $ECHO_N "(cached) $ECHO_C" >&6
32911 else
32912 cat >conftest.$ac_ext <<_ACEOF
32913 /* confdefs.h. */
32914 _ACEOF
32915 cat confdefs.h >>conftest.$ac_ext
32916 cat >>conftest.$ac_ext <<_ACEOF
32917 /* end confdefs.h. */
32918
32919 #if HAVE_X11_XLIB_H
32920 #include <X11/Xlib.h>
32921 #endif
32922
32923
32924 #include <$ac_header>
32925 _ACEOF
32926 rm -f conftest.$ac_objext
32927 if { (ac_try="$ac_compile"
32928 case "(($ac_try" in
32929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32930 *) ac_try_echo=$ac_try;;
32931 esac
32932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32933 (eval "$ac_compile") 2>conftest.er1
32934 ac_status=$?
32935 grep -v '^ *+' conftest.er1 >conftest.err
32936 rm -f conftest.er1
32937 cat conftest.err >&5
32938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32939 (exit $ac_status); } && {
32940 test -z "$ac_c_werror_flag" ||
32941 test ! -s conftest.err
32942 } && test -s conftest.$ac_objext; then
32943 eval "$as_ac_Header=yes"
32944 else
32945 echo "$as_me: failed program was:" >&5
32946 sed 's/^/| /' conftest.$ac_ext >&5
32947
32948 eval "$as_ac_Header=no"
32949 fi
32950
32951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32952 fi
32953 ac_res=`eval echo '${'$as_ac_Header'}'`
32954 { echo "$as_me:$LINENO: result: $ac_res" >&5
32955 echo "${ECHO_T}$ac_res" >&6; }
32956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32957 cat >>confdefs.h <<_ACEOF
32958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32959 _ACEOF
32960
32961 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32962
32963 fi
32964
32965 done
32966
32967 else
32968 { echo "$as_me:$LINENO: result: no" >&5
32969 echo "${ECHO_T}no" >&6; }
32970 fi
32971
32972 else
32973 { echo "$as_me:$LINENO: result: no" >&5
32974 echo "${ECHO_T}no" >&6; }
32975 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32976 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32977 wxUSE_DISPLAY="no"
32978 fi
32979 elif test "$wxUSE_MSW" = 1; then
32980 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32981 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32982 if test "${ac_cv_header_ddraw_h+set}" = set; then
32983 echo $ECHO_N "(cached) $ECHO_C" >&6
32984 else
32985 cat >conftest.$ac_ext <<_ACEOF
32986 /* confdefs.h. */
32987 _ACEOF
32988 cat confdefs.h >>conftest.$ac_ext
32989 cat >>conftest.$ac_ext <<_ACEOF
32990 /* end confdefs.h. */
32991 #include <windows.h>
32992
32993 #include <ddraw.h>
32994 _ACEOF
32995 rm -f conftest.$ac_objext
32996 if { (ac_try="$ac_compile"
32997 case "(($ac_try" in
32998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32999 *) ac_try_echo=$ac_try;;
33000 esac
33001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33002 (eval "$ac_compile") 2>conftest.er1
33003 ac_status=$?
33004 grep -v '^ *+' conftest.er1 >conftest.err
33005 rm -f conftest.er1
33006 cat conftest.err >&5
33007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33008 (exit $ac_status); } && {
33009 test -z "$ac_c_werror_flag" ||
33010 test ! -s conftest.err
33011 } && test -s conftest.$ac_objext; then
33012 ac_cv_header_ddraw_h=yes
33013 else
33014 echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.$ac_ext >&5
33016
33017 ac_cv_header_ddraw_h=no
33018 fi
33019
33020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33021 fi
33022 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
33023 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
33024
33025
33026 fi
33027 fi
33028
33029 if test "$wxUSE_DETECT_SM" = "yes"; then
33030 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33031 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33032 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
33033
33034 ac_find_libraries=
33035 for ac_dir in $SEARCH_LIB;
33036 do
33037 for ac_extension in a so sl dylib dll.a; do
33038 if test -f "$ac_dir/libSM.$ac_extension"; then
33039 ac_find_libraries=$ac_dir
33040 break 2
33041 fi
33042 done
33043 done
33044
33045 if test "$ac_find_libraries" != "" ; then
33046
33047 if test "$ac_find_libraries" = "default location"; then
33048 ac_path_to_link=""
33049 else
33050 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33051 result=$?
33052 if test $result = 0; then
33053 ac_path_to_link=""
33054 else
33055 ac_path_to_link=" -L$ac_find_libraries"
33056 fi
33057 fi
33058
33059 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33060 LDFLAGS="$LDFLAGS $ac_path_to_link"
33061 fi
33062 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33063 { echo "$as_me:$LINENO: result: yes" >&5
33064 echo "${ECHO_T}yes" >&6; }
33065 else
33066 { echo "$as_me:$LINENO: result: no" >&5
33067 echo "${ECHO_T}no" >&6; }
33068 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33069 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33070 wxUSE_DETECT_SM="no"
33071 fi
33072 else
33073 wxUSE_DETECT_SM="no"
33074 fi
33075 fi
33076
33077
33078
33079 USE_OPENGL=0
33080 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
33081
33082
33083 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33084 OPENGL_LIBS="-framework OpenGL -framework AGL"
33085 elif test "$wxUSE_MSW" = 1; then
33086 OPENGL_LIBS="-lopengl32 -lglu32"
33087 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
33088
33089 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33090 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33091
33092 ac_find_includes=
33093 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33094 do
33095 if test -f "$ac_dir/GL/gl.h"; then
33096 ac_find_includes=$ac_dir
33097 break
33098 fi
33099 done
33100
33101 if test "$ac_find_includes" != "" ; then
33102 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33103 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33104
33105 if test "x$ac_find_includes" = "x/usr/include"; then
33106 ac_path_to_include=""
33107 else
33108 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33109 result=$?
33110 if test $result = 0; then
33111 ac_path_to_include=""
33112 else
33113 ac_path_to_include=" -I$ac_find_includes"
33114 fi
33115 fi
33116
33117 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33118 else
33119 { echo "$as_me:$LINENO: result: not found" >&5
33120 echo "${ECHO_T}not found" >&6; }
33121 fi
33122
33123 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33124 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33125 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33126 echo $ECHO_N "(cached) $ECHO_C" >&6
33127 else
33128 cat >conftest.$ac_ext <<_ACEOF
33129 /* confdefs.h. */
33130 _ACEOF
33131 cat confdefs.h >>conftest.$ac_ext
33132 cat >>conftest.$ac_ext <<_ACEOF
33133 /* end confdefs.h. */
33134
33135
33136 #include <GL/gl.h>
33137 _ACEOF
33138 rm -f conftest.$ac_objext
33139 if { (ac_try="$ac_compile"
33140 case "(($ac_try" in
33141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33142 *) ac_try_echo=$ac_try;;
33143 esac
33144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33145 (eval "$ac_compile") 2>conftest.er1
33146 ac_status=$?
33147 grep -v '^ *+' conftest.er1 >conftest.err
33148 rm -f conftest.er1
33149 cat conftest.err >&5
33150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33151 (exit $ac_status); } && {
33152 test -z "$ac_c_werror_flag" ||
33153 test ! -s conftest.err
33154 } && test -s conftest.$ac_objext; then
33155 ac_cv_header_GL_gl_h=yes
33156 else
33157 echo "$as_me: failed program was:" >&5
33158 sed 's/^/| /' conftest.$ac_ext >&5
33159
33160 ac_cv_header_GL_gl_h=no
33161 fi
33162
33163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33164 fi
33165 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33166 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33167 if test $ac_cv_header_GL_gl_h = yes; then
33168
33169 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33170 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33171 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33172 echo $ECHO_N "(cached) $ECHO_C" >&6
33173 else
33174 cat >conftest.$ac_ext <<_ACEOF
33175 /* confdefs.h. */
33176 _ACEOF
33177 cat confdefs.h >>conftest.$ac_ext
33178 cat >>conftest.$ac_ext <<_ACEOF
33179 /* end confdefs.h. */
33180
33181
33182 #include <GL/glu.h>
33183 _ACEOF
33184 rm -f conftest.$ac_objext
33185 if { (ac_try="$ac_compile"
33186 case "(($ac_try" in
33187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33188 *) ac_try_echo=$ac_try;;
33189 esac
33190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33191 (eval "$ac_compile") 2>conftest.er1
33192 ac_status=$?
33193 grep -v '^ *+' conftest.er1 >conftest.err
33194 rm -f conftest.er1
33195 cat conftest.err >&5
33196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33197 (exit $ac_status); } && {
33198 test -z "$ac_c_werror_flag" ||
33199 test ! -s conftest.err
33200 } && test -s conftest.$ac_objext; then
33201 ac_cv_header_GL_glu_h=yes
33202 else
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.$ac_ext >&5
33205
33206 ac_cv_header_GL_glu_h=no
33207 fi
33208
33209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33210 fi
33211 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33212 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33213 if test $ac_cv_header_GL_glu_h = yes; then
33214
33215 found_gl=0
33216
33217 { echo "$as_me:$LINENO: checking for -lGL" >&5
33218 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33219
33220 ac_find_libraries=
33221 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33222 do
33223 for ac_extension in a so sl dylib dll.a; do
33224 if test -f "$ac_dir/libGL.$ac_extension"; then
33225 ac_find_libraries=$ac_dir
33226 break 2
33227 fi
33228 done
33229 done
33230
33231 if test "$ac_find_libraries" != "" ; then
33232 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33233 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33234
33235
33236 if test "$ac_find_libraries" = "default location"; then
33237 ac_path_to_link=""
33238 else
33239 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33240 result=$?
33241 if test $result = 0; then
33242 ac_path_to_link=""
33243 else
33244 ac_path_to_link=" -L$ac_find_libraries"
33245 fi
33246 fi
33247
33248 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33249 LDFLAGS_GL="$ac_path_to_link"
33250 fi
33251
33252 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33253 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33254
33255 ac_find_libraries=
33256 for ac_dir in $SEARCH_LIB;
33257 do
33258 for ac_extension in a so sl dylib dll.a; do
33259 if test -f "$ac_dir/libGLU.$ac_extension"; then
33260 ac_find_libraries=$ac_dir
33261 break 2
33262 fi
33263 done
33264 done
33265
33266 if test "$ac_find_libraries" != "" ; then
33267
33268 if test "$ac_find_libraries" = "default location"; then
33269 ac_path_to_link=""
33270 else
33271 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33272 result=$?
33273 if test $result = 0; then
33274 ac_path_to_link=""
33275 else
33276 ac_path_to_link=" -L$ac_find_libraries"
33277 fi
33278 fi
33279
33280 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33281 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33282 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33283 fi
33284
33285 found_gl=1
33286 OPENGL_LIBS="-lGL -lGLU"
33287 { echo "$as_me:$LINENO: result: yes" >&5
33288 echo "${ECHO_T}yes" >&6; }
33289 else
33290 { echo "$as_me:$LINENO: result: no" >&5
33291 echo "${ECHO_T}no" >&6; }
33292 fi
33293 else
33294 { echo "$as_me:$LINENO: result: no" >&5
33295 echo "${ECHO_T}no" >&6; }
33296 fi
33297
33298 if test "$found_gl" != 1; then
33299 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33300 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33301
33302 ac_find_libraries=
33303 for ac_dir in $SEARCH_LIB;
33304 do
33305 for ac_extension in a so sl dylib dll.a; do
33306 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33307 ac_find_libraries=$ac_dir
33308 break 2
33309 fi
33310 done
33311 done
33312
33313 if test "$ac_find_libraries" != "" ; then
33314
33315 if test "$ac_find_libraries" = "default location"; then
33316 ac_path_to_link=""
33317 else
33318 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33319 result=$?
33320 if test $result = 0; then
33321 ac_path_to_link=""
33322 else
33323 ac_path_to_link=" -L$ac_find_libraries"
33324 fi
33325 fi
33326
33327 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33328 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33329 { echo "$as_me:$LINENO: result: yes" >&5
33330 echo "${ECHO_T}yes" >&6; }
33331 else
33332 { echo "$as_me:$LINENO: result: no" >&5
33333 echo "${ECHO_T}no" >&6; }
33334 fi
33335 fi
33336
33337 fi
33338
33339
33340
33341 fi
33342
33343
33344
33345 if test "x$OPENGL_LIBS" = "x"; then
33346 if test "$wxUSE_OPENGL" = "yes"; then
33347 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33348 echo "$as_me: error: OpenGL libraries not available" >&2;}
33349 { (exit 1); exit 1; }; }
33350 else
33351 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
33352 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
33353 wxUSE_OPENGL=no
33354 USE_OPENGL=0
33355 fi
33356 else
33357 wxUSE_OPENGL=yes
33358 fi
33359 else
33360 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33361 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33362 wxUSE_OPENGL="no"
33363 fi
33364
33365 if test "$wxUSE_OPENGL" = "yes"; then
33366 USE_OPENGL=1
33367 cat >>confdefs.h <<\_ACEOF
33368 #define wxUSE_OPENGL 1
33369 _ACEOF
33370
33371 cat >>confdefs.h <<\_ACEOF
33372 #define wxUSE_GLCANVAS 1
33373 _ACEOF
33374
33375 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33376 fi
33377 fi
33378
33379
33380 if test -n "$TOOLKIT" ; then
33381 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33382 fi
33383
33384
33385
33386 if test "$wxUSE_SHARED" = "yes"; then
33387 case "${host}" in
33388 *-pc-msdosdjgpp )
33389 wxUSE_SHARED=no
33390 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33391 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33392 ;;
33393 esac
33394 fi
33395
33396 if test "$wxUSE_SHARED" = "yes"; then
33397
33398
33399 case "${host}" in
33400 *-*-cygwin* | *-*-mingw* )
33401 wx_cv_version_script=no
33402 ;;
33403
33404 *)
33405 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33406 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33407 if test "${wx_cv_version_script+set}" = set; then
33408 echo $ECHO_N "(cached) $ECHO_C" >&6
33409 else
33410
33411 echo "VER_1 { *; };" >conftest.sym
33412 echo "int main() { return 0; }" >conftest.cpp
33413
33414 if { ac_try='
33415 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33416 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33418 (eval $ac_try) 2>&5
33419 ac_status=$?
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); }; } ; then
33422 if test -s conftest.stderr ; then
33423 wx_cv_version_script=no
33424 else
33425 wx_cv_version_script=yes
33426 fi
33427 else
33428 wx_cv_version_script=no
33429 fi
33430
33431 if test $wx_cv_version_script = yes
33432 then
33433 echo "struct B { virtual ~B() { } }; \
33434 struct D : public B { }; \
33435 void F() { D d; }" > conftest.cpp
33436
33437 if { ac_try='
33438 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33439 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33441 (eval $ac_try) 2>&5
33442 ac_status=$?
33443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33444 (exit $ac_status); }; } &&
33445 { ac_try='
33446 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33447 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33450 ac_status=$?
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; }
33453 then
33454 if { ac_try='
33455 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33456 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33458 (eval $ac_try) 2>&5
33459 ac_status=$?
33460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33461 (exit $ac_status); }; }
33462 then
33463 wx_cv_version_script=yes
33464 else
33465 wx_cv_version_script=no
33466 fi
33467 fi
33468 fi
33469
33470 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33471 rm -f conftest1.output conftest2.output conftest3.output
33472
33473 fi
33474 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33475 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33476
33477 if test $wx_cv_version_script = yes ; then
33478 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33479 fi
33480 ;;
33481 esac
33482
33483
33484 if test "$wxUSE_VISIBILITY" != "no"; then
33485
33486
33487 if test -n "$GCC"; then
33488 CFLAGS_VISIBILITY="-fvisibility=hidden"
33489 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33490 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33491 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33492 if test "${wx_cv_cc_visibility+set}" = set; then
33493 echo $ECHO_N "(cached) $ECHO_C" >&6
33494 else
33495
33496 wx_save_CXXFLAGS="$CXXFLAGS"
33497 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33498 ac_ext=cpp
33499 ac_cpp='$CXXCPP $CPPFLAGS'
33500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33503
33504 cat >conftest.$ac_ext <<_ACEOF
33505 /* confdefs.h. */
33506 _ACEOF
33507 cat confdefs.h >>conftest.$ac_ext
33508 cat >>conftest.$ac_ext <<_ACEOF
33509 /* end confdefs.h. */
33510
33511 /* we need gcc >= 4.0, older versions with visibility support
33512 didn't have class visibility: */
33513 #if defined(__GNUC__) && __GNUC__ < 4
33514 error this gcc is too old;
33515 #endif
33516
33517 /* visibility only makes sense for ELF shared libs: */
33518 #if !defined(__ELF__) && !defined(__APPLE__)
33519 error this platform has no visibility;
33520 #endif
33521
33522 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33523 extern __attribute__((__visibility__("default"))) int exportedvar;
33524 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33525 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33526 class __attribute__((__visibility__("default"))) Foo {
33527 Foo() {}
33528 };
33529
33530 int
33531 main ()
33532 {
33533
33534 ;
33535 return 0;
33536 }
33537 _ACEOF
33538 rm -f conftest.$ac_objext
33539 if { (ac_try="$ac_compile"
33540 case "(($ac_try" in
33541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33542 *) ac_try_echo=$ac_try;;
33543 esac
33544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33545 (eval "$ac_compile") 2>conftest.er1
33546 ac_status=$?
33547 grep -v '^ *+' conftest.er1 >conftest.err
33548 rm -f conftest.er1
33549 cat conftest.err >&5
33550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33551 (exit $ac_status); } && {
33552 test -z "$ac_cxx_werror_flag" ||
33553 test ! -s conftest.err
33554 } && test -s conftest.$ac_objext; then
33555 wx_cv_cc_visibility=yes
33556 else
33557 echo "$as_me: failed program was:" >&5
33558 sed 's/^/| /' conftest.$ac_ext >&5
33559
33560 wx_cv_cc_visibility=no
33561 fi
33562
33563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33564 ac_ext=c
33565 ac_cpp='$CPP $CPPFLAGS'
33566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33569
33570 CXXFLAGS="$wx_save_CXXFLAGS"
33571 fi
33572
33573 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33574 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33575 if test $wx_cv_cc_visibility = yes; then
33576 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33577 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33578 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33580 else
33581
33582 wx_save_CXXFLAGS="$CXXFLAGS"
33583 wx_save_LDFLAGS="$LDFLAGS"
33584 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33585 LDFLAGS="$LDFLAGS -shared -fPIC"
33586 ac_ext=cpp
33587 ac_cpp='$CXXCPP $CPPFLAGS'
33588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33591
33592 cat >conftest.$ac_ext <<_ACEOF
33593 /* confdefs.h. */
33594 _ACEOF
33595 cat confdefs.h >>conftest.$ac_ext
33596 cat >>conftest.$ac_ext <<_ACEOF
33597 /* end confdefs.h. */
33598
33599 #include <string>
33600
33601 int
33602 main ()
33603 {
33604
33605 std::string s("hello");
33606 return s.length();
33607
33608 ;
33609 return 0;
33610 }
33611 _ACEOF
33612 rm -f conftest.$ac_objext conftest$ac_exeext
33613 if { (ac_try="$ac_link"
33614 case "(($ac_try" in
33615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33616 *) ac_try_echo=$ac_try;;
33617 esac
33618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33619 (eval "$ac_link") 2>conftest.er1
33620 ac_status=$?
33621 grep -v '^ *+' conftest.er1 >conftest.err
33622 rm -f conftest.er1
33623 cat conftest.err >&5
33624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33625 (exit $ac_status); } && {
33626 test -z "$ac_cxx_werror_flag" ||
33627 test ! -s conftest.err
33628 } && test -s conftest$ac_exeext &&
33629 $as_test_x conftest$ac_exeext; then
33630 wx_cv_cc_broken_libstdcxx_visibility=no
33631 else
33632 echo "$as_me: failed program was:" >&5
33633 sed 's/^/| /' conftest.$ac_ext >&5
33634
33635 wx_cv_cc_broken_libstdcxx_visibility=yes
33636 fi
33637
33638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33639 conftest$ac_exeext conftest.$ac_ext
33640 ac_ext=c
33641 ac_cpp='$CPP $CPPFLAGS'
33642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33645
33646 CXXFLAGS="$wx_save_CXXFLAGS"
33647 LDFLAGS="$wx_save_LDFLAGS"
33648 fi
33649
33650 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33651 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33652
33653 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33654 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33655 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33656 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33657 echo $ECHO_N "(cached) $ECHO_C" >&6
33658 else
33659
33660 ac_ext=cpp
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33665
33666 cat >conftest.$ac_ext <<_ACEOF
33667 /* confdefs.h. */
33668 _ACEOF
33669 cat confdefs.h >>conftest.$ac_ext
33670 cat >>conftest.$ac_ext <<_ACEOF
33671 /* end confdefs.h. */
33672
33673 #pragma GCC visibility push(default)
33674 #include <string>
33675 #pragma GCC visibility pop
33676
33677 int
33678 main ()
33679 {
33680
33681 std::string s("hello");
33682 return s.length();
33683
33684 ;
33685 return 0;
33686 }
33687 _ACEOF
33688 rm -f conftest.$ac_objext conftest$ac_exeext
33689 if { (ac_try="$ac_link"
33690 case "(($ac_try" in
33691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33692 *) ac_try_echo=$ac_try;;
33693 esac
33694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33695 (eval "$ac_link") 2>conftest.er1
33696 ac_status=$?
33697 grep -v '^ *+' conftest.er1 >conftest.err
33698 rm -f conftest.er1
33699 cat conftest.err >&5
33700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33701 (exit $ac_status); } && {
33702 test -z "$ac_cxx_werror_flag" ||
33703 test ! -s conftest.err
33704 } && test -s conftest$ac_exeext &&
33705 $as_test_x conftest$ac_exeext; then
33706 wx_cv_cc_visibility_workaround=no
33707 else
33708 echo "$as_me: failed program was:" >&5
33709 sed 's/^/| /' conftest.$ac_ext >&5
33710
33711 wx_cv_cc_visibility_workaround=yes
33712 fi
33713
33714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33715 conftest$ac_exeext conftest.$ac_ext
33716 ac_ext=c
33717 ac_cpp='$CPP $CPPFLAGS'
33718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33721
33722
33723 fi
33724
33725 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33726 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33727
33728 if test $wx_cv_cc_visibility_workaround = no; then
33729 wx_cv_cc_visibility=no
33730 fi
33731 fi
33732 fi
33733
33734 if test $wx_cv_cc_visibility = yes; then
33735 cat >>confdefs.h <<\_ACEOF
33736 #define HAVE_VISIBILITY 1
33737 _ACEOF
33738
33739 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33740 cat >>confdefs.h <<\_ACEOF
33741 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33742 _ACEOF
33743
33744 fi
33745 else
33746 CFLAGS_VISIBILITY=""
33747 CXXFLAGS_VISIBILITY=""
33748 fi
33749
33750
33751 fi
33752
33753 fi
33754
33755 if test "x$SUNCXX" = xyes; then
33756 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33757 WXCONFIG_RPATH="-R\$libdir"
33758 else
33759 case "${host}" in
33760 *-*-linux* | *-*-gnu* )
33761 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33762 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33763 ;;
33764
33765 *-*-solaris2* )
33766
33767 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33768
33769 saveLdflags="$LDFLAGS"
33770 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33771 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33772 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33773 cat >conftest.$ac_ext <<_ACEOF
33774 /* confdefs.h. */
33775 _ACEOF
33776 cat confdefs.h >>conftest.$ac_ext
33777 cat >>conftest.$ac_ext <<_ACEOF
33778 /* end confdefs.h. */
33779
33780 int
33781 main ()
33782 {
33783
33784 ;
33785 return 0;
33786 }
33787 _ACEOF
33788 rm -f conftest.$ac_objext conftest$ac_exeext
33789 if { (ac_try="$ac_link"
33790 case "(($ac_try" in
33791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33792 *) ac_try_echo=$ac_try;;
33793 esac
33794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33795 (eval "$ac_link") 2>conftest.er1
33796 ac_status=$?
33797 grep -v '^ *+' conftest.er1 >conftest.err
33798 rm -f conftest.er1
33799 cat conftest.err >&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); } && {
33802 test -z "$ac_c_werror_flag" ||
33803 test ! -s conftest.err
33804 } && test -s conftest$ac_exeext &&
33805 $as_test_x conftest$ac_exeext; then
33806
33807 { echo "$as_me:$LINENO: result: yes" >&5
33808 echo "${ECHO_T}yes" >&6; }
33809 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33810 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33811
33812 else
33813 echo "$as_me: failed program was:" >&5
33814 sed 's/^/| /' conftest.$ac_ext >&5
33815
33816
33817 { echo "$as_me:$LINENO: result: no" >&5
33818 echo "${ECHO_T}no" >&6; }
33819 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33820 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33821 LDFLAGS="$saveLdflags -Wl,-R,/"
33822 cat >conftest.$ac_ext <<_ACEOF
33823 /* confdefs.h. */
33824 _ACEOF
33825 cat confdefs.h >>conftest.$ac_ext
33826 cat >>conftest.$ac_ext <<_ACEOF
33827 /* end confdefs.h. */
33828
33829 int
33830 main ()
33831 {
33832
33833 ;
33834 return 0;
33835 }
33836 _ACEOF
33837 rm -f conftest.$ac_objext conftest$ac_exeext
33838 if { (ac_try="$ac_link"
33839 case "(($ac_try" in
33840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33841 *) ac_try_echo=$ac_try;;
33842 esac
33843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33844 (eval "$ac_link") 2>conftest.er1
33845 ac_status=$?
33846 grep -v '^ *+' conftest.er1 >conftest.err
33847 rm -f conftest.er1
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } && {
33851 test -z "$ac_c_werror_flag" ||
33852 test ! -s conftest.err
33853 } && test -s conftest$ac_exeext &&
33854 $as_test_x conftest$ac_exeext; then
33855
33856 { echo "$as_me:$LINENO: result: yes" >&5
33857 echo "${ECHO_T}yes" >&6; }
33858 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33859 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33860
33861 else
33862 echo "$as_me: failed program was:" >&5
33863 sed 's/^/| /' conftest.$ac_ext >&5
33864
33865
33866 { echo "$as_me:$LINENO: result: no" >&5
33867 echo "${ECHO_T}no" >&6; }
33868
33869 fi
33870
33871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33872 conftest$ac_exeext conftest.$ac_ext
33873
33874 fi
33875
33876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33877 conftest$ac_exeext conftest.$ac_ext
33878 LDFLAGS="$saveLdflags"
33879 ;;
33880
33881 *-*-darwin* )
33882 install_name_tool=`which install_name_tool`
33883 if test "$install_name_tool" -a -x "$install_name_tool"; then
33884 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33885 cat <<EOF >change-install-names
33886 #!/bin/sh
33887 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33888 inst_cmd="install_name_tool "
33889 for i in \${libnames} ; do
33890 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33891 done
33892 \${inst_cmd} \${3}
33893 EOF
33894 chmod +x change-install-names
33895 fi
33896
33897 HEADER_PAD_OPTION="-headerpad_max_install_names"
33898 ;;
33899
33900 *-*-cygwin* | *-*-mingw32* )
33901 ;;
33902
33903 *-*-hpux* )
33904 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33905 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33906 ;;
33907
33908 esac
33909 fi
33910
33911 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33912
33913 if test $wxUSE_RPATH = "no"; then
33914 SAMPLES_RPATH_FLAG=''
33915 SAMPLES_RPATH_POSTLINK=''
33916 WXCONFIG_RPATH=''
33917 fi
33918
33919 SHARED=1
33920
33921 else
33922
33923 config_linkage_component="-static"
33924 SHARED=0
33925
33926 fi
33927
33928
33929 UNICODE=0
33930 lib_unicode_suffix=
33931 WX_CHARTYPE="ansi"
33932 if test "$wxUSE_UNICODE" = "yes"; then
33933 lib_unicode_suffix=u
33934 WX_CHARTYPE="unicode"
33935 UNICODE=1
33936 fi
33937
33938 lib_debug_suffix=
33939 WX_DEBUGTYPE="release"
33940 DEBUG_FLAG=0
33941 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33942 lib_debug_suffix=d
33943 WX_DEBUGTYPE="debug"
33944 DEBUG_FLAG=1
33945 fi
33946
33947 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33948 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33949
33950 DEBUG_INFO=0
33951 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33952 DEBUG_INFO=1
33953 fi
33954
33955 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33956
33957 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33958
33959 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33960
33961 if test "$cross_compiling" = "yes"; then
33962 HOST_SUFFIX="-$host_alias"
33963 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33964 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33965 fi
33966
33967
33968 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_COCOA" = 1; then
33969 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33970 else
33971 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33972 fi
33973 if test "${TOOLKIT_DIR}" = "os2"; then
33974 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33975 else
33976 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33977 fi
33978
33979
33980
33981 if test "$wxUSE_COCOA" = 1; then
33982
33983 ac_ext=c
33984 ac_cpp='$CPP $CPPFLAGS'
33985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33988
33989 ac_ext=m
33990
33991 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33992 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33993 cat >conftest.$ac_ext <<_ACEOF
33994 /* confdefs.h. */
33995 _ACEOF
33996 cat confdefs.h >>conftest.$ac_ext
33997 cat >>conftest.$ac_ext <<_ACEOF
33998 /* end confdefs.h. */
33999 #include <AppKit/NSEvent.h>
34000 #include <CoreFoundation/CoreFoundation.h>
34001
34002 int
34003 main ()
34004 {
34005
34006 ;
34007 return 0;
34008 }
34009 _ACEOF
34010 rm -f conftest.$ac_objext
34011 if { (ac_try="$ac_compile"
34012 case "(($ac_try" in
34013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34014 *) ac_try_echo=$ac_try;;
34015 esac
34016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34017 (eval "$ac_compile") 2>conftest.er1
34018 ac_status=$?
34019 grep -v '^ *+' conftest.er1 >conftest.err
34020 rm -f conftest.er1
34021 cat conftest.err >&5
34022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34023 (exit $ac_status); } && {
34024 test -z "$ac_c_werror_flag" ||
34025 test ! -s conftest.err
34026 } && test -s conftest.$ac_objext; then
34027 { echo "$as_me:$LINENO: result: no" >&5
34028 echo "${ECHO_T}no" >&6; }
34029 else
34030 echo "$as_me: failed program was:" >&5
34031 sed 's/^/| /' conftest.$ac_ext >&5
34032
34033 { echo "$as_me:$LINENO: result: yes" >&5
34034 echo "${ECHO_T}yes" >&6; }
34035 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34036 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
34037 cat >conftest.$ac_ext <<_ACEOF
34038 /* confdefs.h. */
34039 _ACEOF
34040 cat confdefs.h >>conftest.$ac_ext
34041 cat >>conftest.$ac_ext <<_ACEOF
34042 /* end confdefs.h. */
34043 #define __Point__ 1
34044 #include <AppKit/NSEvent.h>
34045 #include <CoreFoundation/CoreFoundation.h>
34046
34047 int
34048 main ()
34049 {
34050
34051 ;
34052 return 0;
34053 }
34054 _ACEOF
34055 rm -f conftest.$ac_objext
34056 if { (ac_try="$ac_compile"
34057 case "(($ac_try" in
34058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34059 *) ac_try_echo=$ac_try;;
34060 esac
34061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34062 (eval "$ac_compile") 2>conftest.er1
34063 ac_status=$?
34064 grep -v '^ *+' conftest.er1 >conftest.err
34065 rm -f conftest.er1
34066 cat conftest.err >&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); } && {
34069 test -z "$ac_c_werror_flag" ||
34070 test ! -s conftest.err
34071 } && test -s conftest.$ac_objext; then
34072 { echo "$as_me:$LINENO: result: yes" >&5
34073 echo "${ECHO_T}yes" >&6; }
34074 cat >>confdefs.h <<\_ACEOF
34075 #define __Point__ 1
34076 _ACEOF
34077
34078
34079 else
34080 echo "$as_me: failed program was:" >&5
34081 sed 's/^/| /' conftest.$ac_ext >&5
34082
34083 { { echo "$as_me:$LINENO: error: no
34084 See \`config.log' for more details." >&5
34085 echo "$as_me: error: no
34086 See \`config.log' for more details." >&2;}
34087 { (exit 1); exit 1; }; }
34088
34089 fi
34090
34091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34092
34093 fi
34094
34095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34096 ac_ext=c
34097 ac_cpp='$CPP $CPPFLAGS'
34098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34101
34102 fi
34103
34104
34105 { echo "$as_me:$LINENO: checking for mode_t" >&5
34106 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34107 if test "${ac_cv_type_mode_t+set}" = set; then
34108 echo $ECHO_N "(cached) $ECHO_C" >&6
34109 else
34110 cat >conftest.$ac_ext <<_ACEOF
34111 /* confdefs.h. */
34112 _ACEOF
34113 cat confdefs.h >>conftest.$ac_ext
34114 cat >>conftest.$ac_ext <<_ACEOF
34115 /* end confdefs.h. */
34116 $ac_includes_default
34117 typedef mode_t ac__type_new_;
34118 int
34119 main ()
34120 {
34121 if ((ac__type_new_ *) 0)
34122 return 0;
34123 if (sizeof (ac__type_new_))
34124 return 0;
34125 ;
34126 return 0;
34127 }
34128 _ACEOF
34129 rm -f conftest.$ac_objext
34130 if { (ac_try="$ac_compile"
34131 case "(($ac_try" in
34132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34133 *) ac_try_echo=$ac_try;;
34134 esac
34135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34136 (eval "$ac_compile") 2>conftest.er1
34137 ac_status=$?
34138 grep -v '^ *+' conftest.er1 >conftest.err
34139 rm -f conftest.er1
34140 cat conftest.err >&5
34141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34142 (exit $ac_status); } && {
34143 test -z "$ac_c_werror_flag" ||
34144 test ! -s conftest.err
34145 } && test -s conftest.$ac_objext; then
34146 ac_cv_type_mode_t=yes
34147 else
34148 echo "$as_me: failed program was:" >&5
34149 sed 's/^/| /' conftest.$ac_ext >&5
34150
34151 ac_cv_type_mode_t=no
34152 fi
34153
34154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34155 fi
34156 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34157 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34158 if test $ac_cv_type_mode_t = yes; then
34159 :
34160 else
34161
34162 cat >>confdefs.h <<_ACEOF
34163 #define mode_t int
34164 _ACEOF
34165
34166 fi
34167
34168 { echo "$as_me:$LINENO: checking for off_t" >&5
34169 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34170 if test "${ac_cv_type_off_t+set}" = set; then
34171 echo $ECHO_N "(cached) $ECHO_C" >&6
34172 else
34173 cat >conftest.$ac_ext <<_ACEOF
34174 /* confdefs.h. */
34175 _ACEOF
34176 cat confdefs.h >>conftest.$ac_ext
34177 cat >>conftest.$ac_ext <<_ACEOF
34178 /* end confdefs.h. */
34179 $ac_includes_default
34180 typedef off_t ac__type_new_;
34181 int
34182 main ()
34183 {
34184 if ((ac__type_new_ *) 0)
34185 return 0;
34186 if (sizeof (ac__type_new_))
34187 return 0;
34188 ;
34189 return 0;
34190 }
34191 _ACEOF
34192 rm -f conftest.$ac_objext
34193 if { (ac_try="$ac_compile"
34194 case "(($ac_try" in
34195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34196 *) ac_try_echo=$ac_try;;
34197 esac
34198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34199 (eval "$ac_compile") 2>conftest.er1
34200 ac_status=$?
34201 grep -v '^ *+' conftest.er1 >conftest.err
34202 rm -f conftest.er1
34203 cat conftest.err >&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } && {
34206 test -z "$ac_c_werror_flag" ||
34207 test ! -s conftest.err
34208 } && test -s conftest.$ac_objext; then
34209 ac_cv_type_off_t=yes
34210 else
34211 echo "$as_me: failed program was:" >&5
34212 sed 's/^/| /' conftest.$ac_ext >&5
34213
34214 ac_cv_type_off_t=no
34215 fi
34216
34217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34218 fi
34219 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34220 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34221 if test $ac_cv_type_off_t = yes; then
34222 :
34223 else
34224
34225 cat >>confdefs.h <<_ACEOF
34226 #define off_t long int
34227 _ACEOF
34228
34229 fi
34230
34231 { echo "$as_me:$LINENO: checking for pid_t" >&5
34232 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34233 if test "${ac_cv_type_pid_t+set}" = set; then
34234 echo $ECHO_N "(cached) $ECHO_C" >&6
34235 else
34236 cat >conftest.$ac_ext <<_ACEOF
34237 /* confdefs.h. */
34238 _ACEOF
34239 cat confdefs.h >>conftest.$ac_ext
34240 cat >>conftest.$ac_ext <<_ACEOF
34241 /* end confdefs.h. */
34242 $ac_includes_default
34243 typedef pid_t ac__type_new_;
34244 int
34245 main ()
34246 {
34247 if ((ac__type_new_ *) 0)
34248 return 0;
34249 if (sizeof (ac__type_new_))
34250 return 0;
34251 ;
34252 return 0;
34253 }
34254 _ACEOF
34255 rm -f conftest.$ac_objext
34256 if { (ac_try="$ac_compile"
34257 case "(($ac_try" in
34258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34259 *) ac_try_echo=$ac_try;;
34260 esac
34261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34262 (eval "$ac_compile") 2>conftest.er1
34263 ac_status=$?
34264 grep -v '^ *+' conftest.er1 >conftest.err
34265 rm -f conftest.er1
34266 cat conftest.err >&5
34267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34268 (exit $ac_status); } && {
34269 test -z "$ac_c_werror_flag" ||
34270 test ! -s conftest.err
34271 } && test -s conftest.$ac_objext; then
34272 ac_cv_type_pid_t=yes
34273 else
34274 echo "$as_me: failed program was:" >&5
34275 sed 's/^/| /' conftest.$ac_ext >&5
34276
34277 ac_cv_type_pid_t=no
34278 fi
34279
34280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34281 fi
34282 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34283 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34284 if test $ac_cv_type_pid_t = yes; then
34285 :
34286 else
34287
34288 cat >>confdefs.h <<_ACEOF
34289 #define pid_t int
34290 _ACEOF
34291
34292 fi
34293
34294 { echo "$as_me:$LINENO: checking for size_t" >&5
34295 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34296 if test "${ac_cv_type_size_t+set}" = set; then
34297 echo $ECHO_N "(cached) $ECHO_C" >&6
34298 else
34299 cat >conftest.$ac_ext <<_ACEOF
34300 /* confdefs.h. */
34301 _ACEOF
34302 cat confdefs.h >>conftest.$ac_ext
34303 cat >>conftest.$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34305 $ac_includes_default
34306 typedef size_t ac__type_new_;
34307 int
34308 main ()
34309 {
34310 if ((ac__type_new_ *) 0)
34311 return 0;
34312 if (sizeof (ac__type_new_))
34313 return 0;
34314 ;
34315 return 0;
34316 }
34317 _ACEOF
34318 rm -f conftest.$ac_objext
34319 if { (ac_try="$ac_compile"
34320 case "(($ac_try" in
34321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34322 *) ac_try_echo=$ac_try;;
34323 esac
34324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34325 (eval "$ac_compile") 2>conftest.er1
34326 ac_status=$?
34327 grep -v '^ *+' conftest.er1 >conftest.err
34328 rm -f conftest.er1
34329 cat conftest.err >&5
34330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34331 (exit $ac_status); } && {
34332 test -z "$ac_c_werror_flag" ||
34333 test ! -s conftest.err
34334 } && test -s conftest.$ac_objext; then
34335 ac_cv_type_size_t=yes
34336 else
34337 echo "$as_me: failed program was:" >&5
34338 sed 's/^/| /' conftest.$ac_ext >&5
34339
34340 ac_cv_type_size_t=no
34341 fi
34342
34343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34344 fi
34345 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34346 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34347 if test $ac_cv_type_size_t = yes; then
34348 :
34349 else
34350
34351 cat >>confdefs.h <<_ACEOF
34352 #define size_t unsigned int
34353 _ACEOF
34354
34355 fi
34356
34357
34358 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34359 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34360 if test "${ac_cv_type_ssize_t+set}" = set; then
34361 echo $ECHO_N "(cached) $ECHO_C" >&6
34362 else
34363 cat >conftest.$ac_ext <<_ACEOF
34364 /* confdefs.h. */
34365 _ACEOF
34366 cat confdefs.h >>conftest.$ac_ext
34367 cat >>conftest.$ac_ext <<_ACEOF
34368 /* end confdefs.h. */
34369 $ac_includes_default
34370 typedef ssize_t ac__type_new_;
34371 int
34372 main ()
34373 {
34374 if ((ac__type_new_ *) 0)
34375 return 0;
34376 if (sizeof (ac__type_new_))
34377 return 0;
34378 ;
34379 return 0;
34380 }
34381 _ACEOF
34382 rm -f conftest.$ac_objext
34383 if { (ac_try="$ac_compile"
34384 case "(($ac_try" in
34385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34386 *) ac_try_echo=$ac_try;;
34387 esac
34388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34389 (eval "$ac_compile") 2>conftest.er1
34390 ac_status=$?
34391 grep -v '^ *+' conftest.er1 >conftest.err
34392 rm -f conftest.er1
34393 cat conftest.err >&5
34394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34395 (exit $ac_status); } && {
34396 test -z "$ac_c_werror_flag" ||
34397 test ! -s conftest.err
34398 } && test -s conftest.$ac_objext; then
34399 ac_cv_type_ssize_t=yes
34400 else
34401 echo "$as_me: failed program was:" >&5
34402 sed 's/^/| /' conftest.$ac_ext >&5
34403
34404 ac_cv_type_ssize_t=no
34405 fi
34406
34407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34408 fi
34409 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34410 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34411 if test $ac_cv_type_ssize_t = yes; then
34412
34413 cat >>confdefs.h <<_ACEOF
34414 #define HAVE_SSIZE_T 1
34415 _ACEOF
34416
34417
34418 fi
34419
34420
34421 ac_ext=cpp
34422 ac_cpp='$CXXCPP $CPPFLAGS'
34423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34426 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34427 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34428 if test "${wx_cv_size_t_is_uint+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34431
34432 cat >conftest.$ac_ext <<_ACEOF
34433 /* confdefs.h. */
34434 _ACEOF
34435 cat confdefs.h >>conftest.$ac_ext
34436 cat >>conftest.$ac_ext <<_ACEOF
34437 /* end confdefs.h. */
34438 #include <stddef.h>
34439 int
34440 main ()
34441 {
34442
34443 return 0; }
34444
34445 struct Foo { void foo(size_t); void foo(unsigned int); };
34446
34447 int bar() {
34448
34449 ;
34450 return 0;
34451 }
34452 _ACEOF
34453 rm -f conftest.$ac_objext
34454 if { (ac_try="$ac_compile"
34455 case "(($ac_try" in
34456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34457 *) ac_try_echo=$ac_try;;
34458 esac
34459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34460 (eval "$ac_compile") 2>conftest.er1
34461 ac_status=$?
34462 grep -v '^ *+' conftest.er1 >conftest.err
34463 rm -f conftest.er1
34464 cat conftest.err >&5
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); } && {
34467 test -z "$ac_cxx_werror_flag" ||
34468 test ! -s conftest.err
34469 } && test -s conftest.$ac_objext; then
34470 wx_cv_size_t_is_uint=no
34471 else
34472 echo "$as_me: failed program was:" >&5
34473 sed 's/^/| /' conftest.$ac_ext >&5
34474
34475 wx_cv_size_t_is_uint=yes
34476
34477 fi
34478
34479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34480
34481
34482 fi
34483 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34484 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34485
34486 if test "$wx_cv_size_t_is_uint" = "yes"; then
34487 cat >>confdefs.h <<\_ACEOF
34488 #define wxSIZE_T_IS_UINT 1
34489 _ACEOF
34490
34491 else
34492 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34493 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34494 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34496 else
34497 cat >conftest.$ac_ext <<_ACEOF
34498 /* confdefs.h. */
34499 _ACEOF
34500 cat confdefs.h >>conftest.$ac_ext
34501 cat >>conftest.$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 #include <stddef.h>
34504 int
34505 main ()
34506 {
34507
34508 return 0; }
34509
34510 struct Foo { void foo(size_t); void foo(unsigned long); };
34511
34512 int bar() {
34513
34514 ;
34515 return 0;
34516 }
34517 _ACEOF
34518 rm -f conftest.$ac_objext
34519 if { (ac_try="$ac_compile"
34520 case "(($ac_try" in
34521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34522 *) ac_try_echo=$ac_try;;
34523 esac
34524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34525 (eval "$ac_compile") 2>conftest.er1
34526 ac_status=$?
34527 grep -v '^ *+' conftest.er1 >conftest.err
34528 rm -f conftest.er1
34529 cat conftest.err >&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } && {
34532 test -z "$ac_cxx_werror_flag" ||
34533 test ! -s conftest.err
34534 } && test -s conftest.$ac_objext; then
34535 wx_cv_size_t_is_ulong=no
34536 else
34537 echo "$as_me: failed program was:" >&5
34538 sed 's/^/| /' conftest.$ac_ext >&5
34539
34540 wx_cv_size_t_is_ulong=yes
34541
34542 fi
34543
34544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34545
34546 fi
34547 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34548 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34549
34550 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34551 cat >>confdefs.h <<\_ACEOF
34552 #define wxSIZE_T_IS_ULONG 1
34553 _ACEOF
34554
34555 fi
34556 fi
34557
34558 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34559 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34560 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34562 else
34563 cat >conftest.$ac_ext <<_ACEOF
34564 /* confdefs.h. */
34565 _ACEOF
34566 cat confdefs.h >>conftest.$ac_ext
34567 cat >>conftest.$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34569 #include <wchar.h>
34570 int
34571 main ()
34572 {
34573
34574 return 0; }
34575
34576 struct Foo { void foo(wchar_t);
34577 void foo(unsigned short);
34578 void foo(unsigned int);
34579 void foo(unsigned long); };
34580
34581 int bar() {
34582
34583 ;
34584 return 0;
34585 }
34586 _ACEOF
34587 rm -f conftest.$ac_objext
34588 if { (ac_try="$ac_compile"
34589 case "(($ac_try" in
34590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34591 *) ac_try_echo=$ac_try;;
34592 esac
34593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34594 (eval "$ac_compile") 2>conftest.er1
34595 ac_status=$?
34596 grep -v '^ *+' conftest.er1 >conftest.err
34597 rm -f conftest.er1
34598 cat conftest.err >&5
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); } && {
34601 test -z "$ac_cxx_werror_flag" ||
34602 test ! -s conftest.err
34603 } && test -s conftest.$ac_objext; then
34604 wx_cv_wchar_t_is_separate_type=yes
34605 else
34606 echo "$as_me: failed program was:" >&5
34607 sed 's/^/| /' conftest.$ac_ext >&5
34608
34609 wx_cv_wchar_t_is_separate_type=no
34610
34611 fi
34612
34613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34614
34615 fi
34616 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34617 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34618
34619 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34620 cat >>confdefs.h <<\_ACEOF
34621 #define wxWCHAR_T_IS_REAL_TYPE 1
34622 _ACEOF
34623
34624 else
34625 cat >>confdefs.h <<\_ACEOF
34626 #define wxWCHAR_T_IS_REAL_TYPE 0
34627 _ACEOF
34628
34629 fi
34630
34631 ac_ext=c
34632 ac_cpp='$CPP $CPPFLAGS'
34633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34636
34637
34638 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34639 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34640 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34641 echo $ECHO_N "(cached) $ECHO_C" >&6
34642 else
34643
34644 cat >conftest.$ac_ext <<_ACEOF
34645 /* confdefs.h. */
34646 _ACEOF
34647 cat confdefs.h >>conftest.$ac_ext
34648 cat >>conftest.$ac_ext <<_ACEOF
34649 /* end confdefs.h. */
34650 #include <pwd.h>
34651 int
34652 main ()
34653 {
34654
34655 char *p;
34656 struct passwd *pw;
34657 p = pw->pw_gecos;
34658
34659 ;
34660 return 0;
34661 }
34662 _ACEOF
34663 rm -f conftest.$ac_objext
34664 if { (ac_try="$ac_compile"
34665 case "(($ac_try" in
34666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34667 *) ac_try_echo=$ac_try;;
34668 esac
34669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34670 (eval "$ac_compile") 2>conftest.er1
34671 ac_status=$?
34672 grep -v '^ *+' conftest.er1 >conftest.err
34673 rm -f conftest.er1
34674 cat conftest.err >&5
34675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34676 (exit $ac_status); } && {
34677 test -z "$ac_c_werror_flag" ||
34678 test ! -s conftest.err
34679 } && test -s conftest.$ac_objext; then
34680
34681 wx_cv_struct_pw_gecos=yes
34682
34683 else
34684 echo "$as_me: failed program was:" >&5
34685 sed 's/^/| /' conftest.$ac_ext >&5
34686
34687
34688 wx_cv_struct_pw_gecos=no
34689
34690
34691 fi
34692
34693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34694
34695
34696 fi
34697 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34698 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34699
34700 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34701 cat >>confdefs.h <<\_ACEOF
34702 #define HAVE_PW_GECOS 1
34703 _ACEOF
34704
34705 fi
34706
34707
34708 if test "$wxUSE_WCHAR_T" = "yes"; then
34709 cat >>confdefs.h <<\_ACEOF
34710 #define wxUSE_WCHAR_T 1
34711 _ACEOF
34712
34713
34714 WCSLEN_FOUND=0
34715 WCHAR_LINK=
34716
34717 for ac_func in wcslen
34718 do
34719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34720 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34722 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34723 echo $ECHO_N "(cached) $ECHO_C" >&6
34724 else
34725 cat >conftest.$ac_ext <<_ACEOF
34726 /* confdefs.h. */
34727 _ACEOF
34728 cat confdefs.h >>conftest.$ac_ext
34729 cat >>conftest.$ac_ext <<_ACEOF
34730 /* end confdefs.h. */
34731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34733 #define $ac_func innocuous_$ac_func
34734
34735 /* System header to define __stub macros and hopefully few prototypes,
34736 which can conflict with char $ac_func (); below.
34737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34738 <limits.h> exists even on freestanding compilers. */
34739
34740 #ifdef __STDC__
34741 # include <limits.h>
34742 #else
34743 # include <assert.h>
34744 #endif
34745
34746 #undef $ac_func
34747
34748 /* Override any GCC internal prototype to avoid an error.
34749 Use char because int might match the return type of a GCC
34750 builtin and then its argument prototype would still apply. */
34751 #ifdef __cplusplus
34752 extern "C"
34753 #endif
34754 char $ac_func ();
34755 /* The GNU C library defines this for functions which it implements
34756 to always fail with ENOSYS. Some functions are actually named
34757 something starting with __ and the normal name is an alias. */
34758 #if defined __stub_$ac_func || defined __stub___$ac_func
34759 choke me
34760 #endif
34761
34762 int
34763 main ()
34764 {
34765 return $ac_func ();
34766 ;
34767 return 0;
34768 }
34769 _ACEOF
34770 rm -f conftest.$ac_objext conftest$ac_exeext
34771 if { (ac_try="$ac_link"
34772 case "(($ac_try" in
34773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34774 *) ac_try_echo=$ac_try;;
34775 esac
34776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34777 (eval "$ac_link") 2>conftest.er1
34778 ac_status=$?
34779 grep -v '^ *+' conftest.er1 >conftest.err
34780 rm -f conftest.er1
34781 cat conftest.err >&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); } && {
34784 test -z "$ac_c_werror_flag" ||
34785 test ! -s conftest.err
34786 } && test -s conftest$ac_exeext &&
34787 $as_test_x conftest$ac_exeext; then
34788 eval "$as_ac_var=yes"
34789 else
34790 echo "$as_me: failed program was:" >&5
34791 sed 's/^/| /' conftest.$ac_ext >&5
34792
34793 eval "$as_ac_var=no"
34794 fi
34795
34796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34797 conftest$ac_exeext conftest.$ac_ext
34798 fi
34799 ac_res=`eval echo '${'$as_ac_var'}'`
34800 { echo "$as_me:$LINENO: result: $ac_res" >&5
34801 echo "${ECHO_T}$ac_res" >&6; }
34802 if test `eval echo '${'$as_ac_var'}'` = yes; then
34803 cat >>confdefs.h <<_ACEOF
34804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34805 _ACEOF
34806 WCSLEN_FOUND=1
34807 fi
34808 done
34809
34810
34811 if test "$WCSLEN_FOUND" = 0; then
34812 if test "$TOOLKIT" = "MSW"; then
34813 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34814 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34815 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34816 echo $ECHO_N "(cached) $ECHO_C" >&6
34817 else
34818 ac_check_lib_save_LIBS=$LIBS
34819 LIBS="-lmsvcrt $LIBS"
34820 cat >conftest.$ac_ext <<_ACEOF
34821 /* confdefs.h. */
34822 _ACEOF
34823 cat confdefs.h >>conftest.$ac_ext
34824 cat >>conftest.$ac_ext <<_ACEOF
34825 /* end confdefs.h. */
34826
34827 /* Override any GCC internal prototype to avoid an error.
34828 Use char because int might match the return type of a GCC
34829 builtin and then its argument prototype would still apply. */
34830 #ifdef __cplusplus
34831 extern "C"
34832 #endif
34833 char wcslen ();
34834 int
34835 main ()
34836 {
34837 return wcslen ();
34838 ;
34839 return 0;
34840 }
34841 _ACEOF
34842 rm -f conftest.$ac_objext conftest$ac_exeext
34843 if { (ac_try="$ac_link"
34844 case "(($ac_try" in
34845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34846 *) ac_try_echo=$ac_try;;
34847 esac
34848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34849 (eval "$ac_link") 2>conftest.er1
34850 ac_status=$?
34851 grep -v '^ *+' conftest.er1 >conftest.err
34852 rm -f conftest.er1
34853 cat conftest.err >&5
34854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34855 (exit $ac_status); } && {
34856 test -z "$ac_c_werror_flag" ||
34857 test ! -s conftest.err
34858 } && test -s conftest$ac_exeext &&
34859 $as_test_x conftest$ac_exeext; then
34860 ac_cv_lib_msvcrt_wcslen=yes
34861 else
34862 echo "$as_me: failed program was:" >&5
34863 sed 's/^/| /' conftest.$ac_ext >&5
34864
34865 ac_cv_lib_msvcrt_wcslen=no
34866 fi
34867
34868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34869 conftest$ac_exeext conftest.$ac_ext
34870 LIBS=$ac_check_lib_save_LIBS
34871 fi
34872 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34873 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34874 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34875 WCHAR_OK=1
34876 fi
34877
34878 else
34879 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34880 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34881 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34882 echo $ECHO_N "(cached) $ECHO_C" >&6
34883 else
34884 ac_check_lib_save_LIBS=$LIBS
34885 LIBS="-lw $LIBS"
34886 cat >conftest.$ac_ext <<_ACEOF
34887 /* confdefs.h. */
34888 _ACEOF
34889 cat confdefs.h >>conftest.$ac_ext
34890 cat >>conftest.$ac_ext <<_ACEOF
34891 /* end confdefs.h. */
34892
34893 /* Override any GCC internal prototype to avoid an error.
34894 Use char because int might match the return type of a GCC
34895 builtin and then its argument prototype would still apply. */
34896 #ifdef __cplusplus
34897 extern "C"
34898 #endif
34899 char wcslen ();
34900 int
34901 main ()
34902 {
34903 return wcslen ();
34904 ;
34905 return 0;
34906 }
34907 _ACEOF
34908 rm -f conftest.$ac_objext conftest$ac_exeext
34909 if { (ac_try="$ac_link"
34910 case "(($ac_try" in
34911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34912 *) ac_try_echo=$ac_try;;
34913 esac
34914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34915 (eval "$ac_link") 2>conftest.er1
34916 ac_status=$?
34917 grep -v '^ *+' conftest.er1 >conftest.err
34918 rm -f conftest.er1
34919 cat conftest.err >&5
34920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34921 (exit $ac_status); } && {
34922 test -z "$ac_c_werror_flag" ||
34923 test ! -s conftest.err
34924 } && test -s conftest$ac_exeext &&
34925 $as_test_x conftest$ac_exeext; then
34926 ac_cv_lib_w_wcslen=yes
34927 else
34928 echo "$as_me: failed program was:" >&5
34929 sed 's/^/| /' conftest.$ac_ext >&5
34930
34931 ac_cv_lib_w_wcslen=no
34932 fi
34933
34934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34935 conftest$ac_exeext conftest.$ac_ext
34936 LIBS=$ac_check_lib_save_LIBS
34937 fi
34938 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34939 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34940 if test $ac_cv_lib_w_wcslen = yes; then
34941
34942 WCHAR_LINK=" -lw"
34943 WCSLEN_FOUND=1
34944
34945 fi
34946
34947 fi
34948 fi
34949
34950 if test "$WCSLEN_FOUND" = 1; then
34951 cat >>confdefs.h <<\_ACEOF
34952 #define HAVE_WCSLEN 1
34953 _ACEOF
34954
34955 fi
34956
34957
34958 for ac_func in wcsdup
34959 do
34960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34961 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34963 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34964 echo $ECHO_N "(cached) $ECHO_C" >&6
34965 else
34966 cat >conftest.$ac_ext <<_ACEOF
34967 /* confdefs.h. */
34968 _ACEOF
34969 cat confdefs.h >>conftest.$ac_ext
34970 cat >>conftest.$ac_ext <<_ACEOF
34971 /* end confdefs.h. */
34972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34974 #define $ac_func innocuous_$ac_func
34975
34976 /* System header to define __stub macros and hopefully few prototypes,
34977 which can conflict with char $ac_func (); below.
34978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34979 <limits.h> exists even on freestanding compilers. */
34980
34981 #ifdef __STDC__
34982 # include <limits.h>
34983 #else
34984 # include <assert.h>
34985 #endif
34986
34987 #undef $ac_func
34988
34989 /* Override any GCC internal prototype to avoid an error.
34990 Use char because int might match the return type of a GCC
34991 builtin and then its argument prototype would still apply. */
34992 #ifdef __cplusplus
34993 extern "C"
34994 #endif
34995 char $ac_func ();
34996 /* The GNU C library defines this for functions which it implements
34997 to always fail with ENOSYS. Some functions are actually named
34998 something starting with __ and the normal name is an alias. */
34999 #if defined __stub_$ac_func || defined __stub___$ac_func
35000 choke me
35001 #endif
35002
35003 int
35004 main ()
35005 {
35006 return $ac_func ();
35007 ;
35008 return 0;
35009 }
35010 _ACEOF
35011 rm -f conftest.$ac_objext conftest$ac_exeext
35012 if { (ac_try="$ac_link"
35013 case "(($ac_try" in
35014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35015 *) ac_try_echo=$ac_try;;
35016 esac
35017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35018 (eval "$ac_link") 2>conftest.er1
35019 ac_status=$?
35020 grep -v '^ *+' conftest.er1 >conftest.err
35021 rm -f conftest.er1
35022 cat conftest.err >&5
35023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35024 (exit $ac_status); } && {
35025 test -z "$ac_c_werror_flag" ||
35026 test ! -s conftest.err
35027 } && test -s conftest$ac_exeext &&
35028 $as_test_x conftest$ac_exeext; then
35029 eval "$as_ac_var=yes"
35030 else
35031 echo "$as_me: failed program was:" >&5
35032 sed 's/^/| /' conftest.$ac_ext >&5
35033
35034 eval "$as_ac_var=no"
35035 fi
35036
35037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35038 conftest$ac_exeext conftest.$ac_ext
35039 fi
35040 ac_res=`eval echo '${'$as_ac_var'}'`
35041 { echo "$as_me:$LINENO: result: $ac_res" >&5
35042 echo "${ECHO_T}$ac_res" >&6; }
35043 if test `eval echo '${'$as_ac_var'}'` = yes; then
35044 cat >>confdefs.h <<_ACEOF
35045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35046 _ACEOF
35047
35048 fi
35049 done
35050
35051
35052 for ac_func in strnlen
35053 do
35054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35058 echo $ECHO_N "(cached) $ECHO_C" >&6
35059 else
35060 cat >conftest.$ac_ext <<_ACEOF
35061 /* confdefs.h. */
35062 _ACEOF
35063 cat confdefs.h >>conftest.$ac_ext
35064 cat >>conftest.$ac_ext <<_ACEOF
35065 /* end confdefs.h. */
35066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35068 #define $ac_func innocuous_$ac_func
35069
35070 /* System header to define __stub macros and hopefully few prototypes,
35071 which can conflict with char $ac_func (); below.
35072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35073 <limits.h> exists even on freestanding compilers. */
35074
35075 #ifdef __STDC__
35076 # include <limits.h>
35077 #else
35078 # include <assert.h>
35079 #endif
35080
35081 #undef $ac_func
35082
35083 /* Override any GCC internal prototype to avoid an error.
35084 Use char because int might match the return type of a GCC
35085 builtin and then its argument prototype would still apply. */
35086 #ifdef __cplusplus
35087 extern "C"
35088 #endif
35089 char $ac_func ();
35090 /* The GNU C library defines this for functions which it implements
35091 to always fail with ENOSYS. Some functions are actually named
35092 something starting with __ and the normal name is an alias. */
35093 #if defined __stub_$ac_func || defined __stub___$ac_func
35094 choke me
35095 #endif
35096
35097 int
35098 main ()
35099 {
35100 return $ac_func ();
35101 ;
35102 return 0;
35103 }
35104 _ACEOF
35105 rm -f conftest.$ac_objext conftest$ac_exeext
35106 if { (ac_try="$ac_link"
35107 case "(($ac_try" in
35108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35109 *) ac_try_echo=$ac_try;;
35110 esac
35111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35112 (eval "$ac_link") 2>conftest.er1
35113 ac_status=$?
35114 grep -v '^ *+' conftest.er1 >conftest.err
35115 rm -f conftest.er1
35116 cat conftest.err >&5
35117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35118 (exit $ac_status); } && {
35119 test -z "$ac_c_werror_flag" ||
35120 test ! -s conftest.err
35121 } && test -s conftest$ac_exeext &&
35122 $as_test_x conftest$ac_exeext; then
35123 eval "$as_ac_var=yes"
35124 else
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35127
35128 eval "$as_ac_var=no"
35129 fi
35130
35131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35132 conftest$ac_exeext conftest.$ac_ext
35133 fi
35134 ac_res=`eval echo '${'$as_ac_var'}'`
35135 { echo "$as_me:$LINENO: result: $ac_res" >&5
35136 echo "${ECHO_T}$ac_res" >&6; }
35137 if test `eval echo '${'$as_ac_var'}'` = yes; then
35138 cat >>confdefs.h <<_ACEOF
35139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35140 _ACEOF
35141
35142 fi
35143 done
35144
35145
35146 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35147 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35148 fi
35149
35150 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
35151 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
35152 if test "${ac_cv_type_mbstate_t+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 #include <wchar.h>
35162
35163 typedef mbstate_t ac__type_new_;
35164 int
35165 main ()
35166 {
35167 if ((ac__type_new_ *) 0)
35168 return 0;
35169 if (sizeof (ac__type_new_))
35170 return 0;
35171 ;
35172 return 0;
35173 }
35174 _ACEOF
35175 rm -f conftest.$ac_objext
35176 if { (ac_try="$ac_compile"
35177 case "(($ac_try" in
35178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35179 *) ac_try_echo=$ac_try;;
35180 esac
35181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35182 (eval "$ac_compile") 2>conftest.er1
35183 ac_status=$?
35184 grep -v '^ *+' conftest.er1 >conftest.err
35185 rm -f conftest.er1
35186 cat conftest.err >&5
35187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35188 (exit $ac_status); } && {
35189 test -z "$ac_c_werror_flag" ||
35190 test ! -s conftest.err
35191 } && test -s conftest.$ac_objext; then
35192 ac_cv_type_mbstate_t=yes
35193 else
35194 echo "$as_me: failed program was:" >&5
35195 sed 's/^/| /' conftest.$ac_ext >&5
35196
35197 ac_cv_type_mbstate_t=no
35198 fi
35199
35200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35201 fi
35202 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35203 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35204 if test $ac_cv_type_mbstate_t = yes; then
35205
35206 cat >>confdefs.h <<_ACEOF
35207 #define HAVE_MBSTATE_T 1
35208 _ACEOF
35209
35210
35211 for ac_func in wcsrtombs
35212 do
35213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35214 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35216 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35217 echo $ECHO_N "(cached) $ECHO_C" >&6
35218 else
35219 cat >conftest.$ac_ext <<_ACEOF
35220 /* confdefs.h. */
35221 _ACEOF
35222 cat confdefs.h >>conftest.$ac_ext
35223 cat >>conftest.$ac_ext <<_ACEOF
35224 /* end confdefs.h. */
35225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35227 #define $ac_func innocuous_$ac_func
35228
35229 /* System header to define __stub macros and hopefully few prototypes,
35230 which can conflict with char $ac_func (); below.
35231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35232 <limits.h> exists even on freestanding compilers. */
35233
35234 #ifdef __STDC__
35235 # include <limits.h>
35236 #else
35237 # include <assert.h>
35238 #endif
35239
35240 #undef $ac_func
35241
35242 /* Override any GCC internal prototype to avoid an error.
35243 Use char because int might match the return type of a GCC
35244 builtin and then its argument prototype would still apply. */
35245 #ifdef __cplusplus
35246 extern "C"
35247 #endif
35248 char $ac_func ();
35249 /* The GNU C library defines this for functions which it implements
35250 to always fail with ENOSYS. Some functions are actually named
35251 something starting with __ and the normal name is an alias. */
35252 #if defined __stub_$ac_func || defined __stub___$ac_func
35253 choke me
35254 #endif
35255
35256 int
35257 main ()
35258 {
35259 return $ac_func ();
35260 ;
35261 return 0;
35262 }
35263 _ACEOF
35264 rm -f conftest.$ac_objext conftest$ac_exeext
35265 if { (ac_try="$ac_link"
35266 case "(($ac_try" in
35267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35268 *) ac_try_echo=$ac_try;;
35269 esac
35270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35271 (eval "$ac_link") 2>conftest.er1
35272 ac_status=$?
35273 grep -v '^ *+' conftest.er1 >conftest.err
35274 rm -f conftest.er1
35275 cat conftest.err >&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); } && {
35278 test -z "$ac_c_werror_flag" ||
35279 test ! -s conftest.err
35280 } && test -s conftest$ac_exeext &&
35281 $as_test_x conftest$ac_exeext; then
35282 eval "$as_ac_var=yes"
35283 else
35284 echo "$as_me: failed program was:" >&5
35285 sed 's/^/| /' conftest.$ac_ext >&5
35286
35287 eval "$as_ac_var=no"
35288 fi
35289
35290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35291 conftest$ac_exeext conftest.$ac_ext
35292 fi
35293 ac_res=`eval echo '${'$as_ac_var'}'`
35294 { echo "$as_me:$LINENO: result: $ac_res" >&5
35295 echo "${ECHO_T}$ac_res" >&6; }
35296 if test `eval echo '${'$as_ac_var'}'` = yes; then
35297 cat >>confdefs.h <<_ACEOF
35298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35299 _ACEOF
35300
35301 fi
35302 done
35303
35304 fi
35305
35306 else
35307 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35308 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35309 fi
35310
35311
35312
35313
35314 for ac_func in snprintf vsnprintf vsscanf
35315 do
35316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35317 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35319 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35320 echo $ECHO_N "(cached) $ECHO_C" >&6
35321 else
35322 cat >conftest.$ac_ext <<_ACEOF
35323 /* confdefs.h. */
35324 _ACEOF
35325 cat confdefs.h >>conftest.$ac_ext
35326 cat >>conftest.$ac_ext <<_ACEOF
35327 /* end confdefs.h. */
35328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35330 #define $ac_func innocuous_$ac_func
35331
35332 /* System header to define __stub macros and hopefully few prototypes,
35333 which can conflict with char $ac_func (); below.
35334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35335 <limits.h> exists even on freestanding compilers. */
35336
35337 #ifdef __STDC__
35338 # include <limits.h>
35339 #else
35340 # include <assert.h>
35341 #endif
35342
35343 #undef $ac_func
35344
35345 /* Override any GCC internal prototype to avoid an error.
35346 Use char because int might match the return type of a GCC
35347 builtin and then its argument prototype would still apply. */
35348 #ifdef __cplusplus
35349 extern "C"
35350 #endif
35351 char $ac_func ();
35352 /* The GNU C library defines this for functions which it implements
35353 to always fail with ENOSYS. Some functions are actually named
35354 something starting with __ and the normal name is an alias. */
35355 #if defined __stub_$ac_func || defined __stub___$ac_func
35356 choke me
35357 #endif
35358
35359 int
35360 main ()
35361 {
35362 return $ac_func ();
35363 ;
35364 return 0;
35365 }
35366 _ACEOF
35367 rm -f conftest.$ac_objext conftest$ac_exeext
35368 if { (ac_try="$ac_link"
35369 case "(($ac_try" in
35370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35371 *) ac_try_echo=$ac_try;;
35372 esac
35373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35374 (eval "$ac_link") 2>conftest.er1
35375 ac_status=$?
35376 grep -v '^ *+' conftest.er1 >conftest.err
35377 rm -f conftest.er1
35378 cat conftest.err >&5
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); } && {
35381 test -z "$ac_c_werror_flag" ||
35382 test ! -s conftest.err
35383 } && test -s conftest$ac_exeext &&
35384 $as_test_x conftest$ac_exeext; then
35385 eval "$as_ac_var=yes"
35386 else
35387 echo "$as_me: failed program was:" >&5
35388 sed 's/^/| /' conftest.$ac_ext >&5
35389
35390 eval "$as_ac_var=no"
35391 fi
35392
35393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35394 conftest$ac_exeext conftest.$ac_ext
35395 fi
35396 ac_res=`eval echo '${'$as_ac_var'}'`
35397 { echo "$as_me:$LINENO: result: $ac_res" >&5
35398 echo "${ECHO_T}$ac_res" >&6; }
35399 if test `eval echo '${'$as_ac_var'}'` = yes; then
35400 cat >>confdefs.h <<_ACEOF
35401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35402 _ACEOF
35403
35404 fi
35405 done
35406
35407
35408 ac_ext=cpp
35409 ac_cpp='$CXXCPP $CPPFLAGS'
35410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35413
35414 if test "$ac_cv_func_vsnprintf" = "yes"; then
35415 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35416 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35417 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35418 echo $ECHO_N "(cached) $ECHO_C" >&6
35419 else
35420
35421 cat >conftest.$ac_ext <<_ACEOF
35422 /* confdefs.h. */
35423 _ACEOF
35424 cat confdefs.h >>conftest.$ac_ext
35425 cat >>conftest.$ac_ext <<_ACEOF
35426 /* end confdefs.h. */
35427
35428 #include <stdio.h>
35429 #include <stdarg.h>
35430 #ifdef __MSL__
35431 #if __MSL__ >= 0x6000
35432 namespace std {}
35433 using namespace std;
35434 #endif
35435 #endif
35436
35437 int
35438 main ()
35439 {
35440
35441 char *buf;
35442 va_list ap;
35443 vsnprintf(buf, 10u, "%s", ap);
35444
35445 ;
35446 return 0;
35447 }
35448 _ACEOF
35449 rm -f conftest.$ac_objext
35450 if { (ac_try="$ac_compile"
35451 case "(($ac_try" in
35452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35453 *) ac_try_echo=$ac_try;;
35454 esac
35455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35456 (eval "$ac_compile") 2>conftest.er1
35457 ac_status=$?
35458 grep -v '^ *+' conftest.er1 >conftest.err
35459 rm -f conftest.er1
35460 cat conftest.err >&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } && {
35463 test -z "$ac_cxx_werror_flag" ||
35464 test ! -s conftest.err
35465 } && test -s conftest.$ac_objext; then
35466 wx_cv_func_vsnprintf_decl=yes
35467 else
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.$ac_ext >&5
35470
35471 wx_cv_func_vsnprintf_decl=no
35472
35473 fi
35474
35475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35476
35477
35478 fi
35479 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35480 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35481
35482 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35483 cat >>confdefs.h <<\_ACEOF
35484 #define HAVE_VSNPRINTF_DECL 1
35485 _ACEOF
35486
35487
35488 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35489 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35490 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35491 echo $ECHO_N "(cached) $ECHO_C" >&6
35492 else
35493
35494 cat >conftest.$ac_ext <<_ACEOF
35495 /* confdefs.h. */
35496 _ACEOF
35497 cat confdefs.h >>conftest.$ac_ext
35498 cat >>conftest.$ac_ext <<_ACEOF
35499 /* end confdefs.h. */
35500
35501 #include <stdio.h>
35502 #include <stdarg.h>
35503 #ifdef __MSL__
35504 #if __MSL__ >= 0x6000
35505 namespace std {}
35506 using namespace std;
35507 #endif
35508 #endif
35509
35510 int
35511 main ()
35512 {
35513
35514 char *buf;
35515 va_list ap;
35516 const char *fmt = "%s";
35517 vsnprintf(buf, 10u, fmt, ap);
35518
35519 ;
35520 return 0;
35521 }
35522 _ACEOF
35523 rm -f conftest.$ac_objext
35524 if { (ac_try="$ac_compile"
35525 case "(($ac_try" in
35526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35527 *) ac_try_echo=$ac_try;;
35528 esac
35529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35530 (eval "$ac_compile") 2>conftest.er1
35531 ac_status=$?
35532 grep -v '^ *+' conftest.er1 >conftest.err
35533 rm -f conftest.er1
35534 cat conftest.err >&5
35535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35536 (exit $ac_status); } && {
35537 test -z "$ac_cxx_werror_flag" ||
35538 test ! -s conftest.err
35539 } && test -s conftest.$ac_objext; then
35540 wx_cv_func_broken_vsnprintf_decl=no
35541 else
35542 echo "$as_me: failed program was:" >&5
35543 sed 's/^/| /' conftest.$ac_ext >&5
35544
35545 wx_cv_func_broken_vsnprintf_decl=yes
35546
35547 fi
35548
35549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35550
35551
35552 fi
35553 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35554 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35555
35556 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35557 cat >>confdefs.h <<\_ACEOF
35558 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35559 _ACEOF
35560
35561 fi
35562 fi
35563 fi
35564
35565 if test "$ac_cv_func_snprintf" = "yes"; then
35566 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35567 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35568 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35569 echo $ECHO_N "(cached) $ECHO_C" >&6
35570 else
35571
35572 cat >conftest.$ac_ext <<_ACEOF
35573 /* confdefs.h. */
35574 _ACEOF
35575 cat confdefs.h >>conftest.$ac_ext
35576 cat >>conftest.$ac_ext <<_ACEOF
35577 /* end confdefs.h. */
35578
35579 #include <stdio.h>
35580 #include <stdarg.h>
35581 #ifdef __MSL__
35582 #if __MSL__ >= 0x6000
35583 namespace std {}
35584 using namespace std;
35585 #endif
35586 #endif
35587
35588 int
35589 main ()
35590 {
35591
35592 char *buf;
35593 snprintf(buf, 10u, "%s", "wx");
35594
35595 ;
35596 return 0;
35597 }
35598 _ACEOF
35599 rm -f conftest.$ac_objext
35600 if { (ac_try="$ac_compile"
35601 case "(($ac_try" in
35602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35603 *) ac_try_echo=$ac_try;;
35604 esac
35605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35606 (eval "$ac_compile") 2>conftest.er1
35607 ac_status=$?
35608 grep -v '^ *+' conftest.er1 >conftest.err
35609 rm -f conftest.er1
35610 cat conftest.err >&5
35611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35612 (exit $ac_status); } && {
35613 test -z "$ac_cxx_werror_flag" ||
35614 test ! -s conftest.err
35615 } && test -s conftest.$ac_objext; then
35616 wx_cv_func_snprintf_decl=yes
35617 else
35618 echo "$as_me: failed program was:" >&5
35619 sed 's/^/| /' conftest.$ac_ext >&5
35620
35621 wx_cv_func_snprintf_decl=no
35622
35623 fi
35624
35625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35626
35627
35628 fi
35629 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35630 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35631
35632 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35633 cat >>confdefs.h <<\_ACEOF
35634 #define HAVE_SNPRINTF_DECL 1
35635 _ACEOF
35636
35637 fi
35638
35639 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35640
35641 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35642 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35643 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35644 echo $ECHO_N "(cached) $ECHO_C" >&6
35645 else
35646
35647 if test "$cross_compiling" = yes; then
35648
35649 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35650 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35651 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35652 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35653 wx_cv_func_snprintf_pos_params=no
35654
35655
35656 else
35657 cat >conftest.$ac_ext <<_ACEOF
35658 /* confdefs.h. */
35659 _ACEOF
35660 cat confdefs.h >>conftest.$ac_ext
35661 cat >>conftest.$ac_ext <<_ACEOF
35662 /* end confdefs.h. */
35663
35664 #include <stdio.h>
35665
35666 int main (void)
35667 {
35668 char buffer[128];
35669 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35670 if (strcmp ("2 3 1", buffer) == 0)
35671 exit (0);
35672 exit (1);
35673 }
35674
35675 _ACEOF
35676 rm -f conftest$ac_exeext
35677 if { (ac_try="$ac_link"
35678 case "(($ac_try" in
35679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35680 *) ac_try_echo=$ac_try;;
35681 esac
35682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35683 (eval "$ac_link") 2>&5
35684 ac_status=$?
35685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35686 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35687 { (case "(($ac_try" in
35688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35689 *) ac_try_echo=$ac_try;;
35690 esac
35691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35692 (eval "$ac_try") 2>&5
35693 ac_status=$?
35694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35695 (exit $ac_status); }; }; then
35696 wx_cv_func_snprintf_pos_params=no
35697 else
35698 echo "$as_me: program exited with status $ac_status" >&5
35699 echo "$as_me: failed program was:" >&5
35700 sed 's/^/| /' conftest.$ac_ext >&5
35701
35702 ( exit $ac_status )
35703 wx_cv_func_snprintf_pos_params=yes
35704 fi
35705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35706 fi
35707
35708
35709
35710
35711 fi
35712 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35713 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35714
35715 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35716 cat >>confdefs.h <<\_ACEOF
35717 #define HAVE_UNIX98_PRINTF 1
35718 _ACEOF
35719
35720 fi
35721 fi
35722 fi
35723
35724 if test "$ac_cv_func_vsscanf" = "yes"; then
35725 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35726 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35727 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35728 echo $ECHO_N "(cached) $ECHO_C" >&6
35729 else
35730
35731 cat >conftest.$ac_ext <<_ACEOF
35732 /* confdefs.h. */
35733 _ACEOF
35734 cat confdefs.h >>conftest.$ac_ext
35735 cat >>conftest.$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35737
35738 #include <stdio.h>
35739 #include <stdarg.h>
35740 #ifdef __MSL__
35741 #if __MSL__ >= 0x6000
35742 namespace std {}
35743 using namespace std;
35744 #endif
35745 #endif
35746
35747 int
35748 main ()
35749 {
35750
35751 char *buf;
35752 va_list args;
35753 vsscanf(buf, "%s", args);
35754
35755 ;
35756 return 0;
35757 }
35758 _ACEOF
35759 rm -f conftest.$ac_objext
35760 if { (ac_try="$ac_compile"
35761 case "(($ac_try" in
35762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35763 *) ac_try_echo=$ac_try;;
35764 esac
35765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35766 (eval "$ac_compile") 2>conftest.er1
35767 ac_status=$?
35768 grep -v '^ *+' conftest.er1 >conftest.err
35769 rm -f conftest.er1
35770 cat conftest.err >&5
35771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35772 (exit $ac_status); } && {
35773 test -z "$ac_cxx_werror_flag" ||
35774 test ! -s conftest.err
35775 } && test -s conftest.$ac_objext; then
35776 wx_cv_func_vsscanf_decl=yes
35777 else
35778 echo "$as_me: failed program was:" >&5
35779 sed 's/^/| /' conftest.$ac_ext >&5
35780
35781 wx_cv_func_vsscanf_decl=no
35782
35783 fi
35784
35785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35786
35787
35788 fi
35789 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35790 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35791
35792 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35793 cat >>confdefs.h <<\_ACEOF
35794 #define HAVE_VSSCANF_DECL 1
35795 _ACEOF
35796
35797 fi
35798 fi
35799 ac_ext=c
35800 ac_cpp='$CPP $CPPFLAGS'
35801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35804
35805
35806 if test "$wxUSE_UNICODE" = yes; then
35807
35808 wchar_headers="#include <stdio.h>
35809 #include <wchar.h>"
35810 case "${host}" in
35811 *-*-solaris2* )
35812
35813 for ac_header in widec.h
35814 do
35815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35816 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35819 echo $ECHO_N "(cached) $ECHO_C" >&6
35820 else
35821 cat >conftest.$ac_ext <<_ACEOF
35822 /* confdefs.h. */
35823 _ACEOF
35824 cat confdefs.h >>conftest.$ac_ext
35825 cat >>conftest.$ac_ext <<_ACEOF
35826 /* end confdefs.h. */
35827 $ac_includes_default
35828
35829 #include <$ac_header>
35830 _ACEOF
35831 rm -f conftest.$ac_objext
35832 if { (ac_try="$ac_compile"
35833 case "(($ac_try" in
35834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35835 *) ac_try_echo=$ac_try;;
35836 esac
35837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35838 (eval "$ac_compile") 2>conftest.er1
35839 ac_status=$?
35840 grep -v '^ *+' conftest.er1 >conftest.err
35841 rm -f conftest.er1
35842 cat conftest.err >&5
35843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35844 (exit $ac_status); } && {
35845 test -z "$ac_c_werror_flag" ||
35846 test ! -s conftest.err
35847 } && test -s conftest.$ac_objext; then
35848 eval "$as_ac_Header=yes"
35849 else
35850 echo "$as_me: failed program was:" >&5
35851 sed 's/^/| /' conftest.$ac_ext >&5
35852
35853 eval "$as_ac_Header=no"
35854 fi
35855
35856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35857 fi
35858 ac_res=`eval echo '${'$as_ac_Header'}'`
35859 { echo "$as_me:$LINENO: result: $ac_res" >&5
35860 echo "${ECHO_T}$ac_res" >&6; }
35861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35862 cat >>confdefs.h <<_ACEOF
35863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35864 _ACEOF
35865
35866 fi
35867
35868 done
35869
35870 if test "$ac_cv_header_widec_h" = "yes"; then
35871 wchar_headers="$wchar_headers
35872 #include <widec.h>"
35873 fi
35874 esac
35875
35876
35877 for wx_func in putws fputws wprintf vswprintf vswscanf
35878 do
35879 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35880 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35881 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35882 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 else
35884
35885 cat >conftest.$ac_ext <<_ACEOF
35886
35887 /* confdefs.h. */
35888 _ACEOF
35889 cat confdefs.h >>conftest.$ac_ext
35890 cat >>conftest.$ac_ext <<_ACEOF
35891 /* end confdefs.h. */
35892
35893 $wchar_headers
35894 $ac_includes_default
35895
35896 int
35897 main ()
35898 {
35899
35900 #ifndef $wx_func
35901 &$wx_func;
35902 #endif
35903
35904
35905 ;
35906 return 0;
35907 }
35908
35909 _ACEOF
35910 rm -f conftest.$ac_objext conftest$ac_exeext
35911 if { (ac_try="$ac_link"
35912 case "(($ac_try" in
35913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35914 *) ac_try_echo=$ac_try;;
35915 esac
35916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35917 (eval "$ac_link") 2>conftest.er1
35918 ac_status=$?
35919 grep -v '^ *+' conftest.er1 >conftest.err
35920 rm -f conftest.er1
35921 cat conftest.err >&5
35922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35923 (exit $ac_status); } && {
35924 test -z "$ac_c_werror_flag" ||
35925 test ! -s conftest.err
35926 } && test -s conftest$ac_exeext &&
35927 $as_test_x conftest$ac_exeext; then
35928 eval wx_cv_func_$wx_func=yes
35929 else
35930 echo "$as_me: failed program was:" >&5
35931 sed 's/^/| /' conftest.$ac_ext >&5
35932
35933 eval wx_cv_func_$wx_func=no
35934 fi
35935
35936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35937 conftest$ac_exeext conftest.$ac_ext
35938
35939 fi
35940 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35941 { echo "$as_me:$LINENO: result: $ac_res" >&5
35942 echo "${ECHO_T}$ac_res" >&6; }
35943
35944 if eval test \$wx_cv_func_$wx_func = yes
35945 then
35946 cat >>confdefs.h <<_ACEOF
35947 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35948 _ACEOF
35949
35950
35951 else
35952 :
35953
35954 fi
35955 done
35956
35957
35958 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35959 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35960 cat >conftest.$ac_ext <<_ACEOF
35961 /* confdefs.h. */
35962 _ACEOF
35963 cat confdefs.h >>conftest.$ac_ext
35964 cat >>conftest.$ac_ext <<_ACEOF
35965 /* end confdefs.h. */
35966 #include <wchar.h>
35967 int
35968 main ()
35969 {
35970 &_vsnwprintf;
35971 ;
35972 return 0;
35973 }
35974 _ACEOF
35975 rm -f conftest.$ac_objext
35976 if { (ac_try="$ac_compile"
35977 case "(($ac_try" in
35978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35979 *) ac_try_echo=$ac_try;;
35980 esac
35981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35982 (eval "$ac_compile") 2>conftest.er1
35983 ac_status=$?
35984 grep -v '^ *+' conftest.er1 >conftest.err
35985 rm -f conftest.er1
35986 cat conftest.err >&5
35987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35988 (exit $ac_status); } && {
35989 test -z "$ac_c_werror_flag" ||
35990 test ! -s conftest.err
35991 } && test -s conftest.$ac_objext; then
35992 { echo "$as_me:$LINENO: result: yes" >&5
35993 echo "${ECHO_T}yes" >&6; }
35994 cat >>confdefs.h <<\_ACEOF
35995 #define HAVE__VSNWPRINTF 1
35996 _ACEOF
35997
35998 else
35999 echo "$as_me: failed program was:" >&5
36000 sed 's/^/| /' conftest.$ac_ext >&5
36001
36002 { echo "$as_me:$LINENO: result: no" >&5
36003 echo "${ECHO_T}no" >&6; }
36004 fi
36005
36006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
36007 fi
36008
36009 if test "$wxUSE_FILE" = "yes"; then
36010
36011 for wx_func in fsync
36012 do
36013 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36014 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36015 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36016 echo $ECHO_N "(cached) $ECHO_C" >&6
36017 else
36018
36019 cat >conftest.$ac_ext <<_ACEOF
36020
36021 /* confdefs.h. */
36022 _ACEOF
36023 cat confdefs.h >>conftest.$ac_ext
36024 cat >>conftest.$ac_ext <<_ACEOF
36025 /* end confdefs.h. */
36026
36027
36028 $ac_includes_default
36029
36030 int
36031 main ()
36032 {
36033
36034 #ifndef $wx_func
36035 &$wx_func;
36036 #endif
36037
36038
36039 ;
36040 return 0;
36041 }
36042
36043 _ACEOF
36044 rm -f conftest.$ac_objext conftest$ac_exeext
36045 if { (ac_try="$ac_link"
36046 case "(($ac_try" in
36047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36048 *) ac_try_echo=$ac_try;;
36049 esac
36050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36051 (eval "$ac_link") 2>conftest.er1
36052 ac_status=$?
36053 grep -v '^ *+' conftest.er1 >conftest.err
36054 rm -f conftest.er1
36055 cat conftest.err >&5
36056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36057 (exit $ac_status); } && {
36058 test -z "$ac_c_werror_flag" ||
36059 test ! -s conftest.err
36060 } && test -s conftest$ac_exeext &&
36061 $as_test_x conftest$ac_exeext; then
36062 eval wx_cv_func_$wx_func=yes
36063 else
36064 echo "$as_me: failed program was:" >&5
36065 sed 's/^/| /' conftest.$ac_ext >&5
36066
36067 eval wx_cv_func_$wx_func=no
36068 fi
36069
36070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36071 conftest$ac_exeext conftest.$ac_ext
36072
36073 fi
36074 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36075 { echo "$as_me:$LINENO: result: $ac_res" >&5
36076 echo "${ECHO_T}$ac_res" >&6; }
36077
36078 if eval test \$wx_cv_func_$wx_func = yes
36079 then
36080 cat >>confdefs.h <<_ACEOF
36081 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36082 _ACEOF
36083
36084
36085 else
36086 :
36087
36088 fi
36089 done
36090
36091 fi
36092
36093 ac_ext=cpp
36094 ac_cpp='$CXXCPP $CPPFLAGS'
36095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36098
36099
36100 for wx_func in round
36101 do
36102 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36103 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36104 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36105 echo $ECHO_N "(cached) $ECHO_C" >&6
36106 else
36107
36108 cat >conftest.$ac_ext <<_ACEOF
36109
36110 /* confdefs.h. */
36111 _ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36115
36116 #include <math.h>
36117 $ac_includes_default
36118
36119 int
36120 main ()
36121 {
36122
36123 #ifndef $wx_func
36124 &$wx_func;
36125 #endif
36126
36127
36128 ;
36129 return 0;
36130 }
36131
36132 _ACEOF
36133 rm -f conftest.$ac_objext conftest$ac_exeext
36134 if { (ac_try="$ac_link"
36135 case "(($ac_try" in
36136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36137 *) ac_try_echo=$ac_try;;
36138 esac
36139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36140 (eval "$ac_link") 2>conftest.er1
36141 ac_status=$?
36142 grep -v '^ *+' conftest.er1 >conftest.err
36143 rm -f conftest.er1
36144 cat conftest.err >&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); } && {
36147 test -z "$ac_cxx_werror_flag" ||
36148 test ! -s conftest.err
36149 } && test -s conftest$ac_exeext &&
36150 $as_test_x conftest$ac_exeext; then
36151 eval wx_cv_func_$wx_func=yes
36152 else
36153 echo "$as_me: failed program was:" >&5
36154 sed 's/^/| /' conftest.$ac_ext >&5
36155
36156 eval wx_cv_func_$wx_func=no
36157 fi
36158
36159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36160 conftest$ac_exeext conftest.$ac_ext
36161
36162 fi
36163 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36164 { echo "$as_me:$LINENO: result: $ac_res" >&5
36165 echo "${ECHO_T}$ac_res" >&6; }
36166
36167 if eval test \$wx_cv_func_$wx_func = yes
36168 then
36169 cat >>confdefs.h <<_ACEOF
36170 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
36171 _ACEOF
36172
36173
36174 else
36175 :
36176
36177 fi
36178 done
36179
36180 ac_ext=c
36181 ac_cpp='$CPP $CPPFLAGS'
36182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36185
36186
36187 if test "$TOOLKIT" != "MSW"; then
36188
36189 if test "$wxUSE_LIBICONV" != "no" ; then
36190
36191
36192
36193 # Check whether --with-libiconv-prefix was given.
36194 if test "${with_libiconv_prefix+set}" = set; then
36195 withval=$with_libiconv_prefix;
36196 for dir in `echo "$withval" | tr : ' '`; do
36197 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36198 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36199 done
36200
36201 fi
36202
36203
36204 { echo "$as_me:$LINENO: checking for iconv" >&5
36205 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36206 if test "${am_cv_func_iconv+set}" = set; then
36207 echo $ECHO_N "(cached) $ECHO_C" >&6
36208 else
36209
36210 am_cv_func_iconv="no, consider installing GNU libiconv"
36211 am_cv_lib_iconv=no
36212 cat >conftest.$ac_ext <<_ACEOF
36213 /* confdefs.h. */
36214 _ACEOF
36215 cat confdefs.h >>conftest.$ac_ext
36216 cat >>conftest.$ac_ext <<_ACEOF
36217 /* end confdefs.h. */
36218 #include <stdlib.h>
36219 #include <iconv.h>
36220 int
36221 main ()
36222 {
36223 iconv_t cd = iconv_open("","");
36224 iconv(cd,NULL,NULL,NULL,NULL);
36225 iconv_close(cd);
36226 ;
36227 return 0;
36228 }
36229 _ACEOF
36230 rm -f conftest.$ac_objext conftest$ac_exeext
36231 if { (ac_try="$ac_link"
36232 case "(($ac_try" in
36233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36234 *) ac_try_echo=$ac_try;;
36235 esac
36236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36237 (eval "$ac_link") 2>conftest.er1
36238 ac_status=$?
36239 grep -v '^ *+' conftest.er1 >conftest.err
36240 rm -f conftest.er1
36241 cat conftest.err >&5
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); } && {
36244 test -z "$ac_c_werror_flag" ||
36245 test ! -s conftest.err
36246 } && test -s conftest$ac_exeext &&
36247 $as_test_x conftest$ac_exeext; then
36248 am_cv_func_iconv=yes
36249 else
36250 echo "$as_me: failed program was:" >&5
36251 sed 's/^/| /' conftest.$ac_ext >&5
36252
36253
36254 fi
36255
36256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36257 conftest$ac_exeext conftest.$ac_ext
36258 if test "$am_cv_func_iconv" != yes; then
36259 am_save_LIBS="$LIBS"
36260 LIBS="$LIBS -liconv"
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 #include <stdlib.h>
36268 #include <iconv.h>
36269 int
36270 main ()
36271 {
36272 iconv_t cd = iconv_open("","");
36273 iconv(cd,NULL,NULL,NULL,NULL);
36274 iconv_close(cd);
36275 ;
36276 return 0;
36277 }
36278 _ACEOF
36279 rm -f conftest.$ac_objext conftest$ac_exeext
36280 if { (ac_try="$ac_link"
36281 case "(($ac_try" in
36282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36283 *) ac_try_echo=$ac_try;;
36284 esac
36285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36286 (eval "$ac_link") 2>conftest.er1
36287 ac_status=$?
36288 grep -v '^ *+' conftest.er1 >conftest.err
36289 rm -f conftest.er1
36290 cat conftest.err >&5
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); } && {
36293 test -z "$ac_c_werror_flag" ||
36294 test ! -s conftest.err
36295 } && test -s conftest$ac_exeext &&
36296 $as_test_x conftest$ac_exeext; then
36297 am_cv_lib_iconv=yes
36298 am_cv_func_iconv=yes
36299 else
36300 echo "$as_me: failed program was:" >&5
36301 sed 's/^/| /' conftest.$ac_ext >&5
36302
36303
36304 fi
36305
36306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36307 conftest$ac_exeext conftest.$ac_ext
36308 LIBS="$am_save_LIBS"
36309 fi
36310
36311 fi
36312 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36313 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36314 if test "$am_cv_func_iconv" = yes; then
36315
36316 cat >>confdefs.h <<\_ACEOF
36317 #define HAVE_ICONV 1
36318 _ACEOF
36319
36320 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36321 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36322 if test "${wx_cv_func_iconv_const+set}" = set; then
36323 echo $ECHO_N "(cached) $ECHO_C" >&6
36324 else
36325 cat >conftest.$ac_ext <<_ACEOF
36326 /* confdefs.h. */
36327 _ACEOF
36328 cat confdefs.h >>conftest.$ac_ext
36329 cat >>conftest.$ac_ext <<_ACEOF
36330 /* end confdefs.h. */
36331
36332 #include <stdlib.h>
36333 #include <iconv.h>
36334 extern
36335 #ifdef __cplusplus
36336 "C"
36337 #endif
36338 #if defined(__STDC__) || defined(__cplusplus)
36339 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36340 #else
36341 size_t iconv();
36342 #endif
36343
36344 int
36345 main ()
36346 {
36347
36348 ;
36349 return 0;
36350 }
36351 _ACEOF
36352 rm -f conftest.$ac_objext
36353 if { (ac_try="$ac_compile"
36354 case "(($ac_try" in
36355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36356 *) ac_try_echo=$ac_try;;
36357 esac
36358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36359 (eval "$ac_compile") 2>conftest.er1
36360 ac_status=$?
36361 grep -v '^ *+' conftest.er1 >conftest.err
36362 rm -f conftest.er1
36363 cat conftest.err >&5
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); } && {
36366 test -z "$ac_c_werror_flag" ||
36367 test ! -s conftest.err
36368 } && test -s conftest.$ac_objext; then
36369 wx_cv_func_iconv_const="no"
36370 else
36371 echo "$as_me: failed program was:" >&5
36372 sed 's/^/| /' conftest.$ac_ext >&5
36373
36374 wx_cv_func_iconv_const="yes"
36375
36376 fi
36377
36378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36379
36380 fi
36381 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36382 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36383
36384 iconv_const=
36385 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36386 iconv_const="const"
36387 fi
36388
36389
36390 cat >>confdefs.h <<_ACEOF
36391 #define ICONV_CONST $iconv_const
36392 _ACEOF
36393
36394 fi
36395 LIBICONV=
36396 if test "$am_cv_lib_iconv" = yes; then
36397 LIBICONV="-liconv"
36398 fi
36399
36400
36401 LIBS="$LIBICONV $LIBS"
36402 fi
36403
36404 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36405
36406 for ac_func in sigaction
36407 do
36408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36409 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36411 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36412 echo $ECHO_N "(cached) $ECHO_C" >&6
36413 else
36414 cat >conftest.$ac_ext <<_ACEOF
36415 /* confdefs.h. */
36416 _ACEOF
36417 cat confdefs.h >>conftest.$ac_ext
36418 cat >>conftest.$ac_ext <<_ACEOF
36419 /* end confdefs.h. */
36420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36422 #define $ac_func innocuous_$ac_func
36423
36424 /* System header to define __stub macros and hopefully few prototypes,
36425 which can conflict with char $ac_func (); below.
36426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36427 <limits.h> exists even on freestanding compilers. */
36428
36429 #ifdef __STDC__
36430 # include <limits.h>
36431 #else
36432 # include <assert.h>
36433 #endif
36434
36435 #undef $ac_func
36436
36437 /* Override any GCC internal prototype to avoid an error.
36438 Use char because int might match the return type of a GCC
36439 builtin and then its argument prototype would still apply. */
36440 #ifdef __cplusplus
36441 extern "C"
36442 #endif
36443 char $ac_func ();
36444 /* The GNU C library defines this for functions which it implements
36445 to always fail with ENOSYS. Some functions are actually named
36446 something starting with __ and the normal name is an alias. */
36447 #if defined __stub_$ac_func || defined __stub___$ac_func
36448 choke me
36449 #endif
36450
36451 int
36452 main ()
36453 {
36454 return $ac_func ();
36455 ;
36456 return 0;
36457 }
36458 _ACEOF
36459 rm -f conftest.$ac_objext conftest$ac_exeext
36460 if { (ac_try="$ac_link"
36461 case "(($ac_try" in
36462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36463 *) ac_try_echo=$ac_try;;
36464 esac
36465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36466 (eval "$ac_link") 2>conftest.er1
36467 ac_status=$?
36468 grep -v '^ *+' conftest.er1 >conftest.err
36469 rm -f conftest.er1
36470 cat conftest.err >&5
36471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36472 (exit $ac_status); } && {
36473 test -z "$ac_c_werror_flag" ||
36474 test ! -s conftest.err
36475 } && test -s conftest$ac_exeext &&
36476 $as_test_x conftest$ac_exeext; then
36477 eval "$as_ac_var=yes"
36478 else
36479 echo "$as_me: failed program was:" >&5
36480 sed 's/^/| /' conftest.$ac_ext >&5
36481
36482 eval "$as_ac_var=no"
36483 fi
36484
36485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36486 conftest$ac_exeext conftest.$ac_ext
36487 fi
36488 ac_res=`eval echo '${'$as_ac_var'}'`
36489 { echo "$as_me:$LINENO: result: $ac_res" >&5
36490 echo "${ECHO_T}$ac_res" >&6; }
36491 if test `eval echo '${'$as_ac_var'}'` = yes; then
36492 cat >>confdefs.h <<_ACEOF
36493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36494 _ACEOF
36495
36496 fi
36497 done
36498
36499
36500 if test "$ac_cv_func_sigaction" = "no"; then
36501 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36502 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36503 wxUSE_ON_FATAL_EXCEPTION=no
36504 fi
36505
36506 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36507 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36508 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36509 if test "${wx_cv_type_sa_handler+set}" = set; then
36510 echo $ECHO_N "(cached) $ECHO_C" >&6
36511 else
36512
36513 ac_ext=cpp
36514 ac_cpp='$CXXCPP $CPPFLAGS'
36515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36518
36519 cat >conftest.$ac_ext <<_ACEOF
36520 /* confdefs.h. */
36521 _ACEOF
36522 cat confdefs.h >>conftest.$ac_ext
36523 cat >>conftest.$ac_ext <<_ACEOF
36524 /* end confdefs.h. */
36525 #include <signal.h>
36526 int
36527 main ()
36528 {
36529
36530 extern void testSigHandler(int);
36531
36532 struct sigaction sa;
36533 sa.sa_handler = testSigHandler;
36534
36535 ;
36536 return 0;
36537 }
36538 _ACEOF
36539 rm -f conftest.$ac_objext
36540 if { (ac_try="$ac_compile"
36541 case "(($ac_try" in
36542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36543 *) ac_try_echo=$ac_try;;
36544 esac
36545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36546 (eval "$ac_compile") 2>conftest.er1
36547 ac_status=$?
36548 grep -v '^ *+' conftest.er1 >conftest.err
36549 rm -f conftest.er1
36550 cat conftest.err >&5
36551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36552 (exit $ac_status); } && {
36553 test -z "$ac_cxx_werror_flag" ||
36554 test ! -s conftest.err
36555 } && test -s conftest.$ac_objext; then
36556
36557 wx_cv_type_sa_handler=int
36558
36559 else
36560 echo "$as_me: failed program was:" >&5
36561 sed 's/^/| /' conftest.$ac_ext >&5
36562
36563
36564 wx_cv_type_sa_handler=void
36565
36566 fi
36567
36568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36569 ac_ext=c
36570 ac_cpp='$CPP $CPPFLAGS'
36571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36574
36575
36576 fi
36577 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36578 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36579
36580 cat >>confdefs.h <<_ACEOF
36581 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36582 _ACEOF
36583
36584 fi
36585 fi
36586
36587 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36588 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36589 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36590 if test "${wx_cv_func_backtrace+set}" = set; then
36591 echo $ECHO_N "(cached) $ECHO_C" >&6
36592 else
36593
36594 ac_ext=cpp
36595 ac_cpp='$CXXCPP $CPPFLAGS'
36596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36599
36600 cat >conftest.$ac_ext <<_ACEOF
36601 /* confdefs.h. */
36602 _ACEOF
36603 cat confdefs.h >>conftest.$ac_ext
36604 cat >>conftest.$ac_ext <<_ACEOF
36605 /* end confdefs.h. */
36606 #include <execinfo.h>
36607 int
36608 main ()
36609 {
36610
36611 void *trace[1];
36612 char **messages;
36613
36614 backtrace(trace, 1);
36615 messages = backtrace_symbols(trace, 1);
36616
36617 ;
36618 return 0;
36619 }
36620 _ACEOF
36621 rm -f conftest.$ac_objext
36622 if { (ac_try="$ac_compile"
36623 case "(($ac_try" in
36624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36625 *) ac_try_echo=$ac_try;;
36626 esac
36627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36628 (eval "$ac_compile") 2>conftest.er1
36629 ac_status=$?
36630 grep -v '^ *+' conftest.er1 >conftest.err
36631 rm -f conftest.er1
36632 cat conftest.err >&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); } && {
36635 test -z "$ac_cxx_werror_flag" ||
36636 test ! -s conftest.err
36637 } && test -s conftest.$ac_objext; then
36638 wx_cv_func_backtrace=yes
36639 else
36640 echo "$as_me: failed program was:" >&5
36641 sed 's/^/| /' conftest.$ac_ext >&5
36642
36643 wx_cv_func_backtrace=no
36644
36645 fi
36646
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36648 ac_ext=c
36649 ac_cpp='$CPP $CPPFLAGS'
36650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36653
36654
36655
36656 fi
36657 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36658 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36659
36660
36661 if test "$wx_cv_func_backtrace" = "no"; then
36662 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36663 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36664 wxUSE_STACKWALKER=no
36665 else
36666 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36667 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36668 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36669 echo $ECHO_N "(cached) $ECHO_C" >&6
36670 else
36671
36672 ac_ext=cpp
36673 ac_cpp='$CXXCPP $CPPFLAGS'
36674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36677
36678 cat >conftest.$ac_ext <<_ACEOF
36679 /* confdefs.h. */
36680 _ACEOF
36681 cat confdefs.h >>conftest.$ac_ext
36682 cat >>conftest.$ac_ext <<_ACEOF
36683 /* end confdefs.h. */
36684 #include <cxxabi.h>
36685 int
36686 main ()
36687 {
36688
36689 int rc;
36690 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36691
36692 ;
36693 return 0;
36694 }
36695 _ACEOF
36696 rm -f conftest.$ac_objext conftest$ac_exeext
36697 if { (ac_try="$ac_link"
36698 case "(($ac_try" in
36699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36700 *) ac_try_echo=$ac_try;;
36701 esac
36702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36703 (eval "$ac_link") 2>conftest.er1
36704 ac_status=$?
36705 grep -v '^ *+' conftest.er1 >conftest.err
36706 rm -f conftest.er1
36707 cat conftest.err >&5
36708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 (exit $ac_status); } && {
36710 test -z "$ac_cxx_werror_flag" ||
36711 test ! -s conftest.err
36712 } && test -s conftest$ac_exeext &&
36713 $as_test_x conftest$ac_exeext; then
36714 wx_cv_func_cxa_demangle=yes
36715 else
36716 echo "$as_me: failed program was:" >&5
36717 sed 's/^/| /' conftest.$ac_ext >&5
36718
36719 wx_cv_func_cxa_demangle=no
36720
36721 fi
36722
36723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36724 conftest$ac_exeext conftest.$ac_ext
36725 ac_ext=c
36726 ac_cpp='$CPP $CPPFLAGS'
36727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36730
36731
36732
36733 fi
36734 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36735 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36736
36737 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36738 cat >>confdefs.h <<\_ACEOF
36739 #define HAVE_CXA_DEMANGLE 1
36740 _ACEOF
36741
36742 fi
36743 fi
36744 fi
36745
36746 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36747 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36748 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36749 wxUSE_STACKWALKER=no
36750 fi
36751
36752
36753
36754
36755 for ac_func in mkstemp mktemp
36756 do
36757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36758 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36760 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36761 echo $ECHO_N "(cached) $ECHO_C" >&6
36762 else
36763 cat >conftest.$ac_ext <<_ACEOF
36764 /* confdefs.h. */
36765 _ACEOF
36766 cat confdefs.h >>conftest.$ac_ext
36767 cat >>conftest.$ac_ext <<_ACEOF
36768 /* end confdefs.h. */
36769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36771 #define $ac_func innocuous_$ac_func
36772
36773 /* System header to define __stub macros and hopefully few prototypes,
36774 which can conflict with char $ac_func (); below.
36775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36776 <limits.h> exists even on freestanding compilers. */
36777
36778 #ifdef __STDC__
36779 # include <limits.h>
36780 #else
36781 # include <assert.h>
36782 #endif
36783
36784 #undef $ac_func
36785
36786 /* Override any GCC internal prototype to avoid an error.
36787 Use char because int might match the return type of a GCC
36788 builtin and then its argument prototype would still apply. */
36789 #ifdef __cplusplus
36790 extern "C"
36791 #endif
36792 char $ac_func ();
36793 /* The GNU C library defines this for functions which it implements
36794 to always fail with ENOSYS. Some functions are actually named
36795 something starting with __ and the normal name is an alias. */
36796 #if defined __stub_$ac_func || defined __stub___$ac_func
36797 choke me
36798 #endif
36799
36800 int
36801 main ()
36802 {
36803 return $ac_func ();
36804 ;
36805 return 0;
36806 }
36807 _ACEOF
36808 rm -f conftest.$ac_objext conftest$ac_exeext
36809 if { (ac_try="$ac_link"
36810 case "(($ac_try" in
36811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36812 *) ac_try_echo=$ac_try;;
36813 esac
36814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36815 (eval "$ac_link") 2>conftest.er1
36816 ac_status=$?
36817 grep -v '^ *+' conftest.er1 >conftest.err
36818 rm -f conftest.er1
36819 cat conftest.err >&5
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); } && {
36822 test -z "$ac_c_werror_flag" ||
36823 test ! -s conftest.err
36824 } && test -s conftest$ac_exeext &&
36825 $as_test_x conftest$ac_exeext; then
36826 eval "$as_ac_var=yes"
36827 else
36828 echo "$as_me: failed program was:" >&5
36829 sed 's/^/| /' conftest.$ac_ext >&5
36830
36831 eval "$as_ac_var=no"
36832 fi
36833
36834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36835 conftest$ac_exeext conftest.$ac_ext
36836 fi
36837 ac_res=`eval echo '${'$as_ac_var'}'`
36838 { echo "$as_me:$LINENO: result: $ac_res" >&5
36839 echo "${ECHO_T}$ac_res" >&6; }
36840 if test `eval echo '${'$as_ac_var'}'` = yes; then
36841 cat >>confdefs.h <<_ACEOF
36842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36843 _ACEOF
36844 break
36845 fi
36846 done
36847
36848
36849 { echo "$as_me:$LINENO: checking for statfs" >&5
36850 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36851 if test "${wx_cv_func_statfs+set}" = set; then
36852 echo $ECHO_N "(cached) $ECHO_C" >&6
36853 else
36854 cat >conftest.$ac_ext <<_ACEOF
36855 /* confdefs.h. */
36856 _ACEOF
36857 cat confdefs.h >>conftest.$ac_ext
36858 cat >>conftest.$ac_ext <<_ACEOF
36859 /* end confdefs.h. */
36860
36861 #if defined(__BSD__)
36862 #include <sys/param.h>
36863 #include <sys/mount.h>
36864 #else
36865 #include <sys/vfs.h>
36866 #endif
36867
36868 int
36869 main ()
36870 {
36871
36872 long l;
36873 struct statfs fs;
36874 statfs("/", &fs);
36875 l = fs.f_bsize;
36876 l += fs.f_blocks;
36877 l += fs.f_bavail;
36878
36879 ;
36880 return 0;
36881 }
36882 _ACEOF
36883 rm -f conftest.$ac_objext
36884 if { (ac_try="$ac_compile"
36885 case "(($ac_try" in
36886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36887 *) ac_try_echo=$ac_try;;
36888 esac
36889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36890 (eval "$ac_compile") 2>conftest.er1
36891 ac_status=$?
36892 grep -v '^ *+' conftest.er1 >conftest.err
36893 rm -f conftest.er1
36894 cat conftest.err >&5
36895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896 (exit $ac_status); } && {
36897 test -z "$ac_c_werror_flag" ||
36898 test ! -s conftest.err
36899 } && test -s conftest.$ac_objext; then
36900 wx_cv_func_statfs=yes
36901 else
36902 echo "$as_me: failed program was:" >&5
36903 sed 's/^/| /' conftest.$ac_ext >&5
36904
36905 wx_cv_func_statfs=no
36906
36907 fi
36908
36909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36910
36911 fi
36912 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36913 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36914
36915 if test "$wx_cv_func_statfs" = "yes"; then
36916 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36917 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36918 if test "${wx_cv_func_statfs_decl+set}" = set; then
36919 echo $ECHO_N "(cached) $ECHO_C" >&6
36920 else
36921 ac_ext=cpp
36922 ac_cpp='$CXXCPP $CPPFLAGS'
36923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36926
36927 cat >conftest.$ac_ext <<_ACEOF
36928 /* confdefs.h. */
36929 _ACEOF
36930 cat confdefs.h >>conftest.$ac_ext
36931 cat >>conftest.$ac_ext <<_ACEOF
36932 /* end confdefs.h. */
36933
36934 #if defined(__BSD__)
36935 #include <sys/param.h>
36936 #include <sys/mount.h>
36937 #else
36938 #include <sys/vfs.h>
36939 #endif
36940
36941 int
36942 main ()
36943 {
36944
36945 struct statfs fs;
36946 statfs("", &fs);
36947
36948 ;
36949 return 0;
36950 }
36951 _ACEOF
36952 rm -f conftest.$ac_objext
36953 if { (ac_try="$ac_compile"
36954 case "(($ac_try" in
36955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36956 *) ac_try_echo=$ac_try;;
36957 esac
36958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36959 (eval "$ac_compile") 2>conftest.er1
36960 ac_status=$?
36961 grep -v '^ *+' conftest.er1 >conftest.err
36962 rm -f conftest.er1
36963 cat conftest.err >&5
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); } && {
36966 test -z "$ac_cxx_werror_flag" ||
36967 test ! -s conftest.err
36968 } && test -s conftest.$ac_objext; then
36969 wx_cv_func_statfs_decl=yes
36970 else
36971 echo "$as_me: failed program was:" >&5
36972 sed 's/^/| /' conftest.$ac_ext >&5
36973
36974 wx_cv_func_statfs_decl=no
36975
36976 fi
36977
36978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36979 ac_ext=c
36980 ac_cpp='$CPP $CPPFLAGS'
36981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36984
36985
36986 fi
36987 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36988 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36989
36990 if test "$wx_cv_func_statfs_decl" = "yes"; then
36991 cat >>confdefs.h <<\_ACEOF
36992 #define HAVE_STATFS_DECL 1
36993 _ACEOF
36994
36995 fi
36996
36997 wx_cv_type_statvfs_t="struct statfs"
36998 cat >>confdefs.h <<\_ACEOF
36999 #define HAVE_STATFS 1
37000 _ACEOF
37001
37002 else
37003 { echo "$as_me:$LINENO: checking for statvfs" >&5
37004 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
37005 if test "${wx_cv_func_statvfs+set}" = set; then
37006 echo $ECHO_N "(cached) $ECHO_C" >&6
37007 else
37008 cat >conftest.$ac_ext <<_ACEOF
37009 /* confdefs.h. */
37010 _ACEOF
37011 cat confdefs.h >>conftest.$ac_ext
37012 cat >>conftest.$ac_ext <<_ACEOF
37013 /* end confdefs.h. */
37014
37015 #include <stddef.h>
37016 #include <sys/statvfs.h>
37017
37018 int
37019 main ()
37020 {
37021
37022 statvfs("/", NULL);
37023
37024 ;
37025 return 0;
37026 }
37027 _ACEOF
37028 rm -f conftest.$ac_objext
37029 if { (ac_try="$ac_compile"
37030 case "(($ac_try" in
37031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37032 *) ac_try_echo=$ac_try;;
37033 esac
37034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37035 (eval "$ac_compile") 2>conftest.er1
37036 ac_status=$?
37037 grep -v '^ *+' conftest.er1 >conftest.err
37038 rm -f conftest.er1
37039 cat conftest.err >&5
37040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37041 (exit $ac_status); } && {
37042 test -z "$ac_c_werror_flag" ||
37043 test ! -s conftest.err
37044 } && test -s conftest.$ac_objext; then
37045 wx_cv_func_statvfs=yes
37046 else
37047 echo "$as_me: failed program was:" >&5
37048 sed 's/^/| /' conftest.$ac_ext >&5
37049
37050 wx_cv_func_statvfs=no
37051
37052 fi
37053
37054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37055
37056 fi
37057 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37058 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
37059
37060 if test "$wx_cv_func_statvfs" = "yes"; then
37061 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37062 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
37063 if test "${wx_cv_type_statvfs_t+set}" = set; then
37064 echo $ECHO_N "(cached) $ECHO_C" >&6
37065 else
37066 ac_ext=cpp
37067 ac_cpp='$CXXCPP $CPPFLAGS'
37068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37071
37072 cat >conftest.$ac_ext <<_ACEOF
37073 /* confdefs.h. */
37074 _ACEOF
37075 cat confdefs.h >>conftest.$ac_ext
37076 cat >>conftest.$ac_ext <<_ACEOF
37077 /* end confdefs.h. */
37078
37079 #include <sys/statvfs.h>
37080
37081 int
37082 main ()
37083 {
37084
37085 long l;
37086 statvfs_t fs;
37087 statvfs("/", &fs);
37088 l = fs.f_bsize;
37089 l += fs.f_blocks;
37090 l += fs.f_bavail;
37091
37092 ;
37093 return 0;
37094 }
37095 _ACEOF
37096 rm -f conftest.$ac_objext
37097 if { (ac_try="$ac_compile"
37098 case "(($ac_try" in
37099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37100 *) ac_try_echo=$ac_try;;
37101 esac
37102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37103 (eval "$ac_compile") 2>conftest.er1
37104 ac_status=$?
37105 grep -v '^ *+' conftest.er1 >conftest.err
37106 rm -f conftest.er1
37107 cat conftest.err >&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); } && {
37110 test -z "$ac_cxx_werror_flag" ||
37111 test ! -s conftest.err
37112 } && test -s conftest.$ac_objext; then
37113 wx_cv_type_statvfs_t=statvfs_t
37114 else
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37117
37118
37119 cat >conftest.$ac_ext <<_ACEOF
37120 /* confdefs.h. */
37121 _ACEOF
37122 cat confdefs.h >>conftest.$ac_ext
37123 cat >>conftest.$ac_ext <<_ACEOF
37124 /* end confdefs.h. */
37125
37126 #include <sys/statvfs.h>
37127
37128 int
37129 main ()
37130 {
37131
37132 long l;
37133 struct statvfs fs;
37134 statvfs("/", &fs);
37135 l = fs.f_bsize;
37136 l += fs.f_blocks;
37137 l += fs.f_bavail;
37138
37139 ;
37140 return 0;
37141 }
37142 _ACEOF
37143 rm -f conftest.$ac_objext
37144 if { (ac_try="$ac_compile"
37145 case "(($ac_try" in
37146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37147 *) ac_try_echo=$ac_try;;
37148 esac
37149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37150 (eval "$ac_compile") 2>conftest.er1
37151 ac_status=$?
37152 grep -v '^ *+' conftest.er1 >conftest.err
37153 rm -f conftest.er1
37154 cat conftest.err >&5
37155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37156 (exit $ac_status); } && {
37157 test -z "$ac_cxx_werror_flag" ||
37158 test ! -s conftest.err
37159 } && test -s conftest.$ac_objext; then
37160 wx_cv_type_statvfs_t="struct statvfs"
37161 else
37162 echo "$as_me: failed program was:" >&5
37163 sed 's/^/| /' conftest.$ac_ext >&5
37164
37165 wx_cv_type_statvfs_t="unknown"
37166
37167 fi
37168
37169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37170
37171
37172 fi
37173
37174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37175 ac_ext=c
37176 ac_cpp='$CPP $CPPFLAGS'
37177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37180
37181
37182 fi
37183 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37184 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
37185
37186 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37187 cat >>confdefs.h <<\_ACEOF
37188 #define HAVE_STATVFS 1
37189 _ACEOF
37190
37191 fi
37192 else
37193 wx_cv_type_statvfs_t="unknown"
37194 fi
37195 fi
37196
37197 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37198 cat >>confdefs.h <<_ACEOF
37199 #define WX_STATFS_T $wx_cv_type_statvfs_t
37200 _ACEOF
37201
37202 else
37203 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37204 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37205 fi
37206
37207 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37208
37209
37210 for ac_func in fcntl flock
37211 do
37212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37213 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37215 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37216 echo $ECHO_N "(cached) $ECHO_C" >&6
37217 else
37218 cat >conftest.$ac_ext <<_ACEOF
37219 /* confdefs.h. */
37220 _ACEOF
37221 cat confdefs.h >>conftest.$ac_ext
37222 cat >>conftest.$ac_ext <<_ACEOF
37223 /* end confdefs.h. */
37224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37226 #define $ac_func innocuous_$ac_func
37227
37228 /* System header to define __stub macros and hopefully few prototypes,
37229 which can conflict with char $ac_func (); below.
37230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37231 <limits.h> exists even on freestanding compilers. */
37232
37233 #ifdef __STDC__
37234 # include <limits.h>
37235 #else
37236 # include <assert.h>
37237 #endif
37238
37239 #undef $ac_func
37240
37241 /* Override any GCC internal prototype to avoid an error.
37242 Use char because int might match the return type of a GCC
37243 builtin and then its argument prototype would still apply. */
37244 #ifdef __cplusplus
37245 extern "C"
37246 #endif
37247 char $ac_func ();
37248 /* The GNU C library defines this for functions which it implements
37249 to always fail with ENOSYS. Some functions are actually named
37250 something starting with __ and the normal name is an alias. */
37251 #if defined __stub_$ac_func || defined __stub___$ac_func
37252 choke me
37253 #endif
37254
37255 int
37256 main ()
37257 {
37258 return $ac_func ();
37259 ;
37260 return 0;
37261 }
37262 _ACEOF
37263 rm -f conftest.$ac_objext conftest$ac_exeext
37264 if { (ac_try="$ac_link"
37265 case "(($ac_try" in
37266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37267 *) ac_try_echo=$ac_try;;
37268 esac
37269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37270 (eval "$ac_link") 2>conftest.er1
37271 ac_status=$?
37272 grep -v '^ *+' conftest.er1 >conftest.err
37273 rm -f conftest.er1
37274 cat conftest.err >&5
37275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37276 (exit $ac_status); } && {
37277 test -z "$ac_c_werror_flag" ||
37278 test ! -s conftest.err
37279 } && test -s conftest$ac_exeext &&
37280 $as_test_x conftest$ac_exeext; then
37281 eval "$as_ac_var=yes"
37282 else
37283 echo "$as_me: failed program was:" >&5
37284 sed 's/^/| /' conftest.$ac_ext >&5
37285
37286 eval "$as_ac_var=no"
37287 fi
37288
37289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37290 conftest$ac_exeext conftest.$ac_ext
37291 fi
37292 ac_res=`eval echo '${'$as_ac_var'}'`
37293 { echo "$as_me:$LINENO: result: $ac_res" >&5
37294 echo "${ECHO_T}$ac_res" >&6; }
37295 if test `eval echo '${'$as_ac_var'}'` = yes; then
37296 cat >>confdefs.h <<_ACEOF
37297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37298 _ACEOF
37299 break
37300 fi
37301 done
37302
37303
37304 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37305 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37306 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37307 wxUSE_SNGLINST_CHECKER=no
37308 fi
37309 fi
37310
37311
37312
37313 for ac_func in setenv putenv
37314 do
37315 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37316 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37317 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37318 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37319 echo $ECHO_N "(cached) $ECHO_C" >&6
37320 else
37321 cat >conftest.$ac_ext <<_ACEOF
37322 /* confdefs.h. */
37323 _ACEOF
37324 cat confdefs.h >>conftest.$ac_ext
37325 cat >>conftest.$ac_ext <<_ACEOF
37326 /* end confdefs.h. */
37327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37329 #define $ac_func innocuous_$ac_func
37330
37331 /* System header to define __stub macros and hopefully few prototypes,
37332 which can conflict with char $ac_func (); below.
37333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37334 <limits.h> exists even on freestanding compilers. */
37335
37336 #ifdef __STDC__
37337 # include <limits.h>
37338 #else
37339 # include <assert.h>
37340 #endif
37341
37342 #undef $ac_func
37343
37344 /* Override any GCC internal prototype to avoid an error.
37345 Use char because int might match the return type of a GCC
37346 builtin and then its argument prototype would still apply. */
37347 #ifdef __cplusplus
37348 extern "C"
37349 #endif
37350 char $ac_func ();
37351 /* The GNU C library defines this for functions which it implements
37352 to always fail with ENOSYS. Some functions are actually named
37353 something starting with __ and the normal name is an alias. */
37354 #if defined __stub_$ac_func || defined __stub___$ac_func
37355 choke me
37356 #endif
37357
37358 int
37359 main ()
37360 {
37361 return $ac_func ();
37362 ;
37363 return 0;
37364 }
37365 _ACEOF
37366 rm -f conftest.$ac_objext conftest$ac_exeext
37367 if { (ac_try="$ac_link"
37368 case "(($ac_try" in
37369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37370 *) ac_try_echo=$ac_try;;
37371 esac
37372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37373 (eval "$ac_link") 2>conftest.er1
37374 ac_status=$?
37375 grep -v '^ *+' conftest.er1 >conftest.err
37376 rm -f conftest.er1
37377 cat conftest.err >&5
37378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37379 (exit $ac_status); } && {
37380 test -z "$ac_c_werror_flag" ||
37381 test ! -s conftest.err
37382 } && test -s conftest$ac_exeext &&
37383 $as_test_x conftest$ac_exeext; then
37384 eval "$as_ac_var=yes"
37385 else
37386 echo "$as_me: failed program was:" >&5
37387 sed 's/^/| /' conftest.$ac_ext >&5
37388
37389 eval "$as_ac_var=no"
37390 fi
37391
37392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37393 conftest$ac_exeext conftest.$ac_ext
37394 fi
37395 ac_res=`eval echo '${'$as_ac_var'}'`
37396 { echo "$as_me:$LINENO: result: $ac_res" >&5
37397 echo "${ECHO_T}$ac_res" >&6; }
37398 if test `eval echo '${'$as_ac_var'}'` = yes; then
37399 cat >>confdefs.h <<_ACEOF
37400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37401 _ACEOF
37402 break
37403 fi
37404 done
37405
37406 if test "$ac_cv_func_setenv" = "yes"; then
37407
37408 for ac_func in unsetenv
37409 do
37410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37411 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37413 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37414 echo $ECHO_N "(cached) $ECHO_C" >&6
37415 else
37416 cat >conftest.$ac_ext <<_ACEOF
37417 /* confdefs.h. */
37418 _ACEOF
37419 cat confdefs.h >>conftest.$ac_ext
37420 cat >>conftest.$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37424 #define $ac_func innocuous_$ac_func
37425
37426 /* System header to define __stub macros and hopefully few prototypes,
37427 which can conflict with char $ac_func (); below.
37428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37429 <limits.h> exists even on freestanding compilers. */
37430
37431 #ifdef __STDC__
37432 # include <limits.h>
37433 #else
37434 # include <assert.h>
37435 #endif
37436
37437 #undef $ac_func
37438
37439 /* Override any GCC internal prototype to avoid an error.
37440 Use char because int might match the return type of a GCC
37441 builtin and then its argument prototype would still apply. */
37442 #ifdef __cplusplus
37443 extern "C"
37444 #endif
37445 char $ac_func ();
37446 /* The GNU C library defines this for functions which it implements
37447 to always fail with ENOSYS. Some functions are actually named
37448 something starting with __ and the normal name is an alias. */
37449 #if defined __stub_$ac_func || defined __stub___$ac_func
37450 choke me
37451 #endif
37452
37453 int
37454 main ()
37455 {
37456 return $ac_func ();
37457 ;
37458 return 0;
37459 }
37460 _ACEOF
37461 rm -f conftest.$ac_objext conftest$ac_exeext
37462 if { (ac_try="$ac_link"
37463 case "(($ac_try" in
37464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37465 *) ac_try_echo=$ac_try;;
37466 esac
37467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37468 (eval "$ac_link") 2>conftest.er1
37469 ac_status=$?
37470 grep -v '^ *+' conftest.er1 >conftest.err
37471 rm -f conftest.er1
37472 cat conftest.err >&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); } && {
37475 test -z "$ac_c_werror_flag" ||
37476 test ! -s conftest.err
37477 } && test -s conftest$ac_exeext &&
37478 $as_test_x conftest$ac_exeext; then
37479 eval "$as_ac_var=yes"
37480 else
37481 echo "$as_me: failed program was:" >&5
37482 sed 's/^/| /' conftest.$ac_ext >&5
37483
37484 eval "$as_ac_var=no"
37485 fi
37486
37487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37488 conftest$ac_exeext conftest.$ac_ext
37489 fi
37490 ac_res=`eval echo '${'$as_ac_var'}'`
37491 { echo "$as_me:$LINENO: result: $ac_res" >&5
37492 echo "${ECHO_T}$ac_res" >&6; }
37493 if test `eval echo '${'$as_ac_var'}'` = yes; then
37494 cat >>confdefs.h <<_ACEOF
37495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37496 _ACEOF
37497
37498 fi
37499 done
37500
37501 fi
37502
37503 HAVE_SOME_SLEEP_FUNC=0
37504 if test "$USE_BEOS" = 1; then
37505 cat >>confdefs.h <<\_ACEOF
37506 #define HAVE_SLEEP 1
37507 _ACEOF
37508
37509 HAVE_SOME_SLEEP_FUNC=1
37510 fi
37511
37512 if test "$USE_DARWIN" = 1; then
37513 cat >>confdefs.h <<\_ACEOF
37514 #define HAVE_USLEEP 1
37515 _ACEOF
37516
37517 HAVE_SOME_SLEEP_FUNC=1
37518 fi
37519
37520 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37521 POSIX4_LINK=
37522
37523 for ac_func in nanosleep
37524 do
37525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37526 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37528 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37529 echo $ECHO_N "(cached) $ECHO_C" >&6
37530 else
37531 cat >conftest.$ac_ext <<_ACEOF
37532 /* confdefs.h. */
37533 _ACEOF
37534 cat confdefs.h >>conftest.$ac_ext
37535 cat >>conftest.$ac_ext <<_ACEOF
37536 /* end confdefs.h. */
37537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37539 #define $ac_func innocuous_$ac_func
37540
37541 /* System header to define __stub macros and hopefully few prototypes,
37542 which can conflict with char $ac_func (); below.
37543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37544 <limits.h> exists even on freestanding compilers. */
37545
37546 #ifdef __STDC__
37547 # include <limits.h>
37548 #else
37549 # include <assert.h>
37550 #endif
37551
37552 #undef $ac_func
37553
37554 /* Override any GCC internal prototype to avoid an error.
37555 Use char because int might match the return type of a GCC
37556 builtin and then its argument prototype would still apply. */
37557 #ifdef __cplusplus
37558 extern "C"
37559 #endif
37560 char $ac_func ();
37561 /* The GNU C library defines this for functions which it implements
37562 to always fail with ENOSYS. Some functions are actually named
37563 something starting with __ and the normal name is an alias. */
37564 #if defined __stub_$ac_func || defined __stub___$ac_func
37565 choke me
37566 #endif
37567
37568 int
37569 main ()
37570 {
37571 return $ac_func ();
37572 ;
37573 return 0;
37574 }
37575 _ACEOF
37576 rm -f conftest.$ac_objext conftest$ac_exeext
37577 if { (ac_try="$ac_link"
37578 case "(($ac_try" in
37579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37580 *) ac_try_echo=$ac_try;;
37581 esac
37582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37583 (eval "$ac_link") 2>conftest.er1
37584 ac_status=$?
37585 grep -v '^ *+' conftest.er1 >conftest.err
37586 rm -f conftest.er1
37587 cat conftest.err >&5
37588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37589 (exit $ac_status); } && {
37590 test -z "$ac_c_werror_flag" ||
37591 test ! -s conftest.err
37592 } && test -s conftest$ac_exeext &&
37593 $as_test_x conftest$ac_exeext; then
37594 eval "$as_ac_var=yes"
37595 else
37596 echo "$as_me: failed program was:" >&5
37597 sed 's/^/| /' conftest.$ac_ext >&5
37598
37599 eval "$as_ac_var=no"
37600 fi
37601
37602 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37603 conftest$ac_exeext conftest.$ac_ext
37604 fi
37605 ac_res=`eval echo '${'$as_ac_var'}'`
37606 { echo "$as_me:$LINENO: result: $ac_res" >&5
37607 echo "${ECHO_T}$ac_res" >&6; }
37608 if test `eval echo '${'$as_ac_var'}'` = yes; then
37609 cat >>confdefs.h <<_ACEOF
37610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37611 _ACEOF
37612 cat >>confdefs.h <<\_ACEOF
37613 #define HAVE_NANOSLEEP 1
37614 _ACEOF
37615
37616 else
37617
37618 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37619 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37620 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37621 echo $ECHO_N "(cached) $ECHO_C" >&6
37622 else
37623 ac_check_lib_save_LIBS=$LIBS
37624 LIBS="-lposix4 $LIBS"
37625 cat >conftest.$ac_ext <<_ACEOF
37626 /* confdefs.h. */
37627 _ACEOF
37628 cat confdefs.h >>conftest.$ac_ext
37629 cat >>conftest.$ac_ext <<_ACEOF
37630 /* end confdefs.h. */
37631
37632 /* Override any GCC internal prototype to avoid an error.
37633 Use char because int might match the return type of a GCC
37634 builtin and then its argument prototype would still apply. */
37635 #ifdef __cplusplus
37636 extern "C"
37637 #endif
37638 char nanosleep ();
37639 int
37640 main ()
37641 {
37642 return nanosleep ();
37643 ;
37644 return 0;
37645 }
37646 _ACEOF
37647 rm -f conftest.$ac_objext conftest$ac_exeext
37648 if { (ac_try="$ac_link"
37649 case "(($ac_try" in
37650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37651 *) ac_try_echo=$ac_try;;
37652 esac
37653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37654 (eval "$ac_link") 2>conftest.er1
37655 ac_status=$?
37656 grep -v '^ *+' conftest.er1 >conftest.err
37657 rm -f conftest.er1
37658 cat conftest.err >&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } && {
37661 test -z "$ac_c_werror_flag" ||
37662 test ! -s conftest.err
37663 } && test -s conftest$ac_exeext &&
37664 $as_test_x conftest$ac_exeext; then
37665 ac_cv_lib_posix4_nanosleep=yes
37666 else
37667 echo "$as_me: failed program was:" >&5
37668 sed 's/^/| /' conftest.$ac_ext >&5
37669
37670 ac_cv_lib_posix4_nanosleep=no
37671 fi
37672
37673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37674 conftest$ac_exeext conftest.$ac_ext
37675 LIBS=$ac_check_lib_save_LIBS
37676 fi
37677 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37678 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37679 if test $ac_cv_lib_posix4_nanosleep = yes; then
37680
37681 cat >>confdefs.h <<\_ACEOF
37682 #define HAVE_NANOSLEEP 1
37683 _ACEOF
37684
37685 POSIX4_LINK=" -lposix4"
37686
37687 else
37688
37689
37690 for wx_func in usleep
37691 do
37692 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37693 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37694 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37695 echo $ECHO_N "(cached) $ECHO_C" >&6
37696 else
37697
37698 cat >conftest.$ac_ext <<_ACEOF
37699
37700 /* confdefs.h. */
37701 _ACEOF
37702 cat confdefs.h >>conftest.$ac_ext
37703 cat >>conftest.$ac_ext <<_ACEOF
37704 /* end confdefs.h. */
37705
37706
37707 $ac_includes_default
37708
37709 int
37710 main ()
37711 {
37712
37713 #ifndef $wx_func
37714 &$wx_func;
37715 #endif
37716
37717
37718 ;
37719 return 0;
37720 }
37721
37722 _ACEOF
37723 rm -f conftest.$ac_objext conftest$ac_exeext
37724 if { (ac_try="$ac_link"
37725 case "(($ac_try" in
37726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37727 *) ac_try_echo=$ac_try;;
37728 esac
37729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37730 (eval "$ac_link") 2>conftest.er1
37731 ac_status=$?
37732 grep -v '^ *+' conftest.er1 >conftest.err
37733 rm -f conftest.er1
37734 cat conftest.err >&5
37735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37736 (exit $ac_status); } && {
37737 test -z "$ac_c_werror_flag" ||
37738 test ! -s conftest.err
37739 } && test -s conftest$ac_exeext &&
37740 $as_test_x conftest$ac_exeext; then
37741 eval wx_cv_func_$wx_func=yes
37742 else
37743 echo "$as_me: failed program was:" >&5
37744 sed 's/^/| /' conftest.$ac_ext >&5
37745
37746 eval wx_cv_func_$wx_func=no
37747 fi
37748
37749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37750 conftest$ac_exeext conftest.$ac_ext
37751
37752 fi
37753 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37754 { echo "$as_me:$LINENO: result: $ac_res" >&5
37755 echo "${ECHO_T}$ac_res" >&6; }
37756
37757 if eval test \$wx_cv_func_$wx_func = yes
37758 then
37759 cat >>confdefs.h <<_ACEOF
37760 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37761 _ACEOF
37762
37763
37764 else
37765 :
37766 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37767 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37768
37769 fi
37770 done
37771
37772
37773
37774 fi
37775
37776
37777
37778 fi
37779 done
37780
37781 fi
37782
37783
37784 for wx_func in uname
37785 do
37786 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37787 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37788 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37789 echo $ECHO_N "(cached) $ECHO_C" >&6
37790 else
37791
37792 cat >conftest.$ac_ext <<_ACEOF
37793
37794 /* confdefs.h. */
37795 _ACEOF
37796 cat confdefs.h >>conftest.$ac_ext
37797 cat >>conftest.$ac_ext <<_ACEOF
37798 /* end confdefs.h. */
37799
37800 #include <sys/utsname.h>
37801 $ac_includes_default
37802
37803 int
37804 main ()
37805 {
37806
37807 #ifndef $wx_func
37808 &$wx_func;
37809 #endif
37810
37811
37812 ;
37813 return 0;
37814 }
37815
37816 _ACEOF
37817 rm -f conftest.$ac_objext conftest$ac_exeext
37818 if { (ac_try="$ac_link"
37819 case "(($ac_try" in
37820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37821 *) ac_try_echo=$ac_try;;
37822 esac
37823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37824 (eval "$ac_link") 2>conftest.er1
37825 ac_status=$?
37826 grep -v '^ *+' conftest.er1 >conftest.err
37827 rm -f conftest.er1
37828 cat conftest.err >&5
37829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37830 (exit $ac_status); } && {
37831 test -z "$ac_c_werror_flag" ||
37832 test ! -s conftest.err
37833 } && test -s conftest$ac_exeext &&
37834 $as_test_x conftest$ac_exeext; then
37835 eval wx_cv_func_$wx_func=yes
37836 else
37837 echo "$as_me: failed program was:" >&5
37838 sed 's/^/| /' conftest.$ac_ext >&5
37839
37840 eval wx_cv_func_$wx_func=no
37841 fi
37842
37843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37844 conftest$ac_exeext conftest.$ac_ext
37845
37846 fi
37847 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37848 { echo "$as_me:$LINENO: result: $ac_res" >&5
37849 echo "${ECHO_T}$ac_res" >&6; }
37850
37851 if eval test \$wx_cv_func_$wx_func = yes
37852 then
37853 cat >>confdefs.h <<_ACEOF
37854 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37855 _ACEOF
37856
37857
37858 else
37859 :
37860
37861 fi
37862 done
37863
37864 if test "$wx_cv_func_uname" != yes; then
37865
37866 for wx_func in gethostname
37867 do
37868 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37869 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37870 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37871 echo $ECHO_N "(cached) $ECHO_C" >&6
37872 else
37873
37874 cat >conftest.$ac_ext <<_ACEOF
37875
37876 /* confdefs.h. */
37877 _ACEOF
37878 cat confdefs.h >>conftest.$ac_ext
37879 cat >>conftest.$ac_ext <<_ACEOF
37880 /* end confdefs.h. */
37881
37882
37883 $ac_includes_default
37884
37885 int
37886 main ()
37887 {
37888
37889 #ifndef $wx_func
37890 &$wx_func;
37891 #endif
37892
37893
37894 ;
37895 return 0;
37896 }
37897
37898 _ACEOF
37899 rm -f conftest.$ac_objext conftest$ac_exeext
37900 if { (ac_try="$ac_link"
37901 case "(($ac_try" in
37902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37903 *) ac_try_echo=$ac_try;;
37904 esac
37905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37906 (eval "$ac_link") 2>conftest.er1
37907 ac_status=$?
37908 grep -v '^ *+' conftest.er1 >conftest.err
37909 rm -f conftest.er1
37910 cat conftest.err >&5
37911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37912 (exit $ac_status); } && {
37913 test -z "$ac_c_werror_flag" ||
37914 test ! -s conftest.err
37915 } && test -s conftest$ac_exeext &&
37916 $as_test_x conftest$ac_exeext; then
37917 eval wx_cv_func_$wx_func=yes
37918 else
37919 echo "$as_me: failed program was:" >&5
37920 sed 's/^/| /' conftest.$ac_ext >&5
37921
37922 eval wx_cv_func_$wx_func=no
37923 fi
37924
37925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37926 conftest$ac_exeext conftest.$ac_ext
37927
37928 fi
37929 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37930 { echo "$as_me:$LINENO: result: $ac_res" >&5
37931 echo "${ECHO_T}$ac_res" >&6; }
37932
37933 if eval test \$wx_cv_func_$wx_func = yes
37934 then
37935 cat >>confdefs.h <<_ACEOF
37936 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37937 _ACEOF
37938
37939
37940 else
37941 :
37942
37943 fi
37944 done
37945
37946 fi
37947
37948
37949 for wx_func in strtok_r
37950 do
37951 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37952 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37953 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37954 echo $ECHO_N "(cached) $ECHO_C" >&6
37955 else
37956
37957 cat >conftest.$ac_ext <<_ACEOF
37958
37959 /* confdefs.h. */
37960 _ACEOF
37961 cat confdefs.h >>conftest.$ac_ext
37962 cat >>conftest.$ac_ext <<_ACEOF
37963 /* end confdefs.h. */
37964
37965 #define _REENTRANT
37966 $ac_includes_default
37967
37968 int
37969 main ()
37970 {
37971
37972 #ifndef $wx_func
37973 &$wx_func;
37974 #endif
37975
37976
37977 ;
37978 return 0;
37979 }
37980
37981 _ACEOF
37982 rm -f conftest.$ac_objext conftest$ac_exeext
37983 if { (ac_try="$ac_link"
37984 case "(($ac_try" in
37985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37986 *) ac_try_echo=$ac_try;;
37987 esac
37988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37989 (eval "$ac_link") 2>conftest.er1
37990 ac_status=$?
37991 grep -v '^ *+' conftest.er1 >conftest.err
37992 rm -f conftest.er1
37993 cat conftest.err >&5
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); } && {
37996 test -z "$ac_c_werror_flag" ||
37997 test ! -s conftest.err
37998 } && test -s conftest$ac_exeext &&
37999 $as_test_x conftest$ac_exeext; then
38000 eval wx_cv_func_$wx_func=yes
38001 else
38002 echo "$as_me: failed program was:" >&5
38003 sed 's/^/| /' conftest.$ac_ext >&5
38004
38005 eval wx_cv_func_$wx_func=no
38006 fi
38007
38008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38009 conftest$ac_exeext conftest.$ac_ext
38010
38011 fi
38012 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38013 { echo "$as_me:$LINENO: result: $ac_res" >&5
38014 echo "${ECHO_T}$ac_res" >&6; }
38015
38016 if eval test \$wx_cv_func_$wx_func = yes
38017 then
38018 cat >>confdefs.h <<_ACEOF
38019 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38020 _ACEOF
38021
38022
38023 else
38024 :
38025
38026 fi
38027 done
38028
38029
38030 INET_LINK=
38031
38032 for ac_func in inet_addr
38033 do
38034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38035 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38037 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 else
38040 cat >conftest.$ac_ext <<_ACEOF
38041 /* confdefs.h. */
38042 _ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38048 #define $ac_func innocuous_$ac_func
38049
38050 /* System header to define __stub macros and hopefully few prototypes,
38051 which can conflict with char $ac_func (); below.
38052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38053 <limits.h> exists even on freestanding compilers. */
38054
38055 #ifdef __STDC__
38056 # include <limits.h>
38057 #else
38058 # include <assert.h>
38059 #endif
38060
38061 #undef $ac_func
38062
38063 /* Override any GCC internal prototype to avoid an error.
38064 Use char because int might match the return type of a GCC
38065 builtin and then its argument prototype would still apply. */
38066 #ifdef __cplusplus
38067 extern "C"
38068 #endif
38069 char $ac_func ();
38070 /* The GNU C library defines this for functions which it implements
38071 to always fail with ENOSYS. Some functions are actually named
38072 something starting with __ and the normal name is an alias. */
38073 #if defined __stub_$ac_func || defined __stub___$ac_func
38074 choke me
38075 #endif
38076
38077 int
38078 main ()
38079 {
38080 return $ac_func ();
38081 ;
38082 return 0;
38083 }
38084 _ACEOF
38085 rm -f conftest.$ac_objext conftest$ac_exeext
38086 if { (ac_try="$ac_link"
38087 case "(($ac_try" in
38088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38089 *) ac_try_echo=$ac_try;;
38090 esac
38091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38092 (eval "$ac_link") 2>conftest.er1
38093 ac_status=$?
38094 grep -v '^ *+' conftest.er1 >conftest.err
38095 rm -f conftest.er1
38096 cat conftest.err >&5
38097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38098 (exit $ac_status); } && {
38099 test -z "$ac_c_werror_flag" ||
38100 test ! -s conftest.err
38101 } && test -s conftest$ac_exeext &&
38102 $as_test_x conftest$ac_exeext; then
38103 eval "$as_ac_var=yes"
38104 else
38105 echo "$as_me: failed program was:" >&5
38106 sed 's/^/| /' conftest.$ac_ext >&5
38107
38108 eval "$as_ac_var=no"
38109 fi
38110
38111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38112 conftest$ac_exeext conftest.$ac_ext
38113 fi
38114 ac_res=`eval echo '${'$as_ac_var'}'`
38115 { echo "$as_me:$LINENO: result: $ac_res" >&5
38116 echo "${ECHO_T}$ac_res" >&6; }
38117 if test `eval echo '${'$as_ac_var'}'` = yes; then
38118 cat >>confdefs.h <<_ACEOF
38119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38120 _ACEOF
38121 cat >>confdefs.h <<\_ACEOF
38122 #define HAVE_INET_ADDR 1
38123 _ACEOF
38124
38125 else
38126
38127 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38128 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
38129 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38130 echo $ECHO_N "(cached) $ECHO_C" >&6
38131 else
38132 ac_check_lib_save_LIBS=$LIBS
38133 LIBS="-lnsl $LIBS"
38134 cat >conftest.$ac_ext <<_ACEOF
38135 /* confdefs.h. */
38136 _ACEOF
38137 cat confdefs.h >>conftest.$ac_ext
38138 cat >>conftest.$ac_ext <<_ACEOF
38139 /* end confdefs.h. */
38140
38141 /* Override any GCC internal prototype to avoid an error.
38142 Use char because int might match the return type of a GCC
38143 builtin and then its argument prototype would still apply. */
38144 #ifdef __cplusplus
38145 extern "C"
38146 #endif
38147 char inet_addr ();
38148 int
38149 main ()
38150 {
38151 return inet_addr ();
38152 ;
38153 return 0;
38154 }
38155 _ACEOF
38156 rm -f conftest.$ac_objext conftest$ac_exeext
38157 if { (ac_try="$ac_link"
38158 case "(($ac_try" in
38159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38160 *) ac_try_echo=$ac_try;;
38161 esac
38162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38163 (eval "$ac_link") 2>conftest.er1
38164 ac_status=$?
38165 grep -v '^ *+' conftest.er1 >conftest.err
38166 rm -f conftest.er1
38167 cat conftest.err >&5
38168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38169 (exit $ac_status); } && {
38170 test -z "$ac_c_werror_flag" ||
38171 test ! -s conftest.err
38172 } && test -s conftest$ac_exeext &&
38173 $as_test_x conftest$ac_exeext; then
38174 ac_cv_lib_nsl_inet_addr=yes
38175 else
38176 echo "$as_me: failed program was:" >&5
38177 sed 's/^/| /' conftest.$ac_ext >&5
38178
38179 ac_cv_lib_nsl_inet_addr=no
38180 fi
38181
38182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38183 conftest$ac_exeext conftest.$ac_ext
38184 LIBS=$ac_check_lib_save_LIBS
38185 fi
38186 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38187 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38188 if test $ac_cv_lib_nsl_inet_addr = yes; then
38189 INET_LINK="nsl"
38190 else
38191
38192 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38193 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38194 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38195 echo $ECHO_N "(cached) $ECHO_C" >&6
38196 else
38197 ac_check_lib_save_LIBS=$LIBS
38198 LIBS="-lresolv $LIBS"
38199 cat >conftest.$ac_ext <<_ACEOF
38200 /* confdefs.h. */
38201 _ACEOF
38202 cat confdefs.h >>conftest.$ac_ext
38203 cat >>conftest.$ac_ext <<_ACEOF
38204 /* end confdefs.h. */
38205
38206 /* Override any GCC internal prototype to avoid an error.
38207 Use char because int might match the return type of a GCC
38208 builtin and then its argument prototype would still apply. */
38209 #ifdef __cplusplus
38210 extern "C"
38211 #endif
38212 char inet_addr ();
38213 int
38214 main ()
38215 {
38216 return inet_addr ();
38217 ;
38218 return 0;
38219 }
38220 _ACEOF
38221 rm -f conftest.$ac_objext conftest$ac_exeext
38222 if { (ac_try="$ac_link"
38223 case "(($ac_try" in
38224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38225 *) ac_try_echo=$ac_try;;
38226 esac
38227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38228 (eval "$ac_link") 2>conftest.er1
38229 ac_status=$?
38230 grep -v '^ *+' conftest.er1 >conftest.err
38231 rm -f conftest.er1
38232 cat conftest.err >&5
38233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38234 (exit $ac_status); } && {
38235 test -z "$ac_c_werror_flag" ||
38236 test ! -s conftest.err
38237 } && test -s conftest$ac_exeext &&
38238 $as_test_x conftest$ac_exeext; then
38239 ac_cv_lib_resolv_inet_addr=yes
38240 else
38241 echo "$as_me: failed program was:" >&5
38242 sed 's/^/| /' conftest.$ac_ext >&5
38243
38244 ac_cv_lib_resolv_inet_addr=no
38245 fi
38246
38247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38248 conftest$ac_exeext conftest.$ac_ext
38249 LIBS=$ac_check_lib_save_LIBS
38250 fi
38251 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38252 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38253 if test $ac_cv_lib_resolv_inet_addr = yes; then
38254 INET_LINK="resolv"
38255 else
38256
38257 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38258 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38259 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38260 echo $ECHO_N "(cached) $ECHO_C" >&6
38261 else
38262 ac_check_lib_save_LIBS=$LIBS
38263 LIBS="-lsocket $LIBS"
38264 cat >conftest.$ac_ext <<_ACEOF
38265 /* confdefs.h. */
38266 _ACEOF
38267 cat confdefs.h >>conftest.$ac_ext
38268 cat >>conftest.$ac_ext <<_ACEOF
38269 /* end confdefs.h. */
38270
38271 /* Override any GCC internal prototype to avoid an error.
38272 Use char because int might match the return type of a GCC
38273 builtin and then its argument prototype would still apply. */
38274 #ifdef __cplusplus
38275 extern "C"
38276 #endif
38277 char inet_addr ();
38278 int
38279 main ()
38280 {
38281 return inet_addr ();
38282 ;
38283 return 0;
38284 }
38285 _ACEOF
38286 rm -f conftest.$ac_objext conftest$ac_exeext
38287 if { (ac_try="$ac_link"
38288 case "(($ac_try" in
38289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38290 *) ac_try_echo=$ac_try;;
38291 esac
38292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38293 (eval "$ac_link") 2>conftest.er1
38294 ac_status=$?
38295 grep -v '^ *+' conftest.er1 >conftest.err
38296 rm -f conftest.er1
38297 cat conftest.err >&5
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); } && {
38300 test -z "$ac_c_werror_flag" ||
38301 test ! -s conftest.err
38302 } && test -s conftest$ac_exeext &&
38303 $as_test_x conftest$ac_exeext; then
38304 ac_cv_lib_socket_inet_addr=yes
38305 else
38306 echo "$as_me: failed program was:" >&5
38307 sed 's/^/| /' conftest.$ac_ext >&5
38308
38309 ac_cv_lib_socket_inet_addr=no
38310 fi
38311
38312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38313 conftest$ac_exeext conftest.$ac_ext
38314 LIBS=$ac_check_lib_save_LIBS
38315 fi
38316 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38317 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38318 if test $ac_cv_lib_socket_inet_addr = yes; then
38319 INET_LINK="socket"
38320
38321 fi
38322
38323
38324
38325 fi
38326
38327
38328
38329 fi
38330
38331
38332
38333 fi
38334 done
38335
38336
38337
38338 for ac_func in inet_aton
38339 do
38340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38341 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38343 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38344 echo $ECHO_N "(cached) $ECHO_C" >&6
38345 else
38346 cat >conftest.$ac_ext <<_ACEOF
38347 /* confdefs.h. */
38348 _ACEOF
38349 cat confdefs.h >>conftest.$ac_ext
38350 cat >>conftest.$ac_ext <<_ACEOF
38351 /* end confdefs.h. */
38352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38354 #define $ac_func innocuous_$ac_func
38355
38356 /* System header to define __stub macros and hopefully few prototypes,
38357 which can conflict with char $ac_func (); below.
38358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38359 <limits.h> exists even on freestanding compilers. */
38360
38361 #ifdef __STDC__
38362 # include <limits.h>
38363 #else
38364 # include <assert.h>
38365 #endif
38366
38367 #undef $ac_func
38368
38369 /* Override any GCC internal prototype to avoid an error.
38370 Use char because int might match the return type of a GCC
38371 builtin and then its argument prototype would still apply. */
38372 #ifdef __cplusplus
38373 extern "C"
38374 #endif
38375 char $ac_func ();
38376 /* The GNU C library defines this for functions which it implements
38377 to always fail with ENOSYS. Some functions are actually named
38378 something starting with __ and the normal name is an alias. */
38379 #if defined __stub_$ac_func || defined __stub___$ac_func
38380 choke me
38381 #endif
38382
38383 int
38384 main ()
38385 {
38386 return $ac_func ();
38387 ;
38388 return 0;
38389 }
38390 _ACEOF
38391 rm -f conftest.$ac_objext conftest$ac_exeext
38392 if { (ac_try="$ac_link"
38393 case "(($ac_try" in
38394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38395 *) ac_try_echo=$ac_try;;
38396 esac
38397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38398 (eval "$ac_link") 2>conftest.er1
38399 ac_status=$?
38400 grep -v '^ *+' conftest.er1 >conftest.err
38401 rm -f conftest.er1
38402 cat conftest.err >&5
38403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38404 (exit $ac_status); } && {
38405 test -z "$ac_c_werror_flag" ||
38406 test ! -s conftest.err
38407 } && test -s conftest$ac_exeext &&
38408 $as_test_x conftest$ac_exeext; then
38409 eval "$as_ac_var=yes"
38410 else
38411 echo "$as_me: failed program was:" >&5
38412 sed 's/^/| /' conftest.$ac_ext >&5
38413
38414 eval "$as_ac_var=no"
38415 fi
38416
38417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38418 conftest$ac_exeext conftest.$ac_ext
38419 fi
38420 ac_res=`eval echo '${'$as_ac_var'}'`
38421 { echo "$as_me:$LINENO: result: $ac_res" >&5
38422 echo "${ECHO_T}$ac_res" >&6; }
38423 if test `eval echo '${'$as_ac_var'}'` = yes; then
38424 cat >>confdefs.h <<_ACEOF
38425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38426 _ACEOF
38427 cat >>confdefs.h <<\_ACEOF
38428 #define HAVE_INET_ATON 1
38429 _ACEOF
38430
38431 else
38432
38433 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38434 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38435 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38436 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38437 echo $ECHO_N "(cached) $ECHO_C" >&6
38438 else
38439 ac_check_lib_save_LIBS=$LIBS
38440 LIBS="-l$INET_LINK $LIBS"
38441 cat >conftest.$ac_ext <<_ACEOF
38442 /* confdefs.h. */
38443 _ACEOF
38444 cat confdefs.h >>conftest.$ac_ext
38445 cat >>conftest.$ac_ext <<_ACEOF
38446 /* end confdefs.h. */
38447
38448 /* Override any GCC internal prototype to avoid an error.
38449 Use char because int might match the return type of a GCC
38450 builtin and then its argument prototype would still apply. */
38451 #ifdef __cplusplus
38452 extern "C"
38453 #endif
38454 char inet_aton ();
38455 int
38456 main ()
38457 {
38458 return inet_aton ();
38459 ;
38460 return 0;
38461 }
38462 _ACEOF
38463 rm -f conftest.$ac_objext conftest$ac_exeext
38464 if { (ac_try="$ac_link"
38465 case "(($ac_try" in
38466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38467 *) ac_try_echo=$ac_try;;
38468 esac
38469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38470 (eval "$ac_link") 2>conftest.er1
38471 ac_status=$?
38472 grep -v '^ *+' conftest.er1 >conftest.err
38473 rm -f conftest.er1
38474 cat conftest.err >&5
38475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38476 (exit $ac_status); } && {
38477 test -z "$ac_c_werror_flag" ||
38478 test ! -s conftest.err
38479 } && test -s conftest$ac_exeext &&
38480 $as_test_x conftest$ac_exeext; then
38481 eval "$as_ac_Lib=yes"
38482 else
38483 echo "$as_me: failed program was:" >&5
38484 sed 's/^/| /' conftest.$ac_ext >&5
38485
38486 eval "$as_ac_Lib=no"
38487 fi
38488
38489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38490 conftest$ac_exeext conftest.$ac_ext
38491 LIBS=$ac_check_lib_save_LIBS
38492 fi
38493 ac_res=`eval echo '${'$as_ac_Lib'}'`
38494 { echo "$as_me:$LINENO: result: $ac_res" >&5
38495 echo "${ECHO_T}$ac_res" >&6; }
38496 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38497 cat >>confdefs.h <<\_ACEOF
38498 #define HAVE_INET_ATON 1
38499 _ACEOF
38500
38501 fi
38502
38503
38504 fi
38505 done
38506
38507
38508 if test "x$INET_LINK" != "x"; then
38509 cat >>confdefs.h <<\_ACEOF
38510 #define HAVE_INET_ADDR 1
38511 _ACEOF
38512
38513 INET_LINK=" -l$INET_LINK"
38514 fi
38515
38516
38517 for wx_func in fdopen
38518 do
38519 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38520 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38521 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38522 echo $ECHO_N "(cached) $ECHO_C" >&6
38523 else
38524
38525 cat >conftest.$ac_ext <<_ACEOF
38526
38527 /* confdefs.h. */
38528 _ACEOF
38529 cat confdefs.h >>conftest.$ac_ext
38530 cat >>conftest.$ac_ext <<_ACEOF
38531 /* end confdefs.h. */
38532
38533
38534 $ac_includes_default
38535
38536 int
38537 main ()
38538 {
38539
38540 #ifndef $wx_func
38541 &$wx_func;
38542 #endif
38543
38544
38545 ;
38546 return 0;
38547 }
38548
38549 _ACEOF
38550 rm -f conftest.$ac_objext conftest$ac_exeext
38551 if { (ac_try="$ac_link"
38552 case "(($ac_try" in
38553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38554 *) ac_try_echo=$ac_try;;
38555 esac
38556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38557 (eval "$ac_link") 2>conftest.er1
38558 ac_status=$?
38559 grep -v '^ *+' conftest.er1 >conftest.err
38560 rm -f conftest.er1
38561 cat conftest.err >&5
38562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38563 (exit $ac_status); } && {
38564 test -z "$ac_c_werror_flag" ||
38565 test ! -s conftest.err
38566 } && test -s conftest$ac_exeext &&
38567 $as_test_x conftest$ac_exeext; then
38568 eval wx_cv_func_$wx_func=yes
38569 else
38570 echo "$as_me: failed program was:" >&5
38571 sed 's/^/| /' conftest.$ac_ext >&5
38572
38573 eval wx_cv_func_$wx_func=no
38574 fi
38575
38576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38577 conftest$ac_exeext conftest.$ac_ext
38578
38579 fi
38580 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38581 { echo "$as_me:$LINENO: result: $ac_res" >&5
38582 echo "${ECHO_T}$ac_res" >&6; }
38583
38584 if eval test \$wx_cv_func_$wx_func = yes
38585 then
38586 cat >>confdefs.h <<_ACEOF
38587 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38588 _ACEOF
38589
38590
38591 else
38592 :
38593
38594 fi
38595 done
38596
38597
38598 if test "$wxUSE_TARSTREAM" = "yes"; then
38599
38600 for wx_func in sysconf
38601 do
38602 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38603 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38604 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38605 echo $ECHO_N "(cached) $ECHO_C" >&6
38606 else
38607
38608 cat >conftest.$ac_ext <<_ACEOF
38609
38610 /* confdefs.h. */
38611 _ACEOF
38612 cat confdefs.h >>conftest.$ac_ext
38613 cat >>conftest.$ac_ext <<_ACEOF
38614 /* end confdefs.h. */
38615
38616
38617 $ac_includes_default
38618
38619 int
38620 main ()
38621 {
38622
38623 #ifndef $wx_func
38624 &$wx_func;
38625 #endif
38626
38627
38628 ;
38629 return 0;
38630 }
38631
38632 _ACEOF
38633 rm -f conftest.$ac_objext conftest$ac_exeext
38634 if { (ac_try="$ac_link"
38635 case "(($ac_try" in
38636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38637 *) ac_try_echo=$ac_try;;
38638 esac
38639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38640 (eval "$ac_link") 2>conftest.er1
38641 ac_status=$?
38642 grep -v '^ *+' conftest.er1 >conftest.err
38643 rm -f conftest.er1
38644 cat conftest.err >&5
38645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38646 (exit $ac_status); } && {
38647 test -z "$ac_c_werror_flag" ||
38648 test ! -s conftest.err
38649 } && test -s conftest$ac_exeext &&
38650 $as_test_x conftest$ac_exeext; then
38651 eval wx_cv_func_$wx_func=yes
38652 else
38653 echo "$as_me: failed program was:" >&5
38654 sed 's/^/| /' conftest.$ac_ext >&5
38655
38656 eval wx_cv_func_$wx_func=no
38657 fi
38658
38659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38660 conftest$ac_exeext conftest.$ac_ext
38661
38662 fi
38663 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38664 { echo "$as_me:$LINENO: result: $ac_res" >&5
38665 echo "${ECHO_T}$ac_res" >&6; }
38666
38667 if eval test \$wx_cv_func_$wx_func = yes
38668 then
38669 cat >>confdefs.h <<_ACEOF
38670 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38671 _ACEOF
38672
38673
38674 else
38675 :
38676
38677 fi
38678 done
38679
38680
38681
38682 for wx_func in getpwuid_r
38683 do
38684 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38685 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38686 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38687 echo $ECHO_N "(cached) $ECHO_C" >&6
38688 else
38689
38690 cat >conftest.$ac_ext <<_ACEOF
38691
38692 /* confdefs.h. */
38693 _ACEOF
38694 cat confdefs.h >>conftest.$ac_ext
38695 cat >>conftest.$ac_ext <<_ACEOF
38696 /* end confdefs.h. */
38697
38698
38699 #define _REENTRANT
38700 #include <pwd.h>
38701
38702 $ac_includes_default
38703
38704 int
38705 main ()
38706 {
38707
38708 #ifndef $wx_func
38709 &$wx_func;
38710 #endif
38711
38712 struct passwd pw, *ppw;
38713 char buf[1024];
38714 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38715
38716
38717 ;
38718 return 0;
38719 }
38720
38721 _ACEOF
38722 rm -f conftest.$ac_objext conftest$ac_exeext
38723 if { (ac_try="$ac_link"
38724 case "(($ac_try" in
38725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38726 *) ac_try_echo=$ac_try;;
38727 esac
38728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38729 (eval "$ac_link") 2>conftest.er1
38730 ac_status=$?
38731 grep -v '^ *+' conftest.er1 >conftest.err
38732 rm -f conftest.er1
38733 cat conftest.err >&5
38734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38735 (exit $ac_status); } && {
38736 test -z "$ac_c_werror_flag" ||
38737 test ! -s conftest.err
38738 } && test -s conftest$ac_exeext &&
38739 $as_test_x conftest$ac_exeext; then
38740 eval wx_cv_func_$wx_func=yes
38741 else
38742 echo "$as_me: failed program was:" >&5
38743 sed 's/^/| /' conftest.$ac_ext >&5
38744
38745 eval wx_cv_func_$wx_func=no
38746 fi
38747
38748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38749 conftest$ac_exeext conftest.$ac_ext
38750
38751 fi
38752 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38753 { echo "$as_me:$LINENO: result: $ac_res" >&5
38754 echo "${ECHO_T}$ac_res" >&6; }
38755
38756 if eval test \$wx_cv_func_$wx_func = yes
38757 then
38758 cat >>confdefs.h <<_ACEOF
38759 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38760 _ACEOF
38761
38762
38763 else
38764 :
38765
38766 fi
38767 done
38768
38769
38770
38771 for wx_func in getgrgid_r
38772 do
38773 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38774 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38775 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38776 echo $ECHO_N "(cached) $ECHO_C" >&6
38777 else
38778
38779 cat >conftest.$ac_ext <<_ACEOF
38780
38781 /* confdefs.h. */
38782 _ACEOF
38783 cat confdefs.h >>conftest.$ac_ext
38784 cat >>conftest.$ac_ext <<_ACEOF
38785 /* end confdefs.h. */
38786
38787
38788 #define _REENTRANT
38789 #include <grp.h>
38790
38791 $ac_includes_default
38792
38793 int
38794 main ()
38795 {
38796
38797 #ifndef $wx_func
38798 &$wx_func;
38799 #endif
38800
38801 struct group grp, *pgrp;
38802 char buf[1024];
38803 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38804
38805
38806 ;
38807 return 0;
38808 }
38809
38810 _ACEOF
38811 rm -f conftest.$ac_objext conftest$ac_exeext
38812 if { (ac_try="$ac_link"
38813 case "(($ac_try" in
38814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38815 *) ac_try_echo=$ac_try;;
38816 esac
38817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38818 (eval "$ac_link") 2>conftest.er1
38819 ac_status=$?
38820 grep -v '^ *+' conftest.er1 >conftest.err
38821 rm -f conftest.er1
38822 cat conftest.err >&5
38823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38824 (exit $ac_status); } && {
38825 test -z "$ac_c_werror_flag" ||
38826 test ! -s conftest.err
38827 } && test -s conftest$ac_exeext &&
38828 $as_test_x conftest$ac_exeext; then
38829 eval wx_cv_func_$wx_func=yes
38830 else
38831 echo "$as_me: failed program was:" >&5
38832 sed 's/^/| /' conftest.$ac_ext >&5
38833
38834 eval wx_cv_func_$wx_func=no
38835 fi
38836
38837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38838 conftest$ac_exeext conftest.$ac_ext
38839
38840 fi
38841 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38842 { echo "$as_me:$LINENO: result: $ac_res" >&5
38843 echo "${ECHO_T}$ac_res" >&6; }
38844
38845 if eval test \$wx_cv_func_$wx_func = yes
38846 then
38847 cat >>confdefs.h <<_ACEOF
38848 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38849 _ACEOF
38850
38851
38852 else
38853 :
38854
38855 fi
38856 done
38857
38858 fi
38859
38860 fi
38861
38862
38863
38864 cat >confcache <<\_ACEOF
38865 # This file is a shell script that caches the results of configure
38866 # tests run on this system so they can be shared between configure
38867 # scripts and configure runs, see configure's option --config-cache.
38868 # It is not useful on other systems. If it contains results you don't
38869 # want to keep, you may remove or edit it.
38870 #
38871 # config.status only pays attention to the cache file if you give it
38872 # the --recheck option to rerun configure.
38873 #
38874 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38875 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38876 # following values.
38877
38878 _ACEOF
38879
38880 # The following way of writing the cache mishandles newlines in values,
38881 # but we know of no workaround that is simple, portable, and efficient.
38882 # So, we kill variables containing newlines.
38883 # Ultrix sh set writes to stderr and can't be redirected directly,
38884 # and sets the high bit in the cache file unless we assign to the vars.
38885 (
38886 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38887 eval ac_val=\$$ac_var
38888 case $ac_val in #(
38889 *${as_nl}*)
38890 case $ac_var in #(
38891 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38892 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38893 esac
38894 case $ac_var in #(
38895 _ | IFS | as_nl) ;; #(
38896 *) $as_unset $ac_var ;;
38897 esac ;;
38898 esac
38899 done
38900
38901 (set) 2>&1 |
38902 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38903 *${as_nl}ac_space=\ *)
38904 # `set' does not quote correctly, so add quotes (double-quote
38905 # substitution turns \\\\ into \\, and sed turns \\ into \).
38906 sed -n \
38907 "s/'/'\\\\''/g;
38908 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38909 ;; #(
38910 *)
38911 # `set' quotes correctly as required by POSIX, so do not add quotes.
38912 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38913 ;;
38914 esac |
38915 sort
38916 ) |
38917 sed '
38918 /^ac_cv_env_/b end
38919 t clear
38920 :clear
38921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38922 t end
38923 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38924 :end' >>confcache
38925 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38926 if test -w "$cache_file"; then
38927 test "x$cache_file" != "x/dev/null" &&
38928 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38929 echo "$as_me: updating cache $cache_file" >&6;}
38930 cat confcache >$cache_file
38931 else
38932 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38933 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38934 fi
38935 fi
38936 rm -f confcache
38937
38938
38939 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38940
38941
38942 THREADS_LINK=
38943 THREADS_CFLAGS=
38944
38945 if test "$wxUSE_THREADS" = "yes" ; then
38946 if test "$USE_BEOS" = 1; then
38947 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38948 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38949 wxUSE_THREADS="no"
38950 fi
38951 fi
38952
38953 if test "$wxUSE_THREADS" = "yes" ; then
38954
38955
38956 THREAD_OPTS="-pthread"
38957 if test "x$SUNCXX" = xyes; then
38958 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38959 fi
38960
38961 case "${host}" in
38962 *-*-solaris2* | *-*-sunos4* )
38963 if test "x$GCC" = "xyes"; then
38964 THREAD_OPTS="-pthreads $THREAD_OPTS"
38965 fi
38966 ;;
38967 *-*-freebsd*)
38968 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38969 ;;
38970 *-*-darwin* | *-*-cygwin* )
38971 THREAD_OPTS=""
38972 ;;
38973 *-*-aix*)
38974 THREAD_OPTS="pthreads"
38975 ;;
38976 *-hp-hpux* )
38977 if test "x$GCC" = "xyes"; then
38978 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38979 THREAD_OPTS=""
38980 else
38981 THREAD_OPTS="-mt"
38982 fi
38983 ;;
38984
38985 *-*-irix* )
38986 if test "x$GCC" = "xyes"; then
38987 THREAD_OPTS=""
38988 fi
38989 ;;
38990
38991 *-*-*UnixWare*)
38992 if test "x$GCC" != "xyes"; then
38993 THREAD_OPTS="-Ethread"
38994 fi
38995 ;;
38996 esac
38997
38998 THREAD_OPTS="$THREAD_OPTS pthread none"
38999
39000 THREADS_OK=no
39001 for flag in $THREAD_OPTS; do
39002 case $flag in
39003 none)
39004 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39005 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
39006 ;;
39007
39008 -*)
39009 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39010 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
39011 THREADS_CFLAGS="$flag"
39012 ;;
39013
39014 *)
39015 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39016 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
39017 THREADS_LINK="-l$flag"
39018 ;;
39019 esac
39020
39021 save_LIBS="$LIBS"
39022 save_CFLAGS="$CFLAGS"
39023 LIBS="$THREADS_LINK $LIBS"
39024 CFLAGS="$THREADS_CFLAGS $CFLAGS"
39025
39026 cat >conftest.$ac_ext <<_ACEOF
39027 /* confdefs.h. */
39028 _ACEOF
39029 cat confdefs.h >>conftest.$ac_ext
39030 cat >>conftest.$ac_ext <<_ACEOF
39031 /* end confdefs.h. */
39032 #include <pthread.h>
39033 int
39034 main ()
39035 {
39036 pthread_create(0,0,0,0);
39037 ;
39038 return 0;
39039 }
39040 _ACEOF
39041 rm -f conftest.$ac_objext conftest$ac_exeext
39042 if { (ac_try="$ac_link"
39043 case "(($ac_try" in
39044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39045 *) ac_try_echo=$ac_try;;
39046 esac
39047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39048 (eval "$ac_link") 2>conftest.er1
39049 ac_status=$?
39050 grep -v '^ *+' conftest.er1 >conftest.err
39051 rm -f conftest.er1
39052 cat conftest.err >&5
39053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054 (exit $ac_status); } && {
39055 test -z "$ac_c_werror_flag" ||
39056 test ! -s conftest.err
39057 } && test -s conftest$ac_exeext &&
39058 $as_test_x conftest$ac_exeext; then
39059 THREADS_OK=yes
39060 else
39061 echo "$as_me: failed program was:" >&5
39062 sed 's/^/| /' conftest.$ac_ext >&5
39063
39064
39065 fi
39066
39067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39068 conftest$ac_exeext conftest.$ac_ext
39069
39070 LIBS="$save_LIBS"
39071 CFLAGS="$save_CFLAGS"
39072
39073 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39074 echo "${ECHO_T}$THREADS_OK" >&6; }
39075 if test "x$THREADS_OK" = "xyes"; then
39076 break;
39077 fi
39078
39079 THREADS_LINK=""
39080 THREADS_CFLAGS=""
39081 done
39082
39083 if test "x$THREADS_OK" != "xyes"; then
39084 wxUSE_THREADS=no
39085 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39086 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39087 else
39088 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
39089 LIBS="$THREADS_LINK $LIBS"
39090
39091 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39092 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
39093 flag=no
39094 case "${host}" in
39095 *-aix*)
39096 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39097 flag="-D_THREAD_SAFE"
39098 ;;
39099 *-freebsd*)
39100 flag="-D_THREAD_SAFE"
39101 ;;
39102 *-hp-hpux* )
39103 flag="-D_REENTRANT"
39104 if test "x$GCC" != "xyes"; then
39105 flag="$flag -D_RWSTD_MULTI_THREAD"
39106 fi
39107 ;;
39108 *solaris* | alpha*-osf*)
39109 flag="-D_REENTRANT"
39110 ;;
39111 esac
39112 { echo "$as_me:$LINENO: result: ${flag}" >&5
39113 echo "${ECHO_T}${flag}" >&6; }
39114 if test "x$flag" != xno; then
39115 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
39116 fi
39117
39118 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
39119 fi
39120 fi
39121
39122 if test "$wxUSE_THREADS" = "yes" ; then
39123
39124 for ac_func in thr_setconcurrency
39125 do
39126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39130 echo $ECHO_N "(cached) $ECHO_C" >&6
39131 else
39132 cat >conftest.$ac_ext <<_ACEOF
39133 /* confdefs.h. */
39134 _ACEOF
39135 cat confdefs.h >>conftest.$ac_ext
39136 cat >>conftest.$ac_ext <<_ACEOF
39137 /* end confdefs.h. */
39138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39140 #define $ac_func innocuous_$ac_func
39141
39142 /* System header to define __stub macros and hopefully few prototypes,
39143 which can conflict with char $ac_func (); below.
39144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39145 <limits.h> exists even on freestanding compilers. */
39146
39147 #ifdef __STDC__
39148 # include <limits.h>
39149 #else
39150 # include <assert.h>
39151 #endif
39152
39153 #undef $ac_func
39154
39155 /* Override any GCC internal prototype to avoid an error.
39156 Use char because int might match the return type of a GCC
39157 builtin and then its argument prototype would still apply. */
39158 #ifdef __cplusplus
39159 extern "C"
39160 #endif
39161 char $ac_func ();
39162 /* The GNU C library defines this for functions which it implements
39163 to always fail with ENOSYS. Some functions are actually named
39164 something starting with __ and the normal name is an alias. */
39165 #if defined __stub_$ac_func || defined __stub___$ac_func
39166 choke me
39167 #endif
39168
39169 int
39170 main ()
39171 {
39172 return $ac_func ();
39173 ;
39174 return 0;
39175 }
39176 _ACEOF
39177 rm -f conftest.$ac_objext conftest$ac_exeext
39178 if { (ac_try="$ac_link"
39179 case "(($ac_try" in
39180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39181 *) ac_try_echo=$ac_try;;
39182 esac
39183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39184 (eval "$ac_link") 2>conftest.er1
39185 ac_status=$?
39186 grep -v '^ *+' conftest.er1 >conftest.err
39187 rm -f conftest.er1
39188 cat conftest.err >&5
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); } && {
39191 test -z "$ac_c_werror_flag" ||
39192 test ! -s conftest.err
39193 } && test -s conftest$ac_exeext &&
39194 $as_test_x conftest$ac_exeext; then
39195 eval "$as_ac_var=yes"
39196 else
39197 echo "$as_me: failed program was:" >&5
39198 sed 's/^/| /' conftest.$ac_ext >&5
39199
39200 eval "$as_ac_var=no"
39201 fi
39202
39203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39204 conftest$ac_exeext conftest.$ac_ext
39205 fi
39206 ac_res=`eval echo '${'$as_ac_var'}'`
39207 { echo "$as_me:$LINENO: result: $ac_res" >&5
39208 echo "${ECHO_T}$ac_res" >&6; }
39209 if test `eval echo '${'$as_ac_var'}'` = yes; then
39210 cat >>confdefs.h <<_ACEOF
39211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39212 _ACEOF
39213
39214 fi
39215 done
39216
39217
39218 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39219 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39220 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39221 echo $ECHO_N "(cached) $ECHO_C" >&6
39222 else
39223
39224 ac_ext=cpp
39225 ac_cpp='$CXXCPP $CPPFLAGS'
39226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39229
39230 cat >conftest.$ac_ext <<_ACEOF
39231 /* confdefs.h. */
39232 _ACEOF
39233 cat confdefs.h >>conftest.$ac_ext
39234 cat >>conftest.$ac_ext <<_ACEOF
39235 /* end confdefs.h. */
39236 #include <pthread.h>
39237 void ThreadCleanupFunc(void *p);
39238
39239 int
39240 main ()
39241 {
39242
39243 void *p;
39244 pthread_cleanup_push(ThreadCleanupFunc, p);
39245 pthread_cleanup_pop(0);
39246
39247 ;
39248 return 0;
39249 }
39250 _ACEOF
39251 rm -f conftest.$ac_objext
39252 if { (ac_try="$ac_compile"
39253 case "(($ac_try" in
39254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39255 *) ac_try_echo=$ac_try;;
39256 esac
39257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39258 (eval "$ac_compile") 2>conftest.er1
39259 ac_status=$?
39260 grep -v '^ *+' conftest.er1 >conftest.err
39261 rm -f conftest.er1
39262 cat conftest.err >&5
39263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39264 (exit $ac_status); } && {
39265 test -z "$ac_cxx_werror_flag" ||
39266 test ! -s conftest.err
39267 } && test -s conftest.$ac_objext; then
39268
39269 wx_cv_func_pthread_cleanup=yes
39270
39271 else
39272 echo "$as_me: failed program was:" >&5
39273 sed 's/^/| /' conftest.$ac_ext >&5
39274
39275
39276 wx_cv_func_pthread_cleanup=no
39277
39278
39279 fi
39280
39281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39282 ac_ext=c
39283 ac_cpp='$CPP $CPPFLAGS'
39284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39287
39288
39289 fi
39290 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39291 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39292 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39293 cat >>confdefs.h <<\_ACEOF
39294 #define wxHAVE_PTHREAD_CLEANUP 1
39295 _ACEOF
39296
39297 fi
39298
39299
39300 for ac_header in sched.h
39301 do
39302 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39303 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39305 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39306 echo $ECHO_N "(cached) $ECHO_C" >&6
39307 else
39308 cat >conftest.$ac_ext <<_ACEOF
39309 /* confdefs.h. */
39310 _ACEOF
39311 cat confdefs.h >>conftest.$ac_ext
39312 cat >>conftest.$ac_ext <<_ACEOF
39313 /* end confdefs.h. */
39314 $ac_includes_default
39315
39316 #include <$ac_header>
39317 _ACEOF
39318 rm -f conftest.$ac_objext
39319 if { (ac_try="$ac_compile"
39320 case "(($ac_try" in
39321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39322 *) ac_try_echo=$ac_try;;
39323 esac
39324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39325 (eval "$ac_compile") 2>conftest.er1
39326 ac_status=$?
39327 grep -v '^ *+' conftest.er1 >conftest.err
39328 rm -f conftest.er1
39329 cat conftest.err >&5
39330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39331 (exit $ac_status); } && {
39332 test -z "$ac_c_werror_flag" ||
39333 test ! -s conftest.err
39334 } && test -s conftest.$ac_objext; then
39335 eval "$as_ac_Header=yes"
39336 else
39337 echo "$as_me: failed program was:" >&5
39338 sed 's/^/| /' conftest.$ac_ext >&5
39339
39340 eval "$as_ac_Header=no"
39341 fi
39342
39343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39344 fi
39345 ac_res=`eval echo '${'$as_ac_Header'}'`
39346 { echo "$as_me:$LINENO: result: $ac_res" >&5
39347 echo "${ECHO_T}$ac_res" >&6; }
39348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39349 cat >>confdefs.h <<_ACEOF
39350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39351 _ACEOF
39352
39353 fi
39354
39355 done
39356
39357 if test "$ac_cv_header_sched_h" = "yes"; then
39358 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39359 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39360 if test "${ac_cv_func_sched_yield+set}" = set; then
39361 echo $ECHO_N "(cached) $ECHO_C" >&6
39362 else
39363 cat >conftest.$ac_ext <<_ACEOF
39364 /* confdefs.h. */
39365 _ACEOF
39366 cat confdefs.h >>conftest.$ac_ext
39367 cat >>conftest.$ac_ext <<_ACEOF
39368 /* end confdefs.h. */
39369 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39371 #define sched_yield innocuous_sched_yield
39372
39373 /* System header to define __stub macros and hopefully few prototypes,
39374 which can conflict with char sched_yield (); below.
39375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39376 <limits.h> exists even on freestanding compilers. */
39377
39378 #ifdef __STDC__
39379 # include <limits.h>
39380 #else
39381 # include <assert.h>
39382 #endif
39383
39384 #undef sched_yield
39385
39386 /* Override any GCC internal prototype to avoid an error.
39387 Use char because int might match the return type of a GCC
39388 builtin and then its argument prototype would still apply. */
39389 #ifdef __cplusplus
39390 extern "C"
39391 #endif
39392 char sched_yield ();
39393 /* The GNU C library defines this for functions which it implements
39394 to always fail with ENOSYS. Some functions are actually named
39395 something starting with __ and the normal name is an alias. */
39396 #if defined __stub_sched_yield || defined __stub___sched_yield
39397 choke me
39398 #endif
39399
39400 int
39401 main ()
39402 {
39403 return sched_yield ();
39404 ;
39405 return 0;
39406 }
39407 _ACEOF
39408 rm -f conftest.$ac_objext conftest$ac_exeext
39409 if { (ac_try="$ac_link"
39410 case "(($ac_try" in
39411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39412 *) ac_try_echo=$ac_try;;
39413 esac
39414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39415 (eval "$ac_link") 2>conftest.er1
39416 ac_status=$?
39417 grep -v '^ *+' conftest.er1 >conftest.err
39418 rm -f conftest.er1
39419 cat conftest.err >&5
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); } && {
39422 test -z "$ac_c_werror_flag" ||
39423 test ! -s conftest.err
39424 } && test -s conftest$ac_exeext &&
39425 $as_test_x conftest$ac_exeext; then
39426 ac_cv_func_sched_yield=yes
39427 else
39428 echo "$as_me: failed program was:" >&5
39429 sed 's/^/| /' conftest.$ac_ext >&5
39430
39431 ac_cv_func_sched_yield=no
39432 fi
39433
39434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39435 conftest$ac_exeext conftest.$ac_ext
39436 fi
39437 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39438 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39439 if test $ac_cv_func_sched_yield = yes; then
39440 cat >>confdefs.h <<\_ACEOF
39441 #define HAVE_SCHED_YIELD 1
39442 _ACEOF
39443
39444 else
39445
39446 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39447 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39448 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39449 echo $ECHO_N "(cached) $ECHO_C" >&6
39450 else
39451 ac_check_lib_save_LIBS=$LIBS
39452 LIBS="-lposix4 $LIBS"
39453 cat >conftest.$ac_ext <<_ACEOF
39454 /* confdefs.h. */
39455 _ACEOF
39456 cat confdefs.h >>conftest.$ac_ext
39457 cat >>conftest.$ac_ext <<_ACEOF
39458 /* end confdefs.h. */
39459
39460 /* Override any GCC internal prototype to avoid an error.
39461 Use char because int might match the return type of a GCC
39462 builtin and then its argument prototype would still apply. */
39463 #ifdef __cplusplus
39464 extern "C"
39465 #endif
39466 char sched_yield ();
39467 int
39468 main ()
39469 {
39470 return sched_yield ();
39471 ;
39472 return 0;
39473 }
39474 _ACEOF
39475 rm -f conftest.$ac_objext conftest$ac_exeext
39476 if { (ac_try="$ac_link"
39477 case "(($ac_try" in
39478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39479 *) ac_try_echo=$ac_try;;
39480 esac
39481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39482 (eval "$ac_link") 2>conftest.er1
39483 ac_status=$?
39484 grep -v '^ *+' conftest.er1 >conftest.err
39485 rm -f conftest.er1
39486 cat conftest.err >&5
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); } && {
39489 test -z "$ac_c_werror_flag" ||
39490 test ! -s conftest.err
39491 } && test -s conftest$ac_exeext &&
39492 $as_test_x conftest$ac_exeext; then
39493 ac_cv_lib_posix4_sched_yield=yes
39494 else
39495 echo "$as_me: failed program was:" >&5
39496 sed 's/^/| /' conftest.$ac_ext >&5
39497
39498 ac_cv_lib_posix4_sched_yield=no
39499 fi
39500
39501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39502 conftest$ac_exeext conftest.$ac_ext
39503 LIBS=$ac_check_lib_save_LIBS
39504 fi
39505 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39506 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39507 if test $ac_cv_lib_posix4_sched_yield = yes; then
39508 cat >>confdefs.h <<\_ACEOF
39509 #define HAVE_SCHED_YIELD 1
39510 _ACEOF
39511 POSIX4_LINK=" -lposix4"
39512 else
39513 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39514 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39515
39516 fi
39517
39518
39519
39520 fi
39521
39522 fi
39523
39524 HAVE_PRIOR_FUNCS=0
39525 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39526 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39527 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39528 echo $ECHO_N "(cached) $ECHO_C" >&6
39529 else
39530 cat >conftest.$ac_ext <<_ACEOF
39531 /* confdefs.h. */
39532 _ACEOF
39533 cat confdefs.h >>conftest.$ac_ext
39534 cat >>conftest.$ac_ext <<_ACEOF
39535 /* end confdefs.h. */
39536 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39538 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39539
39540 /* System header to define __stub macros and hopefully few prototypes,
39541 which can conflict with char pthread_attr_getschedpolicy (); below.
39542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39543 <limits.h> exists even on freestanding compilers. */
39544
39545 #ifdef __STDC__
39546 # include <limits.h>
39547 #else
39548 # include <assert.h>
39549 #endif
39550
39551 #undef pthread_attr_getschedpolicy
39552
39553 /* Override any GCC internal prototype to avoid an error.
39554 Use char because int might match the return type of a GCC
39555 builtin and then its argument prototype would still apply. */
39556 #ifdef __cplusplus
39557 extern "C"
39558 #endif
39559 char pthread_attr_getschedpolicy ();
39560 /* The GNU C library defines this for functions which it implements
39561 to always fail with ENOSYS. Some functions are actually named
39562 something starting with __ and the normal name is an alias. */
39563 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39564 choke me
39565 #endif
39566
39567 int
39568 main ()
39569 {
39570 return pthread_attr_getschedpolicy ();
39571 ;
39572 return 0;
39573 }
39574 _ACEOF
39575 rm -f conftest.$ac_objext conftest$ac_exeext
39576 if { (ac_try="$ac_link"
39577 case "(($ac_try" in
39578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39579 *) ac_try_echo=$ac_try;;
39580 esac
39581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39582 (eval "$ac_link") 2>conftest.er1
39583 ac_status=$?
39584 grep -v '^ *+' conftest.er1 >conftest.err
39585 rm -f conftest.er1
39586 cat conftest.err >&5
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); } && {
39589 test -z "$ac_c_werror_flag" ||
39590 test ! -s conftest.err
39591 } && test -s conftest$ac_exeext &&
39592 $as_test_x conftest$ac_exeext; then
39593 ac_cv_func_pthread_attr_getschedpolicy=yes
39594 else
39595 echo "$as_me: failed program was:" >&5
39596 sed 's/^/| /' conftest.$ac_ext >&5
39597
39598 ac_cv_func_pthread_attr_getschedpolicy=no
39599 fi
39600
39601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39602 conftest$ac_exeext conftest.$ac_ext
39603 fi
39604 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39605 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39606 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39607 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39608 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39609 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39610 echo $ECHO_N "(cached) $ECHO_C" >&6
39611 else
39612 cat >conftest.$ac_ext <<_ACEOF
39613 /* confdefs.h. */
39614 _ACEOF
39615 cat confdefs.h >>conftest.$ac_ext
39616 cat >>conftest.$ac_ext <<_ACEOF
39617 /* end confdefs.h. */
39618 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39620 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39621
39622 /* System header to define __stub macros and hopefully few prototypes,
39623 which can conflict with char pthread_attr_setschedparam (); below.
39624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39625 <limits.h> exists even on freestanding compilers. */
39626
39627 #ifdef __STDC__
39628 # include <limits.h>
39629 #else
39630 # include <assert.h>
39631 #endif
39632
39633 #undef pthread_attr_setschedparam
39634
39635 /* Override any GCC internal prototype to avoid an error.
39636 Use char because int might match the return type of a GCC
39637 builtin and then its argument prototype would still apply. */
39638 #ifdef __cplusplus
39639 extern "C"
39640 #endif
39641 char pthread_attr_setschedparam ();
39642 /* The GNU C library defines this for functions which it implements
39643 to always fail with ENOSYS. Some functions are actually named
39644 something starting with __ and the normal name is an alias. */
39645 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39646 choke me
39647 #endif
39648
39649 int
39650 main ()
39651 {
39652 return pthread_attr_setschedparam ();
39653 ;
39654 return 0;
39655 }
39656 _ACEOF
39657 rm -f conftest.$ac_objext conftest$ac_exeext
39658 if { (ac_try="$ac_link"
39659 case "(($ac_try" in
39660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39661 *) ac_try_echo=$ac_try;;
39662 esac
39663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39664 (eval "$ac_link") 2>conftest.er1
39665 ac_status=$?
39666 grep -v '^ *+' conftest.er1 >conftest.err
39667 rm -f conftest.er1
39668 cat conftest.err >&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); } && {
39671 test -z "$ac_c_werror_flag" ||
39672 test ! -s conftest.err
39673 } && test -s conftest$ac_exeext &&
39674 $as_test_x conftest$ac_exeext; then
39675 ac_cv_func_pthread_attr_setschedparam=yes
39676 else
39677 echo "$as_me: failed program was:" >&5
39678 sed 's/^/| /' conftest.$ac_ext >&5
39679
39680 ac_cv_func_pthread_attr_setschedparam=no
39681 fi
39682
39683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39684 conftest$ac_exeext conftest.$ac_ext
39685 fi
39686 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39687 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39688 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39689 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39690 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39691 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39692 echo $ECHO_N "(cached) $ECHO_C" >&6
39693 else
39694 cat >conftest.$ac_ext <<_ACEOF
39695 /* confdefs.h. */
39696 _ACEOF
39697 cat confdefs.h >>conftest.$ac_ext
39698 cat >>conftest.$ac_ext <<_ACEOF
39699 /* end confdefs.h. */
39700 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39702 #define sched_get_priority_max innocuous_sched_get_priority_max
39703
39704 /* System header to define __stub macros and hopefully few prototypes,
39705 which can conflict with char sched_get_priority_max (); below.
39706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39707 <limits.h> exists even on freestanding compilers. */
39708
39709 #ifdef __STDC__
39710 # include <limits.h>
39711 #else
39712 # include <assert.h>
39713 #endif
39714
39715 #undef sched_get_priority_max
39716
39717 /* Override any GCC internal prototype to avoid an error.
39718 Use char because int might match the return type of a GCC
39719 builtin and then its argument prototype would still apply. */
39720 #ifdef __cplusplus
39721 extern "C"
39722 #endif
39723 char sched_get_priority_max ();
39724 /* The GNU C library defines this for functions which it implements
39725 to always fail with ENOSYS. Some functions are actually named
39726 something starting with __ and the normal name is an alias. */
39727 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39728 choke me
39729 #endif
39730
39731 int
39732 main ()
39733 {
39734 return sched_get_priority_max ();
39735 ;
39736 return 0;
39737 }
39738 _ACEOF
39739 rm -f conftest.$ac_objext conftest$ac_exeext
39740 if { (ac_try="$ac_link"
39741 case "(($ac_try" in
39742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39743 *) ac_try_echo=$ac_try;;
39744 esac
39745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39746 (eval "$ac_link") 2>conftest.er1
39747 ac_status=$?
39748 grep -v '^ *+' conftest.er1 >conftest.err
39749 rm -f conftest.er1
39750 cat conftest.err >&5
39751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39752 (exit $ac_status); } && {
39753 test -z "$ac_c_werror_flag" ||
39754 test ! -s conftest.err
39755 } && test -s conftest$ac_exeext &&
39756 $as_test_x conftest$ac_exeext; then
39757 ac_cv_func_sched_get_priority_max=yes
39758 else
39759 echo "$as_me: failed program was:" >&5
39760 sed 's/^/| /' conftest.$ac_ext >&5
39761
39762 ac_cv_func_sched_get_priority_max=no
39763 fi
39764
39765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39766 conftest$ac_exeext conftest.$ac_ext
39767 fi
39768 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39769 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39770 if test $ac_cv_func_sched_get_priority_max = yes; then
39771 HAVE_PRIOR_FUNCS=1
39772 else
39773 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39774 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39775 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39776 echo $ECHO_N "(cached) $ECHO_C" >&6
39777 else
39778 ac_check_lib_save_LIBS=$LIBS
39779 LIBS="-lposix4 $LIBS"
39780 cat >conftest.$ac_ext <<_ACEOF
39781 /* confdefs.h. */
39782 _ACEOF
39783 cat confdefs.h >>conftest.$ac_ext
39784 cat >>conftest.$ac_ext <<_ACEOF
39785 /* end confdefs.h. */
39786
39787 /* Override any GCC internal prototype to avoid an error.
39788 Use char because int might match the return type of a GCC
39789 builtin and then its argument prototype would still apply. */
39790 #ifdef __cplusplus
39791 extern "C"
39792 #endif
39793 char sched_get_priority_max ();
39794 int
39795 main ()
39796 {
39797 return sched_get_priority_max ();
39798 ;
39799 return 0;
39800 }
39801 _ACEOF
39802 rm -f conftest.$ac_objext conftest$ac_exeext
39803 if { (ac_try="$ac_link"
39804 case "(($ac_try" in
39805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39806 *) ac_try_echo=$ac_try;;
39807 esac
39808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39809 (eval "$ac_link") 2>conftest.er1
39810 ac_status=$?
39811 grep -v '^ *+' conftest.er1 >conftest.err
39812 rm -f conftest.er1
39813 cat conftest.err >&5
39814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39815 (exit $ac_status); } && {
39816 test -z "$ac_c_werror_flag" ||
39817 test ! -s conftest.err
39818 } && test -s conftest$ac_exeext &&
39819 $as_test_x conftest$ac_exeext; then
39820 ac_cv_lib_posix4_sched_get_priority_max=yes
39821 else
39822 echo "$as_me: failed program was:" >&5
39823 sed 's/^/| /' conftest.$ac_ext >&5
39824
39825 ac_cv_lib_posix4_sched_get_priority_max=no
39826 fi
39827
39828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39829 conftest$ac_exeext conftest.$ac_ext
39830 LIBS=$ac_check_lib_save_LIBS
39831 fi
39832 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39833 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39834 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39835
39836 HAVE_PRIOR_FUNCS=1
39837 POSIX4_LINK=" -lposix4"
39838
39839 fi
39840
39841
39842 fi
39843
39844
39845 fi
39846
39847
39848 fi
39849
39850
39851 if test "$HAVE_PRIOR_FUNCS" = 1; then
39852 cat >>confdefs.h <<\_ACEOF
39853 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39854 _ACEOF
39855
39856 else
39857 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39858 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39859 fi
39860
39861 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39862 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39863 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39864 echo $ECHO_N "(cached) $ECHO_C" >&6
39865 else
39866 cat >conftest.$ac_ext <<_ACEOF
39867 /* confdefs.h. */
39868 _ACEOF
39869 cat confdefs.h >>conftest.$ac_ext
39870 cat >>conftest.$ac_ext <<_ACEOF
39871 /* end confdefs.h. */
39872 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39874 #define pthread_cancel innocuous_pthread_cancel
39875
39876 /* System header to define __stub macros and hopefully few prototypes,
39877 which can conflict with char pthread_cancel (); below.
39878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39879 <limits.h> exists even on freestanding compilers. */
39880
39881 #ifdef __STDC__
39882 # include <limits.h>
39883 #else
39884 # include <assert.h>
39885 #endif
39886
39887 #undef pthread_cancel
39888
39889 /* Override any GCC internal prototype to avoid an error.
39890 Use char because int might match the return type of a GCC
39891 builtin and then its argument prototype would still apply. */
39892 #ifdef __cplusplus
39893 extern "C"
39894 #endif
39895 char pthread_cancel ();
39896 /* The GNU C library defines this for functions which it implements
39897 to always fail with ENOSYS. Some functions are actually named
39898 something starting with __ and the normal name is an alias. */
39899 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39900 choke me
39901 #endif
39902
39903 int
39904 main ()
39905 {
39906 return pthread_cancel ();
39907 ;
39908 return 0;
39909 }
39910 _ACEOF
39911 rm -f conftest.$ac_objext conftest$ac_exeext
39912 if { (ac_try="$ac_link"
39913 case "(($ac_try" in
39914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39915 *) ac_try_echo=$ac_try;;
39916 esac
39917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39918 (eval "$ac_link") 2>conftest.er1
39919 ac_status=$?
39920 grep -v '^ *+' conftest.er1 >conftest.err
39921 rm -f conftest.er1
39922 cat conftest.err >&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); } && {
39925 test -z "$ac_c_werror_flag" ||
39926 test ! -s conftest.err
39927 } && test -s conftest$ac_exeext &&
39928 $as_test_x conftest$ac_exeext; then
39929 ac_cv_func_pthread_cancel=yes
39930 else
39931 echo "$as_me: failed program was:" >&5
39932 sed 's/^/| /' conftest.$ac_ext >&5
39933
39934 ac_cv_func_pthread_cancel=no
39935 fi
39936
39937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39938 conftest$ac_exeext conftest.$ac_ext
39939 fi
39940 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39941 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39942 if test $ac_cv_func_pthread_cancel = yes; then
39943 cat >>confdefs.h <<\_ACEOF
39944 #define HAVE_PTHREAD_CANCEL 1
39945 _ACEOF
39946
39947 else
39948 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39949 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39950 fi
39951
39952
39953 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39954 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39955 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39956 echo $ECHO_N "(cached) $ECHO_C" >&6
39957 else
39958 cat >conftest.$ac_ext <<_ACEOF
39959 /* confdefs.h. */
39960 _ACEOF
39961 cat confdefs.h >>conftest.$ac_ext
39962 cat >>conftest.$ac_ext <<_ACEOF
39963 /* end confdefs.h. */
39964 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39966 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39967
39968 /* System header to define __stub macros and hopefully few prototypes,
39969 which can conflict with char pthread_mutex_timedlock (); below.
39970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39971 <limits.h> exists even on freestanding compilers. */
39972
39973 #ifdef __STDC__
39974 # include <limits.h>
39975 #else
39976 # include <assert.h>
39977 #endif
39978
39979 #undef pthread_mutex_timedlock
39980
39981 /* Override any GCC internal prototype to avoid an error.
39982 Use char because int might match the return type of a GCC
39983 builtin and then its argument prototype would still apply. */
39984 #ifdef __cplusplus
39985 extern "C"
39986 #endif
39987 char pthread_mutex_timedlock ();
39988 /* The GNU C library defines this for functions which it implements
39989 to always fail with ENOSYS. Some functions are actually named
39990 something starting with __ and the normal name is an alias. */
39991 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39992 choke me
39993 #endif
39994
39995 int
39996 main ()
39997 {
39998 return pthread_mutex_timedlock ();
39999 ;
40000 return 0;
40001 }
40002 _ACEOF
40003 rm -f conftest.$ac_objext conftest$ac_exeext
40004 if { (ac_try="$ac_link"
40005 case "(($ac_try" in
40006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40007 *) ac_try_echo=$ac_try;;
40008 esac
40009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40010 (eval "$ac_link") 2>conftest.er1
40011 ac_status=$?
40012 grep -v '^ *+' conftest.er1 >conftest.err
40013 rm -f conftest.er1
40014 cat conftest.err >&5
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); } && {
40017 test -z "$ac_c_werror_flag" ||
40018 test ! -s conftest.err
40019 } && test -s conftest$ac_exeext &&
40020 $as_test_x conftest$ac_exeext; then
40021 ac_cv_func_pthread_mutex_timedlock=yes
40022 else
40023 echo "$as_me: failed program was:" >&5
40024 sed 's/^/| /' conftest.$ac_ext >&5
40025
40026 ac_cv_func_pthread_mutex_timedlock=no
40027 fi
40028
40029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40030 conftest$ac_exeext conftest.$ac_ext
40031 fi
40032 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
40033 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
40034 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
40035 cat >>confdefs.h <<\_ACEOF
40036 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
40037 _ACEOF
40038
40039 else
40040 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
40041 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
40042 fi
40043
40044
40045 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40046 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
40047 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40048 echo $ECHO_N "(cached) $ECHO_C" >&6
40049 else
40050 cat >conftest.$ac_ext <<_ACEOF
40051 /* confdefs.h. */
40052 _ACEOF
40053 cat confdefs.h >>conftest.$ac_ext
40054 cat >>conftest.$ac_ext <<_ACEOF
40055 /* end confdefs.h. */
40056 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40058 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40059
40060 /* System header to define __stub macros and hopefully few prototypes,
40061 which can conflict with char pthread_attr_setstacksize (); below.
40062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40063 <limits.h> exists even on freestanding compilers. */
40064
40065 #ifdef __STDC__
40066 # include <limits.h>
40067 #else
40068 # include <assert.h>
40069 #endif
40070
40071 #undef pthread_attr_setstacksize
40072
40073 /* Override any GCC internal prototype to avoid an error.
40074 Use char because int might match the return type of a GCC
40075 builtin and then its argument prototype would still apply. */
40076 #ifdef __cplusplus
40077 extern "C"
40078 #endif
40079 char pthread_attr_setstacksize ();
40080 /* The GNU C library defines this for functions which it implements
40081 to always fail with ENOSYS. Some functions are actually named
40082 something starting with __ and the normal name is an alias. */
40083 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
40084 choke me
40085 #endif
40086
40087 int
40088 main ()
40089 {
40090 return pthread_attr_setstacksize ();
40091 ;
40092 return 0;
40093 }
40094 _ACEOF
40095 rm -f conftest.$ac_objext conftest$ac_exeext
40096 if { (ac_try="$ac_link"
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_link") 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_exeext &&
40112 $as_test_x conftest$ac_exeext; then
40113 ac_cv_func_pthread_attr_setstacksize=yes
40114 else
40115 echo "$as_me: failed program was:" >&5
40116 sed 's/^/| /' conftest.$ac_ext >&5
40117
40118 ac_cv_func_pthread_attr_setstacksize=no
40119 fi
40120
40121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40122 conftest$ac_exeext conftest.$ac_ext
40123 fi
40124 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40125 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
40126 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40127 cat >>confdefs.h <<\_ACEOF
40128 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40129 _ACEOF
40130
40131 fi
40132
40133
40134
40135 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40136 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
40137 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40138 echo $ECHO_N "(cached) $ECHO_C" >&6
40139 else
40140
40141 cat >conftest.$ac_ext <<_ACEOF
40142 /* confdefs.h. */
40143 _ACEOF
40144 cat confdefs.h >>conftest.$ac_ext
40145 cat >>conftest.$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40147 #include <pthread.h>
40148 int
40149 main ()
40150 {
40151
40152 pthread_mutexattr_t attr;
40153 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40154
40155 ;
40156 return 0;
40157 }
40158 _ACEOF
40159 rm -f conftest.$ac_objext
40160 if { (ac_try="$ac_compile"
40161 case "(($ac_try" in
40162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40163 *) ac_try_echo=$ac_try;;
40164 esac
40165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40166 (eval "$ac_compile") 2>conftest.er1
40167 ac_status=$?
40168 grep -v '^ *+' conftest.er1 >conftest.err
40169 rm -f conftest.er1
40170 cat conftest.err >&5
40171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40172 (exit $ac_status); } && {
40173 test -z "$ac_c_werror_flag" ||
40174 test ! -s conftest.err
40175 } && test -s conftest.$ac_objext; then
40176 wx_cv_type_pthread_mutexattr_t=yes
40177 else
40178 echo "$as_me: failed program was:" >&5
40179 sed 's/^/| /' conftest.$ac_ext >&5
40180
40181 wx_cv_type_pthread_mutexattr_t=no
40182
40183 fi
40184
40185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40186
40187 fi
40188 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40189 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40190
40191 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40192 cat >>confdefs.h <<\_ACEOF
40193 #define HAVE_PTHREAD_MUTEXATTR_T 1
40194 _ACEOF
40195
40196
40197 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40198 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40199 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40200 echo $ECHO_N "(cached) $ECHO_C" >&6
40201 else
40202
40203 cat >conftest.$ac_ext <<_ACEOF
40204 /* confdefs.h. */
40205 _ACEOF
40206 cat confdefs.h >>conftest.$ac_ext
40207 cat >>conftest.$ac_ext <<_ACEOF
40208 /* end confdefs.h. */
40209 #include <pthread.h>
40210 int
40211 main ()
40212 {
40213
40214 pthread_mutexattr_t attr;
40215 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40216
40217 ;
40218 return 0;
40219 }
40220 _ACEOF
40221 rm -f conftest.$ac_objext
40222 if { (ac_try="$ac_compile"
40223 case "(($ac_try" in
40224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40225 *) ac_try_echo=$ac_try;;
40226 esac
40227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40228 (eval "$ac_compile") 2>conftest.er1
40229 ac_status=$?
40230 grep -v '^ *+' conftest.er1 >conftest.err
40231 rm -f conftest.er1
40232 cat conftest.err >&5
40233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40234 (exit $ac_status); } && {
40235 test -z "$ac_c_werror_flag" ||
40236 test ! -s conftest.err
40237 } && test -s conftest.$ac_objext; then
40238 wx_cv_func_pthread_mutexattr_settype_decl=yes
40239 else
40240 echo "$as_me: failed program was:" >&5
40241 sed 's/^/| /' conftest.$ac_ext >&5
40242
40243 wx_cv_func_pthread_mutexattr_settype_decl=no
40244
40245 fi
40246
40247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40248
40249 fi
40250 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40251 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40252 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40253 cat >>confdefs.h <<\_ACEOF
40254 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40255 _ACEOF
40256
40257 fi
40258 else
40259 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40260 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40261 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40262 echo $ECHO_N "(cached) $ECHO_C" >&6
40263 else
40264
40265 cat >conftest.$ac_ext <<_ACEOF
40266 /* confdefs.h. */
40267 _ACEOF
40268 cat confdefs.h >>conftest.$ac_ext
40269 cat >>conftest.$ac_ext <<_ACEOF
40270 /* end confdefs.h. */
40271 #include <pthread.h>
40272 int
40273 main ()
40274 {
40275
40276 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40277
40278 ;
40279 return 0;
40280 }
40281 _ACEOF
40282 rm -f conftest.$ac_objext
40283 if { (ac_try="$ac_compile"
40284 case "(($ac_try" in
40285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40286 *) ac_try_echo=$ac_try;;
40287 esac
40288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40289 (eval "$ac_compile") 2>conftest.er1
40290 ac_status=$?
40291 grep -v '^ *+' conftest.er1 >conftest.err
40292 rm -f conftest.er1
40293 cat conftest.err >&5
40294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40295 (exit $ac_status); } && {
40296 test -z "$ac_c_werror_flag" ||
40297 test ! -s conftest.err
40298 } && test -s conftest.$ac_objext; then
40299
40300 wx_cv_type_pthread_rec_mutex_init=yes
40301
40302 else
40303 echo "$as_me: failed program was:" >&5
40304 sed 's/^/| /' conftest.$ac_ext >&5
40305
40306
40307 wx_cv_type_pthread_rec_mutex_init=no
40308
40309
40310 fi
40311
40312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40313
40314 fi
40315 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40316 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40317 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40318 cat >>confdefs.h <<\_ACEOF
40319 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40320 _ACEOF
40321
40322 else
40323 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40324 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40325 fi
40326 fi
40327
40328 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40329 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40330 if test "${wx_cv_cc___thread+set}" = set; then
40331 echo $ECHO_N "(cached) $ECHO_C" >&6
40332 else
40333
40334 cat >conftest.$ac_ext <<_ACEOF
40335 /* confdefs.h. */
40336 _ACEOF
40337 cat confdefs.h >>conftest.$ac_ext
40338 cat >>conftest.$ac_ext <<_ACEOF
40339 /* end confdefs.h. */
40340 #include <pthread.h>
40341 int
40342 main ()
40343 {
40344
40345 static __thread int n = 0;
40346 static __thread int *p = 0;
40347
40348 ;
40349 return 0;
40350 }
40351 _ACEOF
40352 rm -f conftest.$ac_objext
40353 if { (ac_try="$ac_compile"
40354 case "(($ac_try" in
40355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40356 *) ac_try_echo=$ac_try;;
40357 esac
40358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40359 (eval "$ac_compile") 2>conftest.er1
40360 ac_status=$?
40361 grep -v '^ *+' conftest.er1 >conftest.err
40362 rm -f conftest.er1
40363 cat conftest.err >&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); } && {
40366 test -z "$ac_c_werror_flag" ||
40367 test ! -s conftest.err
40368 } && test -s conftest.$ac_objext; then
40369 wx_cv_cc___thread=yes
40370 else
40371 echo "$as_me: failed program was:" >&5
40372 sed 's/^/| /' conftest.$ac_ext >&5
40373
40374 wx_cv_cc___thread=no
40375
40376 fi
40377
40378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40379
40380
40381 fi
40382 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40383 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40384
40385 if test "$wx_cv_cc___thread" = "yes"; then
40386
40387 GXX_VERSION=""
40388
40389
40390
40391 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
40392 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
40393
40394 if test "x$GCC" = "xyes" ; then
40395
40396 if test -z "" ; then
40397
40398 ax_gcc_option_test="int main()
40399 {
40400 return 0;
40401 }"
40402
40403 else
40404
40405 ax_gcc_option_test=""
40406
40407 fi
40408
40409
40410 # Dump the test program to file
40411 cat <<EOF > conftest.c
40412 $ax_gcc_option_test
40413 EOF
40414
40415 # Dump back the file to the log, useful for debugging purposes
40416 { ac_try='cat conftest.c 1>&5'
40417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40418 (eval $ac_try) 2>&5
40419 ac_status=$?
40420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40421 (exit $ac_status); }; }
40422
40423 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
40424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40425 (eval $ac_try) 2>&5
40426 ac_status=$?
40427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40428 (exit $ac_status); }; } ; then
40429
40430 { echo "$as_me:$LINENO: result: yes" >&5
40431 echo "${ECHO_T}yes" >&6; }
40432
40433 ax_gcc_version_option=yes
40434
40435
40436 else
40437
40438 { echo "$as_me:$LINENO: result: no" >&5
40439 echo "${ECHO_T}no" >&6; }
40440
40441 ax_gcc_version_option=no
40442
40443
40444 fi
40445
40446
40447 else
40448
40449 { echo "$as_me:$LINENO: result: no gcc available" >&5
40450 echo "${ECHO_T}no gcc available" >&6; }
40451
40452 fi
40453
40454
40455 if test "x$GXX" = "xyes"; then
40456
40457 if test "x$ax_gxx_version_option" != "no"; then
40458
40459 { echo "$as_me:$LINENO: checking gxx version" >&5
40460 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
40461 if test "${ax_cv_gxx_version+set}" = set; then
40462 echo $ECHO_N "(cached) $ECHO_C" >&6
40463 else
40464
40465 ax_cv_gxx_version="`$CXX -dumpversion`"
40466 if test "x$ax_cv_gxx_version" = "x"; then
40467
40468 ax_cv_gxx_version=""
40469
40470 fi
40471
40472
40473 fi
40474 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
40475 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
40476 GXX_VERSION=$ax_cv_gxx_version
40477
40478 fi
40479
40480
40481 fi
40482
40483
40484
40485 if test -n "$ax_cv_gxx_version"; then
40486 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
40487 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
40488 case "$ax_cv_gxx_version" in
40489 1.* | 2.* | 3.* )
40490 { echo "$as_me:$LINENO: result: no, it's broken" >&5
40491 echo "${ECHO_T}no, it's broken" >&6; }
40492 wx_cv_cc___thread=no
40493 ;;
40494 *)
40495 { echo "$as_me:$LINENO: result: yes, it works" >&5
40496 echo "${ECHO_T}yes, it works" >&6; }
40497 ;;
40498 esac
40499 fi
40500 fi
40501
40502 if test "$wx_cv_cc___thread" = "yes"; then
40503 cat >>confdefs.h <<\_ACEOF
40504 #define HAVE___THREAD_KEYWORD 1
40505 _ACEOF
40506
40507 fi
40508 fi
40509
40510 else
40511 if test "$wxUSE_THREADS" = "yes" ; then
40512 case "${host}" in
40513 x86_64-*-mingw32* )
40514 ;;
40515 *-*-mingw32* )
40516 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40517 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40518 if test "${wx_cv_cflags_mthread+set}" = set; then
40519 echo $ECHO_N "(cached) $ECHO_C" >&6
40520 else
40521
40522 CFLAGS_OLD="$CFLAGS"
40523 CFLAGS="-mthreads $CFLAGS"
40524 cat >conftest.$ac_ext <<_ACEOF
40525 /* confdefs.h. */
40526 _ACEOF
40527 cat confdefs.h >>conftest.$ac_ext
40528 cat >>conftest.$ac_ext <<_ACEOF
40529 /* end confdefs.h. */
40530
40531 int
40532 main ()
40533 {
40534
40535 ;
40536 return 0;
40537 }
40538 _ACEOF
40539 rm -f conftest.$ac_objext
40540 if { (ac_try="$ac_compile"
40541 case "(($ac_try" in
40542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40543 *) ac_try_echo=$ac_try;;
40544 esac
40545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40546 (eval "$ac_compile") 2>conftest.er1
40547 ac_status=$?
40548 grep -v '^ *+' conftest.er1 >conftest.err
40549 rm -f conftest.er1
40550 cat conftest.err >&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } && {
40553 test -z "$ac_c_werror_flag" ||
40554 test ! -s conftest.err
40555 } && test -s conftest.$ac_objext; then
40556 wx_cv_cflags_mthread=yes
40557 else
40558 echo "$as_me: failed program was:" >&5
40559 sed 's/^/| /' conftest.$ac_ext >&5
40560
40561 wx_cv_cflags_mthread=no
40562
40563 fi
40564
40565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40566
40567
40568 fi
40569 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40570 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40571
40572 if test "$wx_cv_cflags_mthread" = "yes"; then
40573 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40574 LDFLAGS="$LDFLAGS -mthreads"
40575 else
40576 CFLAGS="$CFLAGS_OLD"
40577 fi
40578 ;;
40579 *-pc-os2*emx )
40580 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40581 LDFLAGS="$LDFLAGS -Zmt"
40582 ;;
40583 esac
40584 fi
40585 fi
40586
40587 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40588 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40589 if test "${ac_cv_func_localtime_r+set}" = set; then
40590 echo $ECHO_N "(cached) $ECHO_C" >&6
40591 else
40592 cat >conftest.$ac_ext <<_ACEOF
40593 /* confdefs.h. */
40594 _ACEOF
40595 cat confdefs.h >>conftest.$ac_ext
40596 cat >>conftest.$ac_ext <<_ACEOF
40597 /* end confdefs.h. */
40598 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40600 #define localtime_r innocuous_localtime_r
40601
40602 /* System header to define __stub macros and hopefully few prototypes,
40603 which can conflict with char localtime_r (); below.
40604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40605 <limits.h> exists even on freestanding compilers. */
40606
40607 #ifdef __STDC__
40608 # include <limits.h>
40609 #else
40610 # include <assert.h>
40611 #endif
40612
40613 #undef localtime_r
40614
40615 /* Override any GCC internal prototype to avoid an error.
40616 Use char because int might match the return type of a GCC
40617 builtin and then its argument prototype would still apply. */
40618 #ifdef __cplusplus
40619 extern "C"
40620 #endif
40621 char localtime_r ();
40622 /* The GNU C library defines this for functions which it implements
40623 to always fail with ENOSYS. Some functions are actually named
40624 something starting with __ and the normal name is an alias. */
40625 #if defined __stub_localtime_r || defined __stub___localtime_r
40626 choke me
40627 #endif
40628
40629 int
40630 main ()
40631 {
40632 return localtime_r ();
40633 ;
40634 return 0;
40635 }
40636 _ACEOF
40637 rm -f conftest.$ac_objext conftest$ac_exeext
40638 if { (ac_try="$ac_link"
40639 case "(($ac_try" in
40640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40641 *) ac_try_echo=$ac_try;;
40642 esac
40643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40644 (eval "$ac_link") 2>conftest.er1
40645 ac_status=$?
40646 grep -v '^ *+' conftest.er1 >conftest.err
40647 rm -f conftest.er1
40648 cat conftest.err >&5
40649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40650 (exit $ac_status); } && {
40651 test -z "$ac_c_werror_flag" ||
40652 test ! -s conftest.err
40653 } && test -s conftest$ac_exeext &&
40654 $as_test_x conftest$ac_exeext; then
40655 ac_cv_func_localtime_r=yes
40656 else
40657 echo "$as_me: failed program was:" >&5
40658 sed 's/^/| /' conftest.$ac_ext >&5
40659
40660 ac_cv_func_localtime_r=no
40661 fi
40662
40663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40664 conftest$ac_exeext conftest.$ac_ext
40665 fi
40666 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40667 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40668 if test $ac_cv_func_localtime_r = yes; then
40669 cat >>confdefs.h <<\_ACEOF
40670 #define HAVE_LOCALTIME_R 1
40671 _ACEOF
40672
40673 fi
40674
40675 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40676 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40677 if test "${ac_cv_func_gmtime_r+set}" = set; then
40678 echo $ECHO_N "(cached) $ECHO_C" >&6
40679 else
40680 cat >conftest.$ac_ext <<_ACEOF
40681 /* confdefs.h. */
40682 _ACEOF
40683 cat confdefs.h >>conftest.$ac_ext
40684 cat >>conftest.$ac_ext <<_ACEOF
40685 /* end confdefs.h. */
40686 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40688 #define gmtime_r innocuous_gmtime_r
40689
40690 /* System header to define __stub macros and hopefully few prototypes,
40691 which can conflict with char gmtime_r (); below.
40692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40693 <limits.h> exists even on freestanding compilers. */
40694
40695 #ifdef __STDC__
40696 # include <limits.h>
40697 #else
40698 # include <assert.h>
40699 #endif
40700
40701 #undef gmtime_r
40702
40703 /* Override any GCC internal prototype to avoid an error.
40704 Use char because int might match the return type of a GCC
40705 builtin and then its argument prototype would still apply. */
40706 #ifdef __cplusplus
40707 extern "C"
40708 #endif
40709 char gmtime_r ();
40710 /* The GNU C library defines this for functions which it implements
40711 to always fail with ENOSYS. Some functions are actually named
40712 something starting with __ and the normal name is an alias. */
40713 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40714 choke me
40715 #endif
40716
40717 int
40718 main ()
40719 {
40720 return gmtime_r ();
40721 ;
40722 return 0;
40723 }
40724 _ACEOF
40725 rm -f conftest.$ac_objext conftest$ac_exeext
40726 if { (ac_try="$ac_link"
40727 case "(($ac_try" in
40728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40729 *) ac_try_echo=$ac_try;;
40730 esac
40731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40732 (eval "$ac_link") 2>conftest.er1
40733 ac_status=$?
40734 grep -v '^ *+' conftest.er1 >conftest.err
40735 rm -f conftest.er1
40736 cat conftest.err >&5
40737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40738 (exit $ac_status); } && {
40739 test -z "$ac_c_werror_flag" ||
40740 test ! -s conftest.err
40741 } && test -s conftest$ac_exeext &&
40742 $as_test_x conftest$ac_exeext; then
40743 ac_cv_func_gmtime_r=yes
40744 else
40745 echo "$as_me: failed program was:" >&5
40746 sed 's/^/| /' conftest.$ac_ext >&5
40747
40748 ac_cv_func_gmtime_r=no
40749 fi
40750
40751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40752 conftest$ac_exeext conftest.$ac_ext
40753 fi
40754 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40755 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40756 if test $ac_cv_func_gmtime_r = yes; then
40757 cat >>confdefs.h <<\_ACEOF
40758 #define HAVE_GMTIME_R 1
40759 _ACEOF
40760
40761 fi
40762
40763
40764
40765
40766 ac_ext=c
40767 ac_cpp='$CPP $CPPFLAGS'
40768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40771
40772 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40773 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40774
40775 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40776 echo $ECHO_N "(cached) $ECHO_C" >&6
40777 else
40778
40779
40780 ################################################################
40781
40782 ac_cv_func_which_gethostbyname_r=unknown
40783
40784 #
40785 # ONE ARGUMENT (sanity check)
40786 #
40787
40788 # This should fail, as there is no variant of gethostbyname_r() that takes
40789 # a single argument. If it actually compiles, then we can assume that
40790 # netdb.h is not declaring the function, and the compiler is thereby
40791 # assuming an implicit prototype. In which case, we're out of luck.
40792 #
40793 cat >conftest.$ac_ext <<_ACEOF
40794 /* confdefs.h. */
40795 _ACEOF
40796 cat confdefs.h >>conftest.$ac_ext
40797 cat >>conftest.$ac_ext <<_ACEOF
40798 /* end confdefs.h. */
40799 #include <netdb.h>
40800 int
40801 main ()
40802 {
40803
40804 char *name = "www.gnu.org";
40805 (void)gethostbyname_r(name) /* ; */
40806
40807 ;
40808 return 0;
40809 }
40810 _ACEOF
40811 rm -f conftest.$ac_objext
40812 if { (ac_try="$ac_compile"
40813 case "(($ac_try" in
40814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40815 *) ac_try_echo=$ac_try;;
40816 esac
40817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40818 (eval "$ac_compile") 2>conftest.er1
40819 ac_status=$?
40820 grep -v '^ *+' conftest.er1 >conftest.err
40821 rm -f conftest.er1
40822 cat conftest.err >&5
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); } && {
40825 test -z "$ac_c_werror_flag" ||
40826 test ! -s conftest.err
40827 } && test -s conftest.$ac_objext; then
40828 ac_cv_func_which_gethostbyname_r=no
40829 else
40830 echo "$as_me: failed program was:" >&5
40831 sed 's/^/| /' conftest.$ac_ext >&5
40832
40833
40834 fi
40835
40836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40837
40838 #
40839 # SIX ARGUMENTS
40840 # (e.g. Linux)
40841 #
40842
40843 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40844
40845 cat >conftest.$ac_ext <<_ACEOF
40846 /* confdefs.h. */
40847 _ACEOF
40848 cat confdefs.h >>conftest.$ac_ext
40849 cat >>conftest.$ac_ext <<_ACEOF
40850 /* end confdefs.h. */
40851 #include <netdb.h>
40852 int
40853 main ()
40854 {
40855
40856 char *name = "www.gnu.org";
40857 struct hostent ret, *retp;
40858 char buf[1024];
40859 int buflen = 1024;
40860 int my_h_errno;
40861 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40862
40863 ;
40864 return 0;
40865 }
40866 _ACEOF
40867 rm -f conftest.$ac_objext
40868 if { (ac_try="$ac_compile"
40869 case "(($ac_try" in
40870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40871 *) ac_try_echo=$ac_try;;
40872 esac
40873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40874 (eval "$ac_compile") 2>conftest.er1
40875 ac_status=$?
40876 grep -v '^ *+' conftest.er1 >conftest.err
40877 rm -f conftest.er1
40878 cat conftest.err >&5
40879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40880 (exit $ac_status); } && {
40881 test -z "$ac_c_werror_flag" ||
40882 test ! -s conftest.err
40883 } && test -s conftest.$ac_objext; then
40884 ac_cv_func_which_gethostbyname_r=six
40885 else
40886 echo "$as_me: failed program was:" >&5
40887 sed 's/^/| /' conftest.$ac_ext >&5
40888
40889
40890 fi
40891
40892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40893
40894 fi
40895
40896 #
40897 # FIVE ARGUMENTS
40898 # (e.g. Solaris)
40899 #
40900
40901 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40902
40903 cat >conftest.$ac_ext <<_ACEOF
40904 /* confdefs.h. */
40905 _ACEOF
40906 cat confdefs.h >>conftest.$ac_ext
40907 cat >>conftest.$ac_ext <<_ACEOF
40908 /* end confdefs.h. */
40909 #include <netdb.h>
40910 int
40911 main ()
40912 {
40913
40914 char *name = "www.gnu.org";
40915 struct hostent ret;
40916 char buf[1024];
40917 int buflen = 1024;
40918 int my_h_errno;
40919 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40920
40921 ;
40922 return 0;
40923 }
40924 _ACEOF
40925 rm -f conftest.$ac_objext
40926 if { (ac_try="$ac_compile"
40927 case "(($ac_try" in
40928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40929 *) ac_try_echo=$ac_try;;
40930 esac
40931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40932 (eval "$ac_compile") 2>conftest.er1
40933 ac_status=$?
40934 grep -v '^ *+' conftest.er1 >conftest.err
40935 rm -f conftest.er1
40936 cat conftest.err >&5
40937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40938 (exit $ac_status); } && {
40939 test -z "$ac_c_werror_flag" ||
40940 test ! -s conftest.err
40941 } && test -s conftest.$ac_objext; then
40942 ac_cv_func_which_gethostbyname_r=five
40943 else
40944 echo "$as_me: failed program was:" >&5
40945 sed 's/^/| /' conftest.$ac_ext >&5
40946
40947
40948 fi
40949
40950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40951
40952 fi
40953
40954 #
40955 # THREE ARGUMENTS
40956 # (e.g. AIX, HP-UX, Tru64)
40957 #
40958
40959 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40960
40961 cat >conftest.$ac_ext <<_ACEOF
40962 /* confdefs.h. */
40963 _ACEOF
40964 cat confdefs.h >>conftest.$ac_ext
40965 cat >>conftest.$ac_ext <<_ACEOF
40966 /* end confdefs.h. */
40967 #include <netdb.h>
40968 int
40969 main ()
40970 {
40971
40972 char *name = "www.gnu.org";
40973 struct hostent ret;
40974 struct hostent_data data;
40975 (void)gethostbyname_r(name, &ret, &data) /* ; */
40976
40977 ;
40978 return 0;
40979 }
40980 _ACEOF
40981 rm -f conftest.$ac_objext
40982 if { (ac_try="$ac_compile"
40983 case "(($ac_try" in
40984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40985 *) ac_try_echo=$ac_try;;
40986 esac
40987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40988 (eval "$ac_compile") 2>conftest.er1
40989 ac_status=$?
40990 grep -v '^ *+' conftest.er1 >conftest.err
40991 rm -f conftest.er1
40992 cat conftest.err >&5
40993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40994 (exit $ac_status); } && {
40995 test -z "$ac_c_werror_flag" ||
40996 test ! -s conftest.err
40997 } && test -s conftest.$ac_objext; then
40998 ac_cv_func_which_gethostbyname_r=three
40999 else
41000 echo "$as_me: failed program was:" >&5
41001 sed 's/^/| /' conftest.$ac_ext >&5
41002
41003
41004 fi
41005
41006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41007
41008 fi
41009
41010 ################################################################
41011
41012
41013 fi
41014
41015 case "$ac_cv_func_which_gethostbyname_r" in
41016 three)
41017 { echo "$as_me:$LINENO: result: three" >&5
41018 echo "${ECHO_T}three" >&6; }
41019 cat >>confdefs.h <<\_ACEOF
41020 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41021 _ACEOF
41022
41023 ;;
41024
41025 five)
41026 { echo "$as_me:$LINENO: result: five" >&5
41027 echo "${ECHO_T}five" >&6; }
41028 cat >>confdefs.h <<\_ACEOF
41029 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41030 _ACEOF
41031
41032 ;;
41033
41034 six)
41035 { echo "$as_me:$LINENO: result: six" >&5
41036 echo "${ECHO_T}six" >&6; }
41037 cat >>confdefs.h <<\_ACEOF
41038 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41039 _ACEOF
41040
41041 ;;
41042
41043 no)
41044 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41045 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
41046 ;;
41047
41048 unknown)
41049 { echo "$as_me:$LINENO: result: can't tell" >&5
41050 echo "${ECHO_T}can't tell" >&6; }
41051 ;;
41052
41053 *)
41054 { { echo "$as_me:$LINENO: error: internal error" >&5
41055 echo "$as_me: error: internal error" >&2;}
41056 { (exit 1); exit 1; }; }
41057 ;;
41058 esac
41059
41060 ac_ext=c
41061 ac_cpp='$CPP $CPPFLAGS'
41062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41065
41066
41067
41068 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41069 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41070 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
41071 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
41072 if test "${ac_cv_func_gethostbyname+set}" = set; then
41073 echo $ECHO_N "(cached) $ECHO_C" >&6
41074 else
41075 cat >conftest.$ac_ext <<_ACEOF
41076 /* confdefs.h. */
41077 _ACEOF
41078 cat confdefs.h >>conftest.$ac_ext
41079 cat >>conftest.$ac_ext <<_ACEOF
41080 /* end confdefs.h. */
41081 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41083 #define gethostbyname innocuous_gethostbyname
41084
41085 /* System header to define __stub macros and hopefully few prototypes,
41086 which can conflict with char gethostbyname (); below.
41087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41088 <limits.h> exists even on freestanding compilers. */
41089
41090 #ifdef __STDC__
41091 # include <limits.h>
41092 #else
41093 # include <assert.h>
41094 #endif
41095
41096 #undef gethostbyname
41097
41098 /* Override any GCC internal prototype to avoid an error.
41099 Use char because int might match the return type of a GCC
41100 builtin and then its argument prototype would still apply. */
41101 #ifdef __cplusplus
41102 extern "C"
41103 #endif
41104 char gethostbyname ();
41105 /* The GNU C library defines this for functions which it implements
41106 to always fail with ENOSYS. Some functions are actually named
41107 something starting with __ and the normal name is an alias. */
41108 #if defined __stub_gethostbyname || defined __stub___gethostbyname
41109 choke me
41110 #endif
41111
41112 int
41113 main ()
41114 {
41115 return gethostbyname ();
41116 ;
41117 return 0;
41118 }
41119 _ACEOF
41120 rm -f conftest.$ac_objext conftest$ac_exeext
41121 if { (ac_try="$ac_link"
41122 case "(($ac_try" in
41123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41124 *) ac_try_echo=$ac_try;;
41125 esac
41126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41127 (eval "$ac_link") 2>conftest.er1
41128 ac_status=$?
41129 grep -v '^ *+' conftest.er1 >conftest.err
41130 rm -f conftest.er1
41131 cat conftest.err >&5
41132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41133 (exit $ac_status); } && {
41134 test -z "$ac_c_werror_flag" ||
41135 test ! -s conftest.err
41136 } && test -s conftest$ac_exeext &&
41137 $as_test_x conftest$ac_exeext; then
41138 ac_cv_func_gethostbyname=yes
41139 else
41140 echo "$as_me: failed program was:" >&5
41141 sed 's/^/| /' conftest.$ac_ext >&5
41142
41143 ac_cv_func_gethostbyname=no
41144 fi
41145
41146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41147 conftest$ac_exeext conftest.$ac_ext
41148 fi
41149 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41150 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
41151 if test $ac_cv_func_gethostbyname = yes; then
41152 cat >>confdefs.h <<\_ACEOF
41153 #define HAVE_GETHOSTBYNAME 1
41154 _ACEOF
41155
41156 fi
41157
41158 fi
41159
41160 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41161 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
41162 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41163 echo $ECHO_N "(cached) $ECHO_C" >&6
41164 else
41165
41166 ac_ext=cpp
41167 ac_cpp='$CXXCPP $CPPFLAGS'
41168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41171
41172
41173 cat >conftest.$ac_ext <<_ACEOF
41174 /* confdefs.h. */
41175 _ACEOF
41176 cat confdefs.h >>conftest.$ac_ext
41177 cat >>conftest.$ac_ext <<_ACEOF
41178 /* end confdefs.h. */
41179 #include <netdb.h>
41180 int
41181 main ()
41182 {
41183
41184 char *name;
41185 char *proto;
41186 struct servent *se, *res;
41187 char buffer[2048];
41188 int buflen = 2048;
41189 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41190
41191 ;
41192 return 0;
41193 }
41194 _ACEOF
41195 rm -f conftest.$ac_objext
41196 if { (ac_try="$ac_compile"
41197 case "(($ac_try" in
41198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41199 *) ac_try_echo=$ac_try;;
41200 esac
41201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41202 (eval "$ac_compile") 2>conftest.er1
41203 ac_status=$?
41204 grep -v '^ *+' conftest.er1 >conftest.err
41205 rm -f conftest.er1
41206 cat conftest.err >&5
41207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41208 (exit $ac_status); } && {
41209 test -z "$ac_cxx_werror_flag" ||
41210 test ! -s conftest.err
41211 } && test -s conftest.$ac_objext; then
41212 ac_cv_func_which_getservbyname_r=six
41213 else
41214 echo "$as_me: failed program was:" >&5
41215 sed 's/^/| /' conftest.$ac_ext >&5
41216
41217
41218 cat >conftest.$ac_ext <<_ACEOF
41219 /* confdefs.h. */
41220 _ACEOF
41221 cat confdefs.h >>conftest.$ac_ext
41222 cat >>conftest.$ac_ext <<_ACEOF
41223 /* end confdefs.h. */
41224 #include <netdb.h>
41225 int
41226 main ()
41227 {
41228
41229 char *name;
41230 char *proto;
41231 struct servent *se;
41232 char buffer[2048];
41233 int buflen = 2048;
41234 (void) getservbyname_r(name, proto, se, buffer, buflen)
41235
41236 ;
41237 return 0;
41238 }
41239 _ACEOF
41240 rm -f conftest.$ac_objext
41241 if { (ac_try="$ac_compile"
41242 case "(($ac_try" in
41243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41244 *) ac_try_echo=$ac_try;;
41245 esac
41246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41247 (eval "$ac_compile") 2>conftest.er1
41248 ac_status=$?
41249 grep -v '^ *+' conftest.er1 >conftest.err
41250 rm -f conftest.er1
41251 cat conftest.err >&5
41252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41253 (exit $ac_status); } && {
41254 test -z "$ac_cxx_werror_flag" ||
41255 test ! -s conftest.err
41256 } && test -s conftest.$ac_objext; then
41257 ac_cv_func_which_getservbyname_r=five
41258 else
41259 echo "$as_me: failed program was:" >&5
41260 sed 's/^/| /' conftest.$ac_ext >&5
41261
41262
41263 cat >conftest.$ac_ext <<_ACEOF
41264 /* confdefs.h. */
41265 _ACEOF
41266 cat confdefs.h >>conftest.$ac_ext
41267 cat >>conftest.$ac_ext <<_ACEOF
41268 /* end confdefs.h. */
41269 #include <netdb.h>
41270 int
41271 main ()
41272 {
41273
41274 char *name;
41275 char *proto;
41276 struct servent *se;
41277 struct servent_data data;
41278 (void) getservbyname_r(name, proto, se, &data);
41279
41280 ;
41281 return 0;
41282 }
41283 _ACEOF
41284 rm -f conftest.$ac_objext
41285 if { (ac_try="$ac_compile"
41286 case "(($ac_try" in
41287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41288 *) ac_try_echo=$ac_try;;
41289 esac
41290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41291 (eval "$ac_compile") 2>conftest.er1
41292 ac_status=$?
41293 grep -v '^ *+' conftest.er1 >conftest.err
41294 rm -f conftest.er1
41295 cat conftest.err >&5
41296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41297 (exit $ac_status); } && {
41298 test -z "$ac_cxx_werror_flag" ||
41299 test ! -s conftest.err
41300 } && test -s conftest.$ac_objext; then
41301 ac_cv_func_which_getservbyname_r=four
41302 else
41303 echo "$as_me: failed program was:" >&5
41304 sed 's/^/| /' conftest.$ac_ext >&5
41305
41306 ac_cv_func_which_getservbyname_r=no
41307
41308 fi
41309
41310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41311
41312
41313 fi
41314
41315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41316
41317
41318 fi
41319
41320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41321 ac_ext=c
41322 ac_cpp='$CPP $CPPFLAGS'
41323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41326
41327
41328
41329 fi
41330 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41331 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41332
41333 if test $ac_cv_func_which_getservbyname_r = six; then
41334 cat >>confdefs.h <<\_ACEOF
41335 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41336 _ACEOF
41337
41338 elif test $ac_cv_func_which_getservbyname_r = five; then
41339 cat >>confdefs.h <<\_ACEOF
41340 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41341 _ACEOF
41342
41343 elif test $ac_cv_func_which_getservbyname_r = four; then
41344 cat >>confdefs.h <<\_ACEOF
41345 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41346 _ACEOF
41347
41348 fi
41349
41350
41351 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41352 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41353
41354 for ac_func in getservbyname
41355 do
41356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41357 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41359 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41360 echo $ECHO_N "(cached) $ECHO_C" >&6
41361 else
41362 cat >conftest.$ac_ext <<_ACEOF
41363 /* confdefs.h. */
41364 _ACEOF
41365 cat confdefs.h >>conftest.$ac_ext
41366 cat >>conftest.$ac_ext <<_ACEOF
41367 /* end confdefs.h. */
41368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41370 #define $ac_func innocuous_$ac_func
41371
41372 /* System header to define __stub macros and hopefully few prototypes,
41373 which can conflict with char $ac_func (); below.
41374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41375 <limits.h> exists even on freestanding compilers. */
41376
41377 #ifdef __STDC__
41378 # include <limits.h>
41379 #else
41380 # include <assert.h>
41381 #endif
41382
41383 #undef $ac_func
41384
41385 /* Override any GCC internal prototype to avoid an error.
41386 Use char because int might match the return type of a GCC
41387 builtin and then its argument prototype would still apply. */
41388 #ifdef __cplusplus
41389 extern "C"
41390 #endif
41391 char $ac_func ();
41392 /* The GNU C library defines this for functions which it implements
41393 to always fail with ENOSYS. Some functions are actually named
41394 something starting with __ and the normal name is an alias. */
41395 #if defined __stub_$ac_func || defined __stub___$ac_func
41396 choke me
41397 #endif
41398
41399 int
41400 main ()
41401 {
41402 return $ac_func ();
41403 ;
41404 return 0;
41405 }
41406 _ACEOF
41407 rm -f conftest.$ac_objext conftest$ac_exeext
41408 if { (ac_try="$ac_link"
41409 case "(($ac_try" in
41410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41411 *) ac_try_echo=$ac_try;;
41412 esac
41413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41414 (eval "$ac_link") 2>conftest.er1
41415 ac_status=$?
41416 grep -v '^ *+' conftest.er1 >conftest.err
41417 rm -f conftest.er1
41418 cat conftest.err >&5
41419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41420 (exit $ac_status); } && {
41421 test -z "$ac_c_werror_flag" ||
41422 test ! -s conftest.err
41423 } && test -s conftest$ac_exeext &&
41424 $as_test_x conftest$ac_exeext; then
41425 eval "$as_ac_var=yes"
41426 else
41427 echo "$as_me: failed program was:" >&5
41428 sed 's/^/| /' conftest.$ac_ext >&5
41429
41430 eval "$as_ac_var=no"
41431 fi
41432
41433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41434 conftest$ac_exeext conftest.$ac_ext
41435 fi
41436 ac_res=`eval echo '${'$as_ac_var'}'`
41437 { echo "$as_me:$LINENO: result: $ac_res" >&5
41438 echo "${ECHO_T}$ac_res" >&6; }
41439 if test `eval echo '${'$as_ac_var'}'` = yes; then
41440 cat >>confdefs.h <<_ACEOF
41441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41442 _ACEOF
41443 cat >>confdefs.h <<\_ACEOF
41444 #define HAVE_GETSERVBYNAME 1
41445 _ACEOF
41446
41447 fi
41448 done
41449
41450 fi
41451
41452 if test "$wxUSE_THREADS" = "yes"; then
41453 cat >>confdefs.h <<\_ACEOF
41454 #define wxUSE_THREADS 1
41455 _ACEOF
41456
41457
41458 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41459 else
41460 if test "$wx_cv_func_strtok_r" = "yes"; then
41461 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41462 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41463 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41464 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41465 { echo "$as_me:$LINENO: result: yes" >&5
41466 echo "${ECHO_T}yes" >&6; }
41467 else
41468 { echo "$as_me:$LINENO: result: no" >&5
41469 echo "${ECHO_T}no" >&6; }
41470 fi
41471 fi
41472 fi
41473
41474 if test "$WXGTK2" = 1 ; then
41475 cat >>confdefs.h <<_ACEOF
41476 #define __WXGTK20__ $WXGTK2
41477 _ACEOF
41478
41479 WXGTK12=1
41480 fi
41481
41482 if test "$WXGTK12" = 1 ; then
41483 cat >>confdefs.h <<_ACEOF
41484 #define __WXGTK12__ $WXGTK12
41485 _ACEOF
41486
41487 fi
41488
41489 if test "$WXGTK127" = 1 ; then
41490 cat >>confdefs.h <<_ACEOF
41491 #define __WXGTK127__ $WXGTK127
41492 _ACEOF
41493
41494 fi
41495
41496 if test "$WXGPE" = 1 ; then
41497 cat >>confdefs.h <<_ACEOF
41498 #define __WXGPE__ $WXGPE
41499 _ACEOF
41500
41501 fi
41502
41503 DEBUG_CFLAGS=
41504 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41505 DEBUG_CFLAGS="-g"
41506 fi
41507
41508 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41509 wxUSE_DEBUG_INFO=yes
41510 if test "$GCC" = yes; then
41511 DEBUG_CFLAGS="-ggdb"
41512 fi
41513 fi
41514
41515 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41516 cat >>confdefs.h <<\_ACEOF
41517 #define WXDEBUG 1
41518 _ACEOF
41519
41520 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41521 else
41522 if test "$wxUSE_GTK" = 1 ; then
41523 if test "x$wxGTK_VERSION" = "x1" ; then
41524 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41525 fi
41526 fi
41527 fi
41528
41529 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41530 cat >>confdefs.h <<\_ACEOF
41531 #define wxUSE_MEMORY_TRACING 1
41532 _ACEOF
41533
41534 cat >>confdefs.h <<\_ACEOF
41535 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41536 _ACEOF
41537
41538 cat >>confdefs.h <<\_ACEOF
41539 #define wxUSE_DEBUG_NEW_ALWAYS 1
41540 _ACEOF
41541
41542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41543 fi
41544
41545 if test "$wxUSE_DMALLOC" = "yes" ; then
41546 DMALLOC_LIBS="-ldmallocthcxx"
41547 fi
41548
41549 PROFILE_FLAGS=
41550 if test "$wxUSE_PROFILE" = "yes" ; then
41551 PROFILE_FLAGS=" -pg"
41552 fi
41553
41554 if test "$GCC" = "yes" ; then
41555 if test "$wxUSE_NO_RTTI" = "yes" ; then
41556 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41557 fi
41558 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41559 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41560 fi
41561 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41562 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41563 fi
41564
41565 case "${host}" in
41566 powerpc*-*-aix* )
41567 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41568 ;;
41569 *-hppa* )
41570 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41571 ;;
41572 esac
41573 fi
41574
41575 OPTIMISE_CFLAGS=
41576 if test "$wxUSE_OPTIMISE" = "no" ; then
41577 if test "$GCC" = yes ; then
41578 OPTIMISE_CFLAGS="-O0"
41579 fi
41580 else
41581 if test "$GCC" = yes ; then
41582 case "${host}" in
41583 *-pc-os2_emx | *-pc-os2-emx )
41584 OPTIMISE_CFLAGS="-O2"
41585 ;;
41586 *)
41587 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41588 ;;
41589 esac
41590 else
41591 OPTIMISE_CFLAGS="-O"
41592 fi
41593 fi
41594
41595
41596 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41597 cat >>confdefs.h <<\_ACEOF
41598 #define WXWIN_COMPATIBILITY_2_6 1
41599 _ACEOF
41600
41601
41602 WXWIN_COMPATIBILITY_2_8="yes"
41603 fi
41604
41605 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41606 cat >>confdefs.h <<\_ACEOF
41607 #define WXWIN_COMPATIBILITY_2_8 1
41608 _ACEOF
41609
41610 fi
41611
41612
41613 if test "$wxUSE_GUI" = "yes"; then
41614 cat >>confdefs.h <<\_ACEOF
41615 #define wxUSE_GUI 1
41616 _ACEOF
41617
41618
41619 fi
41620
41621
41622 if test "$wxUSE_UNIX" = "yes"; then
41623 cat >>confdefs.h <<\_ACEOF
41624 #define wxUSE_UNIX 1
41625 _ACEOF
41626
41627 fi
41628
41629
41630 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41631
41632 HAVE_DL_FUNCS=0
41633 HAVE_SHL_FUNCS=0
41634 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41635 if test "$USE_DOS" = 1; then
41636 HAVE_DL_FUNCS=0
41637 else
41638
41639 for ac_func in dlopen
41640 do
41641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41642 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41644 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41645 echo $ECHO_N "(cached) $ECHO_C" >&6
41646 else
41647 cat >conftest.$ac_ext <<_ACEOF
41648 /* confdefs.h. */
41649 _ACEOF
41650 cat confdefs.h >>conftest.$ac_ext
41651 cat >>conftest.$ac_ext <<_ACEOF
41652 /* end confdefs.h. */
41653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41655 #define $ac_func innocuous_$ac_func
41656
41657 /* System header to define __stub macros and hopefully few prototypes,
41658 which can conflict with char $ac_func (); below.
41659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41660 <limits.h> exists even on freestanding compilers. */
41661
41662 #ifdef __STDC__
41663 # include <limits.h>
41664 #else
41665 # include <assert.h>
41666 #endif
41667
41668 #undef $ac_func
41669
41670 /* Override any GCC internal prototype to avoid an error.
41671 Use char because int might match the return type of a GCC
41672 builtin and then its argument prototype would still apply. */
41673 #ifdef __cplusplus
41674 extern "C"
41675 #endif
41676 char $ac_func ();
41677 /* The GNU C library defines this for functions which it implements
41678 to always fail with ENOSYS. Some functions are actually named
41679 something starting with __ and the normal name is an alias. */
41680 #if defined __stub_$ac_func || defined __stub___$ac_func
41681 choke me
41682 #endif
41683
41684 int
41685 main ()
41686 {
41687 return $ac_func ();
41688 ;
41689 return 0;
41690 }
41691 _ACEOF
41692 rm -f conftest.$ac_objext conftest$ac_exeext
41693 if { (ac_try="$ac_link"
41694 case "(($ac_try" in
41695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41696 *) ac_try_echo=$ac_try;;
41697 esac
41698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41699 (eval "$ac_link") 2>conftest.er1
41700 ac_status=$?
41701 grep -v '^ *+' conftest.er1 >conftest.err
41702 rm -f conftest.er1
41703 cat conftest.err >&5
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); } && {
41706 test -z "$ac_c_werror_flag" ||
41707 test ! -s conftest.err
41708 } && test -s conftest$ac_exeext &&
41709 $as_test_x conftest$ac_exeext; then
41710 eval "$as_ac_var=yes"
41711 else
41712 echo "$as_me: failed program was:" >&5
41713 sed 's/^/| /' conftest.$ac_ext >&5
41714
41715 eval "$as_ac_var=no"
41716 fi
41717
41718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41719 conftest$ac_exeext conftest.$ac_ext
41720 fi
41721 ac_res=`eval echo '${'$as_ac_var'}'`
41722 { echo "$as_me:$LINENO: result: $ac_res" >&5
41723 echo "${ECHO_T}$ac_res" >&6; }
41724 if test `eval echo '${'$as_ac_var'}'` = yes; then
41725 cat >>confdefs.h <<_ACEOF
41726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41727 _ACEOF
41728
41729 cat >>confdefs.h <<\_ACEOF
41730 #define HAVE_DLOPEN 1
41731 _ACEOF
41732
41733 HAVE_DL_FUNCS=1
41734
41735 else
41736
41737 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41738 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41739 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41740 echo $ECHO_N "(cached) $ECHO_C" >&6
41741 else
41742 ac_check_lib_save_LIBS=$LIBS
41743 LIBS="-ldl $LIBS"
41744 cat >conftest.$ac_ext <<_ACEOF
41745 /* confdefs.h. */
41746 _ACEOF
41747 cat confdefs.h >>conftest.$ac_ext
41748 cat >>conftest.$ac_ext <<_ACEOF
41749 /* end confdefs.h. */
41750
41751 /* Override any GCC internal prototype to avoid an error.
41752 Use char because int might match the return type of a GCC
41753 builtin and then its argument prototype would still apply. */
41754 #ifdef __cplusplus
41755 extern "C"
41756 #endif
41757 char dlopen ();
41758 int
41759 main ()
41760 {
41761 return dlopen ();
41762 ;
41763 return 0;
41764 }
41765 _ACEOF
41766 rm -f conftest.$ac_objext conftest$ac_exeext
41767 if { (ac_try="$ac_link"
41768 case "(($ac_try" in
41769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41770 *) ac_try_echo=$ac_try;;
41771 esac
41772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41773 (eval "$ac_link") 2>conftest.er1
41774 ac_status=$?
41775 grep -v '^ *+' conftest.er1 >conftest.err
41776 rm -f conftest.er1
41777 cat conftest.err >&5
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); } && {
41780 test -z "$ac_c_werror_flag" ||
41781 test ! -s conftest.err
41782 } && test -s conftest$ac_exeext &&
41783 $as_test_x conftest$ac_exeext; then
41784 ac_cv_lib_dl_dlopen=yes
41785 else
41786 echo "$as_me: failed program was:" >&5
41787 sed 's/^/| /' conftest.$ac_ext >&5
41788
41789 ac_cv_lib_dl_dlopen=no
41790 fi
41791
41792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41793 conftest$ac_exeext conftest.$ac_ext
41794 LIBS=$ac_check_lib_save_LIBS
41795 fi
41796 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41797 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41798 if test $ac_cv_lib_dl_dlopen = yes; then
41799
41800 cat >>confdefs.h <<\_ACEOF
41801 #define HAVE_DLOPEN 1
41802 _ACEOF
41803
41804 HAVE_DL_FUNCS=1
41805 DL_LINK=" -ldl$DL_LINK"
41806
41807 else
41808
41809
41810 for ac_func in shl_load
41811 do
41812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41813 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41815 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41816 echo $ECHO_N "(cached) $ECHO_C" >&6
41817 else
41818 cat >conftest.$ac_ext <<_ACEOF
41819 /* confdefs.h. */
41820 _ACEOF
41821 cat confdefs.h >>conftest.$ac_ext
41822 cat >>conftest.$ac_ext <<_ACEOF
41823 /* end confdefs.h. */
41824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41826 #define $ac_func innocuous_$ac_func
41827
41828 /* System header to define __stub macros and hopefully few prototypes,
41829 which can conflict with char $ac_func (); below.
41830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41831 <limits.h> exists even on freestanding compilers. */
41832
41833 #ifdef __STDC__
41834 # include <limits.h>
41835 #else
41836 # include <assert.h>
41837 #endif
41838
41839 #undef $ac_func
41840
41841 /* Override any GCC internal prototype to avoid an error.
41842 Use char because int might match the return type of a GCC
41843 builtin and then its argument prototype would still apply. */
41844 #ifdef __cplusplus
41845 extern "C"
41846 #endif
41847 char $ac_func ();
41848 /* The GNU C library defines this for functions which it implements
41849 to always fail with ENOSYS. Some functions are actually named
41850 something starting with __ and the normal name is an alias. */
41851 #if defined __stub_$ac_func || defined __stub___$ac_func
41852 choke me
41853 #endif
41854
41855 int
41856 main ()
41857 {
41858 return $ac_func ();
41859 ;
41860 return 0;
41861 }
41862 _ACEOF
41863 rm -f conftest.$ac_objext conftest$ac_exeext
41864 if { (ac_try="$ac_link"
41865 case "(($ac_try" in
41866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41867 *) ac_try_echo=$ac_try;;
41868 esac
41869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41870 (eval "$ac_link") 2>conftest.er1
41871 ac_status=$?
41872 grep -v '^ *+' conftest.er1 >conftest.err
41873 rm -f conftest.er1
41874 cat conftest.err >&5
41875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41876 (exit $ac_status); } && {
41877 test -z "$ac_c_werror_flag" ||
41878 test ! -s conftest.err
41879 } && test -s conftest$ac_exeext &&
41880 $as_test_x conftest$ac_exeext; then
41881 eval "$as_ac_var=yes"
41882 else
41883 echo "$as_me: failed program was:" >&5
41884 sed 's/^/| /' conftest.$ac_ext >&5
41885
41886 eval "$as_ac_var=no"
41887 fi
41888
41889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41890 conftest$ac_exeext conftest.$ac_ext
41891 fi
41892 ac_res=`eval echo '${'$as_ac_var'}'`
41893 { echo "$as_me:$LINENO: result: $ac_res" >&5
41894 echo "${ECHO_T}$ac_res" >&6; }
41895 if test `eval echo '${'$as_ac_var'}'` = yes; then
41896 cat >>confdefs.h <<_ACEOF
41897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41898 _ACEOF
41899
41900 cat >>confdefs.h <<\_ACEOF
41901 #define HAVE_SHL_LOAD 1
41902 _ACEOF
41903
41904 HAVE_SHL_FUNCS=1
41905
41906 else
41907
41908 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41909 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41910 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41911 echo $ECHO_N "(cached) $ECHO_C" >&6
41912 else
41913 ac_check_lib_save_LIBS=$LIBS
41914 LIBS="-lshl_load $LIBS"
41915 cat >conftest.$ac_ext <<_ACEOF
41916 /* confdefs.h. */
41917 _ACEOF
41918 cat confdefs.h >>conftest.$ac_ext
41919 cat >>conftest.$ac_ext <<_ACEOF
41920 /* end confdefs.h. */
41921
41922 /* Override any GCC internal prototype to avoid an error.
41923 Use char because int might match the return type of a GCC
41924 builtin and then its argument prototype would still apply. */
41925 #ifdef __cplusplus
41926 extern "C"
41927 #endif
41928 char dld ();
41929 int
41930 main ()
41931 {
41932 return dld ();
41933 ;
41934 return 0;
41935 }
41936 _ACEOF
41937 rm -f conftest.$ac_objext conftest$ac_exeext
41938 if { (ac_try="$ac_link"
41939 case "(($ac_try" in
41940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41941 *) ac_try_echo=$ac_try;;
41942 esac
41943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41944 (eval "$ac_link") 2>conftest.er1
41945 ac_status=$?
41946 grep -v '^ *+' conftest.er1 >conftest.err
41947 rm -f conftest.er1
41948 cat conftest.err >&5
41949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41950 (exit $ac_status); } && {
41951 test -z "$ac_c_werror_flag" ||
41952 test ! -s conftest.err
41953 } && test -s conftest$ac_exeext &&
41954 $as_test_x conftest$ac_exeext; then
41955 ac_cv_lib_shl_load_dld=yes
41956 else
41957 echo "$as_me: failed program was:" >&5
41958 sed 's/^/| /' conftest.$ac_ext >&5
41959
41960 ac_cv_lib_shl_load_dld=no
41961 fi
41962
41963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41964 conftest$ac_exeext conftest.$ac_ext
41965 LIBS=$ac_check_lib_save_LIBS
41966 fi
41967 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41968 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41969 if test $ac_cv_lib_shl_load_dld = yes; then
41970
41971 HAVE_SHL_FUNCS=1
41972 DL_LINK=" -ldld$DL_LINK"
41973
41974 fi
41975
41976
41977 fi
41978 done
41979
41980
41981 fi
41982
41983
41984 fi
41985 done
41986
41987
41988 if test "$HAVE_DL_FUNCS" = 1; then
41989
41990 for ac_func in dlerror
41991 do
41992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41993 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41995 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41996 echo $ECHO_N "(cached) $ECHO_C" >&6
41997 else
41998 cat >conftest.$ac_ext <<_ACEOF
41999 /* confdefs.h. */
42000 _ACEOF
42001 cat confdefs.h >>conftest.$ac_ext
42002 cat >>conftest.$ac_ext <<_ACEOF
42003 /* end confdefs.h. */
42004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42005 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42006 #define $ac_func innocuous_$ac_func
42007
42008 /* System header to define __stub macros and hopefully few prototypes,
42009 which can conflict with char $ac_func (); below.
42010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42011 <limits.h> exists even on freestanding compilers. */
42012
42013 #ifdef __STDC__
42014 # include <limits.h>
42015 #else
42016 # include <assert.h>
42017 #endif
42018
42019 #undef $ac_func
42020
42021 /* Override any GCC internal prototype to avoid an error.
42022 Use char because int might match the return type of a GCC
42023 builtin and then its argument prototype would still apply. */
42024 #ifdef __cplusplus
42025 extern "C"
42026 #endif
42027 char $ac_func ();
42028 /* The GNU C library defines this for functions which it implements
42029 to always fail with ENOSYS. Some functions are actually named
42030 something starting with __ and the normal name is an alias. */
42031 #if defined __stub_$ac_func || defined __stub___$ac_func
42032 choke me
42033 #endif
42034
42035 int
42036 main ()
42037 {
42038 return $ac_func ();
42039 ;
42040 return 0;
42041 }
42042 _ACEOF
42043 rm -f conftest.$ac_objext conftest$ac_exeext
42044 if { (ac_try="$ac_link"
42045 case "(($ac_try" in
42046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42047 *) ac_try_echo=$ac_try;;
42048 esac
42049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42050 (eval "$ac_link") 2>conftest.er1
42051 ac_status=$?
42052 grep -v '^ *+' conftest.er1 >conftest.err
42053 rm -f conftest.er1
42054 cat conftest.err >&5
42055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42056 (exit $ac_status); } && {
42057 test -z "$ac_c_werror_flag" ||
42058 test ! -s conftest.err
42059 } && test -s conftest$ac_exeext &&
42060 $as_test_x conftest$ac_exeext; then
42061 eval "$as_ac_var=yes"
42062 else
42063 echo "$as_me: failed program was:" >&5
42064 sed 's/^/| /' conftest.$ac_ext >&5
42065
42066 eval "$as_ac_var=no"
42067 fi
42068
42069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42070 conftest$ac_exeext conftest.$ac_ext
42071 fi
42072 ac_res=`eval echo '${'$as_ac_var'}'`
42073 { echo "$as_me:$LINENO: result: $ac_res" >&5
42074 echo "${ECHO_T}$ac_res" >&6; }
42075 if test `eval echo '${'$as_ac_var'}'` = yes; then
42076 cat >>confdefs.h <<_ACEOF
42077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42078 _ACEOF
42079 cat >>confdefs.h <<\_ACEOF
42080 #define HAVE_DLERROR 1
42081 _ACEOF
42082
42083 else
42084
42085 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42086 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
42087 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42088 echo $ECHO_N "(cached) $ECHO_C" >&6
42089 else
42090 ac_check_lib_save_LIBS=$LIBS
42091 LIBS="-ldl $LIBS"
42092 cat >conftest.$ac_ext <<_ACEOF
42093 /* confdefs.h. */
42094 _ACEOF
42095 cat confdefs.h >>conftest.$ac_ext
42096 cat >>conftest.$ac_ext <<_ACEOF
42097 /* end confdefs.h. */
42098
42099 /* Override any GCC internal prototype to avoid an error.
42100 Use char because int might match the return type of a GCC
42101 builtin and then its argument prototype would still apply. */
42102 #ifdef __cplusplus
42103 extern "C"
42104 #endif
42105 char dlerror ();
42106 int
42107 main ()
42108 {
42109 return dlerror ();
42110 ;
42111 return 0;
42112 }
42113 _ACEOF
42114 rm -f conftest.$ac_objext conftest$ac_exeext
42115 if { (ac_try="$ac_link"
42116 case "(($ac_try" in
42117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42118 *) ac_try_echo=$ac_try;;
42119 esac
42120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42121 (eval "$ac_link") 2>conftest.er1
42122 ac_status=$?
42123 grep -v '^ *+' conftest.er1 >conftest.err
42124 rm -f conftest.er1
42125 cat conftest.err >&5
42126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42127 (exit $ac_status); } && {
42128 test -z "$ac_c_werror_flag" ||
42129 test ! -s conftest.err
42130 } && test -s conftest$ac_exeext &&
42131 $as_test_x conftest$ac_exeext; then
42132 ac_cv_lib_dl_dlerror=yes
42133 else
42134 echo "$as_me: failed program was:" >&5
42135 sed 's/^/| /' conftest.$ac_ext >&5
42136
42137 ac_cv_lib_dl_dlerror=no
42138 fi
42139
42140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42141 conftest$ac_exeext conftest.$ac_ext
42142 LIBS=$ac_check_lib_save_LIBS
42143 fi
42144 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42145 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
42146 if test $ac_cv_lib_dl_dlerror = yes; then
42147 cat >>confdefs.h <<\_ACEOF
42148 #define HAVE_DLERROR 1
42149 _ACEOF
42150
42151 fi
42152
42153
42154
42155 fi
42156 done
42157
42158 fi
42159 fi
42160
42161 if test "$USE_DARWIN" = 1; then
42162 HAVE_DL_FUNCS=1
42163 fi
42164
42165 if test "$HAVE_DL_FUNCS" = 0; then
42166 if test "$HAVE_SHL_FUNCS" = 0; then
42167 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42168 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42169 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42170 wxUSE_DYNAMIC_LOADER=no
42171 wxUSE_DYNLIB_CLASS=no
42172 else
42173 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42174 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42175 fi
42176 fi
42177 fi
42178 fi
42179 fi
42180
42181 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42182 cat >>confdefs.h <<\_ACEOF
42183 #define wxUSE_DYNAMIC_LOADER 1
42184 _ACEOF
42185
42186 fi
42187 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42188 cat >>confdefs.h <<\_ACEOF
42189 #define wxUSE_DYNLIB_CLASS 1
42190 _ACEOF
42191
42192 fi
42193
42194
42195
42196 if test "$wxUSE_PLUGINS" = "yes" ; then
42197 if test "$wxUSE_SHARED" = "no" ; then
42198 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42199 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42200 wxUSE_PLUGINS=no
42201 fi
42202 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42203 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42204 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42205 wxUSE_PLUGINS=no
42206 fi
42207 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42208 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42209 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42210 wxUSE_PLUGINS=no
42211 fi
42212 if test "$wxUSE_PLUGINS" = "yes" ; then
42213 cat >>confdefs.h <<\_ACEOF
42214 #define wxUSE_PLUGINS 1
42215 _ACEOF
42216
42217 fi
42218 fi
42219
42220
42221 if test "$wxUSE_STL" = "yes"; then
42222 cat >>confdefs.h <<\_ACEOF
42223 #define wxUSE_STL 1
42224 _ACEOF
42225
42226 fi
42227
42228 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
42229 cat >>confdefs.h <<\_ACEOF
42230 #define wxUSE_EXTENDED_RTTI 1
42231 _ACEOF
42232
42233 fi
42234
42235 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42236 cat >>confdefs.h <<\_ACEOF
42237 #define wxUSE_APPLE_IEEE 1
42238 _ACEOF
42239
42240 fi
42241
42242 if test "$wxUSE_TIMER" = "yes"; then
42243 cat >>confdefs.h <<\_ACEOF
42244 #define wxUSE_TIMER 1
42245 _ACEOF
42246
42247 fi
42248
42249 if test "$USE_UNIX" = 1 ; then
42250 if test "$wxUSE_MGL" != 1; then
42251 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42252 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
42253 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42254 echo $ECHO_N "(cached) $ECHO_C" >&6
42255 else
42256
42257 cat >conftest.$ac_ext <<_ACEOF
42258 /* confdefs.h. */
42259 _ACEOF
42260 cat confdefs.h >>conftest.$ac_ext
42261 cat >>conftest.$ac_ext <<_ACEOF
42262 /* end confdefs.h. */
42263
42264 #include <sys/ioctl.h>
42265 #include <sys/soundcard.h>
42266
42267 int
42268 main ()
42269 {
42270
42271 ioctl(0, SNDCTL_DSP_SPEED, 0);
42272
42273 ;
42274 return 0;
42275 }
42276 _ACEOF
42277 rm -f conftest.$ac_objext conftest$ac_exeext
42278 if { (ac_try="$ac_link"
42279 case "(($ac_try" in
42280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42281 *) ac_try_echo=$ac_try;;
42282 esac
42283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42284 (eval "$ac_link") 2>conftest.er1
42285 ac_status=$?
42286 grep -v '^ *+' conftest.er1 >conftest.err
42287 rm -f conftest.er1
42288 cat conftest.err >&5
42289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42290 (exit $ac_status); } && {
42291 test -z "$ac_c_werror_flag" ||
42292 test ! -s conftest.err
42293 } && test -s conftest$ac_exeext &&
42294 $as_test_x conftest$ac_exeext; then
42295 ac_cv_header_sys_soundcard=yes
42296 else
42297 echo "$as_me: failed program was:" >&5
42298 sed 's/^/| /' conftest.$ac_ext >&5
42299
42300
42301 saveLibs="$LIBS"
42302 LIBS="$saveLibs -lossaudio"
42303 cat >conftest.$ac_ext <<_ACEOF
42304 /* confdefs.h. */
42305 _ACEOF
42306 cat confdefs.h >>conftest.$ac_ext
42307 cat >>conftest.$ac_ext <<_ACEOF
42308 /* end confdefs.h. */
42309
42310 #include <sys/ioctl.h>
42311 #include <sys/soundcard.h>
42312
42313 int
42314 main ()
42315 {
42316
42317 ioctl(0, SNDCTL_DSP_SPEED, 0);
42318
42319 ;
42320 return 0;
42321 }
42322 _ACEOF
42323 rm -f conftest.$ac_objext conftest$ac_exeext
42324 if { (ac_try="$ac_link"
42325 case "(($ac_try" in
42326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42327 *) ac_try_echo=$ac_try;;
42328 esac
42329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42330 (eval "$ac_link") 2>conftest.er1
42331 ac_status=$?
42332 grep -v '^ *+' conftest.er1 >conftest.err
42333 rm -f conftest.er1
42334 cat conftest.err >&5
42335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42336 (exit $ac_status); } && {
42337 test -z "$ac_c_werror_flag" ||
42338 test ! -s conftest.err
42339 } && test -s conftest$ac_exeext &&
42340 $as_test_x conftest$ac_exeext; then
42341 ac_cv_header_sys_soundcard=yes
42342 else
42343 echo "$as_me: failed program was:" >&5
42344 sed 's/^/| /' conftest.$ac_ext >&5
42345
42346
42347 LIBS="$saveLibs"
42348 ac_cv_header_sys_soundcard=no
42349
42350
42351 fi
42352
42353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42354 conftest$ac_exeext conftest.$ac_ext
42355
42356
42357 fi
42358
42359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42360 conftest$ac_exeext conftest.$ac_ext
42361
42362 fi
42363 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42364 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42365 fi
42366
42367 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42368 cat >>confdefs.h <<\_ACEOF
42369 #define HAVE_SYS_SOUNDCARD_H 1
42370 _ACEOF
42371
42372 fi
42373 fi
42374
42375 WITH_PLUGIN_SDL=0
42376 if test "$wxUSE_SOUND" = "yes"; then
42377 if test "$USE_UNIX" = 1 ; then
42378 if test "$wxUSE_LIBSDL" != "no"; then
42379
42380 # Check whether --with-sdl-prefix was given.
42381 if test "${with_sdl_prefix+set}" = set; then
42382 withval=$with_sdl_prefix; sdl_prefix="$withval"
42383 else
42384 sdl_prefix=""
42385 fi
42386
42387
42388 # Check whether --with-sdl-exec-prefix was given.
42389 if test "${with_sdl_exec_prefix+set}" = set; then
42390 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42391 else
42392 sdl_exec_prefix=""
42393 fi
42394
42395 # Check whether --enable-sdltest was given.
42396 if test "${enable_sdltest+set}" = set; then
42397 enableval=$enable_sdltest;
42398 else
42399 enable_sdltest=yes
42400 fi
42401
42402
42403 if test x$sdl_exec_prefix != x ; then
42404 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42405 if test x${SDL_CONFIG+set} != xset ; then
42406 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42407 fi
42408 fi
42409 if test x$sdl_prefix != x ; then
42410 sdl_args="$sdl_args --prefix=$sdl_prefix"
42411 if test x${SDL_CONFIG+set} != xset ; then
42412 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42413 fi
42414 fi
42415
42416 if test "x$prefix" != xNONE; then
42417 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42418 fi
42419 # Extract the first word of "sdl-config", so it can be a program name with args.
42420 set dummy sdl-config; ac_word=$2
42421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42423 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42424 echo $ECHO_N "(cached) $ECHO_C" >&6
42425 else
42426 case $SDL_CONFIG in
42427 [\\/]* | ?:[\\/]*)
42428 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42429 ;;
42430 *)
42431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42432 for as_dir in $PATH
42433 do
42434 IFS=$as_save_IFS
42435 test -z "$as_dir" && as_dir=.
42436 for ac_exec_ext in '' $ac_executable_extensions; do
42437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42438 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42440 break 2
42441 fi
42442 done
42443 done
42444 IFS=$as_save_IFS
42445
42446 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42447 ;;
42448 esac
42449 fi
42450 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42451 if test -n "$SDL_CONFIG"; then
42452 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42453 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42454 else
42455 { echo "$as_me:$LINENO: result: no" >&5
42456 echo "${ECHO_T}no" >&6; }
42457 fi
42458
42459
42460 min_sdl_version=1.2.0
42461 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42462 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42463 no_sdl=""
42464 if test "$SDL_CONFIG" = "no" ; then
42465 no_sdl=yes
42466 else
42467 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42468 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42469
42470 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42471 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42472 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42473 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42474 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42476 if test "x$enable_sdltest" = "xyes" ; then
42477 ac_save_CFLAGS="$CFLAGS"
42478 ac_save_CXXFLAGS="$CXXFLAGS"
42479 ac_save_LIBS="$LIBS"
42480 CFLAGS="$CFLAGS $SDL_CFLAGS"
42481 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42482 LIBS="$LIBS $SDL_LIBS"
42483 rm -f conf.sdltest
42484 if test "$cross_compiling" = yes; then
42485 echo $ac_n "cross compiling; assumed OK... $ac_c"
42486 else
42487 cat >conftest.$ac_ext <<_ACEOF
42488 /* confdefs.h. */
42489 _ACEOF
42490 cat confdefs.h >>conftest.$ac_ext
42491 cat >>conftest.$ac_ext <<_ACEOF
42492 /* end confdefs.h. */
42493
42494 #include <stdio.h>
42495 #include <stdlib.h>
42496 #include <string.h>
42497 #include "SDL.h"
42498
42499 char*
42500 my_strdup (char *str)
42501 {
42502 char *new_str;
42503
42504 if (str)
42505 {
42506 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42507 strcpy (new_str, str);
42508 }
42509 else
42510 new_str = NULL;
42511
42512 return new_str;
42513 }
42514
42515 int main (int argc, char *argv[])
42516 {
42517 int major, minor, micro;
42518 char *tmp_version;
42519
42520 /* This hangs on some systems (?)
42521 system ("touch conf.sdltest");
42522 */
42523 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42524
42525 /* HP/UX 9 (%@#!) writes to sscanf strings */
42526 tmp_version = my_strdup("$min_sdl_version");
42527 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42528 printf("%s, bad version string\n", "$min_sdl_version");
42529 exit(1);
42530 }
42531
42532 if (($sdl_major_version > major) ||
42533 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42534 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42535 {
42536 return 0;
42537 }
42538 else
42539 {
42540 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42541 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42542 printf("*** best to upgrade to the required version.\n");
42543 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42544 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42545 printf("*** config.cache before re-running configure\n");
42546 return 1;
42547 }
42548 }
42549
42550
42551 _ACEOF
42552 rm -f conftest$ac_exeext
42553 if { (ac_try="$ac_link"
42554 case "(($ac_try" in
42555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42556 *) ac_try_echo=$ac_try;;
42557 esac
42558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42559 (eval "$ac_link") 2>&5
42560 ac_status=$?
42561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42563 { (case "(($ac_try" in
42564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42565 *) ac_try_echo=$ac_try;;
42566 esac
42567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42568 (eval "$ac_try") 2>&5
42569 ac_status=$?
42570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42571 (exit $ac_status); }; }; then
42572 :
42573 else
42574 echo "$as_me: program exited with status $ac_status" >&5
42575 echo "$as_me: failed program was:" >&5
42576 sed 's/^/| /' conftest.$ac_ext >&5
42577
42578 ( exit $ac_status )
42579 no_sdl=yes
42580 fi
42581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42582 fi
42583
42584
42585 CFLAGS="$ac_save_CFLAGS"
42586 CXXFLAGS="$ac_save_CXXFLAGS"
42587 LIBS="$ac_save_LIBS"
42588 fi
42589 fi
42590 if test "x$no_sdl" = x ; then
42591 { echo "$as_me:$LINENO: result: yes" >&5
42592 echo "${ECHO_T}yes" >&6; }
42593
42594 EXTRALIBS_SDL="$SDL_LIBS"
42595 CFLAGS="$SDL_CFLAGS $CFLAGS"
42596 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42597 cat >>confdefs.h <<\_ACEOF
42598 #define wxUSE_LIBSDL 1
42599 _ACEOF
42600
42601
42602 else
42603 { echo "$as_me:$LINENO: result: no" >&5
42604 echo "${ECHO_T}no" >&6; }
42605 if test "$SDL_CONFIG" = "no" ; then
42606 echo "*** The sdl-config script installed by SDL could not be found"
42607 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42608 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42609 echo "*** full path to sdl-config."
42610 else
42611 if test -f conf.sdltest ; then
42612 :
42613 else
42614 echo "*** Could not run SDL test program, checking why..."
42615 CFLAGS="$CFLAGS $SDL_CFLAGS"
42616 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42617 LIBS="$LIBS $SDL_LIBS"
42618 cat >conftest.$ac_ext <<_ACEOF
42619 /* confdefs.h. */
42620 _ACEOF
42621 cat confdefs.h >>conftest.$ac_ext
42622 cat >>conftest.$ac_ext <<_ACEOF
42623 /* end confdefs.h. */
42624
42625 #include <stdio.h>
42626 #include "SDL.h"
42627
42628 int main(int argc, char *argv[])
42629 { return 0; }
42630 #undef main
42631 #define main K_and_R_C_main
42632
42633 int
42634 main ()
42635 {
42636 return 0;
42637 ;
42638 return 0;
42639 }
42640 _ACEOF
42641 rm -f conftest.$ac_objext conftest$ac_exeext
42642 if { (ac_try="$ac_link"
42643 case "(($ac_try" in
42644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42645 *) ac_try_echo=$ac_try;;
42646 esac
42647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42648 (eval "$ac_link") 2>conftest.er1
42649 ac_status=$?
42650 grep -v '^ *+' conftest.er1 >conftest.err
42651 rm -f conftest.er1
42652 cat conftest.err >&5
42653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42654 (exit $ac_status); } && {
42655 test -z "$ac_c_werror_flag" ||
42656 test ! -s conftest.err
42657 } && test -s conftest$ac_exeext &&
42658 $as_test_x conftest$ac_exeext; then
42659 echo "*** The test program compiled, but did not run. This usually means"
42660 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42661 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42662 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42663 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42664 echo "*** is required on your system"
42665 echo "***"
42666 echo "*** If you have an old version installed, it is best to remove it, although"
42667 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42668 else
42669 echo "$as_me: failed program was:" >&5
42670 sed 's/^/| /' conftest.$ac_ext >&5
42671
42672 echo "*** The test program failed to compile or link. See the file config.log for the"
42673 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42674 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42675 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42676 fi
42677
42678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42679 conftest$ac_exeext conftest.$ac_ext
42680 CFLAGS="$ac_save_CFLAGS"
42681 CXXFLAGS="$ac_save_CXXFLAGS"
42682 LIBS="$ac_save_LIBS"
42683 fi
42684 fi
42685 SDL_CFLAGS=""
42686 SDL_LIBS=""
42687 wxUSE_LIBSDL="no"
42688 fi
42689
42690
42691 rm -f conf.sdltest
42692
42693 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42694 WITH_PLUGIN_SDL=1
42695 fi
42696 fi
42697 else
42698 if test "$wxUSE_MGL" = 1; then
42699 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42700 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42701 wxUSE_SOUND="no"
42702 fi
42703 fi
42704 fi
42705
42706 if test "$wxUSE_SOUND" = "yes"; then
42707 cat >>confdefs.h <<\_ACEOF
42708 #define wxUSE_SOUND 1
42709 _ACEOF
42710
42711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42712 fi
42713
42714 if test "$WXGTK2" = 1; then
42715
42716
42717 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42718 if test -n "$ac_tool_prefix"; then
42719 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42720 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42723 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42724 echo $ECHO_N "(cached) $ECHO_C" >&6
42725 else
42726 case $PKG_CONFIG in
42727 [\\/]* | ?:[\\/]*)
42728 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42729 ;;
42730 *)
42731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42732 for as_dir in $PATH
42733 do
42734 IFS=$as_save_IFS
42735 test -z "$as_dir" && as_dir=.
42736 for ac_exec_ext in '' $ac_executable_extensions; do
42737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42738 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42740 break 2
42741 fi
42742 done
42743 done
42744 IFS=$as_save_IFS
42745
42746 ;;
42747 esac
42748 fi
42749 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42750 if test -n "$PKG_CONFIG"; then
42751 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42752 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42753 else
42754 { echo "$as_me:$LINENO: result: no" >&5
42755 echo "${ECHO_T}no" >&6; }
42756 fi
42757
42758
42759 fi
42760 if test -z "$ac_cv_path_PKG_CONFIG"; then
42761 ac_pt_PKG_CONFIG=$PKG_CONFIG
42762 # Extract the first word of "pkg-config", so it can be a program name with args.
42763 set dummy pkg-config; ac_word=$2
42764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42766 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42767 echo $ECHO_N "(cached) $ECHO_C" >&6
42768 else
42769 case $ac_pt_PKG_CONFIG in
42770 [\\/]* | ?:[\\/]*)
42771 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42772 ;;
42773 *)
42774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42775 for as_dir in $PATH
42776 do
42777 IFS=$as_save_IFS
42778 test -z "$as_dir" && as_dir=.
42779 for ac_exec_ext in '' $ac_executable_extensions; do
42780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42781 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42783 break 2
42784 fi
42785 done
42786 done
42787 IFS=$as_save_IFS
42788
42789 ;;
42790 esac
42791 fi
42792 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42793 if test -n "$ac_pt_PKG_CONFIG"; then
42794 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42795 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42796 else
42797 { echo "$as_me:$LINENO: result: no" >&5
42798 echo "${ECHO_T}no" >&6; }
42799 fi
42800
42801 if test "x$ac_pt_PKG_CONFIG" = x; then
42802 PKG_CONFIG=""
42803 else
42804 case $cross_compiling:$ac_tool_warned in
42805 yes:)
42806 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42807 whose name does not start with the host triplet. If you think this
42808 configuration is useful to you, please write to autoconf@gnu.org." >&5
42809 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42810 whose name does not start with the host triplet. If you think this
42811 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42812 ac_tool_warned=yes ;;
42813 esac
42814 PKG_CONFIG=$ac_pt_PKG_CONFIG
42815 fi
42816 else
42817 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42818 fi
42819
42820 fi
42821 if test -n "$PKG_CONFIG"; then
42822 _pkg_min_version=0.9.0
42823 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42824 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42825 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42826 { echo "$as_me:$LINENO: result: yes" >&5
42827 echo "${ECHO_T}yes" >&6; }
42828 else
42829 { echo "$as_me:$LINENO: result: no" >&5
42830 echo "${ECHO_T}no" >&6; }
42831 PKG_CONFIG=""
42832 fi
42833
42834 fi
42835
42836 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42837
42838 if test "$wxUSE_GTKPRINT" = "yes" ; then
42839
42840
42841 pkg_failed=no
42842 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42843 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42844
42845 if test -n "$PKG_CONFIG"; then
42846 if test -n "$GTKPRINT_CFLAGS"; then
42847 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42848 else
42849 if test -n "$PKG_CONFIG" && \
42850 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42851 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42852 ac_status=$?
42853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42854 (exit $ac_status); }; then
42855 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 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 "$GTKPRINT_LIBS"; then
42865 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42866 else
42867 if test -n "$PKG_CONFIG" && \
42868 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42869 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42870 ac_status=$?
42871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42872 (exit $ac_status); }; then
42873 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 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 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42893 else
42894 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42895 fi
42896 # Put the nasty error message in config.log where it belongs
42897 echo "$GTKPRINT_PKG_ERRORS" >&5
42898
42899
42900 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42901 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42902 wxUSE_GTKPRINT="no"
42903
42904
42905 elif test $pkg_failed = untried; then
42906
42907 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42908 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42909 wxUSE_GTKPRINT="no"
42910
42911
42912 else
42913 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42914 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42915 { echo "$as_me:$LINENO: result: yes" >&5
42916 echo "${ECHO_T}yes" >&6; }
42917
42918 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42919 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42920 cat >>confdefs.h <<\_ACEOF
42921 #define wxUSE_GTKPRINT 1
42922 _ACEOF
42923
42924
42925 fi
42926 fi
42927
42928 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42929
42930
42931 pkg_failed=no
42932 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42933 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42934
42935 if test -n "$PKG_CONFIG"; then
42936 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42937 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42938 else
42939 if test -n "$PKG_CONFIG" && \
42940 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42941 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42942 ac_status=$?
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); }; then
42945 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 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 "$LIBGNOMEPRINTUI_LIBS"; then
42955 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42956 else
42957 if test -n "$PKG_CONFIG" && \
42958 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42959 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42960 ac_status=$?
42961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42962 (exit $ac_status); }; then
42963 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 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 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42983 else
42984 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42985 fi
42986 # Put the nasty error message in config.log where it belongs
42987 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42988
42989
42990 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42991 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42992 wxUSE_LIBGNOMEPRINT="no"
42993
42994
42995 elif test $pkg_failed = untried; then
42996
42997 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42998 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42999 wxUSE_LIBGNOMEPRINT="no"
43000
43001
43002 else
43003 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43004 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43005 { echo "$as_me:$LINENO: result: yes" >&5
43006 echo "${ECHO_T}yes" >&6; }
43007
43008 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
43009 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43010 cat >>confdefs.h <<\_ACEOF
43011 #define wxUSE_LIBGNOMEPRINT 1
43012 _ACEOF
43013
43014
43015 fi
43016 fi
43017 fi
43018
43019 if test "$wxUSE_MIMETYPE" = "yes" ; then
43020 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43021
43022
43023 pkg_failed=no
43024 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43025 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
43026
43027 if test -n "$PKG_CONFIG"; then
43028 if test -n "$GNOMEVFS_CFLAGS"; then
43029 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43030 else
43031 if test -n "$PKG_CONFIG" && \
43032 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43033 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43034 ac_status=$?
43035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43036 (exit $ac_status); }; then
43037 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43038 else
43039 pkg_failed=yes
43040 fi
43041 fi
43042 else
43043 pkg_failed=untried
43044 fi
43045 if test -n "$PKG_CONFIG"; then
43046 if test -n "$GNOMEVFS_LIBS"; then
43047 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43048 else
43049 if test -n "$PKG_CONFIG" && \
43050 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43051 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43052 ac_status=$?
43053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43054 (exit $ac_status); }; then
43055 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43056 else
43057 pkg_failed=yes
43058 fi
43059 fi
43060 else
43061 pkg_failed=untried
43062 fi
43063
43064
43065
43066 if test $pkg_failed = yes; then
43067
43068 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43069 _pkg_short_errors_supported=yes
43070 else
43071 _pkg_short_errors_supported=no
43072 fi
43073 if test $_pkg_short_errors_supported = yes; then
43074 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43075 else
43076 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43077 fi
43078 # Put the nasty error message in config.log where it belongs
43079 echo "$GNOMEVFS_PKG_ERRORS" >&5
43080
43081
43082 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43083 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43084 wxUSE_LIBGNOMEVFS="no"
43085
43086
43087 elif test $pkg_failed = untried; then
43088
43089 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43090 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43091 wxUSE_LIBGNOMEVFS="no"
43092
43093
43094 else
43095 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43096 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43097 { echo "$as_me:$LINENO: result: yes" >&5
43098 echo "${ECHO_T}yes" >&6; }
43099
43100 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
43101 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43102 cat >>confdefs.h <<\_ACEOF
43103 #define wxUSE_LIBGNOMEVFS 1
43104 _ACEOF
43105
43106
43107 fi
43108 fi
43109 fi
43110
43111 if test "$wxUSE_LIBHILDON" = "yes" ; then
43112
43113 pkg_failed=no
43114 { echo "$as_me:$LINENO: checking for HILDON" >&5
43115 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
43116
43117 if test -n "$PKG_CONFIG"; then
43118 if test -n "$HILDON_CFLAGS"; then
43119 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43120 else
43121 if test -n "$PKG_CONFIG" && \
43122 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43123 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43124 ac_status=$?
43125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43126 (exit $ac_status); }; then
43127 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43128 else
43129 pkg_failed=yes
43130 fi
43131 fi
43132 else
43133 pkg_failed=untried
43134 fi
43135 if test -n "$PKG_CONFIG"; then
43136 if test -n "$HILDON_LIBS"; then
43137 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43138 else
43139 if test -n "$PKG_CONFIG" && \
43140 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43141 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43142 ac_status=$?
43143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43144 (exit $ac_status); }; then
43145 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43146 else
43147 pkg_failed=yes
43148 fi
43149 fi
43150 else
43151 pkg_failed=untried
43152 fi
43153
43154
43155
43156 if test $pkg_failed = yes; then
43157
43158 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43159 _pkg_short_errors_supported=yes
43160 else
43161 _pkg_short_errors_supported=no
43162 fi
43163 if test $_pkg_short_errors_supported = yes; then
43164 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43165 else
43166 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43167 fi
43168 # Put the nasty error message in config.log where it belongs
43169 echo "$HILDON_PKG_ERRORS" >&5
43170
43171
43172 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43173 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43174 wxUSE_LIBHILDON="no"
43175
43176
43177 elif test $pkg_failed = untried; then
43178
43179 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43180 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43181 wxUSE_LIBHILDON="no"
43182
43183
43184 else
43185 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43186 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43187 { echo "$as_me:$LINENO: result: yes" >&5
43188 echo "${ECHO_T}yes" >&6; }
43189
43190 EXTRALIBS_HILDON="$HILDON_LIBS"
43191 CFLAGS="$CFLAGS $HILDON_CFLAGS"
43192 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43193 cat >>confdefs.h <<\_ACEOF
43194 #define wxUSE_LIBHILDON 1
43195 _ACEOF
43196
43197
43198 fi
43199 fi
43200 fi
43201
43202 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43203 cat >>confdefs.h <<\_ACEOF
43204 #define wxUSE_CMDLINE_PARSER 1
43205 _ACEOF
43206
43207 fi
43208
43209 if test "$wxUSE_STOPWATCH" = "yes"; then
43210 cat >>confdefs.h <<\_ACEOF
43211 #define wxUSE_STOPWATCH 1
43212 _ACEOF
43213
43214 fi
43215
43216 if test "$wxUSE_DATETIME" = "yes"; then
43217 cat >>confdefs.h <<\_ACEOF
43218 #define wxUSE_DATETIME 1
43219 _ACEOF
43220
43221 fi
43222
43223 if test "$wxUSE_FILE" = "yes"; then
43224 cat >>confdefs.h <<\_ACEOF
43225 #define wxUSE_FILE 1
43226 _ACEOF
43227
43228 fi
43229
43230 if test "$wxUSE_FFILE" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_FFILE 1
43233 _ACEOF
43234
43235 fi
43236
43237 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43238 if test "$wxUSE_STREAMS" != yes; then
43239 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43240 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43241 wxUSE_ARCHIVE_STREAMS=no
43242 else
43243 cat >>confdefs.h <<\_ACEOF
43244 #define wxUSE_ARCHIVE_STREAMS 1
43245 _ACEOF
43246
43247 fi
43248 fi
43249
43250 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43251 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43252 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43253 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43254 elif test "$wxUSE_ZLIB" = "no"; then
43255 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43256 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43257 else
43258 cat >>confdefs.h <<\_ACEOF
43259 #define wxUSE_ZIPSTREAM 1
43260 _ACEOF
43261
43262 fi
43263 fi
43264
43265 if test "$wxUSE_TARSTREAM" = "yes"; then
43266 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43267 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43268 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43269 else
43270 cat >>confdefs.h <<\_ACEOF
43271 #define wxUSE_TARSTREAM 1
43272 _ACEOF
43273
43274 fi
43275 fi
43276
43277 if test "$wxUSE_FILESYSTEM" = "yes"; then
43278 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43279 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43280 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43281 wxUSE_FILESYSTEM=no
43282 else
43283 cat >>confdefs.h <<\_ACEOF
43284 #define wxUSE_FILESYSTEM 1
43285 _ACEOF
43286
43287 fi
43288 fi
43289
43290 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43291 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43292 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43293 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43294 else
43295 cat >>confdefs.h <<\_ACEOF
43296 #define wxUSE_FS_ARCHIVE 1
43297 _ACEOF
43298
43299 fi
43300 fi
43301
43302 if test "$wxUSE_FS_ZIP" = "yes"; then
43303 if test "$wxUSE_FS_ARCHIVE" != yes; then
43304 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43305 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43306 else
43307 cat >>confdefs.h <<\_ACEOF
43308 #define wxUSE_FS_ZIP 1
43309 _ACEOF
43310
43311 fi
43312 fi
43313
43314 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43315 if test "$USE_UNIX" != 1; then
43316 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43317 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43318 wxUSE_ON_FATAL_EXCEPTION=no
43319 else
43320 cat >>confdefs.h <<\_ACEOF
43321 #define wxUSE_ON_FATAL_EXCEPTION 1
43322 _ACEOF
43323
43324 fi
43325 fi
43326
43327 if test "$wxUSE_STACKWALKER" = "yes"; then
43328 cat >>confdefs.h <<\_ACEOF
43329 #define wxUSE_STACKWALKER 1
43330 _ACEOF
43331
43332 fi
43333
43334 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43335 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43336 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43337 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43338 wxUSE_DEBUGREPORT=no
43339 else
43340 cat >>confdefs.h <<\_ACEOF
43341 #define wxUSE_DEBUGREPORT 1
43342 _ACEOF
43343
43344 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43346 fi
43347 fi
43348 fi
43349
43350 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43351 cat >>confdefs.h <<\_ACEOF
43352 #define wxUSE_SNGLINST_CHECKER 1
43353 _ACEOF
43354
43355 fi
43356
43357 if test "$wxUSE_BUSYINFO" = "yes"; then
43358 cat >>confdefs.h <<\_ACEOF
43359 #define wxUSE_BUSYINFO 1
43360 _ACEOF
43361
43362 fi
43363
43364 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43365 cat >>confdefs.h <<\_ACEOF
43366 #define wxUSE_STD_IOSTREAM 1
43367 _ACEOF
43368
43369 fi
43370
43371 if test "$wxUSE_STD_STRING" = "yes"; then
43372 cat >>confdefs.h <<\_ACEOF
43373 #define wxUSE_STD_STRING 1
43374 _ACEOF
43375
43376 fi
43377
43378 if test "$wxUSE_STDPATHS" = "yes"; then
43379 cat >>confdefs.h <<\_ACEOF
43380 #define wxUSE_STDPATHS 1
43381 _ACEOF
43382
43383 fi
43384
43385 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43386 cat >>confdefs.h <<\_ACEOF
43387 #define wxUSE_TEXTBUFFER 1
43388 _ACEOF
43389
43390 fi
43391
43392 if test "$wxUSE_TEXTFILE" = "yes"; then
43393 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43394 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43395 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43396 else
43397 cat >>confdefs.h <<\_ACEOF
43398 #define wxUSE_TEXTFILE 1
43399 _ACEOF
43400
43401 fi
43402 fi
43403
43404 if test "$wxUSE_CONFIG" = "yes" ; then
43405 if test "$wxUSE_TEXTFILE" != "yes"; then
43406 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43407 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43408 else
43409 cat >>confdefs.h <<\_ACEOF
43410 #define wxUSE_CONFIG 1
43411 _ACEOF
43412
43413 cat >>confdefs.h <<\_ACEOF
43414 #define wxUSE_CONFIG_NATIVE 1
43415 _ACEOF
43416
43417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43418 fi
43419 fi
43420
43421 if test "$wxUSE_INTL" = "yes" ; then
43422 if test "$wxUSE_FILE" != "yes"; then
43423 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43424 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43425 else
43426 cat >>confdefs.h <<\_ACEOF
43427 #define wxUSE_INTL 1
43428 _ACEOF
43429
43430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43431 GUIDIST="$GUIDIST INTL_DIST"
43432 fi
43433 fi
43434
43435 if test "$wxUSE_XLOCALE" = "yes" ; then
43436 cat >>confdefs.h <<\_ACEOF
43437 #define wxUSE_XLOCALE 1
43438 _ACEOF
43439
43440 { echo "$as_me:$LINENO: checking for locale_t" >&5
43441 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43442 if test "${ac_cv_type_locale_t+set}" = set; then
43443 echo $ECHO_N "(cached) $ECHO_C" >&6
43444 else
43445 cat >conftest.$ac_ext <<_ACEOF
43446 /* confdefs.h. */
43447 _ACEOF
43448 cat confdefs.h >>conftest.$ac_ext
43449 cat >>conftest.$ac_ext <<_ACEOF
43450 /* end confdefs.h. */
43451 #include <xlocale.h>
43452 #include <locale.h>
43453
43454 typedef locale_t ac__type_new_;
43455 int
43456 main ()
43457 {
43458 if ((ac__type_new_ *) 0)
43459 return 0;
43460 if (sizeof (ac__type_new_))
43461 return 0;
43462 ;
43463 return 0;
43464 }
43465 _ACEOF
43466 rm -f conftest.$ac_objext
43467 if { (ac_try="$ac_compile"
43468 case "(($ac_try" in
43469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43470 *) ac_try_echo=$ac_try;;
43471 esac
43472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43473 (eval "$ac_compile") 2>conftest.er1
43474 ac_status=$?
43475 grep -v '^ *+' conftest.er1 >conftest.err
43476 rm -f conftest.er1
43477 cat conftest.err >&5
43478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43479 (exit $ac_status); } && {
43480 test -z "$ac_c_werror_flag" ||
43481 test ! -s conftest.err
43482 } && test -s conftest.$ac_objext; then
43483 ac_cv_type_locale_t=yes
43484 else
43485 echo "$as_me: failed program was:" >&5
43486 sed 's/^/| /' conftest.$ac_ext >&5
43487
43488 ac_cv_type_locale_t=no
43489 fi
43490
43491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43492 fi
43493 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43494 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43495 if test $ac_cv_type_locale_t = yes; then
43496
43497 cat >>confdefs.h <<_ACEOF
43498 #define HAVE_LOCALE_T 1
43499 _ACEOF
43500
43501
43502 fi
43503
43504 fi
43505
43506 if test "$wxUSE_LOG" = "yes"; then
43507 cat >>confdefs.h <<\_ACEOF
43508 #define wxUSE_LOG 1
43509 _ACEOF
43510
43511
43512 if test "$wxUSE_LOGGUI" = "yes"; then
43513 cat >>confdefs.h <<\_ACEOF
43514 #define wxUSE_LOGGUI 1
43515 _ACEOF
43516
43517 fi
43518
43519 if test "$wxUSE_LOGWINDOW" = "yes"; then
43520 cat >>confdefs.h <<\_ACEOF
43521 #define wxUSE_LOGWINDOW 1
43522 _ACEOF
43523
43524 fi
43525
43526 if test "$wxUSE_LOGDIALOG" = "yes"; then
43527 cat >>confdefs.h <<\_ACEOF
43528 #define wxUSE_LOG_DIALOG 1
43529 _ACEOF
43530
43531 fi
43532
43533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43534 fi
43535
43536 if test "$wxUSE_LONGLONG" = "yes"; then
43537 cat >>confdefs.h <<\_ACEOF
43538 #define wxUSE_LONGLONG 1
43539 _ACEOF
43540
43541 fi
43542
43543 if test "$wxUSE_GEOMETRY" = "yes"; then
43544 cat >>confdefs.h <<\_ACEOF
43545 #define wxUSE_GEOMETRY 1
43546 _ACEOF
43547
43548 fi
43549
43550 if test "$wxUSE_BASE64" = "yes"; then
43551 cat >>confdefs.h <<\_ACEOF
43552 #define wxUSE_BASE64 1
43553 _ACEOF
43554
43555 fi
43556
43557 if test "$wxUSE_STREAMS" = "yes" ; then
43558 cat >>confdefs.h <<\_ACEOF
43559 #define wxUSE_STREAMS 1
43560 _ACEOF
43561
43562 fi
43563
43564 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43565 cat >>confdefs.h <<\_ACEOF
43566 #define wxUSE_PRINTF_POS_PARAMS 1
43567 _ACEOF
43568
43569 fi
43570
43571 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43572 cat >>confdefs.h <<\_ACEOF
43573 #define wxUSE_OBJC_UNIQUIFYING 1
43574 _ACEOF
43575
43576 fi
43577
43578
43579 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43580 cat >>confdefs.h <<\_ACEOF
43581 #define wxUSE_CONSOLE_EVENTLOOP 1
43582 _ACEOF
43583
43584
43585 if test "$wxUSE_UNIX" = "yes"; then
43586 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43587 cat >>confdefs.h <<\_ACEOF
43588 #define wxUSE_SELECT_DISPATCHER 1
43589 _ACEOF
43590
43591 fi
43592
43593 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43594
43595 for ac_header in sys/epoll.h
43596 do
43597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43600 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43601 echo $ECHO_N "(cached) $ECHO_C" >&6
43602 else
43603 cat >conftest.$ac_ext <<_ACEOF
43604 /* confdefs.h. */
43605 _ACEOF
43606 cat confdefs.h >>conftest.$ac_ext
43607 cat >>conftest.$ac_ext <<_ACEOF
43608 /* end confdefs.h. */
43609 $ac_includes_default
43610
43611 #include <$ac_header>
43612 _ACEOF
43613 rm -f conftest.$ac_objext
43614 if { (ac_try="$ac_compile"
43615 case "(($ac_try" in
43616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43617 *) ac_try_echo=$ac_try;;
43618 esac
43619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43620 (eval "$ac_compile") 2>conftest.er1
43621 ac_status=$?
43622 grep -v '^ *+' conftest.er1 >conftest.err
43623 rm -f conftest.er1
43624 cat conftest.err >&5
43625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43626 (exit $ac_status); } && {
43627 test -z "$ac_c_werror_flag" ||
43628 test ! -s conftest.err
43629 } && test -s conftest.$ac_objext; then
43630 eval "$as_ac_Header=yes"
43631 else
43632 echo "$as_me: failed program was:" >&5
43633 sed 's/^/| /' conftest.$ac_ext >&5
43634
43635 eval "$as_ac_Header=no"
43636 fi
43637
43638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43639 fi
43640 ac_res=`eval echo '${'$as_ac_Header'}'`
43641 { echo "$as_me:$LINENO: result: $ac_res" >&5
43642 echo "${ECHO_T}$ac_res" >&6; }
43643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43644 cat >>confdefs.h <<_ACEOF
43645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43646 _ACEOF
43647
43648 fi
43649
43650 done
43651
43652 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43653 cat >>confdefs.h <<\_ACEOF
43654 #define wxUSE_EPOLL_DISPATCHER 1
43655 _ACEOF
43656
43657 else
43658 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43659 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43660 fi
43661 fi
43662 fi
43663 fi
43664
43665
43666
43667
43668 for ac_func in gettimeofday ftime
43669 do
43670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43671 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43673 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43674 echo $ECHO_N "(cached) $ECHO_C" >&6
43675 else
43676 cat >conftest.$ac_ext <<_ACEOF
43677 /* confdefs.h. */
43678 _ACEOF
43679 cat confdefs.h >>conftest.$ac_ext
43680 cat >>conftest.$ac_ext <<_ACEOF
43681 /* end confdefs.h. */
43682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43684 #define $ac_func innocuous_$ac_func
43685
43686 /* System header to define __stub macros and hopefully few prototypes,
43687 which can conflict with char $ac_func (); below.
43688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43689 <limits.h> exists even on freestanding compilers. */
43690
43691 #ifdef __STDC__
43692 # include <limits.h>
43693 #else
43694 # include <assert.h>
43695 #endif
43696
43697 #undef $ac_func
43698
43699 /* Override any GCC internal prototype to avoid an error.
43700 Use char because int might match the return type of a GCC
43701 builtin and then its argument prototype would still apply. */
43702 #ifdef __cplusplus
43703 extern "C"
43704 #endif
43705 char $ac_func ();
43706 /* The GNU C library defines this for functions which it implements
43707 to always fail with ENOSYS. Some functions are actually named
43708 something starting with __ and the normal name is an alias. */
43709 #if defined __stub_$ac_func || defined __stub___$ac_func
43710 choke me
43711 #endif
43712
43713 int
43714 main ()
43715 {
43716 return $ac_func ();
43717 ;
43718 return 0;
43719 }
43720 _ACEOF
43721 rm -f conftest.$ac_objext conftest$ac_exeext
43722 if { (ac_try="$ac_link"
43723 case "(($ac_try" in
43724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43725 *) ac_try_echo=$ac_try;;
43726 esac
43727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43728 (eval "$ac_link") 2>conftest.er1
43729 ac_status=$?
43730 grep -v '^ *+' conftest.er1 >conftest.err
43731 rm -f conftest.er1
43732 cat conftest.err >&5
43733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43734 (exit $ac_status); } && {
43735 test -z "$ac_c_werror_flag" ||
43736 test ! -s conftest.err
43737 } && test -s conftest$ac_exeext &&
43738 $as_test_x conftest$ac_exeext; then
43739 eval "$as_ac_var=yes"
43740 else
43741 echo "$as_me: failed program was:" >&5
43742 sed 's/^/| /' conftest.$ac_ext >&5
43743
43744 eval "$as_ac_var=no"
43745 fi
43746
43747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43748 conftest$ac_exeext conftest.$ac_ext
43749 fi
43750 ac_res=`eval echo '${'$as_ac_var'}'`
43751 { echo "$as_me:$LINENO: result: $ac_res" >&5
43752 echo "${ECHO_T}$ac_res" >&6; }
43753 if test `eval echo '${'$as_ac_var'}'` = yes; then
43754 cat >>confdefs.h <<_ACEOF
43755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43756 _ACEOF
43757 break
43758 fi
43759 done
43760
43761
43762 if test "$ac_cv_func_gettimeofday" = "yes"; then
43763 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43764 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43765 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43766 echo $ECHO_N "(cached) $ECHO_C" >&6
43767 else
43768
43769 cat >conftest.$ac_ext <<_ACEOF
43770 /* confdefs.h. */
43771 _ACEOF
43772 cat confdefs.h >>conftest.$ac_ext
43773 cat >>conftest.$ac_ext <<_ACEOF
43774 /* end confdefs.h. */
43775
43776 #include <sys/time.h>
43777 #include <unistd.h>
43778
43779 int
43780 main ()
43781 {
43782
43783 struct timeval tv;
43784 gettimeofday(&tv, NULL);
43785
43786 ;
43787 return 0;
43788 }
43789 _ACEOF
43790 rm -f conftest.$ac_objext
43791 if { (ac_try="$ac_compile"
43792 case "(($ac_try" in
43793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43794 *) ac_try_echo=$ac_try;;
43795 esac
43796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43797 (eval "$ac_compile") 2>conftest.er1
43798 ac_status=$?
43799 grep -v '^ *+' conftest.er1 >conftest.err
43800 rm -f conftest.er1
43801 cat conftest.err >&5
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); } && {
43804 test -z "$ac_c_werror_flag" ||
43805 test ! -s conftest.err
43806 } && test -s conftest.$ac_objext; then
43807 wx_cv_func_gettimeofday_has_2_args=yes
43808 else
43809 echo "$as_me: failed program was:" >&5
43810 sed 's/^/| /' conftest.$ac_ext >&5
43811
43812 cat >conftest.$ac_ext <<_ACEOF
43813 /* confdefs.h. */
43814 _ACEOF
43815 cat confdefs.h >>conftest.$ac_ext
43816 cat >>conftest.$ac_ext <<_ACEOF
43817 /* end confdefs.h. */
43818
43819 #include <sys/time.h>
43820 #include <unistd.h>
43821
43822 int
43823 main ()
43824 {
43825
43826 struct timeval tv;
43827 gettimeofday(&tv);
43828
43829 ;
43830 return 0;
43831 }
43832 _ACEOF
43833 rm -f conftest.$ac_objext
43834 if { (ac_try="$ac_compile"
43835 case "(($ac_try" in
43836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43837 *) ac_try_echo=$ac_try;;
43838 esac
43839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43840 (eval "$ac_compile") 2>conftest.er1
43841 ac_status=$?
43842 grep -v '^ *+' conftest.er1 >conftest.err
43843 rm -f conftest.er1
43844 cat conftest.err >&5
43845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43846 (exit $ac_status); } && {
43847 test -z "$ac_c_werror_flag" ||
43848 test ! -s conftest.err
43849 } && test -s conftest.$ac_objext; then
43850 wx_cv_func_gettimeofday_has_2_args=no
43851 else
43852 echo "$as_me: failed program was:" >&5
43853 sed 's/^/| /' conftest.$ac_ext >&5
43854
43855
43856 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43857 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43858 wx_cv_func_gettimeofday_has_2_args=unknown
43859
43860
43861 fi
43862
43863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43864
43865 fi
43866
43867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43868
43869 fi
43870 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43871 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43872
43873 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43874 cat >>confdefs.h <<\_ACEOF
43875 #define WX_GETTIMEOFDAY_NO_TZ 1
43876 _ACEOF
43877
43878 fi
43879 fi
43880
43881 if test "$wxUSE_DATETIME" = "yes"; then
43882 { echo "$as_me:$LINENO: checking for strptime" >&5
43883 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43884 if test "${ac_cv_func_strptime+set}" = set; then
43885 echo $ECHO_N "(cached) $ECHO_C" >&6
43886 else
43887 cat >conftest.$ac_ext <<_ACEOF
43888 /* confdefs.h. */
43889 _ACEOF
43890 cat confdefs.h >>conftest.$ac_ext
43891 cat >>conftest.$ac_ext <<_ACEOF
43892 /* end confdefs.h. */
43893 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43894 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43895 #define strptime innocuous_strptime
43896
43897 /* System header to define __stub macros and hopefully few prototypes,
43898 which can conflict with char strptime (); below.
43899 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43900 <limits.h> exists even on freestanding compilers. */
43901
43902 #ifdef __STDC__
43903 # include <limits.h>
43904 #else
43905 # include <assert.h>
43906 #endif
43907
43908 #undef strptime
43909
43910 /* Override any GCC internal prototype to avoid an error.
43911 Use char because int might match the return type of a GCC
43912 builtin and then its argument prototype would still apply. */
43913 #ifdef __cplusplus
43914 extern "C"
43915 #endif
43916 char strptime ();
43917 /* The GNU C library defines this for functions which it implements
43918 to always fail with ENOSYS. Some functions are actually named
43919 something starting with __ and the normal name is an alias. */
43920 #if defined __stub_strptime || defined __stub___strptime
43921 choke me
43922 #endif
43923
43924 int
43925 main ()
43926 {
43927 return strptime ();
43928 ;
43929 return 0;
43930 }
43931 _ACEOF
43932 rm -f conftest.$ac_objext conftest$ac_exeext
43933 if { (ac_try="$ac_link"
43934 case "(($ac_try" in
43935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43936 *) ac_try_echo=$ac_try;;
43937 esac
43938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43939 (eval "$ac_link") 2>conftest.er1
43940 ac_status=$?
43941 grep -v '^ *+' conftest.er1 >conftest.err
43942 rm -f conftest.er1
43943 cat conftest.err >&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); } && {
43946 test -z "$ac_c_werror_flag" ||
43947 test ! -s conftest.err
43948 } && test -s conftest$ac_exeext &&
43949 $as_test_x conftest$ac_exeext; then
43950 ac_cv_func_strptime=yes
43951 else
43952 echo "$as_me: failed program was:" >&5
43953 sed 's/^/| /' conftest.$ac_ext >&5
43954
43955 ac_cv_func_strptime=no
43956 fi
43957
43958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43959 conftest$ac_exeext conftest.$ac_ext
43960 fi
43961 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43962 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43963
43964 if test "$ac_cv_func_strptime" = "yes"; then
43965 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43966 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43967 if test "${wx_cv_func_strptime_decl+set}" = set; then
43968 echo $ECHO_N "(cached) $ECHO_C" >&6
43969 else
43970
43971 ac_ext=cpp
43972 ac_cpp='$CXXCPP $CPPFLAGS'
43973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43976
43977 cat >conftest.$ac_ext <<_ACEOF
43978 /* confdefs.h. */
43979 _ACEOF
43980 cat confdefs.h >>conftest.$ac_ext
43981 cat >>conftest.$ac_ext <<_ACEOF
43982 /* end confdefs.h. */
43983
43984 #include <time.h>
43985
43986 int
43987 main ()
43988 {
43989
43990 struct tm t;
43991 strptime("foo", "bar", &t);
43992
43993 ;
43994 return 0;
43995 }
43996 _ACEOF
43997 rm -f conftest.$ac_objext
43998 if { (ac_try="$ac_compile"
43999 case "(($ac_try" in
44000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44001 *) ac_try_echo=$ac_try;;
44002 esac
44003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44004 (eval "$ac_compile") 2>conftest.er1
44005 ac_status=$?
44006 grep -v '^ *+' conftest.er1 >conftest.err
44007 rm -f conftest.er1
44008 cat conftest.err >&5
44009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44010 (exit $ac_status); } && {
44011 test -z "$ac_cxx_werror_flag" ||
44012 test ! -s conftest.err
44013 } && test -s conftest.$ac_objext; then
44014 wx_cv_func_strptime_decl=yes
44015 else
44016 echo "$as_me: failed program was:" >&5
44017 sed 's/^/| /' conftest.$ac_ext >&5
44018
44019 wx_cv_func_strptime_decl=no
44020
44021 fi
44022
44023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44024 ac_ext=c
44025 ac_cpp='$CPP $CPPFLAGS'
44026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44029
44030
44031
44032 fi
44033 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44034 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
44035 fi
44036 if test "$wx_cv_func_strptime_decl" = "yes"; then
44037 cat >>confdefs.h <<\_ACEOF
44038 #define HAVE_STRPTIME_DECL 1
44039 _ACEOF
44040
44041 else
44042 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
44043 fi
44044 if test "$ac_cv_func_strptime" = "yes"; then
44045 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
44046 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
44047 if test "${wx_cv_func_strptime_ok+set}" = set; then
44048 echo $ECHO_N "(cached) $ECHO_C" >&6
44049 else
44050 if test "$cross_compiling" = yes; then
44051 wx_cv_func_strptime_ok=no
44052
44053 else
44054 cat >conftest.$ac_ext <<_ACEOF
44055
44056 #include <stdlib.h>
44057 #include <time.h>
44058 #include "confdefs.h"
44059
44060 $wx_strptime_decl
44061
44062 int main()
44063 {
44064 struct tm t;
44065 return !!strptime("", "%x", &t);
44066 }
44067
44068 _ACEOF
44069 rm -f conftest$ac_exeext
44070 if { (ac_try="$ac_link"
44071 case "(($ac_try" in
44072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44073 *) ac_try_echo=$ac_try;;
44074 esac
44075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44076 (eval "$ac_link") 2>&5
44077 ac_status=$?
44078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44080 { (case "(($ac_try" in
44081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44082 *) ac_try_echo=$ac_try;;
44083 esac
44084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44085 (eval "$ac_try") 2>&5
44086 ac_status=$?
44087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44088 (exit $ac_status); }; }; then
44089 wx_cv_func_strptime_ok=yes
44090 else
44091 echo "$as_me: program exited with status $ac_status" >&5
44092 echo "$as_me: failed program was:" >&5
44093 sed 's/^/| /' conftest.$ac_ext >&5
44094
44095 ( exit $ac_status )
44096 wx_cv_func_strptime_ok=no
44097 fi
44098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44099 fi
44100
44101
44102
44103 fi
44104 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
44105 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
44106
44107 if test "$wx_cv_func_strptime_ok" = "yes"; then
44108 cat >>confdefs.h <<\_ACEOF
44109 #define HAVE_STRPTIME 1
44110 _ACEOF
44111
44112 fi
44113 fi
44114
44115 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44116 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
44117 if test "${wx_cv_var_timezone+set}" = set; then
44118 echo $ECHO_N "(cached) $ECHO_C" >&6
44119 else
44120
44121 ac_ext=cpp
44122 ac_cpp='$CXXCPP $CPPFLAGS'
44123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44126
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
44134 #include <time.h>
44135
44136 int
44137 main ()
44138 {
44139
44140 int tz;
44141 tz = timezone;
44142
44143 ;
44144 return 0;
44145 }
44146 _ACEOF
44147 rm -f conftest.$ac_objext
44148 if { (ac_try="$ac_compile"
44149 case "(($ac_try" in
44150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44151 *) ac_try_echo=$ac_try;;
44152 esac
44153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44154 (eval "$ac_compile") 2>conftest.er1
44155 ac_status=$?
44156 grep -v '^ *+' conftest.er1 >conftest.err
44157 rm -f conftest.er1
44158 cat conftest.err >&5
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); } && {
44161 test -z "$ac_cxx_werror_flag" ||
44162 test ! -s conftest.err
44163 } && test -s conftest.$ac_objext; then
44164
44165 wx_cv_var_timezone=timezone
44166
44167 else
44168 echo "$as_me: failed program was:" >&5
44169 sed 's/^/| /' conftest.$ac_ext >&5
44170
44171
44172 cat >conftest.$ac_ext <<_ACEOF
44173 /* confdefs.h. */
44174 _ACEOF
44175 cat confdefs.h >>conftest.$ac_ext
44176 cat >>conftest.$ac_ext <<_ACEOF
44177 /* end confdefs.h. */
44178
44179 #include <time.h>
44180
44181 int
44182 main ()
44183 {
44184
44185 int tz;
44186 tz = _timezone;
44187
44188 ;
44189 return 0;
44190 }
44191 _ACEOF
44192 rm -f conftest.$ac_objext
44193 if { (ac_try="$ac_compile"
44194 case "(($ac_try" in
44195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44196 *) ac_try_echo=$ac_try;;
44197 esac
44198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44199 (eval "$ac_compile") 2>conftest.er1
44200 ac_status=$?
44201 grep -v '^ *+' conftest.er1 >conftest.err
44202 rm -f conftest.er1
44203 cat conftest.err >&5
44204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44205 (exit $ac_status); } && {
44206 test -z "$ac_cxx_werror_flag" ||
44207 test ! -s conftest.err
44208 } && test -s conftest.$ac_objext; then
44209
44210 wx_cv_var_timezone=_timezone
44211
44212 else
44213 echo "$as_me: failed program was:" >&5
44214 sed 's/^/| /' conftest.$ac_ext >&5
44215
44216
44217 cat >conftest.$ac_ext <<_ACEOF
44218 /* confdefs.h. */
44219 _ACEOF
44220 cat confdefs.h >>conftest.$ac_ext
44221 cat >>conftest.$ac_ext <<_ACEOF
44222 /* end confdefs.h. */
44223
44224 #include <time.h>
44225
44226 int
44227 main ()
44228 {
44229
44230 int tz;
44231 tz = __timezone;
44232
44233 ;
44234 return 0;
44235 }
44236 _ACEOF
44237 rm -f conftest.$ac_objext
44238 if { (ac_try="$ac_compile"
44239 case "(($ac_try" in
44240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44241 *) ac_try_echo=$ac_try;;
44242 esac
44243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44244 (eval "$ac_compile") 2>conftest.er1
44245 ac_status=$?
44246 grep -v '^ *+' conftest.er1 >conftest.err
44247 rm -f conftest.er1
44248 cat conftest.err >&5
44249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44250 (exit $ac_status); } && {
44251 test -z "$ac_cxx_werror_flag" ||
44252 test ! -s conftest.err
44253 } && test -s conftest.$ac_objext; then
44254
44255 wx_cv_var_timezone=__timezone
44256
44257 else
44258 echo "$as_me: failed program was:" >&5
44259 sed 's/^/| /' conftest.$ac_ext >&5
44260
44261
44262 if test "$USE_DOS" = 0 ; then
44263 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44264 echo "$as_me: WARNING: no timezone variable" >&2;}
44265 fi
44266
44267
44268 fi
44269
44270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44271
44272
44273 fi
44274
44275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44276
44277
44278 fi
44279
44280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44281 ac_ext=c
44282 ac_cpp='$CPP $CPPFLAGS'
44283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44286
44287
44288
44289 fi
44290 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44291 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
44292
44293 if test "x$wx_cv_var_timezone" != x ; then
44294 cat >>confdefs.h <<_ACEOF
44295 #define WX_TIMEZONE $wx_cv_var_timezone
44296 _ACEOF
44297
44298 fi
44299
44300
44301 for ac_func in localtime
44302 do
44303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44307 echo $ECHO_N "(cached) $ECHO_C" >&6
44308 else
44309 cat >conftest.$ac_ext <<_ACEOF
44310 /* confdefs.h. */
44311 _ACEOF
44312 cat confdefs.h >>conftest.$ac_ext
44313 cat >>conftest.$ac_ext <<_ACEOF
44314 /* end confdefs.h. */
44315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44317 #define $ac_func innocuous_$ac_func
44318
44319 /* System header to define __stub macros and hopefully few prototypes,
44320 which can conflict with char $ac_func (); below.
44321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44322 <limits.h> exists even on freestanding compilers. */
44323
44324 #ifdef __STDC__
44325 # include <limits.h>
44326 #else
44327 # include <assert.h>
44328 #endif
44329
44330 #undef $ac_func
44331
44332 /* Override any GCC internal prototype to avoid an error.
44333 Use char because int might match the return type of a GCC
44334 builtin and then its argument prototype would still apply. */
44335 #ifdef __cplusplus
44336 extern "C"
44337 #endif
44338 char $ac_func ();
44339 /* The GNU C library defines this for functions which it implements
44340 to always fail with ENOSYS. Some functions are actually named
44341 something starting with __ and the normal name is an alias. */
44342 #if defined __stub_$ac_func || defined __stub___$ac_func
44343 choke me
44344 #endif
44345
44346 int
44347 main ()
44348 {
44349 return $ac_func ();
44350 ;
44351 return 0;
44352 }
44353 _ACEOF
44354 rm -f conftest.$ac_objext conftest$ac_exeext
44355 if { (ac_try="$ac_link"
44356 case "(($ac_try" in
44357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44358 *) ac_try_echo=$ac_try;;
44359 esac
44360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44361 (eval "$ac_link") 2>conftest.er1
44362 ac_status=$?
44363 grep -v '^ *+' conftest.er1 >conftest.err
44364 rm -f conftest.er1
44365 cat conftest.err >&5
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); } && {
44368 test -z "$ac_c_werror_flag" ||
44369 test ! -s conftest.err
44370 } && test -s conftest$ac_exeext &&
44371 $as_test_x conftest$ac_exeext; then
44372 eval "$as_ac_var=yes"
44373 else
44374 echo "$as_me: failed program was:" >&5
44375 sed 's/^/| /' conftest.$ac_ext >&5
44376
44377 eval "$as_ac_var=no"
44378 fi
44379
44380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44381 conftest$ac_exeext conftest.$ac_ext
44382 fi
44383 ac_res=`eval echo '${'$as_ac_var'}'`
44384 { echo "$as_me:$LINENO: result: $ac_res" >&5
44385 echo "${ECHO_T}$ac_res" >&6; }
44386 if test `eval echo '${'$as_ac_var'}'` = yes; then
44387 cat >>confdefs.h <<_ACEOF
44388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44389 _ACEOF
44390
44391 fi
44392 done
44393
44394
44395 if test "$ac_cv_func_localtime" = "yes"; then
44396 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44397 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44398 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44399 echo $ECHO_N "(cached) $ECHO_C" >&6
44400 else
44401
44402 cat >conftest.$ac_ext <<_ACEOF
44403 /* confdefs.h. */
44404 _ACEOF
44405 cat confdefs.h >>conftest.$ac_ext
44406 cat >>conftest.$ac_ext <<_ACEOF
44407 /* end confdefs.h. */
44408
44409 #include <time.h>
44410
44411 int
44412 main ()
44413 {
44414
44415 struct tm tm;
44416 tm.tm_gmtoff++;
44417
44418 ;
44419 return 0;
44420 }
44421 _ACEOF
44422 rm -f conftest.$ac_objext
44423 if { (ac_try="$ac_compile"
44424 case "(($ac_try" in
44425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44426 *) ac_try_echo=$ac_try;;
44427 esac
44428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44429 (eval "$ac_compile") 2>conftest.er1
44430 ac_status=$?
44431 grep -v '^ *+' conftest.er1 >conftest.err
44432 rm -f conftest.er1
44433 cat conftest.err >&5
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); } && {
44436 test -z "$ac_c_werror_flag" ||
44437 test ! -s conftest.err
44438 } && test -s conftest.$ac_objext; then
44439
44440 wx_cv_struct_tm_has_gmtoff=yes
44441
44442 else
44443 echo "$as_me: failed program was:" >&5
44444 sed 's/^/| /' conftest.$ac_ext >&5
44445
44446 wx_cv_struct_tm_has_gmtoff=no
44447
44448 fi
44449
44450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44451
44452 fi
44453 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44454 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44455 fi
44456
44457 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44458 cat >>confdefs.h <<\_ACEOF
44459 #define WX_GMTOFF_IN_TM 1
44460 _ACEOF
44461
44462 fi
44463
44464 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44465 fi
44466
44467
44468 if test "$wxUSE_SOCKETS" = "yes"; then
44469 if test "$wxUSE_MGL" = 1; then
44470 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44471 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44472 wxUSE_SOCKETS="no"
44473 fi
44474 fi
44475
44476 if test "$wxUSE_SOCKETS" = "yes"; then
44477 if test "$TOOLKIT" != "MSW"; then
44478 { echo "$as_me:$LINENO: checking for socket" >&5
44479 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44480 if test "${ac_cv_func_socket+set}" = set; then
44481 echo $ECHO_N "(cached) $ECHO_C" >&6
44482 else
44483 cat >conftest.$ac_ext <<_ACEOF
44484 /* confdefs.h. */
44485 _ACEOF
44486 cat confdefs.h >>conftest.$ac_ext
44487 cat >>conftest.$ac_ext <<_ACEOF
44488 /* end confdefs.h. */
44489 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44491 #define socket innocuous_socket
44492
44493 /* System header to define __stub macros and hopefully few prototypes,
44494 which can conflict with char socket (); below.
44495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44496 <limits.h> exists even on freestanding compilers. */
44497
44498 #ifdef __STDC__
44499 # include <limits.h>
44500 #else
44501 # include <assert.h>
44502 #endif
44503
44504 #undef socket
44505
44506 /* Override any GCC internal prototype to avoid an error.
44507 Use char because int might match the return type of a GCC
44508 builtin and then its argument prototype would still apply. */
44509 #ifdef __cplusplus
44510 extern "C"
44511 #endif
44512 char socket ();
44513 /* The GNU C library defines this for functions which it implements
44514 to always fail with ENOSYS. Some functions are actually named
44515 something starting with __ and the normal name is an alias. */
44516 #if defined __stub_socket || defined __stub___socket
44517 choke me
44518 #endif
44519
44520 int
44521 main ()
44522 {
44523 return socket ();
44524 ;
44525 return 0;
44526 }
44527 _ACEOF
44528 rm -f conftest.$ac_objext conftest$ac_exeext
44529 if { (ac_try="$ac_link"
44530 case "(($ac_try" in
44531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44532 *) ac_try_echo=$ac_try;;
44533 esac
44534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44535 (eval "$ac_link") 2>conftest.er1
44536 ac_status=$?
44537 grep -v '^ *+' conftest.er1 >conftest.err
44538 rm -f conftest.er1
44539 cat conftest.err >&5
44540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44541 (exit $ac_status); } && {
44542 test -z "$ac_c_werror_flag" ||
44543 test ! -s conftest.err
44544 } && test -s conftest$ac_exeext &&
44545 $as_test_x conftest$ac_exeext; then
44546 ac_cv_func_socket=yes
44547 else
44548 echo "$as_me: failed program was:" >&5
44549 sed 's/^/| /' conftest.$ac_ext >&5
44550
44551 ac_cv_func_socket=no
44552 fi
44553
44554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44555 conftest$ac_exeext conftest.$ac_ext
44556 fi
44557 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44558 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44559 if test $ac_cv_func_socket = yes; then
44560 :
44561 else
44562
44563 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44564 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44565 if test "${ac_cv_lib_socket_socket+set}" = set; then
44566 echo $ECHO_N "(cached) $ECHO_C" >&6
44567 else
44568 ac_check_lib_save_LIBS=$LIBS
44569 LIBS="-lsocket $LIBS"
44570 cat >conftest.$ac_ext <<_ACEOF
44571 /* confdefs.h. */
44572 _ACEOF
44573 cat confdefs.h >>conftest.$ac_ext
44574 cat >>conftest.$ac_ext <<_ACEOF
44575 /* end confdefs.h. */
44576
44577 /* Override any GCC internal prototype to avoid an error.
44578 Use char because int might match the return type of a GCC
44579 builtin and then its argument prototype would still apply. */
44580 #ifdef __cplusplus
44581 extern "C"
44582 #endif
44583 char socket ();
44584 int
44585 main ()
44586 {
44587 return socket ();
44588 ;
44589 return 0;
44590 }
44591 _ACEOF
44592 rm -f conftest.$ac_objext conftest$ac_exeext
44593 if { (ac_try="$ac_link"
44594 case "(($ac_try" in
44595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44596 *) ac_try_echo=$ac_try;;
44597 esac
44598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44599 (eval "$ac_link") 2>conftest.er1
44600 ac_status=$?
44601 grep -v '^ *+' conftest.er1 >conftest.err
44602 rm -f conftest.er1
44603 cat conftest.err >&5
44604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44605 (exit $ac_status); } && {
44606 test -z "$ac_c_werror_flag" ||
44607 test ! -s conftest.err
44608 } && test -s conftest$ac_exeext &&
44609 $as_test_x conftest$ac_exeext; then
44610 ac_cv_lib_socket_socket=yes
44611 else
44612 echo "$as_me: failed program was:" >&5
44613 sed 's/^/| /' conftest.$ac_ext >&5
44614
44615 ac_cv_lib_socket_socket=no
44616 fi
44617
44618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44619 conftest$ac_exeext conftest.$ac_ext
44620 LIBS=$ac_check_lib_save_LIBS
44621 fi
44622 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44623 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44624 if test $ac_cv_lib_socket_socket = yes; then
44625 if test "$INET_LINK" != " -lsocket"; then
44626 INET_LINK="$INET_LINK -lsocket"
44627 fi
44628 else
44629
44630 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44631 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44632 wxUSE_SOCKETS=no
44633
44634
44635 fi
44636
44637
44638
44639 fi
44640
44641 fi
44642 fi
44643
44644 if test "$wxUSE_SOCKETS" = "yes" ; then
44645 if test "$TOOLKIT" != "MSW"; then
44646 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44647 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44648 if test "${wx_cv_type_getsockname3+set}" = set; then
44649 echo $ECHO_N "(cached) $ECHO_C" >&6
44650 else
44651
44652 ac_ext=cpp
44653 ac_cpp='$CXXCPP $CPPFLAGS'
44654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44657
44658 cat >conftest.$ac_ext <<_ACEOF
44659 /* confdefs.h. */
44660 _ACEOF
44661 cat confdefs.h >>conftest.$ac_ext
44662 cat >>conftest.$ac_ext <<_ACEOF
44663 /* end confdefs.h. */
44664
44665 #include <sys/types.h>
44666 #include <sys/socket.h>
44667
44668 int
44669 main ()
44670 {
44671
44672 socklen_t len;
44673 getsockname(0, 0, &len);
44674
44675 ;
44676 return 0;
44677 }
44678 _ACEOF
44679 rm -f conftest.$ac_objext
44680 if { (ac_try="$ac_compile"
44681 case "(($ac_try" in
44682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44683 *) ac_try_echo=$ac_try;;
44684 esac
44685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44686 (eval "$ac_compile") 2>conftest.er1
44687 ac_status=$?
44688 grep -v '^ *+' conftest.er1 >conftest.err
44689 rm -f conftest.er1
44690 cat conftest.err >&5
44691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44692 (exit $ac_status); } && {
44693 test -z "$ac_cxx_werror_flag" ||
44694 test ! -s conftest.err
44695 } && test -s conftest.$ac_objext; then
44696 wx_cv_type_getsockname3=socklen_t
44697 else
44698 echo "$as_me: failed program was:" >&5
44699 sed 's/^/| /' conftest.$ac_ext >&5
44700
44701
44702 CFLAGS_OLD="$CFLAGS"
44703 if test "$GCC" = yes ; then
44704 CFLAGS="-Werror $CFLAGS"
44705 fi
44706
44707 cat >conftest.$ac_ext <<_ACEOF
44708 /* confdefs.h. */
44709 _ACEOF
44710 cat confdefs.h >>conftest.$ac_ext
44711 cat >>conftest.$ac_ext <<_ACEOF
44712 /* end confdefs.h. */
44713
44714 #include <sys/types.h>
44715 #include <sys/socket.h>
44716
44717 int
44718 main ()
44719 {
44720
44721 size_t len;
44722 getsockname(0, 0, &len);
44723
44724 ;
44725 return 0;
44726 }
44727 _ACEOF
44728 rm -f conftest.$ac_objext
44729 if { (ac_try="$ac_compile"
44730 case "(($ac_try" in
44731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44732 *) ac_try_echo=$ac_try;;
44733 esac
44734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44735 (eval "$ac_compile") 2>conftest.er1
44736 ac_status=$?
44737 grep -v '^ *+' conftest.er1 >conftest.err
44738 rm -f conftest.er1
44739 cat conftest.err >&5
44740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44741 (exit $ac_status); } && {
44742 test -z "$ac_cxx_werror_flag" ||
44743 test ! -s conftest.err
44744 } && test -s conftest.$ac_objext; then
44745 wx_cv_type_getsockname3=size_t
44746 else
44747 echo "$as_me: failed program was:" >&5
44748 sed 's/^/| /' conftest.$ac_ext >&5
44749
44750 cat >conftest.$ac_ext <<_ACEOF
44751 /* confdefs.h. */
44752 _ACEOF
44753 cat confdefs.h >>conftest.$ac_ext
44754 cat >>conftest.$ac_ext <<_ACEOF
44755 /* end confdefs.h. */
44756
44757 #include <sys/types.h>
44758 #include <sys/socket.h>
44759
44760 int
44761 main ()
44762 {
44763
44764 int len;
44765 getsockname(0, 0, &len);
44766
44767 ;
44768 return 0;
44769 }
44770 _ACEOF
44771 rm -f conftest.$ac_objext
44772 if { (ac_try="$ac_compile"
44773 case "(($ac_try" in
44774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44775 *) ac_try_echo=$ac_try;;
44776 esac
44777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44778 (eval "$ac_compile") 2>conftest.er1
44779 ac_status=$?
44780 grep -v '^ *+' conftest.er1 >conftest.err
44781 rm -f conftest.er1
44782 cat conftest.err >&5
44783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44784 (exit $ac_status); } && {
44785 test -z "$ac_cxx_werror_flag" ||
44786 test ! -s conftest.err
44787 } && test -s conftest.$ac_objext; then
44788 wx_cv_type_getsockname3=int
44789 else
44790 echo "$as_me: failed program was:" >&5
44791 sed 's/^/| /' conftest.$ac_ext >&5
44792
44793 wx_cv_type_getsockname3=unknown
44794
44795 fi
44796
44797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44798
44799 fi
44800
44801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44802
44803 CFLAGS="$CFLAGS_OLD"
44804
44805
44806 fi
44807
44808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44809 ac_ext=c
44810 ac_cpp='$CPP $CPPFLAGS'
44811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44814
44815
44816 fi
44817 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44818 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44819
44820 if test "$wx_cv_type_getsockname3" = "unknown"; then
44821 wxUSE_SOCKETS=no
44822 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44823 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44824 else
44825 cat >>confdefs.h <<_ACEOF
44826 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44827 _ACEOF
44828
44829 fi
44830 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44831 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44832 if test "${wx_cv_type_getsockopt5+set}" = set; then
44833 echo $ECHO_N "(cached) $ECHO_C" >&6
44834 else
44835
44836 ac_ext=cpp
44837 ac_cpp='$CXXCPP $CPPFLAGS'
44838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44841
44842 cat >conftest.$ac_ext <<_ACEOF
44843 /* confdefs.h. */
44844 _ACEOF
44845 cat confdefs.h >>conftest.$ac_ext
44846 cat >>conftest.$ac_ext <<_ACEOF
44847 /* end confdefs.h. */
44848
44849 #include <sys/types.h>
44850 #include <sys/socket.h>
44851
44852 int
44853 main ()
44854 {
44855
44856 socklen_t len;
44857 getsockopt(0, 0, 0, 0, &len);
44858
44859 ;
44860 return 0;
44861 }
44862 _ACEOF
44863 rm -f conftest.$ac_objext
44864 if { (ac_try="$ac_compile"
44865 case "(($ac_try" in
44866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44867 *) ac_try_echo=$ac_try;;
44868 esac
44869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44870 (eval "$ac_compile") 2>conftest.er1
44871 ac_status=$?
44872 grep -v '^ *+' conftest.er1 >conftest.err
44873 rm -f conftest.er1
44874 cat conftest.err >&5
44875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44876 (exit $ac_status); } && {
44877 test -z "$ac_cxx_werror_flag" ||
44878 test ! -s conftest.err
44879 } && test -s conftest.$ac_objext; then
44880 wx_cv_type_getsockopt5=socklen_t
44881 else
44882 echo "$as_me: failed program was:" >&5
44883 sed 's/^/| /' conftest.$ac_ext >&5
44884
44885
44886 cat >conftest.$ac_ext <<_ACEOF
44887 /* confdefs.h. */
44888 _ACEOF
44889 cat confdefs.h >>conftest.$ac_ext
44890 cat >>conftest.$ac_ext <<_ACEOF
44891 /* end confdefs.h. */
44892
44893 #include <sys/types.h>
44894 #include <sys/socket.h>
44895
44896 int
44897 main ()
44898 {
44899
44900 size_t len;
44901 getsockopt(0, 0, 0, 0, &len);
44902
44903 ;
44904 return 0;
44905 }
44906 _ACEOF
44907 rm -f conftest.$ac_objext
44908 if { (ac_try="$ac_compile"
44909 case "(($ac_try" in
44910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44911 *) ac_try_echo=$ac_try;;
44912 esac
44913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44914 (eval "$ac_compile") 2>conftest.er1
44915 ac_status=$?
44916 grep -v '^ *+' conftest.er1 >conftest.err
44917 rm -f conftest.er1
44918 cat conftest.err >&5
44919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44920 (exit $ac_status); } && {
44921 test -z "$ac_cxx_werror_flag" ||
44922 test ! -s conftest.err
44923 } && test -s conftest.$ac_objext; then
44924 wx_cv_type_getsockopt5=size_t
44925 else
44926 echo "$as_me: failed program was:" >&5
44927 sed 's/^/| /' conftest.$ac_ext >&5
44928
44929 cat >conftest.$ac_ext <<_ACEOF
44930 /* confdefs.h. */
44931 _ACEOF
44932 cat confdefs.h >>conftest.$ac_ext
44933 cat >>conftest.$ac_ext <<_ACEOF
44934 /* end confdefs.h. */
44935
44936 #include <sys/types.h>
44937 #include <sys/socket.h>
44938
44939 int
44940 main ()
44941 {
44942
44943 int len;
44944 getsockopt(0, 0, 0, 0, &len);
44945
44946 ;
44947 return 0;
44948 }
44949 _ACEOF
44950 rm -f conftest.$ac_objext
44951 if { (ac_try="$ac_compile"
44952 case "(($ac_try" in
44953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44954 *) ac_try_echo=$ac_try;;
44955 esac
44956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44957 (eval "$ac_compile") 2>conftest.er1
44958 ac_status=$?
44959 grep -v '^ *+' conftest.er1 >conftest.err
44960 rm -f conftest.er1
44961 cat conftest.err >&5
44962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44963 (exit $ac_status); } && {
44964 test -z "$ac_cxx_werror_flag" ||
44965 test ! -s conftest.err
44966 } && test -s conftest.$ac_objext; then
44967 wx_cv_type_getsockopt5=int
44968 else
44969 echo "$as_me: failed program was:" >&5
44970 sed 's/^/| /' conftest.$ac_ext >&5
44971
44972 wx_cv_type_getsockopt5=unknown
44973
44974 fi
44975
44976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44977
44978 fi
44979
44980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44981
44982
44983 fi
44984
44985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44986 ac_ext=c
44987 ac_cpp='$CPP $CPPFLAGS'
44988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44991
44992
44993 fi
44994 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44995 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44996
44997 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44998 wxUSE_SOCKETS=no
44999 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45000 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45001 else
45002 cat >>confdefs.h <<_ACEOF
45003 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45004 _ACEOF
45005
45006 fi
45007 fi
45008 fi
45009
45010 if test "$wxUSE_SOCKETS" = "yes" ; then
45011 if test "$wxUSE_IPV6" = "yes"; then
45012 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
45013 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
45014 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
45015 echo $ECHO_N "(cached) $ECHO_C" >&6
45016 else
45017
45018 cat >conftest.$ac_ext <<_ACEOF
45019 /* confdefs.h. */
45020 _ACEOF
45021 cat confdefs.h >>conftest.$ac_ext
45022 cat >>conftest.$ac_ext <<_ACEOF
45023 /* end confdefs.h. */
45024
45025 #include <sys/types.h>
45026 #include <sys/socket.h>
45027 #include <netinet/in.h>
45028
45029 int
45030 main ()
45031 {
45032
45033 struct sockaddr_in6 sa6;
45034
45035 ;
45036 return 0;
45037 }
45038 _ACEOF
45039 rm -f conftest.$ac_objext
45040 if { (ac_try="$ac_compile"
45041 case "(($ac_try" in
45042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45043 *) ac_try_echo=$ac_try;;
45044 esac
45045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45046 (eval "$ac_compile") 2>conftest.er1
45047 ac_status=$?
45048 grep -v '^ *+' conftest.er1 >conftest.err
45049 rm -f conftest.er1
45050 cat conftest.err >&5
45051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052 (exit $ac_status); } && {
45053 test -z "$ac_c_werror_flag" ||
45054 test ! -s conftest.err
45055 } && test -s conftest.$ac_objext; then
45056 wx_cv_type_sockaddr_in6=yes
45057 else
45058 echo "$as_me: failed program was:" >&5
45059 sed 's/^/| /' conftest.$ac_ext >&5
45060
45061 wx_cv_type_sockaddr_in6=no
45062
45063 fi
45064
45065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45066
45067
45068 fi
45069 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
45070 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
45071
45072 if test "$wx_cv_type_sockaddr_in6"="yes"; then
45073 cat >>confdefs.h <<\_ACEOF
45074 #define wxUSE_IPV6 1
45075 _ACEOF
45076
45077 else
45078 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
45079 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
45080 fi
45081 fi
45082
45083 cat >>confdefs.h <<\_ACEOF
45084 #define wxUSE_SOCKETS 1
45085 _ACEOF
45086
45087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45088 fi
45089
45090 if test "$wxUSE_PROTOCOL" = "yes"; then
45091 if test "$wxUSE_SOCKETS" != "yes"; then
45092 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45093 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45094 wxUSE_PROTOCOL=no
45095 fi
45096 fi
45097
45098 if test "$wxUSE_PROTOCOL" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_PROTOCOL 1
45101 _ACEOF
45102
45103
45104 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45105 cat >>confdefs.h <<\_ACEOF
45106 #define wxUSE_PROTOCOL_HTTP 1
45107 _ACEOF
45108
45109 fi
45110 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45111 cat >>confdefs.h <<\_ACEOF
45112 #define wxUSE_PROTOCOL_FTP 1
45113 _ACEOF
45114
45115 fi
45116 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45117 cat >>confdefs.h <<\_ACEOF
45118 #define wxUSE_PROTOCOL_FILE 1
45119 _ACEOF
45120
45121 fi
45122 else
45123 if test "$wxUSE_FS_INET" = "yes"; then
45124 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45125 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45126 wxUSE_FS_INET="no"
45127 fi
45128 fi
45129
45130 if test "$wxUSE_URL" = "yes"; then
45131 if test "$wxUSE_PROTOCOL" != "yes"; then
45132 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45133 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45134 wxUSE_URL=no
45135 fi
45136 if test "$wxUSE_URL" = "yes"; then
45137 cat >>confdefs.h <<\_ACEOF
45138 #define wxUSE_URL 1
45139 _ACEOF
45140
45141 fi
45142 fi
45143
45144 if test "$wxUSE_VARIANT" = "yes"; then
45145 cat >>confdefs.h <<\_ACEOF
45146 #define wxUSE_VARIANT 1
45147 _ACEOF
45148
45149 fi
45150
45151 if test "$wxUSE_FS_INET" = "yes"; then
45152 cat >>confdefs.h <<\_ACEOF
45153 #define wxUSE_FS_INET 1
45154 _ACEOF
45155
45156 fi
45157
45158
45159 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45160 wxUSE_JOYSTICK=no
45161
45162 if test "$TOOLKIT" = "MSW"; then
45163 wxUSE_JOYSTICK=yes
45164
45165 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
45166 if test "$USE_DARWIN" = 1; then
45167 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45168 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
45169 ac_ext=cpp
45170 ac_cpp='$CXXCPP $CPPFLAGS'
45171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45174
45175 cat >conftest.$ac_ext <<_ACEOF
45176 /* confdefs.h. */
45177 _ACEOF
45178 cat confdefs.h >>conftest.$ac_ext
45179 cat >>conftest.$ac_ext <<_ACEOF
45180 /* end confdefs.h. */
45181 #include <IOKit/hid/IOHIDLib.h>
45182 int
45183 main ()
45184 {
45185 IOHIDQueueInterface *qi = NULL;
45186 IOHIDCallbackFunction cb = NULL;
45187 qi->setEventCallout(NULL, cb, NULL, NULL);
45188 ;
45189 return 0;
45190 }
45191 _ACEOF
45192 rm -f conftest.$ac_objext
45193 if { (ac_try="$ac_compile"
45194 case "(($ac_try" in
45195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45196 *) ac_try_echo=$ac_try;;
45197 esac
45198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45199 (eval "$ac_compile") 2>conftest.er1
45200 ac_status=$?
45201 grep -v '^ *+' conftest.er1 >conftest.err
45202 rm -f conftest.er1
45203 cat conftest.err >&5
45204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45205 (exit $ac_status); } && {
45206 test -z "$ac_cxx_werror_flag" ||
45207 test ! -s conftest.err
45208 } && test -s conftest.$ac_objext; then
45209 wxUSE_JOYSTICK=yes
45210
45211 else
45212 echo "$as_me: failed program was:" >&5
45213 sed 's/^/| /' conftest.$ac_ext >&5
45214
45215
45216 fi
45217
45218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45219 ac_ext=c
45220 ac_cpp='$CPP $CPPFLAGS'
45221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45224
45225 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45226 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
45227 fi
45228
45229 else
45230 if test "$wxUSE_MGL" != 1; then
45231
45232 for ac_header in linux/joystick.h
45233 do
45234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45235 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45238 echo $ECHO_N "(cached) $ECHO_C" >&6
45239 else
45240 cat >conftest.$ac_ext <<_ACEOF
45241 /* confdefs.h. */
45242 _ACEOF
45243 cat confdefs.h >>conftest.$ac_ext
45244 cat >>conftest.$ac_ext <<_ACEOF
45245 /* end confdefs.h. */
45246 $ac_includes_default
45247
45248 #include <$ac_header>
45249 _ACEOF
45250 rm -f conftest.$ac_objext
45251 if { (ac_try="$ac_compile"
45252 case "(($ac_try" in
45253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45254 *) ac_try_echo=$ac_try;;
45255 esac
45256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45257 (eval "$ac_compile") 2>conftest.er1
45258 ac_status=$?
45259 grep -v '^ *+' conftest.er1 >conftest.err
45260 rm -f conftest.er1
45261 cat conftest.err >&5
45262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45263 (exit $ac_status); } && {
45264 test -z "$ac_c_werror_flag" ||
45265 test ! -s conftest.err
45266 } && test -s conftest.$ac_objext; then
45267 eval "$as_ac_Header=yes"
45268 else
45269 echo "$as_me: failed program was:" >&5
45270 sed 's/^/| /' conftest.$ac_ext >&5
45271
45272 eval "$as_ac_Header=no"
45273 fi
45274
45275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45276 fi
45277 ac_res=`eval echo '${'$as_ac_Header'}'`
45278 { echo "$as_me:$LINENO: result: $ac_res" >&5
45279 echo "${ECHO_T}$ac_res" >&6; }
45280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45281 cat >>confdefs.h <<_ACEOF
45282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45283 _ACEOF
45284 wxUSE_JOYSTICK=yes
45285 fi
45286
45287 done
45288
45289 fi
45290 fi
45291
45292 if test "$wxUSE_JOYSTICK" = "yes"; then
45293 cat >>confdefs.h <<\_ACEOF
45294 #define wxUSE_JOYSTICK 1
45295 _ACEOF
45296
45297 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45298 else
45299 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45300 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45301 fi
45302 fi
45303
45304
45305
45306 if test "$wxUSE_FONTENUM" = "yes" ; then
45307 cat >>confdefs.h <<\_ACEOF
45308 #define wxUSE_FONTENUM 1
45309 _ACEOF
45310
45311 fi
45312
45313 if test "$wxUSE_FONTMAP" = "yes" ; then
45314 cat >>confdefs.h <<\_ACEOF
45315 #define wxUSE_FONTMAP 1
45316 _ACEOF
45317
45318 fi
45319
45320 if test "$wxUSE_UNICODE" = "yes" ; then
45321 cat >>confdefs.h <<\_ACEOF
45322 #define wxUSE_UNICODE 1
45323 _ACEOF
45324
45325
45326 if test "$USE_WIN32" != 1; then
45327 wxUSE_UNICODE_MSLU=no
45328 fi
45329
45330 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45331 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45332 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45333 if test "${ac_cv_lib_unicows_main+set}" = set; then
45334 echo $ECHO_N "(cached) $ECHO_C" >&6
45335 else
45336 ac_check_lib_save_LIBS=$LIBS
45337 LIBS="-lunicows $LIBS"
45338 cat >conftest.$ac_ext <<_ACEOF
45339 /* confdefs.h. */
45340 _ACEOF
45341 cat confdefs.h >>conftest.$ac_ext
45342 cat >>conftest.$ac_ext <<_ACEOF
45343 /* end confdefs.h. */
45344
45345
45346 int
45347 main ()
45348 {
45349 return main ();
45350 ;
45351 return 0;
45352 }
45353 _ACEOF
45354 rm -f conftest.$ac_objext conftest$ac_exeext
45355 if { (ac_try="$ac_link"
45356 case "(($ac_try" in
45357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45358 *) ac_try_echo=$ac_try;;
45359 esac
45360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45361 (eval "$ac_link") 2>conftest.er1
45362 ac_status=$?
45363 grep -v '^ *+' conftest.er1 >conftest.err
45364 rm -f conftest.er1
45365 cat conftest.err >&5
45366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45367 (exit $ac_status); } && {
45368 test -z "$ac_c_werror_flag" ||
45369 test ! -s conftest.err
45370 } && test -s conftest$ac_exeext &&
45371 $as_test_x conftest$ac_exeext; then
45372 ac_cv_lib_unicows_main=yes
45373 else
45374 echo "$as_me: failed program was:" >&5
45375 sed 's/^/| /' conftest.$ac_ext >&5
45376
45377 ac_cv_lib_unicows_main=no
45378 fi
45379
45380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45381 conftest$ac_exeext conftest.$ac_ext
45382 LIBS=$ac_check_lib_save_LIBS
45383 fi
45384 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45385 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45386 if test $ac_cv_lib_unicows_main = yes; then
45387
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_UNICODE_MSLU 1
45390 _ACEOF
45391
45392
45393 else
45394
45395 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45396 Applications will only run on Windows NT/2000/XP!" >&5
45397 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45398 Applications will only run on Windows NT/2000/XP!" >&2;}
45399 wxUSE_UNICODE_MSLU=no
45400
45401 fi
45402
45403 fi
45404 fi
45405
45406 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_UNICODE_UTF8 1
45409 _ACEOF
45410
45411
45412 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45413 cat >>confdefs.h <<\_ACEOF
45414 #define wxUSE_UTF8_LOCALE_ONLY 1
45415 _ACEOF
45416
45417 fi
45418 fi
45419
45420
45421 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45422 cat >>confdefs.h <<\_ACEOF
45423 #define wxUSE_CONSTRAINTS 1
45424 _ACEOF
45425
45426 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45427 fi
45428
45429 if test "$wxUSE_MDI" = "yes"; then
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_MDI 1
45432 _ACEOF
45433
45434
45435 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45436 cat >>confdefs.h <<\_ACEOF
45437 #define wxUSE_MDI_ARCHITECTURE 1
45438 _ACEOF
45439
45440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45441 fi
45442 fi
45443
45444 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45445 cat >>confdefs.h <<\_ACEOF
45446 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45447 _ACEOF
45448
45449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45450 fi
45451
45452 if test "$wxUSE_HELP" = "yes"; then
45453 cat >>confdefs.h <<\_ACEOF
45454 #define wxUSE_HELP 1
45455 _ACEOF
45456
45457 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45458
45459 if test "$wxUSE_MSW" = 1; then
45460 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_MS_HTML_HELP 1
45463 _ACEOF
45464
45465 fi
45466 fi
45467
45468 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45469 if test "$wxUSE_HTML" = "yes"; then
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_WXHTML_HELP 1
45472 _ACEOF
45473
45474 else
45475 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45476 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45477 wxUSE_WXHTML_HELP=no
45478 fi
45479 fi
45480 fi
45481
45482 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45483 cat >>confdefs.h <<\_ACEOF
45484 #define wxUSE_PRINTING_ARCHITECTURE 1
45485 _ACEOF
45486
45487 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45488 fi
45489
45490 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45491 cat >>confdefs.h <<\_ACEOF
45492 #define wxUSE_POSTSCRIPT 1
45493 _ACEOF
45494
45495 fi
45496
45497 cat >>confdefs.h <<\_ACEOF
45498 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45499 _ACEOF
45500
45501
45502 if test "$wxUSE_SVG" = "yes"; then
45503 cat >>confdefs.h <<\_ACEOF
45504 #define wxUSE_SVG 1
45505 _ACEOF
45506
45507 fi
45508
45509
45510 if test "$wxUSE_METAFILE" = "yes"; then
45511 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45512 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45513 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45514 wxUSE_METAFILE=no
45515 fi
45516 fi
45517
45518
45519 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45520 -o "$wxUSE_CLIPBOARD" = "yes" \
45521 -o "$wxUSE_OLE" = "yes" \
45522 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45523 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45524 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45525 if test "${ac_cv_header_ole2_h+set}" = set; then
45526 echo $ECHO_N "(cached) $ECHO_C" >&6
45527 else
45528 cat >conftest.$ac_ext <<_ACEOF
45529 /* confdefs.h. */
45530 _ACEOF
45531 cat confdefs.h >>conftest.$ac_ext
45532 cat >>conftest.$ac_ext <<_ACEOF
45533 /* end confdefs.h. */
45534
45535
45536 #include <ole2.h>
45537 _ACEOF
45538 rm -f conftest.$ac_objext
45539 if { (ac_try="$ac_compile"
45540 case "(($ac_try" in
45541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45542 *) ac_try_echo=$ac_try;;
45543 esac
45544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45545 (eval "$ac_compile") 2>conftest.er1
45546 ac_status=$?
45547 grep -v '^ *+' conftest.er1 >conftest.err
45548 rm -f conftest.er1
45549 cat conftest.err >&5
45550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45551 (exit $ac_status); } && {
45552 test -z "$ac_c_werror_flag" ||
45553 test ! -s conftest.err
45554 } && test -s conftest.$ac_objext; then
45555 ac_cv_header_ole2_h=yes
45556 else
45557 echo "$as_me: failed program was:" >&5
45558 sed 's/^/| /' conftest.$ac_ext >&5
45559
45560 ac_cv_header_ole2_h=no
45561 fi
45562
45563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45564 fi
45565 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45566 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45567
45568
45569
45570 if test "$ac_cv_header_ole2_h" = "yes" ; then
45571 if test "$GCC" = yes ; then
45572 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45573 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45574 cat >conftest.$ac_ext <<_ACEOF
45575 /* confdefs.h. */
45576 _ACEOF
45577 cat confdefs.h >>conftest.$ac_ext
45578 cat >>conftest.$ac_ext <<_ACEOF
45579 /* end confdefs.h. */
45580 #include <windows.h>
45581 #include <ole2.h>
45582 int
45583 main ()
45584 {
45585
45586 ;
45587 return 0;
45588 }
45589 _ACEOF
45590 rm -f conftest.$ac_objext
45591 if { (ac_try="$ac_compile"
45592 case "(($ac_try" in
45593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45594 *) ac_try_echo=$ac_try;;
45595 esac
45596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45597 (eval "$ac_compile") 2>conftest.er1
45598 ac_status=$?
45599 grep -v '^ *+' conftest.er1 >conftest.err
45600 rm -f conftest.er1
45601 cat conftest.err >&5
45602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45603 (exit $ac_status); } && {
45604 test -z "$ac_c_werror_flag" ||
45605 test ! -s conftest.err
45606 } && test -s conftest.$ac_objext; then
45607 { echo "$as_me:$LINENO: result: no" >&5
45608 echo "${ECHO_T}no" >&6; }
45609 else
45610 echo "$as_me: failed program was:" >&5
45611 sed 's/^/| /' conftest.$ac_ext >&5
45612
45613 { echo "$as_me:$LINENO: result: yes" >&5
45614 echo "${ECHO_T}yes" >&6; }
45615 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45616 fi
45617
45618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45619 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45620 if test "$wxUSE_OLE" = "yes" ; then
45621 cat >>confdefs.h <<\_ACEOF
45622 #define wxUSE_OLE 1
45623 _ACEOF
45624
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_OLE_AUTOMATION 1
45627 _ACEOF
45628
45629 cat >>confdefs.h <<\_ACEOF
45630 #define wxUSE_ACTIVEX 1
45631 _ACEOF
45632
45633 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45634 fi
45635 fi
45636
45637 if test "$wxUSE_DATAOBJ" = "yes" ; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_DATAOBJ 1
45640 _ACEOF
45641
45642 fi
45643 else
45644 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45645 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45646
45647 wxUSE_CLIPBOARD=no
45648 wxUSE_DRAG_AND_DROP=no
45649 wxUSE_DATAOBJ=no
45650 wxUSE_OLE=no
45651 fi
45652
45653 if test "$wxUSE_METAFILE" = "yes"; then
45654 cat >>confdefs.h <<\_ACEOF
45655 #define wxUSE_METAFILE 1
45656 _ACEOF
45657
45658
45659 cat >>confdefs.h <<\_ACEOF
45660 #define wxUSE_ENH_METAFILE 1
45661 _ACEOF
45662
45663 fi
45664 fi
45665
45666 if test "$wxUSE_IPC" = "yes"; then
45667 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45668 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45669 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45670 wxUSE_IPC=no
45671 fi
45672
45673 if test "$wxUSE_IPC" = "yes"; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_IPC 1
45676 _ACEOF
45677
45678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45679 fi
45680 fi
45681
45682 if test "$wxUSE_DATAOBJ" = "yes"; then
45683 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45684 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45685 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45686 wxUSE_DATAOBJ=no
45687 else
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_DATAOBJ 1
45690 _ACEOF
45691
45692 fi
45693 else
45694 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45695 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45696 wxUSE_CLIPBOARD=no
45697 wxUSE_DRAG_AND_DROP=no
45698 fi
45699
45700 if test "$wxUSE_CLIPBOARD" = "yes"; then
45701 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45702 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45703 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45704 wxUSE_CLIPBOARD=no
45705 fi
45706
45707 if test "$wxUSE_CLIPBOARD" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_CLIPBOARD 1
45710 _ACEOF
45711
45712 fi
45713 fi
45714
45715 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45716 if test "$wxUSE_GTK" = 1; then
45717 if test "$WXGTK12" != 1; then
45718 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45719 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45720 wxUSE_DRAG_AND_DROP=no
45721 fi
45722 fi
45723
45724 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45725 "$wxUSE_DFB" = 1; then
45726 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45727 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45728 wxUSE_DRAG_AND_DROP=no
45729 fi
45730
45731 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_DRAG_AND_DROP 1
45734 _ACEOF
45735
45736 fi
45737
45738 fi
45739
45740 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45742 fi
45743
45744 if test "$wxUSE_CLIPBOARD" = "yes"; then
45745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
45746 fi
45747
45748 if test "$wxUSE_SPLINES" = "yes" ; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_SPLINES 1
45751 _ACEOF
45752
45753 fi
45754
45755 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_MOUSEWHEEL 1
45758 _ACEOF
45759
45760 fi
45761
45762
45763 USES_CONTROLS=0
45764 if test "$wxUSE_CONTROLS" = "yes"; then
45765 USES_CONTROLS=1
45766 fi
45767
45768 if test "$wxUSE_ACCEL" = "yes"; then
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_ACCEL 1
45771 _ACEOF
45772
45773 USES_CONTROLS=1
45774 fi
45775
45776 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_ANIMATIONCTRL 1
45779 _ACEOF
45780
45781 USES_CONTROLS=1
45782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45783 fi
45784
45785 if test "$wxUSE_BUTTON" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_BUTTON 1
45788 _ACEOF
45789
45790 USES_CONTROLS=1
45791 fi
45792
45793 if test "$wxUSE_BMPBUTTON" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_BMPBUTTON 1
45796 _ACEOF
45797
45798 USES_CONTROLS=1
45799 fi
45800
45801 if test "$wxUSE_CALCTRL" = "yes"; then
45802 cat >>confdefs.h <<\_ACEOF
45803 #define wxUSE_CALENDARCTRL 1
45804 _ACEOF
45805
45806 USES_CONTROLS=1
45807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45808 fi
45809
45810 if test "$wxUSE_CARET" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_CARET 1
45813 _ACEOF
45814
45815 USES_CONTROLS=1
45816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45817 fi
45818
45819 if test "$wxUSE_COLLPANE" = "yes"; then
45820 cat >>confdefs.h <<\_ACEOF
45821 #define wxUSE_COLLPANE 1
45822 _ACEOF
45823
45824 USES_CONTROLS=1
45825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45826 fi
45827
45828 if test "$wxUSE_COMBOBOX" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_COMBOBOX 1
45831 _ACEOF
45832
45833 USES_CONTROLS=1
45834 fi
45835
45836 if test "$wxUSE_COMBOCTRL" = "yes"; then
45837 cat >>confdefs.h <<\_ACEOF
45838 #define wxUSE_COMBOCTRL 1
45839 _ACEOF
45840
45841 USES_CONTROLS=1
45842 fi
45843
45844 if test "$wxUSE_CHOICE" = "yes"; then
45845 cat >>confdefs.h <<\_ACEOF
45846 #define wxUSE_CHOICE 1
45847 _ACEOF
45848
45849 USES_CONTROLS=1
45850 fi
45851
45852 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_CHOICEBOOK 1
45855 _ACEOF
45856
45857 USES_CONTROLS=1
45858 fi
45859
45860 if test "$wxUSE_CHECKBOX" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_CHECKBOX 1
45863 _ACEOF
45864
45865 USES_CONTROLS=1
45866 fi
45867
45868 if test "$wxUSE_CHECKLST" = "yes"; then
45869 cat >>confdefs.h <<\_ACEOF
45870 #define wxUSE_CHECKLISTBOX 1
45871 _ACEOF
45872
45873 USES_CONTROLS=1
45874 fi
45875
45876 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45877 cat >>confdefs.h <<\_ACEOF
45878 #define wxUSE_COLOURPICKERCTRL 1
45879 _ACEOF
45880
45881 USES_CONTROLS=1
45882 fi
45883
45884 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45885 cat >>confdefs.h <<\_ACEOF
45886 #define wxUSE_DATEPICKCTRL 1
45887 _ACEOF
45888
45889 USES_CONTROLS=1
45890 fi
45891
45892 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_DIRPICKERCTRL 1
45895 _ACEOF
45896
45897 USES_CONTROLS=1
45898 fi
45899
45900 if test "$wxUSE_FILECTRL" = "yes"; then
45901 cat >>confdefs.h <<\_ACEOF
45902 #define wxUSE_FILECTRL 1
45903 _ACEOF
45904
45905 USES_CONTROLS=1
45906 fi
45907
45908 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_FILEPICKERCTRL 1
45911 _ACEOF
45912
45913 USES_CONTROLS=1
45914 fi
45915
45916 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_FONTPICKERCTRL 1
45919 _ACEOF
45920
45921 USES_CONTROLS=1
45922 fi
45923
45924 if test "$wxUSE_DISPLAY" = "yes"; then
45925 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45926 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45927 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45928 wxUSE_DISPLAY=no
45929 else
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_DISPLAY 1
45932 _ACEOF
45933
45934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45935 fi
45936 fi
45937
45938 if test "$wxUSE_DETECT_SM" = "yes"; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_DETECT_SM 1
45941 _ACEOF
45942
45943 fi
45944
45945 if test "$wxUSE_GAUGE" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_GAUGE 1
45948 _ACEOF
45949
45950 USES_CONTROLS=1
45951 fi
45952
45953 if test "$wxUSE_GRID" = "yes"; then
45954 cat >>confdefs.h <<\_ACEOF
45955 #define wxUSE_GRID 1
45956 _ACEOF
45957
45958 USES_CONTROLS=1
45959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45960 fi
45961
45962 if test "$wxUSE_HEADERCTRL" = "yes"; then
45963 cat >>confdefs.h <<\_ACEOF
45964 #define wxUSE_HEADERCTRL 1
45965 _ACEOF
45966
45967 USES_CONTROLS=1
45968 fi
45969
45970 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45971 cat >>confdefs.h <<\_ACEOF
45972 #define wxUSE_HYPERLINKCTRL 1
45973 _ACEOF
45974
45975 USES_CONTROLS=1
45976 fi
45977
45978 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45979 cat >>confdefs.h <<\_ACEOF
45980 #define wxUSE_BITMAPCOMBOBOX 1
45981 _ACEOF
45982
45983 USES_CONTROLS=1
45984 fi
45985
45986 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45987 cat >>confdefs.h <<\_ACEOF
45988 #define wxUSE_DATAVIEWCTRL 1
45989 _ACEOF
45990
45991 USES_CONTROLS=1
45992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45993 fi
45994
45995 if test "$wxUSE_IMAGLIST" = "yes"; then
45996 cat >>confdefs.h <<\_ACEOF
45997 #define wxUSE_IMAGLIST 1
45998 _ACEOF
45999
46000 fi
46001
46002 if test "$wxUSE_LISTBOOK" = "yes"; then
46003 cat >>confdefs.h <<\_ACEOF
46004 #define wxUSE_LISTBOOK 1
46005 _ACEOF
46006
46007 USES_CONTROLS=1
46008 fi
46009
46010 if test "$wxUSE_LISTBOX" = "yes"; then
46011 cat >>confdefs.h <<\_ACEOF
46012 #define wxUSE_LISTBOX 1
46013 _ACEOF
46014
46015 USES_CONTROLS=1
46016 fi
46017
46018 if test "$wxUSE_LISTCTRL" = "yes"; then
46019 if test "$wxUSE_IMAGLIST" = "yes"; then
46020 cat >>confdefs.h <<\_ACEOF
46021 #define wxUSE_LISTCTRL 1
46022 _ACEOF
46023
46024 USES_CONTROLS=1
46025 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46026 else
46027 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46028 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46029 fi
46030 fi
46031
46032 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
46033 cat >>confdefs.h <<\_ACEOF
46034 #define wxUSE_EDITABLELISTBOX 1
46035 _ACEOF
46036
46037 USES_CONTROLS=1
46038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
46039 fi
46040
46041 if test "$wxUSE_NOTEBOOK" = "yes"; then
46042 cat >>confdefs.h <<\_ACEOF
46043 #define wxUSE_NOTEBOOK 1
46044 _ACEOF
46045
46046 USES_CONTROLS=1
46047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46048 fi
46049
46050 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
46051 cat >>confdefs.h <<\_ACEOF
46052 #define wxUSE_NOTIFICATION_MESSAGE 1
46053 _ACEOF
46054
46055 fi
46056
46057 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46058 cat >>confdefs.h <<\_ACEOF
46059 #define wxUSE_ODCOMBOBOX 1
46060 _ACEOF
46061
46062 USES_CONTROLS=1
46063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46064 fi
46065
46066 if test "$wxUSE_RADIOBOX" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_RADIOBOX 1
46069 _ACEOF
46070
46071 USES_CONTROLS=1
46072 fi
46073
46074 if test "$wxUSE_RADIOBTN" = "yes"; then
46075 cat >>confdefs.h <<\_ACEOF
46076 #define wxUSE_RADIOBTN 1
46077 _ACEOF
46078
46079 USES_CONTROLS=1
46080 fi
46081
46082 if test "$wxUSE_REARRANGECTRL" = "yes"; then
46083 cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_REARRANGECTRL 1
46085 _ACEOF
46086
46087 fi
46088
46089 if test "$wxUSE_SASH" = "yes"; then
46090 cat >>confdefs.h <<\_ACEOF
46091 #define wxUSE_SASH 1
46092 _ACEOF
46093
46094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46095 fi
46096
46097 if test "$wxUSE_SCROLLBAR" = "yes"; then
46098 cat >>confdefs.h <<\_ACEOF
46099 #define wxUSE_SCROLLBAR 1
46100 _ACEOF
46101
46102 USES_CONTROLS=1
46103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
46104 fi
46105
46106 if test "$wxUSE_SEARCHCTRL" = "yes"; then
46107 cat >>confdefs.h <<\_ACEOF
46108 #define wxUSE_SEARCHCTRL 1
46109 _ACEOF
46110
46111 USES_CONTROLS=1
46112 fi
46113
46114 if test "$wxUSE_SLIDER" = "yes"; then
46115 cat >>confdefs.h <<\_ACEOF
46116 #define wxUSE_SLIDER 1
46117 _ACEOF
46118
46119 USES_CONTROLS=1
46120 fi
46121
46122 if test "$wxUSE_SPINBTN" = "yes"; then
46123 cat >>confdefs.h <<\_ACEOF
46124 #define wxUSE_SPINBTN 1
46125 _ACEOF
46126
46127 USES_CONTROLS=1
46128 fi
46129
46130 if test "$wxUSE_SPINCTRL" = "yes"; then
46131 cat >>confdefs.h <<\_ACEOF
46132 #define wxUSE_SPINCTRL 1
46133 _ACEOF
46134
46135 USES_CONTROLS=1
46136 fi
46137
46138 if test "$wxUSE_SPLITTER" = "yes"; then
46139 cat >>confdefs.h <<\_ACEOF
46140 #define wxUSE_SPLITTER 1
46141 _ACEOF
46142
46143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46144 fi
46145
46146 if test "$wxUSE_STATBMP" = "yes"; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_STATBMP 1
46149 _ACEOF
46150
46151 USES_CONTROLS=1
46152 fi
46153
46154 if test "$wxUSE_STATBOX" = "yes"; then
46155 cat >>confdefs.h <<\_ACEOF
46156 #define wxUSE_STATBOX 1
46157 _ACEOF
46158
46159 USES_CONTROLS=1
46160 fi
46161
46162 if test "$wxUSE_STATTEXT" = "yes"; then
46163 cat >>confdefs.h <<\_ACEOF
46164 #define wxUSE_STATTEXT 1
46165 _ACEOF
46166
46167 USES_CONTROLS=1
46168 fi
46169
46170 if test "$wxUSE_STATLINE" = "yes"; then
46171 cat >>confdefs.h <<\_ACEOF
46172 #define wxUSE_STATLINE 1
46173 _ACEOF
46174
46175 USES_CONTROLS=1
46176 fi
46177
46178 if test "$wxUSE_STATUSBAR" = "yes"; then
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_NATIVE_STATUSBAR 1
46181 _ACEOF
46182
46183 cat >>confdefs.h <<\_ACEOF
46184 #define wxUSE_STATUSBAR 1
46185 _ACEOF
46186
46187 USES_CONTROLS=1
46188
46189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46190 fi
46191
46192 if test "$wxUSE_TEXTCTRL" = "yes"; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_TEXTCTRL 1
46195 _ACEOF
46196
46197 USES_CONTROLS=1
46198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46199
46200 cat >>confdefs.h <<\_ACEOF
46201 #define wxUSE_RICHEDIT 1
46202 _ACEOF
46203
46204 cat >>confdefs.h <<\_ACEOF
46205 #define wxUSE_RICHEDIT2 1
46206 _ACEOF
46207
46208 fi
46209
46210 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46211 if test "$wxUSE_COCOA" = 1 ; then
46212 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46213 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46214 wxUSE_TOGGLEBTN=no
46215 fi
46216
46217 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_TOGGLEBTN 1
46220 _ACEOF
46221
46222 USES_CONTROLS=1
46223 fi
46224 fi
46225
46226 if test "$wxUSE_TOOLBAR" = "yes"; then
46227 cat >>confdefs.h <<\_ACEOF
46228 #define wxUSE_TOOLBAR 1
46229 _ACEOF
46230
46231 USES_CONTROLS=1
46232
46233 if test "$wxUSE_UNIVERSAL" = "yes"; then
46234 wxUSE_TOOLBAR_NATIVE="no"
46235 else
46236 wxUSE_TOOLBAR_NATIVE="yes"
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_TOOLBAR_NATIVE 1
46239 _ACEOF
46240
46241 fi
46242
46243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46244 fi
46245
46246 if test "$wxUSE_TOOLTIPS" = "yes"; then
46247 if test "$wxUSE_MOTIF" = 1; then
46248 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46249 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46250 else
46251 if test "$wxUSE_UNIVERSAL" = "yes"; then
46252 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46253 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46254 else
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_TOOLTIPS 1
46257 _ACEOF
46258
46259 fi
46260 fi
46261 fi
46262
46263 if test "$wxUSE_TREEBOOK" = "yes"; then
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_TREEBOOK 1
46266 _ACEOF
46267
46268 USES_CONTROLS=1
46269 fi
46270
46271 if test "$wxUSE_TOOLBOOK" = "yes"; then
46272 cat >>confdefs.h <<\_ACEOF
46273 #define wxUSE_TOOLBOOK 1
46274 _ACEOF
46275
46276 USES_CONTROLS=1
46277 fi
46278
46279 if test "$wxUSE_TREECTRL" = "yes"; then
46280 if test "$wxUSE_IMAGLIST" = "yes"; then
46281 cat >>confdefs.h <<\_ACEOF
46282 #define wxUSE_TREECTRL 1
46283 _ACEOF
46284
46285 USES_CONTROLS=1
46286 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46287 else
46288 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46289 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46290 fi
46291 fi
46292
46293 if test "$wxUSE_POPUPWIN" = "yes"; then
46294 if test "$wxUSE_COCOA" = 1 ; then
46295 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46296 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46297 else
46298 if test "$wxUSE_PM" = 1; then
46299 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46300 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46301 else
46302 cat >>confdefs.h <<\_ACEOF
46303 #define wxUSE_POPUPWIN 1
46304 _ACEOF
46305
46306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46307
46308 USES_CONTROLS=1
46309 fi
46310 fi
46311 fi
46312
46313 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46314 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46315 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46316 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46317 else
46318 cat >>confdefs.h <<\_ACEOF
46319 #define wxUSE_DIALUP_MANAGER 1
46320 _ACEOF
46321
46322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46323 fi
46324 fi
46325
46326 if test "$wxUSE_TIPWINDOW" = "yes"; then
46327 if test "$wxUSE_PM" = 1; then
46328 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46329 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46330 else
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_TIPWINDOW 1
46333 _ACEOF
46334
46335 fi
46336 fi
46337
46338 if test "$USES_CONTROLS" = 1; then
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_CONTROLS 1
46341 _ACEOF
46342
46343 fi
46344
46345
46346 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46347 cat >>confdefs.h <<\_ACEOF
46348 #define wxUSE_ACCESSIBILITY 1
46349 _ACEOF
46350
46351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46352 fi
46353
46354 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46355 cat >>confdefs.h <<\_ACEOF
46356 #define wxUSE_DRAGIMAGE 1
46357 _ACEOF
46358
46359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46360 fi
46361
46362 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46363 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46364 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46365 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46366 else
46367 cat >>confdefs.h <<\_ACEOF
46368 #define wxUSE_EXCEPTIONS 1
46369 _ACEOF
46370
46371 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46372 fi
46373 fi
46374
46375 USE_HTML=0
46376 if test "$wxUSE_HTML" = "yes"; then
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_HTML 1
46379 _ACEOF
46380
46381 USE_HTML=1
46382 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46383 fi
46384 if test "$wxUSE_WEBKIT" = "yes"; then
46385 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46386 old_CPPFLAGS="$CPPFLAGS"
46387 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46388 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46389 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46390 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46391 echo $ECHO_N "(cached) $ECHO_C" >&6
46392 else
46393 cat >conftest.$ac_ext <<_ACEOF
46394 /* confdefs.h. */
46395 _ACEOF
46396 cat confdefs.h >>conftest.$ac_ext
46397 cat >>conftest.$ac_ext <<_ACEOF
46398 /* end confdefs.h. */
46399
46400 #include <Carbon/Carbon.h>
46401 #include <WebKit/WebKit.h>
46402
46403
46404 #include <WebKit/HIWebView.h>
46405 _ACEOF
46406 rm -f conftest.$ac_objext
46407 if { (ac_try="$ac_compile"
46408 case "(($ac_try" in
46409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46410 *) ac_try_echo=$ac_try;;
46411 esac
46412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46413 (eval "$ac_compile") 2>conftest.er1
46414 ac_status=$?
46415 grep -v '^ *+' conftest.er1 >conftest.err
46416 rm -f conftest.er1
46417 cat conftest.err >&5
46418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46419 (exit $ac_status); } && {
46420 test -z "$ac_c_werror_flag" ||
46421 test ! -s conftest.err
46422 } && test -s conftest.$ac_objext; then
46423 ac_cv_header_WebKit_HIWebView_h=yes
46424 else
46425 echo "$as_me: failed program was:" >&5
46426 sed 's/^/| /' conftest.$ac_ext >&5
46427
46428 ac_cv_header_WebKit_HIWebView_h=no
46429 fi
46430
46431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46432 fi
46433 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46434 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46435 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46436
46437 cat >>confdefs.h <<\_ACEOF
46438 #define wxUSE_WEBKIT 1
46439 _ACEOF
46440
46441 WEBKIT_LINK="-framework WebKit"
46442
46443 else
46444
46445 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46446 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46447 wxUSE_WEBKIT=no
46448
46449 fi
46450
46451
46452 CPPFLAGS="$old_CPPFLAGS"
46453 elif test "$wxUSE_COCOA" = 1; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_WEBKIT 1
46456 _ACEOF
46457
46458 else
46459 wxUSE_WEBKIT=no
46460 fi
46461 if test "$wxUSE_WEBKIT" = "yes"; then
46462 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46463 fi
46464 fi
46465
46466 USE_XRC=0
46467 if test "$wxUSE_XRC" = "yes"; then
46468 if test "$wxUSE_XML" != "yes"; then
46469 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46470 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46471 wxUSE_XRC=no
46472 else
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_XRC 1
46475 _ACEOF
46476
46477 USE_XRC=1
46478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46479 fi
46480 fi
46481
46482 USE_AUI=0
46483 if test "$wxUSE_AUI" = "yes"; then
46484 cat >>confdefs.h <<\_ACEOF
46485 #define wxUSE_AUI 1
46486 _ACEOF
46487
46488 USE_AUI=1
46489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46490 fi
46491
46492 USE_PROPGRID=0
46493 if test "$wxUSE_PROPGRID" = "yes"; then
46494 cat >>confdefs.h <<\_ACEOF
46495 #define wxUSE_PROPGRID 1
46496 _ACEOF
46497
46498 USE_PROPGRID=1
46499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
46500 fi
46501
46502 USE_STC=0
46503 if test "$wxUSE_STC" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_STC 1
46506 _ACEOF
46507
46508 USE_STC=1
46509 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46510 fi
46511
46512 if test "$wxUSE_MENUS" = "yes"; then
46513 cat >>confdefs.h <<\_ACEOF
46514 #define wxUSE_MENUS 1
46515 _ACEOF
46516
46517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46518 fi
46519
46520 if test "$wxUSE_METAFILE" = "yes"; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_METAFILE 1
46523 _ACEOF
46524
46525 fi
46526
46527 if test "$wxUSE_MIMETYPE" = "yes"; then
46528 cat >>confdefs.h <<\_ACEOF
46529 #define wxUSE_MIMETYPE 1
46530 _ACEOF
46531
46532 fi
46533
46534 if test "$wxUSE_MINIFRAME" = "yes"; then
46535 cat >>confdefs.h <<\_ACEOF
46536 #define wxUSE_MINIFRAME 1
46537 _ACEOF
46538
46539 fi
46540
46541 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_SYSTEM_OPTIONS 1
46544 _ACEOF
46545
46546 fi
46547
46548 if test "$wxUSE_TASKBARICON" = "yes"; then
46549 cat >>confdefs.h <<\_ACEOF
46550 #define wxUSE_TASKBARICON 1
46551 _ACEOF
46552
46553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46554 fi
46555
46556
46557 if test "$wxUSE_VALIDATORS" = "yes"; then
46558 cat >>confdefs.h <<\_ACEOF
46559 #define wxUSE_VALIDATORS 1
46560 _ACEOF
46561
46562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46563 fi
46564
46565 if test "$wxUSE_PALETTE" = "yes" ; then
46566 if test "$wxUSE_DFB" = 1; then
46567 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46568 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46569 wxUSE_PALETTE=no
46570 else
46571 cat >>confdefs.h <<\_ACEOF
46572 #define wxUSE_PALETTE 1
46573 _ACEOF
46574
46575 fi
46576 fi
46577
46578 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46579 LIBS=" -lunicows $LIBS"
46580 fi
46581
46582 USE_RICHTEXT=0
46583 if test "$wxUSE_RICHTEXT" = "yes"; then
46584 cat >>confdefs.h <<\_ACEOF
46585 #define wxUSE_RICHTEXT 1
46586 _ACEOF
46587
46588 USE_RICHTEXT=1
46589 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46590 fi
46591
46592
46593 if test "$wxUSE_IMAGE" = "yes" ; then
46594 cat >>confdefs.h <<\_ACEOF
46595 #define wxUSE_IMAGE 1
46596 _ACEOF
46597
46598
46599 if test "$wxUSE_GIF" = "yes" ; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define wxUSE_GIF 1
46602 _ACEOF
46603
46604 fi
46605
46606 if test "$wxUSE_PCX" = "yes" ; then
46607 cat >>confdefs.h <<\_ACEOF
46608 #define wxUSE_PCX 1
46609 _ACEOF
46610
46611 fi
46612
46613 if test "$wxUSE_TGA" = "yes" ; then
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_TGA 1
46616 _ACEOF
46617
46618 fi
46619
46620 if test "$wxUSE_IFF" = "yes" ; then
46621 cat >>confdefs.h <<\_ACEOF
46622 #define wxUSE_IFF 1
46623 _ACEOF
46624
46625 fi
46626
46627 if test "$wxUSE_PNM" = "yes" ; then
46628 cat >>confdefs.h <<\_ACEOF
46629 #define wxUSE_PNM 1
46630 _ACEOF
46631
46632 fi
46633
46634 if test "$wxUSE_XPM" = "yes" ; then
46635 cat >>confdefs.h <<\_ACEOF
46636 #define wxUSE_XPM 1
46637 _ACEOF
46638
46639 fi
46640
46641 if test "$wxUSE_ICO_CUR" = "yes" ; then
46642 cat >>confdefs.h <<\_ACEOF
46643 #define wxUSE_ICO_CUR 1
46644 _ACEOF
46645
46646 fi
46647 fi
46648
46649
46650 if test "$wxUSE_ABOUTDLG" = "yes"; then
46651 cat >>confdefs.h <<\_ACEOF
46652 #define wxUSE_ABOUTDLG 1
46653 _ACEOF
46654
46655 fi
46656
46657 if test "$wxUSE_CHOICEDLG" = "yes"; then
46658 cat >>confdefs.h <<\_ACEOF
46659 #define wxUSE_CHOICEDLG 1
46660 _ACEOF
46661
46662 fi
46663
46664 if test "$wxUSE_COLOURDLG" = "yes"; then
46665 cat >>confdefs.h <<\_ACEOF
46666 #define wxUSE_COLOURDLG 1
46667 _ACEOF
46668
46669 fi
46670
46671 if test "$wxUSE_FILEDLG" = "yes"; then
46672 cat >>confdefs.h <<\_ACEOF
46673 #define wxUSE_FILEDLG 1
46674 _ACEOF
46675
46676 fi
46677
46678 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46679 cat >>confdefs.h <<\_ACEOF
46680 #define wxUSE_FINDREPLDLG 1
46681 _ACEOF
46682
46683 fi
46684
46685 if test "$wxUSE_FONTDLG" = "yes"; then
46686 cat >>confdefs.h <<\_ACEOF
46687 #define wxUSE_FONTDLG 1
46688 _ACEOF
46689
46690 fi
46691
46692 if test "$wxUSE_DIRDLG" = "yes"; then
46693 if test "$wxUSE_TREECTRL" != "yes"; then
46694 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46695 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46696 else
46697 cat >>confdefs.h <<\_ACEOF
46698 #define wxUSE_DIRDLG 1
46699 _ACEOF
46700
46701 fi
46702 fi
46703
46704 if test "$wxUSE_MSGDLG" = "yes"; then
46705 cat >>confdefs.h <<\_ACEOF
46706 #define wxUSE_MSGDLG 1
46707 _ACEOF
46708
46709 fi
46710
46711 if test "$wxUSE_NUMBERDLG" = "yes"; then
46712 cat >>confdefs.h <<\_ACEOF
46713 #define wxUSE_NUMBERDLG 1
46714 _ACEOF
46715
46716 fi
46717
46718 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46719 cat >>confdefs.h <<\_ACEOF
46720 #define wxUSE_PROGRESSDLG 1
46721 _ACEOF
46722
46723 fi
46724
46725 if test "$wxUSE_SPLASH" = "yes"; then
46726 cat >>confdefs.h <<\_ACEOF
46727 #define wxUSE_SPLASH 1
46728 _ACEOF
46729
46730 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46731 fi
46732
46733 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46734 cat >>confdefs.h <<\_ACEOF
46735 #define wxUSE_STARTUP_TIPS 1
46736 _ACEOF
46737
46738 fi
46739
46740 if test "$wxUSE_TEXTDLG" = "yes"; then
46741 cat >>confdefs.h <<\_ACEOF
46742 #define wxUSE_TEXTDLG 1
46743 _ACEOF
46744
46745 fi
46746
46747 if test "$wxUSE_WIZARDDLG" = "yes"; then
46748 cat >>confdefs.h <<\_ACEOF
46749 #define wxUSE_WIZARDDLG 1
46750 _ACEOF
46751
46752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46753 fi
46754
46755
46756 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46757 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46758 cat >>confdefs.h <<\_ACEOF
46759 #define wxUSE_OWNER_DRAWN 1
46760 _ACEOF
46761
46762 fi
46763 fi
46764
46765
46766 if test "$wxUSE_MSW" = 1 ; then
46767
46768 if test "$wxUSE_DC_CACHEING" = "yes"; then
46769 cat >>confdefs.h <<\_ACEOF
46770 #define wxUSE_DC_CACHEING 1
46771 _ACEOF
46772
46773 fi
46774
46775 if test "$wxUSE_DIB" = "yes"; then
46776 cat >>confdefs.h <<\_ACEOF
46777 #define wxUSE_WXDIB 1
46778 _ACEOF
46779
46780 fi
46781
46782 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46783 cat >>confdefs.h <<\_ACEOF
46784 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46785 _ACEOF
46786
46787 fi
46788
46789 if test "$wxUSE_UXTHEME" = "yes"; then
46790 cat >>confdefs.h <<\_ACEOF
46791 #define wxUSE_UXTHEME 1
46792 _ACEOF
46793
46794 fi
46795
46796 fi
46797
46798 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46799 cat >>confdefs.h <<\_ACEOF
46800 #define wxUSE_AUTOID_MANAGEMENT 1
46801 _ACEOF
46802
46803 fi
46804
46805 if test "$USE_WIN32" = 1 ; then
46806 if test "$wxUSE_INICONF" = "yes"; then
46807 cat >>confdefs.h <<\_ACEOF
46808 #define wxUSE_INICONF 1
46809 _ACEOF
46810
46811 fi
46812
46813 if test "$wxUSE_REGKEY" = "yes"; then
46814 cat >>confdefs.h <<\_ACEOF
46815 #define wxUSE_REGKEY 1
46816 _ACEOF
46817
46818 fi
46819 fi
46820
46821
46822 if test "$wxUSE_MAC" = 1; then
46823 wxUSE_GRAPHICS_CONTEXT="yes"
46824 fi
46825
46826 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46827 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46828 cat >>confdefs.h <<\_ACEOF
46829 #define wxUSE_GRAPHICS_CONTEXT 1
46830 _ACEOF
46831
46832 elif test "$wxUSE_GTK" != 1; then
46833 cat >>confdefs.h <<\_ACEOF
46834 #define wxUSE_GRAPHICS_CONTEXT 1
46835 _ACEOF
46836
46837 else
46838
46839 pkg_failed=no
46840 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46841 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46842
46843 if test -n "$PKG_CONFIG"; then
46844 if test -n "$CAIRO_CFLAGS"; then
46845 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46846 else
46847 if test -n "$PKG_CONFIG" && \
46848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46849 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46850 ac_status=$?
46851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46852 (exit $ac_status); }; then
46853 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46854 else
46855 pkg_failed=yes
46856 fi
46857 fi
46858 else
46859 pkg_failed=untried
46860 fi
46861 if test -n "$PKG_CONFIG"; then
46862 if test -n "$CAIRO_LIBS"; then
46863 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46864 else
46865 if test -n "$PKG_CONFIG" && \
46866 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46867 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46868 ac_status=$?
46869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46870 (exit $ac_status); }; then
46871 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46872 else
46873 pkg_failed=yes
46874 fi
46875 fi
46876 else
46877 pkg_failed=untried
46878 fi
46879
46880
46881
46882 if test $pkg_failed = yes; then
46883
46884 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46885 _pkg_short_errors_supported=yes
46886 else
46887 _pkg_short_errors_supported=no
46888 fi
46889 if test $_pkg_short_errors_supported = yes; then
46890 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46891 else
46892 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46893 fi
46894 # Put the nasty error message in config.log where it belongs
46895 echo "$CAIRO_PKG_ERRORS" >&5
46896
46897 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46898 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46899
46900 elif test $pkg_failed = untried; then
46901 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46902 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46903
46904 else
46905 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46906 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46907 { echo "$as_me:$LINENO: result: yes" >&5
46908 echo "${ECHO_T}yes" >&6; }
46909 cat >>confdefs.h <<\_ACEOF
46910 #define wxUSE_GRAPHICS_CONTEXT 1
46911 _ACEOF
46912
46913 fi
46914 fi
46915 fi
46916
46917
46918 USE_MEDIA=0
46919
46920 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
46921 USE_MEDIA=1
46922
46923 if test "$wxUSE_GTK" = 1; then
46924 wxUSE_GSTREAMER="no"
46925
46926 GST_VERSION_MAJOR=0
46927 GST_VERSION_MINOR=10
46928 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46929
46930 if test "$wxUSE_GSTREAMER8" = "no"; then
46931
46932 pkg_failed=no
46933 { echo "$as_me:$LINENO: checking for GST" >&5
46934 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46935
46936 if test -n "$PKG_CONFIG"; then
46937 if test -n "$GST_CFLAGS"; then
46938 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46939 else
46940 if test -n "$PKG_CONFIG" && \
46941 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46942 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46943 ac_status=$?
46944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46945 (exit $ac_status); }; then
46946 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46947 else
46948 pkg_failed=yes
46949 fi
46950 fi
46951 else
46952 pkg_failed=untried
46953 fi
46954 if test -n "$PKG_CONFIG"; then
46955 if test -n "$GST_LIBS"; then
46956 pkg_cv_GST_LIBS="$GST_LIBS"
46957 else
46958 if test -n "$PKG_CONFIG" && \
46959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46960 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46961 ac_status=$?
46962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46963 (exit $ac_status); }; then
46964 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46965 else
46966 pkg_failed=yes
46967 fi
46968 fi
46969 else
46970 pkg_failed=untried
46971 fi
46972
46973
46974
46975 if test $pkg_failed = yes; then
46976
46977 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46978 _pkg_short_errors_supported=yes
46979 else
46980 _pkg_short_errors_supported=no
46981 fi
46982 if test $_pkg_short_errors_supported = yes; then
46983 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46984 else
46985 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46986 fi
46987 # Put the nasty error message in config.log where it belongs
46988 echo "$GST_PKG_ERRORS" >&5
46989
46990
46991 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46992 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46993 GST_VERSION_MINOR=8
46994
46995
46996 elif test $pkg_failed = untried; then
46997
46998 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46999 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47000 GST_VERSION_MINOR=8
47001
47002
47003 else
47004 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47005 GST_LIBS=$pkg_cv_GST_LIBS
47006 { echo "$as_me:$LINENO: result: yes" >&5
47007 echo "${ECHO_T}yes" >&6; }
47008
47009 wxUSE_GSTREAMER="yes"
47010 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47011
47012 fi
47013 else
47014 GST_VERSION_MINOR=8
47015 fi
47016
47017 if test $GST_VERSION_MINOR = "8"; then
47018 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47019
47020 pkg_failed=no
47021 { echo "$as_me:$LINENO: checking for GST" >&5
47022 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
47023
47024 if test -n "$PKG_CONFIG"; then
47025 if test -n "$GST_CFLAGS"; then
47026 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47027 else
47028 if test -n "$PKG_CONFIG" && \
47029 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47030 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47031 ac_status=$?
47032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47033 (exit $ac_status); }; then
47034 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47035 else
47036 pkg_failed=yes
47037 fi
47038 fi
47039 else
47040 pkg_failed=untried
47041 fi
47042 if test -n "$PKG_CONFIG"; then
47043 if test -n "$GST_LIBS"; then
47044 pkg_cv_GST_LIBS="$GST_LIBS"
47045 else
47046 if test -n "$PKG_CONFIG" && \
47047 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47048 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47049 ac_status=$?
47050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47051 (exit $ac_status); }; then
47052 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47053 else
47054 pkg_failed=yes
47055 fi
47056 fi
47057 else
47058 pkg_failed=untried
47059 fi
47060
47061
47062
47063 if test $pkg_failed = yes; then
47064
47065 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47066 _pkg_short_errors_supported=yes
47067 else
47068 _pkg_short_errors_supported=no
47069 fi
47070 if test $_pkg_short_errors_supported = yes; then
47071 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47072 else
47073 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47074 fi
47075 # Put the nasty error message in config.log where it belongs
47076 echo "$GST_PKG_ERRORS" >&5
47077
47078
47079 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47080 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47081
47082 elif test $pkg_failed = untried; then
47083
47084 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47085 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47086
47087 else
47088 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47089 GST_LIBS=$pkg_cv_GST_LIBS
47090 { echo "$as_me:$LINENO: result: yes" >&5
47091 echo "${ECHO_T}yes" >&6; }
47092 wxUSE_GSTREAMER="yes"
47093 fi
47094 fi
47095
47096
47097 if test "$wxUSE_GSTREAMER" = "yes"; then
47098 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47099 EXTRALIBS_MEDIA="$GST_LIBS"
47100
47101 cat >>confdefs.h <<\_ACEOF
47102 #define wxUSE_GSTREAMER 1
47103 _ACEOF
47104
47105 else
47106 USE_MEDIA=0
47107 fi
47108 fi
47109
47110 if test $USE_MEDIA = 1; then
47111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47112 cat >>confdefs.h <<\_ACEOF
47113 #define wxUSE_MEDIACTRL 1
47114 _ACEOF
47115
47116 else
47117 if test "$wxUSE_MEDIACTRL" = "yes"; then
47118 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
47119 echo "$as_me: error: GStreamer not available" >&2;}
47120 { (exit 1); exit 1; }; }
47121 else
47122 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
47123 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
47124 fi
47125 fi
47126 fi
47127
47128
47129 if test "$cross_compiling" = "yes"; then
47130 OSINFO="\"$host\""
47131 else
47132 OSINFO=`uname -s -r -m`
47133 OSINFO="\"$OSINFO\""
47134 fi
47135
47136 cat >>confdefs.h <<_ACEOF
47137 #define WXWIN_OS_DESCRIPTION $OSINFO
47138 _ACEOF
47139
47140
47141
47142 if test "x$prefix" != "xNONE"; then
47143 wxPREFIX=$prefix
47144 else
47145 wxPREFIX=$ac_default_prefix
47146 fi
47147
47148 cat >>confdefs.h <<_ACEOF
47149 #define wxINSTALL_PREFIX "$wxPREFIX"
47150 _ACEOF
47151
47152
47153
47154
47155 STD_BASE_LIBS="base"
47156 STD_GUI_LIBS=""
47157 BUILT_WX_LIBS="base"
47158 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
47159
47160 if test "$wxUSE_SOCKETS" = "yes" ; then
47161 STD_BASE_LIBS="net $STD_BASE_LIBS"
47162 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
47163 fi
47164 if test "$wxUSE_XML" = "yes" ; then
47165 STD_BASE_LIBS="xml $STD_BASE_LIBS"
47166 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
47167 fi
47168
47169 if test "$wxUSE_GUI" = "yes"; then
47170 STD_GUI_LIBS="adv core"
47171 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
47172
47173 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47174 STD_GUI_LIBS="qa $STD_GUI_LIBS"
47175 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
47176 fi
47177 if test "$wxUSE_HTML" = "yes" ; then
47178 STD_GUI_LIBS="html $STD_GUI_LIBS"
47179 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
47180 fi
47181 if test "$wxUSE_MEDIACTRL" = "yes" ; then
47182 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
47183 fi
47184 if test "$wxUSE_OPENGL" = "yes" ; then
47185 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
47186 fi
47187 if test "$wxUSE_AUI" = "yes" ; then
47188 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
47189 fi
47190 if test "$wxUSE_PROPGRID" = "yes" ; then
47191 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
47192 fi
47193 if test "$wxUSE_RICHTEXT" = "yes" ; then
47194 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
47195 fi
47196 if test "$wxUSE_STC" = "yes" ; then
47197 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
47198 fi
47199 if test "$wxUSE_XRC" = "yes" ; then
47200 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
47201 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
47202 fi
47203 fi
47204
47205
47206
47207
47208
47209
47210
47211
47212 if test "$wxUSE_MAC" = 1 ; then
47213 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47214 if test "$USE_DARWIN" = 1; then
47215 LDFLAGS="$LDFLAGS -framework QuickTime"
47216 fi
47217 fi
47218 if test "$USE_DARWIN" = 1; then
47219 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
47220 fi
47221 fi
47222 if test "$wxUSE_COCOA" = 1 ; then
47223 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47224 if test "$wxUSE_MEDIACTRL" = "yes"; then
47225 LDFLAGS="$LDFLAGS -framework QuickTime"
47226 fi
47227 fi
47228 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47229 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47230 fi
47231
47232 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47233
47234 if test "$wxUSE_GUI" = "yes"; then
47235
47236
47237 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47238 erase event exec font image minimal mobile \
47239 mobile/wxedit mobile/styles render \
47240 shaped svg taborder vscroll widgets"
47241
47242 if test "$wxUSE_MONOLITHIC" != "yes"; then
47243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47244 fi
47245 if test "$TOOLKIT" = "MSW"; then
47246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47247 if test "$wxUSE_UNIVERSAL" != "yes"; then
47248 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47249 fi
47250 fi
47251 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47253 fi
47254 else
47255 SAMPLES_SUBDIRS="console"
47256 if test "$wxUSE_SOCKETS" = "yes" ; then
47257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47258 fi
47259 if test "$wxUSE_IPC" = "yes" ; then
47260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47261 fi
47262 fi
47263
47264
47265 if test "x$INTELCC" = "xyes" ; then
47266 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
47267 elif test "$GCC" = yes ; then
47268 CWARNINGS="-Wall -Wundef"
47269 fi
47270
47271 if test "x$INTELCXX" = "xyes" ; then
47272 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
47273 elif test "$GXX" = yes ; then
47274 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
47275 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
47276 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
47277 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
47278 echo $ECHO_N "(cached) $ECHO_C" >&6
47279 else
47280 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
47281
47282 ac_ext=cpp
47283 ac_cpp='$CXXCPP $CPPFLAGS'
47284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47287
47288 ac_save_CXXFLAGS="$CXXFLAGS"
47289 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
47290 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
47291 cat >conftest.$ac_ext <<_ACEOF
47292 /* confdefs.h. */
47293 _ACEOF
47294 cat confdefs.h >>conftest.$ac_ext
47295 cat >>conftest.$ac_ext <<_ACEOF
47296 /* end confdefs.h. */
47297
47298 int
47299 main ()
47300 {
47301 return 0;
47302 ;
47303 return 0;
47304 }
47305 _ACEOF
47306 rm -f conftest.$ac_objext
47307 if { (ac_try="$ac_compile"
47308 case "(($ac_try" in
47309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47310 *) ac_try_echo=$ac_try;;
47311 esac
47312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47313 (eval "$ac_compile") 2>conftest.er1
47314 ac_status=$?
47315 grep -v '^ *+' conftest.er1 >conftest.err
47316 rm -f conftest.er1
47317 cat conftest.err >&5
47318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47319 (exit $ac_status); } && {
47320 test -z "$ac_cxx_werror_flag" ||
47321 test ! -s conftest.err
47322 } && test -s conftest.$ac_objext; then
47323 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
47324 else
47325 echo "$as_me: failed program was:" >&5
47326 sed 's/^/| /' conftest.$ac_ext >&5
47327
47328
47329 fi
47330
47331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47332 done
47333 CXXFLAGS="$ac_save_CXXFLAGS"
47334 ac_ext=c
47335 ac_cpp='$CPP $CPPFLAGS'
47336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47339
47340
47341 fi
47342 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
47343 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
47344 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
47345 .ok|.ok,*) ;;
47346 .|.no|.no,*) ;;
47347 *)
47348 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
47349 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
47350 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
47351 ac_status=$?
47352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47353 (exit $ac_status); }
47354 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
47355 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
47356 ac_status=$?
47357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47358 (exit $ac_status); }
47359 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
47360 fi
47361 ;;
47362 esac
47363
47364 fi
47365
47366
47367 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47368 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47369
47370
47371 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47372 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47373 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47374 $CPPFLAGS `
47375
47376 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47377 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47378 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
47379 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
47380 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
47381
47382 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47383
47384
47385 if test "x$MWCC" = "xyes"; then
47386
47387 CC="$CC -cwd source -I-"
47388 CXX="$CXX -cwd source -I-"
47389 fi
47390
47391
47392 LIBS=`echo $LIBS`
47393 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47394 EXTRALIBS_XML="$EXPAT_LINK"
47395 EXTRALIBS_HTML="$MSPACK_LINK"
47396 EXTRALIBS_MEDIA="$GST_LIBS"
47397 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
47398 if test "$wxUSE_GUI" = "yes"; then
47399 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47400 fi
47401 if test "$wxUSE_OPENGL" = "yes"; then
47402 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47403 fi
47404
47405 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47406
47407 WXCONFIG_LIBS="$LIBS"
47408
47409 if test "$wxUSE_REGEX" = "builtin" ; then
47410 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47411 fi
47412 if test "$wxUSE_EXPAT" = "builtin" ; then
47413 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47414 fi
47415 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47416 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47417 fi
47418 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47419 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47420 fi
47421 if test "$wxUSE_LIBPNG" = "builtin" ; then
47422 wxconfig_3rdparty="png $wxconfig_3rdparty"
47423 fi
47424 if test "$wxUSE_ZLIB" = "builtin" ; then
47425 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47426 fi
47427
47428 for i in $wxconfig_3rdparty ; do
47429 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47430 done
47431
47432
47433 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47434 WXUNIV=1
47435
47436 case "$wxUNIV_THEMES" in
47437 ''|all)
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_ALL_THEMES 1
47440 _ACEOF
47441
47442 ;;
47443
47444 *)
47445 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47446 cat >>confdefs.h <<_ACEOF
47447 #define wxUSE_THEME_$t 1
47448 _ACEOF
47449
47450 done
47451 esac
47452 else
47453 WXUNIV=0
47454 fi
47455
47456
47457
47458
47459
47460
47461
47462
47463 if test $wxUSE_MONOLITHIC = "yes" ; then
47464 MONOLITHIC=1
47465 else
47466 MONOLITHIC=0
47467 fi
47468
47469 if test $wxUSE_PLUGINS = "yes" ; then
47470 USE_PLUGINS=1
47471 else
47472 USE_PLUGINS=0
47473 fi
47474
47475 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47476 USE_QA=1
47477 else
47478 USE_QA=0
47479 fi
47480
47481 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47482 OFFICIAL_BUILD=1
47483 else
47484 OFFICIAL_BUILD=0
47485 fi
47486
47487
47488
47489
47490
47491
47492
47493
47494
47495
47496
47497
47498
47499
47500
47501
47502
47503
47504
47505
47506
47507
47508
47509
47510
47511
47512
47513
47514 TOOLKIT_LOWERCASE=xxx
47515 if test "$TOOLKIT" = "MAC"; then
47516 TOOLKIT_LOWERCASE=osx_carbon
47517 fi
47518 if test "$TOOLKIT" = "OSX_CARBON"; then
47519 TOOLKIT_LOWERCASE=osx_carbon
47520 fi
47521 if test "$TOOLKIT" = "OSX_COCOA"; then
47522 TOOLKIT_LOWERCASE=osx_cocoa
47523 fi
47524 if test "$TOOLKIT_LOWERCASE" = "xxx"; then
47525 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47526 fi
47527
47528
47529
47530
47531
47532
47533
47534
47535
47536 case "$TOOLKIT" in
47537 GTK)
47538 TOOLKIT_DESC="GTK+"
47539 if test "$WXGTK2" = 1; then
47540 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47541 if test "$wxUSE_GTKPRINT" = "yes" ; then
47542 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47543 fi
47544 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47545 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47546 fi
47547 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47548 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47549 fi
47550 if test "$wxUSE_LIBHILDON" = "yes"; then
47551 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47552 fi
47553
47554 if test "$TOOLKIT_EXTRA" != ""; then
47555 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47556 fi
47557 fi
47558 ;;
47559
47560 ?*)
47561 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47562 ;;
47563
47564 *)
47565 TOOLKIT_DESC="base only"
47566 ;;
47567 esac
47568
47569 if test "$wxUSE_WINE" = "yes"; then
47570 BAKEFILE_FORCE_PLATFORM=win32
47571 fi
47572
47573 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47574 then
47575 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47576 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47577 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47578 echo $ECHO_N "(cached) $ECHO_C" >&6
47579 else
47580
47581 echo '#include <stdio.h>
47582 const wchar_t test_var[] = L"awidetest";' > conftest.h
47583
47584 echo '#include "conftest.h"
47585 int main()
47586 {
47587 printf("%ls", test_var);
47588 return 0;
47589 }' > conftest.cpp
47590
47591 wx_cv_gcc_pch_bug="pch not supported"
47592
47593 if $CXX conftest.h >/dev/null 2>&1
47594 then
47595 wx_cv_gcc_pch_bug=
47596
47597 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47598 then
47599 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47600 grep awidetest >/dev/null
47601 then
47602 wx_cv_gcc_pch_bug=no
47603 else
47604 wx_cv_gcc_pch_bug=yes
47605 fi
47606 fi
47607 fi
47608
47609 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47610
47611 fi
47612 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47613 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47614
47615 if test "$wx_cv_gcc_pch_bug" = yes; then
47616 bk_use_pch=no
47617 fi
47618 fi
47619
47620
47621
47622
47623
47624
47625
47626 if test "x$BAKEFILE_HOST" = "x"; then
47627 if test "x${host}" = "x" ; then
47628 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47629 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47630 { (exit 1); exit 1; }; }
47631 fi
47632
47633 BAKEFILE_HOST="${host}"
47634 fi
47635
47636 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47637
47638 if test -n "$ac_tool_prefix"; then
47639 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47640 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47643 if test "${ac_cv_prog_RANLIB+set}" = set; then
47644 echo $ECHO_N "(cached) $ECHO_C" >&6
47645 else
47646 if test -n "$RANLIB"; then
47647 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47648 else
47649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47650 for as_dir in $PATH
47651 do
47652 IFS=$as_save_IFS
47653 test -z "$as_dir" && as_dir=.
47654 for ac_exec_ext in '' $ac_executable_extensions; do
47655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47656 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47658 break 2
47659 fi
47660 done
47661 done
47662 IFS=$as_save_IFS
47663
47664 fi
47665 fi
47666 RANLIB=$ac_cv_prog_RANLIB
47667 if test -n "$RANLIB"; then
47668 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47669 echo "${ECHO_T}$RANLIB" >&6; }
47670 else
47671 { echo "$as_me:$LINENO: result: no" >&5
47672 echo "${ECHO_T}no" >&6; }
47673 fi
47674
47675
47676 fi
47677 if test -z "$ac_cv_prog_RANLIB"; then
47678 ac_ct_RANLIB=$RANLIB
47679 # Extract the first word of "ranlib", so it can be a program name with args.
47680 set dummy ranlib; 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_ac_ct_RANLIB+set}" = set; then
47684 echo $ECHO_N "(cached) $ECHO_C" >&6
47685 else
47686 if test -n "$ac_ct_RANLIB"; then
47687 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_ac_ct_RANLIB="ranlib"
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 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47707 if test -n "$ac_ct_RANLIB"; then
47708 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47709 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47710 else
47711 { echo "$as_me:$LINENO: result: no" >&5
47712 echo "${ECHO_T}no" >&6; }
47713 fi
47714
47715 if test "x$ac_ct_RANLIB" = x; then
47716 RANLIB=":"
47717 else
47718 case $cross_compiling:$ac_tool_warned in
47719 yes:)
47720 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47721 whose name does not start with the host triplet. If you think this
47722 configuration is useful to you, please write to autoconf@gnu.org." >&5
47723 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47724 whose name does not start with the host triplet. If you think this
47725 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47726 ac_tool_warned=yes ;;
47727 esac
47728 RANLIB=$ac_ct_RANLIB
47729 fi
47730 else
47731 RANLIB="$ac_cv_prog_RANLIB"
47732 fi
47733
47734 # Find a good install program. We prefer a C program (faster),
47735 # so one script is as good as another. But avoid the broken or
47736 # incompatible versions:
47737 # SysV /etc/install, /usr/sbin/install
47738 # SunOS /usr/etc/install
47739 # IRIX /sbin/install
47740 # AIX /bin/install
47741 # AmigaOS /C/install, which installs bootblocks on floppy discs
47742 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47743 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47744 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47745 # OS/2's system install, which has a completely different semantic
47746 # ./install, which can be erroneously created by make from ./install.sh.
47747 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47749 if test -z "$INSTALL"; then
47750 if test "${ac_cv_path_install+set}" = set; then
47751 echo $ECHO_N "(cached) $ECHO_C" >&6
47752 else
47753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47754 for as_dir in $PATH
47755 do
47756 IFS=$as_save_IFS
47757 test -z "$as_dir" && as_dir=.
47758 # Account for people who put trailing slashes in PATH elements.
47759 case $as_dir/ in
47760 ./ | .// | /cC/* | \
47761 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47762 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47763 /usr/ucb/* ) ;;
47764 *)
47765 # OSF1 and SCO ODT 3.0 have their own names for install.
47766 # Don't use installbsd from OSF since it installs stuff as root
47767 # by default.
47768 for ac_prog in ginstall scoinst install; do
47769 for ac_exec_ext in '' $ac_executable_extensions; do
47770 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47771 if test $ac_prog = install &&
47772 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47773 # AIX install. It has an incompatible calling convention.
47774 :
47775 elif test $ac_prog = install &&
47776 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47777 # program-specific install script used by HP pwplus--don't use.
47778 :
47779 else
47780 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47781 break 3
47782 fi
47783 fi
47784 done
47785 done
47786 ;;
47787 esac
47788 done
47789 IFS=$as_save_IFS
47790
47791
47792 fi
47793 if test "${ac_cv_path_install+set}" = set; then
47794 INSTALL=$ac_cv_path_install
47795 else
47796 # As a last resort, use the slow shell script. Don't cache a
47797 # value for INSTALL within a source directory, because that will
47798 # break other packages using the cache if that directory is
47799 # removed, or if the value is a relative name.
47800 INSTALL=$ac_install_sh
47801 fi
47802 fi
47803 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47804 echo "${ECHO_T}$INSTALL" >&6; }
47805
47806 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47807 # It thinks the first close brace ends the variable substitution.
47808 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47809
47810 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47811
47812 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47813
47814 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47815 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47816 LN_S=$as_ln_s
47817 if test "$LN_S" = "ln -s"; then
47818 { echo "$as_me:$LINENO: result: yes" >&5
47819 echo "${ECHO_T}yes" >&6; }
47820 else
47821 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47822 echo "${ECHO_T}no, using $LN_S" >&6; }
47823 fi
47824
47825
47826 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47827 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47828 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47829 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47830 echo $ECHO_N "(cached) $ECHO_C" >&6
47831 else
47832 cat >conftest.make <<\_ACEOF
47833 SHELL = /bin/sh
47834 all:
47835 @echo '@@@%%%=$(MAKE)=@@@%%%'
47836 _ACEOF
47837 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47838 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47839 *@@@%%%=?*=@@@%%%*)
47840 eval ac_cv_prog_make_${ac_make}_set=yes;;
47841 *)
47842 eval ac_cv_prog_make_${ac_make}_set=no;;
47843 esac
47844 rm -f conftest.make
47845 fi
47846 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47847 { echo "$as_me:$LINENO: result: yes" >&5
47848 echo "${ECHO_T}yes" >&6; }
47849 SET_MAKE=
47850 else
47851 { echo "$as_me:$LINENO: result: no" >&5
47852 echo "${ECHO_T}no" >&6; }
47853 SET_MAKE="MAKE=${MAKE-make}"
47854 fi
47855
47856
47857
47858 if test "x$SUNCXX" = "xyes"; then
47859 AR=$CXX
47860 AROPTIONS="-xar -o"
47861
47862 elif test "x$SGICC" = "xyes"; then
47863 AR=$CXX
47864 AROPTIONS="-ar -o"
47865
47866 else
47867 if test -n "$ac_tool_prefix"; then
47868 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47869 set dummy ${ac_tool_prefix}ar; ac_word=$2
47870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47872 if test "${ac_cv_prog_AR+set}" = set; then
47873 echo $ECHO_N "(cached) $ECHO_C" >&6
47874 else
47875 if test -n "$AR"; then
47876 ac_cv_prog_AR="$AR" # Let the user override the test.
47877 else
47878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47879 for as_dir in $PATH
47880 do
47881 IFS=$as_save_IFS
47882 test -z "$as_dir" && as_dir=.
47883 for ac_exec_ext in '' $ac_executable_extensions; do
47884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47885 ac_cv_prog_AR="${ac_tool_prefix}ar"
47886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47887 break 2
47888 fi
47889 done
47890 done
47891 IFS=$as_save_IFS
47892
47893 fi
47894 fi
47895 AR=$ac_cv_prog_AR
47896 if test -n "$AR"; then
47897 { echo "$as_me:$LINENO: result: $AR" >&5
47898 echo "${ECHO_T}$AR" >&6; }
47899 else
47900 { echo "$as_me:$LINENO: result: no" >&5
47901 echo "${ECHO_T}no" >&6; }
47902 fi
47903
47904
47905 fi
47906 if test -z "$ac_cv_prog_AR"; then
47907 ac_ct_AR=$AR
47908 # Extract the first word of "ar", so it can be a program name with args.
47909 set dummy ar; ac_word=$2
47910 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47912 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47913 echo $ECHO_N "(cached) $ECHO_C" >&6
47914 else
47915 if test -n "$ac_ct_AR"; then
47916 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47917 else
47918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47919 for as_dir in $PATH
47920 do
47921 IFS=$as_save_IFS
47922 test -z "$as_dir" && as_dir=.
47923 for ac_exec_ext in '' $ac_executable_extensions; do
47924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47925 ac_cv_prog_ac_ct_AR="ar"
47926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47927 break 2
47928 fi
47929 done
47930 done
47931 IFS=$as_save_IFS
47932
47933 fi
47934 fi
47935 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47936 if test -n "$ac_ct_AR"; then
47937 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47938 echo "${ECHO_T}$ac_ct_AR" >&6; }
47939 else
47940 { echo "$as_me:$LINENO: result: no" >&5
47941 echo "${ECHO_T}no" >&6; }
47942 fi
47943
47944 if test "x$ac_ct_AR" = x; then
47945 AR="ar"
47946 else
47947 case $cross_compiling:$ac_tool_warned in
47948 yes:)
47949 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47950 whose name does not start with the host triplet. If you think this
47951 configuration is useful to you, please write to autoconf@gnu.org." >&5
47952 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47953 whose name does not start with the host triplet. If you think this
47954 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47955 ac_tool_warned=yes ;;
47956 esac
47957 AR=$ac_ct_AR
47958 fi
47959 else
47960 AR="$ac_cv_prog_AR"
47961 fi
47962
47963 AROPTIONS=rcu
47964 fi
47965
47966
47967 if test -n "$ac_tool_prefix"; then
47968 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47969 set dummy ${ac_tool_prefix}strip; ac_word=$2
47970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47972 if test "${ac_cv_prog_STRIP+set}" = set; then
47973 echo $ECHO_N "(cached) $ECHO_C" >&6
47974 else
47975 if test -n "$STRIP"; then
47976 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47977 else
47978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47979 for as_dir in $PATH
47980 do
47981 IFS=$as_save_IFS
47982 test -z "$as_dir" && as_dir=.
47983 for ac_exec_ext in '' $ac_executable_extensions; do
47984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47985 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47987 break 2
47988 fi
47989 done
47990 done
47991 IFS=$as_save_IFS
47992
47993 fi
47994 fi
47995 STRIP=$ac_cv_prog_STRIP
47996 if test -n "$STRIP"; then
47997 { echo "$as_me:$LINENO: result: $STRIP" >&5
47998 echo "${ECHO_T}$STRIP" >&6; }
47999 else
48000 { echo "$as_me:$LINENO: result: no" >&5
48001 echo "${ECHO_T}no" >&6; }
48002 fi
48003
48004
48005 fi
48006 if test -z "$ac_cv_prog_STRIP"; then
48007 ac_ct_STRIP=$STRIP
48008 # Extract the first word of "strip", so it can be a program name with args.
48009 set dummy strip; ac_word=$2
48010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48012 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48013 echo $ECHO_N "(cached) $ECHO_C" >&6
48014 else
48015 if test -n "$ac_ct_STRIP"; then
48016 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48017 else
48018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48019 for as_dir in $PATH
48020 do
48021 IFS=$as_save_IFS
48022 test -z "$as_dir" && as_dir=.
48023 for ac_exec_ext in '' $ac_executable_extensions; do
48024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48025 ac_cv_prog_ac_ct_STRIP="strip"
48026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48027 break 2
48028 fi
48029 done
48030 done
48031 IFS=$as_save_IFS
48032
48033 fi
48034 fi
48035 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48036 if test -n "$ac_ct_STRIP"; then
48037 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48038 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
48039 else
48040 { echo "$as_me:$LINENO: result: no" >&5
48041 echo "${ECHO_T}no" >&6; }
48042 fi
48043
48044 if test "x$ac_ct_STRIP" = x; then
48045 STRIP=":"
48046 else
48047 case $cross_compiling:$ac_tool_warned in
48048 yes:)
48049 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48050 whose name does not start with the host triplet. If you think this
48051 configuration is useful to you, please write to autoconf@gnu.org." >&5
48052 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48053 whose name does not start with the host triplet. If you think this
48054 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48055 ac_tool_warned=yes ;;
48056 esac
48057 STRIP=$ac_ct_STRIP
48058 fi
48059 else
48060 STRIP="$ac_cv_prog_STRIP"
48061 fi
48062
48063 if test -n "$ac_tool_prefix"; then
48064 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48065 set dummy ${ac_tool_prefix}nm; ac_word=$2
48066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48068 if test "${ac_cv_prog_NM+set}" = set; then
48069 echo $ECHO_N "(cached) $ECHO_C" >&6
48070 else
48071 if test -n "$NM"; then
48072 ac_cv_prog_NM="$NM" # Let the user override the test.
48073 else
48074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48075 for as_dir in $PATH
48076 do
48077 IFS=$as_save_IFS
48078 test -z "$as_dir" && as_dir=.
48079 for ac_exec_ext in '' $ac_executable_extensions; do
48080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48081 ac_cv_prog_NM="${ac_tool_prefix}nm"
48082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48083 break 2
48084 fi
48085 done
48086 done
48087 IFS=$as_save_IFS
48088
48089 fi
48090 fi
48091 NM=$ac_cv_prog_NM
48092 if test -n "$NM"; then
48093 { echo "$as_me:$LINENO: result: $NM" >&5
48094 echo "${ECHO_T}$NM" >&6; }
48095 else
48096 { echo "$as_me:$LINENO: result: no" >&5
48097 echo "${ECHO_T}no" >&6; }
48098 fi
48099
48100
48101 fi
48102 if test -z "$ac_cv_prog_NM"; then
48103 ac_ct_NM=$NM
48104 # Extract the first word of "nm", so it can be a program name with args.
48105 set dummy nm; ac_word=$2
48106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48108 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48109 echo $ECHO_N "(cached) $ECHO_C" >&6
48110 else
48111 if test -n "$ac_ct_NM"; then
48112 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48113 else
48114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48115 for as_dir in $PATH
48116 do
48117 IFS=$as_save_IFS
48118 test -z "$as_dir" && as_dir=.
48119 for ac_exec_ext in '' $ac_executable_extensions; do
48120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48121 ac_cv_prog_ac_ct_NM="nm"
48122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48123 break 2
48124 fi
48125 done
48126 done
48127 IFS=$as_save_IFS
48128
48129 fi
48130 fi
48131 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48132 if test -n "$ac_ct_NM"; then
48133 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48134 echo "${ECHO_T}$ac_ct_NM" >&6; }
48135 else
48136 { echo "$as_me:$LINENO: result: no" >&5
48137 echo "${ECHO_T}no" >&6; }
48138 fi
48139
48140 if test "x$ac_ct_NM" = x; then
48141 NM=":"
48142 else
48143 case $cross_compiling:$ac_tool_warned in
48144 yes:)
48145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48146 whose name does not start with the host triplet. If you think this
48147 configuration is useful to you, please write to autoconf@gnu.org." >&5
48148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48149 whose name does not start with the host triplet. If you think this
48150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48151 ac_tool_warned=yes ;;
48152 esac
48153 NM=$ac_ct_NM
48154 fi
48155 else
48156 NM="$ac_cv_prog_NM"
48157 fi
48158
48159
48160 { echo "$as_me:$LINENO: checking for command to install directories" >&5
48161 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
48162 INSTALL_TEST_DIR=acbftest$$
48163 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
48164 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
48165 rmdir $INSTALL_TEST_DIR
48166 INSTALL_DIR='$(INSTALL) -d'
48167 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
48168 echo "${ECHO_T}$INSTALL -d" >&6; }
48169 else
48170 INSTALL_DIR="mkdir -p"
48171 { echo "$as_me:$LINENO: result: mkdir -p" >&5
48172 echo "${ECHO_T}mkdir -p" >&6; }
48173 fi
48174
48175
48176 LDFLAGS_GUI=
48177 case ${BAKEFILE_HOST} in
48178 *-*-cygwin* | *-*-mingw32* )
48179 LDFLAGS_GUI="-mwindows"
48180 esac
48181
48182
48183 fi
48184
48185 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
48186 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
48187 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48188 echo $ECHO_N "(cached) $ECHO_C" >&6
48189 else
48190
48191 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48192 egrep -s GNU > /dev/null); then
48193 bakefile_cv_prog_makeisgnu="yes"
48194 else
48195 bakefile_cv_prog_makeisgnu="no"
48196 fi
48197
48198 fi
48199 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48200 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
48201
48202 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48203 IF_GNU_MAKE=""
48204 else
48205 IF_GNU_MAKE="#"
48206 fi
48207
48208
48209
48210 PLATFORM_UNIX=0
48211 PLATFORM_WIN32=0
48212 PLATFORM_MSDOS=0
48213 PLATFORM_MAC=0
48214 PLATFORM_MACOS=0
48215 PLATFORM_MACOSX=0
48216 PLATFORM_OS2=0
48217 PLATFORM_BEOS=0
48218
48219 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48220 case "${BAKEFILE_HOST}" in
48221 *-*-mingw32* )
48222 PLATFORM_WIN32=1
48223 ;;
48224 *-pc-msdosdjgpp )
48225 PLATFORM_MSDOS=1
48226 ;;
48227 *-pc-os2_emx | *-pc-os2-emx )
48228 PLATFORM_OS2=1
48229 ;;
48230 *-*-darwin* )
48231 PLATFORM_MAC=1
48232 PLATFORM_MACOSX=1
48233 ;;
48234 *-*-beos* )
48235 PLATFORM_BEOS=1
48236 ;;
48237 powerpc-apple-macos* )
48238 PLATFORM_MAC=1
48239 PLATFORM_MACOS=1
48240 ;;
48241 * )
48242 PLATFORM_UNIX=1
48243 ;;
48244 esac
48245 else
48246 case "$BAKEFILE_FORCE_PLATFORM" in
48247 win32 )
48248 PLATFORM_WIN32=1
48249 ;;
48250 msdos )
48251 PLATFORM_MSDOS=1
48252 ;;
48253 os2 )
48254 PLATFORM_OS2=1
48255 ;;
48256 darwin )
48257 PLATFORM_MAC=1
48258 PLATFORM_MACOSX=1
48259 ;;
48260 unix )
48261 PLATFORM_UNIX=1
48262 ;;
48263 beos )
48264 PLATFORM_BEOS=1
48265 ;;
48266 * )
48267 ;;
48268 esac
48269 fi
48270
48271
48272
48273
48274
48275
48276
48277
48278
48279
48280
48281 # Check whether --enable-omf was given.
48282 if test "${enable_omf+set}" = set; then
48283 enableval=$enable_omf; bk_os2_use_omf="$enableval"
48284 fi
48285
48286
48287 case "${BAKEFILE_HOST}" in
48288 *-*-darwin* )
48289 if test "x$GCC" = "xyes"; then
48290 CFLAGS="$CFLAGS -fno-common"
48291 CXXFLAGS="$CXXFLAGS -fno-common"
48292 fi
48293 if test "x$XLCC" = "xyes"; then
48294 CFLAGS="$CFLAGS -qnocommon"
48295 CXXFLAGS="$CXXFLAGS -qnocommon"
48296 fi
48297 ;;
48298
48299 *-pc-os2_emx | *-pc-os2-emx )
48300 if test "x$bk_os2_use_omf" = "xyes" ; then
48301 AR=emxomfar
48302 RANLIB=:
48303 LDFLAGS="-Zomf $LDFLAGS"
48304 CFLAGS="-Zomf $CFLAGS"
48305 CXXFLAGS="-Zomf $CXXFLAGS"
48306 OS2_LIBEXT="lib"
48307 else
48308 OS2_LIBEXT="a"
48309 fi
48310 ;;
48311
48312 i*86-*-beos* )
48313 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48314 ;;
48315 esac
48316
48317
48318 SO_SUFFIX="so"
48319 SO_SUFFIX_MODULE="so"
48320 EXEEXT=""
48321 LIBPREFIX="lib"
48322 LIBEXT=".a"
48323 DLLPREFIX="lib"
48324 DLLPREFIX_MODULE=""
48325 DLLIMP_SUFFIX=""
48326 dlldir="$libdir"
48327
48328 case "${BAKEFILE_HOST}" in
48329 ia64-hp-hpux* )
48330 ;;
48331 *-hp-hpux* )
48332 SO_SUFFIX="sl"
48333 SO_SUFFIX_MODULE="sl"
48334 ;;
48335 *-*-aix* )
48336 SO_SUFFIX="a"
48337 SO_SUFFIX_MODULE="a"
48338 ;;
48339 *-*-cygwin* )
48340 SO_SUFFIX="dll"
48341 SO_SUFFIX_MODULE="dll"
48342 DLLIMP_SUFFIX="dll.a"
48343 EXEEXT=".exe"
48344 DLLPREFIX="cyg"
48345 dlldir="$bindir"
48346 ;;
48347 *-*-mingw32* )
48348 SO_SUFFIX="dll"
48349 SO_SUFFIX_MODULE="dll"
48350 DLLIMP_SUFFIX="dll.a"
48351 EXEEXT=".exe"
48352 DLLPREFIX=""
48353 dlldir="$bindir"
48354 ;;
48355 *-pc-msdosdjgpp )
48356 EXEEXT=".exe"
48357 DLLPREFIX=""
48358 dlldir="$bindir"
48359 ;;
48360 *-pc-os2_emx | *-pc-os2-emx )
48361 SO_SUFFIX="dll"
48362 SO_SUFFIX_MODULE="dll"
48363 DLLIMP_SUFFIX=$OS2_LIBEXT
48364 EXEEXT=".exe"
48365 DLLPREFIX=""
48366 LIBPREFIX=""
48367 LIBEXT=".$OS2_LIBEXT"
48368 dlldir="$bindir"
48369 ;;
48370 *-*-darwin* )
48371 SO_SUFFIX="dylib"
48372 SO_SUFFIX_MODULE="bundle"
48373 ;;
48374 esac
48375
48376 if test "x$DLLIMP_SUFFIX" = "x" ; then
48377 DLLIMP_SUFFIX="$SO_SUFFIX"
48378 fi
48379
48380
48381
48382
48383
48384
48385
48386
48387
48388
48389
48390
48391 PIC_FLAG=""
48392 if test "x$GCC" = "xyes"; then
48393 PIC_FLAG="-fPIC"
48394 fi
48395
48396 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48397 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48398 WINDOWS_IMPLIB=0
48399
48400 case "${BAKEFILE_HOST}" in
48401 *-hp-hpux* )
48402 if test "x$GCC" != "xyes"; then
48403 LDFLAGS="$LDFLAGS -L/usr/lib"
48404
48405 SHARED_LD_CC="${CC} -b -o"
48406 SHARED_LD_CXX="${CXX} -b -o"
48407 PIC_FLAG="+Z"
48408 fi
48409 ;;
48410
48411 *-*-linux* )
48412 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
48413 PIC_FLAG="-KPIC"
48414 elif test "x$SUNCXX" = "xyes"; then
48415 SHARED_LD_CC="${CC} -G -o"
48416 SHARED_LD_CXX="${CXX} -G -o"
48417 PIC_FLAG="-KPIC"
48418 fi
48419 ;;
48420
48421 *-*-solaris2* )
48422 if test "x$SUNCXX" = xyes ; then
48423 SHARED_LD_CC="${CC} -G -o"
48424 SHARED_LD_CXX="${CXX} -G -o"
48425 PIC_FLAG="-KPIC"
48426 fi
48427 ;;
48428
48429 *-*-darwin* )
48430
48431 D='$'
48432 cat <<EOF >shared-ld-sh
48433 #!/bin/sh
48434 #-----------------------------------------------------------------------------
48435 #-- Name: distrib/mac/shared-ld-sh
48436 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48437 #-- Author: Gilles Depeyrot
48438 #-- Copyright: (c) 2002 Gilles Depeyrot
48439 #-- Licence: any use permitted
48440 #-----------------------------------------------------------------------------
48441
48442 verbose=0
48443 args=""
48444 objects=""
48445 linking_flag="-dynamiclib"
48446 ldargs="-r -keep_private_externs -nostdlib"
48447
48448 if test "x${D}CXX" = "x"; then
48449 CXX="c++"
48450 fi
48451
48452 while test ${D}# -gt 0; do
48453 case ${D}1 in
48454
48455 -v)
48456 verbose=1
48457 ;;
48458
48459 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48460 # collect these options and values
48461 args="${D}{args} ${D}1 ${D}2"
48462 shift
48463 ;;
48464
48465 -arch|-isysroot)
48466 # collect these options and values
48467 ldargs="${D}{ldargs} ${D}1 ${D}2"
48468 shift
48469 ;;
48470
48471 -s|-Wl,*)
48472 # collect these load args
48473 ldargs="${D}{ldargs} ${D}1"
48474 ;;
48475
48476 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48477 # collect these options
48478 args="${D}{args} ${D}1"
48479 ;;
48480
48481 -dynamiclib|-bundle)
48482 linking_flag="${D}1"
48483 ;;
48484
48485 -*)
48486 echo "shared-ld: unhandled option '${D}1'"
48487 exit 1
48488 ;;
48489
48490 *.o | *.a | *.dylib)
48491 # collect object files
48492 objects="${D}{objects} ${D}1"
48493 ;;
48494
48495 *)
48496 echo "shared-ld: unhandled argument '${D}1'"
48497 exit 1
48498 ;;
48499
48500 esac
48501 shift
48502 done
48503
48504 status=0
48505
48506 #
48507 # Link one module containing all the others
48508 #
48509 if test ${D}{verbose} = 1; then
48510 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48511 fi
48512 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48513 status=${D}?
48514
48515 #
48516 # Link the shared library from the single module created, but only if the
48517 # previous command didn't fail:
48518 #
48519 if test ${D}{status} = 0; then
48520 if test ${D}{verbose} = 1; then
48521 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48522 fi
48523 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48524 status=${D}?
48525 fi
48526
48527 #
48528 # Remove intermediate module
48529 #
48530 rm -f master.${D}${D}.o
48531
48532 exit ${D}status
48533 EOF
48534
48535 chmod +x shared-ld-sh
48536
48537 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48538 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48539
48540
48541 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48542 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48543 if test "${bakefile_cv_gcc31+set}" = set; then
48544 echo $ECHO_N "(cached) $ECHO_C" >&6
48545 else
48546
48547 cat >conftest.$ac_ext <<_ACEOF
48548 /* confdefs.h. */
48549 _ACEOF
48550 cat confdefs.h >>conftest.$ac_ext
48551 cat >>conftest.$ac_ext <<_ACEOF
48552 /* end confdefs.h. */
48553
48554 int
48555 main ()
48556 {
48557
48558 #if (__GNUC__ < 3) || \
48559 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48560 This is old gcc
48561 #endif
48562
48563 ;
48564 return 0;
48565 }
48566 _ACEOF
48567 rm -f conftest.$ac_objext
48568 if { (ac_try="$ac_compile"
48569 case "(($ac_try" in
48570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48571 *) ac_try_echo=$ac_try;;
48572 esac
48573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48574 (eval "$ac_compile") 2>conftest.er1
48575 ac_status=$?
48576 grep -v '^ *+' conftest.er1 >conftest.err
48577 rm -f conftest.er1
48578 cat conftest.err >&5
48579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48580 (exit $ac_status); } && {
48581 test -z "$ac_c_werror_flag" ||
48582 test ! -s conftest.err
48583 } && test -s conftest.$ac_objext; then
48584
48585 bakefile_cv_gcc31=yes
48586
48587 else
48588 echo "$as_me: failed program was:" >&5
48589 sed 's/^/| /' conftest.$ac_ext >&5
48590
48591
48592 bakefile_cv_gcc31=no
48593
48594
48595 fi
48596
48597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48598
48599 fi
48600 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48601 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48602 if test "$bakefile_cv_gcc31" = "no"; then
48603 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48604 SHARED_LD_CXX="$SHARED_LD_CC"
48605 else
48606 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48607 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48608 fi
48609
48610 if test "x$GCC" == "xyes"; then
48611 PIC_FLAG="-dynamic -fPIC"
48612 fi
48613 if test "x$XLCC" = "xyes"; then
48614 PIC_FLAG="-dynamic -DPIC"
48615 fi
48616 ;;
48617
48618 *-*-aix* )
48619 if test "x$GCC" = "xyes"; then
48620 PIC_FLAG=""
48621
48622 case "${BAKEFILE_HOST}" in
48623 *-*-aix5* )
48624 LD_EXPFULL="-Wl,-bexpfull"
48625 ;;
48626 esac
48627
48628 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48629 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48630 else
48631 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48632 set dummy makeC++SharedLib; ac_word=$2
48633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48635 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48636 echo $ECHO_N "(cached) $ECHO_C" >&6
48637 else
48638 if test -n "$AIX_CXX_LD"; then
48639 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48640 else
48641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48642 for as_dir in $PATH
48643 do
48644 IFS=$as_save_IFS
48645 test -z "$as_dir" && as_dir=.
48646 for ac_exec_ext in '' $ac_executable_extensions; do
48647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48648 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48650 break 2
48651 fi
48652 done
48653 done
48654 IFS=$as_save_IFS
48655
48656 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48657 fi
48658 fi
48659 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48660 if test -n "$AIX_CXX_LD"; then
48661 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48662 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48663 else
48664 { echo "$as_me:$LINENO: result: no" >&5
48665 echo "${ECHO_T}no" >&6; }
48666 fi
48667
48668
48669 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48670 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48671 fi
48672 ;;
48673
48674 *-*-beos* )
48675 SHARED_LD_CC="${LD} -nostart -o"
48676 SHARED_LD_CXX="${LD} -nostart -o"
48677 ;;
48678
48679 *-*-irix* )
48680 if test "x$GCC" != "xyes"; then
48681 PIC_FLAG="-KPIC"
48682 fi
48683 ;;
48684
48685 *-*-cygwin* | *-*-mingw32* )
48686 PIC_FLAG=""
48687 SHARED_LD_CC="\$(CC) -shared -o"
48688 SHARED_LD_CXX="\$(CXX) -shared -o"
48689 WINDOWS_IMPLIB=1
48690 ;;
48691
48692 *-pc-os2_emx | *-pc-os2-emx )
48693 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48694 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48695 PIC_FLAG=""
48696
48697 D='$'
48698 cat <<EOF >dllar.sh
48699 #!/bin/sh
48700 #
48701 # dllar - a tool to build both a .dll and an .a file
48702 # from a set of object (.o) files for EMX/OS2.
48703 #
48704 # Written by Andrew Zabolotny, bit@freya.etu.ru
48705 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48706 #
48707 # This script will accept a set of files on the command line.
48708 # All the public symbols from the .o files will be exported into
48709 # a .DEF file, then linker will be run (through gcc) against them to
48710 # build a shared library consisting of all given .o files. All libraries
48711 # (.a) will be first decompressed into component .o files then act as
48712 # described above. You can optionally give a description (-d "description")
48713 # which will be put into .DLL. To see the list of accepted options (as well
48714 # as command-line format) simply run this program without options. The .DLL
48715 # is built to be imported by name (there is no guarantee that new versions
48716 # of the library you build will have same ordinals for same symbols).
48717 #
48718 # dllar is free software; you can redistribute it and/or modify
48719 # it under the terms of the GNU General Public License as published by
48720 # the Free Software Foundation; either version 2, or (at your option)
48721 # any later version.
48722 #
48723 # dllar is distributed in the hope that it will be useful,
48724 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48725 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48726 # GNU General Public License for more details.
48727 #
48728 # You should have received a copy of the GNU General Public License
48729 # along with dllar; see the file COPYING. If not, write to the Free
48730 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48731 # 02111-1307, USA.
48732
48733 # To successfuly run this program you will need:
48734 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48735 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48736 # - gcc
48737 # (used to build the .dll)
48738 # - emxexp
48739 # (used to create .def file from .o files)
48740 # - emximp
48741 # (used to create .a file from .def file)
48742 # - GNU text utilites (cat, sort, uniq)
48743 # used to process emxexp output
48744 # - GNU file utilities (mv, rm)
48745 # - GNU sed
48746 # - lxlite (optional, see flag below)
48747 # (used for general .dll cleanup)
48748 #
48749
48750 flag_USE_LXLITE=1;
48751
48752 #
48753 # helper functions
48754 # basnam, variant of basename, which does _not_ remove the path, _iff_
48755 # second argument (suffix to remove) is given
48756 basnam(){
48757 case ${D}# in
48758 1)
48759 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48760 ;;
48761 2)
48762 echo ${D}1 | sed 's/'${D}2'${D}//'
48763 ;;
48764 *)
48765 echo "error in basnam ${D}*"
48766 exit 8
48767 ;;
48768 esac
48769 }
48770
48771 # Cleanup temporary files and output
48772 CleanUp() {
48773 cd ${D}curDir
48774 for i in ${D}inputFiles ; do
48775 case ${D}i in
48776 *!)
48777 rm -rf \`basnam ${D}i !\`
48778 ;;
48779 *)
48780 ;;
48781 esac
48782 done
48783
48784 # Kill result in case of failure as there is just to many stupid make/nmake
48785 # things out there which doesn't do this.
48786 if [ ${D}# -eq 0 ]; then
48787 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48788 fi
48789 }
48790
48791 # Print usage and exit script with rc=1.
48792 PrintHelp() {
48793 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48794 echo ' [-name-mangler-script script.sh]'
48795 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48796 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48797 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48798 echo ' [*.o] [*.a]'
48799 echo '*> "output_file" should have no extension.'
48800 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48801 echo ' The import library name is derived from this and is set to "name".a,'
48802 echo ' unless overridden by -import'
48803 echo '*> "importlib_name" should have no extension.'
48804 echo ' If it has the .o, or .a extension, it is automatically removed.'
48805 echo ' This name is used as the import library name and may be longer and'
48806 echo ' more descriptive than the DLL name which has to follow the old '
48807 echo ' 8.3 convention of FAT.'
48808 echo '*> "script.sh may be given to override the output_file name by a'
48809 echo ' different name. It is mainly useful if the regular make process'
48810 echo ' of some package does not take into account OS/2 restriction of'
48811 echo ' DLL name lengths. It takes the importlib name as input and is'
48812 echo ' supposed to procude a shorter name as output. The script should'
48813 echo ' expect to get importlib_name without extension and should produce'
48814 echo ' a (max.) 8 letter name without extension.'
48815 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48816 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48817 echo ' These flags will be put at the start of GCC command line.'
48818 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48819 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48820 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48821 echo ' If the last character of a symbol is "*", all symbols beginning'
48822 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48823 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48824 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48825 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48826 echo ' C runtime DLLs.'
48827 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48828 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48829 echo ' unchanged to GCC at the end of command line.'
48830 echo '*> If you create a DLL from a library and you do not specify -o,'
48831 echo ' the basename for DLL and import library will be set to library name,'
48832 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48833 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48834 echo ' library will be renamed into gcc_s.a.'
48835 echo '--------'
48836 echo 'Example:'
48837 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48838 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48839 CleanUp
48840 exit 1
48841 }
48842
48843 # Execute a command.
48844 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48845 # @Uses Whatever CleanUp() uses.
48846 doCommand() {
48847 echo "${D}*"
48848 eval ${D}*
48849 rcCmd=${D}?
48850
48851 if [ ${D}rcCmd -ne 0 ]; then
48852 echo "command failed, exit code="${D}rcCmd
48853 CleanUp
48854 exit ${D}rcCmd
48855 fi
48856 }
48857
48858 # main routine
48859 # setup globals
48860 cmdLine=${D}*
48861 outFile=""
48862 outimpFile=""
48863 inputFiles=""
48864 renameScript=""
48865 description=""
48866 CC=gcc.exe
48867 CFLAGS="-s -Zcrtdll"
48868 EXTRA_CFLAGS=""
48869 EXPORT_BY_ORDINALS=0
48870 exclude_symbols=""
48871 library_flags=""
48872 curDir=\`pwd\`
48873 curDirS=curDir
48874 case ${D}curDirS in
48875 */)
48876 ;;
48877 *)
48878 curDirS=${D}{curDirS}"/"
48879 ;;
48880 esac
48881 # Parse commandline
48882 libsToLink=0
48883 omfLinking=0
48884 while [ ${D}1 ]; do
48885 case ${D}1 in
48886 -ord*)
48887 EXPORT_BY_ORDINALS=1;
48888 ;;
48889 -o*)
48890 shift
48891 outFile=${D}1
48892 ;;
48893 -i*)
48894 shift
48895 outimpFile=${D}1
48896 ;;
48897 -name-mangler-script)
48898 shift
48899 renameScript=${D}1
48900 ;;
48901 -d*)
48902 shift
48903 description=${D}1
48904 ;;
48905 -f*)
48906 shift
48907 CFLAGS=${D}1
48908 ;;
48909 -c*)
48910 shift
48911 CC=${D}1
48912 ;;
48913 -h*)
48914 PrintHelp
48915 ;;
48916 -ex*)
48917 shift
48918 exclude_symbols=${D}{exclude_symbols}${D}1" "
48919 ;;
48920 -libf*)
48921 shift
48922 library_flags=${D}{library_flags}${D}1" "
48923 ;;
48924 -nocrt*)
48925 CFLAGS="-s"
48926 ;;
48927 -nolxl*)
48928 flag_USE_LXLITE=0
48929 ;;
48930 -* | /*)
48931 case ${D}1 in
48932 -L* | -l*)
48933 libsToLink=1
48934 ;;
48935 -Zomf)
48936 omfLinking=1
48937 ;;
48938 *)
48939 ;;
48940 esac
48941 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48942 ;;
48943 *.dll)
48944 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48945 if [ ${D}omfLinking -eq 1 ]; then
48946 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48947 else
48948 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48949 fi
48950 ;;
48951 *)
48952 found=0;
48953 if [ ${D}libsToLink -ne 0 ]; then
48954 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48955 else
48956 for file in ${D}1 ; do
48957 if [ -f ${D}file ]; then
48958 inputFiles="${D}{inputFiles} ${D}file"
48959 found=1
48960 fi
48961 done
48962 if [ ${D}found -eq 0 ]; then
48963 echo "ERROR: No file(s) found: "${D}1
48964 exit 8
48965 fi
48966 fi
48967 ;;
48968 esac
48969 shift
48970 done # iterate cmdline words
48971
48972 #
48973 if [ -z "${D}inputFiles" ]; then
48974 echo "dllar: no input files"
48975 PrintHelp
48976 fi
48977
48978 # Now extract all .o files from .a files
48979 newInputFiles=""
48980 for file in ${D}inputFiles ; do
48981 case ${D}file in
48982 *.a | *.lib)
48983 case ${D}file in
48984 *.a)
48985 suffix=".a"
48986 AR="ar"
48987 ;;
48988 *.lib)
48989 suffix=".lib"
48990 AR="emxomfar"
48991 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48992 ;;
48993 *)
48994 ;;
48995 esac
48996 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48997 mkdir ${D}dirname
48998 if [ ${D}? -ne 0 ]; then
48999 echo "Failed to create subdirectory ./${D}dirname"
49000 CleanUp
49001 exit 8;
49002 fi
49003 # Append '!' to indicate archive
49004 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49005 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49006 cd ${D}curDir
49007 found=0;
49008 for subfile in ${D}dirname/*.o* ; do
49009 if [ -f ${D}subfile ]; then
49010 found=1
49011 if [ -s ${D}subfile ]; then
49012 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49013 newInputFiles="${D}newInputFiles ${D}subfile"
49014 fi
49015 fi
49016 done
49017 if [ ${D}found -eq 0 ]; then
49018 echo "WARNING: there are no files in archive \\'${D}file\\'"
49019 fi
49020 ;;
49021 *)
49022 newInputFiles="${D}{newInputFiles} ${D}file"
49023 ;;
49024 esac
49025 done
49026 inputFiles="${D}newInputFiles"
49027
49028 # Output filename(s).
49029 do_backup=0;
49030 if [ -z ${D}outFile ]; then
49031 do_backup=1;
49032 set outFile ${D}inputFiles; outFile=${D}2
49033 fi
49034
49035 # If it is an archive, remove the '!' and the '_%' suffixes
49036 case ${D}outFile in
49037 *_%!)
49038 outFile=\`basnam ${D}outFile _%!\`
49039 ;;
49040 *)
49041 ;;
49042 esac
49043 case ${D}outFile in
49044 *.dll)
49045 outFile=\`basnam ${D}outFile .dll\`
49046 ;;
49047 *.DLL)
49048 outFile=\`basnam ${D}outFile .DLL\`
49049 ;;
49050 *.o)
49051 outFile=\`basnam ${D}outFile .o\`
49052 ;;
49053 *.obj)
49054 outFile=\`basnam ${D}outFile .obj\`
49055 ;;
49056 *.a)
49057 outFile=\`basnam ${D}outFile .a\`
49058 ;;
49059 *.lib)
49060 outFile=\`basnam ${D}outFile .lib\`
49061 ;;
49062 *)
49063 ;;
49064 esac
49065 case ${D}outimpFile in
49066 *.a)
49067 outimpFile=\`basnam ${D}outimpFile .a\`
49068 ;;
49069 *.lib)
49070 outimpFile=\`basnam ${D}outimpFile .lib\`
49071 ;;
49072 *)
49073 ;;
49074 esac
49075 if [ -z ${D}outimpFile ]; then
49076 outimpFile=${D}outFile
49077 fi
49078 defFile="${D}{outFile}.def"
49079 arcFile="${D}{outimpFile}.a"
49080 arcFile2="${D}{outimpFile}.lib"
49081
49082 #create ${D}dllFile as something matching 8.3 restrictions,
49083 if [ -z ${D}renameScript ] ; then
49084 dllFile="${D}outFile"
49085 else
49086 dllFile=\`${D}renameScript ${D}outimpFile\`
49087 fi
49088
49089 if [ ${D}do_backup -ne 0 ] ; then
49090 if [ -f ${D}arcFile ] ; then
49091 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49092 fi
49093 if [ -f ${D}arcFile2 ] ; then
49094 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49095 fi
49096 fi
49097
49098 # Extract public symbols from all the object files.
49099 tmpdefFile=${D}{defFile}_%
49100 rm -f ${D}tmpdefFile
49101 for file in ${D}inputFiles ; do
49102 case ${D}file in
49103 *!)
49104 ;;
49105 *)
49106 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49107 ;;
49108 esac
49109 done
49110
49111 # Create the def file.
49112 rm -f ${D}defFile
49113 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49114 dllFile="${D}{dllFile}.dll"
49115 if [ ! -z ${D}description ]; then
49116 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49117 fi
49118 echo "EXPORTS" >> ${D}defFile
49119
49120 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49121 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49122
49123 # Checks if the export is ok or not.
49124 for word in ${D}exclude_symbols; do
49125 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49126 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49127 done
49128
49129
49130 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49131 sed "=" < ${D}tmpdefFile | \\
49132 sed '
49133 N
49134 : loop
49135 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49136 t loop
49137 ' > ${D}{tmpdefFile}%
49138 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49139 else
49140 rm -f ${D}{tmpdefFile}%
49141 fi
49142 cat ${D}tmpdefFile >> ${D}defFile
49143 rm -f ${D}tmpdefFile
49144
49145 # Do linking, create implib, and apply lxlite.
49146 gccCmdl="";
49147 for file in ${D}inputFiles ; do
49148 case ${D}file in
49149 *!)
49150 ;;
49151 *)
49152 gccCmdl="${D}gccCmdl ${D}file"
49153 ;;
49154 esac
49155 done
49156 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49157 touch "${D}{outFile}.dll"
49158
49159 doCommand "emximp -o ${D}arcFile ${D}defFile"
49160 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49161 add_flags="";
49162 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49163 add_flags="-ynd"
49164 fi
49165 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49166 fi
49167 doCommand "emxomf -s -l ${D}arcFile"
49168
49169 # Successful exit.
49170 CleanUp 1
49171 exit 0
49172 EOF
49173
49174 chmod +x dllar.sh
49175 ;;
49176
49177 powerpc-apple-macos* | \
49178 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49179 *-*-mirbsd* | \
49180 *-*-sunos4* | \
49181 *-*-osf* | \
49182 *-*-dgux5* | \
49183 *-*-sysv5* | \
49184 *-pc-msdosdjgpp )
49185 ;;
49186
49187 *)
49188 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
49189 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
49190 { (exit 1); exit 1; }; }
49191 esac
49192
49193 if test "x$PIC_FLAG" != "x" ; then
49194 PIC_FLAG="$PIC_FLAG -DPIC"
49195 fi
49196
49197 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49198 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49199 fi
49200 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49201 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49202 fi
49203
49204
49205
49206
49207
49208
49209
49210
49211
49212 USE_SOVERSION=0
49213 USE_SOVERLINUX=0
49214 USE_SOVERSOLARIS=0
49215 USE_SOVERCYGWIN=0
49216 USE_SOSYMLINKS=0
49217 USE_MACVERSION=0
49218 SONAME_FLAG=
49219
49220 case "${BAKEFILE_HOST}" in
49221 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
49222 *-*-k*bsd*-gnu | *-*-mirbsd* )
49223 if test "x$SUNCXX" = "xyes"; then
49224 SONAME_FLAG="-h "
49225 else
49226 SONAME_FLAG="-Wl,-soname,"
49227 fi
49228 USE_SOVERSION=1
49229 USE_SOVERLINUX=1
49230 USE_SOSYMLINKS=1
49231 ;;
49232
49233 *-*-solaris2* )
49234 SONAME_FLAG="-h "
49235 USE_SOVERSION=1
49236 USE_SOVERSOLARIS=1
49237 USE_SOSYMLINKS=1
49238 ;;
49239
49240 *-*-darwin* )
49241 USE_MACVERSION=1
49242 USE_SOVERSION=1
49243 USE_SOSYMLINKS=1
49244 ;;
49245
49246 *-*-cygwin* )
49247 USE_SOVERSION=1
49248 USE_SOVERCYGWIN=1
49249 ;;
49250 esac
49251
49252
49253
49254
49255
49256
49257
49258
49259
49260
49261 # Check whether --enable-dependency-tracking was given.
49262 if test "${enable_dependency_tracking+set}" = set; then
49263 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
49264 fi
49265
49266
49267 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49268 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
49269
49270 BK_DEPS=""
49271 if test "x$bk_use_trackdeps" = "xno" ; then
49272 DEPS_TRACKING=0
49273 { echo "$as_me:$LINENO: result: disabled" >&5
49274 echo "${ECHO_T}disabled" >&6; }
49275 else
49276 DEPS_TRACKING=1
49277
49278 if test "x$GCC" = "xyes"; then
49279 DEPSMODE=gcc
49280 case "${BAKEFILE_HOST}" in
49281 *-*-darwin* )
49282 DEPSFLAG="-no-cpp-precomp -MMD"
49283 ;;
49284 * )
49285 DEPSFLAG="-MMD"
49286 ;;
49287 esac
49288 { echo "$as_me:$LINENO: result: gcc" >&5
49289 echo "${ECHO_T}gcc" >&6; }
49290 elif test "x$MWCC" = "xyes"; then
49291 DEPSMODE=mwcc
49292 DEPSFLAG="-MM"
49293 { echo "$as_me:$LINENO: result: mwcc" >&5
49294 echo "${ECHO_T}mwcc" >&6; }
49295 elif test "x$SUNCC" = "xyes"; then
49296 DEPSMODE=unixcc
49297 DEPSFLAG="-xM1"
49298 { echo "$as_me:$LINENO: result: Sun cc" >&5
49299 echo "${ECHO_T}Sun cc" >&6; }
49300 elif test "x$SGICC" = "xyes"; then
49301 DEPSMODE=unixcc
49302 DEPSFLAG="-M"
49303 { echo "$as_me:$LINENO: result: SGI cc" >&5
49304 echo "${ECHO_T}SGI cc" >&6; }
49305 elif test "x$HPCC" = "xyes"; then
49306 DEPSMODE=unixcc
49307 DEPSFLAG="+make"
49308 { echo "$as_me:$LINENO: result: HP cc" >&5
49309 echo "${ECHO_T}HP cc" >&6; }
49310 elif test "x$COMPAQCC" = "xyes"; then
49311 DEPSMODE=gcc
49312 DEPSFLAG="-MD"
49313 { echo "$as_me:$LINENO: result: Compaq cc" >&5
49314 echo "${ECHO_T}Compaq cc" >&6; }
49315 else
49316 DEPS_TRACKING=0
49317 { echo "$as_me:$LINENO: result: none" >&5
49318 echo "${ECHO_T}none" >&6; }
49319 fi
49320
49321 if test $DEPS_TRACKING = 1 ; then
49322
49323 D='$'
49324 cat <<EOF >bk-deps
49325 #!/bin/sh
49326
49327 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49328 # script. It is used to track C/C++ files dependencies in portable way.
49329 #
49330 # Permission is given to use this file in any way.
49331
49332 DEPSMODE=${DEPSMODE}
49333 DEPSFLAG="${DEPSFLAG}"
49334 DEPSDIRBASE=.deps
49335
49336 if test ${D}DEPSMODE = gcc ; then
49337 ${D}* ${D}{DEPSFLAG}
49338 status=${D}?
49339
49340 # determine location of created files:
49341 while test ${D}# -gt 0; do
49342 case "${D}1" in
49343 -o )
49344 shift
49345 objfile=${D}1
49346 ;;
49347 -* )
49348 ;;
49349 * )
49350 srcfile=${D}1
49351 ;;
49352 esac
49353 shift
49354 done
49355 objfilebase=\`basename ${D}objfile\`
49356 builddir=\`dirname ${D}objfile\`
49357 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49358 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49359 depsdir=${D}builddir/${D}DEPSDIRBASE
49360 mkdir -p ${D}depsdir
49361
49362 # if the compiler failed, we're done:
49363 if test ${D}{status} != 0 ; then
49364 rm -f ${D}depfile
49365 exit ${D}{status}
49366 fi
49367
49368 # move created file to the location we want it in:
49369 if test -f ${D}depfile ; then
49370 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49371 rm -f ${D}depfile
49372 else
49373 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49374 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
49375 if test ! -f ${D}depfile ; then
49376 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49377 depfile="${D}objfile.d"
49378 fi
49379 if test -f ${D}depfile ; then
49380 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
49381 rm -f ${D}depfile
49382 fi
49383 fi
49384 exit 0
49385
49386 elif test ${D}DEPSMODE = mwcc ; then
49387 ${D}* || exit ${D}?
49388 # Run mwcc again with -MM and redirect into the dep file we want
49389 # NOTE: We can't use shift here because we need ${D}* to be valid
49390 prevarg=
49391 for arg in ${D}* ; do
49392 if test "${D}prevarg" = "-o"; then
49393 objfile=${D}arg
49394 else
49395 case "${D}arg" in
49396 -* )
49397 ;;
49398 * )
49399 srcfile=${D}arg
49400 ;;
49401 esac
49402 fi
49403 prevarg="${D}arg"
49404 done
49405
49406 objfilebase=\`basename ${D}objfile\`
49407 builddir=\`dirname ${D}objfile\`
49408 depsdir=${D}builddir/${D}DEPSDIRBASE
49409 mkdir -p ${D}depsdir
49410
49411 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
49412 exit 0
49413
49414 elif test ${D}DEPSMODE = unixcc; then
49415 ${D}* || exit ${D}?
49416 # Run compiler again with deps flag and redirect into the dep file.
49417 # It doesn't work if the '-o FILE' option is used, but without it the
49418 # dependency file will contain the wrong name for the object. So it is
49419 # removed from the command line, and the dep file is fixed with sed.
49420 cmd=""
49421 while test ${D}# -gt 0; do
49422 case "${D}1" in
49423 -o )
49424 shift
49425 objfile=${D}1
49426 ;;
49427 * )
49428 eval arg${D}#=\\${D}1
49429 cmd="${D}cmd \\${D}arg${D}#"
49430 ;;
49431 esac
49432 shift
49433 done
49434
49435 objfilebase=\`basename ${D}objfile\`
49436 builddir=\`dirname ${D}objfile\`
49437 depsdir=${D}builddir/${D}DEPSDIRBASE
49438 mkdir -p ${D}depsdir
49439
49440 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
49441 exit 0
49442
49443 else
49444 ${D}*
49445 exit ${D}?
49446 fi
49447 EOF
49448
49449 chmod +x bk-deps
49450 BK_DEPS="`pwd`/bk-deps"
49451 fi
49452 fi
49453
49454
49455
49456
49457
49458 case ${BAKEFILE_HOST} in
49459 *-*-cygwin* | *-*-mingw32* )
49460 if test -n "$ac_tool_prefix"; then
49461 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49462 set dummy ${ac_tool_prefix}windres; ac_word=$2
49463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49465 if test "${ac_cv_prog_WINDRES+set}" = set; then
49466 echo $ECHO_N "(cached) $ECHO_C" >&6
49467 else
49468 if test -n "$WINDRES"; then
49469 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49470 else
49471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49472 for as_dir in $PATH
49473 do
49474 IFS=$as_save_IFS
49475 test -z "$as_dir" && as_dir=.
49476 for ac_exec_ext in '' $ac_executable_extensions; do
49477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49478 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49480 break 2
49481 fi
49482 done
49483 done
49484 IFS=$as_save_IFS
49485
49486 fi
49487 fi
49488 WINDRES=$ac_cv_prog_WINDRES
49489 if test -n "$WINDRES"; then
49490 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49491 echo "${ECHO_T}$WINDRES" >&6; }
49492 else
49493 { echo "$as_me:$LINENO: result: no" >&5
49494 echo "${ECHO_T}no" >&6; }
49495 fi
49496
49497
49498 fi
49499 if test -z "$ac_cv_prog_WINDRES"; then
49500 ac_ct_WINDRES=$WINDRES
49501 # Extract the first word of "windres", so it can be a program name with args.
49502 set dummy windres; ac_word=$2
49503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49505 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49506 echo $ECHO_N "(cached) $ECHO_C" >&6
49507 else
49508 if test -n "$ac_ct_WINDRES"; then
49509 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49510 else
49511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49512 for as_dir in $PATH
49513 do
49514 IFS=$as_save_IFS
49515 test -z "$as_dir" && as_dir=.
49516 for ac_exec_ext in '' $ac_executable_extensions; do
49517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49518 ac_cv_prog_ac_ct_WINDRES="windres"
49519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49520 break 2
49521 fi
49522 done
49523 done
49524 IFS=$as_save_IFS
49525
49526 fi
49527 fi
49528 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49529 if test -n "$ac_ct_WINDRES"; then
49530 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49531 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49532 else
49533 { echo "$as_me:$LINENO: result: no" >&5
49534 echo "${ECHO_T}no" >&6; }
49535 fi
49536
49537 if test "x$ac_ct_WINDRES" = x; then
49538 WINDRES=""
49539 else
49540 case $cross_compiling:$ac_tool_warned in
49541 yes:)
49542 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49543 whose name does not start with the host triplet. If you think this
49544 configuration is useful to you, please write to autoconf@gnu.org." >&5
49545 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49546 whose name does not start with the host triplet. If you think this
49547 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49548 ac_tool_warned=yes ;;
49549 esac
49550 WINDRES=$ac_ct_WINDRES
49551 fi
49552 else
49553 WINDRES="$ac_cv_prog_WINDRES"
49554 fi
49555
49556 ;;
49557
49558 *-*-darwin* | powerpc-apple-macos* )
49559 # Extract the first word of "Rez", so it can be a program name with args.
49560 set dummy Rez; ac_word=$2
49561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49563 if test "${ac_cv_prog_REZ+set}" = set; then
49564 echo $ECHO_N "(cached) $ECHO_C" >&6
49565 else
49566 if test -n "$REZ"; then
49567 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49568 else
49569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49570 for as_dir in $PATH
49571 do
49572 IFS=$as_save_IFS
49573 test -z "$as_dir" && as_dir=.
49574 for ac_exec_ext in '' $ac_executable_extensions; do
49575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49576 ac_cv_prog_REZ="Rez"
49577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49578 break 2
49579 fi
49580 done
49581 done
49582 IFS=$as_save_IFS
49583
49584 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49585 fi
49586 fi
49587 REZ=$ac_cv_prog_REZ
49588 if test -n "$REZ"; then
49589 { echo "$as_me:$LINENO: result: $REZ" >&5
49590 echo "${ECHO_T}$REZ" >&6; }
49591 else
49592 { echo "$as_me:$LINENO: result: no" >&5
49593 echo "${ECHO_T}no" >&6; }
49594 fi
49595
49596
49597 # Extract the first word of "SetFile", so it can be a program name with args.
49598 set dummy SetFile; ac_word=$2
49599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49601 if test "${ac_cv_prog_SETFILE+set}" = set; then
49602 echo $ECHO_N "(cached) $ECHO_C" >&6
49603 else
49604 if test -n "$SETFILE"; then
49605 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49606 else
49607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49608 for as_dir in $PATH
49609 do
49610 IFS=$as_save_IFS
49611 test -z "$as_dir" && as_dir=.
49612 for ac_exec_ext in '' $ac_executable_extensions; do
49613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49614 ac_cv_prog_SETFILE="SetFile"
49615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49616 break 2
49617 fi
49618 done
49619 done
49620 IFS=$as_save_IFS
49621
49622 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49623 fi
49624 fi
49625 SETFILE=$ac_cv_prog_SETFILE
49626 if test -n "$SETFILE"; then
49627 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49628 echo "${ECHO_T}$SETFILE" >&6; }
49629 else
49630 { echo "$as_me:$LINENO: result: no" >&5
49631 echo "${ECHO_T}no" >&6; }
49632 fi
49633
49634
49635 ;;
49636 esac
49637
49638
49639
49640
49641
49642
49643
49644
49645
49646 BAKEFILE_BAKEFILE_M4_VERSION="0.2.5"
49647
49648
49649 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.5"
49650
49651
49652
49653 # Check whether --enable-precomp-headers was given.
49654 if test "${enable_precomp_headers+set}" = set; then
49655 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49656 fi
49657
49658
49659 GCC_PCH=0
49660 ICC_PCH=0
49661 USE_PCH=0
49662 BK_MAKE_PCH=""
49663
49664 case ${BAKEFILE_HOST} in
49665 *-*-cygwin* )
49666 bk_use_pch="no"
49667 ;;
49668 esac
49669
49670 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49671 if test "x$GCC" = "xyes"; then
49672 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49673 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49674 cat >conftest.$ac_ext <<_ACEOF
49675 /* confdefs.h. */
49676 _ACEOF
49677 cat confdefs.h >>conftest.$ac_ext
49678 cat >>conftest.$ac_ext <<_ACEOF
49679 /* end confdefs.h. */
49680
49681 int
49682 main ()
49683 {
49684
49685 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49686 There is no PCH support
49687 #endif
49688 #if (__GNUC__ < 3)
49689 There is no PCH support
49690 #endif
49691 #if (__GNUC__ == 3) && \
49692 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49693 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49694 ( defined(__INTEL_COMPILER) )
49695 There is no PCH support
49696 #endif
49697
49698 ;
49699 return 0;
49700 }
49701 _ACEOF
49702 rm -f conftest.$ac_objext
49703 if { (ac_try="$ac_compile"
49704 case "(($ac_try" in
49705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49706 *) ac_try_echo=$ac_try;;
49707 esac
49708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49709 (eval "$ac_compile") 2>conftest.er1
49710 ac_status=$?
49711 grep -v '^ *+' conftest.er1 >conftest.err
49712 rm -f conftest.er1
49713 cat conftest.err >&5
49714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49715 (exit $ac_status); } && {
49716 test -z "$ac_c_werror_flag" ||
49717 test ! -s conftest.err
49718 } && test -s conftest.$ac_objext; then
49719
49720 { echo "$as_me:$LINENO: result: yes" >&5
49721 echo "${ECHO_T}yes" >&6; }
49722 GCC_PCH=1
49723
49724 else
49725 echo "$as_me: failed program was:" >&5
49726 sed 's/^/| /' conftest.$ac_ext >&5
49727
49728
49729 if test "$INTELCXX8" = "yes"; then
49730 { echo "$as_me:$LINENO: result: yes" >&5
49731 echo "${ECHO_T}yes" >&6; }
49732 ICC_PCH=1
49733 if test "$INTELCXX10" = "yes"; then
49734 ICC_PCH_CREATE_SWITCH="-pch-create"
49735 ICC_PCH_USE_SWITCH="-pch-use"
49736 else
49737 ICC_PCH_CREATE_SWITCH="-create-pch"
49738 ICC_PCH_USE_SWITCH="-use-pch"
49739 fi
49740 else
49741 { echo "$as_me:$LINENO: result: no" >&5
49742 echo "${ECHO_T}no" >&6; }
49743 fi
49744
49745 fi
49746
49747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49748 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49749 USE_PCH=1
49750
49751 D='$'
49752 cat <<EOF >bk-make-pch
49753 #!/bin/sh
49754
49755 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49756 # script. It is used to generated precompiled headers.
49757 #
49758 # Permission is given to use this file in any way.
49759
49760 outfile="${D}{1}"
49761 header="${D}{2}"
49762 shift
49763 shift
49764
49765 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
49766
49767 compiler=""
49768 headerfile=""
49769
49770 while test ${D}{#} -gt 0; do
49771 add_to_cmdline=1
49772 case "${D}{1}" in
49773 -I* )
49774 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49775 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49776 headerfile="${D}{incdir}/${D}{header}"
49777 fi
49778 ;;
49779 -use-pch|-use_pch|-pch-use )
49780 shift
49781 add_to_cmdline=0
49782 ;;
49783 esac
49784 if test ${D}add_to_cmdline = 1 ; then
49785 compiler="${D}{compiler} ${D}{1}"
49786 fi
49787 shift
49788 done
49789
49790 if test "x${D}{headerfile}" = "x" ; then
49791 echo "error: can't find header ${D}{header} in include paths" >&2
49792 else
49793 if test -f ${D}{outfile} ; then
49794 rm -f ${D}{outfile}
49795 else
49796 mkdir -p \`dirname ${D}{outfile}\`
49797 fi
49798 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49799 mkdir -p ${D}{builddir}/.deps
49800 if test "x${GCC_PCH}" = "x1" ; then
49801 # can do this because gcc is >= 3.4:
49802 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49803 elif test "x${ICC_PCH}" = "x1" ; then
49804 filename=pch_gen-${D}${D}
49805 file=${D}{filename}.c
49806 dfile=${D}{filename}.d
49807 cat > ${D}file <<EOT
49808 #include "${D}header"
49809 EOT
49810 # using -MF icc complains about differing command lines in creation/use
49811 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
49812 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49813 rm -f ${D}file ${D}dfile ${D}{filename}.o
49814 fi
49815 exit ${D}{?}
49816 fi
49817 EOF
49818
49819 chmod +x bk-make-pch
49820 BK_MAKE_PCH="`pwd`/bk-make-pch"
49821 fi
49822 fi
49823 fi
49824
49825
49826
49827
49828
49829
49830
49831 COND_BUILD_DEBUG="#"
49832 if test "x$BUILD" = "xdebug" ; then
49833 COND_BUILD_DEBUG=""
49834 fi
49835
49836 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49837 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49838 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49839 fi
49840
49841 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49842 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49843 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49844 fi
49845
49846 COND_BUILD_DEBUG_UNICODE_0="#"
49847 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49848 COND_BUILD_DEBUG_UNICODE_0=""
49849 fi
49850
49851 COND_BUILD_DEBUG_UNICODE_1="#"
49852 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49853 COND_BUILD_DEBUG_UNICODE_1=""
49854 fi
49855
49856 COND_BUILD_RELEASE="#"
49857 if test "x$BUILD" = "xrelease" ; then
49858 COND_BUILD_RELEASE=""
49859 fi
49860
49861 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49862 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49863 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49864 fi
49865
49866 COND_BUILD_RELEASE_UNICODE_0="#"
49867 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49868 COND_BUILD_RELEASE_UNICODE_0=""
49869 fi
49870
49871 COND_BUILD_RELEASE_UNICODE_1="#"
49872 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49873 COND_BUILD_RELEASE_UNICODE_1=""
49874 fi
49875
49876 COND_BUILD_debug="#"
49877 if test "x$BUILD" = "xdebug" ; then
49878 COND_BUILD_debug=""
49879 fi
49880
49881 COND_BUILD_debug_DEBUG_FLAG_default="#"
49882 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49883 COND_BUILD_debug_DEBUG_FLAG_default=""
49884 fi
49885
49886 COND_BUILD_debug_DEBUG_INFO_default="#"
49887 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49888 COND_BUILD_debug_DEBUG_INFO_default=""
49889 fi
49890
49891 COND_BUILD_debug_UNICODE_0="#"
49892 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49893 COND_BUILD_debug_UNICODE_0=""
49894 fi
49895
49896 COND_BUILD_debug_UNICODE_1="#"
49897 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49898 COND_BUILD_debug_UNICODE_1=""
49899 fi
49900
49901 COND_BUILD_release="#"
49902 if test "x$BUILD" = "xrelease" ; then
49903 COND_BUILD_release=""
49904 fi
49905
49906 COND_BUILD_release_DEBUG_INFO_default="#"
49907 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49908 COND_BUILD_release_DEBUG_INFO_default=""
49909 fi
49910
49911 COND_BUILD_release_UNICODE_0="#"
49912 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49913 COND_BUILD_release_UNICODE_0=""
49914 fi
49915
49916 COND_BUILD_release_UNICODE_1="#"
49917 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49918 COND_BUILD_release_UNICODE_1=""
49919 fi
49920
49921 COND_DEBUG_FLAG_1="#"
49922 if test "x$DEBUG_FLAG" = "x1" ; then
49923 COND_DEBUG_FLAG_1=""
49924 fi
49925
49926 COND_DEBUG_INFO_0="#"
49927 if test "x$DEBUG_INFO" = "x0" ; then
49928 COND_DEBUG_INFO_0=""
49929 fi
49930
49931 COND_DEBUG_INFO_1="#"
49932 if test "x$DEBUG_INFO" = "x1" ; then
49933 COND_DEBUG_INFO_1=""
49934 fi
49935
49936 COND_DEPS_TRACKING_0="#"
49937 if test "x$DEPS_TRACKING" = "x0" ; then
49938 COND_DEPS_TRACKING_0=""
49939 fi
49940
49941 COND_DEPS_TRACKING_1="#"
49942 if test "x$DEPS_TRACKING" = "x1" ; then
49943 COND_DEPS_TRACKING_1=""
49944 fi
49945
49946 COND_GCC_PCH_1="#"
49947 if test "x$GCC_PCH" = "x1" ; then
49948 COND_GCC_PCH_1=""
49949 fi
49950
49951 COND_ICC_PCH_1="#"
49952 if test "x$ICC_PCH" = "x1" ; then
49953 COND_ICC_PCH_1=""
49954 fi
49955
49956 COND_MONOLITHIC_0="#"
49957 if test "x$MONOLITHIC" = "x0" ; then
49958 COND_MONOLITHIC_0=""
49959 fi
49960
49961 COND_MONOLITHIC_0_SHARED_0="#"
49962 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49963 COND_MONOLITHIC_0_SHARED_0=""
49964 fi
49965
49966 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49967 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49968 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49969 fi
49970
49971 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49972 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49973 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49974 fi
49975
49976 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49977 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49978 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49979 fi
49980
49981 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49982 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49983 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49984 fi
49985
49986 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49987 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49988 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49989 fi
49990
49991 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
49992 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
49993 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
49994 fi
49995
49996 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49997 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49998 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49999 fi
50000
50001 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50002 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50003 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50004 fi
50005
50006 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50007 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50008 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50009 fi
50010
50011 COND_MONOLITHIC_0_SHARED_1="#"
50012 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50013 COND_MONOLITHIC_0_SHARED_1=""
50014 fi
50015
50016 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50017 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50018 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50019 fi
50020
50021 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50022 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50023 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50024 fi
50025
50026 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50027 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50028 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50029 fi
50030
50031 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50032 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50033 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50034 fi
50035
50036 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50037 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50038 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50039 fi
50040
50041 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
50042 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
50043 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
50044 fi
50045
50046 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50047 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50048 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50049 fi
50050
50051 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50052 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50053 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50054 fi
50055
50056 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50057 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50058 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50059 fi
50060
50061 COND_MONOLITHIC_0_USE_AUI_1="#"
50062 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50063 COND_MONOLITHIC_0_USE_AUI_1=""
50064 fi
50065
50066 COND_MONOLITHIC_0_USE_GUI_1="#"
50067 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50068 COND_MONOLITHIC_0_USE_GUI_1=""
50069 fi
50070
50071 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50072 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50073 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50074 fi
50075
50076 COND_MONOLITHIC_0_USE_HTML_1="#"
50077 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50078 COND_MONOLITHIC_0_USE_HTML_1=""
50079 fi
50080
50081 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50082 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50083 COND_MONOLITHIC_0_USE_MEDIA_1=""
50084 fi
50085
50086 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
50087 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
50088 COND_MONOLITHIC_0_USE_PROPGRID_1=""
50089 fi
50090
50091 COND_MONOLITHIC_0_USE_QA_1="#"
50092 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50093 COND_MONOLITHIC_0_USE_QA_1=""
50094 fi
50095
50096 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50097 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50098 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50099 fi
50100
50101 COND_MONOLITHIC_0_USE_STC_1="#"
50102 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50103 COND_MONOLITHIC_0_USE_STC_1=""
50104 fi
50105
50106 COND_MONOLITHIC_0_USE_XRC_1="#"
50107 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50108 COND_MONOLITHIC_0_USE_XRC_1=""
50109 fi
50110
50111 COND_MONOLITHIC_1="#"
50112 if test "x$MONOLITHIC" = "x1" ; then
50113 COND_MONOLITHIC_1=""
50114 fi
50115
50116 COND_MONOLITHIC_1_SHARED_0="#"
50117 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50118 COND_MONOLITHIC_1_SHARED_0=""
50119 fi
50120
50121 COND_MONOLITHIC_1_SHARED_1="#"
50122 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50123 COND_MONOLITHIC_1_SHARED_1=""
50124 fi
50125
50126 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50127 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50128 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50129 fi
50130
50131 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50132 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50133 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50134 fi
50135
50136 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50137 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50138 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50139 fi
50140
50141 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50142 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50143 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50144 fi
50145
50146 COND_PLATFORM_MACOSX_1="#"
50147 if test "x$PLATFORM_MACOSX" = "x1" ; then
50148 COND_PLATFORM_MACOSX_1=""
50149 fi
50150
50151 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
50152 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
50153 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
50154 fi
50155
50156 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50157 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50158 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50159 fi
50160
50161 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50162 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50163 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50164 fi
50165
50166 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50167 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50168 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50169 fi
50170
50171 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50172 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50173 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50174 fi
50175
50176 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50177 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50178 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50179 fi
50180
50181 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
50182 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50183 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
50184 fi
50185
50186 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50187 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50188 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50189 fi
50190
50191 COND_PLATFORM_MACOS_1="#"
50192 if test "x$PLATFORM_MACOS" = "x1" ; then
50193 COND_PLATFORM_MACOS_1=""
50194 fi
50195
50196 COND_PLATFORM_MAC_0="#"
50197 if test "x$PLATFORM_MAC" = "x0" ; then
50198 COND_PLATFORM_MAC_0=""
50199 fi
50200
50201 COND_PLATFORM_MAC_1="#"
50202 if test "x$PLATFORM_MAC" = "x1" ; then
50203 COND_PLATFORM_MAC_1=""
50204 fi
50205
50206 COND_PLATFORM_MSDOS_0="#"
50207 if test "x$PLATFORM_MSDOS" = "x0" ; then
50208 COND_PLATFORM_MSDOS_0=""
50209 fi
50210
50211 COND_PLATFORM_MSDOS_1="#"
50212 if test "x$PLATFORM_MSDOS" = "x1" ; then
50213 COND_PLATFORM_MSDOS_1=""
50214 fi
50215
50216 COND_PLATFORM_OS2_1="#"
50217 if test "x$PLATFORM_OS2" = "x1" ; then
50218 COND_PLATFORM_OS2_1=""
50219 fi
50220
50221 COND_PLATFORM_UNIX_0="#"
50222 if test "x$PLATFORM_UNIX" = "x0" ; then
50223 COND_PLATFORM_UNIX_0=""
50224 fi
50225
50226 COND_PLATFORM_UNIX_1="#"
50227 if test "x$PLATFORM_UNIX" = "x1" ; then
50228 COND_PLATFORM_UNIX_1=""
50229 fi
50230
50231 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
50232 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
50233 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
50234 fi
50235
50236 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
50237 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50238 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
50239 fi
50240
50241 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50242 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50243 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50244 fi
50245
50246 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50247 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50248 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50249 fi
50250
50251 COND_PLATFORM_WIN32_0="#"
50252 if test "x$PLATFORM_WIN32" = "x0" ; then
50253 COND_PLATFORM_WIN32_0=""
50254 fi
50255
50256 COND_PLATFORM_WIN32_1="#"
50257 if test "x$PLATFORM_WIN32" = "x1" ; then
50258 COND_PLATFORM_WIN32_1=""
50259 fi
50260
50261 COND_SHARED_0="#"
50262 if test "x$SHARED" = "x0" ; then
50263 COND_SHARED_0=""
50264 fi
50265
50266 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50267 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50268 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50269 fi
50270
50271 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50272 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50273 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50274 fi
50275
50276 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50277 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50278 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50279 fi
50280
50281 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50282 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50283 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50284 fi
50285
50286 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50287 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50288 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50289 fi
50290
50291 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50292 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50293 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50294 fi
50295
50296 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50297 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50298 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50299 fi
50300
50301 COND_SHARED_0_USE_STC_1="#"
50302 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50303 COND_SHARED_0_USE_STC_1=""
50304 fi
50305
50306 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
50307 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50308 COND_SHARED_0_wxUSE_EXPAT_builtin=""
50309 fi
50310
50311 COND_SHARED_0_wxUSE_REGEX_builtin="#"
50312 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50313 COND_SHARED_0_wxUSE_REGEX_builtin=""
50314 fi
50315
50316 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
50317 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50318 COND_SHARED_0_wxUSE_ZLIB_builtin=""
50319 fi
50320
50321 COND_SHARED_1="#"
50322 if test "x$SHARED" = "x1" ; then
50323 COND_SHARED_1=""
50324 fi
50325
50326 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50327 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50328 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50329 fi
50330
50331 COND_TOOLKIT_="#"
50332 if test "x$TOOLKIT" = "x" ; then
50333 COND_TOOLKIT_=""
50334 fi
50335
50336 COND_TOOLKIT_COCOA="#"
50337 if test "x$TOOLKIT" = "xCOCOA" ; then
50338 COND_TOOLKIT_COCOA=""
50339 fi
50340
50341 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50342 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50343 COND_TOOLKIT_COCOA_USE_GUI_1=""
50344 fi
50345
50346 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50347 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50348 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50349 fi
50350
50351 COND_TOOLKIT_DFB="#"
50352 if test "x$TOOLKIT" = "xDFB" ; then
50353 COND_TOOLKIT_DFB=""
50354 fi
50355
50356 COND_TOOLKIT_DFB_USE_GUI_1="#"
50357 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50358 COND_TOOLKIT_DFB_USE_GUI_1=""
50359 fi
50360
50361 COND_TOOLKIT_GTK="#"
50362 if test "x$TOOLKIT" = "xGTK" ; then
50363 COND_TOOLKIT_GTK=""
50364 fi
50365
50366 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50367 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50368 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50369 fi
50370
50371 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50372 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50373 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50374 fi
50375
50376 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50377 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50378 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50379 fi
50380
50381 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50382 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50383 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50384 fi
50385
50386 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50387 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50388 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50389 fi
50390
50391 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50392 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50393 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50394 fi
50395
50396 COND_TOOLKIT_GTK_USE_GUI_1="#"
50397 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50398 COND_TOOLKIT_GTK_USE_GUI_1=""
50399 fi
50400
50401 COND_TOOLKIT_MAC="#"
50402 if test "x$TOOLKIT" = "xMAC" ; then
50403 COND_TOOLKIT_MAC=""
50404 fi
50405
50406 COND_TOOLKIT_MGL="#"
50407 if test "x$TOOLKIT" = "xMGL" ; then
50408 COND_TOOLKIT_MGL=""
50409 fi
50410
50411 COND_TOOLKIT_MGL_USE_GUI_1="#"
50412 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50413 COND_TOOLKIT_MGL_USE_GUI_1=""
50414 fi
50415
50416 COND_TOOLKIT_MOTIF="#"
50417 if test "x$TOOLKIT" = "xMOTIF" ; then
50418 COND_TOOLKIT_MOTIF=""
50419 fi
50420
50421 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50422 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50423 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50424 fi
50425
50426 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50427 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50428 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50429 fi
50430
50431 COND_TOOLKIT_MSW="#"
50432 if test "x$TOOLKIT" = "xMSW" ; then
50433 COND_TOOLKIT_MSW=""
50434 fi
50435
50436 COND_TOOLKIT_MSW_USE_GUI_1="#"
50437 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50438 COND_TOOLKIT_MSW_USE_GUI_1=""
50439 fi
50440
50441 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50442 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50443 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50444 fi
50445
50446 COND_TOOLKIT_MSW_WXUNIV_0="#"
50447 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50448 COND_TOOLKIT_MSW_WXUNIV_0=""
50449 fi
50450
50451 COND_TOOLKIT_OSX_CARBON="#"
50452 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
50453 COND_TOOLKIT_OSX_CARBON=""
50454 fi
50455
50456 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
50457 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
50458 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
50459 fi
50460
50461 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
50462 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50463 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
50464 fi
50465
50466 COND_TOOLKIT_OSX_COCOA="#"
50467 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
50468 COND_TOOLKIT_OSX_COCOA=""
50469 fi
50470
50471 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
50472 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
50473 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
50474 fi
50475
50476 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
50477 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50478 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
50479 fi
50480
50481 COND_TOOLKIT_OSX_IPHONE="#"
50482 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
50483 COND_TOOLKIT_OSX_IPHONE=""
50484 fi
50485
50486 COND_TOOLKIT_PM="#"
50487 if test "x$TOOLKIT" = "xPM" ; then
50488 COND_TOOLKIT_PM=""
50489 fi
50490
50491 COND_TOOLKIT_PM_USE_GUI_1="#"
50492 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50493 COND_TOOLKIT_PM_USE_GUI_1=""
50494 fi
50495
50496 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50497 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50498 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50499 fi
50500
50501 COND_TOOLKIT_WINCE="#"
50502 if test "x$TOOLKIT" = "xWINCE" ; then
50503 COND_TOOLKIT_WINCE=""
50504 fi
50505
50506 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50507 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50508 COND_TOOLKIT_WINCE_USE_GUI_1=""
50509 fi
50510
50511 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50512 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50513 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50514 fi
50515
50516 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50517 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50518 COND_TOOLKIT_WINCE_WXUNIV_0=""
50519 fi
50520
50521 COND_TOOLKIT_X11="#"
50522 if test "x$TOOLKIT" = "xX11" ; then
50523 COND_TOOLKIT_X11=""
50524 fi
50525
50526 COND_TOOLKIT_X11_USE_GUI_1="#"
50527 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50528 COND_TOOLKIT_X11_USE_GUI_1=""
50529 fi
50530
50531 COND_UNICODE_1="#"
50532 if test "x$UNICODE" = "x1" ; then
50533 COND_UNICODE_1=""
50534 fi
50535
50536 COND_USE_EXCEPTIONS_0="#"
50537 if test "x$USE_EXCEPTIONS" = "x0" ; then
50538 COND_USE_EXCEPTIONS_0=""
50539 fi
50540
50541 COND_USE_EXCEPTIONS_1="#"
50542 if test "x$USE_EXCEPTIONS" = "x1" ; then
50543 COND_USE_EXCEPTIONS_1=""
50544 fi
50545
50546 COND_USE_GUI_0="#"
50547 if test "x$USE_GUI" = "x0" ; then
50548 COND_USE_GUI_0=""
50549 fi
50550
50551 COND_USE_GUI_1="#"
50552 if test "x$USE_GUI" = "x1" ; then
50553 COND_USE_GUI_1=""
50554 fi
50555
50556 COND_USE_GUI_1_USE_OPENGL_1="#"
50557 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50558 COND_USE_GUI_1_USE_OPENGL_1=""
50559 fi
50560
50561 COND_USE_GUI_1_WXUNIV_0="#"
50562 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50563 COND_USE_GUI_1_WXUNIV_0=""
50564 fi
50565
50566 COND_USE_GUI_1_WXUNIV_1="#"
50567 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50568 COND_USE_GUI_1_WXUNIV_1=""
50569 fi
50570
50571 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50572 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50573 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50574 fi
50575
50576 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50577 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50578 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50579 fi
50580
50581 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50582 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50583 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50584 fi
50585
50586 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
50587 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50588 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
50589 fi
50590
50591 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
50592 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50593 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
50594 fi
50595
50596 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
50597 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50598 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
50599 fi
50600
50601 COND_USE_OPENGL_1="#"
50602 if test "x$USE_OPENGL" = "x1" ; then
50603 COND_USE_OPENGL_1=""
50604 fi
50605
50606 COND_USE_PCH_1="#"
50607 if test "x$USE_PCH" = "x1" ; then
50608 COND_USE_PCH_1=""
50609 fi
50610
50611 COND_USE_PLUGINS_0="#"
50612 if test "x$USE_PLUGINS" = "x0" ; then
50613 COND_USE_PLUGINS_0=""
50614 fi
50615
50616 COND_USE_RTTI_0="#"
50617 if test "x$USE_RTTI" = "x0" ; then
50618 COND_USE_RTTI_0=""
50619 fi
50620
50621 COND_USE_RTTI_1="#"
50622 if test "x$USE_RTTI" = "x1" ; then
50623 COND_USE_RTTI_1=""
50624 fi
50625
50626 COND_USE_SOSYMLINKS_1="#"
50627 if test "x$USE_SOSYMLINKS" = "x1" ; then
50628 COND_USE_SOSYMLINKS_1=""
50629 fi
50630
50631 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50632 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50633 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50634 fi
50635
50636 COND_USE_SOVERLINUX_1="#"
50637 if test "x$USE_SOVERLINUX" = "x1" ; then
50638 COND_USE_SOVERLINUX_1=""
50639 fi
50640
50641 COND_USE_SOVERSION_0="#"
50642 if test "x$USE_SOVERSION" = "x0" ; then
50643 COND_USE_SOVERSION_0=""
50644 fi
50645
50646 COND_USE_SOVERSOLARIS_1="#"
50647 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50648 COND_USE_SOVERSOLARIS_1=""
50649 fi
50650
50651 COND_USE_STC_1="#"
50652 if test "x$USE_STC" = "x1" ; then
50653 COND_USE_STC_1=""
50654 fi
50655
50656 COND_USE_THREADS_0="#"
50657 if test "x$USE_THREADS" = "x0" ; then
50658 COND_USE_THREADS_0=""
50659 fi
50660
50661 COND_USE_THREADS_1="#"
50662 if test "x$USE_THREADS" = "x1" ; then
50663 COND_USE_THREADS_1=""
50664 fi
50665
50666 COND_USE_XRC_1="#"
50667 if test "x$USE_XRC" = "x1" ; then
50668 COND_USE_XRC_1=""
50669 fi
50670
50671 COND_WINDOWS_IMPLIB_1="#"
50672 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50673 COND_WINDOWS_IMPLIB_1=""
50674 fi
50675
50676 COND_WITH_PLUGIN_SDL_1="#"
50677 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50678 COND_WITH_PLUGIN_SDL_1=""
50679 fi
50680
50681 COND_WXUNIV_0="#"
50682 if test "x$WXUNIV" = "x0" ; then
50683 COND_WXUNIV_0=""
50684 fi
50685
50686 COND_WXUNIV_1="#"
50687 if test "x$WXUNIV" = "x1" ; then
50688 COND_WXUNIV_1=""
50689 fi
50690
50691 COND_WXUSE_EXPAT_BUILTIN="#"
50692 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50693 COND_WXUSE_EXPAT_BUILTIN=""
50694 fi
50695
50696 COND_WXUSE_LIBJPEG_BUILTIN="#"
50697 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50698 COND_WXUSE_LIBJPEG_BUILTIN=""
50699 fi
50700
50701 COND_WXUSE_LIBPNG_BUILTIN="#"
50702 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50703 COND_WXUSE_LIBPNG_BUILTIN=""
50704 fi
50705
50706 COND_WXUSE_LIBTIFF_BUILTIN="#"
50707 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50708 COND_WXUSE_LIBTIFF_BUILTIN=""
50709 fi
50710
50711 COND_WXUSE_REGEX_BUILTIN="#"
50712 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50713 COND_WXUSE_REGEX_BUILTIN=""
50714 fi
50715
50716 COND_WXUSE_ZLIB_BUILTIN="#"
50717 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50718 COND_WXUSE_ZLIB_BUILTIN=""
50719 fi
50720
50721 COND_wxUSE_EXPAT_builtin="#"
50722 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50723 COND_wxUSE_EXPAT_builtin=""
50724 fi
50725
50726 COND_wxUSE_LIBJPEG_builtin="#"
50727 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50728 COND_wxUSE_LIBJPEG_builtin=""
50729 fi
50730
50731 COND_wxUSE_LIBPNG_builtin="#"
50732 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50733 COND_wxUSE_LIBPNG_builtin=""
50734 fi
50735
50736 COND_wxUSE_LIBTIFF_builtin="#"
50737 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50738 COND_wxUSE_LIBTIFF_builtin=""
50739 fi
50740
50741 COND_wxUSE_REGEX_builtin="#"
50742 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50743 COND_wxUSE_REGEX_builtin=""
50744 fi
50745
50746 COND_wxUSE_ZLIB_builtin="#"
50747 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50748 COND_wxUSE_ZLIB_builtin=""
50749 fi
50750
50751
50752
50753 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50754 { { 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
50755 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;}
50756 { (exit 1); exit 1; }; }
50757 fi
50758
50759 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50760 { { 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
50761 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;}
50762 { (exit 1); exit 1; }; }
50763 fi
50764
50765
50766 case ${INSTALL} in
50767 /* ) # Absolute
50768 ;;
50769 ?:* ) # Drive letter, considered as absolute.
50770 ;;
50771 *)
50772 INSTALL=`pwd`/${INSTALL} ;;
50773 esac
50774
50775 if test "$wxUSE_GUI" = "yes"; then
50776
50777 if test "$wxUSE_MSW" = 1 ; then
50778 if test "x$WINDRES" = "x"; then
50779 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50780 echo "$as_me: error: Required windres program not found" >&2;}
50781 { (exit 1); exit 1; }; }
50782 fi
50783
50784 RESCOMP="$WINDRES"
50785 fi
50786
50787 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50788 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50789 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50790
50791 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50792
50793 # Extract the first word of "DeRez", so it can be a program name with args.
50794 set dummy DeRez; ac_word=$2
50795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50797 if test "${ac_cv_prog_DEREZ+set}" = set; then
50798 echo $ECHO_N "(cached) $ECHO_C" >&6
50799 else
50800 if test -n "$DEREZ"; then
50801 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50802 else
50803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50804 for as_dir in $PATH
50805 do
50806 IFS=$as_save_IFS
50807 test -z "$as_dir" && as_dir=.
50808 for ac_exec_ext in '' $ac_executable_extensions; do
50809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50810 ac_cv_prog_DEREZ="DeRez"
50811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50812 break 2
50813 fi
50814 done
50815 done
50816 IFS=$as_save_IFS
50817
50818 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50819 fi
50820 fi
50821 DEREZ=$ac_cv_prog_DEREZ
50822 if test -n "$DEREZ"; then
50823 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50824 echo "${ECHO_T}$DEREZ" >&6; }
50825 else
50826 { echo "$as_me:$LINENO: result: no" >&5
50827 echo "${ECHO_T}no" >&6; }
50828 fi
50829
50830
50831
50832 MACSETFILE="\$(SETFILE)"
50833
50834 if test "$wxUSE_OSX_CARBON" = 1; then
50835 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50836 RESCOMP="$REZ"
50837 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50838 else
50839 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50840 RESCOMP="cat /dev/null \| $REZ"
50841 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50842 fi
50843
50844 else
50845 MACSETFILE="@true"
50846
50847 if test "$wxUSE_PM" = 1; then
50848 RESCOMP="emxbind"
50849 WXCONFIG_RESFLAGS="-ep"
50850
50851 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50852 else
50853 POSTLINK_COMMAND="@true"
50854 fi
50855 fi
50856
50857 fi
50858
50859
50860 if test $GCC_PCH = 1
50861 then
50862 if test "$wx_cv_gcc_pch_bug" = yes; then
50863 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50864 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50865 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50866 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50867 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50868 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50869 fi
50870
50871 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50872 # the headers that benefit from precompilation are mostly C++ headers.
50873 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50874 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50875 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50876 fi
50877
50878
50879 if test "$wxUSE_MAC" = 1 ; then
50880 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50881 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50882 mv temp bk-deps
50883 chmod +x bk-deps
50884 fi
50885 fi
50886
50887 if test "$wxUSE_SHARED" = "yes"; then
50888 case "${host}" in
50889 *-pc-os2_emx | *-pc-os2-emx )
50890 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50891 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50892 cp -p ${srcdir}/src/os2/dllnames.sh .
50893 cp -p ${srcdir}/src/os2/dllar.sh .
50894 ;;
50895 esac
50896 fi
50897 if test "$wxUSE_OMF" = "yes"; then
50898 case "${host}" in
50899 *-pc-os2_emx | *-pc-os2-emx )
50900 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50901 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50902 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50903 ;;
50904 esac
50905 fi
50906
50907 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50908
50909
50910 case "${host}" in
50911 *-*-solaris2* )
50912 if test "$GCC" = yes; then
50913 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50914 LIBS=`echo $LIBS | sed 's/-mt//'`
50915 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50916 fi
50917 ;;
50918
50919 *-*-linux* )
50920 if test "x$SUNCXX" = xyes; then
50921 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50922 LIBS=`echo $LIBS | sed 's/-pthread//'`
50923 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50924 fi
50925 ;;
50926 esac
50927
50928 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50929 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50930 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
50931 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
50932
50933 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50934
50935
50936
50937
50938
50939
50940
50941
50942
50943
50944
50945
50946
50947
50948
50949
50950
50951
50952
50953
50954
50955
50956
50957
50958
50959
50960
50961
50962
50963
50964
50965
50966
50967
50968
50969
50970
50971
50972
50973
50974
50975
50976
50977
50978
50979
50980
50981
50982
50983
50984
50985
50986
50987
50988
50989
50990
50991
50992
50993
50994 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50995 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50996 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50997 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50998 echo $ECHO_N "(cached) $ECHO_C" >&6
50999 else
51000 cat >conftest.make <<\_ACEOF
51001 SHELL = /bin/sh
51002 all:
51003 @echo '@@@%%%=$(MAKE)=@@@%%%'
51004 _ACEOF
51005 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51006 case `${MAKE-make} -f conftest.make 2>/dev/null` in
51007 *@@@%%%=?*=@@@%%%*)
51008 eval ac_cv_prog_make_${ac_make}_set=yes;;
51009 *)
51010 eval ac_cv_prog_make_${ac_make}_set=no;;
51011 esac
51012 rm -f conftest.make
51013 fi
51014 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
51015 { echo "$as_me:$LINENO: result: yes" >&5
51016 echo "${ECHO_T}yes" >&6; }
51017 SET_MAKE=
51018 else
51019 { echo "$as_me:$LINENO: result: no" >&5
51020 echo "${ECHO_T}no" >&6; }
51021 SET_MAKE="MAKE=${MAKE-make}"
51022 fi
51023
51024
51025
51026 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51027
51028
51029 if test "$USE_WIN32" = 1; then
51030 ac_config_commands="$ac_config_commands
51031 rcdefs.h
51032 "
51033
51034 fi
51035
51036 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51037
51038
51039 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51040
51041
51042 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
51043
51044
51045 if test "$wx_cv_version_script" = "yes"; then
51046 ac_config_files="$ac_config_files version-script"
51047
51048 fi
51049 ac_config_files="$ac_config_files Makefile"
51050
51051
51052 ac_config_commands="$ac_config_commands wx-config"
51053
51054
51055
51056 if test "$wxWITH_SUBDIRS" != "no"; then
51057 if test "$wxUSE_GUI" = "yes"; then
51058 SUBDIRS="samples demos utils"
51059 else
51060 SUBDIRS="samples utils"
51061 fi
51062
51063
51064
51065 # Check whether --with-cppunit-prefix was given.
51066 if test "${with_cppunit_prefix+set}" = set; then
51067 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
51068 else
51069 cppunit_config_prefix=""
51070 fi
51071
51072
51073 # Check whether --with-cppunit-exec-prefix was given.
51074 if test "${with_cppunit_exec_prefix+set}" = set; then
51075 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
51076 else
51077 cppunit_config_exec_prefix=""
51078 fi
51079
51080
51081 if test x$cppunit_config_exec_prefix != x ; then
51082 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51083 if test x${CPPUNIT_CONFIG+set} != xset ; then
51084 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51085 fi
51086 fi
51087 if test x$cppunit_config_prefix != x ; then
51088 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51089 if test x${CPPUNIT_CONFIG+set} != xset ; then
51090 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51091 fi
51092 fi
51093
51094 # Extract the first word of "cppunit-config", so it can be a program name with args.
51095 set dummy cppunit-config; ac_word=$2
51096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51098 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51099 echo $ECHO_N "(cached) $ECHO_C" >&6
51100 else
51101 case $CPPUNIT_CONFIG in
51102 [\\/]* | ?:[\\/]*)
51103 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51104 ;;
51105 *)
51106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51107 for as_dir in $PATH
51108 do
51109 IFS=$as_save_IFS
51110 test -z "$as_dir" && as_dir=.
51111 for ac_exec_ext in '' $ac_executable_extensions; do
51112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51113 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51115 break 2
51116 fi
51117 done
51118 done
51119 IFS=$as_save_IFS
51120
51121 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51122 ;;
51123 esac
51124 fi
51125 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51126 if test -n "$CPPUNIT_CONFIG"; then
51127 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51128 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
51129 else
51130 { echo "$as_me:$LINENO: result: no" >&5
51131 echo "${ECHO_T}no" >&6; }
51132 fi
51133
51134
51135 cppunit_version_min=1.8.0
51136
51137 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51138 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
51139 no_cppunit=""
51140 if test "$CPPUNIT_CONFIG" = "no" ; then
51141 { echo "$as_me:$LINENO: result: no" >&5
51142 echo "${ECHO_T}no" >&6; }
51143 no_cppunit=yes
51144 else
51145 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51146 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51147 cppunit_version=`$CPPUNIT_CONFIG --version`
51148
51149 cppunit_major_version=`echo $cppunit_version | \
51150 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51151 cppunit_minor_version=`echo $cppunit_version | \
51152 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51153 cppunit_micro_version=`echo $cppunit_version | \
51154 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51155
51156 cppunit_major_min=`echo $cppunit_version_min | \
51157 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51158 cppunit_minor_min=`echo $cppunit_version_min | \
51159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51160 cppunit_micro_min=`echo $cppunit_version_min | \
51161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51162
51163 cppunit_version_proper=`expr \
51164 $cppunit_major_version \> $cppunit_major_min \| \
51165 $cppunit_major_version \= $cppunit_major_min \& \
51166 $cppunit_minor_version \> $cppunit_minor_min \| \
51167 $cppunit_major_version \= $cppunit_major_min \& \
51168 $cppunit_minor_version \= $cppunit_minor_min \& \
51169 $cppunit_micro_version \>= $cppunit_micro_min `
51170
51171 if test "$cppunit_version_proper" = "1" ; then
51172 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51173 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
51174 else
51175 { echo "$as_me:$LINENO: result: no" >&5
51176 echo "${ECHO_T}no" >&6; }
51177 no_cppunit=yes
51178 fi
51179 fi
51180
51181 if test "x$no_cppunit" = x ; then
51182 SUBDIRS="$SUBDIRS tests"
51183 else
51184 CPPUNIT_CFLAGS=""
51185 CPPUNIT_LIBS=""
51186 :
51187 fi
51188
51189
51190
51191
51192
51193 for subdir in $SUBDIRS; do
51194 if test -d ${srcdir}/${subdir} ; then
51195 if test "$wxUSE_GUI" = "yes"; then
51196 if test ${subdir} = "samples"; then
51197 makefiles="samples/Makefile.in $makefiles"
51198 for sample in $SAMPLES_SUBDIRS; do
51199 if test -d $srcdir/samples/$sample; then
51200 makefiles="samples/$sample/Makefile.in $makefiles"
51201 fi
51202 done
51203 else
51204 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
51205 eval "disabled=\$$disabled_var"
51206 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51207 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51208 fi
51209 else
51210 if test ${subdir} = "samples"; then
51211 makefiles="samples/Makefile.in $makefiles"
51212 for sample in `echo $SAMPLES_SUBDIRS`; do
51213 if test -d $srcdir/samples/$sample; then
51214 makefiles="samples/$sample/Makefile.in $makefiles"
51215 fi
51216 done
51217 elif test ${subdir} = "utils"; then
51218 makefiles=""
51219 for util in ifacecheck ; do
51220 if test -d $srcdir/utils/$util ; then
51221 makefiles="utils/$util/src/Makefile.in \
51222 $makefiles"
51223 fi
51224 done
51225 else
51226 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51227 fi
51228 fi
51229
51230 for mkin in $makefiles ; do
51231 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51232 ac_config_files="$ac_config_files $mk"
51233
51234 done
51235 fi
51236 done
51237 fi
51238 cat >confcache <<\_ACEOF
51239 # This file is a shell script that caches the results of configure
51240 # tests run on this system so they can be shared between configure
51241 # scripts and configure runs, see configure's option --config-cache.
51242 # It is not useful on other systems. If it contains results you don't
51243 # want to keep, you may remove or edit it.
51244 #
51245 # config.status only pays attention to the cache file if you give it
51246 # the --recheck option to rerun configure.
51247 #
51248 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51249 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51250 # following values.
51251
51252 _ACEOF
51253
51254 # The following way of writing the cache mishandles newlines in values,
51255 # but we know of no workaround that is simple, portable, and efficient.
51256 # So, we kill variables containing newlines.
51257 # Ultrix sh set writes to stderr and can't be redirected directly,
51258 # and sets the high bit in the cache file unless we assign to the vars.
51259 (
51260 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
51261 eval ac_val=\$$ac_var
51262 case $ac_val in #(
51263 *${as_nl}*)
51264 case $ac_var in #(
51265 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
51266 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
51267 esac
51268 case $ac_var in #(
51269 _ | IFS | as_nl) ;; #(
51270 *) $as_unset $ac_var ;;
51271 esac ;;
51272 esac
51273 done
51274
51275 (set) 2>&1 |
51276 case $as_nl`(ac_space=' '; set) 2>&1` in #(
51277 *${as_nl}ac_space=\ *)
51278 # `set' does not quote correctly, so add quotes (double-quote
51279 # substitution turns \\\\ into \\, and sed turns \\ into \).
51280 sed -n \
51281 "s/'/'\\\\''/g;
51282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51283 ;; #(
51284 *)
51285 # `set' quotes correctly as required by POSIX, so do not add quotes.
51286 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
51287 ;;
51288 esac |
51289 sort
51290 ) |
51291 sed '
51292 /^ac_cv_env_/b end
51293 t clear
51294 :clear
51295 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51296 t end
51297 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51298 :end' >>confcache
51299 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
51300 if test -w "$cache_file"; then
51301 test "x$cache_file" != "x/dev/null" &&
51302 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
51303 echo "$as_me: updating cache $cache_file" >&6;}
51304 cat confcache >$cache_file
51305 else
51306 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
51307 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
51308 fi
51309 fi
51310 rm -f confcache
51311
51312 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51313 # Let make expand exec_prefix.
51314 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51315
51316 DEFS=-DHAVE_CONFIG_H
51317
51318 ac_libobjs=
51319 ac_ltlibobjs=
51320 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51321 # 1. Remove the extension, and $U if already installed.
51322 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
51323 ac_i=`echo "$ac_i" | sed "$ac_script"`
51324 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
51325 # will be set to the directory where LIBOBJS objects are built.
51326 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
51327 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
51328 done
51329 LIBOBJS=$ac_libobjs
51330
51331 LTLIBOBJS=$ac_ltlibobjs
51332
51333
51334
51335 : ${CONFIG_STATUS=./config.status}
51336 ac_clean_files_save=$ac_clean_files
51337 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51338 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51339 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51340 cat >$CONFIG_STATUS <<_ACEOF
51341 #! $SHELL
51342 # Generated by $as_me.
51343 # Run this file to recreate the current configuration.
51344 # Compiler output produced by configure, useful for debugging
51345 # configure, is in config.log if it exists.
51346
51347 debug=false
51348 ac_cs_recheck=false
51349 ac_cs_silent=false
51350 SHELL=\${CONFIG_SHELL-$SHELL}
51351 _ACEOF
51352
51353 cat >>$CONFIG_STATUS <<\_ACEOF
51354 ## --------------------- ##
51355 ## M4sh Initialization. ##
51356 ## --------------------- ##
51357
51358 # Be more Bourne compatible
51359 DUALCASE=1; export DUALCASE # for MKS sh
51360 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51361 emulate sh
51362 NULLCMD=:
51363 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51364 # is contrary to our usage. Disable this feature.
51365 alias -g '${1+"$@"}'='"$@"'
51366 setopt NO_GLOB_SUBST
51367 else
51368 case `(set -o) 2>/dev/null` in
51369 *posix*) set -o posix ;;
51370 esac
51371
51372 fi
51373
51374
51375
51376
51377 # PATH needs CR
51378 # Avoid depending upon Character Ranges.
51379 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51380 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51381 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51382 as_cr_digits='0123456789'
51383 as_cr_alnum=$as_cr_Letters$as_cr_digits
51384
51385 # The user is always right.
51386 if test "${PATH_SEPARATOR+set}" != set; then
51387 echo "#! /bin/sh" >conf$$.sh
51388 echo "exit 0" >>conf$$.sh
51389 chmod +x conf$$.sh
51390 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51391 PATH_SEPARATOR=';'
51392 else
51393 PATH_SEPARATOR=:
51394 fi
51395 rm -f conf$$.sh
51396 fi
51397
51398 # Support unset when possible.
51399 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51400 as_unset=unset
51401 else
51402 as_unset=false
51403 fi
51404
51405
51406 # IFS
51407 # We need space, tab and new line, in precisely that order. Quoting is
51408 # there to prevent editors from complaining about space-tab.
51409 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
51410 # splitting by setting IFS to empty value.)
51411 as_nl='
51412 '
51413 IFS=" "" $as_nl"
51414
51415 # Find who we are. Look in the path if we contain no directory separator.
51416 case $0 in
51417 *[\\/]* ) as_myself=$0 ;;
51418 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51419 for as_dir in $PATH
51420 do
51421 IFS=$as_save_IFS
51422 test -z "$as_dir" && as_dir=.
51423 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51424 done
51425 IFS=$as_save_IFS
51426
51427 ;;
51428 esac
51429 # We did not find ourselves, most probably we were run as `sh COMMAND'
51430 # in which case we are not to be found in the path.
51431 if test "x$as_myself" = x; then
51432 as_myself=$0
51433 fi
51434 if test ! -f "$as_myself"; then
51435 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
51436 { (exit 1); exit 1; }
51437 fi
51438
51439 # Work around bugs in pre-3.0 UWIN ksh.
51440 for as_var in ENV MAIL MAILPATH
51441 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51442 done
51443 PS1='$ '
51444 PS2='> '
51445 PS4='+ '
51446
51447 # NLS nuisances.
51448 for as_var in \
51449 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51450 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51451 LC_TELEPHONE LC_TIME
51452 do
51453 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51454 eval $as_var=C; export $as_var
51455 else
51456 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
51457 fi
51458 done
51459
51460 # Required to use basename.
51461 if expr a : '\(a\)' >/dev/null 2>&1 &&
51462 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51463 as_expr=expr
51464 else
51465 as_expr=false
51466 fi
51467
51468 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
51469 as_basename=basename
51470 else
51471 as_basename=false
51472 fi
51473
51474
51475 # Name of the executable.
51476 as_me=`$as_basename -- "$0" ||
51477 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51478 X"$0" : 'X\(//\)$' \| \
51479 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
51480 echo X/"$0" |
51481 sed '/^.*\/\([^/][^/]*\)\/*$/{
51482 s//\1/
51483 q
51484 }
51485 /^X\/\(\/\/\)$/{
51486 s//\1/
51487 q
51488 }
51489 /^X\/\(\/\).*/{
51490 s//\1/
51491 q
51492 }
51493 s/.*/./; q'`
51494
51495 # CDPATH.
51496 $as_unset CDPATH
51497
51498
51499
51500 as_lineno_1=$LINENO
51501 as_lineno_2=$LINENO
51502 test "x$as_lineno_1" != "x$as_lineno_2" &&
51503 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
51504
51505 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51506 # uniformly replaced by the line number. The first 'sed' inserts a
51507 # line-number line after each line using $LINENO; the second 'sed'
51508 # does the real work. The second script uses 'N' to pair each
51509 # line-number line with the line containing $LINENO, and appends
51510 # trailing '-' during substitution so that $LINENO is not a special
51511 # case at line end.
51512 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51513 # scripts with optimization help from Paolo Bonzini. Blame Lee
51514 # E. McMahon (1931-1989) for sed's syntax. :-)
51515 sed -n '
51516 p
51517 /[$]LINENO/=
51518 ' <$as_myself |
51519 sed '
51520 s/[$]LINENO.*/&-/
51521 t lineno
51522 b
51523 :lineno
51524 N
51525 :loop
51526 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51527 t loop
51528 s/-\n.*//
51529 ' >$as_me.lineno &&
51530 chmod +x "$as_me.lineno" ||
51531 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51532 { (exit 1); exit 1; }; }
51533
51534 # Don't try to exec as it changes $[0], causing all sort of problems
51535 # (the dirname of $[0] is not the place where we might find the
51536 # original and so on. Autoconf is especially sensitive to this).
51537 . "./$as_me.lineno"
51538 # Exit status is that of the last command.
51539 exit
51540 }
51541
51542
51543 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51544 as_dirname=dirname
51545 else
51546 as_dirname=false
51547 fi
51548
51549 ECHO_C= ECHO_N= ECHO_T=
51550 case `echo -n x` in
51551 -n*)
51552 case `echo 'x\c'` in
51553 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51554 *) ECHO_C='\c';;
51555 esac;;
51556 *)
51557 ECHO_N='-n';;
51558 esac
51559
51560 if expr a : '\(a\)' >/dev/null 2>&1 &&
51561 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51562 as_expr=expr
51563 else
51564 as_expr=false
51565 fi
51566
51567 rm -f conf$$ conf$$.exe conf$$.file
51568 if test -d conf$$.dir; then
51569 rm -f conf$$.dir/conf$$.file
51570 else
51571 rm -f conf$$.dir
51572 mkdir conf$$.dir
51573 fi
51574 echo >conf$$.file
51575 if ln -s conf$$.file conf$$ 2>/dev/null; then
51576 as_ln_s='ln -s'
51577 # ... but there are two gotchas:
51578 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51579 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51580 # In both cases, we have to default to `cp -p'.
51581 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51582 as_ln_s='cp -p'
51583 elif ln conf$$.file conf$$ 2>/dev/null; then
51584 as_ln_s=ln
51585 else
51586 as_ln_s='cp -p'
51587 fi
51588 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51589 rmdir conf$$.dir 2>/dev/null
51590
51591 if mkdir -p . 2>/dev/null; then
51592 as_mkdir_p=:
51593 else
51594 test -d ./-p && rmdir ./-p
51595 as_mkdir_p=false
51596 fi
51597
51598 if test -x / >/dev/null 2>&1; then
51599 as_test_x='test -x'
51600 else
51601 if ls -dL / >/dev/null 2>&1; then
51602 as_ls_L_option=L
51603 else
51604 as_ls_L_option=
51605 fi
51606 as_test_x='
51607 eval sh -c '\''
51608 if test -d "$1"; then
51609 test -d "$1/.";
51610 else
51611 case $1 in
51612 -*)set "./$1";;
51613 esac;
51614 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51615 ???[sx]*):;;*)false;;esac;fi
51616 '\'' sh
51617 '
51618 fi
51619 as_executable_p=$as_test_x
51620
51621 # Sed expression to map a string onto a valid CPP name.
51622 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51623
51624 # Sed expression to map a string onto a valid variable name.
51625 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51626
51627
51628 exec 6>&1
51629
51630 # Save the log message, to keep $[0] and so on meaningful, and to
51631 # report actual input values of CONFIG_FILES etc. instead of their
51632 # values after options handling.
51633 ac_log="
51634 This file was extended by wxWidgets $as_me 2.9.0, which was
51635 generated by GNU Autoconf 2.61. Invocation command line was
51636
51637 CONFIG_FILES = $CONFIG_FILES
51638 CONFIG_HEADERS = $CONFIG_HEADERS
51639 CONFIG_LINKS = $CONFIG_LINKS
51640 CONFIG_COMMANDS = $CONFIG_COMMANDS
51641 $ $0 $@
51642
51643 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51644 "
51645
51646 _ACEOF
51647
51648 cat >>$CONFIG_STATUS <<_ACEOF
51649 # Files that config.status was made for.
51650 config_files="$ac_config_files"
51651 config_headers="$ac_config_headers"
51652 config_commands="$ac_config_commands"
51653
51654 _ACEOF
51655
51656 cat >>$CONFIG_STATUS <<\_ACEOF
51657 ac_cs_usage="\
51658 \`$as_me' instantiates files from templates according to the
51659 current configuration.
51660
51661 Usage: $0 [OPTIONS] [FILE]...
51662
51663 -h, --help print this help, then exit
51664 -V, --version print version number and configuration settings, then exit
51665 -q, --quiet do not print progress messages
51666 -d, --debug don't remove temporary files
51667 --recheck update $as_me by reconfiguring in the same conditions
51668 --file=FILE[:TEMPLATE]
51669 instantiate the configuration file FILE
51670 --header=FILE[:TEMPLATE]
51671 instantiate the configuration header FILE
51672
51673 Configuration files:
51674 $config_files
51675
51676 Configuration headers:
51677 $config_headers
51678
51679 Configuration commands:
51680 $config_commands
51681
51682 Report bugs to <bug-autoconf@gnu.org>."
51683
51684 _ACEOF
51685 cat >>$CONFIG_STATUS <<_ACEOF
51686 ac_cs_version="\\
51687 wxWidgets config.status 2.9.0
51688 configured by $0, generated by GNU Autoconf 2.61,
51689 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51690
51691 Copyright (C) 2006 Free Software Foundation, Inc.
51692 This config.status script is free software; the Free Software Foundation
51693 gives unlimited permission to copy, distribute and modify it."
51694
51695 ac_pwd='$ac_pwd'
51696 srcdir='$srcdir'
51697 INSTALL='$INSTALL'
51698 _ACEOF
51699
51700 cat >>$CONFIG_STATUS <<\_ACEOF
51701 # If no file are specified by the user, then we need to provide default
51702 # value. By we need to know if files were specified by the user.
51703 ac_need_defaults=:
51704 while test $# != 0
51705 do
51706 case $1 in
51707 --*=*)
51708 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51709 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51710 ac_shift=:
51711 ;;
51712 *)
51713 ac_option=$1
51714 ac_optarg=$2
51715 ac_shift=shift
51716 ;;
51717 esac
51718
51719 case $ac_option in
51720 # Handling of the options.
51721 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51722 ac_cs_recheck=: ;;
51723 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51724 echo "$ac_cs_version"; exit ;;
51725 --debug | --debu | --deb | --de | --d | -d )
51726 debug=: ;;
51727 --file | --fil | --fi | --f )
51728 $ac_shift
51729 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51730 ac_need_defaults=false;;
51731 --header | --heade | --head | --hea )
51732 $ac_shift
51733 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51734 ac_need_defaults=false;;
51735 --he | --h)
51736 # Conflict between --help and --header
51737 { echo "$as_me: error: ambiguous option: $1
51738 Try \`$0 --help' for more information." >&2
51739 { (exit 1); exit 1; }; };;
51740 --help | --hel | -h )
51741 echo "$ac_cs_usage"; exit ;;
51742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51743 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51744 ac_cs_silent=: ;;
51745
51746 # This is an error.
51747 -*) { echo "$as_me: error: unrecognized option: $1
51748 Try \`$0 --help' for more information." >&2
51749 { (exit 1); exit 1; }; } ;;
51750
51751 *) ac_config_targets="$ac_config_targets $1"
51752 ac_need_defaults=false ;;
51753
51754 esac
51755 shift
51756 done
51757
51758 ac_configure_extra_args=
51759
51760 if $ac_cs_silent; then
51761 exec 6>/dev/null
51762 ac_configure_extra_args="$ac_configure_extra_args --silent"
51763 fi
51764
51765 _ACEOF
51766 cat >>$CONFIG_STATUS <<_ACEOF
51767 if \$ac_cs_recheck; then
51768 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51769 CONFIG_SHELL=$SHELL
51770 export CONFIG_SHELL
51771 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51772 fi
51773
51774 _ACEOF
51775 cat >>$CONFIG_STATUS <<\_ACEOF
51776 exec 5>>config.log
51777 {
51778 echo
51779 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51780 ## Running $as_me. ##
51781 _ASBOX
51782 echo "$ac_log"
51783 } >&5
51784
51785 _ACEOF
51786 cat >>$CONFIG_STATUS <<_ACEOF
51787 #
51788 # INIT-COMMANDS
51789 #
51790
51791 CPP="$CPP"
51792 infile="$srcdir/include/wx/msw/genrcdefs.h"
51793 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51794
51795
51796 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51797 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51798 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51799 LN_S="${LN_S}"
51800
51801
51802 _ACEOF
51803
51804 cat >>$CONFIG_STATUS <<\_ACEOF
51805
51806 # Handling of arguments.
51807 for ac_config_target in $ac_config_targets
51808 do
51809 case $ac_config_target in
51810 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51811 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51812 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51813 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51814 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51815 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51816 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51817 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51818 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51819
51820 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51821 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51822 { (exit 1); exit 1; }; };;
51823 esac
51824 done
51825
51826
51827 # If the user did not use the arguments to specify the items to instantiate,
51828 # then the envvar interface is used. Set only those that are not.
51829 # We use the long form for the default assignment because of an extremely
51830 # bizarre bug on SunOS 4.1.3.
51831 if $ac_need_defaults; then
51832 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51833 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51834 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51835 fi
51836
51837 # Have a temporary directory for convenience. Make it in the build tree
51838 # simply because there is no reason against having it here, and in addition,
51839 # creating and moving files from /tmp can sometimes cause problems.
51840 # Hook for its removal unless debugging.
51841 # Note that there is a small window in which the directory will not be cleaned:
51842 # after its creation but before its name has been assigned to `$tmp'.
51843 $debug ||
51844 {
51845 tmp=
51846 trap 'exit_status=$?
51847 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51848 ' 0
51849 trap '{ (exit 1); exit 1; }' 1 2 13 15
51850 }
51851 # Create a (secure) tmp directory for tmp files.
51852
51853 {
51854 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51855 test -n "$tmp" && test -d "$tmp"
51856 } ||
51857 {
51858 tmp=./conf$$-$RANDOM
51859 (umask 077 && mkdir "$tmp")
51860 } ||
51861 {
51862 echo "$me: cannot create a temporary directory in ." >&2
51863 { (exit 1); exit 1; }
51864 }
51865
51866 #
51867 # Set up the sed scripts for CONFIG_FILES section.
51868 #
51869
51870 # No need to generate the scripts if there are no CONFIG_FILES.
51871 # This happens for instance when ./config.status config.h
51872 if test -n "$CONFIG_FILES"; then
51873
51874 _ACEOF
51875
51876
51877
51878 ac_delim='%!_!# '
51879 for ac_last_try in false false false false false :; do
51880 cat >conf$$subs.sed <<_ACEOF
51881 SHELL!$SHELL$ac_delim
51882 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51883 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51884 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51885 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51886 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51887 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51888 exec_prefix!$exec_prefix$ac_delim
51889 prefix!$prefix$ac_delim
51890 program_transform_name!$program_transform_name$ac_delim
51891 bindir!$bindir$ac_delim
51892 sbindir!$sbindir$ac_delim
51893 libexecdir!$libexecdir$ac_delim
51894 datarootdir!$datarootdir$ac_delim
51895 datadir!$datadir$ac_delim
51896 sysconfdir!$sysconfdir$ac_delim
51897 sharedstatedir!$sharedstatedir$ac_delim
51898 localstatedir!$localstatedir$ac_delim
51899 includedir!$includedir$ac_delim
51900 oldincludedir!$oldincludedir$ac_delim
51901 docdir!$docdir$ac_delim
51902 infodir!$infodir$ac_delim
51903 htmldir!$htmldir$ac_delim
51904 dvidir!$dvidir$ac_delim
51905 pdfdir!$pdfdir$ac_delim
51906 psdir!$psdir$ac_delim
51907 libdir!$libdir$ac_delim
51908 localedir!$localedir$ac_delim
51909 mandir!$mandir$ac_delim
51910 DEFS!$DEFS$ac_delim
51911 ECHO_C!$ECHO_C$ac_delim
51912 ECHO_N!$ECHO_N$ac_delim
51913 ECHO_T!$ECHO_T$ac_delim
51914 LIBS!$LIBS$ac_delim
51915 build_alias!$build_alias$ac_delim
51916 host_alias!$host_alias$ac_delim
51917 target_alias!$target_alias$ac_delim
51918 build!$build$ac_delim
51919 build_cpu!$build_cpu$ac_delim
51920 build_vendor!$build_vendor$ac_delim
51921 build_os!$build_os$ac_delim
51922 host!$host$ac_delim
51923 host_cpu!$host_cpu$ac_delim
51924 host_vendor!$host_vendor$ac_delim
51925 host_os!$host_os$ac_delim
51926 wx_top_builddir!$wx_top_builddir$ac_delim
51927 CC!$CC$ac_delim
51928 CFLAGS!$CFLAGS$ac_delim
51929 LDFLAGS!$LDFLAGS$ac_delim
51930 CPPFLAGS!$CPPFLAGS$ac_delim
51931 ac_ct_CC!$ac_ct_CC$ac_delim
51932 EXEEXT!$EXEEXT$ac_delim
51933 OBJEXT!$OBJEXT$ac_delim
51934 CPP!$CPP$ac_delim
51935 GREP!$GREP$ac_delim
51936 EGREP!$EGREP$ac_delim
51937 CXX!$CXX$ac_delim
51938 CXXFLAGS!$CXXFLAGS$ac_delim
51939 ac_ct_CXX!$ac_ct_CXX$ac_delim
51940 AR!$AR$ac_delim
51941 subdirs!$subdirs$ac_delim
51942 PKG_CONFIG!$PKG_CONFIG$ac_delim
51943 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51944 GTK_LIBS!$GTK_LIBS$ac_delim
51945 GTK_CONFIG!$GTK_CONFIG$ac_delim
51946 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51947 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51948 XMKMF!$XMKMF$ac_delim
51949 X_CFLAGS!$X_CFLAGS$ac_delim
51950 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51951 X_LIBS!$X_LIBS$ac_delim
51952 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51953 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51954 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51955 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51956 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51957 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51958 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51959 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51960 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51961 LIBICONV!$LIBICONV$ac_delim
51962 GXX_VERSION!$GXX_VERSION$ac_delim
51963 SDL_CONFIG!$SDL_CONFIG$ac_delim
51964 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51965 SDL_LIBS!$SDL_LIBS$ac_delim
51966 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51967 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51968 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51969 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51970 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51971 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51972 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51973 HILDON_LIBS!$HILDON_LIBS$ac_delim
51974 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51975 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51976 GST_CFLAGS!$GST_CFLAGS$ac_delim
51977 GST_LIBS!$GST_LIBS$ac_delim
51978 _ACEOF
51979
51980 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51981 break
51982 elif $ac_last_try; then
51983 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51984 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51985 { (exit 1); exit 1; }; }
51986 else
51987 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51988 fi
51989 done
51990
51991 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51992 if test -n "$ac_eof"; then
51993 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51994 ac_eof=`expr $ac_eof + 1`
51995 fi
51996
51997 cat >>$CONFIG_STATUS <<_ACEOF
51998 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51999 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52000 _ACEOF
52001 sed '
52002 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52003 s/^/s,@/; s/!/@,|#_!!_#|/
52004 :n
52005 t n
52006 s/'"$ac_delim"'$/,g/; t
52007 s/$/\\/; p
52008 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52009 ' >>$CONFIG_STATUS <conf$$subs.sed
52010 rm -f conf$$subs.sed
52011 cat >>$CONFIG_STATUS <<_ACEOF
52012 CEOF$ac_eof
52013 _ACEOF
52014
52015
52016 ac_delim='%!_!# '
52017 for ac_last_try in false false false false false :; do
52018 cat >conf$$subs.sed <<_ACEOF
52019 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
52020 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
52021 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
52022 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
52023 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
52024 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
52025 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
52026 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
52027 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
52028 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
52029 VENDOR!$VENDOR$ac_delim
52030 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
52031 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
52032 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
52033 WXUNIV!$WXUNIV$ac_delim
52034 MONOLITHIC!$MONOLITHIC$ac_delim
52035 USE_PLUGINS!$USE_PLUGINS$ac_delim
52036 CXXWARNINGS!$CXXWARNINGS$ac_delim
52037 EXTRALIBS!$EXTRALIBS$ac_delim
52038 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
52039 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
52040 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
52041 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
52042 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
52043 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
52044 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
52045 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
52046 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
52047 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
52048 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
52049 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
52050 UNICODE!$UNICODE$ac_delim
52051 BUILD!$BUILD$ac_delim
52052 DEBUG_INFO!$DEBUG_INFO$ac_delim
52053 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
52054 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
52055 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
52056 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
52057 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
52058 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
52059 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
52060 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
52061 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
52062 RANLIB!$RANLIB$ac_delim
52063 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
52064 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
52065 INSTALL_DATA!$INSTALL_DATA$ac_delim
52066 LN_S!$LN_S$ac_delim
52067 SET_MAKE!$SET_MAKE$ac_delim
52068 MAKE_SET!$MAKE_SET$ac_delim
52069 AROPTIONS!$AROPTIONS$ac_delim
52070 STRIP!$STRIP$ac_delim
52071 NM!$NM$ac_delim
52072 INSTALL_DIR!$INSTALL_DIR$ac_delim
52073 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
52074 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
52075 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
52076 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
52077 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
52078 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
52079 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
52080 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
52081 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
52082 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
52083 SO_SUFFIX!$SO_SUFFIX$ac_delim
52084 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
52085 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
52086 LIBPREFIX!$LIBPREFIX$ac_delim
52087 LIBEXT!$LIBEXT$ac_delim
52088 DLLPREFIX!$DLLPREFIX$ac_delim
52089 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
52090 dlldir!$dlldir$ac_delim
52091 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
52092 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
52093 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
52094 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
52095 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
52096 PIC_FLAG!$PIC_FLAG$ac_delim
52097 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
52098 USE_SOVERSION!$USE_SOVERSION$ac_delim
52099 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
52100 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
52101 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
52102 USE_MACVERSION!$USE_MACVERSION$ac_delim
52103 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
52104 SONAME_FLAG!$SONAME_FLAG$ac_delim
52105 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
52106 BK_DEPS!$BK_DEPS$ac_delim
52107 WINDRES!$WINDRES$ac_delim
52108 REZ!$REZ$ac_delim
52109 SETFILE!$SETFILE$ac_delim
52110 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
52111 GCC_PCH!$GCC_PCH$ac_delim
52112 ICC_PCH!$ICC_PCH$ac_delim
52113 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
52114 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
52115 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
52116 _ACEOF
52117
52118 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52119 break
52120 elif $ac_last_try; then
52121 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52122 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52123 { (exit 1); exit 1; }; }
52124 else
52125 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52126 fi
52127 done
52128
52129 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52130 if test -n "$ac_eof"; then
52131 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52132 ac_eof=`expr $ac_eof + 1`
52133 fi
52134
52135 cat >>$CONFIG_STATUS <<_ACEOF
52136 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
52137 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52138 _ACEOF
52139 sed '
52140 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52141 s/^/s,@/; s/!/@,|#_!!_#|/
52142 :n
52143 t n
52144 s/'"$ac_delim"'$/,g/; t
52145 s/$/\\/; p
52146 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52147 ' >>$CONFIG_STATUS <conf$$subs.sed
52148 rm -f conf$$subs.sed
52149 cat >>$CONFIG_STATUS <<_ACEOF
52150 CEOF$ac_eof
52151 _ACEOF
52152
52153
52154 ac_delim='%!_!# '
52155 for ac_last_try in false false false false false :; do
52156 cat >conf$$subs.sed <<_ACEOF
52157 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
52158 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
52159 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
52160 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
52161 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
52162 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
52163 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
52164 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
52165 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
52166 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
52167 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
52168 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
52169 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
52170 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
52171 COND_BUILD_release!$COND_BUILD_release$ac_delim
52172 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
52173 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
52174 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
52175 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
52176 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
52177 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
52178 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
52179 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
52180 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
52181 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
52182 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
52183 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
52184 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
52185 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
52186 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
52187 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52188 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
52189 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
52190 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
52191 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
52192 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
52193 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
52194 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
52195 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
52196 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
52197 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
52198 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
52199 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
52200 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
52201 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
52202 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
52203 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
52204 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
52205 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
52206 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
52207 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
52208 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
52209 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
52210 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
52211 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
52212 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
52213 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
52214 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
52215 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
52216 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
52217 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
52218 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
52219 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
52220 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
52221 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
52222 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52223 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
52224 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52225 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
52226 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
52227 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
52228 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
52229 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
52230 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
52231 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
52232 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
52233 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
52234 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
52235 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
52236 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
52237 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
52238 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
52239 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
52240 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
52241 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
52242 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
52243 COND_SHARED_0!$COND_SHARED_0$ac_delim
52244 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
52245 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
52246 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
52247 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
52248 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52249 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52250 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52251 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
52252 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
52253 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
52254 _ACEOF
52255
52256 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52257 break
52258 elif $ac_last_try; then
52259 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52260 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52261 { (exit 1); exit 1; }; }
52262 else
52263 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52264 fi
52265 done
52266
52267 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52268 if test -n "$ac_eof"; then
52269 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52270 ac_eof=`expr $ac_eof + 1`
52271 fi
52272
52273 cat >>$CONFIG_STATUS <<_ACEOF
52274 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
52275 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52276 _ACEOF
52277 sed '
52278 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52279 s/^/s,@/; s/!/@,|#_!!_#|/
52280 :n
52281 t n
52282 s/'"$ac_delim"'$/,g/; t
52283 s/$/\\/; p
52284 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52285 ' >>$CONFIG_STATUS <conf$$subs.sed
52286 rm -f conf$$subs.sed
52287 cat >>$CONFIG_STATUS <<_ACEOF
52288 CEOF$ac_eof
52289 _ACEOF
52290
52291
52292 ac_delim='%!_!# '
52293 for ac_last_try in false false false false false :; do
52294 cat >conf$$subs.sed <<_ACEOF
52295 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
52296 COND_SHARED_1!$COND_SHARED_1$ac_delim
52297 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
52298 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
52299 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
52300 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
52301 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52302 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
52303 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
52304 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
52305 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
52306 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
52307 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
52308 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
52309 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
52310 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
52311 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
52312 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
52313 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
52314 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
52315 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
52316 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
52317 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
52318 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
52319 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
52320 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
52321 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
52322 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
52323 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
52324 COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
52325 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
52326 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
52327 COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
52328 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
52329 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
52330 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
52331 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
52332 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
52333 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
52334 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
52335 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
52336 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
52337 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
52338 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
52339 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
52340 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
52341 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
52342 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
52343 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
52344 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
52345 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
52346 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
52347 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
52348 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
52349 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
52350 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
52351 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
52352 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
52353 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
52354 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
52355 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
52356 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
52357 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
52358 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
52359 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
52360 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
52361 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
52362 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
52363 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
52364 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
52365 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
52366 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
52367 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
52368 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
52369 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
52370 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
52371 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
52372 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
52373 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
52374 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
52375 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
52376 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
52377 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
52378 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
52379 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
52380 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
52381 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
52382 DEREZ!$DEREZ$ac_delim
52383 SHARED!$SHARED$ac_delim
52384 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
52385 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
52386 USE_GUI!$USE_GUI$ac_delim
52387 AFMINSTALL!$AFMINSTALL$ac_delim
52388 WIN32INSTALL!$WIN32INSTALL$ac_delim
52389 TOOLKIT!$TOOLKIT$ac_delim
52390 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
52391 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
52392 _ACEOF
52393
52394 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
52395 break
52396 elif $ac_last_try; then
52397 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52398 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52399 { (exit 1); exit 1; }; }
52400 else
52401 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52402 fi
52403 done
52404
52405 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52406 if test -n "$ac_eof"; then
52407 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52408 ac_eof=`expr $ac_eof + 1`
52409 fi
52410
52411 cat >>$CONFIG_STATUS <<_ACEOF
52412 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
52413 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52414 _ACEOF
52415 sed '
52416 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52417 s/^/s,@/; s/!/@,|#_!!_#|/
52418 :n
52419 t n
52420 s/'"$ac_delim"'$/,g/; t
52421 s/$/\\/; p
52422 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52423 ' >>$CONFIG_STATUS <conf$$subs.sed
52424 rm -f conf$$subs.sed
52425 cat >>$CONFIG_STATUS <<_ACEOF
52426 CEOF$ac_eof
52427 _ACEOF
52428
52429
52430 ac_delim='%!_!# '
52431 for ac_last_try in false false false false false :; do
52432 cat >conf$$subs.sed <<_ACEOF
52433 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
52434 cross_compiling!$cross_compiling$ac_delim
52435 WIDGET_SET!$WIDGET_SET$ac_delim
52436 WX_RELEASE!$WX_RELEASE$ac_delim
52437 WX_VERSION!$WX_VERSION$ac_delim
52438 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
52439 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
52440 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
52441 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
52442 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
52443 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
52444 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
52445 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
52446 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
52447 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
52448 GUIDIST!$GUIDIST$ac_delim
52449 DISTDIR!$DISTDIR$ac_delim
52450 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
52451 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
52452 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
52453 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
52454 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
52455 RESCOMP!$RESCOMP$ac_delim
52456 RESFLAGS!$RESFLAGS$ac_delim
52457 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
52458 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
52459 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
52460 LIBWXMACRES!$LIBWXMACRES$ac_delim
52461 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
52462 MACSETFILE!$MACSETFILE$ac_delim
52463 GCC!$GCC$ac_delim
52464 DLLTOOL!$DLLTOOL$ac_delim
52465 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
52466 LIBOBJS!$LIBOBJS$ac_delim
52467 LTLIBOBJS!$LTLIBOBJS$ac_delim
52468 _ACEOF
52469
52470 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
52471 break
52472 elif $ac_last_try; then
52473 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
52474 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
52475 { (exit 1); exit 1; }; }
52476 else
52477 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
52478 fi
52479 done
52480
52481 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
52482 if test -n "$ac_eof"; then
52483 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
52484 ac_eof=`expr $ac_eof + 1`
52485 fi
52486
52487 cat >>$CONFIG_STATUS <<_ACEOF
52488 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
52489 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
52490 _ACEOF
52491 sed '
52492 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
52493 s/^/s,@/; s/!/@,|#_!!_#|/
52494 :n
52495 t n
52496 s/'"$ac_delim"'$/,g/; t
52497 s/$/\\/; p
52498 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
52499 ' >>$CONFIG_STATUS <conf$$subs.sed
52500 rm -f conf$$subs.sed
52501 cat >>$CONFIG_STATUS <<_ACEOF
52502 :end
52503 s/|#_!!_#|//g
52504 CEOF$ac_eof
52505 _ACEOF
52506
52507
52508 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52509 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52510 # trailing colons and then remove the whole line if VPATH becomes empty
52511 # (actually we leave an empty line to preserve line numbers).
52512 if test "x$srcdir" = x.; then
52513 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52514 s/:*\$(srcdir):*/:/
52515 s/:*\${srcdir}:*/:/
52516 s/:*@srcdir@:*/:/
52517 s/^\([^=]*=[ ]*\):*/\1/
52518 s/:*$//
52519 s/^[^=]*=[ ]*$//
52520 }'
52521 fi
52522
52523 cat >>$CONFIG_STATUS <<\_ACEOF
52524 fi # test -n "$CONFIG_FILES"
52525
52526
52527 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
52528 do
52529 case $ac_tag in
52530 :[FHLC]) ac_mode=$ac_tag; continue;;
52531 esac
52532 case $ac_mode$ac_tag in
52533 :[FHL]*:*);;
52534 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
52535 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
52536 { (exit 1); exit 1; }; };;
52537 :[FH]-) ac_tag=-:-;;
52538 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
52539 esac
52540 ac_save_IFS=$IFS
52541 IFS=:
52542 set x $ac_tag
52543 IFS=$ac_save_IFS
52544 shift
52545 ac_file=$1
52546 shift
52547
52548 case $ac_mode in
52549 :L) ac_source=$1;;
52550 :[FH])
52551 ac_file_inputs=
52552 for ac_f
52553 do
52554 case $ac_f in
52555 -) ac_f="$tmp/stdin";;
52556 *) # Look for the file first in the build tree, then in the source tree
52557 # (if the path is not absolute). The absolute path cannot be DOS-style,
52558 # because $ac_f cannot contain `:'.
52559 test -f "$ac_f" ||
52560 case $ac_f in
52561 [\\/$]*) false;;
52562 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52563 esac ||
52564 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52565 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52566 { (exit 1); exit 1; }; };;
52567 esac
52568 ac_file_inputs="$ac_file_inputs $ac_f"
52569 done
52570
52571 # Let's still pretend it is `configure' which instantiates (i.e., don't
52572 # use $as_me), people would be surprised to read:
52573 # /* config.h. Generated by config.status. */
52574 configure_input="Generated from "`IFS=:
52575 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52576 if test x"$ac_file" != x-; then
52577 configure_input="$ac_file. $configure_input"
52578 { echo "$as_me:$LINENO: creating $ac_file" >&5
52579 echo "$as_me: creating $ac_file" >&6;}
52580 fi
52581
52582 case $ac_tag in
52583 *:-:* | *:-) cat >"$tmp/stdin";;
52584 esac
52585 ;;
52586 esac
52587
52588 ac_dir=`$as_dirname -- "$ac_file" ||
52589 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52590 X"$ac_file" : 'X\(//\)[^/]' \| \
52591 X"$ac_file" : 'X\(//\)$' \| \
52592 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52593 echo X"$ac_file" |
52594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52595 s//\1/
52596 q
52597 }
52598 /^X\(\/\/\)[^/].*/{
52599 s//\1/
52600 q
52601 }
52602 /^X\(\/\/\)$/{
52603 s//\1/
52604 q
52605 }
52606 /^X\(\/\).*/{
52607 s//\1/
52608 q
52609 }
52610 s/.*/./; q'`
52611 { as_dir="$ac_dir"
52612 case $as_dir in #(
52613 -*) as_dir=./$as_dir;;
52614 esac
52615 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52616 as_dirs=
52617 while :; do
52618 case $as_dir in #(
52619 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52620 *) as_qdir=$as_dir;;
52621 esac
52622 as_dirs="'$as_qdir' $as_dirs"
52623 as_dir=`$as_dirname -- "$as_dir" ||
52624 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52625 X"$as_dir" : 'X\(//\)[^/]' \| \
52626 X"$as_dir" : 'X\(//\)$' \| \
52627 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52628 echo X"$as_dir" |
52629 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52630 s//\1/
52631 q
52632 }
52633 /^X\(\/\/\)[^/].*/{
52634 s//\1/
52635 q
52636 }
52637 /^X\(\/\/\)$/{
52638 s//\1/
52639 q
52640 }
52641 /^X\(\/\).*/{
52642 s//\1/
52643 q
52644 }
52645 s/.*/./; q'`
52646 test -d "$as_dir" && break
52647 done
52648 test -z "$as_dirs" || eval "mkdir $as_dirs"
52649 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52650 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52651 { (exit 1); exit 1; }; }; }
52652 ac_builddir=.
52653
52654 case "$ac_dir" in
52655 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52656 *)
52657 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52658 # A ".." for each directory in $ac_dir_suffix.
52659 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52660 case $ac_top_builddir_sub in
52661 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52662 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52663 esac ;;
52664 esac
52665 ac_abs_top_builddir=$ac_pwd
52666 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52667 # for backward compatibility:
52668 ac_top_builddir=$ac_top_build_prefix
52669
52670 case $srcdir in
52671 .) # We are building in place.
52672 ac_srcdir=.
52673 ac_top_srcdir=$ac_top_builddir_sub
52674 ac_abs_top_srcdir=$ac_pwd ;;
52675 [\\/]* | ?:[\\/]* ) # Absolute name.
52676 ac_srcdir=$srcdir$ac_dir_suffix;
52677 ac_top_srcdir=$srcdir
52678 ac_abs_top_srcdir=$srcdir ;;
52679 *) # Relative name.
52680 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52681 ac_top_srcdir=$ac_top_build_prefix$srcdir
52682 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52683 esac
52684 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52685
52686
52687 case $ac_mode in
52688 :F)
52689 #
52690 # CONFIG_FILE
52691 #
52692
52693 case $INSTALL in
52694 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52695 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52696 esac
52697 _ACEOF
52698
52699 cat >>$CONFIG_STATUS <<\_ACEOF
52700 # If the template does not know about datarootdir, expand it.
52701 # FIXME: This hack should be removed a few years after 2.60.
52702 ac_datarootdir_hack=; ac_datarootdir_seen=
52703
52704 case `sed -n '/datarootdir/ {
52705 p
52706 q
52707 }
52708 /@datadir@/p
52709 /@docdir@/p
52710 /@infodir@/p
52711 /@localedir@/p
52712 /@mandir@/p
52713 ' $ac_file_inputs` in
52714 *datarootdir*) ac_datarootdir_seen=yes;;
52715 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52716 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52717 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52718 _ACEOF
52719 cat >>$CONFIG_STATUS <<_ACEOF
52720 ac_datarootdir_hack='
52721 s&@datadir@&$datadir&g
52722 s&@docdir@&$docdir&g
52723 s&@infodir@&$infodir&g
52724 s&@localedir@&$localedir&g
52725 s&@mandir@&$mandir&g
52726 s&\\\${datarootdir}&$datarootdir&g' ;;
52727 esac
52728 _ACEOF
52729
52730 # Neutralize VPATH when `$srcdir' = `.'.
52731 # Shell code in configure.ac might set extrasub.
52732 # FIXME: do we really want to maintain this feature?
52733 cat >>$CONFIG_STATUS <<_ACEOF
52734 sed "$ac_vpsub
52735 $extrasub
52736 _ACEOF
52737 cat >>$CONFIG_STATUS <<\_ACEOF
52738 :t
52739 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52740 s&@configure_input@&$configure_input&;t t
52741 s&@top_builddir@&$ac_top_builddir_sub&;t t
52742 s&@srcdir@&$ac_srcdir&;t t
52743 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52744 s&@top_srcdir@&$ac_top_srcdir&;t t
52745 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52746 s&@builddir@&$ac_builddir&;t t
52747 s&@abs_builddir@&$ac_abs_builddir&;t t
52748 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52749 s&@INSTALL@&$ac_INSTALL&;t t
52750 $ac_datarootdir_hack
52751 " $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
52752
52753 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52754 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52755 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52756 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52757 which seems to be undefined. Please make sure it is defined." >&5
52758 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52759 which seems to be undefined. Please make sure it is defined." >&2;}
52760
52761 rm -f "$tmp/stdin"
52762 case $ac_file in
52763 -) cat "$tmp/out"; rm -f "$tmp/out";;
52764 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52765 esac
52766 ;;
52767 :H)
52768 #
52769 # CONFIG_HEADER
52770 #
52771 _ACEOF
52772
52773 # Transform confdefs.h into a sed script `conftest.defines', that
52774 # substitutes the proper values into config.h.in to produce config.h.
52775 rm -f conftest.defines conftest.tail
52776 # First, append a space to every undef/define line, to ease matching.
52777 echo 's/$/ /' >conftest.defines
52778 # Then, protect against being on the right side of a sed subst, or in
52779 # an unquoted here document, in config.status. If some macros were
52780 # called several times there might be several #defines for the same
52781 # symbol, which is useless. But do not sort them, since the last
52782 # AC_DEFINE must be honored.
52783 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52784 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52785 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52786 # PARAMS is the parameter list in the macro definition--in most cases, it's
52787 # just an empty string.
52788 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52789 ac_dB='\\)[ (].*,\\1define\\2'
52790 ac_dC=' '
52791 ac_dD=' ,'
52792
52793 uniq confdefs.h |
52794 sed -n '
52795 t rset
52796 :rset
52797 s/^[ ]*#[ ]*define[ ][ ]*//
52798 t ok
52799 d
52800 :ok
52801 s/[\\&,]/\\&/g
52802 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52803 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52804 ' >>conftest.defines
52805
52806 # Remove the space that was appended to ease matching.
52807 # Then replace #undef with comments. This is necessary, for
52808 # example, in the case of _POSIX_SOURCE, which is predefined and required
52809 # on some systems where configure will not decide to define it.
52810 # (The regexp can be short, since the line contains either #define or #undef.)
52811 echo 's/ $//
52812 s,^[ #]*u.*,/* & */,' >>conftest.defines
52813
52814 # Break up conftest.defines:
52815 ac_max_sed_lines=50
52816
52817 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52818 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52819 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52820 # et cetera.
52821 ac_in='$ac_file_inputs'
52822 ac_out='"$tmp/out1"'
52823 ac_nxt='"$tmp/out2"'
52824
52825 while :
52826 do
52827 # Write a here document:
52828 cat >>$CONFIG_STATUS <<_ACEOF
52829 # First, check the format of the line:
52830 cat >"\$tmp/defines.sed" <<\\CEOF
52831 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52832 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52833 b
52834 :def
52835 _ACEOF
52836 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52837 echo 'CEOF
52838 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52839 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52840 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52841 grep . conftest.tail >/dev/null || break
52842 rm -f conftest.defines
52843 mv conftest.tail conftest.defines
52844 done
52845 rm -f conftest.defines conftest.tail
52846
52847 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52848 cat >>$CONFIG_STATUS <<\_ACEOF
52849 if test x"$ac_file" != x-; then
52850 echo "/* $configure_input */" >"$tmp/config.h"
52851 cat "$ac_result" >>"$tmp/config.h"
52852 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52853 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52854 echo "$as_me: $ac_file is unchanged" >&6;}
52855 else
52856 rm -f $ac_file
52857 mv "$tmp/config.h" $ac_file
52858 fi
52859 else
52860 echo "/* $configure_input */"
52861 cat "$ac_result"
52862 fi
52863 rm -f "$tmp/out12"
52864 ;;
52865
52866 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52867 echo "$as_me: executing $ac_file commands" >&6;}
52868 ;;
52869 esac
52870
52871
52872 case $ac_file$ac_mode in
52873 "rcdefs.h":C)
52874 mkdir -p $outdir &&
52875 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52876 ;;
52877 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52878 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52879 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52880 "wx-config":C) rm -f wx-config
52881 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52882 ;;
52883
52884 esac
52885 done # for ac_tag
52886
52887
52888 { (exit 0); exit 0; }
52889 _ACEOF
52890 chmod +x $CONFIG_STATUS
52891 ac_clean_files=$ac_clean_files_save
52892
52893
52894 # configure is writing to config.log, and then calls config.status.
52895 # config.status does its own redirection, appending to config.log.
52896 # Unfortunately, on DOS this fails, as config.log is still kept open
52897 # by configure, so config.status won't be able to write to it; its
52898 # output is simply discarded. So we exec the FD to /dev/null,
52899 # effectively closing config.log, so it can be properly (re)opened and
52900 # appended to by config.status. When coming back to configure, we
52901 # need to make the FD available again.
52902 if test "$no_create" != yes; then
52903 ac_cs_success=:
52904 ac_config_status_args=
52905 test "$silent" = yes &&
52906 ac_config_status_args="$ac_config_status_args --quiet"
52907 exec 5>/dev/null
52908 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52909 exec 5>>config.log
52910 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52911 # would make configure fail if this is the last instruction.
52912 $ac_cs_success || { (exit 1); exit 1; }
52913 fi
52914
52915 #
52916 # CONFIG_SUBDIRS section.
52917 #
52918 if test "$no_recursion" != yes; then
52919
52920 # Remove --cache-file and --srcdir arguments so they do not pile up.
52921 ac_sub_configure_args=
52922 ac_prev=
52923 eval "set x $ac_configure_args"
52924 shift
52925 for ac_arg
52926 do
52927 if test -n "$ac_prev"; then
52928 ac_prev=
52929 continue
52930 fi
52931 case $ac_arg in
52932 -cache-file | --cache-file | --cache-fil | --cache-fi \
52933 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52934 ac_prev=cache_file ;;
52935 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52936 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52937 | --c=*)
52938 ;;
52939 --config-cache | -C)
52940 ;;
52941 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52942 ac_prev=srcdir ;;
52943 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52944 ;;
52945 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52946 ac_prev=prefix ;;
52947 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52948 ;;
52949 *)
52950 case $ac_arg in
52951 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52952 esac
52953 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52954 esac
52955 done
52956
52957 # Always prepend --prefix to ensure using the same prefix
52958 # in subdir configurations.
52959 ac_arg="--prefix=$prefix"
52960 case $ac_arg in
52961 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52962 esac
52963 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52964
52965 # Pass --silent
52966 if test "$silent" = yes; then
52967 ac_sub_configure_args="--silent $ac_sub_configure_args"
52968 fi
52969
52970 ac_popdir=`pwd`
52971 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52972
52973 # Do not complain, so a configure script can configure whichever
52974 # parts of a large source tree are present.
52975 test -d "$srcdir/$ac_dir" || continue
52976
52977 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52978 echo "$as_me:$LINENO: $ac_msg" >&5
52979 echo "$ac_msg" >&6
52980 { as_dir="$ac_dir"
52981 case $as_dir in #(
52982 -*) as_dir=./$as_dir;;
52983 esac
52984 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52985 as_dirs=
52986 while :; do
52987 case $as_dir in #(
52988 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52989 *) as_qdir=$as_dir;;
52990 esac
52991 as_dirs="'$as_qdir' $as_dirs"
52992 as_dir=`$as_dirname -- "$as_dir" ||
52993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52994 X"$as_dir" : 'X\(//\)[^/]' \| \
52995 X"$as_dir" : 'X\(//\)$' \| \
52996 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52997 echo X"$as_dir" |
52998 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52999 s//\1/
53000 q
53001 }
53002 /^X\(\/\/\)[^/].*/{
53003 s//\1/
53004 q
53005 }
53006 /^X\(\/\/\)$/{
53007 s//\1/
53008 q
53009 }
53010 /^X\(\/\).*/{
53011 s//\1/
53012 q
53013 }
53014 s/.*/./; q'`
53015 test -d "$as_dir" && break
53016 done
53017 test -z "$as_dirs" || eval "mkdir $as_dirs"
53018 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
53019 echo "$as_me: error: cannot create directory $as_dir" >&2;}
53020 { (exit 1); exit 1; }; }; }
53021 ac_builddir=.
53022
53023 case "$ac_dir" in
53024 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
53025 *)
53026 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53027 # A ".." for each directory in $ac_dir_suffix.
53028 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
53029 case $ac_top_builddir_sub in
53030 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
53031 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
53032 esac ;;
53033 esac
53034 ac_abs_top_builddir=$ac_pwd
53035 ac_abs_builddir=$ac_pwd$ac_dir_suffix
53036 # for backward compatibility:
53037 ac_top_builddir=$ac_top_build_prefix
53038
53039 case $srcdir in
53040 .) # We are building in place.
53041 ac_srcdir=.
53042 ac_top_srcdir=$ac_top_builddir_sub
53043 ac_abs_top_srcdir=$ac_pwd ;;
53044 [\\/]* | ?:[\\/]* ) # Absolute name.
53045 ac_srcdir=$srcdir$ac_dir_suffix;
53046 ac_top_srcdir=$srcdir
53047 ac_abs_top_srcdir=$srcdir ;;
53048 *) # Relative name.
53049 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
53050 ac_top_srcdir=$ac_top_build_prefix$srcdir
53051 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
53052 esac
53053 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
53054
53055
53056 cd "$ac_dir"
53057
53058 # Check for guested configure; otherwise get Cygnus style configure.
53059 if test -f "$ac_srcdir/configure.gnu"; then
53060 ac_sub_configure=$ac_srcdir/configure.gnu
53061 elif test -f "$ac_srcdir/configure"; then
53062 ac_sub_configure=$ac_srcdir/configure
53063 elif test -f "$ac_srcdir/configure.in"; then
53064 # This should be Cygnus configure.
53065 ac_sub_configure=$ac_aux_dir/configure
53066 else
53067 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53068 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53069 ac_sub_configure=
53070 fi
53071
53072 # The recursion is here.
53073 if test -n "$ac_sub_configure"; then
53074 # Make the cache file name correct relative to the subdirectory.
53075 case $cache_file in
53076 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53077 *) # Relative name.
53078 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
53079 esac
53080
53081 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53082 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53083 # The eval makes quoting arguments work.
53084 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
53085 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
53086 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53087 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53088 { (exit 1); exit 1; }; }
53089 fi
53090
53091 cd "$ac_popdir"
53092 done
53093 fi
53094
53095
53096 echo
53097 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53098 echo ""
53099 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53100 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53101
53102 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53103 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53104 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
53105 if test "$wxUSE_UNICODE" = "yes"; then
53106 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53107 echo " (using UTF-8)"
53108 else
53109 echo " (using wchar_t)"
53110 fi
53111 else
53112 echo
53113 fi
53114
53115 echo " What level of wxWidgets compatibility should be enabled?"
53116 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53117 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53118
53119 echo " Which libraries should wxWidgets use?"
53120 echo " STL ${wxUSE_STL}"
53121 echo " jpeg ${wxUSE_LIBJPEG-none}"
53122 echo " png ${wxUSE_LIBPNG-none}"
53123 echo " regex ${wxUSE_REGEX}"
53124 echo " tiff ${wxUSE_LIBTIFF-none}"
53125 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53126 echo " xpm ${wxUSE_LIBXPM-none}"
53127 fi
53128 echo " zlib ${wxUSE_ZLIB}"
53129 echo " expat ${wxUSE_EXPAT}"
53130 echo " libmspack ${wxUSE_LIBMSPACK}"
53131 echo " sdl ${wxUSE_LIBSDL}"
53132
53133 echo ""
53134